aws-sdk-sagemaker 1.184.0 → 1.185.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cd6d5100ec22b5ff0ebd06298712ec56e56a63d5757e2ecf02ffb2a61f32d41d
4
- data.tar.gz: 34b98e9f84b0379a0b809e02cdc3dc56afd2b02f1344976002ae645c64743695
3
+ metadata.gz: bbe42034f2d55eb49a6216df354440a27c9a438c2bcc58b1d51ab4d9f862a26e
4
+ data.tar.gz: 733a469e9e77d9bda672f6ec8afe65f06229585a18e7668eb00d7db8e9a3cc71
5
5
  SHA512:
6
- metadata.gz: c0c6b09637d9575168a937e7143b2cdc0d1737ed0b39fe968ce50a30e924b4b270999889e367ab720f4eda3aa473cd71e389964d032789f32e050241f72b9266
7
- data.tar.gz: 2630905fa55ba362fa39100c18be8dbcc514bcc56459555ec5470ce88127000fcc48cb8b29dec402f7b79bd732ef412a7425111fca3405d9cb00fdfa3dff1ade
6
+ metadata.gz: fd05078a698df13a2d9e87f872233efa83976681e3a9da1731a1d55c595d520295d7e69f9613f93cab14cd22a19beb0a7e88ce4a8ad090b730ea9fd7feafbae3
7
+ data.tar.gz: 3643c365811f28b62a0eb088921ef95f6230836f6227e70fe5a8e2ec61c2794a731ae644b30aa50edf04cc8ff03357579b6cf7c97f76fa69e689f2721b7b9ce9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.185.0 (2023-06-02)
5
+ ------------------
6
+
7
+ * Feature - This release adds Selective Execution feature that allows SageMaker Pipelines users to run selected steps in a pipeline.
8
+
4
9
  1.184.0 (2023-06-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.184.0
1
+ 1.185.0
@@ -13376,6 +13376,7 @@ module Aws::SageMaker
13376
13376
  # * {Types::DescribePipelineExecutionResponse#created_by #created_by} => Types::UserContext
13377
13377
  # * {Types::DescribePipelineExecutionResponse#last_modified_by #last_modified_by} => Types::UserContext
13378
13378
  # * {Types::DescribePipelineExecutionResponse#parallelism_configuration #parallelism_configuration} => Types::ParallelismConfiguration
13379
+ # * {Types::DescribePipelineExecutionResponse#selective_execution_config #selective_execution_config} => Types::SelectiveExecutionConfig
13379
13380
  #
13380
13381
  # @example Request syntax with placeholder values
13381
13382
  #
@@ -13408,6 +13409,9 @@ module Aws::SageMaker
13408
13409
  # resp.last_modified_by.iam_identity.principal_id #=> String
13409
13410
  # resp.last_modified_by.iam_identity.source_identity #=> String
13410
13411
  # resp.parallelism_configuration.max_parallel_execution_steps #=> Integer
13412
+ # resp.selective_execution_config.source_pipeline_execution_arn #=> String
13413
+ # resp.selective_execution_config.selected_steps #=> Array
13414
+ # resp.selective_execution_config.selected_steps[0].step_name #=> String
13411
13415
  #
13412
13416
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineExecution AWS API Documentation
13413
13417
  #
@@ -18832,6 +18836,7 @@ module Aws::SageMaker
18832
18836
  # resp.pipeline_execution_steps[0].metadata.emr.log_file_path #=> String
18833
18837
  # resp.pipeline_execution_steps[0].metadata.fail.error_message #=> String
18834
18838
  # resp.pipeline_execution_steps[0].metadata.auto_ml_job.arn #=> String
18839
+ # resp.pipeline_execution_steps[0].selective_execution_result.source_pipeline_execution_arn #=> String
18835
18840
  # resp.next_token #=> String
18836
18841
  #
18837
18842
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineExecutionSteps AWS API Documentation
@@ -20747,6 +20752,9 @@ module Aws::SageMaker
20747
20752
  # This configuration, if specified, overrides the parallelism
20748
20753
  # configuration of the parent pipeline for this specific run.
20749
20754
  #
20755
+ # @option params [Types::SelectiveExecutionConfig] :selective_execution_config
20756
+ # The selective execution configuration applied to the pipeline run.
20757
+ #
20750
20758
  # @return [Types::StartPipelineExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
20751
20759
  #
20752
20760
  # * {Types::StartPipelineExecutionResponse#pipeline_execution_arn #pipeline_execution_arn} => String
@@ -20767,6 +20775,14 @@ module Aws::SageMaker
20767
20775
  # parallelism_configuration: {
20768
20776
  # max_parallel_execution_steps: 1, # required
20769
20777
  # },
20778
+ # selective_execution_config: {
20779
+ # source_pipeline_execution_arn: "PipelineExecutionArn", # required
20780
+ # selected_steps: [ # required
20781
+ # {
20782
+ # step_name: "String256", # required
20783
+ # },
20784
+ # ],
20785
+ # },
20770
20786
  # })
20771
20787
  #
20772
20788
  # @example Response structure
@@ -23589,7 +23605,7 @@ module Aws::SageMaker
23589
23605
  params: params,
23590
23606
  config: config)
