aws-sdk-sagemaker 1.121.0 → 1.122.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +13 -1
- data/lib/aws-sdk-sagemaker/client_api.rb +11 -0
- data/lib/aws-sdk-sagemaker/types.rb +140 -1
- data/lib/aws-sdk-sagemaker.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 169e23b321a23fecdd107feb857c9d4312bd52163c1423e8d450a4df34159273
|
4
|
+
data.tar.gz: 8f56bb2e5d98c59b8051eb9f622fa2931998a1274d1322a6fe5a63039eb2ac10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f14f2b2c99012ed012d0cdfdf5b88b9016976d0f37ca7f40085ec0f2e9ec6e7eb0691950cb50a4f4ef3073ac55ef6d5137ebb63ce0c1000fa0c9081686248ee4
|
7
|
+
data.tar.gz: 2c449f1fe65ed3f72e3df238bcc1a2619427893b9714de9a0945c33f195b3657f64a73ee7c24000efeae702abf7c68f139092a537de66daaed3eb7b3c6a2cb5e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.122.0 (2022-04-26)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - SageMaker Inference Recommender now accepts customer KMS key ID for encryption of endpoints and compilation outputs created during inference recommendation.
|
8
|
+
|
4
9
|
1.121.0 (2022-04-07)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.122.0
|
@@ -3266,6 +3266,10 @@ module Aws::SageMaker
|
|
3266
3266
|
# A set of conditions for stopping a recommendation job. If any of the
|
3267
3267
|
# conditions are met, the job is automatically stopped.
|
3268
3268
|
#
|
3269
|
+
# @option params [Types::RecommendationJobOutputConfig] :output_config
|
3270
|
+
# Provides information about the output artifacts and the KMS key to use
|
3271
|
+
# for Amazon S3 server-side encryption.
|
3272
|
+
#
|
3269
3273
|
# @option params [Array<Types::Tag>] :tags
|
3270
3274
|
# The metadata that you apply to Amazon Web Services resources to help
|
3271
3275
|
# you categorize and organize them. Each tag consists of a key and a
|
@@ -3318,6 +3322,7 @@ module Aws::SageMaker
|
|
3318
3322
|
# },
|
3319
3323
|
# },
|
3320
3324
|
# ],
|
3325
|
+
# volume_kms_key_id: "KmsKeyId",
|
3321
3326
|
# },
|
3322
3327
|
# job_description: "RecommendationJobDescription",
|
3323
3328
|
# stopping_conditions: {
|
@@ -3329,6 +3334,12 @@ module Aws::SageMaker
|
|
3329
3334
|
# },
|
3330
3335
|
# ],
|
3331
3336
|
# },
|
3337
|
+
# output_config: {
|
3338
|
+
# kms_key_id: "KmsKeyId",
|
3339
|
+
# compiled_output_config: {
|
3340
|
+
# s3_output_uri: "S3Uri",
|
3341
|
+
# },
|
3342
|
+
# },
|
3332
3343
|
# tags: [
|
3333
3344
|
# {
|
3334
3345
|
# key: "TagKey", # required
|
@@ -9602,6 +9613,7 @@ module Aws::SageMaker
|
|
9602
9613
|
# resp.input_config.endpoint_configurations[0].environment_parameter_ranges.categorical_parameter_ranges[0].name #=> String
|
9603
9614
|
# resp.input_config.endpoint_configurations[0].environment_parameter_ranges.categorical_parameter_ranges[0].value #=> Array
|
9604
9615
|
# resp.input_config.endpoint_configurations[0].environment_parameter_ranges.categorical_parameter_ranges[0].value[0] #=> String
|
9616
|
+
# resp.input_config.volume_kms_key_id #=> String
|
9605
9617
|
# resp.stopping_conditions.max_invocations #=> Integer
|
9606
9618
|
# resp.stopping_conditions.model_latency_thresholds #=> Array
|
9607
9619
|
# resp.stopping_conditions.model_latency_thresholds[0].percentile #=> String
|
@@ -19452,7 +19464,7 @@ module Aws::SageMaker
|
|
19452
19464
|
params: params,
|
19453
19465
|
config: config)
|
19454
19466
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
19455
|
-
context[:gem_version] = '1.
|
19467
|
+
context[:gem_version] = '1.122.0'
|
19456
19468
|
Seahorse::Client::Request.new(handlers, context)
|
19457
19469
|
end
|
19458
19470
|
|
@@ -1270,9 +1270,11 @@ module Aws::SageMaker
|
|
1270
1270
|
RStudioServerProUserGroup = Shapes::StringShape.new(name: 'RStudioServerProUserGroup')
|
1271
1271
|
RealtimeInferenceInstanceTypes = Shapes::ListShape.new(name: 'RealtimeInferenceInstanceTypes')
|
1272
1272
|
RecommendationJobArn = Shapes::StringShape.new(name: 'RecommendationJobArn')
|
1273
|
+
RecommendationJobCompiledOutputConfig = Shapes::StructureShape.new(name: 'RecommendationJobCompiledOutputConfig')
|
1273
1274
|
RecommendationJobDescription = Shapes::StringShape.new(name: 'RecommendationJobDescription')
|
1274
1275
|
RecommendationJobInputConfig = Shapes::StructureShape.new(name: 'RecommendationJobInputConfig')
|
1275
1276
|
RecommendationJobName = Shapes::StringShape.new(name: 'RecommendationJobName')
|
1277
|
+
RecommendationJobOutputConfig = Shapes::StructureShape.new(name: 'RecommendationJobOutputConfig')
|
1276
1278
|
RecommendationJobResourceLimit = Shapes::StructureShape.new(name: 'RecommendationJobResourceLimit')
|
1277
1279
|
RecommendationJobStatus = Shapes::StringShape.new(name: 'RecommendationJobStatus')
|
1278
1280
|
RecommendationJobStoppingConditions = Shapes::StructureShape.new(name: 'RecommendationJobStoppingConditions')
|
@@ -2360,6 +2362,7 @@ module Aws::SageMaker
|
|
2360
2362
|
CreateInferenceRecommendationsJobRequest.add_member(:input_config, Shapes::ShapeRef.new(shape: RecommendationJobInputConfig, required: true, location_name: "InputConfig"))
|
2361
2363
|
CreateInferenceRecommendationsJobRequest.add_member(:job_description, Shapes::ShapeRef.new(shape: RecommendationJobDescription, location_name: "JobDescription"))
|
2362
2364
|
CreateInferenceRecommendationsJobRequest.add_member(:stopping_conditions, Shapes::ShapeRef.new(shape: RecommendationJobStoppingConditions, location_name: "StoppingConditions"))
|
2365
|
+
CreateInferenceRecommendationsJobRequest.add_member(:output_config, Shapes::ShapeRef.new(shape: RecommendationJobOutputConfig, location_name: "OutputConfig"))
|
2363
2366
|
CreateInferenceRecommendationsJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
2364
2367
|
CreateInferenceRecommendationsJobRequest.struct_class = Types::CreateInferenceRecommendationsJobRequest
|
2365
2368
|
|
@@ -6201,13 +6204,21 @@ module Aws::SageMaker
|
|
6201
6204
|
|
6202
6205
|
RealtimeInferenceInstanceTypes.member = Shapes::ShapeRef.new(shape: ProductionVariantInstanceType)
|
6203
6206
|
|
6207
|
+
RecommendationJobCompiledOutputConfig.add_member(:s3_output_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "S3OutputUri"))
|
6208
|
+
RecommendationJobCompiledOutputConfig.struct_class = Types::RecommendationJobCompiledOutputConfig
|
6209
|
+
|
6204
6210
|
RecommendationJobInputConfig.add_member(:model_package_version_arn, Shapes::ShapeRef.new(shape: ModelPackageArn, required: true, location_name: "ModelPackageVersionArn"))
|
6205
6211
|
RecommendationJobInputConfig.add_member(:job_duration_in_seconds, Shapes::ShapeRef.new(shape: JobDurationInSeconds, location_name: "JobDurationInSeconds"))
|
6206
6212
|
RecommendationJobInputConfig.add_member(:traffic_pattern, Shapes::ShapeRef.new(shape: TrafficPattern, location_name: "TrafficPattern"))
|
6207
6213
|
RecommendationJobInputConfig.add_member(:resource_limit, Shapes::ShapeRef.new(shape: RecommendationJobResourceLimit, location_name: "ResourceLimit"))
|
6208
6214
|
RecommendationJobInputConfig.add_member(:endpoint_configurations, Shapes::ShapeRef.new(shape: EndpointInputConfigurations, location_name: "EndpointConfigurations"))
|
6215
|
+
RecommendationJobInputConfig.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
6209
6216
|
RecommendationJobInputConfig.struct_class = Types::RecommendationJobInputConfig
|
6210
6217
|
|
6218
|
+
RecommendationJobOutputConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
6219
|
+
RecommendationJobOutputConfig.add_member(:compiled_output_config, Shapes::ShapeRef.new(shape: RecommendationJobCompiledOutputConfig, location_name: "CompiledOutputConfig"))
|
6220
|
+
RecommendationJobOutputConfig.struct_class = Types::RecommendationJobOutputConfig
|
6221
|
+
|
6211
6222
|
RecommendationJobResourceLimit.add_member(:max_number_of_tests, Shapes::ShapeRef.new(shape: MaxNumberOfTests, location_name: "MaxNumberOfTests"))
|
6212
6223
|
RecommendationJobResourceLimit.add_member(:max_parallel_of_tests, Shapes::ShapeRef.new(shape: MaxParallelOfTests, location_name: "MaxParallelOfTests"))
|
6213
6224
|
RecommendationJobResourceLimit.struct_class = Types::RecommendationJobResourceLimit
|
@@ -6442,6 +6442,7 @@ module Aws::SageMaker
|
|
6442
6442
|
# },
|
6443
6443
|
# },
|
6444
6444
|
# ],
|
6445
|
+
# volume_kms_key_id: "KmsKeyId",
|
6445
6446
|
# },
|
6446
6447
|
# job_description: "RecommendationJobDescription",
|
6447
6448
|
# stopping_conditions: {
|
@@ -6453,6 +6454,12 @@ module Aws::SageMaker
|
|
6453
6454
|
# },
|
6454
6455
|
# ],
|
6455
6456
|
# },
|
6457
|
+
# output_config: {
|
6458
|
+
# kms_key_id: "KmsKeyId",
|
6459
|
+
# compiled_output_config: {
|
6460
|
+
# s3_output_uri: "S3Uri",
|
6461
|
+
# },
|
6462
|
+
# },
|
6456
6463
|
# tags: [
|
6457
6464
|
# {
|
6458
6465
|
# key: "TagKey", # required
|
@@ -6494,6 +6501,11 @@ module Aws::SageMaker
|
|
6494
6501
|
# conditions are met, the job is automatically stopped.
|
6495
6502
|
# @return [Types::RecommendationJobStoppingConditions]
|
6496
6503
|
#
|
6504
|
+
# @!attribute [rw] output_config
|
6505
|
+
# Provides information about the output artifacts and the KMS key to
|
6506
|
+
# use for Amazon S3 server-side encryption.
|
6507
|
+
# @return [Types::RecommendationJobOutputConfig]
|
6508
|
+
#
|
6497
6509
|
# @!attribute [rw] tags
|
6498
6510
|
# The metadata that you apply to Amazon Web Services resources to help
|
6499
6511
|
# you categorize and organize them. Each tag consists of a key and a
|
@@ -6515,6 +6527,7 @@ module Aws::SageMaker
|
|
6515
6527
|
:input_config,
|
6516
6528
|
:job_description,
|
6517
6529
|
:stopping_conditions,
|
6530
|
+
:output_config,
|
6518
6531
|
:tags)
|
6519
6532
|
SENSITIVE = []
|
6520
6533
|
include Aws::Structure
|
@@ -33594,6 +33607,29 @@ module Aws::SageMaker
|
|
33594
33607
|
include Aws::Structure
|
33595
33608
|
end
|
33596
33609
|
|
33610
|
+
# Provides information about the output configuration for the compiled
|
33611
|
+
# model.
|
33612
|
+
#
|
33613
|
+
# @note When making an API call, you may pass RecommendationJobCompiledOutputConfig
|
33614
|
+
# data as a hash:
|
33615
|
+
#
|
33616
|
+
# {
|
33617
|
+
# s3_output_uri: "S3Uri",
|
33618
|
+
# }
|
33619
|
+
#
|
33620
|
+
# @!attribute [rw] s3_output_uri
|
33621
|
+
# Identifies the Amazon S3 bucket where you want SageMaker to store
|
33622
|
+
# the compiled model artifacts.
|
33623
|
+
# @return [String]
|
33624
|
+
#
|
33625
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobCompiledOutputConfig AWS API Documentation
|
33626
|
+
#
|
33627
|
+
class RecommendationJobCompiledOutputConfig < Struct.new(
|
33628
|
+
:s3_output_uri)
|
33629
|
+
SENSITIVE = []
|
33630
|
+
include Aws::Structure
|
33631
|
+
end
|
33632
|
+
|
33597
33633
|
# The input configuration of the recommendation job.
|
33598
33634
|
#
|
33599
33635
|
# @note When making an API call, you may pass RecommendationJobInputConfig
|
@@ -33630,6 +33666,7 @@ module Aws::SageMaker
|
|
33630
33666
|
# },
|
33631
33667
|
# },
|
33632
33668
|
# ],
|
33669
|
+
# volume_kms_key_id: "KmsKeyId",
|
33633
33670
|
# }
|
33634
33671
|
#
|
33635
33672
|
# @!attribute [rw] model_package_version_arn
|
@@ -33652,6 +33689,46 @@ module Aws::SageMaker
|
|
33652
33689
|
# Specifies the endpoint configuration to use for a job.
|
33653
33690
|
# @return [Array<Types::EndpointInputConfiguration>]
|
33654
33691
|
#
|
33692
|
+
# @!attribute [rw] volume_kms_key_id
|
33693
|
+
# The Amazon Resource Name (ARN) of a Amazon Web Services Key
|
33694
|
+
# Management Service (Amazon Web Services KMS) key that Amazon
|
33695
|
+
# SageMaker uses to encrypt data on the storage volume attached to the
|
33696
|
+
# ML compute instance that hosts the endpoint. This key will be passed
|
33697
|
+
# to SageMaker Hosting for endpoint creation.
|
33698
|
+
#
|
33699
|
+
# The SageMaker execution role must have `kms:CreateGrant` permission
|
33700
|
+
# in order to encrypt data on the storage volume of the endpoints
|
33701
|
+
# created for inference recommendation. The inference recommendation
|
33702
|
+
# job will fail asynchronously during endpoint configuration creation
|
33703
|
+
# if the role passed does not have `kms:CreateGrant` permission.
|
33704
|
+
#
|
33705
|
+
# The `KmsKeyId` can be any of the following formats:
|
33706
|
+
#
|
33707
|
+
# * // KMS Key ID
|
33708
|
+
#
|
33709
|
+
# `"1234abcd-12ab-34cd-56ef-1234567890ab"`
|
33710
|
+
#
|
33711
|
+
# * // Amazon Resource Name (ARN) of a KMS Key
|
33712
|
+
#
|
33713
|
+
# `"arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"`
|
33714
|
+
#
|
33715
|
+
# * // KMS Key Alias
|
33716
|
+
#
|
33717
|
+
# `"alias/ExampleAlias"`
|
33718
|
+
#
|
33719
|
+
# * // Amazon Resource Name (ARN) of a KMS Key Alias
|
33720
|
+
#
|
33721
|
+
# `"arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"`
|
33722
|
+
#
|
33723
|
+
# For more information about key identifiers, see [Key identifiers
|
33724
|
+
# (KeyID)][1] in the Amazon Web Services Key Management Service
|
33725
|
+
# (Amazon Web Services KMS) documentation.
|
33726
|
+
#
|
33727
|
+
#
|
33728
|
+
#
|
33729
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-id
|
33730
|
+
# @return [String]
|
33731
|
+
#
|
33655
33732
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobInputConfig AWS API Documentation
|
33656
33733
|
#
|
33657
33734
|
class RecommendationJobInputConfig < Struct.new(
|
@@ -33659,7 +33736,69 @@ module Aws::SageMaker
|
|
33659
33736
|
:job_duration_in_seconds,
|
33660
33737
|
:traffic_pattern,
|
33661
33738
|
:resource_limit,
|
33662
|
-
:endpoint_configurations
|
33739
|
+
:endpoint_configurations,
|
33740
|
+
:volume_kms_key_id)
|
33741
|
+
SENSITIVE = []
|
33742
|
+
include Aws::Structure
|
33743
|
+
end
|
33744
|
+
|
33745
|
+
# Provides information about the output configuration for the compiled
|
33746
|
+
# model.
|
33747
|
+
#
|
33748
|
+
# @note When making an API call, you may pass RecommendationJobOutputConfig
|
33749
|
+
# data as a hash:
|
33750
|
+
#
|
33751
|
+
# {
|
33752
|
+
# kms_key_id: "KmsKeyId",
|
33753
|
+
# compiled_output_config: {
|
33754
|
+
# s3_output_uri: "S3Uri",
|
33755
|
+
# },
|
33756
|
+
# }
|
33757
|
+
#
|
33758
|
+
# @!attribute [rw] kms_key_id
|
33759
|
+
# The Amazon Resource Name (ARN) of a Amazon Web Services Key
|
33760
|
+
# Management Service (Amazon Web Services KMS) key that Amazon
|
33761
|
+
# SageMaker uses to encrypt your output artifacts with Amazon S3
|
33762
|
+
# server-side encryption. The SageMaker execution role must have
|
33763
|
+
# `kms:GenerateDataKey` permission.
|
33764
|
+
#
|
33765
|
+
# The `KmsKeyId` can be any of the following formats:
|
33766
|
+
#
|
33767
|
+
# * // KMS Key ID
|
33768
|
+
#
|
33769
|
+
# `"1234abcd-12ab-34cd-56ef-1234567890ab"`
|
33770
|
+
#
|
33771
|
+
# * // Amazon Resource Name (ARN) of a KMS Key
|
33772
|
+
#
|
33773
|
+
# `"arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"`
|
33774
|
+
#
|
33775
|
+
# * // KMS Key Alias
|
33776
|
+
#
|
33777
|
+
# `"alias/ExampleAlias"`
|
33778
|
+
#
|
33779
|
+
# * // Amazon Resource Name (ARN) of a KMS Key Alias
|
33780
|
+
#
|
33781
|
+
# `"arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"`
|
33782
|
+
#
|
33783
|
+
# For more information about key identifiers, see [Key identifiers
|
33784
|
+
# (KeyID)][1] in the Amazon Web Services Key Management Service
|
33785
|
+
# (Amazon Web Services KMS) documentation.
|
33786
|
+
#
|
33787
|
+
#
|
33788
|
+
#
|
33789
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-id
|
33790
|
+
# @return [String]
|
33791
|
+
#
|
33792
|
+
# @!attribute [rw] compiled_output_config
|
33793
|
+
# Provides information about the output configuration for the compiled
|
33794
|
+
# model.
|
33795
|
+
# @return [Types::RecommendationJobCompiledOutputConfig]
|
33796
|
+
#
|
33797
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobOutputConfig AWS API Documentation
|
33798
|
+
#
|
33799
|
+
class RecommendationJobOutputConfig < Struct.new(
|
33800
|
+
:kms_key_id,
|
33801
|
+
:compiled_output_config)
|
33663
33802
|
SENSITIVE = []
|
33664
33803
|
include Aws::Structure
|
33665
33804
|
end
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
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.
|
4
|
+
version: 1.122.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-04-
|
11
|
+
date: 2022-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|