aws-sdk-sagemaker 1.149.0 → 1.151.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6e9b81b9b9ea803ce2598ca327c154100180e2cb79cefbfd5a518c742a3e215
4
- data.tar.gz: cf0c11fbed14566bc90b6c24380a1d7af6187eafaf218084f0ee9135bb507b6f
3
+ metadata.gz: 4937ebdc076b7d2aea33aac5a978c24080b65a7a86134ed41fa03171d9c3622b
4
+ data.tar.gz: 37513c1a72d0611e98336193a3f3317eaaa41bbe50fcc1ae64579b7508769b8a
5
5
  SHA512:
6
- metadata.gz: 0ef1da4a5f8af84e9e0ecf820709f510b13727d381a711e07e43ec0868bb5d27e5d8668dc3f03a813360c7e86d0134ed0c7453fb156bbd7f1d9a3cf8df6b1b4e
7
- data.tar.gz: eb642a40c12d98c8e1b5f5cf37dddcb636748d5ceba11e09ba1215b7a70815511c57268b61b14e882bf0e9259117b23ca5d91ec1973df86882613c79f416984a
6
+ metadata.gz: ce41dea8a7bf2c40ceeb7e3f2070dabe0f97bcc7f36decea21b30bc99801fc53a21b26182ef81cfc521b51ae9f633e2b52a41693e4af8b201dc9176b5e447af6
7
+ data.tar.gz: 15b47590ccf1ee42a467060c1ef28581a580af3f5915ff72222587427f63b4c86eaa150a67821b6c9a6b847a7960c5b6e77bf898e6ab4f885462f7d55f46925f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.151.0 (2022-11-02)
5
+ ------------------
6
+
7
+ * Feature - This release updates Framework model regex for ModelPackage to support new Framework version xgboost, sklearn.
8
+
9
+ 1.150.0 (2022-10-27)
10
+ ------------------
11
+
12
+ * Feature - This change allows customers to provide a custom entrypoint script for the docker container to be run while executing training jobs, and provide custom arguments to the entrypoint script.
13
+
4
14
  1.149.0 (2022-10-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.149.0
1
+ 1.151.0
@@ -834,7 +834,7 @@ module Aws::SageMaker
834
834
  # data_input_config: "DataInputConfig", # required
835
835
  # },
836
836
  # framework: "String",
837
- # framework_version: "FrameworkVersion",
837
+ # framework_version: "ModelPackageFrameworkVersion",
838
838
  # nearest_model_name: "String",
839
839
  # },
840
840
  # ],
@@ -4625,7 +4625,7 @@ module Aws::SageMaker
4625
4625
  # data_input_config: "DataInputConfig", # required
4626
4626
  # },
4627
4627
  # framework: "String",
4628
- # framework_version: "FrameworkVersion",
4628
+ # framework_version: "ModelPackageFrameworkVersion",
4629
4629
  # nearest_model_name: "String",
4630
4630
  # },
4631
4631
  # ],
@@ -4824,7 +4824,7 @@ module Aws::SageMaker
4824
4824
  # data_input_config: "DataInputConfig", # required
4825
4825
  # },
4826
4826
  # framework: "String",
4827
- # framework_version: "FrameworkVersion",
4827
+ # framework_version: "ModelPackageFrameworkVersion",
4828
4828
  # nearest_model_name: "String",
4829
4829
  # },
4830
4830
  # ],
@@ -6035,8 +6035,8 @@ module Aws::SageMaker
6035
6035
  # use of security-sensitive credentials are detected, SageMaker will
6036
6036
  # reject your training job request and return an exception error.
6037
6037
  #
6038
- # * `InputDataConfig` - Describes the training dataset and the Amazon
6039
- # S3, EFS, or FSx location where it is stored.
6038
+ # * `InputDataConfig` - Describes the input required by the training job
6039
+ # and the Amazon S3, EFS, or FSx location where it is stored.
6040
6040
  #
6041
6041
  # * `OutputDataConfig` - Identifies the Amazon S3 bucket where you want
6042
6042
  # SageMaker to save the results of model training.
@@ -6297,6 +6297,8 @@ module Aws::SageMaker
6297
6297
  # },
6298
6298
  # ],
6299
6299
  # enable_sage_maker_metrics_time_series: false,
6300
+ # container_entrypoint: ["TrainingContainerEntrypointString"],
6301
+ # container_arguments: ["TrainingContainerArgument"],
6300
6302
  # },
6301
6303
  # role_arn: "RoleArn", # required
6302
6304
  # input_data_config: [
@@ -11882,6 +11884,10 @@ module Aws::SageMaker
11882
11884
  # resp.algorithm_specification.metric_definitions[0].name #=> String
11883
11885
  # resp.algorithm_specification.metric_definitions[0].regex #=> String
11884
11886
  # resp.algorithm_specification.enable_sage_maker_metrics_time_series #=> Boolean
11887
+ # resp.algorithm_specification.container_entrypoint #=> Array
11888
+ # resp.algorithm_specification.container_entrypoint[0] #=> String
11889
+ # resp.algorithm_specification.container_arguments #=> Array
11890
+ # resp.algorithm_specification.container_arguments[0] #=> String
11885
11891
  # resp.role_arn #=> String
11886
11892
  # resp.input_data_config #=> Array
11887
11893
  # resp.input_data_config[0].channel_name #=> String
@@ -17600,6 +17606,10 @@ module Aws::SageMaker
17600
17606
  # resp.results[0].training_job.algorithm_specification.metric_definitions[0].name #=> String
17601
17607
  # resp.results[0].training_job.algorithm_specification.metric_definitions[0].regex #=> String
17602
17608
  # resp.results[0].training_job.algorithm_specification.enable_sage_maker_metrics_time_series #=> Boolean
17609
+ # resp.results[0].training_job.algorithm_specification.container_entrypoint #=> Array
17610
+ # resp.results[0].training_job.algorithm_specification.container_entrypoint[0] #=> String
17611
+ # resp.results[0].training_job.algorithm_specification.container_arguments #=> Array
17612
+ # resp.results[0].training_job.algorithm_specification.container_arguments[0] #=> String
17603
17613
  # resp.results[0].training_job.role_arn #=> String
17604
17614
  # resp.results[0].training_job.input_data_config #=> Array
17605
17615
  # resp.results[0].training_job.input_data_config[0].channel_name #=> String
@@ -17796,6 +17806,10 @@ module Aws::SageMaker
17796
17806
  # resp.results[0].trial_component.source_detail.training_job.algorithm_specification.metric_definitions[0].name #=> String
17797
17807
  # resp.results[0].trial_component.source_detail.training_job.algorithm_specification.metric_definitions[0].regex #=> String
17798
17808
  # resp.results[0].trial_component.source_detail.training_job.algorithm_specification.enable_sage_maker_metrics_time_series #=> Boolean
17809
+ # resp.results[0].trial_component.source_detail.training_job.algorithm_specification.container_entrypoint #=> Array
17810
+ # resp.results[0].trial_component.source_detail.training_job.algorithm_specification.container_entrypoint[0] #=> String
17811
+ # resp.results[0].trial_component.source_detail.training_job.algorithm_specification.container_arguments #=> Array
17812
+ # resp.results[0].trial_component.source_detail.training_job.algorithm_specification.container_arguments[0] #=> String
17799
17813
  # resp.results[0].trial_component.source_detail.training_job.role_arn #=> String
17800
17814
  # resp.results[0].trial_component.source_detail.training_job.input_data_config #=> Array
17801
17815
  # resp.results[0].trial_component.source_detail.training_job.input_data_config[0].channel_name #=> String
@@ -20018,7 +20032,7 @@ module Aws::SageMaker
20018
20032
  # data_input_config: "DataInputConfig", # required
20019
20033
  # },
20020
20034
  # framework: "String",
20021
- # framework_version: "FrameworkVersion",
20035
+ # framework_version: "ModelPackageFrameworkVersion",
20022
20036
  # nearest_model_name: "String",
20023
20037
  # },
20024
20038
  # ],
@@ -21078,7 +21092,7 @@ module Aws::SageMaker
21078
21092
  params: params,
21079
21093
  config: config)