23591
23607
  context[:gem_name] = 'aws-sdk-sagemaker'
23592
- context[:gem_version] = '1.184.0'
23608
+ context[:gem_version] = '1.185.0'
23593
23609
  Seahorse::Client::Request.new(handlers, context)
23594
23610
  end
23595
23611
 
@@ -1678,6 +1678,10 @@ module Aws::SageMaker
1678
1678
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
1679
1679
  SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
1680
1680
  Seed = Shapes::IntegerShape.new(name: 'Seed')
1681
+ SelectedStep = Shapes::StructureShape.new(name: 'SelectedStep')
1682
+ SelectedStepList = Shapes::ListShape.new(name: 'SelectedStepList')
1683
+ SelectiveExecutionConfig = Shapes::StructureShape.new(name: 'SelectiveExecutionConfig')
1684
+ SelectiveExecutionResult = Shapes::StructureShape.new(name: 'SelectiveExecutionResult')
1681
1685
  SendPipelineExecutionStepFailureRequest = Shapes::StructureShape.new(name: 'SendPipelineExecutionStepFailureRequest')
1682
1686
  SendPipelineExecutionStepFailureResponse = Shapes::StructureShape.new(name: 'SendPipelineExecutionStepFailureResponse')
1683
1687
  SendPipelineExecutionStepSuccessRequest = Shapes::StructureShape.new(name: 'SendPipelineExecutionStepSuccessRequest')
@@ -4416,6 +4420,7 @@ module Aws::SageMaker
4416
4420
  DescribePipelineExecutionResponse.add_member(:created_by, Shapes::ShapeRef.new(shape: UserContext, location_name: "CreatedBy"))
4417
4421
  DescribePipelineExecutionResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: UserContext, location_name: "LastModifiedBy"))
4418
4422
  DescribePipelineExecutionResponse.add_member(:parallelism_configuration, Shapes::ShapeRef.new(shape: ParallelismConfiguration, location_name: "ParallelismConfiguration"))
4423
+ DescribePipelineExecutionResponse.add_member(:selective_execution_config, Shapes::ShapeRef.new(shape: SelectiveExecutionConfig, location_name: "SelectiveExecutionConfig"))
4419
4424
  DescribePipelineExecutionResponse.struct_class = Types::DescribePipelineExecutionResponse
4420
4425
 
4421
4426
  DescribePipelineRequest.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineNameOrArn, required: true, location_name: "PipelineName"))
@@ -7408,6 +7413,7 @@ module Aws::SageMaker
7408
7413
  PipelineExecution.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: UserContext, location_name: "LastModifiedBy"))
7409
7414
  PipelineExecution.add_member(:parallelism_configuration, Shapes::ShapeRef.new(shape: ParallelismConfiguration, location_name: "ParallelismConfiguration"))
