aws-sdk-ecs 1.210.0 → 1.212.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: 186f3d6ebf1a0afa3dbb5faa3ba4cc819391dd1770a560877e158f1d1af98fa5
4
- data.tar.gz: 61061122d12949814a85b83a90acd90a8b43cce65c3008fa30625da5b689c0a2
3
+ metadata.gz: c6a544fd26af3d1adbacc503f65585563628ed68f6f30ea6ea041a449b878f82
4
+ data.tar.gz: 4f8493385fc03dd58dc5349d9fd9aa1c27f4a873bf142cec91948b1f94ab2086
5
5
  SHA512:
6
- metadata.gz: 0d05db94ea95bc69edba8e6dc6cfbd2fb58b6b54116d77a2317b52d4125fbfa4b05ee5ce85888ca779c169d6d225f478dc1de0d54580bab520835e043d431ec1
7
- data.tar.gz: bdd95519b8fd96bef874dab9896542cc29bfa2484d6a2e6b09845deccdf12efe333d215ce18be0825a8c597d2fb606241dfc5a43676ce87fbe819d705ec5968a
6
+ metadata.gz: 9f7cc710208a4e56c34270fdb9d9d078dbb5a071fd71920925211fb884b12fcd14016dd5537c3e8133792a698b4fc40396119b3d934407b898b474f021337ffc
7
+ data.tar.gz: bbe20013bf8095679812b089f367dce90af7d99622f114992c50c8c9e630d6a2ebf18cf232fb8860e9c2801fd805065e202427fcd9bff8c1245bb59a2b9421e5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.212.0 (2025-11-19)
5
+ ------------------
6
+
7
+ * Feature - Added support for Amazon ECS Managed Instances infrastructure optimization configuration.
8
+
9
+ 1.211.0 (2025-11-03)
10
+ ------------------
11
+
12
+ * Feature - Documentation-only update for LINEAR and CANARY deployment strategies.
13
+
4
14
  1.210.0 (2025-10-30)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.210.0
1
+ 1.212.0
@@ -667,6 +667,9 @@ module Aws::ECS
667
667
  # },
668
668
  # },
669
669
  # propagate_tags: "CAPACITY_PROVIDER", # accepts CAPACITY_PROVIDER, NONE
670
+ # infrastructure_optimization: {
671
+ # scale_in_after: 1,
672
+ # },
670
673
  # },
671
674
  # tags: [
672
675
  # {
@@ -740,6 +743,7 @@ module Aws::ECS
740
743
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
741
744
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
742
745
  # resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
746
+ # resp.capacity_provider.managed_instances_provider.infrastructure_optimization.scale_in_after #=> Integer
743
747
  # 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"
744
748
  # resp.capacity_provider.update_status_reason #=> String
745
749
  # resp.capacity_provider.tags #=> Array
@@ -1153,10 +1157,10 @@ module Aws::ECS
1153
1157
  # Load Balancer, Network Load Balancer, or Service Connect
1154
1158
  # * `LINEAR`: A *linear* deployment strategy (`LINEAR`) gradually
1155
1159
  # shifts traffic from the current production environment to a new
1156
- # environment in equal percentage increments over a specified time
1157
- # period. With Amazon ECS linear deployments, you can control the
1158
- # pace of traffic shifting and validate new service revisions with
1159
- # increasing amounts of production traffic.
1160
+ # environment in equal percentage increments. With Amazon ECS linear
1161
+ # deployments, you can control the pace of traffic shifting and
1162
+ # validate new service revisions with increasing amounts of
1163
+ # production traffic.
1160
1164
  #
1161
1165
  # Linear deployments are best suited for the following scenarios:
1162
1166
  #
@@ -1170,7 +1174,7 @@ module Aws::ECS
1170
1174
  # the new version to production traffic incrementally
1171
1175
  #
1172
1176
  # * Load balancer requirement: When your service uses Application
1173
- # Load Balancer, Network Load Balancer, or Service Connect
1177
+ # Load Balancer or Service Connect
1174
1178
  # * `CANARY`: A *canary* deployment strategy (`CANARY`) shifts a small
1175
1179
  # percentage of traffic to the new service revision first, then
1176
1180
  # shifts the remaining traffic all at once after a specified time
@@ -1189,7 +1193,7 @@ module Aws::ECS
1189
1193
  # issues are discovered in the new version
1190
1194
  #
1191
1195
  # * Load balancer requirement: When your service uses Application
1192
- # Load Balancer, Network Load Balancer, or Service Connect
1196
+ # Load Balancer or Service Connect
1193
1197
  # * External
1194
1198
  #
