aws-sdk-sagemaker 1.192.0 → 1.193.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 +37 -7
- data/lib/aws-sdk-sagemaker/client_api.rb +9 -1
- data/lib/aws-sdk-sagemaker/types.rb +56 -2
- 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: e8563212194efe3f885db18ded340750c68719059405c10110a98fe0a254de83
|
4
|
+
data.tar.gz: 8c32b946394f67fac58c560a9a048ec39d56ab2ea1f1416484de48dbeb99947c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1632e061172d86fd8998029d2b91c397c527dc6329297cacff63dd191a7b81e349ad4ba938c85a178d7056a47b4bbe084f7adc327087dc8c652d87effcc75be5
|
7
|
+
data.tar.gz: 6e7c6e026568146cea2404421c7ce6028e509a6d042af8c25ede1c4e5b141f0b89303e1c4d801d7405338204ea4f27d75c1f7670de963cb6593951988c110559
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.193.0
|
@@ -2719,7 +2719,7 @@ module Aws::SageMaker
|
|
2719
2719
|
# endpoint_name: "EndpointName", # required
|
2720
2720
|
# endpoint_config_name: "EndpointConfigName", # required
|
2721
2721
|
# deployment_config: {
|
2722
|
-
# blue_green_update_policy: {
|
2722
|
+
# blue_green_update_policy: {
|
2723
2723
|
# traffic_routing_configuration: { # required
|
2724
2724
|
# type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY, LINEAR
|
2725
2725
|
# wait_interval_in_seconds: 1, # required
|
@@ -2742,6 +2742,18 @@ module Aws::SageMaker
|
|
2742
2742
|
# },
|
2743
2743
|
# ],
|
2744
2744
|
# },
|
2745
|
+
# rolling_update_policy: {
|
2746
|
+
# maximum_batch_size: { # required
|
2747
|
+
# type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
|
2748
|
+
# value: 1, # required
|
2749
|
+
# },
|
2750
|
+
# wait_interval_in_seconds: 1, # required
|
2751
|
+
# maximum_execution_timeout_in_seconds: 1,
|
2752
|
+
# rollback_maximum_batch_size: {
|
2753
|
+
# type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
|
2754
|
+
# value: 1, # required
|
2755
|
+
# },
|
2756
|
+
# },
|
2745
2757
|
# },
|
2746
2758
|
# tags: [
|
2747
2759
|
# {
|
@@ -11078,7 +11090,7 @@ module Aws::SageMaker
|
|
11078
11090
|
# resp.data_capture_config.current_sampling_percentage #=> Integer
|
11079
11091
|
# resp.data_capture_config.destination_s3_uri #=> String
|
11080
11092
|
# resp.data_capture_config.kms_key_id #=> String
|
11081
|
-
# resp.endpoint_status #=> String, one of "OutOfService", "Creating", "Updating", "SystemUpdating", "RollingBack", "InService", "Deleting", "Failed"
|
11093
|
+
# resp.endpoint_status #=> String, one of "OutOfService", "Creating", "Updating", "SystemUpdating", "RollingBack", "InService", "Deleting", "Failed", "UpdateRollbackFailed"
|
11082
11094
|
# resp.failure_reason #=> String
|
11083
11095
|
# resp.creation_time #=> Time
|
11084
11096
|
# resp.last_modified_time #=> Time
|
@@ -11092,6 +11104,12 @@ module Aws::SageMaker
|
|
11092
11104
|
# resp.last_deployment_config.blue_green_update_policy.maximum_execution_timeout_in_seconds #=> Integer
|
11093
11105
|
# resp.last_deployment_config.auto_rollback_configuration.alarms #=> Array
|
11094
11106
|
# resp.last_deployment_config.auto_rollback_configuration.alarms[0].alarm_name #=> String
|
11107
|
+
# resp.last_deployment_config.rolling_update_policy.maximum_batch_size.type #=> String, one of "INSTANCE_COUNT", "CAPACITY_PERCENT"
|
11108
|
+
# resp.last_deployment_config.rolling_update_policy.maximum_batch_size.value #=> Integer
|
11109
|
+
# resp.last_deployment_config.rolling_update_policy.wait_interval_in_seconds #=> Integer
|
11110
|
+
# resp.last_deployment_config.rolling_update_policy.maximum_execution_timeout_in_seconds #=> Integer
|
11111
|
+
# resp.last_deployment_config.rolling_update_policy.rollback_maximum_batch_size.type #=> String, one of "INSTANCE_COUNT", "CAPACITY_PERCENT"
|
11112
|
+
# resp.last_deployment_config.rolling_update_policy.rollback_maximum_batch_size.value #=> Integer
|
11095
11113
|
# resp.async_inference_config.client_config.max_concurrent_invocations_per_instance #=> Integer
|
11096
11114
|
# resp.async_inference_config.output_config.kms_key_id #=> String
|
11097
11115
|
# resp.async_inference_config.output_config.s3_output_path #=> String
|
@@ -12190,7 +12208,7 @@ module Aws::SageMaker
|
|
12190
12208
|
# resp.role_arn #=> String
|
12191
12209
|
# resp.endpoint_metadata.endpoint_name #=> String
|
12192
12210
|
# resp.endpoint_metadata.endpoint_config_name #=> String
|
12193
|
-
# resp.endpoint_metadata.endpoint_status #=> String, one of "OutOfService", "Creating", "Updating", "SystemUpdating", "RollingBack", "InService", "Deleting", "Failed"
|
12211
|
+
# resp.endpoint_metadata.endpoint_status #=> String, one of "OutOfService", "Creating", "Updating", "SystemUpdating", "RollingBack", "InService", "Deleting", "Failed", "UpdateRollbackFailed"
|
12194
12212
|
# resp.endpoint_metadata.failure_reason #=> String
|
12195
12213
|
# resp.model_variants #=> Array
|
12196
12214
|
# resp.model_variants[0].model_name #=> String
|
@@ -16402,7 +16420,7 @@ module Aws::SageMaker
|
|
16402
16420
|
# creation_time_after: Time.now,
|
16403
16421
|
# last_modified_time_before: Time.now,
|
16404
16422
|
# last_modified_time_after: Time.now,
|
16405
|
-
# status_equals: "OutOfService", # accepts OutOfService, Creating, Updating, SystemUpdating, RollingBack, InService, Deleting, Failed
|
16423
|
+
# status_equals: "OutOfService", # accepts OutOfService, Creating, Updating, SystemUpdating, RollingBack, InService, Deleting, Failed, UpdateRollbackFailed
|
16406
16424
|
# })
|
16407
16425
|
#
|
16408
16426
|
# @example Response structure
|
@@ -16412,7 +16430,7 @@ module Aws::SageMaker
|
|
16412
16430
|
# resp.endpoints[0].endpoint_arn #=> String
|
16413
16431
|
# resp.endpoints[0].creation_time #=> Time
|
16414
16432
|
# resp.endpoints[0].last_modified_time #=> Time
|
16415
|
-
# resp.endpoints[0].endpoint_status #=> String, one of "OutOfService", "Creating", "Updating", "SystemUpdating", "RollingBack", "InService", "Deleting", "Failed"
|
16433
|
+
# resp.endpoints[0].endpoint_status #=> String, one of "OutOfService", "Creating", "Updating", "SystemUpdating", "RollingBack", "InService", "Deleting", "Failed", "UpdateRollbackFailed"
|
16416
16434
|
# resp.next_token #=> String
|
16417
16435
|
#
|
16418
16436
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpoints AWS API Documentation
|
@@ -21994,7 +22012,7 @@ module Aws::SageMaker
|
|
21994
22012
|
# },
|
21995
22013
|
# ],
|
21996
22014
|
# deployment_config: {
|
21997
|
-
# blue_green_update_policy: {
|
22015
|
+
# blue_green_update_policy: {
|
21998
22016
|
# traffic_routing_configuration: { # required
|
21999
22017
|
# type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY, LINEAR
|
22000
22018
|
# wait_interval_in_seconds: 1, # required
|
@@ -22017,6 +22035,18 @@ module Aws::SageMaker
|
|
22017
22035
|
# },
|
22018
22036
|
# ],
|
22019
22037
|
# },
|
22038
|
+
# rolling_update_policy: {
|
22039
|
+
# maximum_batch_size: { # required
|
22040
|
+
# type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
|
22041
|
+
# value: 1, # required
|
22042
|
+
# },
|
22043
|
+
# wait_interval_in_seconds: 1, # required
|
22044
|
+
# maximum_execution_timeout_in_seconds: 1,
|
22045
|
+
# rollback_maximum_batch_size: {
|
22046
|
+
# type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
|
22047
|
+
# value: 1, # required
|
22048
|
+
# },
|
22049
|
+
# },
|
22020
22050
|
# },
|
22021
22051
|
# retain_deployment_config: false,
|
22022
22052
|
# })
|
@@ -23818,7 +23848,7 @@ module Aws::SageMaker
|
|
23818
23848
|
params: params,
|
23819
23849
|
config: config)
|
23820
23850
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
23821
|
-
context[:gem_version] = '1.
|
23851
|
+
context[:gem_version] = '1.193.0'
|
23822
23852
|
Seahorse::Client::Request.new(handlers, context)
|
23823
23853
|
end
|
23824
23854
|
|
@@ -1668,6 +1668,7 @@ module Aws::SageMaker
|
|
1668
1668
|
RetryPipelineExecutionResponse = Shapes::StructureShape.new(name: 'RetryPipelineExecutionResponse')
|
1669
1669
|
RetryStrategy = Shapes::StructureShape.new(name: 'RetryStrategy')
|
1670
1670
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
1671
|
+
RollingUpdatePolicy = Shapes::StructureShape.new(name: 'RollingUpdatePolicy')
|
1671
1672
|
RootAccess = Shapes::StringShape.new(name: 'RootAccess')
|
1672
1673
|
RuleConfigurationName = Shapes::StringShape.new(name: 'RuleConfigurationName')
|
1673
1674
|
RuleEvaluationStatus = Shapes::StringShape.new(name: 'RuleEvaluationStatus')
|
@@ -3666,8 +3667,9 @@ module Aws::SageMaker
|
|
3666
3667
|
|
3667
3668
|
DeployedImages.member = Shapes::ShapeRef.new(shape: DeployedImage)
|
3668
3669
|
|
3669
|
-
DeploymentConfig.add_member(:blue_green_update_policy, Shapes::ShapeRef.new(shape: BlueGreenUpdatePolicy,
|
3670
|
+
DeploymentConfig.add_member(:blue_green_update_policy, Shapes::ShapeRef.new(shape: BlueGreenUpdatePolicy, location_name: "BlueGreenUpdatePolicy"))
|
3670
3671
|
DeploymentConfig.add_member(:auto_rollback_configuration, Shapes::ShapeRef.new(shape: AutoRollbackConfig, location_name: "AutoRollbackConfiguration"))
|
3672
|
+
DeploymentConfig.add_member(:rolling_update_policy, Shapes::ShapeRef.new(shape: RollingUpdatePolicy, location_name: "RollingUpdatePolicy"))
|
3671
3673
|
DeploymentConfig.struct_class = Types::DeploymentConfig
|
3672
3674
|
|
3673
3675
|
DeploymentRecommendation.add_member(:recommendation_status, Shapes::ShapeRef.new(shape: RecommendationStatus, required: true, location_name: "RecommendationStatus"))
|
@@ -8017,6 +8019,12 @@ module Aws::SageMaker
|
|
8017
8019
|
RetryStrategy.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttempts, required: true, location_name: "MaximumRetryAttempts"))
|
8018
8020
|
RetryStrategy.struct_class = Types::RetryStrategy
|
8019
8021
|
|
8022
|
+
RollingUpdatePolicy.add_member(:maximum_batch_size, Shapes::ShapeRef.new(shape: CapacitySize, required: true, location_name: "MaximumBatchSize"))
|
8023
|
+
RollingUpdatePolicy.add_member(:wait_interval_in_seconds, Shapes::ShapeRef.new(shape: WaitIntervalInSeconds, required: true, location_name: "WaitIntervalInSeconds"))
|
8024
|
+
RollingUpdatePolicy.add_member(:maximum_execution_timeout_in_seconds, Shapes::ShapeRef.new(shape: MaximumExecutionTimeoutInSeconds, location_name: "MaximumExecutionTimeoutInSeconds"))
|
8025
|
+
RollingUpdatePolicy.add_member(:rollback_maximum_batch_size, Shapes::ShapeRef.new(shape: CapacitySize, location_name: "RollbackMaximumBatchSize"))
|
8026
|
+
RollingUpdatePolicy.struct_class = Types::RollingUpdatePolicy
|
8027
|
+
|
8020
8028
|
RuleParameters.key = Shapes::ShapeRef.new(shape: ConfigKey)
|
8021
8029
|
RuleParameters.value = Shapes::ShapeRef.new(shape: ConfigValue)
|
8022
8030
|
|
@@ -3106,7 +3106,15 @@ module Aws::SageMaker
|
|
3106
3106
|
include Aws::Structure
|
3107
3107
|
end
|
3108
3108
|
|
3109
|
-
# Specifies the endpoint capacity to activate for
|
3109
|
+
# Specifies the type and size of the endpoint capacity to activate for a
|
3110
|
+
# blue/green deployment, a rolling deployment, or a rollback strategy.
|
3111
|
+
# You can specify your batches as either instance count or the overall
|
3112
|
+
# percentage or your fleet.
|
3113
|
+
#
|
3114
|
+
# For a rollback strategy, if you don't specify the fields in this
|
3115
|
+
# object, or if you set the `Value` to 100%, then SageMaker uses a
|
3116
|
+
# blue/green rollback strategy and rolls all traffic back to the blue
|
3117
|
+
# fleet.
|
3110
3118
|
#
|
3111
3119
|
# @!attribute [rw] type
|
3112
3120
|
# Specifies the endpoint capacity type.
|
@@ -10194,11 +10202,17 @@ module Aws::SageMaker
|
|
10194
10202
|
# failures and recovery.
|
10195
10203
|
# @return [Types::AutoRollbackConfig]
|
10196
10204
|
#
|
10205
|
+
# @!attribute [rw] rolling_update_policy
|
10206
|
+
# Specifies a rolling deployment strategy for updating a SageMaker
|
10207
|
+
# endpoint.
|
10208
|
+
# @return [Types::RollingUpdatePolicy]
|
10209
|
+
#
|
10197
10210
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeploymentConfig AWS API Documentation
|
10198
10211
|
#
|
10199
10212
|
class DeploymentConfig < Struct.new(
|
10200
10213
|
:blue_green_update_policy,
|
10201
|
-
:auto_rollback_configuration
|
10214
|
+
:auto_rollback_configuration,
|
10215
|
+
:rolling_update_policy)
|
10202
10216
|
SENSITIVE = []
|
10203
10217
|
include Aws::Structure
|
10204
10218
|
end
|
@@ -34994,6 +35008,46 @@ module Aws::SageMaker
|
|
34994
35008
|
include Aws::Structure
|
34995
35009
|
end
|
34996
35010
|
|
35011
|
+
# Specifies a rolling deployment strategy for updating a SageMaker
|
35012
|
+
# endpoint.
|
35013
|
+
#
|
35014
|
+
# @!attribute [rw] maximum_batch_size
|
35015
|
+
# Batch size for each rolling step to provision capacity and turn on
|
35016
|
+
# traffic on the new endpoint fleet, and terminate capacity on the old
|
35017
|
+
# endpoint fleet. Value must be between 5% to 50% of the variant's
|
35018
|
+
# total instance count.
|
35019
|
+
# @return [Types::CapacitySize]
|
35020
|
+
#
|
35021
|
+
# @!attribute [rw] wait_interval_in_seconds
|
35022
|
+
# The length of the baking period, during which SageMaker monitors
|
35023
|
+
# alarms for each batch on the new fleet.
|
35024
|
+
# @return [Integer]
|
35025
|
+
#
|
35026
|
+
# @!attribute [rw] maximum_execution_timeout_in_seconds
|
35027
|
+
# The time limit for the total deployment. Exceeding this limit causes
|
35028
|
+
# a timeout.
|
35029
|
+
# @return [Integer]
|
35030
|
+
#
|
35031
|
+
# @!attribute [rw] rollback_maximum_batch_size
|
35032
|
+
# Batch size for rollback to the old endpoint fleet. Each rolling step
|
35033
|
+
# to provision capacity and turn on traffic on the old endpoint fleet,
|
35034
|
+
# and terminate capacity on the new endpoint fleet. If this field is
|
35035
|
+
# absent, the default value will be set to 100% of total capacity
|
35036
|
+
# which means to bring up the whole capacity of the old fleet at once
|
35037
|
+
# during rollback.
|
35038
|
+
# @return [Types::CapacitySize]
|
35039
|
+
#
|
35040
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RollingUpdatePolicy AWS API Documentation
|
35041
|
+
#
|
35042
|
+
class RollingUpdatePolicy < Struct.new(
|
35043
|
+
:maximum_batch_size,
|
35044
|
+
:wait_interval_in_seconds,
|
35045
|
+
:maximum_execution_timeout_in_seconds,
|
35046
|
+
:rollback_maximum_batch_size)
|
35047
|
+
SENSITIVE = []
|
35048
|
+
include Aws::Structure
|
35049
|
+
end
|
35050
|
+
|
34997
35051
|
# Describes the S3 data source.
|
34998
35052
|
#
|
34999
35053
|
# Your input bucket must be in the same Amazon Web Services region as
|
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.193.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-06-
|
11
|
+
date: 2023-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|