7410
7415
  PipelineExecution.add_member(:pipeline_parameters, Shapes::ShapeRef.new(shape: ParameterList, location_name: "PipelineParameters"))
7416
+ PipelineExecution.add_member(:selective_execution_config, Shapes::ShapeRef.new(shape: SelectiveExecutionConfig, location_name: "SelectiveExecutionConfig"))
7411
7417
  PipelineExecution.struct_class = Types::PipelineExecution
7412
7418
 
7413
7419
  PipelineExecutionStep.add_member(:step_name, Shapes::ShapeRef.new(shape: StepName, location_name: "StepName"))
@@ -7420,6 +7426,7 @@ module Aws::SageMaker
7420
7426
  PipelineExecutionStep.add_member(:attempt_count, Shapes::ShapeRef.new(shape: IntegerValue, location_name: "AttemptCount"))
7421
7427
  PipelineExecutionStep.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
7422
7428
  PipelineExecutionStep.add_member(:metadata, Shapes::ShapeRef.new(shape: PipelineExecutionStepMetadata, location_name: "Metadata"))
7429
+ PipelineExecutionStep.add_member(:selective_execution_result, Shapes::ShapeRef.new(shape: SelectiveExecutionResult, location_name: "SelectiveExecutionResult"))
7423
7430
  PipelineExecutionStep.struct_class = Types::PipelineExecutionStep
7424
7431
 
7425
7432
  PipelineExecutionStepList.member = Shapes::ShapeRef.new(shape: PipelineExecutionStep)
@@ -7999,6 +8006,18 @@ module Aws::SageMaker
7999
8006
 
8000
8007
  SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
8001
8008
 
8009
+ SelectedStep.add_member(:step_name, Shapes::ShapeRef.new(shape: String256, required: true, location_name: "StepName"))
8010
+ SelectedStep.struct_class = Types::SelectedStep
8011
+
8012
+ SelectedStepList.member = Shapes::ShapeRef.new(shape: SelectedStep)
8013
+
8014
+ SelectiveExecutionConfig.add_member(:source_pipeline_execution_arn, Shapes::ShapeRef.new(shape: PipelineExecutionArn, required: true, location_name: "SourcePipelineExecutionArn"))
8015
+ SelectiveExecutionConfig.add_member(:selected_steps, Shapes::ShapeRef.new(shape: SelectedStepList, required: true, location_name: "SelectedSteps"))
8016
+ SelectiveExecutionConfig.struct_class = Types::SelectiveExecutionConfig
8017
+
8018
+ SelectiveExecutionResult.add_member(:source_pipeline_execution_arn, Shapes::ShapeRef.new(shape: PipelineExecutionArn, location_name: "SourcePipelineExecutionArn"))
8019
+ SelectiveExecutionResult.struct_class = Types::SelectiveExecutionResult
8020
+
8002
8021
  SendPipelineExecutionStepFailureRequest.add_member(:callback_token, Shapes::ShapeRef.new(shape: CallbackToken, required: true, location_name: "CallbackToken"))
8003
8022
  SendPipelineExecutionStepFailureRequest.add_member(:failure_reason, Shapes::ShapeRef.new(shape: String256, location_name: "FailureReason"))
8004
8023
  SendPipelineExecutionStepFailureRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
@@ -8094,6 +8113,7 @@ module Aws::SageMaker
8094
8113
  StartPipelineExecutionRequest.add_member(:pipeline_execution_description, Shapes::ShapeRef.new(shape: PipelineExecutionDescription, location_name: "PipelineExecutionDescription"))
8095
8114
  StartPipelineExecutionRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
8096
8115
  StartPipelineExecutionRequest.add_member(:parallelism_configuration, Shapes::ShapeRef.new(shape: ParallelismConfiguration, location_name: "ParallelismConfiguration"))
