aws-sdk-ecs 1.244.0 → 1.245.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02f578bf06b3e302e5ef62cf4414fa991c86d4d53c9daa21253c1bfc7fbf215c
4
- data.tar.gz: 790bc9793c082ac802186f4db78cc3657a60f079442d1592154d0753554fcc71
3
+ metadata.gz: 2402e50dc323ed071e86bb122b79353201529300fdaa16f72f408862e0e5eb0a
4
+ data.tar.gz: 6c1f67cdef580414962857d81ef250fd75e523e0a0c09ceeda54b457ff04f885
5
5
  SHA512:
6
- metadata.gz: 3be021c579c03a6f328282e09652ea49cbf566dc0a74508a0a948566d7dc8e211cd76d15201eef7e941a28c361fae86ab067112025dc17f0ad7aa6cb5397e633
7
- data.tar.gz: 19be2db2f9fe529ac3994649f1f9a3f456d431f55b7e055dcb7c176e95959b7bee6ff19a6939135d82b117dbb812e6c284a5e48e14fa8e5451ff75ffcb2218e0
6
+ metadata.gz: 6cc5b6eb5d08c2834459c486aad82cdf4c6b7c64b3af8b8b5657461a61631a44142a6ab89433036b3531308c2e3b2f2ff83042970ba98c8301de8ad21b9f850c
7
+ data.tar.gz: 752869a59eb22f9c65a2020501be14b3bdad1d61213b5ac13797bca9d0c5112c5778f9b206166e64f0abe6728ac23a6749a6fcaeae7a5da480874281ba25b038
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.245.0 (2026-09-03)
5
+ ------------------
6
+
7
+ * Feature - Adds a critical parameter to the Amazon ECS managed daemon APIs that controls whether a daemon task failure drains the container instance. Non-critical daemon failures no longer drain the instance or block instance registration.
8
+
4
9
  1.244.0 (2026-08-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.244.0
1
+ 1.245.0
@@ -1240,6 +1240,25 @@ module Aws::ECS
1240
1240
  # request. It must be unique and is case sensitive. Up to 36 ASCII
1241
1241
  # characters in the range of 33-126 (inclusive) are allowed.
1242
1242
  #
1243
+ # @option params [Boolean] :critical
1244
+ # If the `critical` parameter of a daemon is `true`, and the daemon task
1245
+ # fails, stops, or becomes unhealthy, Amazon ECS drains the container
1246
+ # instance and stops the other tasks running on it. If the `critical`
1247
+ # parameter is `false`, the daemon task failure doesn't affect the
1248
+ # other tasks on the instance. The default value is `true`.
1249
+ #
1250
+ # A non-critical daemon doesn't block instance registration. The
1251
+ # container instance becomes active and continues to run your other
1252
+ # tasks, whether the daemon task fails during scale-out or during a
1253
+ # deployment.
1254
+ #
1255
+ # Amazon ECS emits an EventBridge event when a daemon task fails to
1256
+ # start, for both critical and non-critical daemons.
1257
+ #
1258
+ # Daemon task launch failures during a deployment are still counted by
1259
+ # the deployment circuit breaker. The circuit breaker can roll back an
1260
+ # unstable target revision.
1261
+ #
1243
1262
  # @return [Types::CreateDaemonResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1244
1263
  #
1245
1264
  # * {Types::CreateDaemonResponse#daemon_arn #daemon_arn} => String
@@ -1299,6 +1318,7 @@ module Aws::ECS
1299
1318
  # enable_ecs_managed_tags: false,
1300
1319
  # enable_execute_command: false,
1301
1320
  # client_token: "String",
1321
+ # critical: false,
1302
1322
  # })
1303
1323
  #
1304
1324
  # @example Response structure
@@ -5565,7 +5585,9 @@ module Aws::ECS
5565
5585
  # resp.daemon.current_revisions[0].capacity_providers #=> Array
5566
5586
  # resp.daemon.current_revisions[0].capacity_providers[0].arn #=> String
5567
5587
  # resp.daemon.current_revisions[0].capacity_providers[0].running_count #=> Integer
5588
+ # resp.daemon.current_revisions[0].capacity_providers[0].without_daemon_count #=> Integer
5568
5589
  # resp.daemon.current_revisions[0].total_running_count #=> Integer
5590
+ # resp.daemon.current_revisions[0].total_without_daemon_count #=> Integer
5569
5591
  # resp.daemon.deployment_arn #=> String
5570
5592
  # resp.daemon.created_at #=> Time
5571
5593
  # resp.daemon.updated_at #=> Time
@@ -5684,16 +5706,20 @@ module Aws::ECS
5684
5706
  # resp.daemon_deployments[0].target_daemon_revision.capacity_providers #=> Array
5685
5707
  # resp.daemon_deployments[0].target_daemon_revision.capacity_providers[0].arn #=> String
5686
5708
  # resp.daemon_deployments[0].target_daemon_revision.capacity_providers[0].running_instance_count #=> Integer
5709
+ # resp.daemon_deployments[0].target_daemon_revision.capacity_providers[0].without_daemon_instance_count #=> Integer
5687
5710
  # resp.daemon_deployments[0].target_daemon_revision.capacity_providers[0].draining_instance_count #=> Integer
5688
5711
  # resp.daemon_deployments[0].target_daemon_revision.total_running_instance_count #=> Integer
5712
+ # resp.daemon_deployments[0].target_daemon_revision.total_without_daemon_instance_count #=> Integer
5689
5713
  # resp.daemon_deployments[0].target_daemon_revision.total_draining_instance_count #=> Integer
5690
5714
  # resp.daemon_deployments[0].source_daemon_revisions #=> Array
5691
5715
  # resp.daemon_deployments[0].source_daemon_revisions[0].arn #=> String
5692
5716
  # resp.daemon_deployments[0].source_daemon_revisions[0].capacity_providers #=> Array
5693
5717
  # resp.daemon_deployments[0].source_daemon_revisions[0].capacity_providers[0].arn #=> String
5694
5718
  # resp.daemon_deployments[0].source_daemon_revisions[0].capacity_providers[0].running_instance_count #=> Integer
5719
+ # resp.daemon_deployments[0].source_daemon_revisions[0].capacity_providers[0].without_daemon_instance_count #=> Integer
5695
5720
  # resp.daemon_deployments[0].source_daemon_revisions[0].capacity_providers[0].draining_instance_count #=> Integer
5696
5721
  # resp.daemon_deployments[0].source_daemon_revisions[0].total_running_instance_count #=> Integer
5722
+ # resp.daemon_deployments[0].source_daemon_revisions[0].total_without_daemon_instance_count #=> Integer
5697
5723
  # resp.daemon_deployments[0].source_daemon_revisions[0].total_draining_instance_count #=> Integer
5698
5724
  # resp.daemon_deployments[0].circuit_breaker.failure_count #=> Integer
5699
5725
  # resp.daemon_deployments[0].circuit_breaker.status #=> String, one of "TRIGGERED", "MONITORING", "MONITORING_COMPLETE", "DISABLED"
@@ -5806,6 +5832,7 @@ module Aws::ECS
5806
5832
  # resp.daemon_revisions[0].propagate_tags #=> String, one of "DAEMON", "NONE"
5807
5833
  # resp.daemon_revisions[0].enable_ecs_managed_tags #=> Boolean
5808
5834
  # resp.daemon_revisions[0].enable_execute_command #=> Boolean
5835
+ # resp.daemon_revisions[0].critical #=> Boolean
5809
5836
  # resp.failures #=> Array
5810
5837
  # resp.failures[0].arn #=> String
5811
5838
  # resp.failures[0].reason #=> String
@@ -14570,6 +14597,25 @@ module Aws::ECS
14570
14597
  # tasks in the daemon. If `false`, the execute command functionality is
14571
14598
  # turned off.
14572
14599
  #
14600
+ # @option params [Boolean] :critical
14601
+ # If the `critical` parameter of a daemon is `true`, and the daemon task
14602
+ # fails, stops, or becomes unhealthy, Amazon ECS drains the container
14603
+ # instance and stops the other tasks running on it. If the `critical`
14604
+ # parameter is `false`, the daemon task failure doesn't affect the
14605
+ # other tasks on the instance. The default value is `true`.
14606
+ #
14607
+ # A non-critical daemon doesn't block instance registration. The
14608
+ # container instance becomes active and continues to run your other
14609
+ # tasks, whether the daemon task fails during scale-out or during a
14610
+ # deployment.
14611
+ #
14612
+ # Amazon ECS emits an EventBridge event when a daemon task fails to
14613
+ # start, for both critical and non-critical daemons.
14614
+ #
14615
+ # Daemon task launch failures during a deployment are still counted by
14616
+ # the deployment circuit breaker. The circuit breaker can roll back an
14617
+ # unstable target revision.
14618
+ #
14573
14619
  # @return [Types::UpdateDaemonResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
14574
14620
  #
14575
14621
  # * {Types::UpdateDaemonResponse#daemon_arn #daemon_arn} => String
@@ -14621,6 +14667,7 @@ module Aws::ECS
14621
14667
  # propagate_tags: "DAEMON", # accepts DAEMON, NONE
14622
14668
  # enable_ecs_managed_tags: false,
14623
14669
  # enable_execute_command: false,
14670
+ # critical: false,
14624
14671
  # })
14625
14672
  #
14626
14673
  # @example Response structure
@@ -16272,7 +16319,7 @@ module Aws::ECS
16272
16319
  tracer: tracer
16273
16320
  )
