aws-sdk-sagemaker 1.107.0 → 1.108.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0986f21687769797067dd5d83e1ac56d3e10a6a11c63992e9d0ce0e4e65dd55
4
- data.tar.gz: d2ba1c3ae9cd3822f26793ece9afb1faceae1425f42e8441141e4bb167f07d1d
3
+ metadata.gz: ea25490091b38e7f3b7d8a7f3eadab5bb68785286bfca16034089f08a3719cf0
4
+ data.tar.gz: 83e457e5c014c5211976826b146f60bae4e3bdbb23ddeed097d58c4e24e470ea
5
5
  SHA512:
6
- metadata.gz: 5953364774ce262b882b8a7d7bc96fe303af2fdbf2edc1e71b03caadf3afcca4444432fe4f07c9828b7c6e32baea5d9cda5eec89b7ca9ea19aee7a168ee04d49
7
- data.tar.gz: 3ffff4ab398fb1f18f461274434300c3453e3776121184b7304bf1c6a821d28b7119dfcb1d4e1ee43aa7fc994f27f7bb5930b56dbeda3a1bd5f74145d95a004e
6
+ metadata.gz: bb825cbebc4afb015403ba009e6f70c30de9dbd878e70fffaa525ea19b5bf28f91eb1cae73040ababe1c0fbbad7943adde73b065cb3167fc2532c84f743cb6a4
7
+ data.tar.gz: 680e33d9ded46cc6483bd3a1d3896cd88f1b6e8039c8bab357fdf0a257a61f2be414dc1a839da6f5376b2b1c7506764747988a82c27bd45dbe786a0148f367f1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.108.0 (2021-11-08)
5
+ ------------------
6
+
7
+ * Feature - SageMaker CreateEndpoint and UpdateEndpoint APIs now support additional deployment configuration to manage traffic shifting options and automatic rollback monitoring. DescribeEndpoint now shows new in-progress deployment details with stage status.
8
+
4
9
  1.107.0 (2021-11-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.107.0
1
+ 1.108.0
@@ -2100,6 +2100,10 @@ module Aws::SageMaker
2100
2100
  # The name of an endpoint configuration. For more information, see
2101
2101
  # CreateEndpointConfig.
2102
2102
  #
2103
+ # @option params [Types::DeploymentConfig] :deployment_config
2104
+ # The deployment configuration for an endpoint, which contains the
2105
+ # desired deployment strategy and rollback configurations.
2106
+ #
2103
2107
  # @option params [Array<Types::Tag>] :tags
2104
2108
  # An array of key-value pairs. You can use tags to categorize your
2105
2109
  # Amazon Web Services resources in different ways, for example, by
@@ -2119,6 +2123,31 @@ module Aws::SageMaker
2119
2123
  # resp = client.create_endpoint({
2120
2124
  # endpoint_name: "EndpointName", # required
2121
2125
  # endpoint_config_name: "EndpointConfigName", # required
2126
+ # deployment_config: {
2127
+ # blue_green_update_policy: { # required
2128
+ # traffic_routing_configuration: { # required
2129
+ # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY, LINEAR
2130
+ # wait_interval_in_seconds: 1, # required
2131
+ # canary_size: {
2132
+ # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
2133
+ # value: 1, # required
2134
+ # },
2135
+ # linear_step_size: {
2136
+ # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
2137
+ # value: 1, # required
2138
+ # },
2139
+ # },
2140
+ # termination_wait_in_seconds: 1,
2141
+ # maximum_execution_timeout_in_seconds: 1,
2142
+ # },
2143
+ # auto_rollback_configuration: {
2144
+ # alarms: [
2145
+ # {
2146
+ # alarm_name: "AlarmName",
2147
+ # },
2148
+ # ],
2149
+ # },
2150
+ # },
2122
2151
  # tags: [
2123
2152
  # {
2124
2153
  # key: "TagKey", # required
@@ -8488,6 +8517,7 @@ module Aws::SageMaker
8488
8517
  # * {Types::DescribeEndpointOutput#last_modified_time #last_modified_time} => Time
8489
8518
  # * {Types::DescribeEndpointOutput#last_deployment_config #last_deployment_config} => Types::DeploymentConfig
8490
8519
  # * {Types::DescribeEndpointOutput#async_inference_config #async_inference_config} => Types::AsyncInferenceConfig
8520
+ # * {Types::DescribeEndpointOutput#pending_deployment_summary #pending_deployment_summary} => Types::PendingDeploymentSummary
8491
8521
  #
8492
8522
  # @example Request syntax with placeholder values
8493
8523
  #
@@ -8510,6 +8540,10 @@ module Aws::SageMaker
8510
8540
  # resp.production_variants[0].desired_weight #=> Float
8511
8541
  # resp.production_variants[0].current_instance_count #=> Integer
8512
8542
  # resp.production_variants[0].desired_instance_count #=> Integer
8543
+ # resp.production_variants[0].variant_status #=> Array
8544
+ # resp.production_variants[0].variant_status[0].status #=> String, one of "Creating", "Updating", "Deleting", "ActivatingTraffic", "Baking"
8545
+ # resp.production_variants[0].variant_status[0].status_message #=> String
8546
+ # resp.production_variants[0].variant_status[0].start_time #=> Time
8513
8547
  # resp.data_capture_config.enable_capture #=> Boolean
8514
8548
  # resp.data_capture_config.capture_status #=> String, one of "Started", "Stopped"
8515
8549
  # resp.data_capture_config.current_sampling_percentage #=> Integer
@@ -8519,10 +8553,12 @@ module Aws::SageMaker
8519
8553
  # resp.failure_reason #=> String
8520
8554
  # resp.creation_time #=> Time
8521
8555
  # resp.last_modified_time #=> Time
8522
- # resp.last_deployment_config.blue_green_update_policy.traffic_routing_configuration.type #=> String, one of "ALL_AT_ONCE", "CANARY"
8556
+ # resp.last_deployment_config.blue_green_update_policy.traffic_routing_configuration.type #=> String, one of "ALL_AT_ONCE", "CANARY", "LINEAR"
8523
8557
  # resp.last_deployment_config.blue_green_update_policy.traffic_routing_configuration.wait_interval_in_seconds #=> Integer
8524
8558
  # resp.last_deployment_config.blue_green_update_policy.traffic_routing_configuration.canary_size.type #=> String, one of "INSTANCE_COUNT", "CAPACITY_PERCENT"
8525
8559
  # resp.last_deployment_config.blue_green_update_policy.traffic_routing_configuration.canary_size.value #=> Integer
8560
+ # resp.last_deployment_config.blue_green_update_policy.traffic_routing_configuration.linear_step_size.type #=> String, one of "INSTANCE_COUNT", "CAPACITY_PERCENT"
8561
+ # resp.last_deployment_config.blue_green_update_policy.traffic_routing_configuration.linear_step_size.value #=> Integer
8526
8562
  # resp.last_deployment_config.blue_green_update_policy.termination_wait_in_seconds #=> Integer
8527
8563
  # resp.last_deployment_config.blue_green_update_policy.maximum_execution_timeout_in_seconds #=> Integer
8528
8564
  # resp.last_deployment_config.auto_rollback_configuration.alarms #=> Array
@@ -8532,6 +8568,24 @@ module Aws::SageMaker
8532
8568
  # resp.async_inference_config.output_config.s3_output_path #=> String
8533
8569
  # resp.async_inference_config.output_config.notification_config.success_topic #=> String
8534
8570
  # resp.async_inference_config.output_config.notification_config.error_topic #=> String
8571
+ # resp.pending_deployment_summary.endpoint_config_name #=> String
8572
+ # resp.pending_deployment_summary.production_variants #=> Array
8573
+ # resp.pending_deployment_summary.production_variants[0].variant_name #=> String
8574
+ # resp.pending_deployment_summary.production_variants[0].deployed_images #=> Array
8575
+ # resp.pending_deployment_summary.production_variants[0].deployed_images[0].specified_image #=> String
8576
+ # resp.pending_deployment_summary.production_variants[0].deployed_images[0].resolved_image #=> String
8577
+ # resp.pending_deployment_summary.production_variants[0].deployed_images[0].resolution_time #=> Time
8578
+ # resp.pending_deployment_summary.production_variants[0].current_weight #=> Float
8579
+ # resp.pending_deployment_summary.production_variants[0].desired_weight #=> Float
8580
+ # resp.pending_deployment_summary.production_variants[0].current_instance_count #=> Integer
8581
+ # resp.pending_deployment_summary.production_variants[0].desired_instance_count #=> Integer
8582
+ # resp.pending_deployment_summary.production_variants[0].instance_type #=> String, one of "ml.t2.medium", "ml.t2.large", "ml.t2.xlarge", "ml.t2.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.12xlarge", "ml.m5d.24xlarge", "ml.c4.large", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5d.large", "ml.c5d.xlarge", "ml.c5d.2xlarge", "ml.c5d.4xlarge", "ml.c5d.9xlarge", "ml.c5d.18xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.12xlarge", "ml.r5.24xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.12xlarge", "ml.r5d.24xlarge", "ml.inf1.xlarge", "ml.inf1.2xlarge", "ml.inf1.6xlarge", "ml.inf1.24xlarge"
8583
+ # resp.pending_deployment_summary.production_variants[0].accelerator_type #=> String, one of "ml.eia1.medium", "ml.eia1.large", "ml.eia1.xlarge", "ml.eia2.medium", "ml.eia2.large", "ml.eia2.xlarge"
8584
+ # resp.pending_deployment_summary.production_variants[0].variant_status #=> Array
8585
+ # resp.pending_deployment_summary.production_variants[0].variant_status[0].status #=> String, one of "Creating", "Updating", "Deleting", "ActivatingTraffic", "Baking"
8586
+ # resp.pending_deployment_summary.production_variants[0].variant_status[0].status_message #=> String
8587
+ # resp.pending_deployment_summary.production_variants[0].variant_status[0].start_time #=> Time
8588
+ # resp.pending_deployment_summary.start_time #=> Time
8535
8589
  #
8536
8590
  #
8537
8591
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -15900,6 +15954,10 @@ module Aws::SageMaker
15900
15954
  # resp.results[0].endpoint.production_variants[0].desired_weight #=> Float
15901
15955
  # resp.results[0].endpoint.production_variants[0].current_instance_count #=> Integer
15902
15956
  # resp.results[0].endpoint.production_variants[0].desired_instance_count #=> Integer
15957
+ # resp.results[0].endpoint.production_variants[0].variant_status #=> Array
15958
+ # resp.results[0].endpoint.production_variants[0].variant_status[0].status #=> String, one of "Creating", "Updating", "Deleting", "ActivatingTraffic", "Baking"
15959
+ # resp.results[0].endpoint.production_variants[0].variant_status[0].status_message #=> String
15960
+ # resp.results[0].endpoint.production_variants[0].variant_status[0].start_time #=> Time
15903
15961
  # resp.results[0].endpoint.data_capture_config.enable_capture #=> Boolean
15904
15962
  # resp.results[0].endpoint.data_capture_config.capture_status #=> String, one of "Started", "Stopped"
15905
15963
  # resp.results[0].endpoint.data_capture_config.current_sampling_percentage #=> Integer
@@ -17139,7 +17197,12 @@ module Aws::SageMaker
17139
17197
  # `ExcludeAllVariantProperties`, no variant properties are overridden.
17140
17198
  #
17141
17199
  # @option params [Types::DeploymentConfig] :deployment_config
17142
- # The deployment configuration for the endpoint to be updated.
17200
+ # The deployment configuration for an endpoint, which contains the
17201
+ # desired deployment strategy and rollback configurations.
17202
+ #
17203
+ # @option params [Boolean] :retain_deployment_config
17204
+ # Specifies whether to reuse the last deployment configuration. The
17205
+ # default value is false (the configuration is not reused).
17143
17206
  #
17144
17207
  # @return [Types::UpdateEndpointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
17145
17208
  #
@@ -17159,12 +17222,16 @@ module Aws::SageMaker
17159
17222
  # deployment_config: {
17160
17223
  # blue_green_update_policy: { # required
17161
17224
  # traffic_routing_configuration: { # required
17162
- # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY
17225
+ # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY, LINEAR
17163
17226
  # wait_interval_in_seconds: 1, # required
17164
17227
  # canary_size: {
17165
17228
  # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
17166
17229
  # value: 1, # required
17167
17230
  # },
17231
+ # linear_step_size: {
17232
+ # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
17233
+ # value: 1, # required
17234
+ # },
17168
17235
  # },
17169
17236
  # termination_wait_in_seconds: 1,
17170
17237
  # maximum_execution_timeout_in_seconds: 1,
@@ -17177,6 +17244,7 @@ module Aws::SageMaker
17177
17244
  # ],
17178
17245
  # },
17179
17246
  # },
17247
+ # retain_deployment_config: false,
17180
17248
  # })
17181
17249
  #
17182
17250
  # @example Response structure
@@ -18299,7 +18367,7 @@ module Aws::SageMaker
18299
18367
  params: params,
18300
18368
  config: config)
