aws-sdk-ecs 1.205.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.205.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,
@@ -382,7 +451,7 @@ module Aws
382
451
  container_port: ::Integer?
383
452
  },
384
453
  ],
385
- ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL"),
454
+ ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES"),
386
455
  ?capacity_provider_strategy: Array[
387
456
  {
388
457
  capacity_provider: ::String,
@@ -440,7 +509,8 @@ module Aws
440
509
  end
441
510
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#delete_capacity_provider-instance_method
442
511
  def delete_capacity_provider: (
443
- capacity_provider: ::String
512
+ capacity_provider: ::String,
513
+ ?cluster: ::String
444
514
  ) -> _DeleteCapacityProviderResponseSuccess
445
515
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCapacityProviderResponseSuccess
446
516
 
@@ -521,6 +591,7 @@ module Aws
521
591
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#describe_capacity_providers-instance_method
522
592
  def describe_capacity_providers: (
523
593
  ?capacity_providers: Array[::String],
594
+ ?cluster: ::String,
524
595
  ?include: Array[("TAGS")],
525
596
  ?max_results: ::Integer,
526
597
  ?next_token: ::String
@@ -758,7 +829,7 @@ module Aws
758
829
  ?cluster: ::String,
759
830
  ?next_token: ::String,
760
831
  ?max_results: ::Integer,
761
- ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL"),
832
+ ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES"),
762
833
  ?scheduling_strategy: ("REPLICA" | "DAEMON")
763
834
  ) -> _ListServicesResponseSuccess
764
835
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServicesResponseSuccess
@@ -830,7 +901,7 @@ module Aws
830
901
  ?started_by: ::String,
831
902
  ?service_name: ::String,
832
903
  ?desired_status: ("RUNNING" | "PENDING" | "STOPPED"),
833
- ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
904
+ ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")
834
905
  ) -> _ListTasksResponseSuccess
835
906
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTasksResponseSuccess
836
907
 
@@ -1146,7 +1217,7 @@ module Aws
1146
1217
  expression: ::String?
1147
1218
  },
1148
1219
  ],
1149
- ?requires_compatibilities: Array[("EC2" | "FARGATE" | "EXTERNAL")],
1220
+ ?requires_compatibilities: Array[("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")],
1150
1221
  ?cpu: ::String,
1151
1222
  ?memory: ::String,
