aws-sdk-sagemaker 1.331.0 → 1.332.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: de7a7c5959ed32df768d9b1829b92dd75a699dc051513482498f4b1bc486a84c
4
- data.tar.gz: 2778e5274a3f8daec23417ff0205a0f4a5632a6b39d153711e8863c15cf952ea
3
+ metadata.gz: e92db1a0bca0067bd6c64905f27681249c6ca5d55e7ecbbb1bc37dbcddd0acfa
4
+ data.tar.gz: 9f88a3436b277a98ccf4546635a049ca47c3a17cc1ef6f316abbae43f318ff96
5
5
  SHA512:
6
- metadata.gz: e8175ca401c373a082d03f4319c56aa87c8334dfab4382505384b17749fb19634c201d05032262fca7552598fe685b378e56b75598230ae06cda0d794970b48f
7
- data.tar.gz: 4072092966576bfdcef00d1ab5bda663a2d4ad40a5150e313a809d5c9ce6df38dc3a5ee5f1b4c535dd006815a41eb2534debe0bf7f1dd808c740fb04c1c01d95
6
+ metadata.gz: c8e15dc54b611b9bc7c636d330abc6b91e2a299180dba3c29b1788c76b2c3f1ad1396513a01370c4951532166e598ec9760314e0eef927851b9d0e15225cf4f2
7
+ data.tar.gz: 3a31b9e935ef5309a8cd55c480609af0600cf2983874f0b786e5e83c4c71979e2bd5bc4668630fe9dc13c5b4df0aa1e98bf244d0df4f8a731896b6263d50bd61
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.332.0 (2025-10-24)
5
+ ------------------
6
+
7
+ * Feature - Added inference components model data caching feature
8
+
4
9
  1.331.0 (2025-10-23)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.331.0
1
+ 1.332.0
@@ -5661,6 +5661,9 @@ module Aws::SageMaker
5661
5661
  # max_memory_required_in_mb: 1,
5662
5662
  # },
5663
5663
  # base_inference_component_name: "InferenceComponentName",
5664
+ # data_cache_config: {
5665
+ # enable_caching: false, # required
5666
+ # },
5664
5667
  # },
5665
5668
  # runtime_config: {
5666
5669
  # copy_count: 1, # required
@@ -8169,6 +8172,7 @@ module Aws::SageMaker
8169
8172
  #
8170
8173
  # @option params [String] :platform_identifier
8171
8174
  # The platform identifier of the notebook instance runtime environment.
8175
+ # The default value is `notebook-al2-v2`.
8172
8176
  #
8173
8177
  # @option params [Types::InstanceMetadataServiceConfiguration] :instance_metadata_service_configuration
8174
8178
  # Information on the IMDS configuration of the notebook instance
@@ -15777,6 +15781,7 @@ module Aws::SageMaker
15777
15781
  # resp.specification.compute_resource_requirements.min_memory_required_in_mb #=> Integer
15778
15782
  # resp.specification.compute_resource_requirements.max_memory_required_in_mb #=> Integer
15779
15783
  # resp.specification.base_inference_component_name #=> String
15784
+ # resp.specification.data_cache_config.enable_caching #=> Boolean
15780
15785
  # resp.runtime_config.desired_copy_count #=> Integer
15781
15786
  # resp.runtime_config.current_copy_count #=> Integer
15782
15787
  # resp.creation_time #=> Time
@@ -29148,6 +29153,9 @@ module Aws::SageMaker
29148
29153
  # max_memory_required_in_mb: 1,
29149
29154
  # },
29150
29155
  # base_inference_component_name: "InferenceComponentName",
29156
+ # data_cache_config: {
29157
+ # enable_caching: false, # required
29158
+ # },
29151
29159
  # },
29152
29160
  # runtime_config: {
29153
29161
  # copy_count: 1, # required
@@ -31196,7 +31204,7 @@ module Aws::SageMaker
31196
31204
  tracer: tracer
31197
31205
  )
31198
31206
  context[:gem_name] = 'aws-sdk-sagemaker'
31199
- context[:gem_version] = '1.331.0'
31207
+ context[:gem_version] = '1.332.0'
31200
31208
  Seahorse::Client::Request.new(handlers, context)
31201
31209
  end
31202
31210
 
@@ -951,6 +951,7 @@ module Aws::SageMaker
951
951
  EmrServerlessComputeConfig = Shapes::StructureShape.new(name: 'EmrServerlessComputeConfig')
952
952
  EmrServerlessSettings = Shapes::StructureShape.new(name: 'EmrServerlessSettings')