18301
18369
  context[:gem_name] = 'aws-sdk-sagemaker'
18302
- context[:gem_version] = '1.107.0'
18370
+ context[:gem_version] = '1.108.0'
18303
18371
  Seahorse::Client::Request.new(handlers, context)
18304
18372
  end
18305
18373
 
@@ -1078,6 +1078,9 @@ module Aws::SageMaker
1078
1078
  ParentHyperParameterTuningJob = Shapes::StructureShape.new(name: 'ParentHyperParameterTuningJob')
1079
1079
  ParentHyperParameterTuningJobs = Shapes::ListShape.new(name: 'ParentHyperParameterTuningJobs')
1080
1080
  Parents = Shapes::ListShape.new(name: 'Parents')
1081
+ PendingDeploymentSummary = Shapes::StructureShape.new(name: 'PendingDeploymentSummary')
1082
+ PendingProductionVariantSummary = Shapes::StructureShape.new(name: 'PendingProductionVariantSummary')
1083
+ PendingProductionVariantSummaryList = Shapes::ListShape.new(name: 'PendingProductionVariantSummaryList')
1081
1084
  Pipeline = Shapes::StructureShape.new(name: 'Pipeline')
1082
1085
  PipelineArn = Shapes::StringShape.new(name: 'PipelineArn')
