Workflows - AWS Glue

Workflows

The Workflows API describes the data types and API related to creating, updating, or viewing workflows in AWS Glue.

Data Types

JobNodeDetails Structure

The details of a Job node present in the workflow.

Fields

  • JobRuns – An array of JobRun objects.

    The information for the job runs represented by the job node.

CrawlerNodeDetails Structure

The details of a Crawler node present in the workflow.

Fields

  • Crawls – An array of Crawl objects.

    A list of crawls represented by the crawl node.

TriggerNodeDetails Structure

The details of a Trigger node present in the workflow.

Fields

  • Trigger – A Trigger object.

    The information of the trigger represented by the trigger node.

Crawl Structure

The details of a crawl in the workflow.

Fields

  • State – UTF-8 string (valid values: RUNNING | CANCELLING | CANCELLED | SUCCEEDED | FAILED).

    The state of the crawler.

  • StartedOn – Timestamp.

    The date and time on which the crawl started.

  • CompletedOn – Timestamp.

    The date and time on which the crawl completed.

  • ErrorMessage – Description string, not more than 2048 bytes long, matching the URI address multi-line string pattern.

    The error message associated with the crawl.

  • LogGroup – UTF-8 string, not less than 1 or more than 512 bytes long, matching the Log group string pattern.

    The log group associated with the crawl.

  • LogStream – UTF-8 string, not less than 1 or more than 512 bytes long, matching the Log-stream string pattern.

    The log stream associated with the crawl.

Node Structure

A node represents an AWS Glue component such as a trigger, or job, etc., that is part of a workflow.

Fields

  • Type – UTF-8 string (valid values: CRAWLER | JOB | TRIGGER).

    The type of AWS Glue component represented by the node.

  • Name – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The name of the AWS Glue component represented by the node.

  • UniqueId – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The unique Id assigned to the node within the workflow.

  • TriggerDetails – A TriggerNodeDetails object.

    Details of the Trigger when the node represents a Trigger.

  • JobDetails – A JobNodeDetails object.

    Details of the Job when the node represents a Job.

  • CrawlerDetails – A CrawlerNodeDetails object.

    Details of the crawler when the node represents a crawler.

Edge Structure

An edge represents a directed connection between two AWS Glue components that are part of the workflow the edge belongs to.

Fields

  • SourceId – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The unique of the node within the workflow where the edge starts.

  • DestinationId – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The unique of the node within the workflow where the edge ends.

Workflow Structure

A workflow represents a flow in which AWS Glue components should be run to complete a logical task.

Fields

  • Name – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The name of the workflow representing the flow.

  • Description – UTF-8 string.

    A description of the workflow.

  • DefaultRunProperties – A map array of key-value pairs.

    Each key is a UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    Each value is a UTF-8 string.

    A collection of properties to be used as part of each execution of the workflow.

  • CreatedOn – Timestamp.

    The date and time when the workflow was created.

  • LastModifiedOn – Timestamp.

    The date and time when the workflow was last modified.

  • LastRun – A WorkflowRun object.

    The information about the last execution of the workflow.

  • Graph – A WorkflowGraph object.

    The graph representing all the AWS Glue components that belong to the workflow as nodes and directed connections between them as edges.

  • CreationStatus – UTF-8 string (valid values: CREATING | CREATED | CREATION_FAILED).

    The creation status of the workflow.

  • MaxConcurrentRuns – Number (integer).

    You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.

  • BlueprintDetails – A BlueprintDetails object.

    This structure indicates the details of a blueprint from which this particular workflow is created from.

WorkflowGraph Structure

A workflow graph represents the complete workflow containing all the AWS Glue components present in the workflow and all the directed connections between them.

Fields

  • Nodes – An array of Node objects.

    A list of the the AWS Glue components belong to the workflow represented as nodes.

  • Edges – An array of Edge objects.

    A list of all the directed connections between the nodes belonging to the workflow.

WorkflowRun Structure

A workflow run is an execution of a workflow providing all the runtime information.

