aws-sdk-ecs 1.228.0 → 1.229.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 +16 -1
- data/lib/aws-sdk-ecs/client_api.rb +9 -0
- data/lib/aws-sdk-ecs/types.rb +50 -3
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +6 -0
- data/sig/types.rbs +9 -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: 60758ff6695ca706e164a0809f22d94c41f954fc9b4899ae3b7fa13535163d57
|
|
4
|
+
data.tar.gz: 29ba7be4d6fc0977c1aa87f3213845ef00b5926ccd22b97e4b3e957c46b1d070
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1d2fb1d9b4a25d2ee7f7c4df292ba44234b53a921e7ead124088e0f91bfaa16a328333023746a4697e6d1f5c70782e8cc3bc497275ef186e392f62088f3fce20
|
|
7
|
+
data.tar.gz: 57c9d4ea97f39efffc025ea29af10eae7f0bb988ca0b5bfcc68b89bf63d43fddf02283d1e4ac03839e778cdf78ae9141024de986028c2ed9dbfaf25281f6e115
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.229.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
|
@@ -680,6 +680,9 @@ module Aws::ECS
|
|
|
680
680
|
# infrastructure_optimization: {
|
|
681
681
|
# scale_in_after: 1,
|
|
682
682
|
# },
|
|
683
|
+
# auto_repair_configuration: {
|
|
684
|
+
# actions_status: "ENABLED", # accepts ENABLED, DISABLED
|
|
685
|
+
# },
|
|
683
686
|
# },
|
|
684
687
|
# tags: [
|
|
685
688
|
# {
|
|
@@ -760,6 +763,7 @@ module Aws::ECS
|
|
|
760
763
|
# resp.capacity_provider.managed_instances_provider.instance_launch_template.capacity_reservations.reservation_preference #=> String, one of "RESERVATIONS_ONLY", "RESERVATIONS_FIRST", "RESERVATIONS_EXCLUDED"
|
|
761
764
|
# resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
|
|
762
765
|
# resp.capacity_provider.managed_instances_provider.infrastructure_optimization.scale_in_after #=> Integer
|
|
766
|
+
# resp.capacity_provider.managed_instances_provider.auto_repair_configuration.actions_status #=> String, one of "ENABLED", "DISABLED"
|
|
763
767
|
# resp.capacity_provider.update_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
|
764
768
|
# resp.capacity_provider.update_status_reason #=> String
|
|
765
769
|
# resp.capacity_provider.tags #=> Array
|
|
@@ -3220,6 +3224,7 @@ module Aws::ECS
|
|
|
3220
3224
|
# resp.capacity_provider.managed_instances_provider.instance_launch_template.capacity_reservations.reservation_preference #=> String, one of "RESERVATIONS_ONLY", "RESERVATIONS_FIRST", "RESERVATIONS_EXCLUDED"
|
|
3221
3225
|
# resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
|
|
3222
3226
|
# resp.capacity_provider.managed_instances_provider.infrastructure_optimization.scale_in_after #=> Integer
|
|
3227
|
+
# resp.capacity_provider.managed_instances_provider.auto_repair_configuration.actions_status #=> String, one of "ENABLED", "DISABLED"
|
|
3223
3228
|
# resp.capacity_provider.update_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
|
3224
3229
|
# resp.capacity_provider.update_status_reason #=> String
|
|
3225
3230
|
# resp.capacity_provider.tags #=> Array
|
|
@@ -4388,6 +4393,7 @@ module Aws::ECS
|
|
|
4388
4393
|
# resp.container_instance.health_status.details #=> Array
|
|
4389
4394
|
# resp.container_instance.health_status.details[0].type #=> String, one of "CONTAINER_RUNTIME", "ACCELERATED_COMPUTE", "DAEMON"
|
|
4390
4395
|
# resp.container_instance.health_status.details[0].status #=> String, one of "OK", "IMPAIRED", "INSUFFICIENT_DATA", "INITIALIZING"
|
|
4396
|
+
# resp.container_instance.health_status.details[0].status_reason #=> String
|
|
4391
4397
|
# resp.container_instance.health_status.details[0].last_updated #=> Time
|
|
4392
4398
|
# resp.container_instance.health_status.details[0].last_status_change #=> Time
|
|
4393
4399
|
#
|
|
@@ -4882,6 +4888,7 @@ module Aws::ECS
|
|
|
4882
4888
|
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.capacity_reservations.reservation_preference #=> String, one of "RESERVATIONS_ONLY", "RESERVATIONS_FIRST", "RESERVATIONS_EXCLUDED"
|
|
4883
4889
|
# resp.capacity_providers[0].managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
|
|
4884
4890
|
# resp.capacity_providers[0].managed_instances_provider.infrastructure_optimization.scale_in_after #=> Integer
|
|
4891
|
+
# resp.capacity_providers[0].managed_instances_provider.auto_repair_configuration.actions_status #=> String, one of "ENABLED", "DISABLED"
|
|
4885
4892
|
# resp.capacity_providers[0].update_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
|
4886
4893
|
# resp.capacity_providers[0].update_status_reason #=> String
|
|
4887
4894
|
# resp.capacity_providers[0].tags #=> Array
|
|
@@ -5204,6 +5211,7 @@ module Aws::ECS
|
|
|
5204
5211
|
# resp.container_instances[0].health_status.details #=> Array
|
|
5205
5212
|
# resp.container_instances[0].health_status.details[0].type #=> String, one of "CONTAINER_RUNTIME", "ACCELERATED_COMPUTE", "DAEMON"
|
|
5206
5213
|
# resp.container_instances[0].health_status.details[0].status #=> String, one of "OK", "IMPAIRED", "INSUFFICIENT_DATA", "INITIALIZING"
|
|
5214
|
+
# resp.container_instances[0].health_status.details[0].status_reason #=> String
|
|
5207
5215
|
# resp.container_instances[0].health_status.details[0].last_updated #=> Time
|
|
5208
5216
|
# resp.container_instances[0].health_status.details[0].last_status_change #=> Time
|
|
5209
5217
|
# resp.failures #=> Array
|
|
@@ -9963,6 +9971,7 @@ module Aws::ECS
|
|
|
9963
9971
|
# resp.container_instance.health_status.details #=> Array
|
|
9964
9972
|
# resp.container_instance.health_status.details[0].type #=> String, one of "CONTAINER_RUNTIME", "ACCELERATED_COMPUTE", "DAEMON"
|
|
9965
9973
|
# resp.container_instance.health_status.details[0].status #=> String, one of "OK", "IMPAIRED", "INSUFFICIENT_DATA", "INITIALIZING"
|
|
9974
|
+
# resp.container_instance.health_status.details[0].status_reason #=> String
|
|
9966
9975
|
# resp.container_instance.health_status.details[0].last_updated #=> Time
|
|
9967
9976
|
# resp.container_instance.health_status.details[0].last_status_change #=> Time
|
|
9968
9977
|
#
|
|
@@ -12973,6 +12982,9 @@ module Aws::ECS
|
|
|
12973
12982
|
# infrastructure_optimization: {
|
|
12974
12983
|
# scale_in_after: 1,
|
|
12975
12984
|
# },
|
|
12985
|
+
# auto_repair_configuration: {
|
|
12986
|
+
# actions_status: "ENABLED", # accepts ENABLED, DISABLED
|
|
12987
|
+
# },
|
|
12976
12988
|
# },
|
|
12977
12989
|
# })
|
|
12978
12990
|
#
|
|
@@ -13047,6 +13059,7 @@ module Aws::ECS
|
|
|
13047
13059
|
# resp.capacity_provider.managed_instances_provider.instance_launch_template.capacity_reservations.reservation_preference #=> String, one of "RESERVATIONS_ONLY", "RESERVATIONS_FIRST", "RESERVATIONS_EXCLUDED"
|
|
13048
13060
|
# resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
|
|
13049
13061
|
# resp.capacity_provider.managed_instances_provider.infrastructure_optimization.scale_in_after #=> Integer
|
|
13062
|
+
# resp.capacity_provider.managed_instances_provider.auto_repair_configuration.actions_status #=> String, one of "ENABLED", "DISABLED"
|
|
13050
13063
|
# resp.capacity_provider.update_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
|
13051
13064
|
# resp.capacity_provider.update_status_reason #=> String
|
|
13052
13065
|
# resp.capacity_provider.tags #=> Array
|
|
@@ -13634,6 +13647,7 @@ module Aws::ECS
|
|
|
13634
13647
|
# resp.container_instance.health_status.details #=> Array
|
|
13635
13648
|
# resp.container_instance.health_status.details[0].type #=> String, one of "CONTAINER_RUNTIME", "ACCELERATED_COMPUTE", "DAEMON"
|
|
13636
13649
|
# resp.container_instance.health_status.details[0].status #=> String, one of "OK", "IMPAIRED", "INSUFFICIENT_DATA", "INITIALIZING"
|
|
13650
|
+
# resp.container_instance.health_status.details[0].status_reason #=> String
|
|
13637
13651
|
# resp.container_instance.health_status.details[0].last_updated #=> Time
|
|
13638
13652
|
# resp.container_instance.health_status.details[0].last_status_change #=> Time
|
|
13639
13653
|
#
|
|
@@ -13961,6 +13975,7 @@ module Aws::ECS
|
|
|
13961
13975
|
# resp.container_instances[0].health_status.details #=> Array
|
|
13962
13976
|
# resp.container_instances[0].health_status.details[0].type #=> String, one of "CONTAINER_RUNTIME", "ACCELERATED_COMPUTE", "DAEMON"
|
|
13963
13977
|
# resp.container_instances[0].health_status.details[0].status #=> String, one of "OK", "IMPAIRED", "INSUFFICIENT_DATA", "INITIALIZING"
|
|
13978
|
+
# resp.container_instances[0].health_status.details[0].status_reason #=> String
|
|
13964
13979
|
# resp.container_instances[0].health_status.details[0].last_updated #=> Time
|
|
13965
13980
|
# resp.container_instances[0].health_status.details[0].last_status_change #=> Time
|
|
13966
13981
|
# resp.failures #=> Array
|
|
@@ -15630,7 +15645,7 @@ module Aws::ECS
|
|
|
15630
15645
|
tracer: tracer
|
|
15631
15646
|
)
|
|
15632
15647
|
context[:gem_name] = 'aws-sdk-ecs'
|
|
15633
|
-
context[:gem_version] = '1.
|
|
15648
|
+
context[:gem_version] = '1.229.0'
|
|
15634
15649
|
Seahorse::Client::Request.new(handlers, context)
|
|
15635
15650
|
end
|
|
15636
15651
|
|
|
@@ -38,6 +38,8 @@ module Aws::ECS
|
|
|
38
38
|
Attribute = Shapes::StructureShape.new(name: 'Attribute')
|
|
39
39
|
AttributeLimitExceededException = Shapes::StructureShape.new(name: 'AttributeLimitExceededException')
|
|
40
40
|
Attributes = Shapes::ListShape.new(name: 'Attributes')
|
|
41
|
+
AutoRepairActionsStatus = Shapes::StringShape.new(name: 'AutoRepairActionsStatus')
|
|
42
|
+
AutoRepairConfiguration = Shapes::StructureShape.new(name: 'AutoRepairConfiguration')
|
|
41
43
|
AutoScalingGroupProvider = Shapes::StructureShape.new(name: 'AutoScalingGroupProvider')
|
|
42
44
|
AutoScalingGroupProviderUpdate = Shapes::StructureShape.new(name: 'AutoScalingGroupProviderUpdate')
|
|
43
45
|
AvailabilityZoneRebalancing = Shapes::StringShape.new(name: 'AvailabilityZoneRebalancing')
|
|
@@ -682,6 +684,9 @@ module Aws::ECS
|
|
|
682
684
|
|
|
683
685
|
Attributes.member = Shapes::ShapeRef.new(shape: Attribute)
|
|
684
686
|
|
|
687
|
+
AutoRepairConfiguration.add_member(:actions_status, Shapes::ShapeRef.new(shape: AutoRepairActionsStatus, location_name: "actionsStatus"))
|
|
688
|
+
AutoRepairConfiguration.struct_class = Types::AutoRepairConfiguration
|
|
689
|
+
|
|
685
690
|
AutoScalingGroupProvider.add_member(:auto_scaling_group_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "autoScalingGroupArn"))
|
|
686
691
|
AutoScalingGroupProvider.add_member(:managed_scaling, Shapes::ShapeRef.new(shape: ManagedScaling, location_name: "managedScaling"))
|
|
687
692
|
AutoScalingGroupProvider.add_member(:managed_termination_protection, Shapes::ShapeRef.new(shape: ManagedTerminationProtection, location_name: "managedTerminationProtection"))
|
|
@@ -997,6 +1002,7 @@ module Aws::ECS
|
|
|
997
1002
|
CreateManagedInstancesProviderConfiguration.add_member(:instance_launch_template, Shapes::ShapeRef.new(shape: InstanceLaunchTemplate, required: true, location_name: "instanceLaunchTemplate"))
|
|
998
1003
|
CreateManagedInstancesProviderConfiguration.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateMITags, location_name: "propagateTags"))
|
|
999
1004
|
CreateManagedInstancesProviderConfiguration.add_member(:infrastructure_optimization, Shapes::ShapeRef.new(shape: InfrastructureOptimization, location_name: "infrastructureOptimization"))
|
|
1005
|
+
CreateManagedInstancesProviderConfiguration.add_member(:auto_repair_configuration, Shapes::ShapeRef.new(shape: AutoRepairConfiguration, location_name: "autoRepairConfiguration"))
|
|
1000
1006
|
CreateManagedInstancesProviderConfiguration.struct_class = Types::CreateManagedInstancesProviderConfiguration
|
|
1001
1007
|
|
|
1002
1008
|
CreateServiceRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
|
|
@@ -1737,6 +1743,7 @@ module Aws::ECS
|
|
|
1737
1743
|
|
|
1738
1744
|
InstanceHealthCheckResult.add_member(:type, Shapes::ShapeRef.new(shape: InstanceHealthCheckType, location_name: "type"))
|
|
1739
1745
|
InstanceHealthCheckResult.add_member(:status, Shapes::ShapeRef.new(shape: InstanceHealthCheckState, location_name: "status"))
|
|
1746
|
+
InstanceHealthCheckResult.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
|
1740
1747
|
InstanceHealthCheckResult.add_member(:last_updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdated"))
|
|
1741
1748
|
InstanceHealthCheckResult.add_member(:last_status_change, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastStatusChange"))
|
|
1742
1749
|
InstanceHealthCheckResult.struct_class = Types::InstanceHealthCheckResult
|
|
@@ -2053,6 +2060,7 @@ module Aws::ECS
|
|
|
2053
2060
|
ManagedInstancesProvider.add_member(:instance_launch_template, Shapes::ShapeRef.new(shape: InstanceLaunchTemplate, location_name: "instanceLaunchTemplate"))
|
|
2054
2061
|
ManagedInstancesProvider.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateMITags, location_name: "propagateTags"))
|
|
2055
2062
|
ManagedInstancesProvider.add_member(:infrastructure_optimization, Shapes::ShapeRef.new(shape: InfrastructureOptimization, location_name: "infrastructureOptimization"))
|
|
2063
|
+
ManagedInstancesProvider.add_member(:auto_repair_configuration, Shapes::ShapeRef.new(shape: AutoRepairConfiguration, location_name: "autoRepairConfiguration"))
|
|
2056
2064
|
ManagedInstancesProvider.struct_class = Types::ManagedInstancesProvider
|
|
2057
2065
|
|
|
2058
2066
|
ManagedInstancesStorageConfiguration.add_member(:storage_size_gi_b, Shapes::ShapeRef.new(shape: TaskVolumeStorageGiB, location_name: "storageSizeGiB"))
|
|
@@ -3005,6 +3013,7 @@ module Aws::ECS
|
|
|
3005
3013
|
UpdateManagedInstancesProviderConfiguration.add_member(:instance_launch_template, Shapes::ShapeRef.new(shape: InstanceLaunchTemplateUpdate, required: true, location_name: "instanceLaunchTemplate"))
|
|
3006
3014
|
UpdateManagedInstancesProviderConfiguration.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateMITags, location_name: "propagateTags"))
|
|
3007
3015
|
UpdateManagedInstancesProviderConfiguration.add_member(:infrastructure_optimization, Shapes::ShapeRef.new(shape: InfrastructureOptimization, location_name: "infrastructureOptimization"))
|
|
3016
|
+
UpdateManagedInstancesProviderConfiguration.add_member(:auto_repair_configuration, Shapes::ShapeRef.new(shape: AutoRepairConfiguration, location_name: "autoRepairConfiguration"))
|
|
3008
3017
|
UpdateManagedInstancesProviderConfiguration.struct_class = Types::UpdateManagedInstancesProviderConfiguration
|
|
3009
3018
|
|
|
3010
3019
|
UpdateServicePrimaryTaskSetRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, required: true, location_name: "cluster"))
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
|
@@ -245,6 +245,28 @@ module Aws::ECS
|
|
|
245
245
|
include Aws::Structure
|
|
246
246
|
end
|
|
247
247
|
|
|
248
|
+
# The auto repair configuration for an Amazon ECS Managed Instances
|
|
249
|
+
# capacity provider. When enabled, Amazon ECS automatically replaces
|
|
250
|
+
# container instances that are detected as unhealthy based on container
|
|
251
|
+
# instance health checks, including accelerated compute device and
|
|
252
|
+
# daemon health checks.
|
|
253
|
+
#
|
|
254
|
+
# @!attribute [rw] actions_status
|
|
255
|
+
# The status of auto repair actions for the capacity provider. When
|
|
256
|
+
# set to `ENABLED`, Amazon ECS automatically replaces container
|
|
257
|
+
# instances with an `IMPAIRED` health status. When set to `DISABLED`,
|
|
258
|
+
# Amazon ECS still monitors container instance health but does not
|
|
259
|
+
# automatically replace impaired instances.
|
|
260
|
+
# @return [String]
|
|
261
|
+
#
|
|
262
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/AutoRepairConfiguration AWS API Documentation
|
|
263
|
+
#
|
|
264
|
+
class AutoRepairConfiguration < Struct.new(
|
|
265
|
+
:actions_status)
|
|
266
|
+
SENSITIVE = []
|
|
267
|
+
include Aws::Structure
|
|
268
|
+
end
|
|
269
|
+
|
|
248
270
|
# The details of the Auto Scaling group for the capacity provider.
|
|
249
271
|
#
|
|
250
272
|
# @!attribute [rw] auto_scaling_group_arn
|
|
@@ -3292,13 +3314,20 @@ module Aws::ECS
|
|
|
3292
3314
|
# and when Amazon ECS optimizes them.
|
|
3293
3315
|
# @return [Types::InfrastructureOptimization]
|
|
3294
3316
|
#
|
|
3317
|
+
# @!attribute [rw] auto_repair_configuration
|
|
3318
|
+
# The auto repair configuration for the Amazon ECS Managed Instances
|
|
3319
|
+
# capacity provider. Use this to enable or disable automatic
|
|
3320
|
+
# replacement of container instances that are detected as unhealthy.
|
|
3321
|
+
# @return [Types::AutoRepairConfiguration]
|
|
3322
|
+
#
|
|
3295
3323
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateManagedInstancesProviderConfiguration AWS API Documentation
|
|
3296
3324
|
#
|
|
3297
3325
|
class CreateManagedInstancesProviderConfiguration < Struct.new(
|
|
3298
3326
|
:infrastructure_role_arn,
|
|
3299
3327
|
:instance_launch_template,
|
|
3300
3328
|
:propagate_tags,
|
|
3301
|
-
:infrastructure_optimization
|
|
3329
|
+
:infrastructure_optimization,
|
|
3330
|
+
:auto_repair_configuration)
|
|
3302
3331
|
SENSITIVE = []
|
|
3303
3332
|
include Aws::Structure
|
|
3304
3333
|
end
|
|
@@ -8287,6 +8316,10 @@ module Aws::ECS
|
|
|
8287
8316
|
# The container instance health status.
|
|
8288
8317
|
# @return [String]
|
|
8289
8318
|
#
|
|
8319
|
+
# @!attribute [rw] status_reason
|
|
8320
|
+
# The reason for the container instance health status.
|
|
8321
|
+
# @return [String]
|
|
8322
|
+
#
|
|
8290
8323
|
# @!attribute [rw] last_updated
|
|
8291
8324
|
# The Unix timestamp for when the container instance health status was
|
|
8292
8325
|
# last updated.
|
|
@@ -8302,6 +8335,7 @@ module Aws::ECS
|
|
|
8302
8335
|
class InstanceHealthCheckResult < Struct.new(
|
|
8303
8336
|
:type,
|
|
8304
8337
|
:status,
|
|
8338
|
+
:status_reason,
|
|
8305
8339
|
:last_updated,
|
|
8306
8340
|
:last_status_change)
|
|
8307
8341
|
SENSITIVE = []
|
|
@@ -10914,13 +10948,20 @@ module Aws::ECS
|
|
|
10914
10948
|
# delay.
|
|
10915
10949
|
# @return [Types::InfrastructureOptimization]
|
|
10916
10950
|
#
|
|
10951
|
+
# @!attribute [rw] auto_repair_configuration
|
|
10952
|
+
# The auto repair configuration for the Amazon ECS Managed Instances
|
|
10953
|
+
# capacity provider. Indicates whether Amazon ECS automatically
|
|
10954
|
+
# replaces container instances that are detected as unhealthy.
|
|
10955
|
+
# @return [Types::AutoRepairConfiguration]
|
|
10956
|
+
#
|
|
10917
10957
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ManagedInstancesProvider AWS API Documentation
|
|
10918
10958
|
#
|
|
10919
10959
|
class ManagedInstancesProvider < Struct.new(
|
|
10920
10960
|
:infrastructure_role_arn,
|
|
10921
10961
|
:instance_launch_template,
|
|
10922
10962
|
:propagate_tags,
|
|
10923
|
-
:infrastructure_optimization
|
|
10963
|
+
:infrastructure_optimization,
|
|
10964
|
+
:auto_repair_configuration)
|
|
10924
10965
|
SENSITIVE = []
|
|
10925
10966
|
include Aws::Structure
|
|
10926
10967
|
end
|
|
@@ -18422,13 +18463,19 @@ module Aws::ECS
|
|
|
18422
18463
|
# forward.
|
|
18423
18464
|
# @return [Types::InfrastructureOptimization]
|
|
18424
18465
|
#
|
|
18466
|
+
# @!attribute [rw] auto_repair_configuration
|
|
18467
|
+
# The updated auto repair configuration for the Amazon ECS Managed
|
|
18468
|
+
# Instances capacity provider.
|
|
18469
|
+
# @return [Types::AutoRepairConfiguration]
|
|
18470
|
+
#
|
|
18425
18471
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateManagedInstancesProviderConfiguration AWS API Documentation
|
|
18426
18472
|
#
|
|
18427
18473
|
class UpdateManagedInstancesProviderConfiguration < Struct.new(
|
|
18428
18474
|
:infrastructure_role_arn,
|
|
18429
18475
|
:instance_launch_template,
|
|
18430
18476
|
:propagate_tags,
|
|
18431
|
-
:infrastructure_optimization
|
|
18477
|
+
:infrastructure_optimization,
|
|
18478
|
+
:auto_repair_configuration)
|
|
18432
18479
|
SENSITIVE = []
|
|
18433
18480
|
include Aws::Structure
|
|
18434
18481
|
end
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -178,6 +178,9 @@ module Aws
|
|
|
178
178
|
propagate_tags: ("CAPACITY_PROVIDER" | "NONE")?,
|
|
179
179
|
infrastructure_optimization: {
|
|
180
180
|
scale_in_after: ::Integer?
|
|
181
|
+
}?,
|
|
182
|
+
auto_repair_configuration: {
|
|
183
|
+
actions_status: ("ENABLED" | "DISABLED")?
|
|
181
184
|
}?
|
|
182
185
|
},
|
|
183
186
|
?tags: Array[
|
|
@@ -2127,6 +2130,9 @@ module Aws
|
|
|
2127
2130
|
propagate_tags: ("CAPACITY_PROVIDER" | "NONE")?,
|
|
2128
2131
|
infrastructure_optimization: {
|
|
2129
2132
|
scale_in_after: ::Integer?
|
|
2133
|
+
}?,
|
|
2134
|
+
auto_repair_configuration: {
|
|
2135
|
+
actions_status: ("ENABLED" | "DISABLED")?
|
|
2130
2136
|
}?
|
|
2131
2137
|
}
|
|
2132
2138
|
) -> _UpdateCapacityProviderResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -60,6 +60,11 @@ module Aws::ECS
|
|
|
60
60
|
SENSITIVE: []
|
|
61
61
|
end
|
|
62
62
|
|
|
63
|
+
class AutoRepairConfiguration
|
|
64
|
+
attr_accessor actions_status: ("ENABLED" | "DISABLED")
|
|
65
|
+
SENSITIVE: []
|
|
66
|
+
end
|
|
67
|
+
|
|
63
68
|
class AutoScalingGroupProvider
|
|
64
69
|
attr_accessor auto_scaling_group_arn: ::String
|
|
65
70
|
attr_accessor managed_scaling: Types::ManagedScaling
|
|
@@ -420,6 +425,7 @@ module Aws::ECS
|
|
|
420
425
|
attr_accessor instance_launch_template: Types::InstanceLaunchTemplate
|
|
421
426
|
attr_accessor propagate_tags: ("CAPACITY_PROVIDER" | "NONE")
|
|
422
427
|
attr_accessor infrastructure_optimization: Types::InfrastructureOptimization
|
|
428
|
+
attr_accessor auto_repair_configuration: Types::AutoRepairConfiguration
|
|
423
429
|
SENSITIVE: []
|
|
424
430
|
end
|
|
425
431
|
|
|
@@ -1336,6 +1342,7 @@ module Aws::ECS
|
|
|
1336
1342
|
class InstanceHealthCheckResult
|
|
1337
1343
|
attr_accessor type: ("CONTAINER_RUNTIME" | "ACCELERATED_COMPUTE" | "DAEMON")
|
|
1338
1344
|
attr_accessor status: ("OK" | "IMPAIRED" | "INSUFFICIENT_DATA" | "INITIALIZING")
|
|
1345
|
+
attr_accessor status_reason: ::String
|
|
1339
1346
|
attr_accessor last_updated: ::Time
|
|
1340
1347
|
attr_accessor last_status_change: ::Time
|
|
1341
1348
|
SENSITIVE: []
|
|
@@ -1729,6 +1736,7 @@ module Aws::ECS
|
|
|
1729
1736
|
attr_accessor instance_launch_template: Types::InstanceLaunchTemplate
|
|
1730
1737
|
attr_accessor propagate_tags: ("CAPACITY_PROVIDER" | "NONE")
|
|
1731
1738
|
attr_accessor infrastructure_optimization: Types::InfrastructureOptimization
|
|
1739
|
+
attr_accessor auto_repair_configuration: Types::AutoRepairConfiguration
|
|
1732
1740
|
SENSITIVE: []
|
|
1733
1741
|
end
|
|
1734
1742
|
|
|
@@ -2852,6 +2860,7 @@ module Aws::ECS
|
|
|
2852
2860
|
attr_accessor instance_launch_template: Types::InstanceLaunchTemplateUpdate
|
|
2853
2861
|
attr_accessor propagate_tags: ("CAPACITY_PROVIDER" | "NONE")
|
|
2854
2862
|
attr_accessor infrastructure_optimization: Types::InfrastructureOptimization
|
|
2863
|
+
attr_accessor auto_repair_configuration: Types::AutoRepairConfiguration
|
|
2855
2864
|
SENSITIVE: []
|
|
2856
2865
|
end
|
|
2857
2866
|
|