import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; import type { GetWorkflowRunsRequest, GetWorkflowRunsResponse } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetWorkflowRunsCommand}. */ export interface GetWorkflowRunsCommandInput extends GetWorkflowRunsRequest { } /** * @public * * The output of {@link GetWorkflowRunsCommand}. */ export interface GetWorkflowRunsCommandOutput extends GetWorkflowRunsResponse, __MetadataBearer { } declare const GetWorkflowRunsCommand_base: { new (input: GetWorkflowRunsCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetWorkflowRunsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Retrieves metadata for all runs of a given workflow.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, GetWorkflowRunsCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, GetWorkflowRunsCommand } = require("@aws-sdk/client-glue"); // CommonJS import * // import type { GlueClientConfig } from "@aws-sdk/client-glue"; * const config = {}; // type is GlueClientConfig * const client = new GlueClient(config); * const input = { // GetWorkflowRunsRequest * Name: "STRING_VALUE", // required * IncludeGraph: true || false, * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new GetWorkflowRunsCommand(input); * const response = await client.send(command); * // { // GetWorkflowRunsResponse * // Runs: [ // WorkflowRuns * // { // WorkflowRun * // Name: "STRING_VALUE", * // WorkflowRunId: "STRING_VALUE", * // PreviousRunId: "STRING_VALUE", * // WorkflowRunProperties: { // WorkflowRunProperties * // "": "STRING_VALUE", * // }, * // StartedOn: new Date("TIMESTAMP"), * // CompletedOn: new Date("TIMESTAMP"), * // Status: "RUNNING" || "COMPLETED" || "STOPPING" || "STOPPED" || "ERROR", * // ErrorMessage: "STRING_VALUE", * // Statistics: { // WorkflowRunStatistics * // TotalActions: Number("int"), * // TimeoutActions: Number("int"), * // FailedActions: Number("int"), * // StoppedActions: Number("int"), * // SucceededActions: Number("int"), * // RunningActions: Number("int"), * // ErroredActions: Number("int"), * // WaitingActions: Number("int"), * // }, * // Graph: { // WorkflowGraph * // Nodes: [ // NodeList * // { // Node * // Type: "CRAWLER" || "JOB" || "TRIGGER", * // Name: "STRING_VALUE", * // UniqueId: "STRING_VALUE", * // TriggerDetails: { // TriggerNodeDetails * // Trigger: { // Trigger * // Name: "STRING_VALUE", * // WorkflowName: "STRING_VALUE", * // Id: "STRING_VALUE", * // Type: "SCHEDULED" || "CONDITIONAL" || "ON_DEMAND" || "EVENT", * // State: "CREATING" || "CREATED" || "ACTIVATING" || "ACTIVATED" || "DEACTIVATING" || "DEACTIVATED" || "DELETING" || "UPDATING", * // Description: "STRING_VALUE", * // Schedule: "STRING_VALUE", * // Actions: [ // ActionList * // { // Action * // JobName: "STRING_VALUE", * // Arguments: { // GenericMap * // "": "STRING_VALUE", * // }, * // Timeout: Number("int"), * // SecurityConfiguration: "STRING_VALUE", * // NotificationProperty: { // NotificationProperty * // NotifyDelayAfter: Number("int"), * // }, * // CrawlerName: "STRING_VALUE", * // }, * // ], * // Predicate: { // Predicate * // Logical: "AND" || "ANY", * // Conditions: [ // ConditionList * // { // Condition * // LogicalOperator: "EQUALS", * // JobName: "STRING_VALUE", * // State: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED", * // CrawlerName: "STRING_VALUE", * // CrawlState: "RUNNING" || "CANCELLING" || "CANCELLED" || "SUCCEEDED" || "FAILED" || "ERROR", * // }, * // ], * // }, * // EventBatchingCondition: { // EventBatchingCondition * // BatchSize: Number("int"), // required * // BatchWindow: Number("int"), * // }, * // }, * // }, * // JobDetails: { // JobNodeDetails * // JobRuns: [ // JobRunList * // { // JobRun * // Id: "STRING_VALUE", * // Attempt: Number("int"), * // PreviousRunId: "STRING_VALUE", * // TriggerName: "STRING_VALUE", * // JobName: "STRING_VALUE", * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK", * // JobRunQueuingEnabled: true || false, * // StartedOn: new Date("TIMESTAMP"), * // LastModifiedOn: new Date("TIMESTAMP"), * // CompletedOn: new Date("TIMESTAMP"), * // JobRunState: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT" || "ERROR" || "WAITING" || "EXPIRED", * // Arguments: { * // "": "STRING_VALUE", * // }, * // ErrorMessage: "STRING_VALUE", * // PredecessorRuns: [ // PredecessorList * // { // Predecessor * // JobName: "STRING_VALUE", * // RunId: "STRING_VALUE", * // }, * // ], * // AllocatedCapacity: Number("int"), * // ExecutionTime: Number("int"), * // Timeout: Number("int"), * // MaxCapacity: Number("double"), * // WorkerType: "Standard" || "G.1X" || "G.2X" || "G.025X" || "G.4X" || "G.8X" || "Z.2X", * // NumberOfWorkers: Number("int"), * // SecurityConfiguration: "STRING_VALUE", * // LogGroupName: "STRING_VALUE", * // NotificationProperty: { * // NotifyDelayAfter: Number("int"), * // }, * // GlueVersion: "STRING_VALUE", * // DPUSeconds: Number("double"), * // ExecutionClass: "FLEX" || "STANDARD", * // MaintenanceWindow: "STRING_VALUE", * // ProfileName: "STRING_VALUE", * // StateDetail: "STRING_VALUE", * // ExecutionRoleSessionPolicy: "STRING_VALUE", * // }, * // ], * // }, * // CrawlerDetails: { // CrawlerNodeDetails * // Crawls: [ // CrawlList * // { // Crawl * // State: "RUNNING" || "CANCELLING" || "CANCELLED" || "SUCCEEDED" || "FAILED" || "ERROR", * // StartedOn: new Date("TIMESTAMP"), * // CompletedOn: new Date("TIMESTAMP"), * // ErrorMessage: "STRING_VALUE", * // LogGroup: "STRING_VALUE", * // LogStream: "STRING_VALUE", * // }, * // ], * // }, * // }, * // ], * // Edges: [ // EdgeList * // { // Edge * // SourceId: "STRING_VALUE", * // DestinationId: "STRING_VALUE", * // }, * // ], * // }, * // StartingEventBatchCondition: { // StartingEventBatchCondition * // BatchSize: Number("int"), * // BatchWindow: Number("int"), * // }, * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param GetWorkflowRunsCommandInput - {@link GetWorkflowRunsCommandInput} * @returns {@link GetWorkflowRunsCommandOutput} * @see {@link GetWorkflowRunsCommandInput} for command's `input` shape. * @see {@link GetWorkflowRunsCommandOutput} for command's `response` shape. * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. * * @throws {@link EntityNotFoundException} (client fault) *

A specified entity does not exist

* * @throws {@link InternalServiceException} (server fault) *

An internal service error occurred.

* * @throws {@link InvalidInputException} (client fault) *

The input provided was not valid.

* * @throws {@link OperationTimeoutException} (client fault) *

The operation timed out.

* * @throws {@link GlueServiceException} *

Base exception class for all service exceptions from Glue service.

* * * @public */ export declare class GetWorkflowRunsCommand extends GetWorkflowRunsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetWorkflowRunsRequest; output: GetWorkflowRunsResponse; }; sdk: { input: GetWorkflowRunsCommandInput; output: GetWorkflowRunsCommandOutput; }; }; }