1083
1086
  PipelineDefinition = Shapes::StringShape.new(name: 'PipelineDefinition')
@@ -1142,6 +1145,8 @@ module Aws::SageMaker
1142
1145
  ProductionVariantCoreDumpConfig = Shapes::StructureShape.new(name: 'ProductionVariantCoreDumpConfig')
1143
1146
  ProductionVariantInstanceType = Shapes::StringShape.new(name: 'ProductionVariantInstanceType')
1144
1147
  ProductionVariantList = Shapes::ListShape.new(name: 'ProductionVariantList')
1148
+ ProductionVariantStatus = Shapes::StructureShape.new(name: 'ProductionVariantStatus')
1149
+ ProductionVariantStatusList = Shapes::ListShape.new(name: 'ProductionVariantStatusList')
1145
1150
  ProductionVariantSummary = Shapes::StructureShape.new(name: 'ProductionVariantSummary')
1146
1151
  ProductionVariantSummaryList = Shapes::ListShape.new(name: 'ProductionVariantSummaryList')
1147
1152
  ProfilerConfig = Shapes::StructureShape.new(name: 'ProfilerConfig')
@@ -1484,6 +1489,8 @@ module Aws::SageMaker
1484
1489
  VariantProperty = Shapes::StructureShape.new(name: 'VariantProperty')
1485
1490
  VariantPropertyList = Shapes::ListShape.new(name: 'VariantPropertyList')
1486
1491
  VariantPropertyType = Shapes::StringShape.new(name: 'VariantPropertyType')
1492
+ VariantStatus = Shapes::StringShape.new(name: 'VariantStatus')
1493
+ VariantStatusMessage = Shapes::StringShape.new(name: 'VariantStatusMessage')
1487
1494
  VariantWeight = Shapes::FloatShape.new(name: 'VariantWeight')
1488
1495
  VersionedArnOrName = Shapes::StringShape.new(name: 'VersionedArnOrName')
1489
1496
  VolumeSizeInGB = Shapes::IntegerShape.new(name: 'VolumeSizeInGB')
@@ -2123,6 +2130,7 @@ module Aws::SageMaker
2123
2130
 
2124
2131
  CreateEndpointInput.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: EndpointName, required: true, location_name: "EndpointName"))
2125
2132
  CreateEndpointInput.add_member(:endpoint_config_name, Shapes::ShapeRef.new(shape: EndpointConfigName, required: true, location_name: "EndpointConfigName"))
2133
+ CreateEndpointInput.add_member(:deployment_config, Shapes::ShapeRef.new(shape: DeploymentConfig, location_name: "DeploymentConfig"))
2126
2134
  CreateEndpointInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
2127
2135
  CreateEndpointInput.struct_class = Types::CreateEndpointInput
2128
2136
 
@@ -3039,6 +3047,7 @@ module Aws::SageMaker
3039
3047
  DescribeEndpointOutput.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModifiedTime"))
3040
3048
  DescribeEndpointOutput.add_member(:last_deployment_config, Shapes::ShapeRef.new(shape: DeploymentConfig, location_name: "LastDeploymentConfig"))
3041
3049
  DescribeEndpointOutput.add_member(:async_inference_config, Shapes::ShapeRef.new(shape: AsyncInferenceConfig, location_name: "AsyncInferenceConfig"))
3050
+ DescribeEndpointOutput.add_member(:pending_deployment_summary, Shapes::ShapeRef.new(shape: PendingDeploymentSummary, location_name: "PendingDeploymentSummary"))
3042
3051
  DescribeEndpointOutput.struct_class = Types::DescribeEndpointOutput
3043
3052
 
3044
3053
  DescribeExperimentRequest.add_member(:experiment_name, Shapes::ShapeRef.new(shape: ExperimentEntityName, required: true, location_name: "ExperimentName"))
@@ -5408,6 +5417,24 @@ module Aws::SageMaker
5408
5417
 
5409
5418
  Parents.member = Shapes::ShapeRef.new(shape: Parent)
5410
5419
 