Fields

  • Name – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    Name of the workflow that was run.

  • WorkflowRunId – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The ID of this workflow run.

  • PreviousRunId – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The ID of the previous workflow run.

  • WorkflowRunProperties – A map array of key-value pairs.

    Each key is a UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    Each value is a UTF-8 string.

    The workflow run properties which were set during the run.

  • StartedOn – Timestamp.

    The date and time when the workflow run was started.

  • CompletedOn – Timestamp.

    The date and time when the workflow run completed.

  • Status – UTF-8 string (valid values: RUNNING | COMPLETED | STOPPING | STOPPED | ERROR).

    The status of the workflow run.

  • ErrorMessage – UTF-8 string.

    This error message describes any error that may have occurred in starting the workflow run. Currently the only error message is "Concurrent runs exceeded for workflow: foo."

  • Statistics – A WorkflowRunStatistics object.

    The statistics of the run.

  • Graph – A WorkflowGraph object.

    The graph representing all the AWS Glue components that belong to the workflow as nodes and directed connections between them as edges.

WorkflowRunStatistics Structure

Workflow run statistics provides statistics about the workflow run.

Fields

  • TotalActions – Number (integer).

    Total number of Actions in the workflow run.

  • TimeoutActions – Number (integer).

    Total number of Actions that timed out.

  • FailedActions – Number (integer).

    Total number of Actions that have failed.

  • StoppedActions – Number (integer).

    Total number of Actions that have stopped.

  • SucceededActions – Number (integer).

    Total number of Actions that have succeeded.

  • RunningActions – Number (integer).

    Total number Actions in running state.

Blueprint Structure

The details of a blueprint.

Fields

  • Name – UTF-8 string, not less than 1 or more than 128 bytes long, matching the Custom string pattern #18.

    The name of the blueprint.

  • Description – UTF-8 string, not less than 1 or more than 512 bytes long.

    The description of the blueprint.

  • CreatedOn – Timestamp.

    The date and time the blueprint was registered.

  • LastModifiedOn – Timestamp.

    The date and time the blueprint was last modified.

  • ParameterSpec – UTF-8 string, not less than 1 or more than 131072 bytes long.

    A JSON string that indicates the list of parameter specifications for the blueprint.

  • BlueprintLocation – UTF-8 string.

    Specifies the path in Amazon S3 where the blueprint is published.

  • BlueprintServiceLocation – UTF-8 string.

    Specifies a path in Amazon S3 where the blueprint is copied when you call CreateBlueprint to register the blueprint in AWS Glue.

  • Status – UTF-8 string (valid values: CREATING | ACTIVE | UPDATING | FAILED).

    The status of the blueprint registration.

    • Creating — The blueprint registration is in progress.

    • Active — The blueprint has been successfully registed.

    • Updating — An update to the blueprint registration is in progress.

    • Failed — The blueprint registration failed.

  • ErrorMessage – UTF-8 string.

    An error message.

  • LastActiveDefinition – A LastActiveDefinition object.

    When there are multiple versions of a blueprint and the latest version has some errors, this attribute indicates the last successful blueprint definition that is available with the service.

BlueprintDetails Structure

The details of a blueprint.

Fields

  • BlueprintName – UTF-8 string, not less than 1 or more than 128 bytes long, matching the Custom string pattern #18.

    The name of the blueprint.

  • InstanceName – UTF-8 string, not less than 1 or more than 128 bytes long, matching the Custom string pattern #18.

    The name of the blueprint instance.

  • RunId – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The run ID for this blueprint.

LastActiveDefinition Structure

When there are multiple versions of a blueprint and the latest version has some errors, this attribute indicates the last successful blueprint definition that is available with the service.

Fields

  • Description – UTF-8 string, not less than 1 or more than 512 bytes long.

    The description of the blueprint.

  • LastModifiedOn – Timestamp.

    The date and time the blueprint was last modified.

  • ParameterSpec – UTF-8 string, not less than 1 or more than 131072 bytes long.

    A JSON string specifying the parameters for the blueprint.

  • BlueprintLocation – UTF-8 string.

    Specifies a path in Amazon S3 where the blueprint is published by the AWS Glue developer.

  • BlueprintServiceLocation – UTF-8 string.

    Specifies a path in Amazon S3 where the blueprint is copied when you create or update the blueprint.