21080
21094
  context[:gem_name] = 'aws-sdk-sagemaker'
21081
- context[:gem_version] = '1.149.0'
21095
+ context[:gem_version] = '1.151.0'
21082
21096
  Seahorse::Client::Request.new(handlers, context)
21083
21097
  end
21084
21098
 
@@ -1111,6 +1111,7 @@ module Aws::SageMaker
1111
1111
  ModelPackageArnList = Shapes::ListShape.new(name: 'ModelPackageArnList')
1112
1112
  ModelPackageContainerDefinition = Shapes::StructureShape.new(name: 'ModelPackageContainerDefinition')
1113
1113
  ModelPackageContainerDefinitionList = Shapes::ListShape.new(name: 'ModelPackageContainerDefinitionList')
1114
+ ModelPackageFrameworkVersion = Shapes::StringShape.new(name: 'ModelPackageFrameworkVersion')
1114
1115
  ModelPackageGroup = Shapes::StructureShape.new(name: 'ModelPackageGroup')
1115
1116
  ModelPackageGroupArn = Shapes::StringShape.new(name: 'ModelPackageGroupArn')
1116
1117
  ModelPackageGroupSortBy = Shapes::StringShape.new(name: 'ModelPackageGroupSortBy')
@@ -1591,6 +1592,10 @@ module Aws::SageMaker
1591
1592
  TrafficRoutingConfig = Shapes::StructureShape.new(name: 'TrafficRoutingConfig')