953
953
  EmrSettings = Shapes::StructureShape.new(name: 'EmrSettings')
954
+ EnableCaching = Shapes::BooleanShape.new(name: 'EnableCaching')
954
955
  EnableCapture = Shapes::BooleanShape.new(name: 'EnableCapture')
955
956
  EnableInfraCheck = Shapes::BooleanShape.new(name: 'EnableInfraCheck')
956
957
  EnableIotRoleAlias = Shapes::BooleanShape.new(name: 'EnableIotRoleAlias')
@@ -1249,6 +1250,8 @@ module Aws::SageMaker
1249
1250
  InferenceComponentContainerSpecification = Shapes::StructureShape.new(name: 'InferenceComponentContainerSpecification')
1250
1251
  InferenceComponentContainerSpecificationSummary = Shapes::StructureShape.new(name: 'InferenceComponentContainerSpecificationSummary')
1251
1252
  InferenceComponentCopyCount = Shapes::IntegerShape.new(name: 'InferenceComponentCopyCount')
1253
+ InferenceComponentDataCacheConfig = Shapes::StructureShape.new(name: 'InferenceComponentDataCacheConfig')
1254
+ InferenceComponentDataCacheConfigSummary = Shapes::StructureShape.new(name: 'InferenceComponentDataCacheConfigSummary')
1252
1255
  InferenceComponentDeploymentConfig = Shapes::StructureShape.new(name: 'InferenceComponentDeploymentConfig')
1253
1256
  InferenceComponentName = Shapes::StringShape.new(name: 'InferenceComponentName')
1254
1257
  InferenceComponentNameContains = Shapes::StringShape.new(name: 'InferenceComponentNameContains')
@@ -7274,6 +7277,12 @@ module Aws::SageMaker
7274
7277
  InferenceComponentContainerSpecificationSummary.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentMap, location_name: "Environment"))
7275
7278
  InferenceComponentContainerSpecificationSummary.struct_class = Types::InferenceComponentContainerSpecificationSummary
7276
7279
 
7280
+ InferenceComponentDataCacheConfig.add_member(:enable_caching, Shapes::ShapeRef.new(shape: EnableCaching, required: true, location_name: "EnableCaching", metadata: {"box" => true}))
7281
+ InferenceComponentDataCacheConfig.struct_class = Types::InferenceComponentDataCacheConfig
7282
+
7283
+ InferenceComponentDataCacheConfigSummary.add_member(:enable_caching, Shapes::ShapeRef.new(shape: EnableCaching, required: true, location_name: "EnableCaching", metadata: {"box" => true}))
7284
+ InferenceComponentDataCacheConfigSummary.struct_class = Types::InferenceComponentDataCacheConfigSummary
7285
+
7277
7286
  InferenceComponentDeploymentConfig.add_member(:rolling_update_policy, Shapes::ShapeRef.new(shape: InferenceComponentRollingUpdatePolicy, required: true, location_name: "RollingUpdatePolicy"))
7278
7287
  InferenceComponentDeploymentConfig.add_member(:auto_rollback_configuration, Shapes::ShapeRef.new(shape: AutoRollbackConfig, location_name: "AutoRollbackConfiguration"))
7279
7288
  InferenceComponentDeploymentConfig.struct_class = Types::InferenceComponentDeploymentConfig
@@ -7296,6 +7305,7 @@ module Aws::SageMaker
7296
7305
  InferenceComponentSpecification.add_member(:startup_parameters, Shapes::ShapeRef.new(shape: InferenceComponentStartupParameters, location_name: "StartupParameters"))
7297
7306
  InferenceComponentSpecification.add_member(:compute_resource_requirements, Shapes::ShapeRef.new(shape: InferenceComponentComputeResourceRequirements, location_name: "ComputeResourceRequirements"))
7298
7307
  InferenceComponentSpecification.add_member(:base_inference_component_name, Shapes::ShapeRef.new(shape: InferenceComponentName, location_name: "BaseInferenceComponentName"))
7308
+ InferenceComponentSpecification.add_member(:data_cache_config, Shapes::ShapeRef.new(shape: InferenceComponentDataCacheConfig, location_name: "DataCacheConfig"))
7299
7309
  InferenceComponentSpecification.struct_class = Types::InferenceComponentSpecification
7300
7310
 
7301
7311
  InferenceComponentSpecificationSummary.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
@@ -7303,6 +7313,7 @@ module Aws::SageMaker
7303
7313
  InferenceComponentSpecificationSummary.add_member(:startup_parameters, Shapes::ShapeRef.new(shape: InferenceComponentStartupParameters, location_name: "StartupParameters"))