16274
16321
  context[:gem_name] = 'aws-sdk-ecs'
16275
- context[:gem_version] = '1.244.0'
16322
+ context[:gem_version] = '1.245.0'
16276
16323
  Seahorse::Client::Request.new(handlers, context)
16277
16324
  end
16278
16325
 
@@ -1007,6 +1007,7 @@ module Aws::ECS
1007
1007
  CreateDaemonRequest.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableECSManagedTags"))
1008
1008
  CreateDaemonRequest.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableExecuteCommand"))
1009
1009
  CreateDaemonRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
1010
+ CreateDaemonRequest.add_member(:critical, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "critical"))
1010
1011
  CreateDaemonRequest.struct_class = Types::CreateDaemonRequest
1011
1012
 
1012
1013
  CreateDaemonResponse.add_member(:daemon_arn, Shapes::ShapeRef.new(shape: String, location_name: "daemonArn"))
@@ -1100,6 +1101,7 @@ module Aws::ECS
1100
1101
 
1101
1102
  DaemonCapacityProvider.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
1102
1103
  DaemonCapacityProvider.add_member(:running_count, Shapes::ShapeRef.new(shape: Integer, location_name: "runningCount"))
1104
+ DaemonCapacityProvider.add_member(:without_daemon_count, Shapes::ShapeRef.new(shape: Integer, location_name: "withoutDaemonCount"))
1103
1105
  DaemonCapacityProvider.struct_class = Types::DaemonCapacityProvider