1592
1593
  TrafficRoutingConfigType = Shapes::StringShape.new(name: 'TrafficRoutingConfigType')
1593
1594
  TrafficType = Shapes::StringShape.new(name: 'TrafficType')
1595
+ TrainingContainerArgument = Shapes::StringShape.new(name: 'TrainingContainerArgument')
1596
+ TrainingContainerArguments = Shapes::ListShape.new(name: 'TrainingContainerArguments')
1597
+ TrainingContainerEntrypoint = Shapes::ListShape.new(name: 'TrainingContainerEntrypoint')
1598
+ TrainingContainerEntrypointString = Shapes::StringShape.new(name: 'TrainingContainerEntrypointString')
1594
1599
  TrainingEnvironmentKey = Shapes::StringShape.new(name: 'TrainingEnvironmentKey')
1595
1600
  TrainingEnvironmentMap = Shapes::MapShape.new(name: 'TrainingEnvironmentMap')
1596
1601
  TrainingEnvironmentValue = Shapes::StringShape.new(name: 'TrainingEnvironmentValue')
@@ -1823,6 +1828,8 @@ module Aws::SageMaker
1823
1828
  AlgorithmSpecification.add_member(:training_input_mode, Shapes::ShapeRef.new(shape: TrainingInputMode, required: true, location_name: "TrainingInputMode"))
1824
1829
  AlgorithmSpecification.add_member(:metric_definitions, Shapes::ShapeRef.new(shape: MetricDefinitionList, location_name: "MetricDefinitions"))
1825
1830
  AlgorithmSpecification.add_member(:enable_sage_maker_metrics_time_series, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableSageMakerMetricsTimeSeries"))
1831
+ AlgorithmSpecification.add_member(:container_entrypoint, Shapes::ShapeRef.new(shape: TrainingContainerEntrypoint, location_name: "ContainerEntrypoint"))
1832
+ AlgorithmSpecification.add_member(:container_arguments, Shapes::ShapeRef.new(shape: TrainingContainerArguments, location_name: "ContainerArguments"))
1826
1833
  AlgorithmSpecification.struct_class = Types::AlgorithmSpecification
1827
1834
 
1828
1835
  AlgorithmStatusDetails.add_member(:validation_statuses, Shapes::ShapeRef.new(shape: AlgorithmStatusItemList, location_name: "ValidationStatuses"))
@@ -5945,7 +5952,7 @@ module Aws::SageMaker
5945
5952
  ModelPackageContainerDefinition.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentMap, location_name: "Environment"))
