aws-sdk-sagemaker 1.134.0 → 1.135.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: f89e4ea8f9378e14dc002a7b2a51d7aeddfe818355308cfb52b5d7a9d53d621a
4
- data.tar.gz: d087c696fff9c70d62b5c12afb3f1720fe17e341f2f8d36d7785428b2dfd4a01
3
+ metadata.gz: 4136b6c97919698248dfa7e3ed4938c8ad7600c176ba44667b7aedb7a9abfc15
4
+ data.tar.gz: 8bc48c09c1ecf72ef7659002832b4af27c83316972a01455501e63777d81b3a0
5
5
  SHA512:
6
- metadata.gz: 1907804d9566081d42051892ecf708da306bd9e2215603b371b645fea2834c1224871c162a5fea329505da2f9fbdb2ced2717246e30303b7960c3f99471f798e
7
- data.tar.gz: 51ae3877e58dc71f248cccc111466639a161d4e1ba3c7540490d08f9041d161e2199567f96d5469d803479e4395b067670f7cb52a94d251e95eb6824ef6782d8
6
+ metadata.gz: ceac54d93fd676c53610dcef619bb31eb73b73bf7bfe65a216acc331bd3c65d2def6756aa136d2c3a66de6f34ed034fb4cd70e862759d61ed960076ef7383920
7
+ data.tar.gz: e598b17e7af68372dd4ad8be82915b78710374eba9e658c97b212c991f13f503321e081c02616ec56a74a18949c9e6f0d7a3dcf3f1c020a2908e5371128d513a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.135.0 (2022-08-31)
5
+ ------------------
6
+
7
+ * Feature - SageMaker Inference Recommender now accepts Inference Recommender fields: Domain, Task, Framework, SamplePayloadUrl, SupportedContentTypes, SupportedInstanceTypes, directly in our CreateInferenceRecommendationsJob API through ContainerConfig
8
+
4
9
  1.134.0 (2022-08-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.134.0
1
+ 1.135.0
@@ -3515,6 +3515,18 @@ module Aws::SageMaker
3515
3515
  # },
3516
3516
  # ],
3517
3517
  # volume_kms_key_id: "KmsKeyId",
3518
+ # container_config: {
3519
+ # domain: "String",
3520
+ # task: "String",
3521
+ # framework: "String",
3522
+ # framework_version: "String",
3523
+ # payload_config: {
3524
+ # sample_payload_url: "String",
3525
+ # supported_content_types: ["String"],
3526
+ # },
3527
+ # nearest_model_name: "String",
3528
+ # supported_instance_types: ["String"],
3529
+ # },
3518
3530
  # },
3519
3531
  # job_description: "RecommendationJobDescription",
3520
3532
  # stopping_conditions: {
@@ -5376,7 +5388,7 @@ module Aws::SageMaker
5376
5388
  # This operation can only be called when the authentication mode equals
5377
5389
  # IAM.
5378
5390
  #
5379
- # The IAM role or user used to call this API defines the permissions to
5391
+ # The IAM role or user passed to this API defines the permissions to
5380
5392
  # access the app. Once the presigned URL is created, no additional
5381
5393
  # permission is required to access this URL. IAM authorization policies
5382
5394
  # for this API are also enforced for every HTTP request and WebSocket
@@ -6631,10 +6643,11 @@ module Aws::SageMaker
6631
6643
  # a domain, and is the main way to reference a "person" for the
6632
6644
  # purposes of sharing, reporting, and other user-oriented features. This
6633
6645
  # entity is created when a user onboards to Amazon SageMaker Studio. If
6634
- # an administrator invites a person by email or imports them from SSO, a
6635
- # user profile is automatically created. A user profile is the primary
6636
- # holder of settings for an individual user and has a reference to the
6637
- # user's private Amazon Elastic File System (EFS) home directory.
6646
+ # an administrator invites a person by email or imports them from Amazon
6647
+ # Web Services SSO, a user profile is automatically created. A user
6648
+ # profile is the primary holder of settings for an individual user and
6649
+ # has a reference to the user's private Amazon Elastic File System
6650
+ # (EFS) home directory.
6638
6651
  #
6639
6652
  # @option params [required, String] :domain_id
6640
6653
  # The ID of the associated Domain.
@@ -6645,14 +6658,16 @@ module Aws::SageMaker
6645
6658
  # @option params [String] :single_sign_on_user_identifier
6646
6659
  # A specifier for the type of value specified in SingleSignOnUserValue.
6647
6660
  # Currently, the only supported value is "UserName". If the Domain's
6648
- # AuthMode is SSO, this field is required. If the Domain's AuthMode is
6649
- # not SSO, this field cannot be specified.
6661
+ # AuthMode is Amazon Web Services SSO, this field is required. If the
6662
+ # Domain's AuthMode is not Amazon Web Services SSO, this field cannot
6663
+ # be specified.
6650
6664
  #
6651
6665
  # @option params [String] :single_sign_on_user_value
6652
6666
  # The username of the associated Amazon Web Services Single Sign-On User
6653
- # for this UserProfile. If the Domain's AuthMode is SSO, this field is
6654
- # required, and must match a valid username of a user in your directory.
6655
- # If the Domain's AuthMode is not SSO, this field cannot be specified.
6667
+ # for this UserProfile. If the Domain's AuthMode is Amazon Web Services
6668
+ # SSO, this field is required, and must match a valid username of a user
6669
+ # in your directory. If the Domain's AuthMode is not Amazon Web
6670
+ # Services SSO, this field cannot be specified.
6656
6671
  #
6657
6672
  # @option params [Array<Types::Tag>] :tags
6658
6673
  # Each tag consists of a key and an optional value. Tag keys must be
@@ -7251,9 +7266,9 @@ module Aws::SageMaker
7251
7266
  end
7252
7267
 
7253
7268
  # Used to delete a domain. If you onboarded with IAM mode, you will need
7254
- # to delete your domain to onboard again using SSO. Use with caution.
7255
- # All of the members of the domain will lose access to their EFS volume,
7256
- # including data, notebooks, and other artifacts.
7269
+ # to delete your domain to onboard again using Amazon Web Services SSO.
7270
+ # Use with caution. All of the members of the domain will lose access to
7271
+ # their EFS volume, including data, notebooks, and other artifacts.
7257
7272
  #
7258
7273
  # @option params [required, String] :domain_id
7259
7274
  # The domain ID.
@@ -10077,6 +10092,16 @@ module Aws::SageMaker
10077
10092
  # resp.input_config.endpoint_configurations[0].environment_parameter_ranges.categorical_parameter_ranges[0].value #=> Array
10078
10093
  # resp.input_config.endpoint_configurations[0].environment_parameter_ranges.categorical_parameter_ranges[0].value[0] #=> String
10079
10094
  # resp.input_config.volume_kms_key_id #=> String
10095
+ # resp.input_config.container_config.domain #=> String
10096
+ # resp.input_config.container_config.task #=> String
10097
+ # resp.input_config.container_config.framework #=> String
10098
+ # resp.input_config.container_config.framework_version #=> String
10099
+ # resp.input_config.container_config.payload_config.sample_payload_url #=> String
10100
+ # resp.input_config.container_config.payload_config.supported_content_types #=> Array
10101
+ # resp.input_config.container_config.payload_config.supported_content_types[0] #=> String
10102
+ # resp.input_config.container_config.nearest_model_name #=> String
10103
+ # resp.input_config.container_config.supported_instance_types #=> Array
10104
+ # resp.input_config.container_config.supported_instance_types[0] #=> String
10080
10105
  # resp.stopping_conditions.max_invocations #=> Integer
10081
10106
  # resp.stopping_conditions.model_latency_thresholds #=> Array
10082
10107
  # resp.stopping_conditions.model_latency_thresholds[0].percentile #=> String
@@ -20325,7 +20350,7 @@ module Aws::SageMaker
20325
20350
  params: params,
20326
20351
  config: config)