1104
1106
 
1105
1107
  DaemonCapacityProviderList.member = Shapes::ShapeRef.new(shape: DaemonCapacityProvider)
@@ -1172,6 +1174,7 @@ module Aws::ECS
1172
1174
 
1173
1175
  DaemonDeploymentCapacityProvider.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
1174
1176
  DaemonDeploymentCapacityProvider.add_member(:running_instance_count, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "runningInstanceCount"))
1177
+ DaemonDeploymentCapacityProvider.add_member(:without_daemon_instance_count, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "withoutDaemonInstanceCount"))
1175
1178
  DaemonDeploymentCapacityProvider.add_member(:draining_instance_count, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "drainingInstanceCount"))
1176
1179
  DaemonDeploymentCapacityProvider.struct_class = Types::DaemonDeploymentCapacityProvider
1177
1180
 
@@ -1187,6 +1190,7 @@ module Aws::ECS
1187
1190
  DaemonDeploymentRevisionDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
1188
1191
  DaemonDeploymentRevisionDetail.add_member(:capacity_providers, Shapes::ShapeRef.new(shape: DaemonDeploymentCapacityProviderList, location_name: "capacityProviders"))
1189
1192
  DaemonDeploymentRevisionDetail.add_member(:total_running_instance_count, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "totalRunningInstanceCount"))
