Skip to main content

pipeline_executions

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

Overview

Namepipeline_executions
TypeResource
Idaws.sagemaker.pipeline_executions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
created_byobjectInformation about the user who created or modified a SageMaker resource.
creation_timestring (date-time)The time when the pipeline execution was created.
failure_reasonstringIf the execution failed, a message describing why. (pattern: <code>.*</code>)
last_modified_byobjectInformation about the user who created or modified a SageMaker resource.
last_modified_timestring (date-time)The time when the pipeline execution was modified last.
m_lflow_configobjectThe MLflow configuration of the pipeline execution.
parallelism_configurationobjectThe parallelism configuration applied to the pipeline.
pipeline_arnstringThe Amazon Resource Name (ARN) of the pipeline. (pattern: <code>arn:aws[a-z-]:sagemaker:[a-z0-9-]:([0-9]{12}|aws):pipeline/.*</code>)
pipeline_execution_arnstringThe Amazon Resource Name (ARN) of the pipeline execution. (pattern: <code>arn:aws[a-z-]:sagemaker:[a-z0-9-]:[0-9]{12}:pipeline/./execution/.</code>)
pipeline_execution_descriptionstringThe description of the pipeline execution. (pattern: <code>.*</code>)
pipeline_execution_display_namestringThe display name of the pipeline execution. (pattern: <code>[a-zA-Z0-9](-*[a-zA-Z0-9]){0,81}</code>)
pipeline_execution_statusstringThe status of the pipeline execution. (Executing, Stopping, Stopped, Failed, Succeeded)
pipeline_experiment_configobjectSpecifies the names of the experiment and trial created by a pipeline.
pipeline_version_idinteger (int64)The ID of the pipeline version.
selective_execution_configobjectThe selective execution configuration applied to the pipeline run.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_pipeline_executionselectregionDescribes the details of a pipeline execution.
list_pipeline_executionsselectregionGets a list of the pipeline executions.
update_pipeline_executionupdateregion, PipelineExecutionArnUpdates a pipeline execution.
retry_pipeline_executionexecregion, PipelineExecutionArn, ClientRequestTokenRetry the execution of the pipeline.

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

Describes the details of a pipeline execution.

SELECT
created_by,
creation_time,
failure_reason,
last_modified_by,
last_modified_time,
m_lflow_config,
parallelism_configuration,
pipeline_arn,
pipeline_execution_arn,
pipeline_execution_description,
pipeline_execution_display_name,
pipeline_execution_status,
pipeline_experiment_config,
pipeline_version_id,
selective_execution_config
FROM aws.sagemaker.pipeline_executions
WHERE region = '{{ region }}' -- required
;

UPDATE examples

Updates a pipeline execution.

UPDATE aws.sagemaker.pipeline_executions
SET
PipelineExecutionArn = '{{ PipelineExecutionArn }}',
PipelineExecutionDescription = '{{ PipelineExecutionDescription }}',
PipelineExecutionDisplayName = '{{ PipelineExecutionDisplayName }}',
ParallelismConfiguration = '{{ ParallelismConfiguration }}'
WHERE
region = '{{ region }}' --required
AND PipelineExecutionArn = '{{ PipelineExecutionArn }}' --required
RETURNING
pipeline_execution_arn;

Lifecycle Methods

Retry the execution of the pipeline.

EXEC aws.sagemaker.pipeline_executions.retry_pipeline_execution
@region='{{ region }}' --required
@@json=
'{
"PipelineExecutionArn": "{{ PipelineExecutionArn }}",
"ClientRequestToken": "{{ ClientRequestToken }}",
"ParallelismConfiguration": "{{ ParallelismConfiguration }}"
}'
;