20327
20352
  context[:gem_name] = 'aws-sdk-sagemaker'
20328
- context[:gem_version] = '1.134.0'
20353
+ context[:gem_version] = '1.135.0'
20329
20354
  Seahorse::Client::Request.new(handlers, context)
20330
20355
  end
20331
20356
 
@@ -1330,13 +1330,17 @@ module Aws::SageMaker
1330
1330
  RealtimeInferenceInstanceTypes = Shapes::ListShape.new(name: 'RealtimeInferenceInstanceTypes')
1331
1331
  RecommendationJobArn = Shapes::StringShape.new(name: 'RecommendationJobArn')
1332
1332
  RecommendationJobCompiledOutputConfig = Shapes::StructureShape.new(name: 'RecommendationJobCompiledOutputConfig')
1333
+ RecommendationJobContainerConfig = Shapes::StructureShape.new(name: 'RecommendationJobContainerConfig')
1333
1334
  RecommendationJobDescription = Shapes::StringShape.new(name: 'RecommendationJobDescription')
1334
1335
  RecommendationJobInputConfig = Shapes::StructureShape.new(name: 'RecommendationJobInputConfig')
1335
1336
  RecommendationJobName = Shapes::StringShape.new(name: 'RecommendationJobName')
1336
1337
  RecommendationJobOutputConfig = Shapes::StructureShape.new(name: 'RecommendationJobOutputConfig')
