SageMaker / Client / update_pipeline

update_pipeline#

SageMaker.Client.update_pipeline(**kwargs)#

Updates a pipeline.

See also: AWS API Documentation

Request Syntax

response = client.update_pipeline(
    PipelineName='string',
    PipelineDisplayName='string',
    PipelineDefinition='string',
    PipelineDefinitionS3Location={
        'Bucket': 'string',
        'ObjectKey': 'string',
        'VersionId': 'string'
    },
    PipelineDescription='string',
    RoleArn='string',
    ParallelismConfiguration={
        'MaxParallelExecutionSteps': 123
    }
)
Parameters:
  • PipelineName (string) –

    [REQUIRED]

    The name of the pipeline to update.

  • PipelineDisplayName (string) – The display name of the pipeline.

  • PipelineDefinition (string) – The JSON pipeline definition.

  • PipelineDefinitionS3Location (dict) –

    The location of the pipeline definition stored in Amazon S3. If specified, SageMaker will retrieve the pipeline definition from this location.

    • Bucket (string) – [REQUIRED]

      Name of the S3 bucket.

    • ObjectKey (string) – [REQUIRED]

      The object key (or key name) uniquely identifies the object in an S3 bucket.

    • VersionId (string) –

      Version Id of the pipeline definition file. If not specified, Amazon SageMaker will retrieve the latest version.

  • PipelineDescription (string) – The description of the pipeline.

  • RoleArn (string) – The Amazon Resource Name (ARN) that the pipeline uses to execute.

  • ParallelismConfiguration (dict) –

    If specified, it applies to all executions of this pipeline by default.

    • MaxParallelExecutionSteps (integer) – [REQUIRED]

      The max number of steps that can be executed in parallel.

Return type:

dict

Returns:

Response Syntax

{
    'PipelineArn': 'string'
}

Response Structure

  • (dict) –

    • PipelineArn (string) –

      The Amazon Resource Name (ARN) of the updated pipeline.

Exceptions

  • SageMaker.Client.exceptions.ResourceNotFound