aws-sdk-sagemaker 1.163.0 → 1.164.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: 610f6dd90dba52af24881f30fa4a35e9d183eb907396b243d537e39006e07d0e
4
- data.tar.gz: 71182d23cfb1f2b558e3ffc423867ecbfe8be7ff02452cd57b0eb5044987f96c
3
+ metadata.gz: 2bddb889de853dbfb3618f6625c40548f6eb4dbc611bf617305804d69228cd6b
4
+ data.tar.gz: 27659e743febca9ae1cd3db7cc72292bdee4a925f01ac1a613f4de3eb1d7396a
5
5
  SHA512:
6
- metadata.gz: ac0eb6215e3e00f5ae9ec8e1baeed1131235f91761f7eb8f39bed684433b635297ca563edd93dded659fa1e7134c245bfd9846818bbbbabef28245d87342ba38
7
- data.tar.gz: 6daae133e3733cc4add88549ffb9c05cc544ace9bda6f71634bdff07445d997a6c8d9d7f2a3ca84e95926b32d7111e102d6e00740e6b1893ba824223550744bb
6
+ metadata.gz: e113ee2512a60a2ad7239dc8f9eb3b92dd2d31303be2ceb062fbca6ba9c7be9d44fc98334d8ad073b08b09a98240f33ebe19c5747d17f9c21574ae839830d073
7
+ data.tar.gz: b95e8973128115123299dcd2b5e465a760ec8b1f2a050c99c6d0408f9f26193938b211bb57fd60920efd605eaa2f8ea439c5dadfb407b285a92ad94423e0d8c8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.164.0 (2023-01-27)
5
+ ------------------
6
+
7
+ * Feature - This release supports running SageMaker Training jobs with container images that are in a private Docker registry.
8
+
4
9
  1.163.0 (2023-01-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.163.0
1
+ 1.164.0
@@ -6912,6 +6912,12 @@ module Aws::SageMaker
6912
6912
  # enable_sage_maker_metrics_time_series: false,
6913
6913
  # container_entrypoint: ["TrainingContainerEntrypointString"],
6914
6914
  # container_arguments: ["TrainingContainerArgument"],
6915
+ # training_image_config: {
6916
+ # training_repository_access_mode: "Platform", # required, accepts Platform, Vpc
6917
+ # training_repository_auth_config: {
6918
+ # training_repository_credentials_provider_arn: "TrainingRepositoryCredentialsProviderArn", # required
6919
+ # },
6920
+ # },
6915
6921
  # },
6916
6922
  # role_arn: "RoleArn", # required
6917
6923
  # input_data_config: [
@@ -13143,6 +13149,8 @@ module Aws::SageMaker
13143
13149
  # resp.algorithm_specification.container_entrypoint[0] #=> String
13144
13150
  # resp.algorithm_specification.container_arguments #=> Array
13145
13151
  # resp.algorithm_specification.container_arguments[0] #=> String
13152
+ # resp.algorithm_specification.training_image_config.training_repository_access_mode #=> String, one of "Platform", "Vpc"
13153
+ # resp.algorithm_specification.training_image_config.training_repository_auth_config.training_repository_credentials_provider_arn #=> String
13146
13154
  # resp.role_arn #=> String
13147
13155
  # resp.input_data_config #=> Array
13148
13156
  # resp.input_data_config[0].channel_name #=> String
@@ -22738,7 +22746,7 @@ module Aws::SageMaker
22738
22746
  params: params,
22739
22747
  config: config)
22740
22748
  context[:gem_name] = 'aws-sdk-sagemaker'
22741
- context[:gem_version] = '1.163.0'
22749
+ context[:gem_version] = '1.164.0'
22742
22750
  Seahorse::Client::Request.new(handlers, context)
22743
22751
  end
22744
22752
 
@@ -1784,6 +1784,7 @@ module Aws::SageMaker
1784
1784
  TrainingEnvironmentKey = Shapes::StringShape.new(name: 'TrainingEnvironmentKey')
1785
1785
  TrainingEnvironmentMap = Shapes::MapShape.new(name: 'TrainingEnvironmentMap')
1786
1786
  TrainingEnvironmentValue = Shapes::StringShape.new(name: 'TrainingEnvironmentValue')
1787
+ TrainingImageConfig = Shapes::StructureShape.new(name: 'TrainingImageConfig')
1787
1788
  TrainingInputMode = Shapes::StringShape.new(name: 'TrainingInputMode')
1788
1789
  TrainingInstanceCount = Shapes::IntegerShape.new(name: 'TrainingInstanceCount')
