Skip to content

Commit

Permalink
This release allows users to run Selective Execution in SageMaker Pip…
Browse files Browse the repository at this point in the history
…elines without SourcePipelineExecutionArn if selected steps do not have any dependent steps.
  • Loading branch information
aws-sdk-dotnet-automation committed Oct 3, 2023
1 parent c993bea commit 52d64ee
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17386,7 +17386,8 @@
"ml.inf2.xlarge",
"ml.inf2.8xlarge",
"ml.inf2.24xlarge",
"ml.inf2.48xlarge"
"ml.inf2.48xlarge",
"ml.p5.48xlarge"
]
},
"ProductionVariantList":{
Expand Down Expand Up @@ -18778,10 +18779,7 @@
},
"SelectiveExecutionConfig":{
"type":"structure",
"required":[
"SourcePipelineExecutionArn",
"SelectedSteps"
],
"required":["SelectedSteps"],
"members":{
"SourcePipelineExecutionArn":{"shape":"PipelineExecutionArn"},
"SelectedSteps":{"shape":"SelectedStepList"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10691,7 +10691,7 @@
"PipelineExecutionSummary$PipelineExecutionArn": "<p>The Amazon Resource Name (ARN) of the pipeline execution.</p>",
"RetryPipelineExecutionRequest$PipelineExecutionArn": "<p>The Amazon Resource Name (ARN) of the pipeline execution.</p>",
"RetryPipelineExecutionResponse$PipelineExecutionArn": "<p>The Amazon Resource Name (ARN) of the pipeline execution.</p>",
"SelectiveExecutionConfig$SourcePipelineExecutionArn": "<p>The ARN from a reference execution of the current pipeline. Used to copy input collaterals needed for the selected steps to run. The execution status of the pipeline can be either <code>Failed</code> or <code>Success</code>.</p>",
"SelectiveExecutionConfig$SourcePipelineExecutionArn": "<p>The ARN from a reference execution of the current pipeline. Used to copy input collaterals needed for the selected steps to run. The execution status of the pipeline can be either <code>Failed</code> or <code>Success</code>.</p> <p>This field is required if the steps you specify for <code>SelectedSteps</code> depend on output collaterals from any non-specified pipeline steps. For more information, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/pipelines-selective-ex.html\">Selective Execution for Pipeline Steps</a>.</p>",
"SelectiveExecutionResult$SourcePipelineExecutionArn": "<p>The ARN from an execution of the current pipeline.</p>",
"SendPipelineExecutionStepFailureResponse$PipelineExecutionArn": "<p>The Amazon Resource Name (ARN) of the pipeline execution.</p>",
"SendPipelineExecutionStepSuccessResponse$PipelineExecutionArn": "<p>The Amazon Resource Name (ARN) of the pipeline execution.</p>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28439,7 +28439,8 @@
"ml.inf2.xlarge",
"ml.inf2.8xlarge",
"ml.inf2.24xlarge",
"ml.inf2.48xlarge"
"ml.inf2.48xlarge",
"ml.p5.48xlarge"
]
},
"ProductionVariantList":{
Expand Down Expand Up @@ -30595,14 +30596,11 @@
},
"SelectiveExecutionConfig":{
"type":"structure",
"required":[
"SourcePipelineExecutionArn",
"SelectedSteps"
],
"required":["SelectedSteps"],
"members":{
"SourcePipelineExecutionArn":{
"shape":"PipelineExecutionArn",
"documentation":"<p>The ARN from a reference execution of the current pipeline. Used to copy input collaterals needed for the selected steps to run. The execution status of the pipeline can be either <code>Failed</code> or <code>Success</code>.</p>"
"documentation":"<p>The ARN from a reference execution of the current pipeline. Used to copy input collaterals needed for the selected steps to run. The execution status of the pipeline can be either <code>Failed</code> or <code>Success</code>.</p> <p>This field is required if the steps you specify for <code>SelectedSteps</code> depend on output collaterals from any non-specified pipeline steps. For more information, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/pipelines-selective-ex.html\">Selective Execution for Pipeline Steps</a>.</p>"
},
"SelectedSteps":{
"shape":"SelectedStepList",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,15 @@ internal bool IsSetSelectedSteps()
/// needed for the selected steps to run. The execution status of the pipeline can be
/// either <code>Failed</code> or <code>Success</code>.
/// </para>
///
/// <para>
/// This field is required if the steps you specify for <code>SelectedSteps</code> depend
/// on output collaterals from any non-specified pipeline steps. For more information,
/// see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/pipelines-selective-ex.html">Selective
/// Execution for Pipeline Steps</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=256)]
[AWSProperty(Max=256)]
public string SourcePipelineExecutionArn
{
get { return this._sourcePipelineExecutionArn; }
Expand Down
4 changes: 4 additions & 0 deletions sdk/src/Services/SageMaker/Generated/ServiceEnumerations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11205,6 +11205,10 @@ public class ProductionVariantInstanceType : ConstantClass
/// </summary>
public static readonly ProductionVariantInstanceType MlP4de24xlarge = new ProductionVariantInstanceType("ml.p4de.24xlarge");
/// <summary>
/// Constant MlP548xlarge for ProductionVariantInstanceType
/// </summary>
public static readonly ProductionVariantInstanceType MlP548xlarge = new ProductionVariantInstanceType("ml.p5.48xlarge");
/// <summary>
/// Constant MlR512xlarge for ProductionVariantInstanceType
/// </summary>
public static readonly ProductionVariantInstanceType MlR512xlarge = new ProductionVariantInstanceType("ml.r5.12xlarge");
Expand Down

0 comments on commit 52d64ee

Please sign in to comment.