BlueprintRun Structure

The details of a blueprint run.

Fields

  • BlueprintName – UTF-8 string, not less than 1 or more than 128 bytes long, matching the Custom string pattern #18.

    The name of the blueprint.

  • RunId – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The run ID for this blueprint run.

  • WorkflowName – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The name of a workflow that is created as a result of a successful blueprint run. If a blueprint run has an error, there will not be a workflow created.

  • State – UTF-8 string (valid values: RUNNING | SUCCEEDED | FAILED | ROLLING_BACK).

    The state of the blueprint run. Possible values are:

    • Running — The blueprint run is in progress.

    • Succeeded — The blueprint run completed successfully.

    • Failed — The blueprint run failed and rollback is complete.

    • Rolling Back — The blueprint run failed and rollback is in progress.

  • StartedOn – Timestamp.

    The date and time that the blueprint run started.

  • CompletedOn – Timestamp.

    The date and time that the blueprint run completed.

  • ErrorMessage – UTF-8 string.

    Indicates any errors that are seen while running the blueprint.

  • RollbackErrorMessage – UTF-8 string.

    If there are any errors while creating the entities of a workflow, we try to roll back the created entities until that point and delete them. This attribute indicates the errors seen while trying to delete the entities that are created.

  • Parameters – UTF-8 string, not less than 1 or more than 131072 bytes long.

    The blueprint parameters as a string. You will have to provide a value for each key that is required from the parameter spec that is defined in the Blueprint$ParameterSpec.

  • RoleArn – UTF-8 string, not less than 1 or more than 1024 bytes long, matching the Custom string pattern #17.

    The role ARN. This role will be assumed by the AWS Glue service and will be used to create the workflow and other entities of a workflow.

Operations

CreateWorkflow Action (Python: create_workflow)

Creates a new workflow.

Request

  • NameRequired: UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The name to be assigned to the workflow. It should be unique within your account.

  • Description – UTF-8 string.

    A description of the workflow.

  • DefaultRunProperties – A map array of key-value pairs.

    Each key is a UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    Each value is a UTF-8 string.

    A collection of properties to be used as part of each execution of the workflow.

  • Tags – A map array of key-value pairs, not more than 50 pairs.

    Each key is a UTF-8 string, not less than 1 or more than 128 bytes long.

    Each value is a UTF-8 string, not more than 256 bytes long.

    The tags to be used with this workflow.

  • MaxConcurrentRuns – Number (integer).

    You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.

Response

  • Name – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The name of the workflow which was provided as part of the request.

Errors

  • AlreadyExistsException

  • InvalidInputException

  • InternalServiceException

  • OperationTimeoutException

  • ResourceNumberLimitExceededException

  • ConcurrentModificationException

UpdateWorkflow Action (Python: update_workflow)

Updates an existing workflow.

Request

  • NameRequired: UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    Name of the workflow to be updated.

  • Description – UTF-8 string.

    The description of the workflow.

  • DefaultRunProperties – A map array of key-value pairs.

    Each key is a UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    Each value is a UTF-8 string.

    A collection of properties to be used as part of each execution of the workflow.

  • MaxConcurrentRuns – Number (integer).

    You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.

Response

  • Name – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The name of the workflow which was specified in input.

Errors

  • InvalidInputException

  • EntityNotFoundException

  • InternalServiceException

  • OperationTimeoutException

  • ConcurrentModificationException

DeleteWorkflow Action (Python: delete_workflow)

Deletes a workflow.

Request

  • NameRequired: UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    Name of the workflow to be deleted.

Response

  • Name – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    Name of the workflow specified in input.

Errors

  • InvalidInputException

  • InternalServiceException

  • OperationTimeoutException

  • ConcurrentModificationException

GetWorkflow Action (Python: get_workflow)