1338
+ RecommendationJobPayloadConfig = Shapes::StructureShape.new(name: 'RecommendationJobPayloadConfig')
1337
1339
  RecommendationJobResourceLimit = Shapes::StructureShape.new(name: 'RecommendationJobResourceLimit')
1338
1340
  RecommendationJobStatus = Shapes::StringShape.new(name: 'RecommendationJobStatus')
1339
1341
  RecommendationJobStoppingConditions = Shapes::StructureShape.new(name: 'RecommendationJobStoppingConditions')
1342
+ RecommendationJobSupportedContentTypes = Shapes::ListShape.new(name: 'RecommendationJobSupportedContentTypes')
1343
+ RecommendationJobSupportedInstanceTypes = Shapes::ListShape.new(name: 'RecommendationJobSupportedInstanceTypes')
1340
1344
  RecommendationJobType = Shapes::StringShape.new(name: 'RecommendationJobType')
1341
1345
  RecommendationMetrics = Shapes::StructureShape.new(name: 'RecommendationMetrics')
1342
1346
  RecordWrapper = Shapes::StringShape.new(name: 'RecordWrapper')
@@ -6503,18 +6507,32 @@ module Aws::SageMaker
6503
6507
  RecommendationJobCompiledOutputConfig.add_member(:s3_output_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "S3OutputUri"))
6504
6508
  RecommendationJobCompiledOutputConfig.struct_class = Types::RecommendationJobCompiledOutputConfig
6505
6509
 
6510
+ RecommendationJobContainerConfig.add_member(:domain, Shapes::ShapeRef.new(shape: String, location_name: "Domain"))
6511
+ RecommendationJobContainerConfig.add_member(:task, Shapes::ShapeRef.new(shape: String, location_name: "Task"))
6512
+ RecommendationJobContainerConfig.add_member(:framework, Shapes::ShapeRef.new(shape: String, location_name: "Framework"))
6513
+ RecommendationJobContainerConfig.add_member(:framework_version, Shapes::ShapeRef.new(shape: String, location_name: "FrameworkVersion"))
6514
+ RecommendationJobContainerConfig.add_member(:payload_config, Shapes::ShapeRef.new(shape: RecommendationJobPayloadConfig, location_name: "PayloadConfig"))
6515
+ RecommendationJobContainerConfig.add_member(:nearest_model_name, Shapes::ShapeRef.new(shape: String, location_name: "NearestModelName"))
6516
+ RecommendationJobContainerConfig.add_member(:supported_instance_types, Shapes::ShapeRef.new(shape: RecommendationJobSupportedInstanceTypes, location_name: "SupportedInstanceTypes"))
6517
+ RecommendationJobContainerConfig.struct_class = Types::RecommendationJobContainerConfig
6518
+
6506
6519
  RecommendationJobInputConfig.add_member(:model_package_version_arn, Shapes::ShapeRef.new(shape: ModelPackageArn, required: true, location_name: "ModelPackageVersionArn"))
6507
6520
  RecommendationJobInputConfig.add_member(:job_duration_in_seconds, Shapes::ShapeRef.new(shape: JobDurationInSeconds, location_name: "JobDurationInSeconds"))
6508
6521
  RecommendationJobInputConfig.add_member(:traffic_pattern, Shapes::ShapeRef.new(shape: TrafficPattern, location_name: "TrafficPattern"))
6509
6522
  RecommendationJobInputConfig.add_member(:resource_limit, Shapes::ShapeRef.new(shape: RecommendationJobResourceLimit, location_name: "ResourceLimit"))
6510
6523
  RecommendationJobInputConfig.add_member(:endpoint_configurations, Shapes::ShapeRef.new(shape: EndpointInputConfigurations, location_name: "EndpointConfigurations"))
6511
6524
  RecommendationJobInputConfig.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
6525
+ RecommendationJobInputConfig.add_member(:container_config, Shapes::ShapeRef.new(shape: RecommendationJobContainerConfig, location_name: "ContainerConfig"))
6512
6526
  RecommendationJobInputConfig.struct_class = Types::RecommendationJobInputConfig
6513
6527
 
6514
6528
  RecommendationJobOutputConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