5420
+ PendingDeploymentSummary.add_member(:endpoint_config_name, Shapes::ShapeRef.new(shape: EndpointConfigName, required: true, location_name: "EndpointConfigName"))
5421
+ PendingDeploymentSummary.add_member(:production_variants, Shapes::ShapeRef.new(shape: PendingProductionVariantSummaryList, location_name: "ProductionVariants"))
5422
+ PendingDeploymentSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
5423
+ PendingDeploymentSummary.struct_class = Types::PendingDeploymentSummary
5424
+
5425
+ PendingProductionVariantSummary.add_member(:variant_name, Shapes::ShapeRef.new(shape: VariantName, required: true, location_name: "VariantName"))
5426
+ PendingProductionVariantSummary.add_member(:deployed_images, Shapes::ShapeRef.new(shape: DeployedImages, location_name: "DeployedImages"))
5427
+ PendingProductionVariantSummary.add_member(:current_weight, Shapes::ShapeRef.new(shape: VariantWeight, location_name: "CurrentWeight"))
5428
+ PendingProductionVariantSummary.add_member(:desired_weight, Shapes::ShapeRef.new(shape: VariantWeight, location_name: "DesiredWeight"))
5429
+ PendingProductionVariantSummary.add_member(:current_instance_count, Shapes::ShapeRef.new(shape: TaskCount, location_name: "CurrentInstanceCount"))
5430
+ PendingProductionVariantSummary.add_member(:desired_instance_count, Shapes::ShapeRef.new(shape: TaskCount, location_name: "DesiredInstanceCount"))
5431
+ PendingProductionVariantSummary.add_member(:instance_type, Shapes::ShapeRef.new(shape: ProductionVariantInstanceType, location_name: "InstanceType"))
5432
+ PendingProductionVariantSummary.add_member(:accelerator_type, Shapes::ShapeRef.new(shape: ProductionVariantAcceleratorType, location_name: "AcceleratorType"))
5433
+ PendingProductionVariantSummary.add_member(:variant_status, Shapes::ShapeRef.new(shape: ProductionVariantStatusList, location_name: "VariantStatus"))
5434
+ PendingProductionVariantSummary.struct_class = Types::PendingProductionVariantSummary
5435
+
5436
+ PendingProductionVariantSummaryList.member = Shapes::ShapeRef.new(shape: PendingProductionVariantSummary)
5437
+
5411
5438
  Pipeline.add_member(:pipeline_arn, Shapes::ShapeRef.new(shape: PipelineArn, location_name: "PipelineArn"))
5412
5439
  Pipeline.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, location_name: "PipelineName"))
5413
5440
  Pipeline.add_member(:pipeline_display_name, Shapes::ShapeRef.new(shape: PipelineName, location_name: "PipelineDisplayName"))
@@ -5590,12 +5617,20 @@ module Aws::SageMaker
5590
5617
 
5591
5618
  ProductionVariantList.member = Shapes::ShapeRef.new(shape: ProductionVariant)
5592
5619
 
5620
+ ProductionVariantStatus.add_member(:status, Shapes::ShapeRef.new(shape: VariantStatus, required: true, location_name: "Status"))
5621
+ ProductionVariantStatus.add_member(:status_message, Shapes::ShapeRef.new(shape: VariantStatusMessage, location_name: "StatusMessage"))
5622
+ ProductionVariantStatus.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
5623
+ ProductionVariantStatus.struct_class = Types::ProductionVariantStatus
5624
+
5625
+ ProductionVariantStatusList.member = Shapes::ShapeRef.new(shape: ProductionVariantStatus)
5626
+
5593
5627
  ProductionVariantSummary.add_member(:variant_name, Shapes::ShapeRef.new(shape: VariantName, required: true, location_name: "VariantName"))
5594
5628
  ProductionVariantSummary.add_member(:deployed_images, Shapes::ShapeRef.new(shape: DeployedImages, location_name: "DeployedImages"))
5595
5629
  ProductionVariantSummary.add_member(:current_weight, Shapes::ShapeRef.new(shape: VariantWeight, location_name: "CurrentWeight"))
5596
5630
  ProductionVariantSummary.add_member(:desired_weight, Shapes::ShapeRef.new(shape: VariantWeight, location_name: "DesiredWeight"))
5597
5631
  ProductionVariantSummary.add_member(:current_instance_count, Shapes::ShapeRef.new(shape: TaskCount, location_name: "CurrentInstanceCount"))
5598
5632
  ProductionVariantSummary.add_member(:desired_instance_count, Shapes::ShapeRef.new(shape: TaskCount, location_name: "DesiredInstanceCount"))
5633
+ ProductionVariantSummary.add_member(:variant_status, Shapes::ShapeRef.new(shape: ProductionVariantStatusList, location_name: "VariantStatus"))
5599
5634
  ProductionVariantSummary.struct_class = Types::ProductionVariantSummary
5600
5635
 
5601
5636
  ProductionVariantSummaryList.member = Shapes::ShapeRef.new(shape: ProductionVariantSummary)
@@ -6003,6 +6038,7 @@ module Aws::SageMaker
6003
6038
  TrafficRoutingConfig.add_member(:type, Shapes::ShapeRef.new(shape: TrafficRoutingConfigType, required: true, location_name: "Type"))
6004
6039
  TrafficRoutingConfig.add_member(:wait_interval_in_seconds, Shapes::ShapeRef.new(shape: WaitIntervalInSeconds, required: true, location_name: "WaitIntervalInSeconds"))
6005
6040
  TrafficRoutingConfig.add_member(:canary_size, Shapes::ShapeRef.new(shape: CapacitySize, location_name: "CanarySize"))
6041
+ TrafficRoutingConfig.add_member(:linear_step_size, Shapes::ShapeRef.new(shape: CapacitySize, location_name: "LinearStepSize"))
6006
6042
  TrafficRoutingConfig.struct_class = Types::TrafficRoutingConfig
6007
6043
 
6008
6044
  TrainingEnvironmentMap.key = Shapes::ShapeRef.new(shape: TrainingEnvironmentKey)
@@ -6364,6 +6400,7 @@ module Aws::SageMaker
6364
6400
  UpdateEndpointInput.add_member(:retain_all_variant_properties, Shapes::ShapeRef.new(shape: Boolean, location_name: "RetainAllVariantProperties"))
6365
6401
  UpdateEndpointInput.add_member(:exclude_retained_variant_properties, Shapes::ShapeRef.new(shape: VariantPropertyList, location_name: "ExcludeRetainedVariantProperties"))
6366
6402
  UpdateEndpointInput.add_member(:deployment_config, Shapes::ShapeRef.new(shape: DeploymentConfig, location_name: "DeploymentConfig"))