Retrieves resource metadata for a workflow.

Request

  • NameRequired: UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The name of the workflow to retrieve.

  • IncludeGraph – Boolean.

    Specifies whether to include a graph when returning the workflow resource metadata.

Response

  • Workflow – A Workflow object.

    The resource metadata for the workflow.

Errors

  • InvalidInputException

  • EntityNotFoundException

  • InternalServiceException

  • OperationTimeoutException

ListWorkflows Action (Python: list_workflows)

Lists names of workflows created in the account.

Request

  • NextToken – UTF-8 string.

    A continuation token, if this is a continuation request.

  • MaxResults – Number (integer), not less than 1 or more than 1000.

    The maximum size of a list to return.

Response

  • Workflows – An array of UTF-8 strings, not less than 1 or more than 25 strings.

    List of names of workflows in the account.

  • NextToken – UTF-8 string.

    A continuation token, if not all workflow names have been returned.

Errors

  • InvalidInputException

  • InternalServiceException

  • OperationTimeoutException

BatchGetWorkflows Action (Python: batch_get_workflows)

Returns a list of resource metadata for a given list of workflow names. After calling the ListWorkflows operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags.

Request

  • NamesRequired: An array of UTF-8 strings, not less than 1 or more than 25 strings.

    A list of workflow names, which may be the names returned from the ListWorkflows operation.

  • IncludeGraph – Boolean.

    Specifies whether to include a graph when returning the workflow resource metadata.

Response

  • Workflows – An array of Workflow objects, not less than 1 or more than 25 structures.

    A list of workflow resource metadata.

  • MissingWorkflows – An array of UTF-8 strings, not less than 1 or more than 25 strings.

    A list of names of workflows not found.

Errors

  • InternalServiceException

  • OperationTimeoutException

  • InvalidInputException

GetWorkflowRun Action (Python: get_workflow_run)

Retrieves the metadata for a given workflow run.

Request

  • NameRequired: UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    Name of the workflow being run.

  • RunIdRequired: UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The ID of the workflow run.

  • IncludeGraph – Boolean.

    Specifies whether to include the workflow graph in response or not.

Response

  • Run – A WorkflowRun object.

    The requested workflow run metadata.

Errors

  • InvalidInputException

  • EntityNotFoundException

  • InternalServiceException

  • OperationTimeoutException

GetWorkflowRuns Action (Python: get_workflow_runs)

Retrieves metadata for all runs of a given workflow.

Request

  • NameRequired: UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    Name of the workflow whose metadata of runs should be returned.

  • IncludeGraph – Boolean.

    Specifies whether to include the workflow graph in response or not.

  • NextToken – UTF-8 string.

    The maximum size of the response.

  • MaxResults – Number (integer), not less than 1 or more than 1000.

    The maximum number of workflow runs to be included in the response.

Response

  • Runs – An array of WorkflowRun objects, not less than 1 or more than 1000 structures.

    A list of workflow run metadata objects.

  • NextToken – UTF-8 string.

    A continuation token, if not all requested workflow runs have been returned.

Errors

  • InvalidInputException

  • EntityNotFoundException

  • InternalServiceException

  • OperationTimeoutException

GetWorkflowRunProperties Action (Python: get_workflow_run_properties)

Retrieves the workflow run properties which were set during the run.

Request

  • NameRequired: UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    Name of the workflow which was run.

  • RunIdRequired: UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The ID of the workflow run whose run properties should be returned.

Response

  • RunProperties – A map array of key-value pairs.

    Each key is a UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    Each value is a UTF-8 string.

    The workflow run properties which were set during the specified run.

Errors

  • InvalidInputException

  • EntityNotFoundException

  • InternalServiceException

  • OperationTimeoutException

PutWorkflowRunProperties Action (Python: put_workflow_run_properties)

Puts the specified workflow run properties for the given workflow run. If a property already exists for the specified run, then it overrides the value otherwise adds the property to existing properties.

