aws-sdk-ecs 1.134.0 → 1.136.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: bfb2780e64afc7da9c43ff71d41117ad999250539905582bca65d3e5dbb26ec0
4
- data.tar.gz: 8cfd2ad35e215a42c58ac22cb831b37d8e67f884d6dde130b86baed4fb559f4e
3
+ metadata.gz: 549dfbda92dc72f85c2b576e92ad0b87ecf486270e6480d2890f74ae43884a4d
4
+ data.tar.gz: 7e65f17024290cbe1e4cb2f06eae7ba8b8c6ae1eb59867b57f7c510b82400199
5
5
  SHA512:
6
- metadata.gz: a548576a0a4a4aa885e6633e9e9b3b27d7df50ffd00b71cfca52401e1975bad25211581381a0ec823f6a91df9f94dc00bf5358537c2199a71307cedc462b397e
7
- data.tar.gz: 0d5b4705960f5b11410917349d4ce8129cb962df68c53ce9f69fda6e371d3a379a08fa59e12b44a9f689fad729954b455d97a0403ed323dcefa56dcf7dec21e4
6
+ metadata.gz: 8da04f699330b0fa067db14d927bc86984bff6ad4352197aea306c9c5107368e6d992a2f86b644a49f6430b80df4be161f5ee2379149573695ab4d1bde60d3b0
7
+ data.tar.gz: 381c3b605e547090b5d14e16d7f0bd807edeb9c4adbfc01788f2c0d816e17e0605a6d716d5aa5b276023db1f5b3ab7ad8937f9b9a8bbe59533106261724826d4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.136.0 (2024-01-04)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for managed instance draining which facilitates graceful termination of Amazon ECS instances.
8
+
9
+ 1.135.0 (2023-11-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.134.0 (2023-11-27)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.134.0
1
+ 1.136.0
@@ -464,6 +464,7 @@ module Aws::ECS
464
464
  # instance_warmup_period: 1,
465
465
  # },
466
466
  # managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
467
+ # managed_draining: "ENABLED", # accepts ENABLED, DISABLED
467
468
  # },
468
469
  # tags: [
469
470
  # {
@@ -485,6 +486,7 @@ module Aws::ECS
485
486
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
486
487
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
487
488
  # resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
489
+ # resp.capacity_provider.auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
488
490
  # resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
489
491
  # resp.capacity_provider.update_status_reason #=> String
490
492
  # resp.capacity_provider.tags #=> Array
@@ -1615,6 +1617,8 @@ module Aws::ECS
1615
1617
  # more information, see [Amazon ECS deployment types][1] in the *Amazon
1616
1618
  # Elastic Container Service Developer Guide*.
1617
1619
  #
1620
+ # You can create a maximum of 5 tasks sets for a deployment.
1621
+ #
1618
1622
  #
1619
1623
  #
1620
1624
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
@@ -2027,6 +2031,7 @@ module Aws::ECS
2027
2031
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
2028
2032
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
2029
2033
  # resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
2034
+ # resp.capacity_provider.auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
2030
2035
  # resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
2031
2036
  # resp.capacity_provider.update_status_reason #=> String
2032
2037
  # resp.capacity_provider.tags #=> Array
@@ -3104,6 +3109,7 @@ module Aws::ECS
3104
3109
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
3105
3110
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
3106
3111
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
3112
+ # resp.capacity_providers[0].auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
3107
3113
  # resp.capacity_providers[0].update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
3108
3114
  # resp.capacity_providers[0].update_status_reason #=> String
3109
3115
  # resp.capacity_providers[0].tags #=> Array
@@ -8360,6 +8366,7 @@ module Aws::ECS
8360
8366
  # instance_warmup_period: 1,
8361
8367
  # },
8362
8368
  # managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
8369
+ # managed_draining: "ENABLED", # accepts ENABLED, DISABLED
8363
8370
  # },
8364
8371
  # })
8365
8372
  #
@@ -8375,6 +8382,7 @@ module Aws::ECS
8375
8382
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
8376
8383
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
8377
8384
  # resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
8385
+ # resp.capacity_provider.auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
8378
8386
  # resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
8379
8387
  # resp.capacity_provider.update_status_reason #=> String
8380
8388
  # resp.capacity_provider.tags #=> Array
@@ -9851,7 +9859,7 @@ module Aws::ECS
9851
9859
  params: params,
9852
9860
  config: config)
9853
9861
  context[:gem_name] = 'aws-sdk-ecs'
9854
- context[:gem_version] = '1.134.0'
9862
+ context[:gem_version] = '1.136.0'
9855
9863
  Seahorse::Client::Request.new(handlers, context)
9856
9864
  end
9857
9865
 
@@ -213,6 +213,7 @@ module Aws::ECS
213
213
  ManagedAgentStateChange = Shapes::StructureShape.new(name: 'ManagedAgentStateChange')
214
214
  ManagedAgentStateChanges = Shapes::ListShape.new(name: 'ManagedAgentStateChanges')
215
215
  ManagedAgents = Shapes::ListShape.new(name: 'ManagedAgents')
216
+ ManagedDraining = Shapes::StringShape.new(name: 'ManagedDraining')
216
217
  ManagedScaling = Shapes::StructureShape.new(name: 'ManagedScaling')
217
218
  ManagedScalingInstanceWarmupPeriod = Shapes::IntegerShape.new(name: 'ManagedScalingInstanceWarmupPeriod')
