aws-sdk-sagemaker 1.159.0 → 1.161.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: '0890d98eddadde040eac5ef7d4ed869dd3bb6461060f0859d47518379b660a1b'
4
- data.tar.gz: 16aeb1fc5318f4b9d0dea72a879d43b4189e592c55c405dddb801cf999cd241b
3
+ metadata.gz: 85135e4afe416328b32c72167b5ae7bed2367d2fe07c555b1ce03c44d4c95566
4
+ data.tar.gz: 04527a7f71d5c14b8adcdf15ac67728cc5ee18942e78d92920ec0e73357d36cb
5
5
  SHA512:
6
- metadata.gz: 75d8ae6495bdd8f4c52f7005715d31cc775da29ec8266a14eecff3347a025fb3e068707fca46c592a98d207efbc464a0e576c3001e612915d7cac4fc880de535
7
- data.tar.gz: 26511dfec195d859f21ad3a0d914c8c57f12ac8f85157460e7a3d0a7b31ca6b8332d63294e767ea1523e4b5f98f69fb745b707bd36036b48388ad874e36670fb
6
+ metadata.gz: c28378c92d0df7784a61cf57c311993882c9f5f493ab4acaa25ecaccfab923239b8a4bdce691c849edf2281ebdf53d7c309e0d50d34eccc51a6101535f1dcd7f
7
+ data.tar.gz: b337098450db70304f7fe03244d2d955657559d5f7192f797b192643b3a13423e60cf0ff2fdb43334e150d36745dd14afce6cfc970e598a77a2513a45de932ca
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.161.0 (2023-01-19)
5
+ ------------------
6
+
7
+ * Feature - HyperParameterTuningJobs now allow passing environment variables into the corresponding TrainingJobs
8
+
9
+ 1.160.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.159.0 (2022-12-21)
5
17
  ------------------
6
18
 
@@ -810,4 +822,4 @@ Unreleased Changes
810
822
  1.0.0 (2017-11-29)
811
823
  ------------------
812
824
 
813
- * Feature - Initial release of `aws-sdk-sagemaker`.
825
+ * Feature - Initial release of `aws-sdk-sagemaker`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.159.0
1
+ 1.161.0
@@ -3417,6 +3417,9 @@ module Aws::SageMaker
3417
3417
  # },
3418
3418
  # ],
3419
3419
  # },
3420
+ # environment: {
3421
+ # "HyperParameterTrainingJobEnvironmentKey" => "HyperParameterTrainingJobEnvironmentValue",
3422
+ # },
3420
3423
  # },
3421
3424
  # training_job_definitions: [
3422
3425
  # {
@@ -3541,6 +3544,9 @@ module Aws::SageMaker
3541
3544
  # },
3542
3545
  # ],
3543
3546
  # },
3547
+ # environment: {
3548
+ # "HyperParameterTrainingJobEnvironmentKey" => "HyperParameterTrainingJobEnvironmentValue",
3549
+ # },
3544
3550
  # },
3545
3551
  # ],
3546
3552
  # warm_start_config: {
@@ -11062,6 +11068,8 @@ module Aws::SageMaker
11062
11068
  # resp.training_job_definition.hyper_parameter_tuning_resource_config.instance_configs[0].instance_type #=> String, one of "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.p4d.24xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5n.xlarge", "ml.c5n.2xlarge", "ml.c5n.4xlarge", "ml.c5n.9xlarge", "ml.c5n.18xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge"
11063
11069
  # resp.training_job_definition.hyper_parameter_tuning_resource_config.instance_configs[0].instance_count #=> Integer
11064
11070
  # resp.training_job_definition.hyper_parameter_tuning_resource_config.instance_configs[0].volume_size_in_gb #=> Integer
11071
+ # resp.training_job_definition.environment #=> Hash
11072
+ # resp.training_job_definition.environment["HyperParameterTrainingJobEnvironmentKey"] #=> String
11065
11073
  # resp.training_job_definitions #=> Array
11066
11074
  # resp.training_job_definitions[0].definition_name #=> String
11067
11075
  # resp.training_job_definitions[0].tuning_objective.type #=> String, one of "Maximize", "Minimize"
@@ -11139,6 +11147,8 @@ module Aws::SageMaker
11139
11147
  # resp.training_job_definitions[0].hyper_parameter_tuning_resource_config.instance_configs[0].instance_type #=> String, one of "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.p4d.24xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5n.xlarge", "ml.c5n.2xlarge", "ml.c5n.4xlarge", "ml.c5n.9xlarge", "ml.c5n.18xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge"
