Skip to main content

pipeline_execution_steps

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

Overview

Namepipeline_execution_steps
TypeResource
Idaws.sagemaker.pipeline_execution_steps

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
attempt_countintegerThe current attempt of the execution step. For more information, see Retry Policy for SageMaker Pipelines steps.
cache_hit_resultobjectIf this pipeline execution step was cached, details on the cache hit.
end_timestring (date-time)The time that the step stopped executing.
failure_reasonstringThe reason why the step failed execution. This is only returned if the step failed its execution.
metadataobjectMetadata to run the pipeline step.
selective_execution_resultobjectThe ARN from an execution of the current pipeline from which results are reused for this step.
start_timestring (date-time)The time that the step started executing.
step_descriptionstringThe description of the step. (pattern: <code>.*</code>)
step_display_namestringThe display name of the step. (pattern: <code>.*</code>)
step_namestringThe name of the step that is executed. (pattern: <code>[A-Za-z0-9-_]*</code>)
step_statusstringThe status of the step execution. (Starting, Executing, Stopping, Stopped, Failed, Succeeded)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_pipeline_execution_stepsselectregionGets a list of PipeLineExecutionStep objects.
send_pipeline_execution_step_failureexecregion, CallbackTokenNotifies the pipeline that the execution of a callback step failed, along with a message describing why. When a callback step is run, the pipeline generates a callback token and includes the token in a message sent to Amazon Simple Queue Service (Amazon SQS).
send_pipeline_execution_step_successexecregion, CallbackTokenNotifies the pipeline that the execution of a callback step succeeded and provides a list of the step's output parameters. When a callback step is run, the pipeline generates a callback token and includes the token in a message sent to Amazon Simple Queue Service (Amazon SQS).

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

Gets a list of PipeLineExecutionStep objects.

SELECT
attempt_count,
cache_hit_result,
end_time,
failure_reason,
metadata,
selective_execution_result,
start_time,
step_description,
step_display_name,
step_name,
step_status
FROM aws.sagemaker.pipeline_execution_steps
WHERE region = '{{ region }}' -- required
;

Lifecycle Methods

Notifies the pipeline that the execution of a callback step failed, along with a message describing why. When a callback step is run, the pipeline generates a callback token and includes the token in a message sent to Amazon Simple Queue Service (Amazon SQS).

EXEC aws.sagemaker.pipeline_execution_steps.send_pipeline_execution_step_failure
@region='{{ region }}' --required
@@json=
'{
"CallbackToken": "{{ CallbackToken }}",
"FailureReason": "{{ FailureReason }}",
"ClientRequestToken": "{{ ClientRequestToken }}"
}'
;