7304
7314
  InferenceComponentSpecificationSummary.add_member(:compute_resource_requirements, Shapes::ShapeRef.new(shape: InferenceComponentComputeResourceRequirements, location_name: "ComputeResourceRequirements"))
7305
7315
  InferenceComponentSpecificationSummary.add_member(:base_inference_component_name, Shapes::ShapeRef.new(shape: InferenceComponentName, location_name: "BaseInferenceComponentName"))
7316
+ InferenceComponentSpecificationSummary.add_member(:data_cache_config, Shapes::ShapeRef.new(shape: InferenceComponentDataCacheConfigSummary, location_name: "DataCacheConfig"))
7306
7317
  InferenceComponentSpecificationSummary.struct_class = Types::InferenceComponentSpecificationSummary
7307
7318
 
7308
7319
  InferenceComponentStartupParameters.add_member(:model_data_download_timeout_in_seconds, Shapes::ShapeRef.new(shape: ProductionVariantModelDataDownloadTimeoutInSeconds, location_name: "ModelDataDownloadTimeoutInSeconds"))
@@ -10635,7 +10635,7 @@ module Aws::SageMaker
10635
10635
  #
10636
10636
  # @!attribute [rw] platform_identifier
10637
10637
  # The platform identifier of the notebook instance runtime
10638
- # environment.
10638
+ # environment. The default value is `notebook-al2-v2`.
10639
10639
  # @return [String]
10640
10640
  #
10641
10641
  # @!attribute [rw] instance_metadata_service_configuration
@@ -27531,6 +27531,42 @@ module Aws::SageMaker
27531
27531
  include Aws::Structure
27532
27532
  end
27533
27533
 
27534
+ # Settings that affect how the inference component caches data.
27535
+ #
27536
+ # @!attribute [rw] enable_caching
27537
+ # Sets whether the endpoint that hosts the inference component caches
27538
+ # the model artifacts and container image.
27539
+ #
27540
+ # With caching enabled, the endpoint caches this data in each instance
27541
+ # that it provisions for the inference component. That way, the
27542
+ # inference component deploys faster during the auto scaling process.
27543
+ # If caching isn't enabled, the inference component takes longer to
27544
+ # deploy because of the time it spends downloading the data.
27545
+ # @return [Boolean]
27546
+ #
27547
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceComponentDataCacheConfig AWS API Documentation
27548
+ #
27549
+ class InferenceComponentDataCacheConfig < Struct.new(
27550
+ :enable_caching)
27551
+ SENSITIVE = []
27552
+ include Aws::Structure
27553
+ end
27554
+
27555
+ # Settings that affect how the inference component caches data.
27556
+ #
27557
+ # @!attribute [rw] enable_caching
27558
+ # Indicates whether the inference component caches model artifacts as
27559
+ # part of the auto scaling process.
27560
+ # @return [Boolean]
27561
+ #
27562
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceComponentDataCacheConfigSummary AWS API Documentation
27563
+ #
27564
+ class InferenceComponentDataCacheConfigSummary < Struct.new(
27565
+ :enable_caching)
27566
+ SENSITIVE = []
27567
+ include Aws::Structure
27568
+ end
27569
+
27534
27570
  # The deployment configuration for an endpoint that hosts inference
27535
27571
  # components. The configuration includes the desired deployment strategy
27536
27572
  # and rollback settings.
@@ -27681,6 +27717,10 @@ module Aws::SageMaker
27681
27717
  # that you want to adapt.
27682
27718
  # @return [String]
27683
27719
  #
27720
+ # @!attribute [rw] data_cache_config
27721
+ # Settings that affect how the inference component caches data.
27722
+ # @return [Types::InferenceComponentDataCacheConfig]
27723
+ #
27684
27724
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceComponentSpecification AWS API Documentation
27685
27725
  #
27686
27726
  class InferenceComponentSpecification < Struct.new(
@@ -27688,7 +27728,8 @@ module Aws::SageMaker
27688
27728
  :container,
27689
27729
  :startup_parameters,
27690
27730
  :compute_resource_requirements,
27691
- :base_inference_component_name)
27731
+ :base_inference_component_name,
27732
+ :data_cache_config)
27692
27733
  SENSITIVE = []
27693
27734
  include Aws::Structure
27694
27735
  end
@@ -27720,6 +27761,10 @@ module Aws::SageMaker
27720
27761
  # inference component.
27721
27762
  # @return [String]
27722
27763
  #
