Skip to main content

blueprint_runs

Creates, updates, deletes, gets or lists a blueprint_runs resource.

Overview

Nameblueprint_runs
TypeResource
Idaws.glue.blueprint_runs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
blueprint_namestringThe name of the blueprint. (pattern: <code>[.-_A-Za-z0-9]+</code>)
completed_onstring (date-time)The date and time that the blueprint run completed.
error_messagestringIndicates any errors that are seen while running the blueprint.
parametersstringThe 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.
role_arnstringThe 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. (pattern: <code>arn:aws[^:]:iam::[0-9]:role/.+</code>)
rollback_error_messagestringIf 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.
run_idstringThe run ID for this blueprint run. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*</code>)
started_onstring (date-time)The date and time that the blueprint run started.
statestringThe 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. (RUNNING, SUCCEEDED, FAILED, ROLLING_BACK)
workflow_namestringThe 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. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_blueprint_runselectregionRetrieves the details of a blueprint run.
get_blueprint_runsselectregionRetrieves the details of blueprint runs for a specified blueprint.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves the details of a blueprint run.

SELECT
blueprint_name,
completed_on,
error_message,
parameters,
role_arn,
rollback_error_message,
run_id,
started_on,
state,
workflow_name
FROM aws.glue.blueprint_runs
WHERE region = '{{ region }}' -- required
;