aws-sdk-ecs 1.238.0 → 1.239.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +42 -6
- data/lib/aws-sdk-ecs/client_api.rb +8 -0
- data/lib/aws-sdk-ecs/types.rb +55 -2
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/params.rbs +11 -4
- data/sig/types.rbs +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aae803f2c6b8d956b64b5b1b4155a1c78b4aa8c4e826575c618eb81b1921359c
|
|
4
|
+
data.tar.gz: 75af27be15564316af3d62a11fb8606d06551b8a0b88ea8f20c247c0e950b0b7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2452fda81f4cf9b148b10c72ed06be12e9314b9d1f0781fc64a58dc1a69a2e1b7cc773c3b4dd04a6e26bdee3677ffa8bf37be4fc49b39a30c17c4d29bc7936c
|
|
7
|
+
data.tar.gz: 945abfa550a5dc6a2721bf90eba53950563ed02f8e4f2070ab25f7c97b6a00ac8b8ef7bdfb59a9802d114202f8a0b616f6a2bf4f66b0de711d992feeb57e0c6a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.239.0 (2026-06-29)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon ECS now supports customizable deployment circuit breaker configurations. Customers can now define the failure threshold or control the failure counting mechanism.
|
|
8
|
+
|
|
4
9
|
1.238.0 (2026-06-18)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.239.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
|
@@ -2460,6 +2460,11 @@ module Aws::ECS
|
|
|
2460
2460
|
# deployment_circuit_breaker: {
|
|
2461
2461
|
# enable: false, # required
|
|
2462
2462
|
# rollback: false, # required
|
|
2463
|
+
# reset_on_healthy_task: false,
|
|
2464
|
+
# threshold_configuration: {
|
|
2465
|
+
# type: "COUNT", # required, accepts COUNT, BOUNDED_PERCENT, UNBOUNDED_PERCENT
|
|
2466
|
+
# value: 1, # required
|
|
2467
|
+
# },
|
|
2463
2468
|
# },
|
|
2464
2469
|
# maximum_percent: 1,
|
|
2465
2470
|
# minimum_healthy_percent: 1,
|
|
@@ -2657,6 +2662,9 @@ module Aws::ECS
|
|
|
2657
2662
|
# resp.service.task_definition #=> String
|
|
2658
2663
|
# resp.service.deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
|
|
2659
2664
|
# resp.service.deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
|
|
2665
|
+
# resp.service.deployment_configuration.deployment_circuit_breaker.reset_on_healthy_task #=> Boolean
|
|
2666
|
+
# resp.service.deployment_configuration.deployment_circuit_breaker.threshold_configuration.type #=> String, one of "COUNT", "BOUNDED_PERCENT", "UNBOUNDED_PERCENT"
|
|
2667
|
+
# resp.service.deployment_configuration.deployment_circuit_breaker.threshold_configuration.value #=> Integer
|
|
2660
2668
|
# resp.service.deployment_configuration.maximum_percent #=> Integer
|
|
2661
2669
|
# resp.service.deployment_configuration.minimum_healthy_percent #=> Integer
|
|
2662
2670
|
# resp.service.deployment_configuration.alarms.alarm_names #=> Array
|
|
@@ -3896,6 +3904,9 @@ module Aws::ECS
|
|
|
3896
3904
|
# resp.service.task_definition #=> String
|
|
3897
3905
|
# resp.service.deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
|
|
3898
3906
|
# resp.service.deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
|
|
3907
|
+
# resp.service.deployment_configuration.deployment_circuit_breaker.reset_on_healthy_task #=> Boolean
|
|
3908
|
+
# resp.service.deployment_configuration.deployment_circuit_breaker.threshold_configuration.type #=> String, one of "COUNT", "BOUNDED_PERCENT", "UNBOUNDED_PERCENT"
|
|
3909
|
+
# resp.service.deployment_configuration.deployment_circuit_breaker.threshold_configuration.value #=> Integer
|
|
3899
3910
|
# resp.service.deployment_configuration.maximum_percent #=> Integer
|
|
3900
3911
|
# resp.service.deployment_configuration.minimum_healthy_percent #=> Integer
|
|
3901
3912
|
# resp.service.deployment_configuration.alarms.alarm_names #=> Array
|
|
@@ -6112,8 +6123,13 @@ module Aws::ECS
|
|
|
6112
6123
|
# cluster_arn: "arn:aws:ecs:us-west-2:123456789012:cluster/example",
|
|
6113
6124
|
# deployment_configuration: {
|
|
6114
6125
|
# deployment_circuit_breaker: {
|
|
6115
|
-
# enable:
|
|
6116
|
-
#
|
|
6126
|
+
# enable: true,
|
|
6127
|
+
# reset_on_healthy_task: true,
|
|
6128
|
+
# rollback: true,
|
|
6129
|
+
# threshold_configuration: {
|
|
6130
|
+
# type: "BOUNDED_PERCENT",
|
|
6131
|
+
# value: 50,
|
|
6132
|
+
# },
|
|
6117
6133
|
# },
|
|
6118
6134
|
# maximum_percent: 200,
|
|
6119
6135
|
# minimum_healthy_percent: 100,
|
|
@@ -6153,8 +6169,13 @@ module Aws::ECS
|
|
|
6153
6169
|
# cluster_arn: "arn:aws:ecs:us-east-1:123456789012:cluster/MyCluster",
|
|
6154
6170
|
# deployment_configuration: {
|
|
6155
6171
|
# deployment_circuit_breaker: {
|
|
6156
|
-
# enable:
|
|
6157
|
-
#
|
|
6172
|
+
# enable: true,
|
|
6173
|
+
# reset_on_healthy_task: true,
|
|
6174
|
+
# rollback: true,
|
|
6175
|
+
# threshold_configuration: {
|
|
6176
|
+
# type: "BOUNDED_PERCENT",
|
|
6177
|
+
# value: 50,
|
|
6178
|
+
# },
|
|
6158
6179
|
# },
|
|
6159
6180
|
# lifecycle_hooks: [
|
|
6160
6181
|
# {
|
|
@@ -6238,6 +6259,9 @@ module Aws::ECS
|
|
|
6238
6259
|
# resp.service_deployments[0].lifecycle_hook_details[0].timeout_action #=> String, one of "ROLLBACK", "CONTINUE"
|
|
6239
6260
|
# resp.service_deployments[0].deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
|
|
6240
6261
|
# resp.service_deployments[0].deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
|
|
6262
|
+
# resp.service_deployments[0].deployment_configuration.deployment_circuit_breaker.reset_on_healthy_task #=> Boolean
|
|
6263
|
+
# resp.service_deployments[0].deployment_configuration.deployment_circuit_breaker.threshold_configuration.type #=> String, one of "COUNT", "BOUNDED_PERCENT", "UNBOUNDED_PERCENT"
|
|
6264
|
+
# resp.service_deployments[0].deployment_configuration.deployment_circuit_breaker.threshold_configuration.value #=> Integer
|
|
6241
6265
|
# resp.service_deployments[0].deployment_configuration.maximum_percent #=> Integer
|
|
6242
6266
|
# resp.service_deployments[0].deployment_configuration.minimum_healthy_percent #=> Integer
|
|
6243
6267
|
# resp.service_deployments[0].deployment_configuration.alarms.alarm_names #=> Array
|
|
@@ -6758,6 +6782,9 @@ module Aws::ECS
|
|
|
6758
6782
|
# resp.services[0].task_definition #=> String
|
|
6759
6783
|
# resp.services[0].deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
|
|
6760
6784
|
# resp.services[0].deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
|
|
6785
|
+
# resp.services[0].deployment_configuration.deployment_circuit_breaker.reset_on_healthy_task #=> Boolean
|
|
6786
|
+
# resp.services[0].deployment_configuration.deployment_circuit_breaker.threshold_configuration.type #=> String, one of "COUNT", "BOUNDED_PERCENT", "UNBOUNDED_PERCENT"
|
|
6787
|
+
# resp.services[0].deployment_configuration.deployment_circuit_breaker.threshold_configuration.value #=> Integer
|
|
6761
6788
|
# resp.services[0].deployment_configuration.maximum_percent #=> Integer
|
|
6762
6789
|
# resp.services[0].deployment_configuration.minimum_healthy_percent #=> Integer
|
|
6763
6790
|
# resp.services[0].deployment_configuration.alarms.alarm_names #=> Array
|
|
@@ -14648,7 +14675,8 @@ module Aws::ECS
|
|
|
14648
14675
|
# task definition must also have `FARGATE` compatibility.
|
|
14649
14676
|
#
|
|
14650
14677
|
# If you provide a task definition ARN, you cannot also specify
|
|
14651
|
-
# `primaryContainer`, `taskRoleArn`, `cpu`, or
|
|
14678
|
+
# `primaryContainer`, `executionRoleArn`, `taskRoleArn`, `cpu`, or
|
|
14679
|
+
# `memory`.
|
|
14652
14680
|
#
|
|
14653
14681
|
# @return [Types::UpdateExpressGatewayServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
14654
14682
|
#
|
|
@@ -15324,6 +15352,11 @@ module Aws::ECS
|
|
|
15324
15352
|
# deployment_circuit_breaker: {
|
|
15325
15353
|
# enable: false, # required
|
|
15326
15354
|
# rollback: false, # required
|
|
15355
|
+
# reset_on_healthy_task: false,
|
|
15356
|
+
# threshold_configuration: {
|
|
15357
|
+
# type: "COUNT", # required, accepts COUNT, BOUNDED_PERCENT, UNBOUNDED_PERCENT
|
|
15358
|
+
# value: 1, # required
|
|
15359
|
+
# },
|
|
15327
15360
|
# },
|
|
15328
15361
|
# maximum_percent: 1,
|
|
15329
15362
|
# minimum_healthy_percent: 1,
|
|
@@ -15539,6 +15572,9 @@ module Aws::ECS
|
|
|
15539
15572
|
# resp.service.task_definition #=> String
|
|
15540
15573
|
# resp.service.deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
|
|
15541
15574
|
# resp.service.deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
|
|
15575
|
+
# resp.service.deployment_configuration.deployment_circuit_breaker.reset_on_healthy_task #=> Boolean
|
|
15576
|
+
# resp.service.deployment_configuration.deployment_circuit_breaker.threshold_configuration.type #=> String, one of "COUNT", "BOUNDED_PERCENT", "UNBOUNDED_PERCENT"
|
|
15577
|
+
# resp.service.deployment_configuration.deployment_circuit_breaker.threshold_configuration.value #=> Integer
|
|
15542
15578
|
# resp.service.deployment_configuration.maximum_percent #=> Integer
|
|
15543
15579
|
# resp.service.deployment_configuration.minimum_healthy_percent #=> Integer
|
|
15544
15580
|
# resp.service.deployment_configuration.alarms.alarm_names #=> Array
|
|
@@ -16210,7 +16246,7 @@ module Aws::ECS
|
|
|
16210
16246
|
tracer: tracer
|
|
16211
16247
|
)
|
|
16212
16248
|
context[:gem_name] = 'aws-sdk-ecs'
|
|
16213
|
-
context[:gem_version] = '1.
|
|
16249
|
+
context[:gem_version] = '1.239.0'
|
|
16214
16250
|
Seahorse::Client::Request.new(handlers, context)
|
|
16215
16251
|
end
|
|
16216
16252
|
|
|
@@ -603,6 +603,8 @@ module Aws::ECS
|
|
|
603
603
|
TaskVolumeConfigurations = Shapes::ListShape.new(name: 'TaskVolumeConfigurations')
|
|
604
604
|
TaskVolumeStorageGiB = Shapes::IntegerShape.new(name: 'TaskVolumeStorageGiB')
|
|
605
605
|
Tasks = Shapes::ListShape.new(name: 'Tasks')
|
|
606
|
+
ThresholdConfiguration = Shapes::StructureShape.new(name: 'ThresholdConfiguration')
|
|
607
|
+
ThresholdType = Shapes::StringShape.new(name: 'ThresholdType')
|
|
606
608
|
TimeoutConfiguration = Shapes::StructureShape.new(name: 'TimeoutConfiguration')
|
|
607
609
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
|
608
610
|
Tmpfs = Shapes::StructureShape.new(name: 'Tmpfs')
|
|
@@ -1391,6 +1393,8 @@ module Aws::ECS
|
|
|
1391
1393
|
|
|
1392
1394
|
DeploymentCircuitBreaker.add_member(:enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enable"))
|
|
1393
1395
|
DeploymentCircuitBreaker.add_member(:rollback, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "rollback"))
|
|
1396
|
+
DeploymentCircuitBreaker.add_member(:reset_on_healthy_task, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "resetOnHealthyTask"))
|
|
1397
|
+
DeploymentCircuitBreaker.add_member(:threshold_configuration, Shapes::ShapeRef.new(shape: ThresholdConfiguration, location_name: "thresholdConfiguration"))
|
|
1394
1398
|
DeploymentCircuitBreaker.struct_class = Types::DeploymentCircuitBreaker
|
|
1395
1399
|
|
|
1396
1400
|
DeploymentConfiguration.add_member(:deployment_circuit_breaker, Shapes::ShapeRef.new(shape: DeploymentCircuitBreaker, location_name: "deploymentCircuitBreaker"))
|
|
@@ -2969,6 +2973,10 @@ module Aws::ECS
|
|
|
2969
2973
|
|
|
2970
2974
|
Tasks.member = Shapes::ShapeRef.new(shape: Task)
|
|
2971
2975
|
|
|
2976
|
+
ThresholdConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: ThresholdType, required: true, location_name: "type"))
|
|
2977
|
+
ThresholdConfiguration.add_member(:value, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "value"))
|
|
2978
|
+
ThresholdConfiguration.struct_class = Types::ThresholdConfiguration
|
|
2979
|
+
|
|
2972
2980
|
TimeoutConfiguration.add_member(:idle_timeout_seconds, Shapes::ShapeRef.new(shape: Duration, location_name: "idleTimeoutSeconds"))
|
|
2973
2981
|
TimeoutConfiguration.add_member(:per_request_timeout_seconds, Shapes::ShapeRef.new(shape: Duration, location_name: "perRequestTimeoutSeconds"))
|
|
2974
2982
|
TimeoutConfiguration.struct_class = Types::TimeoutConfiguration
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
|
@@ -5739,11 +5739,30 @@ module Aws::ECS
|
|
|
5739
5739
|
# that completed successfully.
|
|
5740
5740
|
# @return [Boolean]
|
|
5741
5741
|
#
|
|
5742
|
+
# @!attribute [rw] reset_on_healthy_task
|
|
5743
|
+
# Determines whether the deployment circuit breaker resets its failure
|
|
5744
|
+
# count when a task reaches a healthy state. When set to `true`, a
|
|
5745
|
+
# healthy task resets the failure count to `0`; when `false`, it
|
|
5746
|
+
# doesn't.
|
|
5747
|
+
# @return [Boolean]
|
|
5748
|
+
#
|
|
5749
|
+
# @!attribute [rw] threshold_configuration
|
|
5750
|
+
# The threshold configuration that controls when the deployment
|
|
5751
|
+
# circuit breaker triggers. For more information, see
|
|
5752
|
+
# [ThresholdConfiguration][1].
|
|
5753
|
+
#
|
|
5754
|
+
#
|
|
5755
|
+
#
|
|
5756
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ThresholdConfiguration.html
|
|
5757
|
+
# @return [Types::ThresholdConfiguration]
|
|
5758
|
+
#
|
|
5742
5759
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentCircuitBreaker AWS API Documentation
|
|
5743
5760
|
#
|
|
5744
5761
|
class DeploymentCircuitBreaker < Struct.new(
|
|
5745
5762
|
:enable,
|
|
5746
|
-
:rollback
|
|
5763
|
+
:rollback,
|
|
5764
|
+
:reset_on_healthy_task,
|
|
5765
|
+
:threshold_configuration)
|
|
5747
5766
|
SENSITIVE = []
|
|
5748
5767
|
include Aws::Structure
|
|
5749
5768
|
end
|
|
@@ -18174,6 +18193,39 @@ module Aws::ECS
|
|
|
18174
18193
|
include Aws::Structure
|
|
18175
18194
|
end
|
|
18176
18195
|
|
|
18196
|
+
# Defines the failure threshold that the deployment circuit breaker uses
|
|
18197
|
+
# to monitor a deployment. The `type` and `value` together determine the
|
|
18198
|
+
# number of task failures that are tolerated before the circuit breaker
|
|
18199
|
+
# triggers.
|
|
18200
|
+
#
|
|
18201
|
+
# By default, the threshold configuration uses a `type` of
|
|
18202
|
+
# `BOUNDED_PERCENT` with a `value` of `50`.
|
|
18203
|
+
#
|
|
18204
|
+
# @!attribute [rw] type
|
|
18205
|
+
# Determines how `value` is used to calculate the failure threshold.
|
|
18206
|
+
# For the percentage types (`BOUNDED_PERCENT` and
|
|
18207
|
+
# `UNBOUNDED_PERCENT`), `value` is multiplied by the latest service
|
|
18208
|
+
# desired count; for `COUNT`, `value` is used directly. The default is
|
|
18209
|
+
# `BOUNDED_PERCENT`.
|
|
18210
|
+
# @return [String]
|
|
18211
|
+
#
|
|
18212
|
+
# @!attribute [rw] value
|
|
18213
|
+
# The integer used to calculate the failure threshold. When `type` is
|
|
18214
|
+
# `COUNT`, this is the failure threshold itself. When `type` is a
|
|
18215
|
+
# percentage type, this is the percentage that Amazon ECS multiplies
|
|
18216
|
+
# by the latest service desired count to calculate the failure
|
|
18217
|
+
# threshold.
|
|
18218
|
+
# @return [Integer]
|
|
18219
|
+
#
|
|
18220
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ThresholdConfiguration AWS API Documentation
|
|
18221
|
+
#
|
|
18222
|
+
class ThresholdConfiguration < Struct.new(
|
|
18223
|
+
:type,
|
|
18224
|
+
:value)
|
|
18225
|
+
SENSITIVE = []
|
|
18226
|
+
include Aws::Structure
|
|
18227
|
+
end
|
|
18228
|
+
|
|
18177
18229
|
# An object that represents the timeout configurations for Service
|
|
18178
18230
|
# Connect.
|
|
18179
18231
|
#
|
|
@@ -18727,7 +18779,8 @@ module Aws::ECS
|
|
|
18727
18779
|
# task definition must also have `FARGATE` compatibility.
|
|
18728
18780
|
#
|
|
18729
18781
|
# If you provide a task definition ARN, you cannot also specify
|
|
18730
|
-
# `primaryContainer`, `taskRoleArn`, `cpu`, or
|
|
18782
|
+
# `primaryContainer`, `executionRoleArn`, `taskRoleArn`, `cpu`, or
|
|
18783
|
+
# `memory`.
|
|
18731
18784
|
# @return [String]
|
|
18732
18785
|
#
|
|
18733
18786
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateExpressGatewayServiceRequest AWS API Documentation
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/sig/params.rbs
CHANGED
|
@@ -129,11 +129,18 @@ module Aws
|
|
|
129
129
|
}?
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
+
type deployment_circuit_breaker = {
|
|
133
|
+
enable: bool,
|
|
134
|
+
rollback: bool,
|
|
135
|
+
reset_on_healthy_task: bool?,
|
|
136
|
+
threshold_configuration: {
|
|
137
|
+
type: ("COUNT" | "BOUNDED_PERCENT" | "UNBOUNDED_PERCENT"),
|
|
138
|
+
value: ::Integer
|
|
139
|
+
}?
|
|
140
|
+
}
|
|
141
|
+
|
|
132
142
|
type deployment_configuration = {
|
|
133
|
-
deployment_circuit_breaker:
|
|
134
|
-
enable: bool,
|
|
135
|
-
rollback: bool
|
|
136
|
-
}?,
|
|
143
|
+
deployment_circuit_breaker: Params::deployment_circuit_breaker?,
|
|
137
144
|
maximum_percent: ::Integer?,
|
|
138
145
|
minimum_healthy_percent: ::Integer?,
|
|
139
146
|
alarms: {
|
data/sig/types.rbs
CHANGED
|
@@ -874,6 +874,8 @@ module Aws::ECS
|
|
|
874
874
|
class DeploymentCircuitBreaker
|
|
875
875
|
attr_accessor enable: bool
|
|
876
876
|
attr_accessor rollback: bool
|
|
877
|
+
attr_accessor reset_on_healthy_task: bool
|
|
878
|
+
attr_accessor threshold_configuration: Types::ThresholdConfiguration
|
|
877
879
|
SENSITIVE: []
|
|
878
880
|
end
|
|
879
881
|
|
|
@@ -2762,6 +2764,12 @@ module Aws::ECS
|
|
|
2762
2764
|
SENSITIVE: []
|
|
2763
2765
|
end
|
|
2764
2766
|
|
|
2767
|
+
class ThresholdConfiguration
|
|
2768
|
+
attr_accessor type: ("COUNT" | "BOUNDED_PERCENT" | "UNBOUNDED_PERCENT")
|
|
2769
|
+
attr_accessor value: ::Integer
|
|
2770
|
+
SENSITIVE: []
|
|
2771
|
+
end
|
|
2772
|
+
|
|
2765
2773
|
class TimeoutConfiguration
|
|
2766
2774
|
attr_accessor idle_timeout_seconds: ::Integer
|
|
2767
2775
|
attr_accessor per_request_timeout_seconds: ::Integer
|