218
219
  ManagedScalingStatus = Shapes::StringShape.new(name: 'ManagedScalingStatus')
@@ -421,10 +422,12 @@ module Aws::ECS
421
422
  AutoScalingGroupProvider.add_member(:auto_scaling_group_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "autoScalingGroupArn"))
422
423
  AutoScalingGroupProvider.add_member(:managed_scaling, Shapes::ShapeRef.new(shape: ManagedScaling, location_name: "managedScaling"))
423
424
  AutoScalingGroupProvider.add_member(:managed_termination_protection, Shapes::ShapeRef.new(shape: ManagedTerminationProtection, location_name: "managedTerminationProtection"))
425
+ AutoScalingGroupProvider.add_member(:managed_draining, Shapes::ShapeRef.new(shape: ManagedDraining, location_name: "managedDraining"))
424
426
  AutoScalingGroupProvider.struct_class = Types::AutoScalingGroupProvider
425
427
 
426
428
  AutoScalingGroupProviderUpdate.add_member(:managed_scaling, Shapes::ShapeRef.new(shape: ManagedScaling, location_name: "managedScaling"))
427
429
  AutoScalingGroupProviderUpdate.add_member(:managed_termination_protection, Shapes::ShapeRef.new(shape: ManagedTerminationProtection, location_name: "managedTerminationProtection"))
430
+ AutoScalingGroupProviderUpdate.add_member(:managed_draining, Shapes::ShapeRef.new(shape: ManagedDraining, location_name: "managedDraining"))
428
431
  AutoScalingGroupProviderUpdate.struct_class = Types::AutoScalingGroupProviderUpdate
429
432
 
430
433
  AwsVpcConfiguration.add_member(:subnets, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "subnets"))
@@ -25,16 +25,17 @@ module Aws::ECS
25
25
  # @api private
26
26
  class Handler < Seahorse::Client::Handler
27
27
  def call(context)
28
- # If endpoint was discovered, do not resolve or apply the endpoint.
29
28
  unless context[:discovered_endpoint]
30
29
  params = parameters_for_operation(context)
31
30
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
31
 
33
32
  context.http_request.endpoint = endpoint.url
34
33
  apply_endpoint_headers(context, endpoint.headers)
34
+
35
+ context[:endpoint_params] = params
36
+ context[:endpoint_properties] = endpoint.properties
35
37
  end
36
38
 
37
- context[:endpoint_params] = params
38
39
  context[:auth_scheme] =
39
40
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
41
 
@@ -160,12 +160,22 @@ module Aws::ECS
160
160
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
161
161
  # @return [String]
162
162
  #
163
+ # @!attribute [rw] managed_draining
164
+ # The managed draining option for the Auto Scaling group capacity
165
+ # provider. When you enable this, Amazon ECS manages and gracefully
166
+ # drains the EC2 container instances that are in the Auto Scaling
167
+ # group capacity provider.
168
+ #
169
+ # The default is `ENABLED`.
170
+ # @return [String]
171
+ #
163
172
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/AutoScalingGroupProvider AWS API Documentation
164
173
  #
165
174
  class AutoScalingGroupProvider < Struct.new(
166
175
  :auto_scaling_group_arn,
167
176
  :managed_scaling,
168
- :managed_termination_protection)
177
+ :managed_termination_protection,
178
+ :managed_draining)
169
179
  SENSITIVE = []
170
180
  include Aws::Structure
171
181
  end
@@ -201,11 +211,21 @@ module Aws::ECS
201
211
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
202
212
  # @return [String]
203
213
  #
214
+ # @!attribute [rw] managed_draining
215
+ # The managed draining option for the Auto Scaling group capacity
216
+ # provider. When you enable this, Amazon ECS manages and gracefully
217
+ # drains the EC2 container instances that are in the Auto Scaling
218
+ # group capacity provider.
219
+ #
220
+ # The default is `ENABLED`.
221
+ # @return [String]
222
+ #
204
223
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/AutoScalingGroupProviderUpdate AWS API Documentation
205
224
  #
206
225
  class AutoScalingGroupProviderUpdate < Struct.new(
207
226
  :managed_scaling,
208
- :managed_termination_protection)
227
+ :managed_termination_protection,
228
+ :managed_draining)
209
229
  SENSITIVE = []
210
230
  include Aws::Structure
211
231
  end
@@ -423,6 +443,7 @@ module Aws::ECS
423
443
  # specifying an identifier that isn't valid.
424
444
  #
425
445
  # @!attribute [rw] message
446
+ # Message that describes the cause of the exception.
426
447
  # @return [String]
427
448
  #
428
449
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ClientException AWS API Documentation
@@ -8611,6 +8632,7 @@ module Aws::ECS
8611
8632
  # These errors are usually caused by a server issue.
8612
8633
  #
8613
8634
  # @!attribute [rw] message
8635
+ # Message that describes the cause of the exception.
8614
8636
  # @return [String]
8615
8637
  #
8616
8638
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServerException AWS API Documentation
data/lib/aws-sdk-ecs.rb CHANGED
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-ecs/customizations'
53
53
  # @!group service
54
54
  module Aws::ECS
55
55
 
56
- GEM_VERSION = '1.134.0'
56
+ GEM_VERSION = '1.136.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.134.0
4
+ version: 1.136.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-11-27 00:00:00.000000000 Z
11
+ date: 2024-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core