6403
+ UpdateEndpointInput.add_member(:retain_deployment_config, Shapes::ShapeRef.new(shape: Boolean, location_name: "RetainDeploymentConfig"))
6367
6404
  UpdateEndpointInput.struct_class = Types::UpdateEndpointInput
6368
6405
 
6369
6406
  UpdateEndpointOutput.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: EndpointArn, required: true, location_name: "EndpointArn"))
@@ -222,7 +222,8 @@ module Aws::SageMaker
222
222
  include Aws::Structure
223
223
  end
224
224
 
225
- # This API is not supported.
225
+ # An Amazon CloudWatch alarm configured to monitor metrics on an
226
+ # endpoint.
226
227
  #
227
228
  # @note When making an API call, you may pass Alarm
228
229
  # data as a hash:
@@ -232,6 +233,7 @@ module Aws::SageMaker
232
233
  # }
233
234
  #
234
235
  # @!attribute [rw] alarm_name
236
+ # The name of a CloudWatch alarm in your account.
235
237
  # @return [String]
236
238
  #
237
239
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Alarm AWS API Documentation
@@ -2402,7 +2404,8 @@ module Aws::SageMaker
2402
2404
  include Aws::Structure
2403
2405
  end
2404
2406
 
2405
- # Currently, the `AutoRollbackConfig` API is not supported.
2407
+ # Automatic rollback configuration for handling endpoint deployment
2408
+ # failures and recovery.
2406
2409
  #
2407
2410
  # @note When making an API call, you may pass AutoRollbackConfig
2408
2411
  # data as a hash:
@@ -2416,6 +2419,9 @@ module Aws::SageMaker
2416
2419
  # }
2417
2420
  #
2418
2421
  # @!attribute [rw] alarms
2422
+ # List of CloudWatch alarms in your account that are configured to
2423
+ # monitor metrics on an endpoint. If any alarms are tripped during a
2424
+ # deployment, SageMaker rolls back the deployment.
2419
2425
  # @return [Array<Types::Alarm>]
2420
2426
  #
2421
2427
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AutoRollbackConfig AWS API Documentation
@@ -2555,31 +2561,49 @@ module Aws::SageMaker
2555
2561
  include Aws::Structure
2556
2562
  end
2557
2563
 
2558
- # Currently, the `BlueGreenUpdatePolicy` API is not supported.
2564
+ # Update policy for a blue/green deployment. If this update policy is
2565
+ # specified, SageMaker creates a new fleet during the deployment while
2566
+ # maintaining the old fleet. SageMaker flips traffic to the new fleet
2567
+ # according to the specified traffic routing configuration. Only one
2568
+ # update policy should be used in the deployment configuration. If no
2569
+ # update policy is specified, SageMaker uses a blue/green deployment
2570
+ # strategy with all at once traffic shifting by default.
2559
2571
  #
2560
2572
  # @note When making an API call, you may pass BlueGreenUpdatePolicy
2561
2573
  # data as a hash:
2562
2574
  #
2563
2575
  # {
2564
2576
  # traffic_routing_configuration: { # required
2565
- # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY
2577
+ # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY, LINEAR
2566
2578
  # wait_interval_in_seconds: 1, # required
2567
2579
  # canary_size: {
2568
2580
  # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
2569
2581
  # value: 1, # required
2570
2582
  # },
2583
+ # linear_step_size: {
2584
+ # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
2585
+ # value: 1, # required
2586
+ # },
2571
2587
  # },
2572
2588
  # termination_wait_in_seconds: 1,
2573
2589
  # maximum_execution_timeout_in_seconds: 1,
2574
2590
  # }
2575
2591
  #
2576
2592
  # @!attribute [rw] traffic_routing_configuration
2593
+ # Defines the traffic routing strategy to shift traffic from the old
2594
+ # fleet to the new fleet during an endpoint deployment.
2577
2595
  # @return [Types::TrafficRoutingConfig]
2578
2596
  #
2579
2597
  # @!attribute [rw] termination_wait_in_seconds
2598
+ # Additional waiting time in seconds after the completion of an
2599
+ # endpoint deployment before terminating the old endpoint fleet.
2600
+ # Default is 0.
2580
2601
  # @return [Integer]
2581
2602
  #
2582
2603
  # @!attribute [rw] maximum_execution_timeout_in_seconds
2604
+ # Maximum execution timeout for the deployment. Note that the timeout
2605
+ # value should be larger than the total waiting time specified in
2606
+ # `TerminationWaitInSeconds` and `WaitIntervalInSeconds`.
2583
2607
  # @return [Integer]
2584
2608
  #
2585
2609
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/BlueGreenUpdatePolicy AWS API Documentation
@@ -2666,7 +2690,7 @@ module Aws::SageMaker
2666
2690
  include Aws::Structure
2667
2691
  end
2668
2692
 
2669
- # Currently, the `CapacitySize` API is not supported.
2693
+ # Specifies the endpoint capacity to activate for production.
2670
2694
  #
2671
2695
  # @note When making an API call, you may pass CapacitySize
2672
2696
  # data as a hash:
@@ -2677,10 +2701,18 @@ module Aws::SageMaker
2677
2701
  # }
2678
2702
  #
2679
2703
  # @!attribute [rw] type
2680
- # This API is not supported.
2704
+ # Specifies the endpoint capacity type.
2705
+ #
2706
+ # * `INSTANCE_COUNT`\: The endpoint activates based on the number of
2707
+ # instances.
2708
+ #
2709
+ # * `CAPACITY_PERCENT`\: The endpoint activates based on the specified
2710
+ # percentage of capacity.
2681
2711
  # @return [String]
2682
2712
  #
2683
2713
  # @!attribute [rw] value
2714
+ # Defines the capacity size, either as a number of instances or a
2715
+ # capacity percentage.
2684
2716
  # @return [Integer]
2685
2717
  #
2686
2718
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CapacitySize AWS API Documentation
@@ -5185,6 +5217,31 @@ module Aws::SageMaker
5185
5217
  # {
5186
5218
  # endpoint_name: "EndpointName", # required
5187
5219
  # endpoint_config_name: "EndpointConfigName", # required