5946
5953
  ModelPackageContainerDefinition.add_member(:model_input, Shapes::ShapeRef.new(shape: ModelInput, location_name: "ModelInput"))
5947
5954
  ModelPackageContainerDefinition.add_member(:framework, Shapes::ShapeRef.new(shape: String, location_name: "Framework"))
5948
- ModelPackageContainerDefinition.add_member(:framework_version, Shapes::ShapeRef.new(shape: FrameworkVersion, location_name: "FrameworkVersion"))
5955
+ ModelPackageContainerDefinition.add_member(:framework_version, Shapes::ShapeRef.new(shape: ModelPackageFrameworkVersion, location_name: "FrameworkVersion"))
5949
5956
  ModelPackageContainerDefinition.add_member(:nearest_model_name, Shapes::ShapeRef.new(shape: String, location_name: "NearestModelName"))
5950
5957
  ModelPackageContainerDefinition.struct_class = Types::ModelPackageContainerDefinition
5951
5958
 
@@ -7112,6 +7119,10 @@ module Aws::SageMaker
7112
7119
  TrafficRoutingConfig.add_member(:linear_step_size, Shapes::ShapeRef.new(shape: CapacitySize, location_name: "LinearStepSize"))
7113
7120
  TrafficRoutingConfig.struct_class = Types::TrafficRoutingConfig
7114
7121
 
7122
+ TrainingContainerArguments.member = Shapes::ShapeRef.new(shape: TrainingContainerArgument)
7123
+
7124
+ TrainingContainerEntrypoint.member = Shapes::ShapeRef.new(shape: TrainingContainerEntrypointString)
7125
+
7115
7126
  TrainingEnvironmentMap.key = Shapes::ShapeRef.new(shape: TrainingEnvironmentKey)
7116
7127
  TrainingEnvironmentMap.value = Shapes::ShapeRef.new(shape: TrainingEnvironmentValue)
7117
7128
 
@@ -227,7 +227,7 @@ module Aws::SageMaker
227
227
  # data_input_config: "DataInputConfig", # required
228
228
  # },
229
229
  # framework: "String",
230
- # framework_version: "FrameworkVersion",
230
+ # framework_version: "ModelPackageFrameworkVersion",
231
231
  # nearest_model_name: "String",
232
232
  # },
233
233
  # ],
@@ -351,6 +351,8 @@ module Aws::SageMaker
351
351
  # },
352
352
  # ],
353
353
  # enable_sage_maker_metrics_time_series: false,
354
+ # container_entrypoint: ["TrainingContainerEntrypointString"],
355
+ # container_arguments: ["TrainingContainerArgument"],
354
356
  # }
355
357
  #
356
358
  # @!attribute [rw] training_image
@@ -473,6 +475,28 @@ module Aws::SageMaker
473
475
  # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/pre-built-containers-frameworks-deep-learning.html
474
476
  # @return [Boolean]
475
477
  #
478
+ # @!attribute [rw] container_entrypoint
479
+ # The [entrypoint script for a Docker container][1] used to run a
480
+ # training job. This script takes precedence over the default train
481
+ # processing instructions. See [How Amazon SageMaker Runs Your
482
+ # Training Image][2] for more information.
483
+ #
484
+ #
485
+ #
486
+ # [1]: https://docs.docker.com/engine/reference/builder/
487
+ # [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-training-algo-dockerfile.html
488
+ # @return [Array<String>]
489
+ #
490
+ # @!attribute [rw] container_arguments
491
+ # The arguments for a container used to run a training job. See [How
492
+ # Amazon SageMaker Runs Your Training Image][1] for additional
493
+ # information.
494
+ #
495
+ #
496
+ #
497
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-training-algo-dockerfile.html
498
+ # @return [Array<String>]
499
+ #
476
500
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AlgorithmSpecification AWS API Documentation
477
501
  #
