Glue / Client / get_blueprint_run

get_blueprint_run#

Glue.Client.get_blueprint_run(**kwargs)#

Retrieves the details of a blueprint run.

See also: AWS API Documentation

Request Syntax

response = client.get_blueprint_run(
    BlueprintName='string',
    RunId='string'
)
Parameters:
  • BlueprintName (string) –

    [REQUIRED]

    The name of the blueprint.

  • RunId (string) –

    [REQUIRED]

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

Return type:

dict

Returns:

Response Syntax

{
    'BlueprintRun': {
        'BlueprintName': 'string',
        'RunId': 'string',
        'WorkflowName': 'string',
        'State': 'RUNNING'|'SUCCEEDED'|'FAILED'|'ROLLING_BACK',
        'StartedOn': datetime(2015, 1, 1),
        'CompletedOn': datetime(2015, 1, 1),
        'ErrorMessage': 'string',
        'RollbackErrorMessage': 'string',
        'Parameters': 'string',
        'RoleArn': 'string'
    }
}

Response Structure

  • (dict) –

    • BlueprintRun (dict) –

      Returns a BlueprintRun object.

      • BlueprintName (string) –

        The name of the blueprint.

      • RunId (string) –

        The run ID for this blueprint run.

      • WorkflowName (string) –

        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 (string) –

        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 (datetime) –

        The date and time that the blueprint run started.

      • CompletedOn (datetime) –

        The date and time that the blueprint run completed.

      • ErrorMessage (string) –

        Indicates any errors that are seen while running the blueprint.

      • RollbackErrorMessage (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 (string) –

        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 (string) –

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

Exceptions

  • Glue.Client.exceptions.EntityNotFoundException

  • Glue.Client.exceptions.InternalServiceException

  • Glue.Client.exceptions.OperationTimeoutException