11140
11148
  # resp.training_job_definitions[0].hyper_parameter_tuning_resource_config.instance_configs[0].instance_count #=> Integer
11141
11149
  # resp.training_job_definitions[0].hyper_parameter_tuning_resource_config.instance_configs[0].volume_size_in_gb #=> Integer
11150
+ # resp.training_job_definitions[0].environment #=> Hash
11151
+ # resp.training_job_definitions[0].environment["HyperParameterTrainingJobEnvironmentKey"] #=> String
11142
11152
  # resp.hyper_parameter_tuning_job_status #=> String, one of "Completed", "InProgress", "Failed", "Stopped", "Stopping"
11143
11153
  # resp.creation_time #=> Time
11144
11154
  # resp.hyper_parameter_tuning_end_time #=> Time
@@ -20916,7 +20926,8 @@ module Aws::SageMaker
20916
20926
  # `true`, `ExcludeRetainedVariantProperties` specifies the list of type
20917
20927
  # VariantProperty to override with the values provided by
20918
20928
  # `EndpointConfig`. If you don't specify a value for
20919
- # `ExcludeAllVariantProperties`, no variant properties are overridden.
20929
+ # `ExcludeRetainedVariantProperties`, no variant properties are
20930
+ # overridden.
20920
20931
  #
20921
20932
  # @option params [Types::DeploymentConfig] :deployment_config
20922
20933
  # The deployment configuration for an endpoint, which contains the
@@ -22716,7 +22727,7 @@ module Aws::SageMaker
22716
22727
  params: params,
22717
22728
  config: config)
22718
22729
  context[:gem_name] = 'aws-sdk-sagemaker'
22719
- context[:gem_version] = '1.159.0'
22730
+ context[:gem_version] = '1.161.0'
22720
22731
  Seahorse::Client::Request.new(handlers, context)
22721
22732
  end
22722
22733
 
@@ -838,6 +838,9 @@ module Aws::SageMaker
838
838
  HyperParameterTrainingJobDefinition = Shapes::StructureShape.new(name: 'HyperParameterTrainingJobDefinition')
839
839
  HyperParameterTrainingJobDefinitionName = Shapes::StringShape.new(name: 'HyperParameterTrainingJobDefinitionName')
840
840
  HyperParameterTrainingJobDefinitions = Shapes::ListShape.new(name: 'HyperParameterTrainingJobDefinitions')
841
+ HyperParameterTrainingJobEnvironmentKey = Shapes::StringShape.new(name: 'HyperParameterTrainingJobEnvironmentKey')
842
+ HyperParameterTrainingJobEnvironmentMap = Shapes::MapShape.new(name: 'HyperParameterTrainingJobEnvironmentMap')
843
+ HyperParameterTrainingJobEnvironmentValue = Shapes::StringShape.new(name: 'HyperParameterTrainingJobEnvironmentValue')
841
844
  HyperParameterTrainingJobSummaries = Shapes::ListShape.new(name: 'HyperParameterTrainingJobSummaries')
842
845
  HyperParameterTrainingJobSummary = Shapes::StructureShape.new(name: 'HyperParameterTrainingJobSummary')
843
846
  HyperParameterTuningAllocationStrategy = Shapes::StringShape.new(name: 'HyperParameterTuningAllocationStrategy')
@@ -5109,10 +5112,14 @@ module Aws::SageMaker
5109
5112
  HyperParameterTrainingJobDefinition.add_member(:checkpoint_config, Shapes::ShapeRef.new(shape: CheckpointConfig, location_name: "CheckpointConfig"))
5110
5113
  HyperParameterTrainingJobDefinition.add_member(:retry_strategy, Shapes::ShapeRef.new(shape: RetryStrategy, location_name: "RetryStrategy"))
5111
5114
  HyperParameterTrainingJobDefinition.add_member(:hyper_parameter_tuning_resource_config, Shapes::ShapeRef.new(shape: HyperParameterTuningResourceConfig, location_name: "HyperParameterTuningResourceConfig"))
5115
+ HyperParameterTrainingJobDefinition.add_member(:environment, Shapes::ShapeRef.new(shape: HyperParameterTrainingJobEnvironmentMap, location_name: "Environment"))
5112
5116
  HyperParameterTrainingJobDefinition.struct_class = Types::HyperParameterTrainingJobDefinition
5113
5117
 