1193
+ DaemonDeploymentRevisionDetail.add_member(:total_without_daemon_instance_count, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "totalWithoutDaemonInstanceCount"))
1190
1194
  DaemonDeploymentRevisionDetail.add_member(:total_draining_instance_count, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "totalDrainingInstanceCount"))
1191
1195
  DaemonDeploymentRevisionDetail.struct_class = Types::DaemonDeploymentRevisionDetail
1192
1196
 
@@ -1238,11 +1242,13 @@ module Aws::ECS
1238
1242
  DaemonRevision.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: DaemonPropagateTags, location_name: "propagateTags"))
1239
1243
  DaemonRevision.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enableECSManagedTags"))
1240
1244
  DaemonRevision.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enableExecuteCommand"))
1245
+ DaemonRevision.add_member(:critical, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "critical"))
1241
1246
  DaemonRevision.struct_class = Types::DaemonRevision
1242
1247
 
1243
1248
  DaemonRevisionDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
1244
1249
  DaemonRevisionDetail.add_member(:capacity_providers, Shapes::ShapeRef.new(shape: DaemonCapacityProviderList, location_name: "capacityProviders"))
1245
1250
  DaemonRevisionDetail.add_member(:total_running_count, Shapes::ShapeRef.new(shape: Integer, location_name: "totalRunningCount"))
1251
+ DaemonRevisionDetail.add_member(:total_without_daemon_count, Shapes::ShapeRef.new(shape: Integer, location_name: "totalWithoutDaemonCount"))
1246
1252
  DaemonRevisionDetail.struct_class = Types::DaemonRevisionDetail
1247
1253
 
1248
1254
  DaemonRevisionDetailList.member = Shapes::ShapeRef.new(shape: DaemonRevisionDetail)
@@ -3074,6 +3080,7 @@ module Aws::ECS
3074
3080
  UpdateDaemonRequest.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: DaemonPropagateTags, location_name: "propagateTags"))
3075
3081
  UpdateDaemonRequest.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableECSManagedTags"))
3076
3082
  UpdateDaemonRequest.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableExecuteCommand"))
3083
+ UpdateDaemonRequest.add_member(:critical, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "critical"))
3077
3084
  UpdateDaemonRequest.struct_class = Types::UpdateDaemonRequest
3078
3085
 
3079
3086
  UpdateDaemonResponse.add_member(:daemon_arn, Shapes::ShapeRef.new(shape: String, location_name: "daemonArn"))
@@ -3116,6 +3116,26 @@ module Aws::ECS
3116
3116
  # characters in the range of 33-126 (inclusive) are allowed.
3117
3117
  # @return [String]
3118
3118
  #
3119
+ # @!attribute [rw] critical
3120
+ # If the `critical` parameter of a daemon is `true`, and the daemon
3121
+ # task fails, stops, or becomes unhealthy, Amazon ECS drains the
3122
+ # container instance and stops the other tasks running on it. If the
3123
+ # `critical` parameter is `false`, the daemon task failure doesn't
3124
+ # affect the other tasks on the instance. The default value is `true`.
3125
+ #
3126
+ # A non-critical daemon doesn't block instance registration. The
3127
+ # container instance becomes active and continues to run your other
3128
+ # tasks, whether the daemon task fails during scale-out or during a
3129
+ # deployment.
3130
+ #
3131
+ # Amazon ECS emits an EventBridge event when a daemon task fails to
3132
+ # start, for both critical and non-critical daemons.
3133
+ #
3134
+ # Daemon task launch failures during a deployment are still counted by
3135
+ # the deployment circuit breaker. The circuit breaker can roll back an
3136
+ # unstable target revision.
3137
+ # @return [Boolean]
3138
+ #
3119
3139
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateDaemonRequest AWS API Documentation
3120
3140
  #