5220
+ # deployment_config: {
5221
+ # blue_green_update_policy: { # required
5222
+ # traffic_routing_configuration: { # required
5223
+ # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY, LINEAR
5224
+ # wait_interval_in_seconds: 1, # required
5225
+ # canary_size: {
5226
+ # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
5227
+ # value: 1, # required
5228
+ # },
5229
+ # linear_step_size: {
5230
+ # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
5231
+ # value: 1, # required
5232
+ # },
5233
+ # },
5234
+ # termination_wait_in_seconds: 1,
5235
+ # maximum_execution_timeout_in_seconds: 1,
5236
+ # },
5237
+ # auto_rollback_configuration: {
5238
+ # alarms: [
5239
+ # {
5240
+ # alarm_name: "AlarmName",
5241
+ # },
5242
+ # ],
5243
+ # },
5244
+ # },
5188
5245
  # tags: [
5189
5246
  # {
5190
5247
  # key: "TagKey", # required
@@ -5205,6 +5262,11 @@ module Aws::SageMaker
5205
5262
  # CreateEndpointConfig.
5206
5263
  # @return [String]
5207
5264
  #
5265
+ # @!attribute [rw] deployment_config
5266
+ # The deployment configuration for an endpoint, which contains the
5267
+ # desired deployment strategy and rollback configurations.
5268
+ # @return [Types::DeploymentConfig]
5269
+ #
5208
5270
  # @!attribute [rw] tags
5209
5271
  # An array of key-value pairs. You can use tags to categorize your
5210
5272
  # Amazon Web Services resources in different ways, for example, by
@@ -5221,6 +5283,7 @@ module Aws::SageMaker
5221
5283
  class CreateEndpointInput < Struct.new(
5222
5284
  :endpoint_name,
5223
5285
  :endpoint_config_name,
5286
+ :deployment_config,
5224
5287
  :tags)
5225
5288
  SENSITIVE = []
5226
5289
  include Aws::Structure
@@ -11004,7 +11067,8 @@ module Aws::SageMaker
11004
11067
  include Aws::Structure
11005
11068
  end
11006
11069
 
11007
- # Currently, the `DeploymentConfig` API is not supported.
11070
+ # The deployment configuration for an endpoint, which contains the
11071
+ # desired deployment strategy and rollback configurations.
11008
11072
  #
11009
11073
  # @note When making an API call, you may pass DeploymentConfig
11010
11074
  # data as a hash:
@@ -11012,12 +11076,16 @@ module Aws::SageMaker
11012
11076
  # {
11013
11077
  # blue_green_update_policy: { # required
11014
11078
  # traffic_routing_configuration: { # required
11015
- # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY
11079
+ # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY, LINEAR
11016
11080
  # wait_interval_in_seconds: 1, # required
11017
11081
  # canary_size: {
11018
11082
  # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
11019
11083
  # value: 1, # required
11020
11084
  # },
11085
+ # linear_step_size: {
11086
+ # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
11087
+ # value: 1, # required
11088
+ # },
11021
11089
  # },
11022
11090
  # termination_wait_in_seconds: 1,
11023
11091
  # maximum_execution_timeout_in_seconds: 1,
@@ -11032,9 +11100,18 @@ module Aws::SageMaker
11032
11100
  # }
11033
11101
  #
11034
11102
  # @!attribute [rw] blue_green_update_policy
11103
+ # Update policy for a blue/green deployment. If this update policy is
11104
+ # specified, SageMaker creates a new fleet during the deployment while
11105
+ # maintaining the old fleet. SageMaker flips traffic to the new fleet
11106
+ # according to the specified traffic routing configuration. Only one
11107
+ # update policy should be used in the deployment configuration. If no
11108
+ # update policy is specified, SageMaker uses a blue/green deployment
11109
+ # strategy with all at once traffic shifting by default.
11035
11110
  # @return [Types::BlueGreenUpdatePolicy]
11036
11111
  #
11037
11112
  # @!attribute [rw] auto_rollback_configuration
11113
+ # Automatic rollback configuration for handling endpoint deployment
11114
+ # failures and recovery.
11038
11115
  # @return [Types::AutoRollbackConfig]
11039
11116
  #
11040
11117
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeploymentConfig AWS API Documentation
@@ -12548,6 +12625,12 @@ module Aws::SageMaker
12548
12625
  # [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html
12549
12626
  # @return [Types::AsyncInferenceConfig]
12550
12627
  #
12628
+ # @!attribute [rw] pending_deployment_summary
12629
+ # Returns the summary of an in-progress deployment. This field is only
12630
+ # returned when the endpoint is creating or updating with a new
12631
+ # endpoint configuration.
12632
+ # @return [Types::PendingDeploymentSummary]
12633
+ #
12551
12634
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointOutput AWS API Documentation
12552
12635
  #
12553
12636
  class DescribeEndpointOutput < Struct.new(
@@ -12561,7 +12644,8 @@ module Aws::SageMaker
12561
12644
  :creation_time,
12562
12645
  :last_modified_time,
12563
12646
  :last_deployment_config,
12564
- :async_inference_config)
12647
+ :async_inference_config,
12648
+ :pending_deployment_summary)
12565
12649
  SENSITIVE = []
12566
12650
  include Aws::Structure
12567
12651
  end
@@ -18597,7 +18681,8 @@ module Aws::SageMaker
18597
18681
  # (28,800 seconds).
18598
18682
  #
18599
18683
  # * For [3D point cloud][4] and [video frame][5] labeling jobs, the
18600
- # maximum is 7 days (604,800 seconds). If you want to change these
18684
+ # maximum is 30 days (2952,000 seconds) for non-AL mode. For most
18685
+ # users, the maximum is also 30 days. If you want to change these
18601
18686
  # limits, contact Amazon Web Services Support.
18602
18687
  #
18603
18688
  #
@@ -18619,9 +18704,9 @@ module Aws::SageMaker
18619
18704
  # seconds).
18620
18705
  #
18621
18706
  # * If you choose a private or vendor workforce, the default value is
18622
- # 10 days (864,000 seconds). For most users, the maximum is also 10
18623
- # days. If you want to change this limit, contact Amazon Web
18624
- # Services Support.
18707
+ # 30 days (2592,000 seconds) for non-AL mode. For most users, the
18708
+ # maximum is also 30 days. If you want to change this limit, contact
18709
+ # Amazon Web Services Support.
18625
18710
  # @return [Integer]
18626
18711
  #
18627
18712
  # @!attribute [rw] max_concurrent_task_count
@@ -28949,6 +29034,102 @@ module Aws::SageMaker
28949
29034
  include Aws::Structure