478
502
  class AlgorithmSpecification < Struct.new(
@@ -480,7 +504,9 @@ module Aws::SageMaker
480
504
  :algorithm_name,
481
505
  :training_input_mode,
482
506
  :metric_definitions,
483
- :enable_sage_maker_metrics_time_series)
507
+ :enable_sage_maker_metrics_time_series,
508
+ :container_entrypoint,
509
+ :container_arguments)
484
510
  SENSITIVE = []
485
511
  include Aws::Structure
486
512
  end
@@ -4767,7 +4793,7 @@ module Aws::SageMaker
4767
4793
  # data_input_config: "DataInputConfig", # required
4768
4794
  # },
4769
4795
  # framework: "String",
4770
- # framework_version: "FrameworkVersion",
4796
+ # framework_version: "ModelPackageFrameworkVersion",
4771
4797
  # nearest_model_name: "String",
4772
4798
  # },
4773
4799
  # ],
@@ -8528,7 +8554,7 @@ module Aws::SageMaker
8528
8554
  # data_input_config: "DataInputConfig", # required
8529
8555
  # },
8530
8556
  # framework: "String",
8531
- # framework_version: "FrameworkVersion",
8557
+ # framework_version: "ModelPackageFrameworkVersion",
8532
8558
  # nearest_model_name: "String",
8533
8559
  # },
8534
8560
  # ],
@@ -8727,7 +8753,7 @@ module Aws::SageMaker
8727
8753
  # data_input_config: "DataInputConfig", # required
8728
8754
  # },
8729
8755
  # framework: "String",
8730
- # framework_version: "FrameworkVersion",
8756
+ # framework_version: "ModelPackageFrameworkVersion",
8731
8757
  # nearest_model_name: "String",
8732
8758
  # },
8733
8759
  # ],
@@ -10059,6 +10085,8 @@ module Aws::SageMaker
10059
10085
  # },
10060
10086
  # ],
10061
10087
  # enable_sage_maker_metrics_time_series: false,
10088
+ # container_entrypoint: ["TrainingContainerEntrypointString"],
10089
+ # container_arguments: ["TrainingContainerArgument"],
10062
10090
  # },
10063
10091
  # role_arn: "RoleArn", # required
10064
10092
  # input_data_config: [
@@ -23792,7 +23820,7 @@ module Aws::SageMaker
23792
23820
  # data_input_config: "DataInputConfig", # required
23793
23821
  # },
23794
23822
  # framework: "String",
23795
- # framework_version: "FrameworkVersion",
23823
+ # framework_version: "ModelPackageFrameworkVersion",
23796
23824
  # nearest_model_name: "String",
23797
23825
  # },
23798
23826
  # ],
@@ -31272,7 +31300,7 @@ module Aws::SageMaker
31272
31300
  # data_input_config: "DataInputConfig", # required
31273
31301
  # },
31274
31302
  # framework: "String",
31275
- # framework_version: "FrameworkVersion",
31303
+ # framework_version: "ModelPackageFrameworkVersion",
31276
31304
  # nearest_model_name: "String",
31277
31305
  # }
31278
31306
  #
@@ -42977,7 +43005,7 @@ module Aws::SageMaker
42977
43005
  # data_input_config: "DataInputConfig", # required
42978
43006
  # },
42979
43007
  # framework: "String",
42980
- # framework_version: "FrameworkVersion",
43008
+ # framework_version: "ModelPackageFrameworkVersion",
42981
43009
  # nearest_model_name: "String",
42982
43010
  # },
42983
43011
  # ],
@@ -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.149.0'
56
+ GEM_VERSION = '1.151.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.149.0
4
+ version: 1.151.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: 2022-10-26 00:00:00.000000000 Z
11
+ date: 2022-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core