1195
1199
  # Use a third-party deployment controller.
@@ -2772,6 +2776,7 @@ module Aws::ECS
2772
2776
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
2773
2777
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
2774
2778
  # resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
2779
+ # resp.capacity_provider.managed_instances_provider.infrastructure_optimization.scale_in_after #=> Integer
2775
2780
  # 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"
2776
2781
  # resp.capacity_provider.update_status_reason #=> String
2777
2782
  # resp.capacity_provider.tags #=> Array
@@ -4215,6 +4220,7 @@ module Aws::ECS
4215
4220
  # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
4216
4221
  # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
4217
4222
  # resp.capacity_providers[0].managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
4223
+ # resp.capacity_providers[0].managed_instances_provider.infrastructure_optimization.scale_in_after #=> Integer
4218
4224
  # 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"
4219
4225
  # resp.capacity_providers[0].update_status_reason #=> String
4220
4226
  # resp.capacity_providers[0].tags #=> Array
@@ -10982,6 +10988,9 @@ module Aws::ECS
10982
10988
  # },
10983
10989
  # },
10984
10990
  # propagate_tags: "CAPACITY_PROVIDER", # accepts CAPACITY_PROVIDER, NONE
10991
+ # infrastructure_optimization: {
10992
+ # scale_in_after: 1,
10993
+ # },
10985
10994
  # },
10986
10995
  # })
10987
10996
  #
@@ -11049,6 +11058,7 @@ module Aws::ECS
11049
11058
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
11050
11059
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
11051
11060
  # resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
11061
+ # resp.capacity_provider.managed_instances_provider.infrastructure_optimization.scale_in_after #=> Integer
11052
11062
  # 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"
11053
11063
  # resp.capacity_provider.update_status_reason #=> String
11054
11064
  # resp.capacity_provider.tags #=> Array
@@ -13352,7 +13362,7 @@ module Aws::ECS
13352
13362
  tracer: tracer
13353
13363
  )
13354
13364
  context[:gem_name] = 'aws-sdk-ecs'
13355
- context[:gem_version] = '1.210.0'
13365
+ context[:gem_version] = '1.212.0'
13356
13366
  Seahorse::Client::Request.new(handlers, context)
13357
13367
  end
13358
13368
 
@@ -219,6 +219,7 @@ module Aws::ECS
219
219
  InferenceAcceleratorOverride = Shapes::StructureShape.new(name: 'InferenceAcceleratorOverride')
220
220
  InferenceAcceleratorOverrides = Shapes::ListShape.new(name: 'InferenceAcceleratorOverrides')
221
221
  InferenceAccelerators = Shapes::ListShape.new(name: 'InferenceAccelerators')
222
+ InfrastructureOptimization = Shapes::StructureShape.new(name: 'InfrastructureOptimization')
222
223
  InstanceGeneration = Shapes::StringShape.new(name: 'InstanceGeneration')
223
224
  InstanceGenerationSet = Shapes::ListShape.new(name: 'InstanceGenerationSet')
224
225
  InstanceHealthCheckResult = Shapes::StructureShape.new(name: 'InstanceHealthCheckResult')
@@ -827,6 +828,7 @@ module Aws::ECS
827
828
  CreateManagedInstancesProviderConfiguration.add_member(:infrastructure_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "infrastructureRoleArn"))
828
829
  CreateManagedInstancesProviderConfiguration.add_member(:instance_launch_template, Shapes::ShapeRef.new(shape: InstanceLaunchTemplate, required: true, location_name: "instanceLaunchTemplate"))
829
830
  CreateManagedInstancesProviderConfiguration.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateMITags, location_name: "propagateTags"))
831
+ CreateManagedInstancesProviderConfiguration.add_member(:infrastructure_optimization, Shapes::ShapeRef.new(shape: InfrastructureOptimization, location_name: "infrastructureOptimization"))
830
832
  CreateManagedInstancesProviderConfiguration.struct_class = Types::CreateManagedInstancesProviderConfiguration
831
833
 
832
834
  CreateServiceRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
@@ -1234,6 +1236,9 @@ module Aws::ECS
1234
1236
 
1235
1237
  InferenceAccelerators.member = Shapes::ShapeRef.new(shape: InferenceAccelerator)
1236
1238
 
1239
+ InfrastructureOptimization.add_member(:scale_in_after, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "scaleInAfter"))
1240
+ InfrastructureOptimization.struct_class = Types::InfrastructureOptimization
1241
+
1237
1242
  InstanceGenerationSet.member = Shapes::ShapeRef.new(shape: InstanceGeneration)
1238
1243
 