8116
+ StartPipelineExecutionRequest.add_member(:selective_execution_config, Shapes::ShapeRef.new(shape: SelectiveExecutionConfig, location_name: "SelectiveExecutionConfig"))
8097
8117
  StartPipelineExecutionRequest.struct_class = Types::StartPipelineExecutionRequest
8098
8118
 
8099
8119
  StartPipelineExecutionResponse.add_member(:pipeline_execution_arn, Shapes::ShapeRef.new(shape: PipelineExecutionArn, location_name: "PipelineExecutionArn"))
@@ -2096,12 +2096,9 @@ module Aws::SageMaker
2096
2096
  # The content type of the data from the input source. The following
2097
2097
  # are the allowed content types for different problems:
2098
2098
  #
2099
- # * ImageClassification: `image/png`, `image/jpeg`, or `image/*`. The
2100
- # default value is `image/*`.
2099
+ # * ImageClassification: `image/png`, `image/jpeg`, `image/*`
2101
2100
  #
2102
- # * TextClassification: `text/csv;header=present` or
2103
- # `x-application/vnd.amazon+parquet`. The default value is
2104
- # `text/csv;header=present`.
2101
+ # * TextClassification: `text/csv;header=present`
2105
2102
  # @return [String]
2106
2103
  #
2107
2104
  # @!attribute [rw] compression_type
@@ -14403,6 +14400,10 @@ module Aws::SageMaker
14403
14400
  # The parallelism configuration applied to the pipeline.
14404
14401
  # @return [Types::ParallelismConfiguration]
14405
14402
  #
14403
+ # @!attribute [rw] selective_execution_config
14404
+ # The selective execution configuration applied to the pipeline run.
14405
+ # @return [Types::SelectiveExecutionConfig]
14406
+ #
14406
14407
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineExecutionResponse AWS API Documentation
14407
14408
  #
14408
14409
  class DescribePipelineExecutionResponse < Struct.new(
@@ -14417,7 +14418,8 @@ module Aws::SageMaker
14417
14418
  :last_modified_time,
14418
14419
  :created_by,
14419
14420
  :last_modified_by,
14420
- :parallelism_configuration)
14421
+ :parallelism_configuration,
14422
+ :selective_execution_config)
14421
14423
  SENSITIVE = []
14422
14424
  include Aws::Structure
14423
14425
  end
@@ -31554,6 +31556,10 @@ module Aws::SageMaker
31554
31556
  # Contains a list of pipeline parameters. This list can be empty.
31555
31557
  # @return [Array<Types::Parameter>]
31556
31558
  #
31559
+ # @!attribute [rw] selective_execution_config
31560
+ # The selective execution configuration applied to the pipeline run.
31561
+ # @return [Types::SelectiveExecutionConfig]
31562
+ #
31557
31563
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PipelineExecution AWS API Documentation
31558
31564
  #
31559
31565
  class PipelineExecution < Struct.new(
@@ -31569,7 +31575,8 @@ module Aws::SageMaker
31569
31575
  :created_by,
31570
31576
  :last_modified_by,
31571
31577
  :parallelism_configuration,
31572
- :pipeline_parameters)
31578
+ :pipeline_parameters,
31579
+ :selective_execution_config)
31573
31580
  SENSITIVE = []
31574
31581
  include Aws::Structure
31575
31582
  end
@@ -31623,6 +31630,11 @@ module Aws::SageMaker
31623
31630
  # Metadata to run the pipeline step.
31624
31631
  # @return [Types::PipelineExecutionStepMetadata]
31625
31632
  #
31633
+ # @!attribute [rw] selective_execution_result
31634
+ # The ARN from an execution of the current pipeline from which results
31635
+ # are reused for this step.
31636
+ # @return [Types::SelectiveExecutionResult]
31637
+ #
31626
31638
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PipelineExecutionStep AWS API Documentation
31627
31639
  #
