aws-sdk-ecs 1.135.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: '0729fd600af973cfd54c77397464791c488a6f524e22c84dd2b4e4dce4013fdf'
4
- data.tar.gz: 723d35b58178857f473b6ceb71a329f2f86afb19a4d793145ac5b46399334ad3
3
+ metadata.gz: 549dfbda92dc72f85c2b576e92ad0b87ecf486270e6480d2890f74ae43884a4d
4
+ data.tar.gz: 7e65f17024290cbe1e4cb2f06eae7ba8b8c6ae1eb59867b57f7c510b82400199
5
5
  SHA512:
6
- metadata.gz: 8e7169e94ffb31e9b3d40e22299f1f7ca53478af18bf7b281fe70e5b894fe705ba36fb06dcf19b3df45f7c88b5b3116a08701d27b52cd8e139444ab2e3e0adbf
7
- data.tar.gz: 8907e5c810ab431ee896e2f816ebda518b835ce24a0166904fc8a9e8b85a88f050be9d063e8e19d414b7124c8fbd1a33b90e79691ef8816080bacfd97b5a528a
6
+ metadata.gz: 8da04f699330b0fa067db14d927bc86984bff6ad4352197aea306c9c5107368e6d992a2f86b644a49f6430b80df4be161f5ee2379149573695ab4d1bde60d3b0
7
+ data.tar.gz: 381c3b605e547090b5d14e16d7f0bd807edeb9c4adbfc01788f2c0d816e17e0605a6d716d5aa5b276023db1f5b3ab7ad8937f9b9a8bbe59533106261724826d4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.135.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.135.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.135.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"))
@@ -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.135.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.135.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-28 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