aws-sdk-sagemaker 1.244.0 → 1.246.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +17 -7
- data/lib/aws-sdk-sagemaker/client_api.rb +2 -0
- data/lib/aws-sdk-sagemaker/types.rb +51 -17
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/sig/client.rbs +4 -2
- data/sig/types.rbs +1 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf861440b8656d113458819c77b3acb877bfdba32b25141cce94a371a4cdc24a
|
4
|
+
data.tar.gz: 834fdc5354f1dc3ea86908d6539ceb1c063a5001de60f6d10408483a8b1f0db6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3415a59aad19abc82407f505281d0558f5cc33437b370e98e6aff65d808ca42f29715ecb26bc35ae72624daf0941b1c8f255b0d06c10b7274e6c9360415c6121
|
7
|
+
data.tar.gz: a3a7cd25197fa7ff9cf34d2e22dd369ad3b227f943fecd2a522708a6d5674e55a4f70af1b03e82c1c073bdefafc5c830b7ea5ccad97df13513d398e55deda872
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.246.0 (2024-06-07)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces a new optional parameter: InferenceAmiVersion, in ProductionVariant.
|
8
|
+
|
9
|
+
1.245.0 (2024-06-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.244.0 (2024-06-04)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.246.0
|
@@ -3336,6 +3336,7 @@ module Aws::SageMaker
|
|
3336
3336
|
# routing_config: {
|
3337
3337
|
# routing_strategy: "LEAST_OUTSTANDING_REQUESTS", # required, accepts LEAST_OUTSTANDING_REQUESTS, RANDOM
|
3338
3338
|
# },
|
3339
|
+
# inference_ami_version: "al2-ami-sagemaker-inference-gpu-2", # accepts al2-ami-sagemaker-inference-gpu-2
|
3339
3340
|
# },
|
3340
3341
|
# ],
|
3341
3342
|
# data_capture_config: {
|
@@ -3436,6 +3437,7 @@ module Aws::SageMaker
|
|
3436
3437
|
# routing_config: {
|
3437
3438
|
# routing_strategy: "LEAST_OUTSTANDING_REQUESTS", # required, accepts LEAST_OUTSTANDING_REQUESTS, RANDOM
|
3438
3439
|
# },
|
3440
|
+
# inference_ami_version: "al2-ami-sagemaker-inference-gpu-2", # accepts al2-ami-sagemaker-inference-gpu-2
|
3439
3441
|
# },
|
3440
3442
|
# ],
|
3441
3443
|
# execution_role_arn: "RoleArn",
|
@@ -6179,12 +6181,15 @@ module Aws::SageMaker
|
|
6179
6181
|
# schema of `ModelCard`. The `ModelPackageModelCard` schema does not
|
6180
6182
|
# include `model_package_details`, and `model_overview` is composed of
|
6181
6183
|
# the `model_creator` and `model_artifact` properties. For more
|
6182
|
-
# information about the model
|
6183
|
-
#
|
6184
|
+
# information about the model package model card schema, see [Model
|
6185
|
+
# package model card schema][1]. For more information about the model
|
6186
|
+
# card associated with the model package, see [View the Details of a
|
6187
|
+
# Model Version][2].
|
6184
6188
|
#
|
6185
6189
|
#
|
6186
6190
|
#
|
6187
|
-
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
6191
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html#model-card-schema
|
6192
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
6188
6193
|
#
|
6189
6194
|
# @return [Types::CreateModelPackageOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6190
6195
|
#
|
@@ -12473,6 +12478,7 @@ module Aws::SageMaker
|
|
12473
12478
|
# resp.production_variants[0].managed_instance_scaling.min_instance_count #=> Integer
|
12474
12479
|
# resp.production_variants[0].managed_instance_scaling.max_instance_count #=> Integer
|
12475
12480
|
# resp.production_variants[0].routing_config.routing_strategy #=> String, one of "LEAST_OUTSTANDING_REQUESTS", "RANDOM"
|
12481
|
+
# resp.production_variants[0].inference_ami_version #=> String, one of "al2-ami-sagemaker-inference-gpu-2"
|
12476
12482
|
# resp.data_capture_config.enable_capture #=> Boolean
|
12477
12483
|
# resp.data_capture_config.initial_sampling_percentage #=> Integer
|
12478
12484
|
# resp.data_capture_config.destination_s3_uri #=> String
|
@@ -12536,6 +12542,7 @@ module Aws::SageMaker
|
|
12536
12542
|
# resp.shadow_production_variants[0].managed_instance_scaling.min_instance_count #=> Integer
|
12537
12543
|
# resp.shadow_production_variants[0].managed_instance_scaling.max_instance_count #=> Integer
|
12538
12544
|
# resp.shadow_production_variants[0].routing_config.routing_strategy #=> String, one of "LEAST_OUTSTANDING_REQUESTS", "RANDOM"
|
12545
|
+
# resp.shadow_production_variants[0].inference_ami_version #=> String, one of "al2-ami-sagemaker-inference-gpu-2"
|
12539
12546
|
# resp.execution_role_arn #=> String
|
12540
12547
|
# resp.vpc_config.security_group_ids #=> Array
|
12541
12548
|
# resp.vpc_config.security_group_ids[0] #=> String
|
@@ -24987,12 +24994,15 @@ module Aws::SageMaker
|
|
24987
24994
|
# schema of `ModelCard`. The `ModelPackageModelCard` schema does not
|
24988
24995
|
# include `model_package_details`, and `model_overview` is composed of
|
24989
24996
|
# the `model_creator` and `model_artifact` properties. For more
|
24990
|
-
# information about the model
|
24991
|
-
#
|
24997
|
+
# information about the model package model card schema, see [Model
|
24998
|
+
# package model card schema][1]. For more information about the model
|
24999
|
+
# card associated with the model package, see [View the Details of a
|
25000
|
+
# Model Version][2].
|
24992
25001
|
#
|
24993
25002
|
#
|
24994
25003
|
#
|
24995
|
-
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
25004
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html#model-card-schema
|
25005
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
24996
25006
|
#
|
24997
25007
|
# @return [Types::UpdateModelPackageOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
24998
25008
|
#
|
@@ -26441,7 +26451,7 @@ module Aws::SageMaker
|
|
26441
26451
|
params: params,
|
26442
26452
|
config: config)
|
26443
26453
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
26444
|
-
context[:gem_version] = '1.
|
26454
|
+
context[:gem_version] = '1.246.0'
|
26445
26455
|
Seahorse::Client::Request.new(handlers, context)
|
26446
26456
|
end
|
26447
26457
|
|
@@ -1686,6 +1686,7 @@ module Aws::SageMaker
|
|
1686
1686
|
ProductionVariantAcceleratorType = Shapes::StringShape.new(name: 'ProductionVariantAcceleratorType')
|
1687
1687
|
ProductionVariantContainerStartupHealthCheckTimeoutInSeconds = Shapes::IntegerShape.new(name: 'ProductionVariantContainerStartupHealthCheckTimeoutInSeconds')
|
1688
1688
|
ProductionVariantCoreDumpConfig = Shapes::StructureShape.new(name: 'ProductionVariantCoreDumpConfig')
|
1689
|
+
ProductionVariantInferenceAmiVersion = Shapes::StringShape.new(name: 'ProductionVariantInferenceAmiVersion')
|
1689
1690
|
ProductionVariantInstanceType = Shapes::StringShape.new(name: 'ProductionVariantInstanceType')
|
1690
1691
|
ProductionVariantList = Shapes::ListShape.new(name: 'ProductionVariantList')
|
1691
1692
|
ProductionVariantManagedInstanceScaling = Shapes::StructureShape.new(name: 'ProductionVariantManagedInstanceScaling')
|
@@ -8359,6 +8360,7 @@ module Aws::SageMaker
|
|
8359
8360
|
ProductionVariant.add_member(:enable_ssm_access, Shapes::ShapeRef.new(shape: ProductionVariantSSMAccess, location_name: "EnableSSMAccess"))
|
8360
8361
|
ProductionVariant.add_member(:managed_instance_scaling, Shapes::ShapeRef.new(shape: ProductionVariantManagedInstanceScaling, location_name: "ManagedInstanceScaling"))
|
8361
8362
|
ProductionVariant.add_member(:routing_config, Shapes::ShapeRef.new(shape: ProductionVariantRoutingConfig, location_name: "RoutingConfig"))
|
8363
|
+
ProductionVariant.add_member(:inference_ami_version, Shapes::ShapeRef.new(shape: ProductionVariantInferenceAmiVersion, location_name: "InferenceAmiVersion"))
|
8362
8364
|
ProductionVariant.struct_class = Types::ProductionVariant
|
8363
8365
|
|
8364
8366
|
ProductionVariantCoreDumpConfig.add_member(:destination_s3_uri, Shapes::ShapeRef.new(shape: DestinationS3Uri, required: true, location_name: "DestinationS3Uri"))
|
@@ -8065,12 +8065,15 @@ module Aws::SageMaker
|
|
8065
8065
|
# schema of `ModelCard`. The `ModelPackageModelCard` schema does not
|
8066
8066
|
# include `model_package_details`, and `model_overview` is composed of
|
8067
8067
|
# the `model_creator` and `model_artifact` properties. For more
|
8068
|
-
# information about the model
|
8069
|
-
#
|
8068
|
+
# information about the model package model card schema, see [Model
|
8069
|
+
# package model card schema][1]. For more information about the model
|
8070
|
+
# card associated with the model package, see [View the Details of a
|
8071
|
+
# Model Version][2].
|
8070
8072
|
#
|
8071
8073
|
#
|
8072
8074
|
#
|
8073
|
-
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
8075
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html#model-card-schema
|
8076
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
8074
8077
|
# @return [Types::ModelPackageModelCard]
|
8075
8078
|
#
|
8076
8079
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackageInput AWS API Documentation
|
@@ -15500,12 +15503,15 @@ module Aws::SageMaker
|
|
15500
15503
|
# schema of `ModelCard`. The `ModelPackageModelCard` schema does not
|
15501
15504
|
# include `model_package_details`, and `model_overview` is composed of
|
15502
15505
|
# the `model_creator` and `model_artifact` properties. For more
|
15503
|
-
# information about the model
|
15504
|
-
#
|
15506
|
+
# information about the model package model card schema, see [Model
|
15507
|
+
# package model card schema][1]. For more information about the model
|
15508
|
+
# card associated with the model package, see [View the Details of a
|
15509
|
+
# Model Version][2].
|
15505
15510
|
#
|
15506
15511
|
#
|
15507
15512
|
#
|
15508
|
-
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
15513
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html#model-card-schema
|
15514
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
15509
15515
|
# @return [Types::ModelPackageModelCard]
|
15510
15516
|
#
|
15511
15517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackageOutput AWS API Documentation
|
@@ -31737,12 +31743,15 @@ module Aws::SageMaker
|
|
31737
31743
|
# schema of `ModelCard`. The `ModelPackageModelCard` schema does not
|
31738
31744
|
# include `model_package_details`, and `model_overview` is composed of
|
31739
31745
|
# the `model_creator` and `model_artifact` properties. For more
|
31740
|
-
# information about the model
|
31741
|
-
#
|
31746
|
+
# information about the model package model card schema, see [Model
|
31747
|
+
# package model card schema][1]. For more information about the model
|
31748
|
+
# card associated with the model package, see [View the Details of a
|
31749
|
+
# Model Version][2].
|
31742
31750
|
#
|
31743
31751
|
#
|
31744
31752
|
#
|
31745
|
-
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
31753
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html#model-card-schema
|
31754
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
31746
31755
|
# @return [Types::ModelPackageModelCard]
|
31747
31756
|
#
|
31748
31757
|
# @!attribute [rw] tags
|
@@ -32006,15 +32015,23 @@ module Aws::SageMaker
|
|
32006
32015
|
# schema of `ModelCard`. The `ModelPackageModelCard` schema does not
|
32007
32016
|
# include `model_package_details`, and `model_overview` is composed of
|
32008
32017
|
# the `model_creator` and `model_artifact` properties. For more
|
32009
|
-
# information about the model
|
32010
|
-
#
|
32018
|
+
# information about the model package model card schema, see [Model
|
32019
|
+
# package model card schema][1]. For more information about the model
|
32020
|
+
# card associated with the model package, see [View the Details of a
|
32021
|
+
# Model Version][2].
|
32011
32022
|
#
|
32012
32023
|
#
|
32013
32024
|
#
|
32014
|
-
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
32025
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html#model-card-schema
|
32026
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
32015
32027
|
#
|
32016
32028
|
# @!attribute [rw] model_card_content
|
32017
|
-
# The content of the model card.
|
32029
|
+
# The content of the model card. The content must follow the schema
|
32030
|
+
# described in [Model Package Model Card Schema][1].
|
32031
|
+
#
|
32032
|
+
#
|
32033
|
+
#
|
32034
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html#model-card-schema
|
32018
32035
|
# @return [String]
|
32019
32036
|
#
|
32020
32037
|
# @!attribute [rw] model_card_status
|
@@ -35698,6 +35715,19 @@ module Aws::SageMaker
|
|
35698
35715
|
# the instances that the endpoint hosts.
|
35699
35716
|
# @return [Types::ProductionVariantRoutingConfig]
|
35700
35717
|
#
|
35718
|
+
# @!attribute [rw] inference_ami_version
|
35719
|
+
# Specifies an option from a collection of preconfigured Amazon
|
35720
|
+
# Machine Image (AMI) images. Each image is configured by Amazon Web
|
35721
|
+
# Services with a set of software and driver versions. Amazon Web
|
35722
|
+
# Services optimizes these configurations for different machine
|
35723
|
+
# learning workloads.
|
35724
|
+
#
|
35725
|
+
# By selecting an AMI version, you can ensure that your inference
|
35726
|
+
# environment is compatible with specific software requirements, such
|
35727
|
+
# as CUDA driver versions, Linux kernel versions, or Amazon Web
|
35728
|
+
# Services Neuron driver versions.
|
35729
|
+
# @return [String]
|
35730
|
+
#
|
35701
35731
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariant AWS API Documentation
|
35702
35732
|
#
|
35703
35733
|
class ProductionVariant < Struct.new(
|
@@ -35714,7 +35744,8 @@ module Aws::SageMaker
|
|
35714
35744
|
:container_startup_health_check_timeout_in_seconds,
|
35715
35745
|
:enable_ssm_access,
|
35716
35746
|
:managed_instance_scaling,
|
35717
|
-
:routing_config
|
35747
|
+
:routing_config,
|
35748
|
+
:inference_ami_version)
|
35718
35749
|
SENSITIVE = []
|
35719
35750
|
include Aws::Structure
|
35720
35751
|
end
|
@@ -44155,12 +44186,15 @@ module Aws::SageMaker
|
|
44155
44186
|
# schema of `ModelCard`. The `ModelPackageModelCard` schema does not
|
44156
44187
|
# include `model_package_details`, and `model_overview` is composed of
|
44157
44188
|
# the `model_creator` and `model_artifact` properties. For more
|
44158
|
-
# information about the model
|
44159
|
-
#
|
44189
|
+
# information about the model package model card schema, see [Model
|
44190
|
+
# package model card schema][1]. For more information about the model
|
44191
|
+
# card associated with the model package, see [View the Details of a
|
44192
|
+
# Model Version][2].
|
44160
44193
|
#
|
44161
44194
|
#
|
44162
44195
|
#
|
44163
|
-
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
44196
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html#model-card-schema
|
44197
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html
|
44164
44198
|
# @return [Types::ModelPackageModelCard]
|
44165
44199
|
#
|
44166
44200
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateModelPackageInput AWS API Documentation
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1372,7 +1372,8 @@ module Aws
|
|
1372
1372
|
}?,
|
1373
1373
|
routing_config: {
|
1374
1374
|
routing_strategy: ("LEAST_OUTSTANDING_REQUESTS" | "RANDOM")
|
1375
|
-
}
|
1375
|
+
}?,
|
1376
|
+
inference_ami_version: ("al2-ami-sagemaker-inference-gpu-2")?
|
1376
1377
|
},
|
1377
1378
|
],
|
1378
1379
|
?data_capture_config: {
|
@@ -1472,7 +1473,8 @@ module Aws
|
|
1472
1473
|
}?,
|
1473
1474
|
routing_config: {
|
1474
1475
|
routing_strategy: ("LEAST_OUTSTANDING_REQUESTS" | "RANDOM")
|
1475
|
-
}
|
1476
|
+
}?,
|
1477
|
+
inference_ami_version: ("al2-ami-sagemaker-inference-gpu-2")?
|
1476
1478
|
},
|
1477
1479
|
],
|
1478
1480
|
?execution_role_arn: ::String,
|
data/sig/types.rbs
CHANGED
@@ -7482,6 +7482,7 @@ module Aws::SageMaker
|
|
7482
7482
|
attr_accessor enable_ssm_access: bool
|
7483
7483
|
attr_accessor managed_instance_scaling: Types::ProductionVariantManagedInstanceScaling
|
7484
7484
|
attr_accessor routing_config: Types::ProductionVariantRoutingConfig
|
7485
|
+
attr_accessor inference_ami_version: ("al2-ami-sagemaker-inference-gpu-2")
|
7485
7486
|
SENSITIVE: []
|
7486
7487
|
end
|
7487
7488
|
|
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.246.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: 2024-06-
|
11
|
+
date: 2024-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.197.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.197.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|