1239
1244
  InstanceHealthCheckResult.add_member(:type, Shapes::ShapeRef.new(shape: InstanceHealthCheckType, location_name: "type"))
@@ -1470,6 +1475,7 @@ module Aws::ECS
1470
1475
  ManagedInstancesProvider.add_member(:infrastructure_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "infrastructureRoleArn"))
1471
1476
  ManagedInstancesProvider.add_member(:instance_launch_template, Shapes::ShapeRef.new(shape: InstanceLaunchTemplate, location_name: "instanceLaunchTemplate"))
1472
1477
  ManagedInstancesProvider.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateMITags, location_name: "propagateTags"))
1478
+ ManagedInstancesProvider.add_member(:infrastructure_optimization, Shapes::ShapeRef.new(shape: InfrastructureOptimization, location_name: "infrastructureOptimization"))
1473
1479
  ManagedInstancesProvider.struct_class = Types::ManagedInstancesProvider
1474
1480
 
1475
1481
  ManagedInstancesStorageConfiguration.add_member(:storage_size_gi_b, Shapes::ShapeRef.new(shape: TaskVolumeStorageGiB, location_name: "storageSizeGiB"))
@@ -2279,6 +2285,7 @@ module Aws::ECS
2279
2285
  UpdateManagedInstancesProviderConfiguration.add_member(:infrastructure_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "infrastructureRoleArn"))
2280
2286
  UpdateManagedInstancesProviderConfiguration.add_member(:instance_launch_template, Shapes::ShapeRef.new(shape: InstanceLaunchTemplateUpdate, required: true, location_name: "instanceLaunchTemplate"))
2281
2287
  UpdateManagedInstancesProviderConfiguration.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateMITags, location_name: "propagateTags"))
2288
+ UpdateManagedInstancesProviderConfiguration.add_member(:infrastructure_optimization, Shapes::ShapeRef.new(shape: InfrastructureOptimization, location_name: "infrastructureOptimization"))
2282
2289
  UpdateManagedInstancesProviderConfiguration.struct_class = Types::UpdateManagedInstancesProviderConfiguration
2283
2290
 
2284
2291
  UpdateServicePrimaryTaskSetRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, required: true, location_name: "cluster"))
@@ -362,8 +362,8 @@ module Aws::ECS
362
362
  #
363
363
  # Consider the following when you set this value:
364
364
  #
365
- # * When you use `create-service` or `update-service`, the The default
366
- # is `DISABLED`.
365
+ # * When you use `create-service` or `update-service`, the default is
366
+ # `DISABLED`.
367
367
  #
368
368
  # * When the service `deploymentController` is `ECS`, the value must
369
369
  # be `DISABLED`.
@@ -413,7 +413,7 @@ module Aws::ECS
413
413
  #
414
414
  class BlockedException < Aws::EmptyStructure; end
415
415
 
416
- # Configuration for canary deployment strategy that shifts a fixed
416
+ # Configuration for a canary deployment strategy that shifts a fixed
417
417
  # percentage of traffic to the new service revision, waits for a
418
418
  # specified bake time, then shifts the remaining traffic.
419
419
  #
@@ -423,8 +423,8 @@ module Aws::ECS
423
423
  #
424
424
  # @!attribute [rw] canary_percent
425
425
  # The percentage of production traffic to shift to the new service
426
- # revision during the canary phase. Valid values are 0.1 to 100.0. The
427
- # default value is 5.0.
426
+ # revision during the canary phase. Valid values are multiples of 0.1
427
+ # from 0.1 to 100.0. The default value is 5.0.
428
428
  # @return [Float]
429
429
  #
430
430
  # @!attribute [rw] canary_bake_time_in_minutes
@@ -2877,12 +2877,20 @@ module Aws::ECS
2877
2877
  # launched by this provider.
2878
2878
  # @return [String]
2879
2879
  #
2880
+ # @!attribute [rw] infrastructure_optimization
2881
+ # Defines how Amazon ECS Managed Instances optimizes the
2882
+ # infrastastructure in your capacity provider. Provides control over
2883
+ # the delay between when EC2 instances become idle or underutilized
2884
+ # and when Amazon ECS optimizes them.
2885
+ # @return [Types::InfrastructureOptimization]
2886
+ #
2880
2887
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateManagedInstancesProviderConfiguration AWS API Documentation
2881
2888
  #
2882
2889
  class CreateManagedInstancesProviderConfiguration < Struct.new(
2883
2890
  :infrastructure_role_arn,
2884
2891
  :instance_launch_template,
2885
- :propagate_tags)
2892
+ :propagate_tags,
2893
+ :infrastructure_optimization)
2886
2894
  SENSITIVE = []