6515
6529
  RecommendationJobOutputConfig.add_member(:compiled_output_config, Shapes::ShapeRef.new(shape: RecommendationJobCompiledOutputConfig, location_name: "CompiledOutputConfig"))
6516
6530
  RecommendationJobOutputConfig.struct_class = Types::RecommendationJobOutputConfig
6517
6531
 
6532
+ RecommendationJobPayloadConfig.add_member(:sample_payload_url, Shapes::ShapeRef.new(shape: String, location_name: "SamplePayloadUrl"))
6533
+ RecommendationJobPayloadConfig.add_member(:supported_content_types, Shapes::ShapeRef.new(shape: RecommendationJobSupportedContentTypes, location_name: "SupportedContentTypes"))
6534
+ RecommendationJobPayloadConfig.struct_class = Types::RecommendationJobPayloadConfig
6535
+
6518
6536
  RecommendationJobResourceLimit.add_member(:max_number_of_tests, Shapes::ShapeRef.new(shape: MaxNumberOfTests, location_name: "MaxNumberOfTests"))
6519
6537
  RecommendationJobResourceLimit.add_member(:max_parallel_of_tests, Shapes::ShapeRef.new(shape: MaxParallelOfTests, location_name: "MaxParallelOfTests"))
6520
6538
  RecommendationJobResourceLimit.struct_class = Types::RecommendationJobResourceLimit
@@ -6523,6 +6541,10 @@ module Aws::SageMaker
6523
6541
  RecommendationJobStoppingConditions.add_member(:model_latency_thresholds, Shapes::ShapeRef.new(shape: ModelLatencyThresholds, location_name: "ModelLatencyThresholds"))
6524
6542
  RecommendationJobStoppingConditions.struct_class = Types::RecommendationJobStoppingConditions
6525
6543
 
6544
+ RecommendationJobSupportedContentTypes.member = Shapes::ShapeRef.new(shape: String)
6545
+
6546
+ RecommendationJobSupportedInstanceTypes.member = Shapes::ShapeRef.new(shape: String)
6547
+
6526
6548
  RecommendationMetrics.add_member(:cost_per_hour, Shapes::ShapeRef.new(shape: Float, required: true, location_name: "CostPerHour"))
6527
6549
  RecommendationMetrics.add_member(:cost_per_inference, Shapes::ShapeRef.new(shape: Float, required: true, location_name: "CostPerInference"))
6528
6550
  RecommendationMetrics.add_member(:max_invocations, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "MaxInvocations"))
@@ -2287,9 +2287,9 @@ module Aws::SageMaker
2287
2287
  # @return [Integer]
2288
2288
  #
2289
2289
  # @!attribute [rw] max_runtime_per_training_job_in_seconds
2290
- # The maximum time, in seconds, that each training job is allowed to
2291
- # run as part of a hyperparameter tuning job. For more information,
2292
- # see the used by the action.
2290
+ # The maximum time, in seconds, that each training job executed inside
2291
+ # hyperparameter tuning is allowed to run as part of a hyperparameter
2292
+ # tuning job. For more information, see the used by the action.
2293
2293
  # @return [Integer]
2294
2294
  #
2295
2295
  # @!attribute [rw] max_auto_ml_job_runtime_in_seconds
@@ -6807,6 +6807,18 @@ module Aws::SageMaker
6807
6807
  # },
6808
6808
  # ],
6809
6809
  # volume_kms_key_id: "KmsKeyId",
6810
+ # container_config: {
6811
+ # domain: "String",
6812
+ # task: "String",
6813
+ # framework: "String",
6814
+ # framework_version: "String",
6815
+ # payload_config: {
6816
+ # sample_payload_url: "String",
6817
+ # supported_content_types: ["String"],
6818
+ # },
6819
+ # nearest_model_name: "String",
6820
+ # supported_instance_types: ["String"],
6821
+ # },
6810
6822
  # },
6811
6823
  # job_description: "RecommendationJobDescription",
6812
6824
  # stopping_conditions: {
@@ -10112,17 +10124,17 @@ module Aws::SageMaker
10112
10124
  # @!attribute [rw] single_sign_on_user_identifier
10113
10125
  # A specifier for the type of value specified in
10114
10126
  # SingleSignOnUserValue. Currently, the only supported value is
10115
- # "UserName". If the Domain's AuthMode is SSO, this field is
10116
- # required. If the Domain's AuthMode is not SSO, this field cannot be
10117
- # specified.
10127
+ # "UserName". If the Domain's AuthMode is Amazon Web Services SSO,
10128
+ # this field is required. If the Domain's AuthMode is not Amazon Web
10129
+ # Services SSO, this field cannot be specified.
10118
10130
  # @return [String]
