aws-sdk-ecs 1.203.0 → 1.206.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.
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.203.0'
58
+ GEM_VERSION = '1.206.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -86,7 +86,8 @@ module Aws
86
86
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#create_capacity_provider-instance_method
87
87
  def create_capacity_provider: (
88
88
  name: ::String,
89
- auto_scaling_group_provider: {
89
+ ?cluster: ::String,
90
+ ?auto_scaling_group_provider: {
90
91
  auto_scaling_group_arn: ::String,
91
92
  managed_scaling: {
92
93
  status: ("ENABLED" | "DISABLED")?,
@@ -98,6 +99,74 @@ module Aws
98
99
  managed_termination_protection: ("ENABLED" | "DISABLED")?,
99
100
  managed_draining: ("ENABLED" | "DISABLED")?
100
101
  },
102
+ ?managed_instances_provider: {
103
+ infrastructure_role_arn: ::String,
104
+ instance_launch_template: {
105
+ ec2_instance_profile_arn: ::String,
106
+ network_configuration: {
107
+ subnets: Array[::String]?,
108
+ security_groups: Array[::String]?
109
+ },
110
+ storage_configuration: {
111
+ storage_size_gi_b: ::Integer?
112
+ }?,
113
+ monitoring: ("BASIC" | "DETAILED")?,
114
+ instance_requirements: {
115
+ v_cpu_count: {
116
+ min: ::Integer,
117
+ max: ::Integer?
118
+ },
119
+ memory_mi_b: {
120
+ min: ::Integer,
121
+ max: ::Integer?
122
+ },
123
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
124
+ memory_gi_b_per_v_cpu: {
125
+ min: ::Float?,
126
+ max: ::Float?
127
+ }?,
128
+ excluded_instance_types: Array[::String]?,
129
+ instance_generations: Array[("current" | "previous")]?,
130
+ spot_max_price_percentage_over_lowest_price: ::Integer?,
131
+ on_demand_max_price_percentage_over_lowest_price: ::Integer?,
132
+ bare_metal: ("included" | "required" | "excluded")?,
133
+ burstable_performance: ("included" | "required" | "excluded")?,
134
+ require_hibernate_support: bool?,
135
+ network_interface_count: {
136
+ min: ::Integer?,
137
+ max: ::Integer?
138
+ }?,
139
+ local_storage: ("included" | "required" | "excluded")?,
140
+ local_storage_types: Array[("hdd" | "ssd")]?,
141
+ total_local_storage_gb: {
142
+ min: ::Float?,
143
+ max: ::Float?
144
+ }?,
145
+ baseline_ebs_bandwidth_mbps: {
146
+ min: ::Integer?,
147
+ max: ::Integer?
148
+ }?,
149
+ accelerator_types: Array[("gpu" | "fpga" | "inference")]?,
150
+ accelerator_count: {
151
+ min: ::Integer?,
152
+ max: ::Integer?
153
+ }?,
154
+ accelerator_manufacturers: Array[("amazon-web-services" | "amd" | "nvidia" | "xilinx" | "habana")]?,
155
+ accelerator_names: Array[("a100" | "inferentia" | "k520" | "k80" | "m60" | "radeon-pro-v520" | "t4" | "vu9p" | "v100" | "a10g" | "h100" | "t4g")]?,
156
+ accelerator_total_memory_mi_b: {
157
+ min: ::Integer?,
158
+ max: ::Integer?
159
+ }?,
160
+ network_bandwidth_gbps: {
161
+ min: ::Float?,
162
+ max: ::Float?
163
+ }?,
164
+ allowed_instance_types: Array[::String]?,
165
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
166
+ }?
167
+ },
168
+ propagate_tags: ("CAPACITY_PROVIDER" | "NONE")?
169
+ },
101
170
  ?tags: Array[
102
171
  {
103
172
  key: ::String?,
@@ -191,7 +260,7 @@ module Aws
191
260
  ],
192
261
  ?desired_count: ::Integer,
193
262
  ?client_token: ::String,
194
- ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL"),
263
+ ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES"),
195
264
  ?capacity_provider_strategy: Array[
196
265
  {
197
266
  capacity_provider: ::String,
@@ -219,7 +288,9 @@ module Aws
219
288
  {
220
289
  hook_target_arn: ::String?,
221
290
  role_arn: ::String?,
222
- lifecycle_stages: Array[("RECONCILE_SERVICE" | "PRE_SCALE_UP" | "POST_SCALE_UP" | "TEST_TRAFFIC_SHIFT" | "POST_TEST_TRAFFIC_SHIFT" | "PRODUCTION_TRAFFIC_SHIFT" | "POST_PRODUCTION_TRAFFIC_SHIFT")]?
291
+ lifecycle_stages: Array[("RECONCILE_SERVICE" | "PRE_SCALE_UP" | "POST_SCALE_UP" | "TEST_TRAFFIC_SHIFT" | "POST_TEST_TRAFFIC_SHIFT" | "PRODUCTION_TRAFFIC_SHIFT" | "POST_PRODUCTION_TRAFFIC_SHIFT")]?,
292
+ hook_details: {
293
+ }?
223
294
  },
224
295
  ]?
225
296
  },
@@ -380,7 +451,7 @@ module Aws
380
451
  container_port: ::Integer?
381
452
  },
382
453
  ],
383
- ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL"),
454
+ ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES"),
384
455
  ?capacity_provider_strategy: Array[
385
456
  {
386
457
  capacity_provider: ::String,
@@ -438,7 +509,8 @@ module Aws
438
509
  end
439
510
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#delete_capacity_provider-instance_method
440
511
  def delete_capacity_provider: (
441
- capacity_provider: ::String
512
+ capacity_provider: ::String,
513
+ ?cluster: ::String
442
514
  ) -> _DeleteCapacityProviderResponseSuccess
443
515
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCapacityProviderResponseSuccess
444
516
 
@@ -519,6 +591,7 @@ module Aws
519
591
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#describe_capacity_providers-instance_method
520
592
  def describe_capacity_providers: (
521
593
  ?capacity_providers: Array[::String],
594
+ ?cluster: ::String,
522
595
  ?include: Array[("TAGS")],
523
596
  ?max_results: ::Integer,
524
597
  ?next_token: ::String
@@ -756,7 +829,7 @@ module Aws
756
829
  ?cluster: ::String,
757
830
  ?next_token: ::String,
758
831
  ?max_results: ::Integer,
759
- ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL"),
832
+ ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES"),
760
833
  ?scheduling_strategy: ("REPLICA" | "DAEMON")
761
834
  ) -> _ListServicesResponseSuccess
762
835
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServicesResponseSuccess
@@ -828,7 +901,7 @@ module Aws
828
901
  ?started_by: ::String,
829
902
  ?service_name: ::String,
830
903
  ?desired_status: ("RUNNING" | "PENDING" | "STOPPED"),
831
- ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
904
+ ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")
832
905
  ) -> _ListTasksResponseSuccess
833
906
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTasksResponseSuccess
834
907
 
@@ -1144,7 +1217,7 @@ module Aws
1144
1217
  expression: ::String?
1145
1218
  },
1146
1219
  ],
1147
- ?requires_compatibilities: Array[("EC2" | "FARGATE" | "EXTERNAL")],
1220
+ ?requires_compatibilities: Array[("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")],
1148
1221
  ?cpu: ::String,
1149
1222
  ?memory: ::String,
1150
1223
  ?tags: Array[
@@ -1201,7 +1274,7 @@ module Aws
1201
1274
  ?enable_ecs_managed_tags: bool,
1202
1275
  ?enable_execute_command: bool,
1203
1276
  ?group: ::String,
1204
- ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL"),
1277
+ ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES"),
1205
1278
  ?network_configuration: {
1206
1279
  awsvpc_configuration: {
1207
1280
  subnets: Array[::String],
@@ -1563,7 +1636,8 @@ module Aws
1563
1636
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#update_capacity_provider-instance_method
1564
1637
  def update_capacity_provider: (
1565
1638
  name: ::String,
1566
- auto_scaling_group_provider: {
1639
+ ?cluster: ::String,
1640
+ ?auto_scaling_group_provider: {
1567
1641
  managed_scaling: {
1568
1642
  status: ("ENABLED" | "DISABLED")?,
1569
1643
  target_capacity: ::Integer?,
@@ -1573,6 +1647,74 @@ module Aws
1573
1647
  }?,
1574
1648
  managed_termination_protection: ("ENABLED" | "DISABLED")?,
1575
1649
  managed_draining: ("ENABLED" | "DISABLED")?
1650
+ },
1651
+ ?managed_instances_provider: {
1652
+ infrastructure_role_arn: ::String,
1653
+ instance_launch_template: {
1654
+ ec2_instance_profile_arn: ::String?,
1655
+ network_configuration: {
1656
+ subnets: Array[::String]?,
1657
+ security_groups: Array[::String]?
1658
+ }?,
1659
+ storage_configuration: {
1660
+ storage_size_gi_b: ::Integer?
1661
+ }?,
1662
+ monitoring: ("BASIC" | "DETAILED")?,
1663
+ instance_requirements: {
1664
+ v_cpu_count: {
1665
+ min: ::Integer,
1666
+ max: ::Integer?
1667
+ },
1668
+ memory_mi_b: {
1669
+ min: ::Integer,
1670
+ max: ::Integer?
1671
+ },
1672
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
1673
+ memory_gi_b_per_v_cpu: {
1674
+ min: ::Float?,
1675
+ max: ::Float?
1676
+ }?,
1677
+ excluded_instance_types: Array[::String]?,
1678
+ instance_generations: Array[("current" | "previous")]?,
1679
+ spot_max_price_percentage_over_lowest_price: ::Integer?,
1680
+ on_demand_max_price_percentage_over_lowest_price: ::Integer?,
1681
+ bare_metal: ("included" | "required" | "excluded")?,
1682
+ burstable_performance: ("included" | "required" | "excluded")?,
1683
+ require_hibernate_support: bool?,
1684
+ network_interface_count: {
1685
+ min: ::Integer?,
1686
+ max: ::Integer?
1687
+ }?,
1688
+ local_storage: ("included" | "required" | "excluded")?,
1689
+ local_storage_types: Array[("hdd" | "ssd")]?,
1690
+ total_local_storage_gb: {
1691
+ min: ::Float?,
1692
+ max: ::Float?
1693
+ }?,
1694
+ baseline_ebs_bandwidth_mbps: {
1695
+ min: ::Integer?,
1696
+ max: ::Integer?
1697
+ }?,
1698
+ accelerator_types: Array[("gpu" | "fpga" | "inference")]?,
1699
+ accelerator_count: {
1700
+ min: ::Integer?,
1701
+ max: ::Integer?
1702
+ }?,
1703
+ accelerator_manufacturers: Array[("amazon-web-services" | "amd" | "nvidia" | "xilinx" | "habana")]?,
1704
+ accelerator_names: Array[("a100" | "inferentia" | "k520" | "k80" | "m60" | "radeon-pro-v520" | "t4" | "vu9p" | "v100" | "a10g" | "h100" | "t4g")]?,
1705
+ accelerator_total_memory_mi_b: {
1706
+ min: ::Integer?,
1707
+ max: ::Integer?
1708
+ }?,
1709
+ network_bandwidth_gbps: {
1710
+ min: ::Float?,
1711
+ max: ::Float?
1712
+ }?,
1713
+ allowed_instance_types: Array[::String]?,
1714
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
1715
+ }?
1716
+ },
1717
+ propagate_tags: ("CAPACITY_PROVIDER" | "NONE")?
1576
1718
  }
1577
1719
  ) -> _UpdateCapacityProviderResponseSuccess
1578
1720
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCapacityProviderResponseSuccess
@@ -1688,7 +1830,9 @@ module Aws
1688
1830
  {
1689
1831
  hook_target_arn: ::String?,
1690
1832
  role_arn: ::String?,
1691
- lifecycle_stages: Array[("RECONCILE_SERVICE" | "PRE_SCALE_UP" | "POST_SCALE_UP" | "TEST_TRAFFIC_SHIFT" | "POST_TEST_TRAFFIC_SHIFT" | "PRODUCTION_TRAFFIC_SHIFT" | "POST_PRODUCTION_TRAFFIC_SHIFT")]?
1833
+ lifecycle_stages: Array[("RECONCILE_SERVICE" | "PRE_SCALE_UP" | "POST_SCALE_UP" | "TEST_TRAFFIC_SHIFT" | "POST_TEST_TRAFFIC_SHIFT" | "PRODUCTION_TRAFFIC_SHIFT" | "POST_PRODUCTION_TRAFFIC_SHIFT")]?,
1834
+ hook_details: {
1835
+ }?
1692
1836
  },
1693
1837
  ]?
1694
1838
  },
data/sig/errors.rbs CHANGED
@@ -20,6 +20,8 @@ module Aws
20
20
  class ClientException < ::Aws::Errors::ServiceError
21
21
  def message: () -> ::String
22
22
  end
23
+ class ClusterContainsCapacityProviderException < ::Aws::Errors::ServiceError
24
+ end
23
25
  class ClusterContainsContainerInstancesException < ::Aws::Errors::ServiceError
24
26
  end
25
27
  class ClusterContainsServicesException < ::Aws::Errors::ServiceError
data/sig/types.rbs CHANGED
@@ -8,6 +8,18 @@
8
8
  module Aws::ECS
9
9
  module Types
10
10
 
11
+ class AcceleratorCountRequest
12
+ attr_accessor min: ::Integer
13
+ attr_accessor max: ::Integer
14
+ SENSITIVE: []
15
+ end
16
+
17
+ class AcceleratorTotalMemoryMiBRequest
18
+ attr_accessor min: ::Integer
19
+ attr_accessor max: ::Integer
20
+ SENSITIVE: []
21
+ end
22
+
11
23
  class AccessDeniedException < Aws::EmptyStructure
12
24
  end
13
25
 
@@ -66,17 +78,26 @@ module Aws::ECS
66
78
  SENSITIVE: []
67
79
  end
68
80
 
81
+ class BaselineEbsBandwidthMbpsRequest
82
+ attr_accessor min: ::Integer
83
+ attr_accessor max: ::Integer
84
+ SENSITIVE: []
85
+ end
86
+
69
87
  class BlockedException < Aws::EmptyStructure
70
88
  end
71
89
 
72
90
  class CapacityProvider
73
91
  attr_accessor capacity_provider_arn: ::String
74
92
  attr_accessor name: ::String
75
- attr_accessor status: ("ACTIVE" | "INACTIVE")
93
+ attr_accessor cluster: ::String
94
+ attr_accessor status: ("PROVISIONING" | "ACTIVE" | "DEPROVISIONING" | "INACTIVE")
76
95
  attr_accessor auto_scaling_group_provider: Types::AutoScalingGroupProvider
77
- attr_accessor update_status: ("DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED")
96
+ attr_accessor managed_instances_provider: Types::ManagedInstancesProvider
97
+ attr_accessor update_status: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED")
78
98
  attr_accessor update_status_reason: ::String
79
99
  attr_accessor tags: ::Array[Types::Tag]
100
+ attr_accessor type: ("EC2_AUTOSCALING" | "MANAGED_INSTANCES" | "FARGATE" | "FARGATE_SPOT")
80
101
  SENSITIVE: []
81
102
  end
82
103
 
@@ -118,6 +139,9 @@ module Aws::ECS
118
139
  SENSITIVE: []
119
140
  end
120
141
 
142
+ class ClusterContainsCapacityProviderException < Aws::EmptyStructure
143
+ end
144
+
121
145
  class ClusterContainsContainerInstancesException < Aws::EmptyStructure
122
146
  end
123
147
 
@@ -291,7 +315,9 @@ module Aws::ECS
291
315
 
292
316
  class CreateCapacityProviderRequest
293
317
  attr_accessor name: ::String
318
+ attr_accessor cluster: ::String
294
319
  attr_accessor auto_scaling_group_provider: Types::AutoScalingGroupProvider
320
+ attr_accessor managed_instances_provider: Types::CreateManagedInstancesProviderConfiguration
295
321
  attr_accessor tags: ::Array[Types::Tag]
296
322
  SENSITIVE: []
297
323
  end
@@ -317,6 +343,13 @@ module Aws::ECS
317
343
  SENSITIVE: []
318
344
  end
319
345
 
346
+ class CreateManagedInstancesProviderConfiguration
347
+ attr_accessor infrastructure_role_arn: ::String
348
+ attr_accessor instance_launch_template: Types::InstanceLaunchTemplate
349
+ attr_accessor propagate_tags: ("CAPACITY_PROVIDER" | "NONE")
350
+ SENSITIVE: []
351
+ end
352
+
320
353
  class CreateServiceRequest
321
354
  attr_accessor cluster: ::String
322
355
  attr_accessor service_name: ::String
@@ -326,7 +359,7 @@ module Aws::ECS
326
359
  attr_accessor service_registries: ::Array[Types::ServiceRegistry]
327
360
  attr_accessor desired_count: ::Integer
328
361
  attr_accessor client_token: ::String
329
- attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
362
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")
330
363
  attr_accessor capacity_provider_strategy: ::Array[Types::CapacityProviderStrategyItem]
331
364
  attr_accessor platform_version: ::String
332
365
  attr_accessor role: ::String
@@ -360,7 +393,7 @@ module Aws::ECS
360
393
  attr_accessor network_configuration: Types::NetworkConfiguration
361
394
  attr_accessor load_balancers: ::Array[Types::LoadBalancer]
362
395
  attr_accessor service_registries: ::Array[Types::ServiceRegistry]
363
- attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
396
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")
364
397
  attr_accessor capacity_provider_strategy: ::Array[Types::CapacityProviderStrategyItem]
365
398
  attr_accessor platform_version: ::String
366
399
  attr_accessor scale: Types::Scale
@@ -404,6 +437,7 @@ module Aws::ECS
404
437
 
405
438
  class DeleteCapacityProviderRequest
406
439
  attr_accessor capacity_provider: ::String
440
+ attr_accessor cluster: ::String
407
441
  SENSITIVE: []
408
442
  end
409
443
 
@@ -469,7 +503,7 @@ module Aws::ECS
469
503
  attr_accessor created_at: ::Time
470
504
  attr_accessor updated_at: ::Time
471
505
  attr_accessor capacity_provider_strategy: ::Array[Types::CapacityProviderStrategyItem]
472
- attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
506
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")
473
507
  attr_accessor platform_version: ::String
474
508
  attr_accessor platform_family: ::String
475
509
  attr_accessor network_configuration: Types::NetworkConfiguration
@@ -521,6 +555,7 @@ module Aws::ECS
521
555
  attr_accessor hook_target_arn: ::String
522
556
  attr_accessor role_arn: ::String
523
557
  attr_accessor lifecycle_stages: ::Array[("RECONCILE_SERVICE" | "PRE_SCALE_UP" | "POST_SCALE_UP" | "TEST_TRAFFIC_SHIFT" | "POST_TEST_TRAFFIC_SHIFT" | "PRODUCTION_TRAFFIC_SHIFT" | "POST_PRODUCTION_TRAFFIC_SHIFT")]
558
+ attr_accessor hook_details: untyped
524
559
  SENSITIVE: []
525
560
  end
526
561
 
@@ -548,6 +583,7 @@ module Aws::ECS
548
583
 
549
584
  class DescribeCapacityProvidersRequest
550
585
  attr_accessor capacity_providers: ::Array[::String]
586
+ attr_accessor cluster: ::String
551
587
  attr_accessor include: ::Array[("TAGS")]
552
588
  attr_accessor max_results: ::Integer
553
589
  attr_accessor next_token: ::String
@@ -835,6 +871,52 @@ module Aws::ECS
835
871
  SENSITIVE: []
836
872
  end
837
873
 
874
+ class InstanceLaunchTemplate
875
+ attr_accessor ec2_instance_profile_arn: ::String
876
+ attr_accessor network_configuration: Types::ManagedInstancesNetworkConfiguration
877
+ attr_accessor storage_configuration: Types::ManagedInstancesStorageConfiguration
878
+ attr_accessor monitoring: ("BASIC" | "DETAILED")
879
+ attr_accessor instance_requirements: Types::InstanceRequirementsRequest
880
+ SENSITIVE: []
881
+ end
882
+
883
+ class InstanceLaunchTemplateUpdate
884
+ attr_accessor ec2_instance_profile_arn: ::String
885
+ attr_accessor network_configuration: Types::ManagedInstancesNetworkConfiguration
886
+ attr_accessor storage_configuration: Types::ManagedInstancesStorageConfiguration
887
+ attr_accessor monitoring: ("BASIC" | "DETAILED")
888
+ attr_accessor instance_requirements: Types::InstanceRequirementsRequest
889
+ SENSITIVE: []
890
+ end
891
+
892
+ class InstanceRequirementsRequest
893
+ attr_accessor v_cpu_count: Types::VCpuCountRangeRequest
894
+ attr_accessor memory_mi_b: Types::MemoryMiBRequest
895
+ attr_accessor cpu_manufacturers: ::Array[("intel" | "amd" | "amazon-web-services")]
896
+ attr_accessor memory_gi_b_per_v_cpu: Types::MemoryGiBPerVCpuRequest
897
+ attr_accessor excluded_instance_types: ::Array[::String]
898
+ attr_accessor instance_generations: ::Array[("current" | "previous")]
899
+ attr_accessor spot_max_price_percentage_over_lowest_price: ::Integer
900
+ attr_accessor on_demand_max_price_percentage_over_lowest_price: ::Integer
901
+ attr_accessor bare_metal: ("included" | "required" | "excluded")
902
+ attr_accessor burstable_performance: ("included" | "required" | "excluded")
903
+ attr_accessor require_hibernate_support: bool
904
+ attr_accessor network_interface_count: Types::NetworkInterfaceCountRequest
905
+ attr_accessor local_storage: ("included" | "required" | "excluded")
906
+ attr_accessor local_storage_types: ::Array[("hdd" | "ssd")]
907
+ attr_accessor total_local_storage_gb: Types::TotalLocalStorageGBRequest
908
+ attr_accessor baseline_ebs_bandwidth_mbps: Types::BaselineEbsBandwidthMbpsRequest
909
+ attr_accessor accelerator_types: ::Array[("gpu" | "fpga" | "inference")]
910
+ attr_accessor accelerator_count: Types::AcceleratorCountRequest
911
+ attr_accessor accelerator_manufacturers: ::Array[("amazon-web-services" | "amd" | "nvidia" | "xilinx" | "habana")]
912
+ attr_accessor accelerator_names: ::Array[("a100" | "inferentia" | "k520" | "k80" | "m60" | "radeon-pro-v520" | "t4" | "vu9p" | "v100" | "a10g" | "h100" | "t4g")]
913
+ attr_accessor accelerator_total_memory_mi_b: Types::AcceleratorTotalMemoryMiBRequest
914
+ attr_accessor network_bandwidth_gbps: Types::NetworkBandwidthGbpsRequest
915
+ attr_accessor allowed_instance_types: ::Array[::String]
916
+ attr_accessor max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer
917
+ SENSITIVE: []
918
+ end
919
+
838
920
  class InvalidParameterException < Aws::EmptyStructure
839
921
  end
840
922
 
@@ -956,7 +1038,7 @@ module Aws::ECS
956
1038
  attr_accessor cluster: ::String
957
1039
  attr_accessor next_token: ::String
958
1040
  attr_accessor max_results: ::Integer
959
- attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
1041
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")
960
1042
  attr_accessor scheduling_strategy: ("REPLICA" | "DAEMON")
961
1043
  SENSITIVE: []
962
1044
  end
@@ -1015,7 +1097,7 @@ module Aws::ECS
1015
1097
  attr_accessor started_by: ::String
1016
1098
  attr_accessor service_name: ::String
1017
1099
  attr_accessor desired_status: ("RUNNING" | "PENDING" | "STOPPED")
1018
- attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
1100
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")
1019
1101
  SENSITIVE: []
1020
1102
  end
1021
1103
 
@@ -1057,6 +1139,24 @@ module Aws::ECS
1057
1139
  SENSITIVE: []
1058
1140
  end
1059
1141
 
1142
+ class ManagedInstancesNetworkConfiguration
1143
+ attr_accessor subnets: ::Array[::String]
1144
+ attr_accessor security_groups: ::Array[::String]
1145
+ SENSITIVE: []
1146
+ end
1147
+
1148
+ class ManagedInstancesProvider
1149
+ attr_accessor infrastructure_role_arn: ::String
1150
+ attr_accessor instance_launch_template: Types::InstanceLaunchTemplate
1151
+ attr_accessor propagate_tags: ("CAPACITY_PROVIDER" | "NONE")
1152
+ SENSITIVE: []
1153
+ end
1154
+
1155
+ class ManagedInstancesStorageConfiguration
1156
+ attr_accessor storage_size_gi_b: ::Integer
1157
+ SENSITIVE: []
1158
+ end
1159
+
1060
1160
  class ManagedScaling
1061
1161
  attr_accessor status: ("ENABLED" | "DISABLED")
1062
1162
  attr_accessor target_capacity: ::Integer
@@ -1072,6 +1172,18 @@ module Aws::ECS
1072
1172
  SENSITIVE: []
1073
1173
  end
1074
1174
 
1175
+ class MemoryGiBPerVCpuRequest
1176
+ attr_accessor min: ::Float
1177
+ attr_accessor max: ::Float
1178
+ SENSITIVE: []
1179
+ end
1180
+
1181
+ class MemoryMiBRequest
1182
+ attr_accessor min: ::Integer
1183
+ attr_accessor max: ::Integer
1184
+ SENSITIVE: []
1185
+ end
1186
+
1075
1187
  class MissingVersionException < Aws::EmptyStructure
1076
1188
  end
1077
1189
 
@@ -1085,6 +1197,12 @@ module Aws::ECS
1085
1197
  class NamespaceNotFoundException < Aws::EmptyStructure
1086
1198
  end
1087
1199
 
1200
+ class NetworkBandwidthGbpsRequest
1201
+ attr_accessor min: ::Float
1202
+ attr_accessor max: ::Float
1203
+ SENSITIVE: []
1204
+ end
1205
+
1088
1206
  class NetworkBinding
1089
1207
  attr_accessor bind_ip: ::String
1090
1208
  attr_accessor container_port: ::Integer
@@ -1107,6 +1225,12 @@ module Aws::ECS
1107
1225
  SENSITIVE: []
1108
1226
  end
1109
1227
 
1228
+ class NetworkInterfaceCountRequest
1229
+ attr_accessor min: ::Integer
1230
+ attr_accessor max: ::Integer
1231
+ SENSITIVE: []
1232
+ end
1233
+
1110
1234
  class NoUpdateAvailableException < Aws::EmptyStructure
1111
1235
  end
1112
1236
 
@@ -1230,7 +1354,7 @@ module Aws::ECS
1230
1354
  attr_accessor container_definitions: ::Array[Types::ContainerDefinition]
1231
1355
  attr_accessor volumes: ::Array[Types::Volume]
1232
1356
  attr_accessor placement_constraints: ::Array[Types::TaskDefinitionPlacementConstraint]
1233
- attr_accessor requires_compatibilities: ::Array[("EC2" | "FARGATE" | "EXTERNAL")]
1357
+ attr_accessor requires_compatibilities: ::Array[("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")]
1234
1358
  attr_accessor cpu: ::String
1235
1359
  attr_accessor memory: ::String
1236
1360
  attr_accessor tags: ::Array[Types::Tag]
@@ -1296,7 +1420,7 @@ module Aws::ECS
1296
1420
  attr_accessor enable_ecs_managed_tags: bool
1297
1421
  attr_accessor enable_execute_command: bool
1298
1422
  attr_accessor group: ::String
1299
- attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
1423
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")
1300
1424
  attr_accessor network_configuration: Types::NetworkConfiguration
1301
1425
  attr_accessor overrides: Types::TaskOverride
1302
1426
  attr_accessor placement_constraints: ::Array[Types::PlacementConstraint]
@@ -1351,7 +1475,7 @@ module Aws::ECS
1351
1475
  attr_accessor desired_count: ::Integer
1352
1476
  attr_accessor running_count: ::Integer
1353
1477
  attr_accessor pending_count: ::Integer
1354
- attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
1478
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")
1355
1479
  attr_accessor capacity_provider_strategy: ::Array[Types::CapacityProviderStrategyItem]
1356
1480
  attr_accessor platform_version: ::String
1357
1481
  attr_accessor platform_family: ::String
@@ -1529,7 +1653,7 @@ module Aws::ECS
1529
1653
  attr_accessor cluster_arn: ::String
1530
1654
  attr_accessor task_definition: ::String
1531
1655
  attr_accessor capacity_provider_strategy: ::Array[Types::CapacityProviderStrategyItem]
1532
- attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
1656
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")
1533
1657
  attr_accessor platform_version: ::String
1534
1658
  attr_accessor platform_family: ::String
1535
1659
  attr_accessor load_balancers: ::Array[Types::LoadBalancer]
@@ -1720,7 +1844,7 @@ module Aws::ECS
1720
1844
  attr_accessor health_status: ("HEALTHY" | "UNHEALTHY" | "UNKNOWN")
1721
1845
  attr_accessor inference_accelerators: ::Array[Types::InferenceAccelerator]
1722
1846
  attr_accessor last_status: ::String
1723
- attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
1847
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")
1724
1848
  attr_accessor memory: ::String
1725
1849
  attr_accessor overrides: Types::TaskOverride
1726
1850
  attr_accessor platform_version: ::String
@@ -1754,9 +1878,9 @@ module Aws::ECS
1754
1878
  attr_accessor status: ("ACTIVE" | "INACTIVE" | "DELETE_IN_PROGRESS")
1755
1879
  attr_accessor requires_attributes: ::Array[Types::Attribute]
1756
1880
  attr_accessor placement_constraints: ::Array[Types::TaskDefinitionPlacementConstraint]
1757
- attr_accessor compatibilities: ::Array[("EC2" | "FARGATE" | "EXTERNAL")]
1881
+ attr_accessor compatibilities: ::Array[("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")]
1758
1882
  attr_accessor runtime_platform: Types::RuntimePlatform
1759
- attr_accessor requires_compatibilities: ::Array[("EC2" | "FARGATE" | "EXTERNAL")]
1883
+ attr_accessor requires_compatibilities: ::Array[("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")]
1760
1884
  attr_accessor cpu: ::String
1761
1885
  attr_accessor memory: ::String
1762
1886
  attr_accessor inference_accelerators: ::Array[Types::InferenceAccelerator]
@@ -1829,7 +1953,7 @@ module Aws::ECS
1829
1953
  attr_accessor running_count: ::Integer
1830
1954
  attr_accessor created_at: ::Time
1831
1955
  attr_accessor updated_at: ::Time
1832
- attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
1956
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")
1833
1957
  attr_accessor capacity_provider_strategy: ::Array[Types::CapacityProviderStrategyItem]
1834
1958
  attr_accessor platform_version: ::String
1835
1959
  attr_accessor platform_family: ::String
@@ -1866,6 +1990,12 @@ module Aws::ECS
1866
1990
  SENSITIVE: []
1867
1991
  end
1868
1992
 
1993
+ class TotalLocalStorageGBRequest
1994
+ attr_accessor min: ::Float
1995
+ attr_accessor max: ::Float
1996
+ SENSITIVE: []
1997
+ end
1998
+
1869
1999
  class Ulimit
1870
2000
  attr_accessor name: ("core" | "cpu" | "data" | "fsize" | "locks" | "memlock" | "msgqueue" | "nice" | "nofile" | "nproc" | "rss" | "rtprio" | "rttime" | "sigpending" | "stack")
1871
2001
  attr_accessor soft_limit: ::Integer
@@ -1887,7 +2017,9 @@ module Aws::ECS
1887
2017
 
1888
2018
  class UpdateCapacityProviderRequest
1889
2019
  attr_accessor name: ::String
2020
+ attr_accessor cluster: ::String
1890
2021
  attr_accessor auto_scaling_group_provider: Types::AutoScalingGroupProviderUpdate
2022
+ attr_accessor managed_instances_provider: Types::UpdateManagedInstancesProviderConfiguration
1891
2023
  SENSITIVE: []
1892
2024
  end
1893
2025
 
@@ -1947,6 +2079,13 @@ module Aws::ECS
1947
2079
  class UpdateInProgressException < Aws::EmptyStructure
1948
2080
  end
1949
2081
 
2082
+ class UpdateManagedInstancesProviderConfiguration
2083
+ attr_accessor infrastructure_role_arn: ::String
2084
+ attr_accessor instance_launch_template: Types::InstanceLaunchTemplateUpdate
2085
+ attr_accessor propagate_tags: ("CAPACITY_PROVIDER" | "NONE")
2086
+ SENSITIVE: []
2087
+ end
2088
+
1950
2089
  class UpdateServicePrimaryTaskSetRequest
1951
2090
  attr_accessor cluster: ::String
1952
2091
  attr_accessor service: ::String
@@ -2017,6 +2156,12 @@ module Aws::ECS
2017
2156
  SENSITIVE: []
2018
2157
  end
2019
2158
 
2159
+ class VCpuCountRangeRequest
2160
+ attr_accessor min: ::Integer
2161
+ attr_accessor max: ::Integer
2162
+ SENSITIVE: []
2163
+ end
2164
+
2020
2165
  class VersionInfo
2021
2166
  attr_accessor agent_version: ::String
2022
2167
  attr_accessor agent_hash: ::String