aws-sdk-sagemaker 1.177.0 → 1.178.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +21 -3
- data/lib/aws-sdk-sagemaker/client_api.rb +8 -0
- data/lib/aws-sdk-sagemaker/types.rb +43 -5
- 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: 39deb42a1839faf133f0296385bdf82ebd71882c855d12ca7745971a8c199c2f
|
4
|
+
data.tar.gz: 9350f747a99cd0e3624d73144aba06f5ea2cfb73795a2513a1e69f0127a08a5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 856478c7b15340580eeaff6216c92602f11279bf7edd5bc32dca20ad935851f25a3cd3129ee523ffa149bd6547d3642942c4ad114718b04ab8df2fb264b57316
|
7
|
+
data.tar.gz: 16fbd20b6dd23697918673ec0212dec73abe941fe437688b07bb754f3ae94374023b7fc2a3db0c84875c788e74c52076ca9c3fc19b70b59f57b84918035a0124
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.178.0 (2023-05-09)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release includes support for (1) Provisioned Concurrency for Amazon SageMaker Serverless Inference and (2) UpdateEndpointWeightsAndCapacities API for Serverless endpoints.
|
8
|
+
|
4
9
|
1.177.0 (2023-05-04)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.178.0
|
@@ -2139,7 +2139,8 @@ module Aws::SageMaker
|
|
2139
2139
|
# inter-app communication in `VPCOnly` mode. Required when
|
2140
2140
|
# `CreateDomain.AppNetworkAccessType` is `VPCOnly` and
|
2141
2141
|
# `DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn`
|
2142
|
-
# is provided.
|
2142
|
+
# is provided. If setting up the domain for use with RStudio, this value
|
2143
|
+
# must be set to `Service`.
|
2143
2144
|
#
|
2144
2145
|
# @option params [Types::DomainSettings] :domain_settings
|
2145
2146
|
# A collection of `Domain` settings.
|
@@ -2826,6 +2827,7 @@ module Aws::SageMaker
|
|
2826
2827
|
# serverless_config: {
|
2827
2828
|
# memory_size_in_mb: 1, # required
|
2828
2829
|
# max_concurrency: 1, # required
|
2830
|
+
# provisioned_concurrency: 1,
|
2829
2831
|
# },
|
2830
2832
|
# volume_size_in_gb: 1,
|
2831
2833
|
# model_data_download_timeout_in_seconds: 1,
|
@@ -2917,6 +2919,7 @@ module Aws::SageMaker
|
|
2917
2919
|
# serverless_config: {
|
2918
2920
|
# memory_size_in_mb: 1, # required
|
2919
2921
|
# max_concurrency: 1, # required
|
2922
|
+
# provisioned_concurrency: 1,
|
2920
2923
|
# },
|
2921
2924
|
# volume_size_in_gb: 1,
|
2922
2925
|
# model_data_download_timeout_in_seconds: 1,
|
@@ -10833,8 +10836,10 @@ module Aws::SageMaker
|
|
10833
10836
|
# resp.production_variants[0].variant_status[0].start_time #=> Time
|
10834
10837
|
# resp.production_variants[0].current_serverless_config.memory_size_in_mb #=> Integer
|
10835
10838
|
# resp.production_variants[0].current_serverless_config.max_concurrency #=> Integer
|
10839
|
+
# resp.production_variants[0].current_serverless_config.provisioned_concurrency #=> Integer
|
10836
10840
|
# resp.production_variants[0].desired_serverless_config.memory_size_in_mb #=> Integer
|
10837
10841
|
# resp.production_variants[0].desired_serverless_config.max_concurrency #=> Integer
|
10842
|
+
# resp.production_variants[0].desired_serverless_config.provisioned_concurrency #=> Integer
|
10838
10843
|
# resp.data_capture_config.enable_capture #=> Boolean
|
10839
10844
|
# resp.data_capture_config.capture_status #=> String, one of "Started", "Stopped"
|
10840
10845
|
# resp.data_capture_config.current_sampling_percentage #=> Integer
|
@@ -10881,8 +10886,10 @@ module Aws::SageMaker
|
|
10881
10886
|
# resp.pending_deployment_summary.production_variants[0].variant_status[0].start_time #=> Time
|
10882
10887
|
# resp.pending_deployment_summary.production_variants[0].current_serverless_config.memory_size_in_mb #=> Integer
|
10883
10888
|
# resp.pending_deployment_summary.production_variants[0].current_serverless_config.max_concurrency #=> Integer
|
10889
|
+
# resp.pending_deployment_summary.production_variants[0].current_serverless_config.provisioned_concurrency #=> Integer
|
10884
10890
|
# resp.pending_deployment_summary.production_variants[0].desired_serverless_config.memory_size_in_mb #=> Integer
|
10885
10891
|
# resp.pending_deployment_summary.production_variants[0].desired_serverless_config.max_concurrency #=> Integer
|
10892
|
+
# resp.pending_deployment_summary.production_variants[0].desired_serverless_config.provisioned_concurrency #=> Integer
|
10886
10893
|
# resp.pending_deployment_summary.start_time #=> Time
|
10887
10894
|
# resp.pending_deployment_summary.shadow_production_variants #=> Array
|
10888
10895
|
# resp.pending_deployment_summary.shadow_production_variants[0].variant_name #=> String
|
@@ -10902,8 +10909,10 @@ module Aws::SageMaker
|
|
10902
10909
|
# resp.pending_deployment_summary.shadow_production_variants[0].variant_status[0].start_time #=> Time
|
10903
10910
|
# resp.pending_deployment_summary.shadow_production_variants[0].current_serverless_config.memory_size_in_mb #=> Integer
|
10904
10911
|
# resp.pending_deployment_summary.shadow_production_variants[0].current_serverless_config.max_concurrency #=> Integer
|
10912
|
+
# resp.pending_deployment_summary.shadow_production_variants[0].current_serverless_config.provisioned_concurrency #=> Integer
|
10905
10913
|
# resp.pending_deployment_summary.shadow_production_variants[0].desired_serverless_config.memory_size_in_mb #=> Integer
|
10906
10914
|
# resp.pending_deployment_summary.shadow_production_variants[0].desired_serverless_config.max_concurrency #=> Integer
|
10915
|
+
# resp.pending_deployment_summary.shadow_production_variants[0].desired_serverless_config.provisioned_concurrency #=> Integer
|
10907
10916
|
# resp.explainer_config.clarify_explainer_config.enable_explanations #=> String
|
10908
10917
|
# resp.explainer_config.clarify_explainer_config.inference_config.features_attribute #=> String
|
10909
10918
|
# resp.explainer_config.clarify_explainer_config.inference_config.content_template #=> String
|
@@ -10943,8 +10952,10 @@ module Aws::SageMaker
|
|
10943
10952
|
# resp.shadow_production_variants[0].variant_status[0].start_time #=> Time
|
10944
10953
|
# resp.shadow_production_variants[0].current_serverless_config.memory_size_in_mb #=> Integer
|
10945
10954
|
# resp.shadow_production_variants[0].current_serverless_config.max_concurrency #=> Integer
|
10955
|
+
# resp.shadow_production_variants[0].current_serverless_config.provisioned_concurrency #=> Integer
|
10946
10956
|
# resp.shadow_production_variants[0].desired_serverless_config.memory_size_in_mb #=> Integer
|
10947
10957
|
# resp.shadow_production_variants[0].desired_serverless_config.max_concurrency #=> Integer
|
10958
|
+
# resp.shadow_production_variants[0].desired_serverless_config.provisioned_concurrency #=> Integer
|
10948
10959
|
#
|
10949
10960
|
#
|
10950
10961
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -11000,6 +11011,7 @@ module Aws::SageMaker
|
|
11000
11011
|
# resp.production_variants[0].core_dump_config.kms_key_id #=> String
|
11001
11012
|
# resp.production_variants[0].serverless_config.memory_size_in_mb #=> Integer
|
11002
11013
|
# resp.production_variants[0].serverless_config.max_concurrency #=> Integer
|
11014
|
+
# resp.production_variants[0].serverless_config.provisioned_concurrency #=> Integer
|
11003
11015
|
# resp.production_variants[0].volume_size_in_gb #=> Integer
|
11004
11016
|
# resp.production_variants[0].model_data_download_timeout_in_seconds #=> Integer
|
11005
11017
|
# resp.production_variants[0].container_startup_health_check_timeout_in_seconds #=> Integer
|
@@ -11058,6 +11070,7 @@ module Aws::SageMaker
|
|
11058
11070
|
# resp.shadow_production_variants[0].core_dump_config.kms_key_id #=> String
|
11059
11071
|
# resp.shadow_production_variants[0].serverless_config.memory_size_in_mb #=> Integer
|
11060
11072
|
# resp.shadow_production_variants[0].serverless_config.max_concurrency #=> Integer
|
11073
|
+
# resp.shadow_production_variants[0].serverless_config.provisioned_concurrency #=> Integer
|
11061
11074
|
# resp.shadow_production_variants[0].volume_size_in_gb #=> Integer
|
11062
11075
|
# resp.shadow_production_variants[0].model_data_download_timeout_in_seconds #=> Integer
|
11063
11076
|
# resp.shadow_production_variants[0].container_startup_health_check_timeout_in_seconds #=> Integer
|
@@ -21428,7 +21441,8 @@ module Aws::SageMaker
|
|
21428
21441
|
# inter-app communication in `VPCOnly` mode. Required when
|
21429
21442
|
# `CreateDomain.AppNetworkAccessType` is `VPCOnly` and
|
21430
21443
|
# `DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn`
|
21431
|
-
# is provided.
|
21444
|
+
# is provided. If setting up the domain for use with RStudio, this value
|
21445
|
+
# must be set to `Service`.
|
21432
21446
|
#
|
21433
21447
|
# @return [Types::UpdateDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
21434
21448
|
#
|
@@ -21731,6 +21745,10 @@ module Aws::SageMaker
|
|
21731
21745
|
# variant_name: "VariantName", # required
|
21732
21746
|
# desired_weight: 1.0,
|
21733
21747
|
# desired_instance_count: 1,
|
21748
|
+
# serverless_update_config: {
|
21749
|
+
# max_concurrency: 1,
|
21750
|
+
# provisioned_concurrency: 1,
|
21751
|
+
# },
|
21734
21752
|
# },
|
21735
21753
|
# ],
|
21736
21754
|
# })
|
@@ -23472,7 +23490,7 @@ module Aws::SageMaker
|
|
23472
23490
|
params: params,
|
23473
23491
|
config: config)
|
23474
23492
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
23475
|
-
context[:gem_version] = '1.
|
23493
|
+
context[:gem_version] = '1.178.0'
|
23476
23494
|
Seahorse::Client::Request.new(handlers, context)
|
23477
23495
|
end
|
23478
23496
|
|
@@ -1513,6 +1513,7 @@ module Aws::SageMaker
|
|
1513
1513
|
ProductionVariantModelDataDownloadTimeoutInSeconds = Shapes::IntegerShape.new(name: 'ProductionVariantModelDataDownloadTimeoutInSeconds')
|
1514
1514
|
ProductionVariantSSMAccess = Shapes::BooleanShape.new(name: 'ProductionVariantSSMAccess')
|
1515
1515
|
ProductionVariantServerlessConfig = Shapes::StructureShape.new(name: 'ProductionVariantServerlessConfig')
|
1516
|
+
ProductionVariantServerlessUpdateConfig = Shapes::StructureShape.new(name: 'ProductionVariantServerlessUpdateConfig')
|
1516
1517
|
ProductionVariantStatus = Shapes::StructureShape.new(name: 'ProductionVariantStatus')
|
1517
1518
|
ProductionVariantStatusList = Shapes::ListShape.new(name: 'ProductionVariantStatusList')
|
1518
1519
|
ProductionVariantSummary = Shapes::StructureShape.new(name: 'ProductionVariantSummary')
|
@@ -1673,6 +1674,7 @@ module Aws::SageMaker
|
|
1673
1674
|
SendPipelineExecutionStepSuccessResponse = Shapes::StructureShape.new(name: 'SendPipelineExecutionStepSuccessResponse')
|
1674
1675
|
ServerlessMaxConcurrency = Shapes::IntegerShape.new(name: 'ServerlessMaxConcurrency')
|
1675
1676
|
ServerlessMemorySizeInMB = Shapes::IntegerShape.new(name: 'ServerlessMemorySizeInMB')
|
1677
|
+
ServerlessProvisionedConcurrency = Shapes::IntegerShape.new(name: 'ServerlessProvisionedConcurrency')
|
1676
1678
|
ServiceCatalogEntityId = Shapes::StringShape.new(name: 'ServiceCatalogEntityId')
|
1677
1679
|
ServiceCatalogProvisionedProductDetails = Shapes::StructureShape.new(name: 'ServiceCatalogProvisionedProductDetails')
|
1678
1680
|
ServiceCatalogProvisioningDetails = Shapes::StructureShape.new(name: 'ServiceCatalogProvisioningDetails')
|
@@ -4624,6 +4626,7 @@ module Aws::SageMaker
|
|
4624
4626
|
DesiredWeightAndCapacity.add_member(:variant_name, Shapes::ShapeRef.new(shape: VariantName, required: true, location_name: "VariantName"))
|
4625
4627
|
DesiredWeightAndCapacity.add_member(:desired_weight, Shapes::ShapeRef.new(shape: VariantWeight, location_name: "DesiredWeight"))
|
4626
4628
|
DesiredWeightAndCapacity.add_member(:desired_instance_count, Shapes::ShapeRef.new(shape: TaskCount, location_name: "DesiredInstanceCount"))
|
4629
|
+
DesiredWeightAndCapacity.add_member(:serverless_update_config, Shapes::ShapeRef.new(shape: ProductionVariantServerlessUpdateConfig, location_name: "ServerlessUpdateConfig"))
|
4627
4630
|
DesiredWeightAndCapacity.struct_class = Types::DesiredWeightAndCapacity
|
4628
4631
|
|
4629
4632
|
DesiredWeightAndCapacityList.member = Shapes::ShapeRef.new(shape: DesiredWeightAndCapacity)
|
@@ -7542,8 +7545,13 @@ module Aws::SageMaker
|
|
7542
7545
|
|
7543
7546
|
ProductionVariantServerlessConfig.add_member(:memory_size_in_mb, Shapes::ShapeRef.new(shape: ServerlessMemorySizeInMB, required: true, location_name: "MemorySizeInMB"))
|
7544
7547
|
ProductionVariantServerlessConfig.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: ServerlessMaxConcurrency, required: true, location_name: "MaxConcurrency"))
|
7548
|
+
ProductionVariantServerlessConfig.add_member(:provisioned_concurrency, Shapes::ShapeRef.new(shape: ServerlessProvisionedConcurrency, location_name: "ProvisionedConcurrency"))
|
7545
7549
|
ProductionVariantServerlessConfig.struct_class = Types::ProductionVariantServerlessConfig
|
7546
7550
|
|
7551
|
+
ProductionVariantServerlessUpdateConfig.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: ServerlessMaxConcurrency, location_name: "MaxConcurrency"))
|
7552
|
+
ProductionVariantServerlessUpdateConfig.add_member(:provisioned_concurrency, Shapes::ShapeRef.new(shape: ServerlessProvisionedConcurrency, location_name: "ProvisionedConcurrency"))
|
7553
|
+
ProductionVariantServerlessUpdateConfig.struct_class = Types::ProductionVariantServerlessUpdateConfig
|
7554
|
+
|
7547
7555
|
ProductionVariantStatus.add_member(:status, Shapes::ShapeRef.new(shape: VariantStatus, required: true, location_name: "Status"))
|
7548
7556
|
ProductionVariantStatus.add_member(:status_message, Shapes::ShapeRef.new(shape: VariantStatusMessage, location_name: "StatusMessage"))
|
7549
7557
|
ProductionVariantStatus.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
|
@@ -5022,7 +5022,8 @@ module Aws::SageMaker
|
|
5022
5022
|
# inter-app communication in `VPCOnly` mode. Required when
|
5023
5023
|
# `CreateDomain.AppNetworkAccessType` is `VPCOnly` and
|
5024
5024
|
# `DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn`
|
5025
|
-
# is provided.
|
5025
|
+
# is provided. If setting up the domain for use with RStudio, this
|
5026
|
+
# value must be set to `Service`.
|
5026
5027
|
# @return [String]
|
5027
5028
|
#
|
5028
5029
|
# @!attribute [rw] domain_settings
|
@@ -15618,12 +15619,18 @@ module Aws::SageMaker
|
|
15618
15619
|
# The variant's capacity.
|
15619
15620
|
# @return [Integer]
|
15620
15621
|
#
|
15622
|
+
# @!attribute [rw] serverless_update_config
|
15623
|
+
# Specifies the serverless update concurrency configuration for an
|
15624
|
+
# endpoint variant.
|
15625
|
+
# @return [Types::ProductionVariantServerlessUpdateConfig]
|
15626
|
+
#
|
15621
15627
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DesiredWeightAndCapacity AWS API Documentation
|
15622
15628
|
#
|
15623
15629
|
class DesiredWeightAndCapacity < Struct.new(
|
15624
15630
|
:variant_name,
|
15625
15631
|
:desired_weight,
|
15626
|
-
:desired_instance_count
|
15632
|
+
:desired_instance_count,
|
15633
|
+
:serverless_update_config)
|
15627
15634
|
SENSITIVE = []
|
15628
15635
|
include Aws::Structure
|
15629
15636
|
end
|
@@ -15973,7 +15980,8 @@ module Aws::SageMaker
|
|
15973
15980
|
#
|
15974
15981
|
# @!attribute [rw] r_studio_server_pro_domain_settings_for_update
|
15975
15982
|
# A collection of `RStudioServerPro` Domain-level app settings to
|
15976
|
-
# update.
|
15983
|
+
# update. A single `RStudioServerPro` application is created for a
|
15984
|
+
# domain.
|
15977
15985
|
# @return [Types::RStudioServerProDomainSettingsForUpdate]
|
15978
15986
|
#
|
15979
15987
|
# @!attribute [rw] execution_role_identity_config
|
@@ -32378,11 +32386,40 @@ module Aws::SageMaker
|
|
32378
32386
|
# endpoint can process.
|
32379
32387
|
# @return [Integer]
|
32380
32388
|
#
|
32389
|
+
# @!attribute [rw] provisioned_concurrency
|
32390
|
+
# The amount of provisioned concurrency to allocate for the serverless
|
32391
|
+
# endpoint. Should be less than or equal to `MaxConcurrency`.
|
32392
|
+
# @return [Integer]
|
32393
|
+
#
|
32381
32394
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariantServerlessConfig AWS API Documentation
|
32382
32395
|
#
|
32383
32396
|
class ProductionVariantServerlessConfig < Struct.new(
|
32384
32397
|
:memory_size_in_mb,
|
32385
|
-
:max_concurrency
|
32398
|
+
:max_concurrency,
|
32399
|
+
:provisioned_concurrency)
|
32400
|
+
SENSITIVE = []
|
32401
|
+
include Aws::Structure
|
32402
|
+
end
|
32403
|
+
|
32404
|
+
# Specifies the serverless update concurrency configuration for an
|
32405
|
+
# endpoint variant.
|
32406
|
+
#
|
32407
|
+
# @!attribute [rw] max_concurrency
|
32408
|
+
# The updated maximum number of concurrent invocations your serverless
|
32409
|
+
# endpoint can process.
|
32410
|
+
# @return [Integer]
|
32411
|
+
#
|
32412
|
+
# @!attribute [rw] provisioned_concurrency
|
32413
|
+
# The updated amount of provisioned concurrency to allocate for the
|
32414
|
+
# serverless endpoint. Should be less than or equal to
|
32415
|
+
# `MaxConcurrency`.
|
32416
|
+
# @return [Integer]
|
32417
|
+
#
|
32418
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariantServerlessUpdateConfig AWS API Documentation
|
32419
|
+
#
|
32420
|
+
class ProductionVariantServerlessUpdateConfig < Struct.new(
|
32421
|
+
:max_concurrency,
|
32422
|
+
:provisioned_concurrency)
|
32386
32423
|
SENSITIVE = []
|
32387
32424
|
include Aws::Structure
|
32388
32425
|
end
|
@@ -38459,7 +38496,8 @@ module Aws::SageMaker
|
|
38459
38496
|
# inter-app communication in `VPCOnly` mode. Required when
|
38460
38497
|
# `CreateDomain.AppNetworkAccessType` is `VPCOnly` and
|
38461
38498
|
# `DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn`
|
38462
|
-
# is provided.
|
38499
|
+
# is provided. If setting up the domain for use with RStudio, this
|
38500
|
+
# value must be set to `Service`.
|
38463
38501
|
# @return [String]
|
38464
38502
|
#
|
38465
38503
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDomainRequest AWS API Documentation
|
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.178.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: 2023-05-
|
11
|
+
date: 2023-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|