27764
+ # @!attribute [rw] data_cache_config
27765
+ # Settings that affect how the inference component caches data.
27766
+ # @return [Types::InferenceComponentDataCacheConfigSummary]
27767
+ #
27723
27768
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceComponentSpecificationSummary AWS API Documentation
27724
27769
  #
27725
27770
  class InferenceComponentSpecificationSummary < Struct.new(
@@ -27727,7 +27772,8 @@ module Aws::SageMaker
27727
27772
  :container,
27728
27773
  :startup_parameters,
27729
27774
  :compute_resource_requirements,
27730
- :base_inference_component_name)
27775
+ :base_inference_component_name,
27776
+ :data_cache_config)
27731
27777
  SENSITIVE = []
27732
27778
  include Aws::Structure
27733
27779
  end
@@ -41563,7 +41609,7 @@ module Aws::SageMaker
41563
41609
  # @!attribute [rw] s3_data_distribution_type
41564
41610
  # Whether to distribute the data from Amazon S3 to all processing
41565
41611
  # instances with `FullyReplicated`, or whether the data from Amazon S3
41566
- # is shared by Amazon S3 key, downloading one shard of data to each
41612
+ # is sharded by Amazon S3 key, downloading one shard of data to each
41567
41613
  # processing instance.
41568
41614
  # @return [String]
41569
41615
  #
@@ -55,7 +55,7 @@ module Aws::SageMaker
55
55
  autoload :EndpointProvider, 'aws-sdk-sagemaker/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-sagemaker/endpoints'
57
57
 
58
- GEM_VERSION = '1.331.0'
58
+ GEM_VERSION = '1.332.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -2494,7 +2494,10 @@ module Aws
2494
2494
  min_memory_required_in_mb: ::Integer,
2495
2495
  max_memory_required_in_mb: ::Integer?
2496
2496
  }?,
2497
- base_inference_component_name: ::String?
2497
+ base_inference_component_name: ::String?,
2498
+ data_cache_config: {
2499
+ enable_caching: bool
2500
+ }?
2498
2501
  },
2499
2502
  ?runtime_config: {
2500
2503
  copy_count: ::Integer
@@ -9771,7 +9774,10 @@ module Aws
9771
9774
  min_memory_required_in_mb: ::Integer,
9772
9775
  max_memory_required_in_mb: ::Integer?
9773
9776
  }?,
9774
- base_inference_component_name: ::String?
9777
+ base_inference_component_name: ::String?,
9778
+ data_cache_config: {
9779
+ enable_caching: bool
9780
+ }?
9775
9781
  },
9776
9782
  ?runtime_config: {
9777
9783
  copy_count: ::Integer
data/sig/types.rbs CHANGED
@@ -5619,6 +5619,16 @@ module Aws::SageMaker
5619
5619
  SENSITIVE: []
5620
5620
  end
5621
5621
 
5622
+ class InferenceComponentDataCacheConfig
5623
+ attr_accessor enable_caching: bool
5624
+ SENSITIVE: []
5625
+ end
5626
+
5627
+ class InferenceComponentDataCacheConfigSummary
5628
+ attr_accessor enable_caching: bool
5629
+ SENSITIVE: []
5630
+ end
5631
+
5622
5632
  class InferenceComponentDeploymentConfig
5623
5633
  attr_accessor rolling_update_policy: Types::InferenceComponentRollingUpdatePolicy
5624
5634
  attr_accessor auto_rollback_configuration: Types::AutoRollbackConfig
@@ -5650,6 +5660,7 @@ module Aws::SageMaker
5650
5660
  attr_accessor startup_parameters: Types::InferenceComponentStartupParameters
5651
5661
  attr_accessor compute_resource_requirements: Types::InferenceComponentComputeResourceRequirements
5652
5662
  attr_accessor base_inference_component_name: ::String
5663
+ attr_accessor data_cache_config: Types::InferenceComponentDataCacheConfig
5653
5664
  SENSITIVE: []
5654
5665
  end
5655
5666
 
@@ -5659,6 +5670,7 @@ module Aws::SageMaker
5659
5670
  attr_accessor startup_parameters: Types::InferenceComponentStartupParameters
5660
5671
  attr_accessor compute_resource_requirements: Types::InferenceComponentComputeResourceRequirements
5661
5672
  attr_accessor base_inference_component_name: ::String
5673
+ attr_accessor data_cache_config: Types::InferenceComponentDataCacheConfigSummary
5662
5674
  SENSITIVE: []
5663
5675
  end
5664
5676
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sagemaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.331.0
4
+ version: 1.332.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services