28950
29035
  end
28951
29036
 
29037
+ # The summary of an in-progress deployment when an endpoint is creating
29038
+ # or updating with a new endpoint configuration.
29039
+ #
29040
+ # @!attribute [rw] endpoint_config_name
29041
+ # The name of the endpoint configuration used in the deployment.
29042
+ # @return [String]
29043
+ #
29044
+ # @!attribute [rw] production_variants
29045
+ # List of `PendingProductionVariantSummary` objects.
29046
+ # @return [Array<Types::PendingProductionVariantSummary>]
29047
+ #
29048
+ # @!attribute [rw] start_time
29049
+ # The start time of the deployment.
29050
+ # @return [Time]
29051
+ #
29052
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PendingDeploymentSummary AWS API Documentation
29053
+ #
29054
+ class PendingDeploymentSummary < Struct.new(
29055
+ :endpoint_config_name,
29056
+ :production_variants,
29057
+ :start_time)
29058
+ SENSITIVE = []
29059
+ include Aws::Structure
29060
+ end
29061
+
29062
+ # The production variant summary for a deployment when an endpoint is
29063
+ # creating or updating with the ` CreateEndpoint ` or ` UpdateEndpoint `
29064
+ # operations. Describes the `VariantStatus `, weight and capacity for a
29065
+ # production variant associated with an endpoint.
29066
+ #
29067
+ # @!attribute [rw] variant_name
29068
+ # The name of the variant.
29069
+ # @return [String]
29070
+ #
29071
+ # @!attribute [rw] deployed_images
29072
+ # An array of `DeployedImage` objects that specify the Amazon EC2
29073
+ # Container Registry paths of the inference images deployed on
29074
+ # instances of this `ProductionVariant`.
29075
+ # @return [Array<Types::DeployedImage>]
29076
+ #
29077
+ # @!attribute [rw] current_weight
29078
+ # The weight associated with the variant.
29079
+ # @return [Float]
29080
+ #
29081
+ # @!attribute [rw] desired_weight
29082
+ # The requested weight for the variant in this deployment, as
29083
+ # specified in the endpoint configuration for the endpoint. The value
29084
+ # is taken from the request to the ` CreateEndpointConfig ` operation.
29085
+ # @return [Float]
29086
+ #
29087
+ # @!attribute [rw] current_instance_count
29088
+ # The number of instances associated with the variant.
29089
+ # @return [Integer]
29090
+ #
29091
+ # @!attribute [rw] desired_instance_count
29092
+ # The number of instances requested in this deployment, as specified
29093
+ # in the endpoint configuration for the endpoint. The value is taken
29094
+ # from the request to the ` CreateEndpointConfig ` operation.
29095
+ # @return [Integer]
29096
+ #
29097
+ # @!attribute [rw] instance_type
29098
+ # The type of instances associated with the variant.
29099
+ # @return [String]
29100
+ #
29101
+ # @!attribute [rw] accelerator_type
29102
+ # The size of the Elastic Inference (EI) instance to use for the
29103
+ # production variant. EI instances provide on-demand GPU computing for
29104
+ # inference. For more information, see [Using Elastic Inference in
29105
+ # Amazon SageMaker][1].
29106
+ #
29107
+ #
29108
+ #
29109
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html
29110
+ # @return [String]
29111
+ #
29112
+ # @!attribute [rw] variant_status
29113
+ # The endpoint variant status which describes the current deployment
29114
+ # stage status or operational status.
29115
+ # @return [Array<Types::ProductionVariantStatus>]
29116
+ #
29117
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PendingProductionVariantSummary AWS API Documentation
29118
+ #
29119
+ class PendingProductionVariantSummary < Struct.new(
29120
+ :variant_name,
29121
+ :deployed_images,
29122
+ :current_weight,
29123
+ :desired_weight,
29124
+ :current_instance_count,
29125
+ :desired_instance_count,
29126
+ :instance_type,
29127
+ :accelerator_type,
29128
+ :variant_status)
29129
+ SENSITIVE = []
29130
+ include Aws::Structure
29131
+ end
29132
+
28952
29133
  # A SageMaker Model Building Pipeline instance.
28953
29134
  #
28954
29135
  # @!attribute [rw] pipeline_arn
@@ -30107,6 +30288,45 @@ module Aws::SageMaker
30107
30288
  include Aws::Structure
30108
30289
  end
30109
30290
 
30291
+ # Describes the status of the production variant.
30292
+ #
30293
+ # @!attribute [rw] status
30294
+ # The endpoint variant status which describes the current deployment
30295
+ # stage status or operational status.
30296
+ #
30297
+ # * `Creating`\: Creating inference resources for the production
30298
+ # variant.
30299
+ #
30300
+ # * `Deleting`\: Terminating inference resources for the production
30301
+ # variant.
30302
+ #
30303
+ # * `Updating`\: Updating capacity for the production variant.
30304
+ #
30305
+ # * `ActivatingTraffic`\: Turning on traffic for the production
30306
+ # variant.
30307
+ #
30308
+ # * `Baking`\: Waiting period to monitor the CloudWatch alarms in the
30309
+ # automatic rollback configuration.
30310
+ # @return [String]
30311
+ #
30312
+ # @!attribute [rw] status_message
30313
+ # A message that describes the status of the production variant.
30314
+ # @return [String]
30315
+ #
30316
+ # @!attribute [rw] start_time
30317
+ # The start time of the current status change.
30318
+ # @return [Time]
30319
+ #
30320
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariantStatus AWS API Documentation
30321
+ #
30322
+ class ProductionVariantStatus < Struct.new(
30323
+ :status,
30324
+ :status_message,
30325
+ :start_time)
30326
+ SENSITIVE = []
30327
+ include Aws::Structure
30328
+ end
30329
+
30110
30330
  # Describes weight and capacities for a production variant associated
30111
30331
  # with an endpoint. If you sent a request to the
30112
30332
  # `UpdateEndpointWeightsAndCapacities` API and the endpoint status is
@@ -30140,6 +30360,11 @@ module Aws::SageMaker
30140
30360
  # `UpdateEndpointWeightsAndCapacities` request.
30141
30361
  # @return [Integer]
30142
30362
  #