Request

  • NameRequired: UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    Name of the workflow which was run.

  • RunIdRequired: UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The ID of the workflow run for which the run properties should be updated.

  • RunPropertiesRequired: A map array of key-value pairs.

    Each key is a UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    Each value is a UTF-8 string.

    The properties to put for the specified run.

Response

  • No Response parameters.

Errors

  • AlreadyExistsException

  • EntityNotFoundException

  • InvalidInputException

  • InternalServiceException

  • OperationTimeoutException

  • ResourceNumberLimitExceededException

  • ConcurrentModificationException

CreateBlueprint Action (Python: create_blueprint)

Registers a blueprint with AWS Glue.

Request

  • NameRequired: UTF-8 string, not less than 1 or more than 128 bytes long, matching the Custom string pattern #18.

    The name of the blueprint.

  • Description – UTF-8 string, not less than 1 or more than 512 bytes long.

    A description of the blueprint.

  • BlueprintLocationRequired: UTF-8 string, not less than 1 or more than 8192 bytes long, matching the Custom string pattern #19.

    Specifies a path in Amazon S3 where the blueprint is published.

  • Tags – A map array of key-value pairs, not more than 50 pairs.

    Each key is a UTF-8 string, not less than 1 or more than 128 bytes long.

    Each value is a UTF-8 string, not more than 256 bytes long.

    The tags to be applied to this blueprint.

Response

  • Name – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    Returns the name of the blueprint that was registered.

Errors

  • AlreadyExistsException

  • InvalidInputException

  • OperationTimeoutException

  • InternalServiceException

  • ResourceNumberLimitExceededException

UpdateBlueprint Action (Python: update_blueprint)

Updates a registered blueprint.

Request

  • NameRequired: UTF-8 string, not less than 1 or more than 128 bytes long, matching the Custom string pattern #18.

    The name of the blueprint.

  • Description – UTF-8 string, not less than 1 or more than 512 bytes long.

    A description of the blueprint.

  • BlueprintLocationRequired: UTF-8 string, not less than 1 or more than 8192 bytes long, matching the Custom string pattern #19.

    Specifies a path in Amazon S3 where the blueprint is published.

Response

  • Name – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    Returns the name of the blueprint that was updated.

Errors

  • EntityNotFoundException

  • ConcurrentModificationException

  • InvalidInputException

  • OperationTimeoutException

  • InternalServiceException

DeleteBlueprint Action (Python: delete_blueprint)

Deletes an existing blueprint.

Request

  • NameRequired: UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The name of the blueprint to delete.

Response

  • Name – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    Returns the name of the blueprint that was deleted.

Errors

  • InvalidInputException

  • OperationTimeoutException

  • InternalServiceException

ListBlueprints Action (Python: list_blueprints)

Lists all the blueprint names in an account.

Request

  • NextToken – UTF-8 string.

    A continuation token, if this is a continuation request.

  • MaxResults – Number (integer), not less than 1 or more than 1000.

    The maximum size of a list to return.

  • Tags – A map array of key-value pairs, not more than 50 pairs.

    Each key is a UTF-8 string, not less than 1 or more than 128 bytes long.

    Each value is a UTF-8 string, not more than 256 bytes long.

    Filters the list by an AWS resource tag.

Response

  • Blueprints – An array of UTF-8 strings.

    List of names of blueprints in the account.

  • NextToken – UTF-8 string.

    A continuation token, if not all blueprint names have been returned.

Errors

  • InvalidInputException

  • InternalServiceException

  • OperationTimeoutException

BatchGetBlueprints Action (Python: batch_get_blueprints)

Retrieves information about a list of blueprints.

Request

  • NamesRequired: An array of UTF-8 strings, not less than 1 or more than 25 strings.

    A list of blueprint names.

  • IncludeBlueprint – Boolean.

    Specifies whether or not to include the blueprint in the response.

  • IncludeParameterSpec – Boolean.

    Specifies whether or not to include the parameters, as a JSON string, for the blueprint in the response.

Response

  • Blueprints – An array of Blueprint objects.

    Returns a list of blueprint as a Blueprints object.

  • MissingBlueprints – An array of UTF-8 strings.

    Returns a list of BlueprintNames that were not found.