10119
10131
  #
10120
10132
  # @!attribute [rw] single_sign_on_user_value
10121
10133
  # The username of the associated Amazon Web Services Single Sign-On
10122
- # User for this UserProfile. If the Domain's AuthMode is SSO, this
10123
- # field is required, and must match a valid username of a user in your
10124
- # directory. If the Domain's AuthMode is not SSO, this field cannot
10125
- # be specified.
10134
+ # User for this UserProfile. If the Domain's AuthMode is Amazon Web
10135
+ # Services SSO, this field is required, and must match a valid
10136
+ # username of a user in your directory. If the Domain's AuthMode is
10137
+ # not Amazon Web Services SSO, this field cannot be specified.
10126
10138
  # @return [String]
10127
10139
  #
10128
10140
  # @!attribute [rw] tags
@@ -13371,7 +13383,7 @@ module Aws::SageMaker
13371
13383
  # @return [String]
13372
13384
  #
13373
13385
  # @!attribute [rw] single_sign_on_managed_application_instance_id
13374
- # The SSO managed application instance ID.
13386
+ # The Amazon Web Services SSO managed application instance ID.
13375
13387
  # @return [String]
13376
13388
  #
13377
13389
  # @!attribute [rw] status
@@ -17173,11 +17185,11 @@ module Aws::SageMaker
17173
17185
  # @return [String]
17174
17186
  #
17175
17187
  # @!attribute [rw] single_sign_on_user_identifier
17176
- # The SSO user identifier.
17188
+ # The Amazon Web Services SSO user identifier.
17177
17189
  # @return [String]
17178
17190
  #
17179
17191
  # @!attribute [rw] single_sign_on_user_value
17180
- # The SSO user value.
17192
+ # The Amazon Web Services SSO user value.
17181
17193
  # @return [String]
17182
17194
  #
17183
17195
  # @!attribute [rw] user_settings
@@ -21586,7 +21598,7 @@ module Aws::SageMaker
21586
21598
  # the compute instances and storage volumes, used for training jobs
21587
21599
  # launched by the tuning job. By default, storage volumes hold model
21588
21600
  # artifacts and incremental states. Choose `File` for
21589
- # `TrainingInputMode` in the `AlgorithmSpecification`parameter to
21601
+ # `TrainingInputMode` in the `AlgorithmSpecification` parameter to
21590
21602
  # additionally store training data in the storage volume (optional).
21591
21603
  # @return [Types::HyperParameterTuningResourceConfig]
21592
21604
  #
@@ -22062,8 +22074,8 @@ module Aws::SageMaker
22062
22074
  # tuning jobs. Specify one or more instance type and count and the
22063
22075
  # allocation strategy for instance selection.
22064
22076
  #
22065
- # <note markdown="1"> HyperParameterTuningResourceConfig supports all of the capabilities of
22066
- # ResourceConfig with added functionality for flexible instance
22077
+ # <note markdown="1"> `HyperParameterTuningResourceConfig` supports all of the capabilities
22078
+ # of ResourceConfig with added functionality for flexible instance
22067
22079
  # management.
22068
22080
  #
22069
22081
  # </note>
@@ -22124,21 +22136,21 @@ module Aws::SageMaker
22124
22136
  #
22125
22137
  #
22126
22138
  #
22127
- # [1]: https://aws.amazon.com/releasenotes/host-instance-storage-volumes-table/
22139
+ # [1]: http://aws.amazon.com/releasenotes/host-instance-storage-volumes-table/
22128
22140
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html
22129
22141
  # @return [Integer]
22130
22142
  #
22131
22143
  # @!attribute [rw] volume_kms_key_id
22132
- # A key used by AWS Key Management Service to encrypt data on the
22133
- # storage volume attached to the compute instances used to run the
22134
- # training job. You can use either of the following formats to specify
22135
- # a key.
22144
+ # A key used by Amazon Web Services Key Management Service to encrypt
22145
+ # data on the storage volume attached to the compute instances used to
22146
+ # run the training job. You can use either of the following formats to
22147
+ # specify a key.
22136
22148
  #
22137
22149
  # KMS Key ID:
22138
22150
  #
22139
22151
  # `"1234abcd-12ab-34cd-56ef-1234567890ab"`
22140
22152
  #