3121
3141
  class CreateDaemonRequest < Struct.new(
@@ -3128,7 +3148,8 @@ module Aws::ECS
3128
3148
  :propagate_tags,
3129
3149
  :enable_ecs_managed_tags,
3130
3150
  :enable_execute_command,
3131
- :client_token)
3151
+ :client_token,
3152
+ :critical)
3132
3153
  SENSITIVE = []
3133
3154
  include Aws::Structure
3134
3155
  end
@@ -4138,11 +4159,20 @@ module Aws::ECS
4138
4159
  # The number of daemon tasks running on this capacity provider.
4139
4160
  # @return [Integer]
4140
4161
  #
4162
+ # @!attribute [rw] without_daemon_count
4163
+ # The number of instances on this capacity provider that are running
4164
+ # without the daemon task. This applies to daemons that aren't
4165
+ # critical, where the instance remains available for your other tasks
4166
+ # even if the daemon task can't start or stops. These instances
4167
+ # aren't included in `runningCount`.
4168
+ # @return [Integer]
4169
+ #
4141
4170
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DaemonCapacityProvider AWS API Documentation
4142
4171
  #
4143
4172
  class DaemonCapacityProvider < Struct.new(
4144
4173
  :arn,
4145
- :running_count)
4174
+ :running_count,
4175
+ :without_daemon_count)
4146
4176
  SENSITIVE = []
4147
4177
  include Aws::Structure
4148
4178
  end
@@ -4502,6 +4532,14 @@ module Aws::ECS
4502
4532
  # provider.
4503
4533
  # @return [Integer]
4504
4534
  #
4535
+ # @!attribute [rw] without_daemon_instance_count
4536
+ # The number of instances on this capacity provider that are running
4537
+ # without the daemon task. This applies to daemons that aren't
4538
+ # critical, where the instance remains available for your other tasks
4539
+ # even if the daemon task can't start or stops. These instances
4540
+ # aren't included in `runningInstanceCount`.
4541
+ # @return [Integer]
4542
+ #
4505
4543
  # @!attribute [rw] draining_instance_count
4506
4544
  # The number of instances being drained on this capacity provider
4507
4545
  # during the deployment.
@@ -4512,6 +4550,7 @@ module Aws::ECS
4512
4550
  class DaemonDeploymentCapacityProvider < Struct.new(
4513
4551
  :arn,
4514
4552
  :running_instance_count,
4553
+ :without_daemon_instance_count,
4515
4554
  :draining_instance_count)
4516
4555
  SENSITIVE = []
4517
4556
  include Aws::Structure
@@ -4564,6 +4603,12 @@ module Aws::ECS
4564
4603
  # revision.
4565
4604
  # @return [Integer]
4566
4605
  #
4606
+ # @!attribute [rw] total_without_daemon_instance_count
4607
+ # The total number of instances running without the daemon task for
4608
+ # this revision, across all capacity providers. These instances
4609
+ # aren't included in `totalRunningInstanceCount`.
4610
+ # @return [Integer]
4611
+ #
4567
4612
  # @!attribute [rw] total_draining_instance_count
4568
4613
  # The total number of instances being drained for this revision during
4569
4614
  # the deployment.
@@ -4575,6 +4620,7 @@ module Aws::ECS
4575
4620
  :arn,
4576
4621
  :capacity_providers,
4577
4622
  :total_running_instance_count,
4623
+ :total_without_daemon_instance_count,
4578
4624
  :total_draining_instance_count)
4579
4625
  SENSITIVE = []
4580
4626
  include Aws::Structure
@@ -4803,6 +4849,15 @@ module Aws::ECS
4803
4849
  # the daemon tasks.