1789
1790
  TrainingInstanceType = Shapes::StringShape.new(name: 'TrainingInstanceType')
@@ -1800,6 +1801,9 @@ module Aws::SageMaker
1800
1801
  TrainingJobStepMetadata = Shapes::StructureShape.new(name: 'TrainingJobStepMetadata')
1801
1802
  TrainingJobSummaries = Shapes::ListShape.new(name: 'TrainingJobSummaries')
1802
1803
  TrainingJobSummary = Shapes::StructureShape.new(name: 'TrainingJobSummary')
1804
+ TrainingRepositoryAccessMode = Shapes::StringShape.new(name: 'TrainingRepositoryAccessMode')
1805
+ TrainingRepositoryAuthConfig = Shapes::StructureShape.new(name: 'TrainingRepositoryAuthConfig')
1806
+ TrainingRepositoryCredentialsProviderArn = Shapes::StringShape.new(name: 'TrainingRepositoryCredentialsProviderArn')
1803
1807
  TrainingSpecification = Shapes::StructureShape.new(name: 'TrainingSpecification')
1804
1808
  TrainingTimeInSeconds = Shapes::IntegerShape.new(name: 'TrainingTimeInSeconds')
1805
1809
  TransformDataSource = Shapes::StructureShape.new(name: 'TransformDataSource')