22141
- # Amazon Resource Name (ARN) of a AWS KMS key:
22153
+ # Amazon Resource Name (ARN) of a KMS key:
22142
22154
  #
22143
22155
  # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
22144
22156
  #
@@ -22146,13 +22158,13 @@ module Aws::SageMaker
22146
22158
  # encrypt][1] storage volumes. If you choose one of these instance
22147
22159
  # types, you cannot request a `VolumeKmsKeyId`. For a list of instance
22148
22160
  # types that use local storage, see [instance store volumes][2]. For
22149
- # more information about AWS Key Management Service, see [AWS KMS
22150
- # encryption][3] for more information.
22161
+ # more information about Amazon Web Services Key Management Service,
22162
+ # see [KMS encryption][3] for more information.
22151
22163
  #
22152
22164
  #
22153
22165
  #
22154
22166
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html
22155
- # [2]: https://aws.amazon.com/releasenotes/host-instance-storage-volumes-table/
22167
+ # [2]: http://aws.amazon.com/releasenotes/host-instance-storage-volumes-table/
22156
22168
  # [3]: https://docs.aws.amazon.com/sagemaker/latest/dg/sms-security-kms-permissions.html
22157
22169
  # @return [String]
22158
22170
  #
@@ -22169,7 +22181,7 @@ module Aws::SageMaker
22169
22181
  # order in which multiple configurations provided in `InstanceConfigs`
22170
22182
  # are used.
22171
22183
  #
22172
- # <note markdown="1"> If you only want to use a single InstanceConfig inside the
22184
+ # <note markdown="1"> If you only want to use a single instance configuration inside the
22173
22185
  # `HyperParameterTuningResourceConfig` API, do not provide a value for
22174
22186
  # `InstanceConfigs`. Instead, use `InstanceType`, `VolumeSizeInGB` and
22175
22187
  # `InstanceCount`. If you use `InstanceConfigs`, do not provide values
@@ -35255,6 +35267,94 @@ module Aws::SageMaker
35255
35267
  include Aws::Structure
35256
35268
  end
35257
35269
 
35270
+ # Specifies mandatory fields for running an Inference Recommender job
35271
+ # directly in the [CreateInferenceRecommendationsJob][1] API. The fields
35272
+ # specified in `ContainerConfig` override the corresponding fields in
35273
+ # the model package. Use `ContainerConfig` if you want to specify these
35274
+ # fields for the recommendation job but don't want to edit them in your
35275
+ # model package.
35276
+ #
35277
+ #
35278
+ #
35279
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateInferenceRecommendationsJob.html
35280
+ #
35281
+ # @note When making an API call, you may pass RecommendationJobContainerConfig
35282
+ # data as a hash:
35283
+ #
35284
+ # {
35285
+ # domain: "String",
35286
+ # task: "String",
35287
+ # framework: "String",
35288
+ # framework_version: "String",
35289
+ # payload_config: {
35290
+ # sample_payload_url: "String",
35291
+ # supported_content_types: ["String"],
35292
+ # },
35293
+ # nearest_model_name: "String",
35294
+ # supported_instance_types: ["String"],
35295
+ # }
35296
+ #
35297
+ # @!attribute [rw] domain
35298
+ # The machine learning domain of the model and its components.
35299
+ #
35300
+ # Valid Values: `COMPUTER_VISION | NATURAL_LANGUAGE_PROCESSING |
35301
+ # MACHINE_LEARNING`
35302
+ # @return [String]
35303
+ #
35304
+ # @!attribute [rw] task
35305
+ # The machine learning task that the model accomplishes.
35306
+ #
35307
+ # Valid Values: `IMAGE_CLASSIFICATION | OBJECT_DETECTION |
35308
+ # TEXT_GENERATION | IMAGE_SEGMENTATION | FILL_MASK | CLASSIFICATION |
35309
+ # REGRESSION | OTHER`
35310
+ # @return [String]
35311
+ #
35312
+ # @!attribute [rw] framework
35313
+ # The machine learning framework of the container image.
35314
+ #
35315
+ # Valid Values: `TENSORFLOW | PYTORCH | XGBOOST |
35316
+ # SAGEMAKER-SCIKIT-LEARN`
35317
+ # @return [String]
35318
+ #
35319
+ # @!attribute [rw] framework_version
35320
+ # The framework version of the container image.
35321
+ # @return [String]
35322
+ #
35323
+ # @!attribute [rw] payload_config
35324
+ # Specifies the `SamplePayloadUrl` and all other sample
35325
+ # payload-related fields.
35326
+ # @return [Types::RecommendationJobPayloadConfig]
35327
+ #
35328
+ # @!attribute [rw] nearest_model_name
35329
+ # The name of a pre-trained machine learning model benchmarked by
35330
+ # Amazon SageMaker Inference Recommender that matches your model.
35331
+ #
35332
+ # Valid Values: `efficientnetb7 | unet | xgboost |
35333
+ # faster-rcnn-resnet101 | nasnetlarge | vgg16 | inception-v3 |
35334
+ # mask-rcnn | sagemaker-scikit-learn | densenet201-gluon |
35335
+ # resnet18v2-gluon | xception | densenet201 | yolov4 | resnet152 |
35336
+ # bert-base-cased | xceptionV1-keras | resnet50 | retinanet`
35337
+ # @return [String]
35338
+ #
35339
+ # @!attribute [rw] supported_instance_types
35340
+ # A list of the instance types that are used to generate inferences in
35341
+ # real-time.
35342
+ # @return [Array<String>]
35343
+ #
35344
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobContainerConfig AWS API Documentation
35345
+ #
35346
+ class RecommendationJobContainerConfig < Struct.new(
35347
+ :domain,
35348
+ :task,
35349
+ :framework,
35350
+ :framework_version,
35351
+ :payload_config,
35352
+ :nearest_model_name,
35353
+ :supported_instance_types)
35354
+ SENSITIVE = []
35355
+ include Aws::Structure
35356
+ end
35357
+
35258
35358
  # The input configuration of the recommendation job.