4804
4850
  # @return [Boolean]
4805
4851
  #
4852
+ # @!attribute [rw] critical
4853
+ # If the `critical` parameter of this daemon revision is `true`, and
4854
+ # the daemon task fails, stops, or becomes unhealthy, Amazon ECS
4855
+ # drains the container instance and stops the other tasks running on
4856
+ # it. If the parameter is `false`, the daemon task failure doesn't
4857
+ # affect the other tasks on the instance, and doesn't block instance
4858
+ # registration. The default value is `true`.
4859
+ # @return [Boolean]
4860
+ #
4806
4861
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DaemonRevision AWS API Documentation
4807
4862
  #
4808
4863
  class DaemonRevision < Struct.new(
@@ -4814,7 +4869,8 @@ module Aws::ECS
4814
4869
  :container_images,
4815
4870
  :propagate_tags,
4816
4871
  :enable_ecs_managed_tags,
4817
- :enable_execute_command)
4872
+ :enable_execute_command,
4873
+ :critical)
4818
4874
  SENSITIVE = []
4819
4875
  include Aws::Structure
4820
4876
  end
@@ -4834,12 +4890,19 @@ module Aws::ECS
4834
4890
  # The total number of daemon tasks running for this revision.
4835
4891
  # @return [Integer]
4836
4892
  #
4893
+ # @!attribute [rw] total_without_daemon_count
4894
+ # The total number of instances running without the daemon task for
4895
+ # this revision, across all capacity providers. These instances
4896
+ # aren't included in `totalRunningCount`.
4897
+ # @return [Integer]
4898
+ #
4837
4899
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DaemonRevisionDetail AWS API Documentation
4838
4900
  #
4839
4901
  class DaemonRevisionDetail < Struct.new(
4840
4902
  :arn,
4841
4903
  :capacity_providers,
4842
- :total_running_count)
4904
+ :total_running_count,
4905
+ :total_without_daemon_count)
4843
4906
  SENSITIVE = []
4844
4907
  include Aws::Structure
4845
4908
  end
@@ -18796,6 +18859,26 @@ module Aws::ECS
18796
18859
  # is turned off.
18797
18860
  # @return [Boolean]
18798
18861
  #
18862
+ # @!attribute [rw] critical
18863
+ # If the `critical` parameter of a daemon is `true`, and the daemon
18864
+ # task fails, stops, or becomes unhealthy, Amazon ECS drains the
18865
+ # container instance and stops the other tasks running on it. If the
18866
+ # `critical` parameter is `false`, the daemon task failure doesn't
18867
+ # affect the other tasks on the instance. The default value is `true`.
18868
+ #
18869
+ # A non-critical daemon doesn't block instance registration. The
18870
+ # container instance becomes active and continues to run your other
18871
+ # tasks, whether the daemon task fails during scale-out or during a
18872
+ # deployment.
18873
+ #
18874
+ # Amazon ECS emits an EventBridge event when a daemon task fails to
18875
+ # start, for both critical and non-critical daemons.
18876
+ #
18877
+ # Daemon task launch failures during a deployment are still counted by
18878
+ # the deployment circuit breaker. The circuit breaker can roll back an
18879
+ # unstable target revision.
18880
+ # @return [Boolean]
18881
+ #
18799
18882
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateDaemonRequest AWS API Documentation
18800
18883
  #
18801
18884
  class UpdateDaemonRequest < Struct.new(
@@ -18805,7 +18888,8 @@ module Aws::ECS
18805
18888
  :deployment_configuration,
18806
18889
  :propagate_tags,
18807
18890
  :enable_ecs_managed_tags,
18808
- :enable_execute_command)
18891
+ :enable_execute_command,
18892
+ :critical)
18809
18893
  SENSITIVE = []
18810
18894
  include Aws::Structure
18811
18895
  end
data/lib/aws-sdk-ecs.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::ECS
55
55
  autoload :EndpointProvider, 'aws-sdk-ecs/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-ecs/endpoints'