2887
2895
  include Aws::Structure
2888
2896
  end
@@ -4290,6 +4298,19 @@ module Aws::ECS
4290
4298
  # revisions before directing production traffic to them. This
4291
4299
  # approach provides a safer way to deploy changes with the ability
4292
4300
  # to quickly roll back if needed.
4301
+ #
4302
+ # * `LINEAR` - A *linear* deployment strategy (`LINEAR`) gradually
4303
+ # shifts traffic from the current production environment to a new
4304
+ # environment in equal percentages over time. With Amazon ECS linear
4305
+ # deployments, you can control the pace of traffic shifting and
4306
+ # validate new service revisions with increasing amounts of
4307
+ # production traffic.
4308
+ #
4309
+ # * `CANARY` - A *canary* deployment strategy (`CANARY`) shifts a
4310
+ # small percentage of traffic to the new service revision first,
4311
+ # then shifts the remaining traffic all at once after a specified
4312
+ # time period. This allows you to test the new version with a subset
4313
+ # of users before full deployment.
4293
4314
  # @return [String]
4294
4315
  #
4295
4316
  # @!attribute [rw] bake_time_in_minutes
@@ -6158,6 +6179,36 @@ module Aws::ECS
6158
6179
  include Aws::Structure
6159
6180
  end
6160
6181
 
6182
+ # The configuration that controls how Amazon ECS optimizes your
6183
+ # infrastructure.
6184
+ #
6185
+ # @!attribute [rw] scale_in_after
6186
+ # This parameter defines the number of seconds Amazon ECS Managed
6187
+ # Instances waits before optimizing EC2 instances that have become
6188
+ # idle or underutilized. A longer delay increases the likelihood of
6189
+ # placing new tasks on idle or underutilized instances instances,
6190
+ # reducing startup time. A shorter delay helps reduce infrastructure
6191
+ # costs by optimizing idle or underutilized instances,instances more
6192
+ # quickly.
6193
+ #
6194
+ # Valid values are:
6195
+ #
6196
+ # * `null` - Uses the default optimization behavior.
6197
+ #
6198
+ # * `-1` - Disables automatic infrastructure optimization.
6199
+ #
6200
+ # * A value between `0` and `3600` (inclusive) - Specifies the number
6201
+ # of seconds to wait before optimizing instances.
6202
+ # @return [Integer]
6203
+ #
6204
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/InfrastructureOptimization AWS API Documentation
6205
+ #
6206
+ class InfrastructureOptimization < Struct.new(
6207
+ :scale_in_after)
6208
+ SENSITIVE = []
6209
+ include Aws::Structure
6210
+ end
6211
+
6161
6212
  # An object representing the result of a container instance health
6162
6213
  # status check.
6163
6214
  #
@@ -6651,15 +6702,15 @@ module Aws::ECS
6651
6702
  #
6652
6703
  # @!attribute [rw] step_percent
6653
6704
  # The percentage of production traffic to shift in each step during a
6654
- # linear deployment. Valid values are 3.0 to 100.0. The default value
6655
- # is 10.0.
6705
+ # linear deployment. Valid values are multiples of 0.1 from 3.0 to
6706
+ # 100.0. The default value is 10.0.
6656
6707
  # @return [Float]
6657
6708
  #
6658
6709
  # @!attribute [rw] step_bake_time_in_minutes
6659
6710
  # The amount of time in minutes to wait between each traffic shifting
6660
6711
  # step during a linear deployment. Valid values are 0 to 1440 minutes
6661
6712
  # (24 hours). The default value is 6. This bake time is not applied
6662
- # after reaching 100% traffic.
6713
+ # after reaching 100 percent traffic.
6663
6714
  # @return [Integer]
6664
6715
  #
6665
6716
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/LinearConfiguration AWS API Documentation
@@ -8178,12 +8229,21 @@ module Aws::ECS
8178
8229
  # across your infrastructure.
8179
8230
  # @return [String]
8180
8231
  #
8232
+ # @!attribute [rw] infrastructure_optimization
8233
+ # Defines how Amazon ECS Managed Instances optimizes the
8234
+ # infrastastructure in your capacity provider. Configure it to turn on
8235
+ # or off the infrastructure optimization in your capacity provider,
8236
+ # and to control the idle or underutilized EC2 instances optimization
8237
+ # delay.
8238
+ # @return [Types::InfrastructureOptimization]
8239
+ #
8181
8240
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ManagedInstancesProvider AWS API Documentation
8182
8241
  #