31628
31640
  class PipelineExecutionStep < Struct.new(
@@ -31635,7 +31647,8 @@ module Aws::SageMaker
31635
31647
  :cache_hit_result,
31636
31648
  :attempt_count,
31637
31649
  :failure_reason,
31638
- :metadata)
31650
+ :metadata,
31651
+ :selective_execution_result)
31639
31652
  SENSITIVE = []
31640
31653
  include Aws::Structure
31641
31654
  end
@@ -35267,6 +35280,57 @@ module Aws::SageMaker
35267
35280
  include Aws::Structure
35268
35281
  end
35269
35282
 
35283
+ # A step selected to run in selective execution mode.
35284
+ #
35285
+ # @!attribute [rw] step_name
35286
+ # The name of the pipeline step.
35287
+ # @return [String]
35288
+ #
35289
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SelectedStep AWS API Documentation
35290
+ #
35291
+ class SelectedStep < Struct.new(
35292
+ :step_name)
35293
+ SENSITIVE = []
35294
+ include Aws::Structure
35295
+ end
35296
+
35297
+ # The selective execution configuration applied to the pipeline run.
35298
+ #
35299
+ # @!attribute [rw] source_pipeline_execution_arn
35300
+ # The ARN from a reference execution of the current pipeline. Used to
35301
+ # copy input collaterals needed for the selected steps to run. The
35302
+ # execution status of the pipeline can be either `Failed` or
35303
+ # `Success`.
35304
+ # @return [String]
35305
+ #
35306
+ # @!attribute [rw] selected_steps
35307
+ # A list of pipeline steps to run. All step(s) in all path(s) between
35308
+ # two selected steps should be included.
35309
+ # @return [Array<Types::SelectedStep>]
35310
+ #
35311
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SelectiveExecutionConfig AWS API Documentation
35312
+ #
35313
+ class SelectiveExecutionConfig < Struct.new(
35314
+ :source_pipeline_execution_arn,
35315
+ :selected_steps)
35316
+ SENSITIVE = []
35317
+ include Aws::Structure
35318
+ end
35319
+
35320
+ # The ARN from an execution of the current pipeline.
35321
+ #
35322
+ # @!attribute [rw] source_pipeline_execution_arn
35323
+ # The ARN from an execution of the current pipeline.
35324
+ # @return [String]
35325
+ #
35326
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SelectiveExecutionResult AWS API Documentation
35327
+ #
35328
+ class SelectiveExecutionResult < Struct.new(
35329
+ :source_pipeline_execution_arn)
35330
+ SENSITIVE = []
35331
+ include Aws::Structure
35332
+ end
35333
+
35270
35334
  # @!attribute [rw] callback_token
35271
35335
  # The pipeline generated token from the Amazon SQS queue.
35272
35336
  # @return [String]
@@ -35789,6 +35853,10 @@ module Aws::SageMaker
35789
35853
  # configuration of the parent pipeline for this specific run.
35790
35854
  # @return [Types::ParallelismConfiguration]
35791
35855
  #
35856
+ # @!attribute [rw] selective_execution_config
35857
+ # The selective execution configuration applied to the pipeline run.
35858
+ # @return [Types::SelectiveExecutionConfig]
35859
+ #
35792
35860
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartPipelineExecutionRequest AWS API Documentation
35793
35861
  #
35794
35862
  class StartPipelineExecutionRequest < Struct.new(
@@ -35797,7 +35865,8 @@ module Aws::SageMaker
35797
35865
  :pipeline_parameters,
35798
35866
  :pipeline_execution_description,
35799
35867
  :client_request_token,
35800
- :parallelism_configuration)
35868
+ :parallelism_configuration,
35869
+ :selective_execution_config)
35801
35870
  SENSITIVE = []
35802
35871
  include Aws::Structure
35803
35872
  end
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-sagemaker/customizations'
53
53
  # @!group service
54
54
  module Aws::SageMaker
55
55
 
56
- GEM_VERSION = '1.184.0'
56
+ GEM_VERSION = '1.185.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sagemaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.184.0
4
+ version: 1.185.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-01 00:00:00.000000000 Z
11
+ date: 2023-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core