57
57
 
58
- GEM_VERSION = '1.244.0'
58
+ GEM_VERSION = '1.245.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -209,7 +209,8 @@ module Aws
209
209
  ?propagate_tags: ("DAEMON" | "NONE"),
210
210
  ?enable_ecs_managed_tags: bool,
211
211
  ?enable_execute_command: bool,
212
- ?client_token: ::String
212
+ ?client_token: ::String,
213
+ ?critical: bool
213
214
  ) -> _CreateDaemonResponseSuccess
214
215
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDaemonResponseSuccess
215
216
 
@@ -1787,7 +1788,8 @@ module Aws
1787
1788
  ?deployment_configuration: Params::daemon_deployment_configuration,
1788
1789
  ?propagate_tags: ("DAEMON" | "NONE"),
1789
1790
  ?enable_ecs_managed_tags: bool,
1790
- ?enable_execute_command: bool
1791
+ ?enable_execute_command: bool,
1792
+ ?critical: bool
1791
1793
  ) -> _UpdateDaemonResponseSuccess
1792
1794
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDaemonResponseSuccess
1793
1795
 
data/sig/types.rbs CHANGED
@@ -401,6 +401,7 @@ module Aws::ECS
401
401
  attr_accessor enable_ecs_managed_tags: bool
402
402
  attr_accessor enable_execute_command: bool
403
403
  attr_accessor client_token: ::String
404
+ attr_accessor critical: bool
404
405
  SENSITIVE: []
405
406
  end
406
407
 
@@ -516,6 +517,7 @@ module Aws::ECS
516
517
  class DaemonCapacityProvider
517
518
  attr_accessor arn: ::String
518
519
  attr_accessor running_count: ::Integer
520
+ attr_accessor without_daemon_count: ::Integer
519
521
  SENSITIVE: []
520
522
  end
521
523
 
@@ -594,6 +596,7 @@ module Aws::ECS
594
596
  class DaemonDeploymentCapacityProvider
595
597
  attr_accessor arn: ::String
596
598
  attr_accessor running_instance_count: ::Integer
599
+ attr_accessor without_daemon_instance_count: ::Integer
597
600
  attr_accessor draining_instance_count: ::Integer
598
601
  SENSITIVE: []
599
602
  end
@@ -609,6 +612,7 @@ module Aws::ECS
609
612
  attr_accessor arn: ::String
610
613
  attr_accessor capacity_providers: ::Array[Types::DaemonDeploymentCapacityProvider]
611
614
  attr_accessor total_running_instance_count: ::Integer
615
+ attr_accessor total_without_daemon_instance_count: ::Integer
612
616
  attr_accessor total_draining_instance_count: ::Integer
613
617
  SENSITIVE: []
614
618
  end
@@ -666,6 +670,7 @@ module Aws::ECS
666
670
  attr_accessor propagate_tags: ("DAEMON" | "NONE")
667
671
  attr_accessor enable_ecs_managed_tags: bool
668
672
  attr_accessor enable_execute_command: bool
673
+ attr_accessor critical: bool
669
674
  SENSITIVE: []
670
675
  end
671
676
 
@@ -673,6 +678,7 @@ module Aws::ECS
673
678
  attr_accessor arn: ::String
674
679
  attr_accessor capacity_providers: ::Array[Types::DaemonCapacityProvider]
675
680
  attr_accessor total_running_count: ::Integer
681
+ attr_accessor total_without_daemon_count: ::Integer
676
682
  SENSITIVE: []
677
683
  end
678
684
 
@@ -2898,6 +2904,7 @@ module Aws::ECS
2898
2904
  attr_accessor propagate_tags: ("DAEMON" | "NONE")
2899
2905
  attr_accessor enable_ecs_managed_tags: bool
2900
2906
  attr_accessor enable_execute_command: bool
2907
+ attr_accessor critical: bool
2901
2908
  SENSITIVE: []
2902
2909
  end
2903
2910
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.244.0
4
+ version: 1.245.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services