Errors

  • InternalServiceException

  • OperationTimeoutException

  • InvalidInputException

StartBlueprintRun Action (Python: start_blueprint_run)

Starts a new run of the specified blueprint.

Request

  • BlueprintNameRequired: UTF-8 string, not less than 1 or more than 128 bytes long, matching the Custom string pattern #18.

    The name of the blueprint.

  • Parameters – UTF-8 string, not less than 1 or more than 131072 bytes long.

    Specifies the parameters as a BlueprintParameters object.

  • RoleArnRequired: UTF-8 string, not less than 1 or more than 1024 bytes long, matching the Custom string pattern #17.

    Specifies the IAM role used to create the workflow.

Response

  • RunId – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The run ID for this blueprint run.

Errors

  • InvalidInputException

  • OperationTimeoutException

  • InternalServiceException

  • ResourceNumberLimitExceededException

  • EntityNotFoundException

GetBlueprintRun Action (Python: get_blueprint_run)

Retrieves the details of a blueprint run.

Request

  • BlueprintNameRequired: UTF-8 string, not less than 1 or more than 128 bytes long, matching the Custom string pattern #18.

    The name of the blueprint.

  • RunIdRequired: UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The run ID for the blueprint run you want to retrieve.

Response

  • BlueprintRun – A BlueprintRun object.

    Returns a BlueprintRun object.

Errors

  • EntityNotFoundException

  • InternalServiceException

  • OperationTimeoutException

GetBlueprintRuns Action (Python: get_blueprint_runs)

Retrieves the details of blueprint runs for a specified blueprint.

Request

  • BlueprintNameRequired: UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The name of the blueprint.

  • NextToken – UTF-8 string.

    A continuation token, if this is a continuation request.

  • MaxResults – Number (integer), not less than 1 or more than 1000.

    The maximum size of a list to return.

Response

  • BlueprintRuns – An array of BlueprintRun objects.

    Returns a list of BlueprintRun objects.

  • NextToken – UTF-8 string.

    A continuation token, if not all blueprint runs have been returned.

Errors

  • EntityNotFoundException

  • InternalServiceException

  • OperationTimeoutException

  • InvalidInputException

StartWorkflowRun Action (Python: start_workflow_run)

Starts a new run of the specified workflow.

Request

  • NameRequired: UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The name of the workflow to start.

Response

  • RunId – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    An Id for the new run.

Errors

  • InvalidInputException

  • EntityNotFoundException

  • InternalServiceException

  • OperationTimeoutException

  • ResourceNumberLimitExceededException

  • ConcurrentRunsExceededException

StopWorkflowRun Action (Python: stop_workflow_run)

Stops the execution of the specified workflow run.

Request

  • NameRequired: UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The name of the workflow to stop.

  • RunIdRequired: UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The ID of the workflow run to stop.

Response

  • No Response parameters.

Errors

  • InvalidInputException

  • EntityNotFoundException

  • InternalServiceException

  • OperationTimeoutException

  • IllegalWorkflowStateException

ResumeWorkflowRun Action (Python: resume_workflow_run)

Restarts selected nodes of a previous partially completed workflow run and resumes the workflow run. The selected nodes and all nodes that are downstream from the selected nodes are run.

Request

  • NameRequired: UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The name of the workflow to resume.

  • RunIdRequired: UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The ID of the workflow run to resume.

  • NodeIdsRequired: An array of UTF-8 strings.

    A list of the node IDs for the nodes you want to restart. The nodes that are to be restarted must have a run attempt in the original run.

Response

  • RunId – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The new ID assigned to the resumed workflow run. Each resume of a workflow run will have a new run ID.

  • NodeIds – An array of UTF-8 strings.

    A list of the node IDs for the nodes that were actually restarted.

Errors

  • InvalidInputException

  • EntityNotFoundException

  • InternalServiceException

  • OperationTimeoutException

  • ConcurrentRunsExceededException

  • IllegalWorkflowStateException