Skip to content

Commit 52d64ee

Browse files
This release allows users to run Selective Execution in SageMaker Pipelines without SourcePipelineExecutionArn if selected steps do not have any dependent steps.
1 parent c993bea commit 52d64ee

File tree

5 files changed

+20
-13
lines changed

5 files changed

+20
-13
lines changed

generator/ServiceModels/sagemaker/sagemaker-2017-07-24.api.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17386,7 +17386,8 @@
1738617386
"ml.inf2.xlarge",
1738717387
"ml.inf2.8xlarge",
1738817388
"ml.inf2.24xlarge",
17389-
"ml.inf2.48xlarge"
17389+
"ml.inf2.48xlarge",
17390+
"ml.p5.48xlarge"
1739017391
]
1739117392
},
1739217393
"ProductionVariantList":{
@@ -18778,10 +18779,7 @@
1877818779
},
1877918780
"SelectiveExecutionConfig":{
1878018781
"type":"structure",
18781-
"required":[
18782-
"SourcePipelineExecutionArn",
18783-
"SelectedSteps"
18784-
],
18782+
"required":["SelectedSteps"],
1878518783
"members":{
1878618784
"SourcePipelineExecutionArn":{"shape":"PipelineExecutionArn"},
1878718785
"SelectedSteps":{"shape":"SelectedStepList"}

generator/ServiceModels/sagemaker/sagemaker-2017-07-24.docs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10691,7 +10691,7 @@
1069110691
"PipelineExecutionSummary$PipelineExecutionArn": "<p>The Amazon Resource Name (ARN) of the pipeline execution.</p>",
1069210692
"RetryPipelineExecutionRequest$PipelineExecutionArn": "<p>The Amazon Resource Name (ARN) of the pipeline execution.</p>",
1069310693
"RetryPipelineExecutionResponse$PipelineExecutionArn": "<p>The Amazon Resource Name (ARN) of the pipeline execution.</p>",
10694-
"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>",
10694+
"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>",
1069510695
"SelectiveExecutionResult$SourcePipelineExecutionArn": "<p>The ARN from an execution of the current pipeline.</p>",
1069610696
"SendPipelineExecutionStepFailureResponse$PipelineExecutionArn": "<p>The Amazon Resource Name (ARN) of the pipeline execution.</p>",
1069710697
"SendPipelineExecutionStepSuccessResponse$PipelineExecutionArn": "<p>The Amazon Resource Name (ARN) of the pipeline execution.</p>",

generator/ServiceModels/sagemaker/sagemaker-2017-07-24.normal.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28439,7 +28439,8 @@
2843928439
"ml.inf2.xlarge",
2844028440
"ml.inf2.8xlarge",
2844128441
"ml.inf2.24xlarge",
28442-
"ml.inf2.48xlarge"
28442+
"ml.inf2.48xlarge",
28443+
"ml.p5.48xlarge"
2844328444
]
2844428445
},
2844528446
"ProductionVariantList":{
@@ -30595,14 +30596,11 @@
3059530596
},
3059630597
"SelectiveExecutionConfig":{
3059730598
"type":"structure",
30598-
"required":[
30599-
"SourcePipelineExecutionArn",
30600-
"SelectedSteps"
30601-
],
30599+
"required":["SelectedSteps"],
3060230600
"members":{
3060330601
"SourcePipelineExecutionArn":{
3060430602
"shape":"PipelineExecutionArn",
30605-
"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>"
30603+
"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>"
3060630604
},
3060730605
"SelectedSteps":{
3060830606
"shape":"SelectedStepList",

sdk/src/Services/SageMaker/Generated/Model/SelectiveExecutionConfig.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,15 @@ internal bool IsSetSelectedSteps()
6363
/// needed for the selected steps to run. The execution status of the pipeline can be
6464
/// either <code>Failed</code> or <code>Success</code>.
6565
/// </para>
66+
///
67+
/// <para>
68+
/// This field is required if the steps you specify for <code>SelectedSteps</code> depend
69+
/// on output collaterals from any non-specified pipeline steps. For more information,
70+
/// see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/pipelines-selective-ex.html">Selective
71+
/// Execution for Pipeline Steps</a>.
72+
/// </para>
6673
/// </summary>
67-
[AWSProperty(Required=true, Max=256)]
74+
[AWSProperty(Max=256)]
6875
public string SourcePipelineExecutionArn
6976
{
7077
get { return this._sourcePipelineExecutionArn; }

sdk/src/Services/SageMaker/Generated/ServiceEnumerations.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11205,6 +11205,10 @@ public class ProductionVariantInstanceType : ConstantClass
1120511205
/// </summary>
1120611206
public static readonly ProductionVariantInstanceType MlP4de24xlarge = new ProductionVariantInstanceType("ml.p4de.24xlarge");
1120711207
/// <summary>
11208+
/// Constant MlP548xlarge for ProductionVariantInstanceType
11209+
/// </summary>
11210+
public static readonly ProductionVariantInstanceType MlP548xlarge = new ProductionVariantInstanceType("ml.p5.48xlarge");
11211+
/// <summary>
1120811212
/// Constant MlR512xlarge for ProductionVariantInstanceType
1120911213
/// </summary>
1121011214
public static readonly ProductionVariantInstanceType MlR512xlarge = new ProductionVariantInstanceType("ml.r5.12xlarge");

0 commit comments

Comments
 (0)