aws-sdk-sagemaker 1.245.0 → 1.246.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: 06aea84041a7e372234f11201e88c97d5b086d62e40a40ea8c05f5fa6ddeea94
4
- data.tar.gz: 3a22a5399d99389dfbb83761065bb728dc0106279c20e7a591f24f505056e015
3
+ metadata.gz: bf861440b8656d113458819c77b3acb877bfdba32b25141cce94a371a4cdc24a
4
+ data.tar.gz: 834fdc5354f1dc3ea86908d6539ceb1c063a5001de60f6d10408483a8b1f0db6
5
5
  SHA512:
6
- metadata.gz: f326386cc0d8e2bf6d10e120b084c31135016f0938ed202f4d26aa5c3d9082ee004041c25b22536db9eee27e35ff7254b7d6d635630b1b066e94b31782ea33e2
7
- data.tar.gz: 57799da6d9f1f45c03065f04f49e97f9d4b074554af54a7d789a96eb13e3a0b7bd48c9af0a40ba182739f614f0165311bf5452ac23061c663703f73c23d985ad
6
+ metadata.gz: 3415a59aad19abc82407f505281d0558f5cc33437b370e98e6aff65d808ca42f29715ecb26bc35ae72624daf0941b1c8f255b0d06c10b7274e6c9360415c6121
7
+ data.tar.gz: a3a7cd25197fa7ff9cf34d2e22dd369ad3b227f943fecd2a522708a6d5674e55a4f70af1b03e82c1c073bdefafc5c830b7ea5ccad97df13513d398e55deda872
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.245.0 (2024-06-05)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.245.0
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 card associated with the model package,
6183
- # see [View the Details of a Model Version][1].
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 card associated with the model package,
24991
- # see [View the Details of a Model Version][1].
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.245.0'
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 card associated with the model package,
8069
- # see [View the Details of a Model Version][1].
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 card associated with the model package,
15504
- # see [View the Details of a Model Version][1].
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 card associated with the model package,
31741
- # see [View the Details of a Model Version][1].
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 card associated with the model package,
32010
- # see [View the Details of a Model Version][1].
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 card associated with the model package,
44159
- # see [View the Details of a Model Version][1].
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
@@ -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.245.0'
56
+ GEM_VERSION = '1.246.0'
57
57
 
58
58
  end
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.245.0
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-05 00:00:00.000000000 Z
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