8183
8242
  class ManagedInstancesProvider < Struct.new(
8184
8243
  :infrastructure_role_arn,
8185
8244
  :instance_launch_template,
8186
- :propagate_tags)
8245
+ :propagate_tags,
8246
+ :infrastructure_optimization)
8187
8247
  SENSITIVE = []
8188
8248
  include Aws::Structure
8189
8249
  end
@@ -14784,12 +14844,19 @@ module Aws::ECS
14784
14844
  # new instances launched after the update.
14785
14845
  # @return [String]
14786
14846
  #
14847
+ # @!attribute [rw] infrastructure_optimization
14848
+ # The updated infrastructure optimization configuration. Changes to
14849
+ # this setting affect how Amazon ECS optimizes instances going
14850
+ # forward.
14851
+ # @return [Types::InfrastructureOptimization]
14852
+ #
14787
14853
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateManagedInstancesProviderConfiguration AWS API Documentation
14788
14854
  #
14789
14855
  class UpdateManagedInstancesProviderConfiguration < Struct.new(
14790
14856
  :infrastructure_role_arn,
14791
14857
  :instance_launch_template,
14792
- :propagate_tags)
14858
+ :propagate_tags,
14859
+ :infrastructure_optimization)
14793
14860
  SENSITIVE = []
14794
14861
  include Aws::Structure
14795
14862
  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.210.0'
58
+ GEM_VERSION = '1.212.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -165,7 +165,10 @@ module Aws
165
165
  max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
166
166
  }?
167
167
  },
168
- propagate_tags: ("CAPACITY_PROVIDER" | "NONE")?
168
+ propagate_tags: ("CAPACITY_PROVIDER" | "NONE")?,
169
+ infrastructure_optimization: {
170
+ scale_in_after: ::Integer?
171
+ }?
169
172
  },
170
173
  ?tags: Array[
171
174
  {
@@ -1726,7 +1729,10 @@ module Aws
1726
1729
  max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
1727
1730
  }?
1728
1731
  },
1729
- propagate_tags: ("CAPACITY_PROVIDER" | "NONE")?
1732
+ propagate_tags: ("CAPACITY_PROVIDER" | "NONE")?,
1733
+ infrastructure_optimization: {
1734
+ scale_in_after: ::Integer?
1735
+ }?
1730
1736
  }
1731
1737
  ) -> _UpdateCapacityProviderResponseSuccess
1732
1738
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCapacityProviderResponseSuccess
data/sig/types.rbs CHANGED
@@ -353,6 +353,7 @@ module Aws::ECS
353
353
  attr_accessor infrastructure_role_arn: ::String
354
354
  attr_accessor instance_launch_template: Types::InstanceLaunchTemplate
355
355
  attr_accessor propagate_tags: ("CAPACITY_PROVIDER" | "NONE")
356
+ attr_accessor infrastructure_optimization: Types::InfrastructureOptimization
356
357
  SENSITIVE: []
357
358
  end
358
359
 
@@ -871,6 +872,11 @@ module Aws::ECS
871
872
  SENSITIVE: []
872
873
  end
873
874
 
875
+ class InfrastructureOptimization
876
+ attr_accessor scale_in_after: ::Integer
877
+ SENSITIVE: []
878
+ end
879
+
874
880
  class InstanceHealthCheckResult
875
881
  attr_accessor type: ("CONTAINER_RUNTIME")
876
882
  attr_accessor status: ("OK" | "IMPAIRED" | "INSUFFICIENT_DATA" | "INITIALIZING")
@@ -1163,6 +1169,7 @@ module Aws::ECS
1163
1169
  attr_accessor infrastructure_role_arn: ::String
1164
1170
  attr_accessor instance_launch_template: Types::InstanceLaunchTemplate
1165
1171
  attr_accessor propagate_tags: ("CAPACITY_PROVIDER" | "NONE")
1172
+ attr_accessor infrastructure_optimization: Types::InfrastructureOptimization
1166
1173
  SENSITIVE: []
1167
1174
  end
1168
1175
 
@@ -2106,6 +2113,7 @@ module Aws::ECS
2106
2113
  attr_accessor infrastructure_role_arn: ::String
2107
2114
  attr_accessor instance_launch_template: Types::InstanceLaunchTemplateUpdate
2108
2115
  attr_accessor propagate_tags: ("CAPACITY_PROVIDER" | "NONE")
2116
+ attr_accessor infrastructure_optimization: Types::InfrastructureOptimization
2109
2117
  SENSITIVE: []
2110
2118
  end
2111
2119
 
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.210.0
4
+ version: 1.212.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services