@@ -2030,6 +2034,7 @@ module Aws::SageMaker
2030
2034
  AlgorithmSpecification.add_member(:enable_sage_maker_metrics_time_series, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableSageMakerMetricsTimeSeries"))
2031
2035
  AlgorithmSpecification.add_member(:container_entrypoint, Shapes::ShapeRef.new(shape: TrainingContainerEntrypoint, location_name: "ContainerEntrypoint"))
2032
2036
  AlgorithmSpecification.add_member(:container_arguments, Shapes::ShapeRef.new(shape: TrainingContainerArguments, location_name: "ContainerArguments"))
2037
+ AlgorithmSpecification.add_member(:training_image_config, Shapes::ShapeRef.new(shape: TrainingImageConfig, location_name: "TrainingImageConfig"))
2033
2038
  AlgorithmSpecification.struct_class = Types::AlgorithmSpecification
2034
2039
 
2035
2040
  AlgorithmStatusDetails.add_member(:validation_statuses, Shapes::ShapeRef.new(shape: AlgorithmStatusItemList, location_name: "ValidationStatuses"))
@@ -8030,6 +8035,10 @@ module Aws::SageMaker
8030
8035
  TrainingEnvironmentMap.key = Shapes::ShapeRef.new(shape: TrainingEnvironmentKey)
8031
8036
  TrainingEnvironmentMap.value = Shapes::ShapeRef.new(shape: TrainingEnvironmentValue)
8032
8037
 
8038
+ TrainingImageConfig.add_member(:training_repository_access_mode, Shapes::ShapeRef.new(shape: TrainingRepositoryAccessMode, required: true, location_name: "TrainingRepositoryAccessMode"))
8039
+ TrainingImageConfig.add_member(:training_repository_auth_config, Shapes::ShapeRef.new(shape: TrainingRepositoryAuthConfig, location_name: "TrainingRepositoryAuthConfig"))
8040
+ TrainingImageConfig.struct_class = Types::TrainingImageConfig
8041
+
8033
8042
  TrainingInstanceTypes.member = Shapes::ShapeRef.new(shape: TrainingInstanceType)
8034
8043
 
8035
8044
  TrainingJob.add_member(:training_job_name, Shapes::ShapeRef.new(shape: TrainingJobName, location_name: "TrainingJobName"))
@@ -8100,6 +8109,9 @@ module Aws::SageMaker
8100
8109
  TrainingJobSummary.add_member(:warm_pool_status, Shapes::ShapeRef.new(shape: WarmPoolStatus, location_name: "WarmPoolStatus"))
8101
8110
  TrainingJobSummary.struct_class = Types::TrainingJobSummary
8102
8111
 
8112
+ TrainingRepositoryAuthConfig.add_member(:training_repository_credentials_provider_arn, Shapes::ShapeRef.new(shape: TrainingRepositoryCredentialsProviderArn, required: true, location_name: "TrainingRepositoryCredentialsProviderArn"))
8113
+ TrainingRepositoryAuthConfig.struct_class = Types::TrainingRepositoryAuthConfig
8114
+
8103
8115
  TrainingSpecification.add_member(:training_image, Shapes::ShapeRef.new(shape: ContainerImage, required: true, location_name: "TrainingImage"))
8104
8116
  TrainingSpecification.add_member(:training_image_digest, Shapes::ShapeRef.new(shape: ImageDigest, location_name: "TrainingImageDigest"))
8105
8117
  TrainingSpecification.add_member(:supported_hyper_parameters, Shapes::ShapeRef.new(shape: HyperParameterSpecifications, location_name: "SupportedHyperParameters"))
@@ -33,13 +33,10 @@ module Aws::SageMaker
33
33
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
35
  if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
36
- return Aws::Endpoints::Endpoint.new(url: "https://api-fips.sagemaker.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
- end
38
- if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1-secondary")
39
- return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
36
+ return Aws::Endpoints::Endpoint.new(url: "https://api-fips.sagemaker.#{region}.amazonaws.com", headers: {}, properties: {})
40
37
  end
41
38
  if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
42
- return Aws::Endpoints::Endpoint.new(url: "https://api-fips.sagemaker.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
39
+ return Aws::Endpoints::Endpoint.new(url: "https://api-fips.sagemaker.#{region}.amazonaws.com", headers: {}, properties: {})
43
40
  end
44
41
  return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
45
42
  end
@@ -411,6 +411,11 @@ module Aws::SageMaker
411
411
  # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-training-algo-dockerfile.html
412
412
  # @return [Array<String>]
413
413
  #
414
+ # @!attribute [rw] training_image_config
415
+ # The configuration to use an image from a private Docker registry for
416
+ # a training job.
417
+ # @return [Types::TrainingImageConfig]
418
+ #
414
419
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AlgorithmSpecification AWS API Documentation
415
420
  #
416
421
  class AlgorithmSpecification < Struct.new(
@@ -420,7 +425,8 @@ module Aws::SageMaker
420
425
  :metric_definitions,
421
426
  :enable_sage_maker_metrics_time_series,
422
427
  :container_entrypoint,
423
- :container_arguments)
428
+ :container_arguments,
429
+ :training_image_config)
424
430
  SENSITIVE = []
425
431
  include Aws::Structure
426
432
  end
@@ -35172,6 +35178,29 @@ module Aws::SageMaker
35172
35178
  include Aws::Structure
35173
35179
  end
35174
35180
 
35181
+ # The configuration to use an image from a private Docker registry for a
35182
+ # training job.
35183
+ #
35184
+ # @!attribute [rw] training_repository_access_mode
35185
+ # The method that your training job will use to gain access to the
35186
+ # images in your private Docker registry. For access to an image in a
35187
+ # private Docker registry, set to `Vpc`.
35188
+ # @return [String]
35189
+ #
35190
+ # @!attribute [rw] training_repository_auth_config
35191
+ # An object containing authentication information for a private Docker
35192
+ # registry containing your training images.
35193
+ # @return [Types::TrainingRepositoryAuthConfig]
35194
+ #
35195
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrainingImageConfig AWS API Documentation
35196
+ #
35197
+ class TrainingImageConfig < Struct.new(
35198
+ :training_repository_access_mode,
35199
+ :training_repository_auth_config)
35200
+ SENSITIVE = []
35201
+ include Aws::Structure
35202
+ end
35203
+
35175
35204
  # Contains information about a training job.
35176
35205
  #
35177
35206
  # @!attribute [rw] training_job_name
@@ -35701,6 +35730,23 @@ module Aws::SageMaker
35701
35730
  include Aws::Structure
35702
35731
  end
35703
35732
 
35733
+ # An object containing authentication information for a private Docker
35734
+ # registry.
35735
+ #
35736
+ # @!attribute [rw] training_repository_credentials_provider_arn
35737
+ # The Amazon Resource Name (ARN) of an Amazon Web Services Lambda
35738
+ # function used to give SageMaker access credentials to your private
35739
+ # Docker registry.
35740
+ # @return [String]
35741
+ #
35742
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrainingRepositoryAuthConfig AWS API Documentation
35743
+ #
35744
+ class TrainingRepositoryAuthConfig < Struct.new(
35745
+ :training_repository_credentials_provider_arn)
35746
+ SENSITIVE = []
35747
+ include Aws::Structure
35748
+ end
35749
+
35704
35750
  # Defines how the algorithm is used for a training job.
35705
35751
  #
35706
35752
  # @!attribute [rw] training_image
@@ -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.163.0'
56
+ GEM_VERSION = '1.164.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.163.0
4
+ version: 1.164.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-01-25 00:00:00.000000000 Z
11
+ date: 2023-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core