35259
35359
  #
35260
35360
  # @note When making an API call, you may pass RecommendationJobInputConfig
@@ -35292,6 +35392,18 @@ module Aws::SageMaker
35292
35392
  # },
35293
35393
  # ],
35294
35394
  # volume_kms_key_id: "KmsKeyId",
35395
+ # container_config: {
35396
+ # domain: "String",
35397
+ # task: "String",
35398
+ # framework: "String",
35399
+ # framework_version: "String",
35400
+ # payload_config: {
35401
+ # sample_payload_url: "String",
35402
+ # supported_content_types: ["String"],
35403
+ # },
35404
+ # nearest_model_name: "String",
35405
+ # supported_instance_types: ["String"],
35406
+ # },
35295
35407
  # }
35296
35408
  #
35297
35409
  # @!attribute [rw] model_package_version_arn
@@ -35354,6 +35466,12 @@ module Aws::SageMaker
35354
35466
  # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-id
35355
35467
  # @return [String]
35356
35468
  #
35469
+ # @!attribute [rw] container_config
35470
+ # Specifies mandatory fields for running an Inference Recommender job.
35471
+ # The fields specified in `ContainerConfig` override the corresponding
35472
+ # fields in the model package.
35473
+ # @return [Types::RecommendationJobContainerConfig]
35474
+ #
35357
35475
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobInputConfig AWS API Documentation
35358
35476
  #
35359
35477
  class RecommendationJobInputConfig < Struct.new(
@@ -35362,7 +35480,8 @@ module Aws::SageMaker
35362
35480
  :traffic_pattern,
35363
35481
  :resource_limit,
35364
35482
  :endpoint_configurations,
35365
- :volume_kms_key_id)
35483
+ :volume_kms_key_id,
35484
+ :container_config)
35366
35485
  SENSITIVE = []
35367
35486
  include Aws::Structure
35368
35487
  end
@@ -35428,6 +35547,35 @@ module Aws::SageMaker
35428
35547
  include Aws::Structure
35429
35548
  end
35430
35549
 
35550
+ # The configuration for the payload for a recommendation job.
35551
+ #
35552
+ # @note When making an API call, you may pass RecommendationJobPayloadConfig
35553
+ # data as a hash:
35554
+ #
35555
+ # {
35556
+ # sample_payload_url: "String",
35557
+ # supported_content_types: ["String"],
35558
+ # }
35559
+ #
35560
+ # @!attribute [rw] sample_payload_url
35561
+ # The Amazon Simple Storage Service (Amazon S3) path where the sample
35562
+ # payload is stored. This path must point to a single gzip compressed
35563
+ # tar archive (.tar.gz suffix).
35564
+ # @return [String]
35565
+ #
35566
+ # @!attribute [rw] supported_content_types
35567
+ # The supported MIME types for the input data.
35568
+ # @return [Array<String>]
35569
+ #
35570
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobPayloadConfig AWS API Documentation
35571
+ #
35572
+ class RecommendationJobPayloadConfig < Struct.new(
35573
+ :sample_payload_url,
35574
+ :supported_content_types)
35575
+ SENSITIVE = []
35576
+ include Aws::Structure
35577
+ end
35578
+
35431
35579
  # Specifies the maximum number of jobs that can run in parallel and the