5114
5118
  HyperParameterTrainingJobDefinitions.member = Shapes::ShapeRef.new(shape: HyperParameterTrainingJobDefinition)
5115
5119
 
5120
+ HyperParameterTrainingJobEnvironmentMap.key = Shapes::ShapeRef.new(shape: HyperParameterTrainingJobEnvironmentKey)
5121
+ HyperParameterTrainingJobEnvironmentMap.value = Shapes::ShapeRef.new(shape: HyperParameterTrainingJobEnvironmentValue)
5122
+
5116
5123
  HyperParameterTrainingJobSummaries.member = Shapes::ShapeRef.new(shape: HyperParameterTrainingJobSummary)
5117
5124
 
5118
5125
  HyperParameterTrainingJobSummary.add_member(:training_job_definition_name, Shapes::ShapeRef.new(shape: HyperParameterTrainingJobDefinitionName, location_name: "TrainingJobDefinitionName"))
@@ -9,118 +9,52 @@
9
9
 
10
10
  module Aws::SageMaker
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
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: {})
40
+ end
41
+ 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: {})
43
+ end
44
+ return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
45
+ end
46
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
47
+ end
48
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
49
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
50
+ return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
51
+ end
52
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
53
+ end
54
+ return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
55
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
56
+ raise ArgumentError, 'No endpoint could be resolved'
24
57
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
58
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
- YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
- ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
35
- aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
36
- ZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRhdGlvbiI6IldoZW4gdHJ1ZSwgdXNl
37
- IHRoZSBkdWFsLXN0YWNrIGVuZHBvaW50LiBJZiB0aGUgY29uZmlndXJlZCBl
38
- bmRwb2ludCBkb2VzIG5vdCBzdXBwb3J0IGR1YWwtc3RhY2ssIGRpc3BhdGNo
39
- aW5nIHRoZSByZXF1ZXN0IE1BWSByZXR1cm4gYW4gZXJyb3IuIiwidHlwZSI6
40
- IkJvb2xlYW4ifSwiVXNlRklQUyI6eyJidWlsdEluIjoiQVdTOjpVc2VGSVBT
41
- IiwicmVxdWlyZWQiOnRydWUsImRlZmF1bHQiOmZhbHNlLCJkb2N1bWVudGF0
42
- aW9uIjoiV2hlbiB0cnVlLCBzZW5kIHRoaXMgcmVxdWVzdCB0byB0aGUgRklQ
43
- Uy1jb21wbGlhbnQgcmVnaW9uYWwgZW5kcG9pbnQuIElmIHRoZSBjb25maWd1
44
- cmVkIGVuZHBvaW50IGRvZXMgbm90IGhhdmUgYSBGSVBTIGNvbXB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FrZXIudXMt
95
- Z292LXdlc3QtMS5hbWF6b25hd3MuY29tIiwicHJvcGVydGllcyI6e30sImhl
96
- YWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In0seyJjb25kaXRpb25zIjpb
97
- eyJmbiI6InN0cmluZ0VxdWFscyIsImFyZ3YiOlsiYXdzLXVzLWdvdiIseyJm
98
- biI6ImdldEF0dHIiLCJhcmd2IjpbeyJyZWYiOiJQYXJ0aXRpb25SZXN1bHQi
99
- fSwibmFtZSJdfV19XSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9hcGkt
100
- Zmlwcy5zYWdlbWFrZXIue1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNT
101
- dWZmaXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6
102
- ImVuZHBvaW50In0seyJjb25kaXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJs
103
- IjoiaHR0cHM6Ly9hcGkuc2FnZW1ha2VyLWZpcHMue1JlZ2lvbn0ue1BhcnRp
104
- dGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhlYWRl
105
- cnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19LHsiY29uZGl0aW9ucyI6
106
- W10sImVycm9yIjoiRklQUyBpcyBlbmFibGVkIGJ1dCB0aGlzIHBhcnRpdGlv
107
- biBkb2VzIG5vdCBzdXBwb3J0IEZJUFMiLCJ0eXBlIjoiZXJyb3IifV19LHsi
108
- Y29uZGl0aW9ucyI6W3siZm4iOiJib29sZWFuRXF1YWxzIiwiYXJndiI6W3si
109
- cmVmIjoiVXNlRHVhbFN0YWNrIn0sdHJ1ZV19XSwidHlwZSI6InRyZWUiLCJy
110
- dWxlcyI6W3siY29uZGl0aW9ucyI6W3siZm4iOiJib29sZWFuRXF1YWxzIiwi
111
- YXJndiI6W3RydWUseyJmbiI6ImdldEF0dHIiLCJhcmd2IjpbeyJyZWYiOiJQ
112
- YXJ0aXRpb25SZXN1bHQifSwic3VwcG9ydHNEdWFsU3RhY2siXX1dfV0sInR5
113
- cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2lu
114
- dCI6eyJ1cmwiOiJodHRwczovL2FwaS5zYWdlbWFrZXIue1JlZ2lvbn0ue1Bh
115
- cnRpdGlvblJlc3VsdCNkdWFsU3RhY2tEbnNTdWZmaXh9IiwicHJvcGVydGll
116
- cyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfSx7ImNv
117
- bmRpdGlvbnMiOltdLCJlcnJvciI6IkR1YWxTdGFjayBpcyBlbmFibGVkIGJ1
118
- dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBwb3J0IER1YWxTdGFjayIs
119
- InR5cGUiOiJlcnJvciJ9XX0seyJjb25kaXRpb25zIjpbXSwiZW5kcG9pbnQi
120
- OnsidXJsIjoiaHR0cHM6Ly9hcGkuc2FnZW1ha2VyLntSZWdpb259LntQYXJ0
121
- aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFk
122
- ZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
123
-
124
- JSON
125
59
  end