30363
+ # @!attribute [rw] variant_status
30364
+ # The endpoint variant status which describes the current deployment
30365
+ # stage status or operational status.
30366
+ # @return [Array<Types::ProductionVariantStatus>]
30367
+ #
30143
30368
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariantSummary AWS API Documentation
30144
30369
  #
30145
30370
  class ProductionVariantSummary < Struct.new(
@@ -30148,7 +30373,8 @@ module Aws::SageMaker
30148
30373
  :current_weight,
30149
30374
  :desired_weight,
30150
30375
  :current_instance_count,
30151
- :desired_instance_count)
30376
+ :desired_instance_count,
30377
+ :variant_status)
30152
30378
  SENSITIVE = []
30153
30379
  include Aws::Structure
30154
30380
  end
@@ -33257,27 +33483,54 @@ module Aws::SageMaker
33257
33483
  include Aws::Structure
33258
33484
  end
33259
33485
 
33260
- # Currently, the `TrafficRoutingConfig` API is not supported.
33486
+ # Defines the traffic routing strategy during an endpoint deployment to
33487
+ # shift traffic from the old fleet to the new fleet.
33261
33488
  #
33262
33489
  # @note When making an API call, you may pass TrafficRoutingConfig
33263
33490
  # data as a hash:
33264
33491
  #
33265
33492
  # {
33266
- # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY
33493
+ # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY, LINEAR
33267
33494
  # wait_interval_in_seconds: 1, # required
33268
33495
  # canary_size: {
33269
33496
  # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
33270
33497
  # value: 1, # required
33271
33498
  # },
33499
+ # linear_step_size: {
33500
+ # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
33501
+ # value: 1, # required
33502
+ # },
33272
33503
  # }
33273
33504
  #
33274
33505
  # @!attribute [rw] type
33506
+ # Traffic routing strategy type.
33507
+ #
33508
+ # * `ALL_AT_ONCE`\: Endpoint traffic shifts to the new fleet in a
33509
+ # single step.
33510
+ #
33511
+ # * `CANARY`\: Endpoint traffic shifts to the new fleet in two steps.
33512
+ # The first step is the canary, which is a small portion of the
33513
+ # traffic. The second step is the remainder of the traffic.
33514
+ #
33515
+ # * `LINEAR`\: Endpoint traffic shifts to the new fleet in n steps of
33516
+ # a configurable size.
33275
33517
  # @return [String]
33276
33518
  #
33277
33519
  # @!attribute [rw] wait_interval_in_seconds
33520
+ # The waiting time (in seconds) between incremental steps to turn on
33521
+ # traffic on the new endpoint fleet.
33278
33522
  # @return [Integer]
33279
33523
  #
33280
33524
  # @!attribute [rw] canary_size
33525
+ # Batch size for the first step to turn on traffic on the new endpoint
33526
+ # fleet. `Value` must be less than or equal to 50% of the variant's
33527
+ # total instance count.
33528
+ # @return [Types::CapacitySize]
33529
+ #
33530
+ # @!attribute [rw] linear_step_size
33531
+ # Batch size for each step to turn on traffic on the new endpoint
33532
+ # fleet. `Value` must be 10-50% of the variant's total instance
33533
+ # count.
33281
33534
  # @return [Types::CapacitySize]
33282
33535
  #
33283
33536
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrafficRoutingConfig AWS API Documentation
@@ -33285,7 +33538,8 @@ module Aws::SageMaker
33285
33538
  class TrafficRoutingConfig < Struct.new(
33286
33539
  :type,
33287
33540
  :wait_interval_in_seconds,
33288
- :canary_size)
33541
+ :canary_size,
33542
+ :linear_step_size)
33289
33543
  SENSITIVE = []
33290
33544
  include Aws::Structure
33291
33545
  end
@@ -35882,12 +36136,16 @@ module Aws::SageMaker
35882
36136
  # deployment_config: {
35883
36137
  # blue_green_update_policy: { # required
35884
36138
  # traffic_routing_configuration: { # required
35885
- # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY
36139
+ # type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY, LINEAR
35886
36140
  # wait_interval_in_seconds: 1, # required
35887
36141
  # canary_size: {
35888
36142
  # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
35889
36143
  # value: 1, # required
35890
36144
  # },
36145
+ # linear_step_size: {
36146
+ # type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
36147
+ # value: 1, # required
36148
+ # },
35891
36149
  # },
35892
36150
  # termination_wait_in_seconds: 1,
35893
36151
  # maximum_execution_timeout_in_seconds: 1,
@@ -35900,6 +36158,7 @@ module Aws::SageMaker
35900
36158
  # ],
35901
36159
  # },
35902
36160
  # },
36161
+ # retain_deployment_config: false,
35903
36162
  # }
35904
36163
  #
35905
36164
  # @!attribute [rw] endpoint_name
@@ -35934,9 +36193,15 @@ module Aws::SageMaker
35934
36193
  # @return [Array<Types::VariantProperty>]
35935
36194
  #
35936
36195
  # @!attribute [rw] deployment_config
35937
- # The deployment configuration for the endpoint to be updated.
36196
+ # The deployment configuration for an endpoint, which contains the
36197
+ # desired deployment strategy and rollback configurations.
35938
36198
  # @return [Types::DeploymentConfig]
35939
36199
  #
36200
+ # @!attribute [rw] retain_deployment_config
36201
+ # Specifies whether to reuse the last deployment configuration. The
36202
+ # default value is false (the configuration is not reused).
36203
+ # @return [Boolean]
36204
+ #
35940
36205
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointInput AWS API Documentation
35941
36206
  #
35942
36207
  class UpdateEndpointInput < Struct.new(
@@ -35944,7 +36209,8 @@ module Aws::SageMaker
35944
36209
  :endpoint_config_name,
35945
36210
  :retain_all_variant_properties,
35946
36211
  :exclude_retained_variant_properties,
35947
- :deployment_config)
36212
+ :deployment_config,
36213
+ :retain_deployment_config)
35948
36214
  SENSITIVE = []
35949
36215
  include Aws::Structure
35950
36216
  end
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-sagemaker/customizations'
49
49
  # @!group service
50
50
  module Aws::SageMaker
51
51
 
52
- GEM_VERSION = '1.107.0'
52
+ GEM_VERSION = '1.108.0'
53
53
 
54
54
  end
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.107.0
4
+ version: 1.108.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: 2021-11-04 00:00:00.000000000 Z
11
+ date: 2021-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core