35432
35580
  # maximum number of jobs that can run.
35433
35581
  #
@@ -35862,29 +36010,32 @@ module Aws::SageMaker
35862
36010
  # volume, choose `File` as the `TrainingInputMode` in the algorithm
35863
36011
  # specification.
35864
36012
  #
35865
- # You must specify sufficient ML storage for your scenario.
36013
+ # When using an ML instance with [NVMe SSD volumes][1], SageMaker
36014
+ # doesn't provision Amazon EBS General Purpose SSD (gp2) storage.
36015
+ # Available storage is fixed to the NVMe-type instance's storage
36016
+ # capacity. SageMaker configures storage paths for training datasets,
36017
+ # checkpoints, model artifacts, and outputs to use the entire capacity
36018
+ # of the instance storage. For example, ML instance families with the
36019
+ # NVMe-type instance storage include `ml.p4d`, `ml.g4dn`, and `ml.g5`.
35866
36020
  #
35867
- # <note markdown="1"> SageMaker supports only the General Purpose SSD (gp2) ML storage
35868
- # volume type.
36021
+ # When using an ML instance with the EBS-only storage option and
36022
+ # without instance storage, you must define the size of EBS volume
36023
+ # through `VolumeSizeInGB` in the `ResourceConfig` API. For example,
36024
+ # ML instance families that use EBS volumes include `ml.c5` and
36025
+ # `ml.p2`.
35869
36026
  #
35870
- # </note>
36027
+ # To look up instance types and their instance storage types and
36028
+ # volumes, see [Amazon EC2 Instance Types][2].
35871
36029
  #
35872
- # <note markdown="1"> Certain Nitro-based instances include local storage with a fixed
35873
- # total size, dependent on the instance type. When using these
35874
- # instances for training, SageMaker mounts the local instance storage
35875
- # instead of Amazon EBS gp2 storage. You can't request a
35876
- # `VolumeSizeInGB` greater than the total size of the local instance
35877
- # storage.
35878
- #
35879
- # For a list of instance types that support local instance storage,
35880
- # including the total size per instance type, see [Instance Store
35881
- # Volumes][1].
35882
- #
35883
- # </note>
36030
+ # To find the default local paths defined by the SageMaker training
36031
+ # platform, see [Amazon SageMaker Training Storage Folders for
36032
+ # Training Datasets, Checkpoints, Model Artifacts, and Outputs][3].
35884
36033
  #
35885
36034
  #
35886
36035
  #
35887
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes
36036
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html#nvme-ssd-volumes
36037
+ # [2]: http://aws.amazon.com/ec2/instance-types/
36038
+ # [3]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-train-storage.html
35888
36039
  # @return [Integer]
35889
36040
  #
35890
36041
  # @!attribute [rw] volume_kms_key_id
@@ -37662,7 +37813,7 @@ module Aws::SageMaker
37662
37813
  #
37663
37814
  # @!attribute [rw] max_runtime_in_seconds
37664
37815
  # The maximum length of time, in seconds, that a training or
37665
- # compilation job can run.
37816
+ # compilation job can run before it is stopped.
37666
37817
  #
37667
37818
  # For compilation jobs, if the job does not complete during this time,
37668
37819
  # a `TimeOut` error is generated. We recommend starting with 900
@@ -37673,6 +37824,10 @@ module Aws::SageMaker
37673
37824
  # request, `MaxRuntimeInSeconds` specifies the maximum time for all of
37674
37825
  # the attempts in total, not each individual attempt. The default
37675
37826
  # value is 1 day. The maximum value is 28 days.
37827
+ #
37828
+ # The maximum time that a `TrainingJob` can run in total, including
37829
+ # any time spent publishing metrics or archiving and uploading models
37830
+ # after it has been stopped, is 30 days.
37676
37831
  # @return [Integer]
37677
37832
  #
37678
37833
  # @!attribute [rw] max_wait_time_in_seconds
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-sagemaker/customizations'
49
49
  # @!group service
50
50
  module Aws::SageMaker
51
51
 
52
- GEM_VERSION = '1.134.0'
52
+ GEM_VERSION = '1.135.0'
53
53
 
54
54
  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.134.0
4
+ version: 1.135.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-08-09 00:00:00.000000000 Z
11
+ date: 2022-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core