126
60
  end
@@ -18953,6 +18953,28 @@ module Aws::SageMaker
18953
18953
  # additionally store training data in the storage volume (optional).
18954
18954
  # @return [Types::HyperParameterTuningResourceConfig]
18955
18955
  #
18956
+ # @!attribute [rw] environment
18957
+ # An environment variable that you can pass into the SageMaker
18958
+ # [CreateTrainingJob][1] API. You can use an existing [environment
18959
+ # variable from the training container][2] or use your own. See
18960
+ # [Define metrics and variables][3] for more information.
18961
+ #
18962
+ # <note markdown="1"> The maximum number of items specified for `Map Entries` refers to
18963
+ # the maximum number of environment variables for each
18964
+ # `TrainingJobDefinition` and also the maximum for the hyperparameter
18965
+ # tuning job itself. That is, the sum of the number of environment
18966
+ # variables for all the training job definitions can't exceed the
18967
+ # maximum number specified.
18968
+ #
18969
+ # </note>
18970
+ #
18971
+ #
18972
+ #
18973
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingJob.html
18974
+ # [2]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingJob.html#sagemaker-CreateTrainingJob-request-Environment
18975
+ # [3]: https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-metrics.html
18976
+ # @return [Hash<String,String>]
18977
+ #
18956
18978
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/HyperParameterTrainingJobDefinition AWS API Documentation
18957
18979
  #
18958
18980
  class HyperParameterTrainingJobDefinition < Struct.new(
@@ -18972,7 +18994,8 @@ module Aws::SageMaker
18972
18994
  :enable_managed_spot_training,
18973
18995
  :checkpoint_config,
18974
18996
  :retry_strategy,
18975
- :hyper_parameter_tuning_resource_config)
18997
+ :hyper_parameter_tuning_resource_config,
18998
+ :environment)
18976
18999
  SENSITIVE = []
18977
19000
  include Aws::Structure
18978
19001
  end
@@ -19096,7 +19119,7 @@ module Aws::SageMaker
19096
19119
  # The number of instances of the type specified by `InstanceType`.
19097
19120
  # Choose an instance count larger than 1 for distributed training
19098
19121
  # algorithms. See [SageMaker distributed training jobs][1] for more
19099
- # informcration.
19122
+ # information.
19100
19123
  #
19101
19124
  #
19102
19125
  #
@@ -37330,7 +37353,8 @@ module Aws::SageMaker
37330
37353
  # to `true`, `ExcludeRetainedVariantProperties` specifies the list of
37331
37354
  # type VariantProperty to override with the values provided by
37332
37355
  # `EndpointConfig`. If you don't specify a value for
37333
- # `ExcludeAllVariantProperties`, no variant properties are overridden.
37356
+ # `ExcludeRetainedVariantProperties`, no variant properties are
37357
+ # overridden.
37334
37358
  # @return [Array<Types::VariantProperty>]
37335
37359
  #
37336
37360
  # @!attribute [rw] deployment_config
@@ -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.159.0'
56
+ GEM_VERSION = '1.161.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.159.0
4
+ version: 1.161.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-12-21 00:00:00.000000000 Z
11
+ date: 2023-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core