1152
1223
  ?tags: Array[
@@ -1203,7 +1274,7 @@ module Aws
1203
1274
  ?enable_ecs_managed_tags: bool,
1204
1275
  ?enable_execute_command: bool,
1205
1276
  ?group: ::String,
1206
- ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL"),
1277
+ ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES"),
1207
1278
  ?network_configuration: {
1208
1279
  awsvpc_configuration: {
1209
1280
  subnets: Array[::String],
@@ -1565,7 +1636,8 @@ module Aws
1565
1636
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#update_capacity_provider-instance_method
1566
1637
  def update_capacity_provider: (
1567
1638
  name: ::String,
1568
- auto_scaling_group_provider: {
1639
+ ?cluster: ::String,
1640
+ ?auto_scaling_group_provider: {
1569
1641
  managed_scaling: {
1570
1642
  status: ("ENABLED" | "DISABLED")?,
1571
1643
  target_capacity: ::Integer?,
@@ -1575,6 +1647,74 @@ module Aws
1575
1647
  }?,
1576
1648
  managed_termination_protection: ("ENABLED" | "DISABLED")?,
1577
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")?
1578
1718
  }
1579
1719
  ) -> _UpdateCapacityProviderResponseSuccess
1580
1720
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCapacityProviderResponseSuccess
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
@@ -549,6 +583,7 @@ module Aws::ECS
549
583
 
550
584
  class DescribeCapacityProvidersRequest
551
585
  attr_accessor capacity_providers: ::Array[::String]
586
+ attr_accessor cluster: ::String
552
587
  attr_accessor include: ::Array[("TAGS")]
553
588
  attr_accessor max_results: ::Integer
554
589
  attr_accessor next_token: ::String
@@ -836,6 +871,52 @@ module Aws::ECS
836
871
  SENSITIVE: []
837
872
  end
838
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
+
839
920
  class InvalidParameterException < Aws::EmptyStructure
840
921
  end
841
922
 
@@ -957,7 +1038,7 @@ module Aws::ECS
957
1038
  attr_accessor cluster: ::String
958
1039
  attr_accessor next_token: ::String
959
1040
  attr_accessor max_results: ::Integer
960
- attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
1041
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")
961
1042
  attr_accessor scheduling_strategy: ("REPLICA" | "DAEMON")
962
1043
  SENSITIVE: []
963
1044
  end
@@ -1016,7 +1097,7 @@ module Aws::ECS
1016
1097
  attr_accessor started_by: ::String
1017
1098
  attr_accessor service_name: ::String
1018
1099
  attr_accessor desired_status: ("RUNNING" | "PENDING" | "STOPPED")
1019
- attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
1100
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")
1020
1101
  SENSITIVE: []
1021
1102
  end
1022
1103
 
@@ -1058,6 +1139,24 @@ module Aws::ECS
1058
1139
  SENSITIVE: []
1059
1140
  end
1060
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
+
1061
1160
  class ManagedScaling
1062
1161
  attr_accessor status: ("ENABLED" | "DISABLED")
1063
1162
  attr_accessor target_capacity: ::Integer
@@ -1073,6 +1172,18 @@ module Aws::ECS
1073
1172
  SENSITIVE: []
1074
1173
  end
1075
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
+
1076
1187
  class MissingVersionException < Aws::EmptyStructure
1077
1188
  end
1078
1189
 
@@ -1086,6 +1197,12 @@ module Aws::ECS
1086
1197
  class NamespaceNotFoundException < Aws::EmptyStructure
1087
1198
  end
1088
1199
 
1200
+ class NetworkBandwidthGbpsRequest
1201
+ attr_accessor min: ::Float
1202
+ attr_accessor max: ::Float
1203
+ SENSITIVE: []
1204
+ end
1205
+
1089
1206
  class NetworkBinding
1090
1207
  attr_accessor bind_ip: ::String
1091
1208
  attr_accessor container_port: ::Integer
@@ -1108,6 +1225,12 @@ module Aws::ECS
1108
1225
  SENSITIVE: []
1109
1226
  end
1110
1227
 
1228
+ class NetworkInterfaceCountRequest
1229
+ attr_accessor min: ::Integer
1230
+ attr_accessor max: ::Integer
1231
+ SENSITIVE: []
1232
+ end
1233
+
1111
1234
  class NoUpdateAvailableException < Aws::EmptyStructure
1112
1235
  end
1113
1236
 
@@ -1231,7 +1354,7 @@ module Aws::ECS
1231
1354
  attr_accessor container_definitions: ::Array[Types::ContainerDefinition]
1232
1355
  attr_accessor volumes: ::Array[Types::Volume]
1233
1356
  attr_accessor placement_constraints: ::Array[Types::TaskDefinitionPlacementConstraint]
1234
- attr_accessor requires_compatibilities: ::Array[("EC2" | "FARGATE" | "EXTERNAL")]
1357
+ attr_accessor requires_compatibilities: ::Array[("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")]
1235
1358
  attr_accessor cpu: ::String
1236
1359
  attr_accessor memory: ::String
1237
1360
  attr_accessor tags: ::Array[Types::Tag]
@@ -1297,7 +1420,7 @@ module Aws::ECS
1297
1420
  attr_accessor enable_ecs_managed_tags: bool
1298
1421
  attr_accessor enable_execute_command: bool
1299
1422
  attr_accessor group: ::String
1300
- attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
1423
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")
1301
1424
  attr_accessor network_configuration: Types::NetworkConfiguration
1302
1425
  attr_accessor overrides: Types::TaskOverride
1303
1426
  attr_accessor placement_constraints: ::Array[Types::PlacementConstraint]
@@ -1352,7 +1475,7 @@ module Aws::ECS
1352
1475
  attr_accessor desired_count: ::Integer
1353
1476
  attr_accessor running_count: ::Integer
1354
1477
  attr_accessor pending_count: ::Integer
1355
- attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
1478
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")
1356
1479
  attr_accessor capacity_provider_strategy: ::Array[Types::CapacityProviderStrategyItem]
1357
1480
  attr_accessor platform_version: ::String
1358
1481
  attr_accessor platform_family: ::String
@@ -1530,7 +1653,7 @@ module Aws::ECS
1530
1653
  attr_accessor cluster_arn: ::String
1531
1654
  attr_accessor task_definition: ::String
1532
1655
  attr_accessor capacity_provider_strategy: ::Array[Types::CapacityProviderStrategyItem]
1533
- attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
1656
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")
1534
1657
  attr_accessor platform_version: ::String
1535
1658
  attr_accessor platform_family: ::String
1536
1659
  attr_accessor load_balancers: ::Array[Types::LoadBalancer]
@@ -1721,7 +1844,7 @@ module Aws::ECS
1721
1844
  attr_accessor health_status: ("HEALTHY" | "UNHEALTHY" | "UNKNOWN")
1722
1845
  attr_accessor inference_accelerators: ::Array[Types::InferenceAccelerator]
1723
1846
  attr_accessor last_status: ::String
1724
- attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
1847
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")
1725
1848
  attr_accessor memory: ::String
1726
1849
  attr_accessor overrides: Types::TaskOverride
1727
1850
  attr_accessor platform_version: ::String
@@ -1755,9 +1878,9 @@ module Aws::ECS
1755
1878
  attr_accessor status: ("ACTIVE" | "INACTIVE" | "DELETE_IN_PROGRESS")
1756
1879
  attr_accessor requires_attributes: ::Array[Types::Attribute]
1757
1880
  attr_accessor placement_constraints: ::Array[Types::TaskDefinitionPlacementConstraint]
1758
- attr_accessor compatibilities: ::Array[("EC2" | "FARGATE" | "EXTERNAL")]
1881
+ attr_accessor compatibilities: ::Array[("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")]
1759
1882
  attr_accessor runtime_platform: Types::RuntimePlatform
1760
- attr_accessor requires_compatibilities: ::Array[("EC2" | "FARGATE" | "EXTERNAL")]
1883
+ attr_accessor requires_compatibilities: ::Array[("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")]
1761
1884
  attr_accessor cpu: ::String
1762
1885
  attr_accessor memory: ::String
1763
1886
  attr_accessor inference_accelerators: ::Array[Types::InferenceAccelerator]
@@ -1830,7 +1953,7 @@ module Aws::ECS
1830
1953
  attr_accessor running_count: ::Integer
1831
1954
  attr_accessor created_at: ::Time
1832
1955
  attr_accessor updated_at: ::Time
1833
- attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
1956
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES")
1834
1957
  attr_accessor capacity_provider_strategy: ::Array[Types::CapacityProviderStrategyItem]
1835
1958
  attr_accessor platform_version: ::String
1836
1959
  attr_accessor platform_family: ::String
@@ -1867,6 +1990,12 @@ module Aws::ECS
1867
1990
  SENSITIVE: []
1868
1991
  end
1869
1992
 
1993
+ class TotalLocalStorageGBRequest
1994
+ attr_accessor min: ::Float
1995
+ attr_accessor max: ::Float
1996
+ SENSITIVE: []
1997
+ end
1998
+
1870
1999
  class Ulimit
1871
2000
  attr_accessor name: ("core" | "cpu" | "data" | "fsize" | "locks" | "memlock" | "msgqueue" | "nice" | "nofile" | "nproc" | "rss" | "rtprio" | "rttime" | "sigpending" | "stack")
1872
2001
  attr_accessor soft_limit: ::Integer
@@ -1888,7 +2017,9 @@ module Aws::ECS
1888
2017
 
1889
2018
  class UpdateCapacityProviderRequest
1890
2019
  attr_accessor name: ::String
2020
+ attr_accessor cluster: ::String
1891
2021
  attr_accessor auto_scaling_group_provider: Types::AutoScalingGroupProviderUpdate
2022
+ attr_accessor managed_instances_provider: Types::UpdateManagedInstancesProviderConfiguration
1892
2023
  SENSITIVE: []
1893
2024
  end
1894
2025
 
@@ -1948,6 +2079,13 @@ module Aws::ECS
1948
2079
  class UpdateInProgressException < Aws::EmptyStructure
1949
2080
  end
1950
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
+
1951
2089
  class UpdateServicePrimaryTaskSetRequest
1952
2090
  attr_accessor cluster: ::String
1953
2091
  attr_accessor service: ::String
@@ -2018,6 +2156,12 @@ module Aws::ECS
2018
2156
  SENSITIVE: []
2019
2157
  end
2020
2158
 
2159
+ class VCpuCountRangeRequest
2160
+ attr_accessor min: ::Integer
2161
+ attr_accessor max: ::Integer
2162
+ SENSITIVE: []
2163
+ end
2164
+
2021
2165
  class VersionInfo
2022
2166
  attr_accessor agent_version: ::String
2023
2167
  attr_accessor agent_hash: ::String
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.205.0
4
+ version: 1.206.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services