@aws-sdk/client-ecs 3.899.0 → 3.901.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.
Files changed (48) hide show
  1. package/dist-cjs/index.js +395 -65
  2. package/dist-es/models/models_0.js +111 -93
  3. package/dist-es/models/models_1.js +69 -0
  4. package/dist-es/protocols/Aws_json1_1.js +227 -14
  5. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +188 -9
  6. package/dist-types/commands/CreateServiceCommand.d.ts +4 -4
  7. package/dist-types/commands/CreateTaskSetCommand.d.ts +2 -2
  8. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +99 -2
  9. package/dist-types/commands/DeleteClusterCommand.d.ts +3 -0
  10. package/dist-types/commands/DeleteServiceCommand.d.ts +3 -3
  11. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +2 -2
  12. package/dist-types/commands/DeleteTaskSetCommand.d.ts +1 -1
  13. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +2 -2
  14. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +99 -2
  15. package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeServicesCommand.d.ts +3 -3
  17. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +2 -2
  18. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeTasksCommand.d.ts +1 -1
  20. package/dist-types/commands/ListServicesCommand.d.ts +1 -1
  21. package/dist-types/commands/ListTasksCommand.d.ts +1 -1
  22. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +1 -1
  23. package/dist-types/commands/PutAttributesCommand.d.ts +1 -1
  24. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +2 -1
  25. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +1 -1
  26. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +4 -4
  27. package/dist-types/commands/RunTaskCommand.d.ts +3 -3
  28. package/dist-types/commands/StartTaskCommand.d.ts +2 -2
  29. package/dist-types/commands/StopServiceDeploymentCommand.d.ts +1 -1
  30. package/dist-types/commands/StopTaskCommand.d.ts +2 -3
  31. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +188 -2
  32. package/dist-types/commands/UpdateServiceCommand.d.ts +3 -3
  33. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateTaskSetCommand.d.ts +1 -1
  35. package/dist-types/models/models_0.d.ts +8091 -8904
  36. package/dist-types/models/models_1.d.ts +1488 -2
  37. package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/StopServiceDeploymentCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +1 -2
  46. package/dist-types/ts3.4/models/models_0.d.ts +217 -205
  47. package/dist-types/ts3.4/models/models_1.d.ts +233 -1
  48. package/package.json +39 -39
@@ -221,7 +221,7 @@ declare const CreateServiceCommand_base: {
221
221
  * ],
222
222
  * desiredCount: Number("int"),
223
223
  * clientToken: "STRING_VALUE",
224
- * launchType: "EC2" || "FARGATE" || "EXTERNAL",
224
+ * launchType: "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
225
225
  * capacityProviderStrategy: [ // CapacityProviderStrategy
226
226
  * { // CapacityProviderStrategyItem
227
227
  * capacityProvider: "STRING_VALUE", // required
@@ -413,7 +413,7 @@ declare const CreateServiceCommand_base: {
413
413
  * // desiredCount: Number("int"),
414
414
  * // runningCount: Number("int"),
415
415
  * // pendingCount: Number("int"),
416
- * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
416
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
417
417
  * // capacityProviderStrategy: [ // CapacityProviderStrategy
418
418
  * // { // CapacityProviderStrategyItem
419
419
  * // capacityProvider: "STRING_VALUE", // required
@@ -466,7 +466,7 @@ declare const CreateServiceCommand_base: {
466
466
  * // runningCount: Number("int"),
467
467
  * // createdAt: new Date("TIMESTAMP"),
468
468
  * // updatedAt: new Date("TIMESTAMP"),
469
- * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
469
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
470
470
  * // capacityProviderStrategy: [
471
471
  * // {
472
472
  * // capacityProvider: "STRING_VALUE", // required
@@ -544,7 +544,7 @@ declare const CreateServiceCommand_base: {
544
544
  * // base: Number("int"),
545
545
  * // },
546
546
  * // ],
547
- * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
547
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
548
548
  * // platformVersion: "STRING_VALUE",
549
549
  * // platformFamily: "STRING_VALUE",
550
550
  * // networkConfiguration: {
@@ -82,7 +82,7 @@ declare const CreateTaskSetCommand_base: {
82
82
  * containerPort: Number("int"),
83
83
  * },
84
84
  * ],
85
- * launchType: "EC2" || "FARGATE" || "EXTERNAL",
85
+ * launchType: "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
86
86
  * capacityProviderStrategy: [ // CapacityProviderStrategy
87
87
  * { // CapacityProviderStrategyItem
88
88
  * capacityProvider: "STRING_VALUE", // required
@@ -120,7 +120,7 @@ declare const CreateTaskSetCommand_base: {
120
120
  * // runningCount: Number("int"),
121
121
  * // createdAt: new Date("TIMESTAMP"),
122
122
  * // updatedAt: new Date("TIMESTAMP"),
123
- * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
123
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
124
124
  * // capacityProviderStrategy: [ // CapacityProviderStrategy
125
125
  * // { // CapacityProviderStrategyItem
126
126
  * // capacityProvider: "STRING_VALUE", // required
@@ -51,6 +51,7 @@ declare const DeleteCapacityProviderCommand_base: {
51
51
  * const client = new ECSClient(config);
52
52
  * const input = { // DeleteCapacityProviderRequest
53
53
  * capacityProvider: "STRING_VALUE", // required
54
+ * cluster: "STRING_VALUE",
54
55
  * };
55
56
  * const command = new DeleteCapacityProviderCommand(input);
56
57
  * const response = await client.send(command);
@@ -58,7 +59,8 @@ declare const DeleteCapacityProviderCommand_base: {
58
59
  * // capacityProvider: { // CapacityProvider
59
60
  * // capacityProviderArn: "STRING_VALUE",
60
61
  * // name: "STRING_VALUE",
61
- * // status: "ACTIVE" || "INACTIVE",
62
+ * // cluster: "STRING_VALUE",
63
+ * // status: "PROVISIONING" || "ACTIVE" || "DEPROVISIONING" || "INACTIVE",
62
64
  * // autoScalingGroupProvider: { // AutoScalingGroupProvider
63
65
  * // autoScalingGroupArn: "STRING_VALUE", // required
64
66
  * // managedScaling: { // ManagedScaling
@@ -71,7 +73,95 @@ declare const DeleteCapacityProviderCommand_base: {
71
73
  * // managedTerminationProtection: "ENABLED" || "DISABLED",
72
74
  * // managedDraining: "ENABLED" || "DISABLED",
73
75
  * // },
74
- * // updateStatus: "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED",
76
+ * // managedInstancesProvider: { // ManagedInstancesProvider
77
+ * // infrastructureRoleArn: "STRING_VALUE",
78
+ * // instanceLaunchTemplate: { // InstanceLaunchTemplate
79
+ * // ec2InstanceProfileArn: "STRING_VALUE", // required
80
+ * // networkConfiguration: { // ManagedInstancesNetworkConfiguration
81
+ * // subnets: [ // StringList
82
+ * // "STRING_VALUE",
83
+ * // ],
84
+ * // securityGroups: [
85
+ * // "STRING_VALUE",
86
+ * // ],
87
+ * // },
88
+ * // storageConfiguration: { // ManagedInstancesStorageConfiguration
89
+ * // storageSizeGiB: Number("int"),
90
+ * // },
91
+ * // monitoring: "BASIC" || "DETAILED",
92
+ * // instanceRequirements: { // InstanceRequirementsRequest
93
+ * // vCpuCount: { // VCpuCountRangeRequest
94
+ * // min: Number("int"), // required
95
+ * // max: Number("int"),
96
+ * // },
97
+ * // memoryMiB: { // MemoryMiBRequest
98
+ * // min: Number("int"), // required
99
+ * // max: Number("int"),
100
+ * // },
101
+ * // cpuManufacturers: [ // CpuManufacturerSet
102
+ * // "intel" || "amd" || "amazon-web-services",
103
+ * // ],
104
+ * // memoryGiBPerVCpu: { // MemoryGiBPerVCpuRequest
105
+ * // min: Number("double"),
106
+ * // max: Number("double"),
107
+ * // },
108
+ * // excludedInstanceTypes: [ // ExcludedInstanceTypeSet
109
+ * // "STRING_VALUE",
110
+ * // ],
111
+ * // instanceGenerations: [ // InstanceGenerationSet
112
+ * // "current" || "previous",
113
+ * // ],
114
+ * // spotMaxPricePercentageOverLowestPrice: Number("int"),
115
+ * // onDemandMaxPricePercentageOverLowestPrice: Number("int"),
116
+ * // bareMetal: "included" || "required" || "excluded",
117
+ * // burstablePerformance: "included" || "required" || "excluded",
118
+ * // requireHibernateSupport: true || false,
119
+ * // networkInterfaceCount: { // NetworkInterfaceCountRequest
120
+ * // min: Number("int"),
121
+ * // max: Number("int"),
122
+ * // },
123
+ * // localStorage: "included" || "required" || "excluded",
124
+ * // localStorageTypes: [ // LocalStorageTypeSet
125
+ * // "hdd" || "ssd",
126
+ * // ],
127
+ * // totalLocalStorageGB: { // TotalLocalStorageGBRequest
128
+ * // min: Number("double"),
129
+ * // max: Number("double"),
130
+ * // },
131
+ * // baselineEbsBandwidthMbps: { // BaselineEbsBandwidthMbpsRequest
132
+ * // min: Number("int"),
133
+ * // max: Number("int"),
134
+ * // },
135
+ * // acceleratorTypes: [ // AcceleratorTypeSet
136
+ * // "gpu" || "fpga" || "inference",
137
+ * // ],
138
+ * // acceleratorCount: { // AcceleratorCountRequest
139
+ * // min: Number("int"),
140
+ * // max: Number("int"),
141
+ * // },
142
+ * // acceleratorManufacturers: [ // AcceleratorManufacturerSet
143
+ * // "amazon-web-services" || "amd" || "nvidia" || "xilinx" || "habana",
144
+ * // ],
145
+ * // acceleratorNames: [ // AcceleratorNameSet
146
+ * // "a100" || "inferentia" || "k520" || "k80" || "m60" || "radeon-pro-v520" || "t4" || "vu9p" || "v100" || "a10g" || "h100" || "t4g",
147
+ * // ],
148
+ * // acceleratorTotalMemoryMiB: { // AcceleratorTotalMemoryMiBRequest
149
+ * // min: Number("int"),
150
+ * // max: Number("int"),
151
+ * // },
152
+ * // networkBandwidthGbps: { // NetworkBandwidthGbpsRequest
153
+ * // min: Number("double"),
154
+ * // max: Number("double"),
155
+ * // },
156
+ * // allowedInstanceTypes: [ // AllowedInstanceTypeSet
157
+ * // "STRING_VALUE",
158
+ * // ],
159
+ * // maxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
160
+ * // },
161
+ * // },
162
+ * // propagateTags: "CAPACITY_PROVIDER" || "NONE",
163
+ * // },
164
+ * // updateStatus: "CREATE_IN_PROGRESS" || "CREATE_COMPLETE" || "CREATE_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED",
75
165
  * // updateStatusReason: "STRING_VALUE",
76
166
  * // tags: [ // Tags
77
167
  * // { // Tag
@@ -79,6 +169,7 @@ declare const DeleteCapacityProviderCommand_base: {
79
169
  * // value: "STRING_VALUE",
80
170
  * // },
81
171
  * // ],
172
+ * // type: "EC2_AUTOSCALING" || "MANAGED_INSTANCES" || "FARGATE" || "FARGATE_SPOT",
82
173
  * // },
83
174
  * // };
84
175
  *
@@ -95,6 +186,9 @@ declare const DeleteCapacityProviderCommand_base: {
95
186
  * an action or resource on behalf of a user that doesn't have permissions to use the
96
187
  * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
97
188
  *
189
+ * @throws {@link ClusterNotFoundException} (client fault)
190
+ * <p>The specified cluster wasn't found. You can view your available clusters with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html">ListClusters</a>. Amazon ECS clusters are Region specific.</p>
191
+ *
98
192
  * @throws {@link InvalidParameterException} (client fault)
99
193
  * <p>The specified parameter isn't valid. Review the available parameters for the API
100
194
  * request.</p>
@@ -104,6 +198,9 @@ declare const DeleteCapacityProviderCommand_base: {
104
198
  * @throws {@link ServerException} (server fault)
105
199
  * <p>These errors are usually caused by a server issue.</p>
106
200
  *
201
+ * @throws {@link UnsupportedFeatureException} (client fault)
202
+ * <p>The specified task isn't supported in this Region.</p>
203
+ *
107
204
  * @throws {@link ECSServiceException}
108
205
  * <p>Base exception class for all service exceptions from ECS service.</p>
109
206
  *
@@ -133,6 +133,9 @@ declare const DeleteClusterCommand_base: {
133
133
  * an action or resource on behalf of a user that doesn't have permissions to use the
134
134
  * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
135
135
  *
136
+ * @throws {@link ClusterContainsCapacityProviderException} (client fault)
137
+ * <p>The cluster contains one or more capacity providers that prevent the requested operation. This exception occurs when you try to delete a cluster that still has active capacity providers, including Amazon ECS Managed Instances capacity providers. You must first delete all capacity providers from the cluster before you can delete the cluster itself.</p>
138
+ *
136
139
  * @throws {@link ClusterContainsContainerInstancesException} (client fault)
137
140
  * <p>You can't delete a cluster that has registered container instances. First, deregister
138
141
  * the container instances before you can delete the cluster. For more information, see
@@ -94,7 +94,7 @@ declare const DeleteServiceCommand_base: {
94
94
  * // desiredCount: Number("int"),
95
95
  * // runningCount: Number("int"),
96
96
  * // pendingCount: Number("int"),
97
- * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
97
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
98
98
  * // capacityProviderStrategy: [ // CapacityProviderStrategy
99
99
  * // { // CapacityProviderStrategyItem
100
100
  * // capacityProvider: "STRING_VALUE", // required
@@ -147,7 +147,7 @@ declare const DeleteServiceCommand_base: {
147
147
  * // runningCount: Number("int"),
148
148
  * // createdAt: new Date("TIMESTAMP"),
149
149
  * // updatedAt: new Date("TIMESTAMP"),
150
- * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
150
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
151
151
  * // capacityProviderStrategy: [
152
152
  * // {
153
153
  * // capacityProvider: "STRING_VALUE", // required
@@ -225,7 +225,7 @@ declare const DeleteServiceCommand_base: {
225
225
  * // base: Number("int"),
226
226
  * // },
227
227
  * // ],
228
- * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
228
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
229
229
  * // platformVersion: "STRING_VALUE",
230
230
  * // platformFamily: "STRING_VALUE",
231
231
  * // networkConfiguration: {
@@ -299,14 +299,14 @@ declare const DeleteTaskDefinitionsCommand_base: {
299
299
  * // },
300
300
  * // ],
301
301
  * // compatibilities: [ // CompatibilityList
302
- * // "EC2" || "FARGATE" || "EXTERNAL",
302
+ * // "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
303
303
  * // ],
304
304
  * // runtimePlatform: { // RuntimePlatform
305
305
  * // cpuArchitecture: "X86_64" || "ARM64",
306
306
  * // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_2025_CORE" || "WINDOWS_SERVER_2025_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
307
307
  * // },
308
308
  * // requiresCompatibilities: [
309
- * // "EC2" || "FARGATE" || "EXTERNAL",
309
+ * // "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
310
310
  * // ],
311
311
  * // cpu: "STRING_VALUE",
312
312
  * // memory: "STRING_VALUE",
@@ -60,7 +60,7 @@ declare const DeleteTaskSetCommand_base: {
60
60
  * // runningCount: Number("int"),
61
61
  * // createdAt: new Date("TIMESTAMP"),
62
62
  * // updatedAt: new Date("TIMESTAMP"),
63
- * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
63
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
64
64
  * // capacityProviderStrategy: [ // CapacityProviderStrategy
65
65
  * // { // CapacityProviderStrategyItem
66
66
  * // capacityProvider: "STRING_VALUE", // required
@@ -294,14 +294,14 @@ declare const DeregisterTaskDefinitionCommand_base: {
294
294
  * // },
295
295
  * // ],
296
296
  * // compatibilities: [ // CompatibilityList
297
- * // "EC2" || "FARGATE" || "EXTERNAL",
297
+ * // "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
298
298
  * // ],
299
299
  * // runtimePlatform: { // RuntimePlatform
300
300
  * // cpuArchitecture: "X86_64" || "ARM64",
301
301
  * // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_2025_CORE" || "WINDOWS_SERVER_2025_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
302
302
  * // },
303
303
  * // requiresCompatibilities: [
304
- * // "EC2" || "FARGATE" || "EXTERNAL",
304
+ * // "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
305
305
  * // ],
306
306
  * // cpu: "STRING_VALUE",
307
307
  * // memory: "STRING_VALUE",
@@ -40,6 +40,7 @@ declare const DescribeCapacityProvidersCommand_base: {
40
40
  * capacityProviders: [ // StringList
41
41
  * "STRING_VALUE",
42
42
  * ],
43
+ * cluster: "STRING_VALUE",
43
44
  * include: [ // CapacityProviderFieldList
44
45
  * "TAGS",
45
46
  * ],
@@ -53,7 +54,8 @@ declare const DescribeCapacityProvidersCommand_base: {
53
54
  * // { // CapacityProvider
54
55
  * // capacityProviderArn: "STRING_VALUE",
55
56
  * // name: "STRING_VALUE",
56
- * // status: "ACTIVE" || "INACTIVE",
57
+ * // cluster: "STRING_VALUE",
58
+ * // status: "PROVISIONING" || "ACTIVE" || "DEPROVISIONING" || "INACTIVE",
57
59
  * // autoScalingGroupProvider: { // AutoScalingGroupProvider
58
60
  * // autoScalingGroupArn: "STRING_VALUE", // required
59
61
  * // managedScaling: { // ManagedScaling
@@ -66,7 +68,95 @@ declare const DescribeCapacityProvidersCommand_base: {
66
68
  * // managedTerminationProtection: "ENABLED" || "DISABLED",
67
69
  * // managedDraining: "ENABLED" || "DISABLED",
68
70
  * // },
69
- * // updateStatus: "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED",
71
+ * // managedInstancesProvider: { // ManagedInstancesProvider
72
+ * // infrastructureRoleArn: "STRING_VALUE",
73
+ * // instanceLaunchTemplate: { // InstanceLaunchTemplate
74
+ * // ec2InstanceProfileArn: "STRING_VALUE", // required
75
+ * // networkConfiguration: { // ManagedInstancesNetworkConfiguration
76
+ * // subnets: [ // StringList
77
+ * // "STRING_VALUE",
78
+ * // ],
79
+ * // securityGroups: [
80
+ * // "STRING_VALUE",
81
+ * // ],
82
+ * // },
83
+ * // storageConfiguration: { // ManagedInstancesStorageConfiguration
84
+ * // storageSizeGiB: Number("int"),
85
+ * // },
86
+ * // monitoring: "BASIC" || "DETAILED",
87
+ * // instanceRequirements: { // InstanceRequirementsRequest
88
+ * // vCpuCount: { // VCpuCountRangeRequest
89
+ * // min: Number("int"), // required
90
+ * // max: Number("int"),
91
+ * // },
92
+ * // memoryMiB: { // MemoryMiBRequest
93
+ * // min: Number("int"), // required
94
+ * // max: Number("int"),
95
+ * // },
96
+ * // cpuManufacturers: [ // CpuManufacturerSet
97
+ * // "intel" || "amd" || "amazon-web-services",
98
+ * // ],
99
+ * // memoryGiBPerVCpu: { // MemoryGiBPerVCpuRequest
100
+ * // min: Number("double"),
101
+ * // max: Number("double"),
102
+ * // },
103
+ * // excludedInstanceTypes: [ // ExcludedInstanceTypeSet
104
+ * // "STRING_VALUE",
105
+ * // ],
106
+ * // instanceGenerations: [ // InstanceGenerationSet
107
+ * // "current" || "previous",
108
+ * // ],
109
+ * // spotMaxPricePercentageOverLowestPrice: Number("int"),
110
+ * // onDemandMaxPricePercentageOverLowestPrice: Number("int"),
111
+ * // bareMetal: "included" || "required" || "excluded",
112
+ * // burstablePerformance: "included" || "required" || "excluded",
113
+ * // requireHibernateSupport: true || false,
114
+ * // networkInterfaceCount: { // NetworkInterfaceCountRequest
115
+ * // min: Number("int"),
116
+ * // max: Number("int"),
117
+ * // },
118
+ * // localStorage: "included" || "required" || "excluded",
119
+ * // localStorageTypes: [ // LocalStorageTypeSet
120
+ * // "hdd" || "ssd",
121
+ * // ],
122
+ * // totalLocalStorageGB: { // TotalLocalStorageGBRequest
123
+ * // min: Number("double"),
124
+ * // max: Number("double"),
125
+ * // },
126
+ * // baselineEbsBandwidthMbps: { // BaselineEbsBandwidthMbpsRequest
127
+ * // min: Number("int"),
128
+ * // max: Number("int"),
129
+ * // },
130
+ * // acceleratorTypes: [ // AcceleratorTypeSet
131
+ * // "gpu" || "fpga" || "inference",
132
+ * // ],
133
+ * // acceleratorCount: { // AcceleratorCountRequest
134
+ * // min: Number("int"),
135
+ * // max: Number("int"),
136
+ * // },
137
+ * // acceleratorManufacturers: [ // AcceleratorManufacturerSet
138
+ * // "amazon-web-services" || "amd" || "nvidia" || "xilinx" || "habana",
139
+ * // ],
140
+ * // acceleratorNames: [ // AcceleratorNameSet
141
+ * // "a100" || "inferentia" || "k520" || "k80" || "m60" || "radeon-pro-v520" || "t4" || "vu9p" || "v100" || "a10g" || "h100" || "t4g",
142
+ * // ],
143
+ * // acceleratorTotalMemoryMiB: { // AcceleratorTotalMemoryMiBRequest
144
+ * // min: Number("int"),
145
+ * // max: Number("int"),
146
+ * // },
147
+ * // networkBandwidthGbps: { // NetworkBandwidthGbpsRequest
148
+ * // min: Number("double"),
149
+ * // max: Number("double"),
150
+ * // },
151
+ * // allowedInstanceTypes: [ // AllowedInstanceTypeSet
152
+ * // "STRING_VALUE",
153
+ * // ],
154
+ * // maxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
155
+ * // },
156
+ * // },
157
+ * // propagateTags: "CAPACITY_PROVIDER" || "NONE",
158
+ * // },
159
+ * // updateStatus: "CREATE_IN_PROGRESS" || "CREATE_COMPLETE" || "CREATE_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED",
70
160
  * // updateStatusReason: "STRING_VALUE",
71
161
  * // tags: [ // Tags
72
162
  * // { // Tag
@@ -74,6 +164,7 @@ declare const DescribeCapacityProvidersCommand_base: {
74
164
  * // value: "STRING_VALUE",
75
165
  * // },
76
166
  * // ],
167
+ * // type: "EC2_AUTOSCALING" || "MANAGED_INSTANCES" || "FARGATE" || "FARGATE_SPOT",
77
168
  * // },
78
169
  * // ],
79
170
  * // failures: [ // Failures
@@ -99,6 +190,9 @@ declare const DescribeCapacityProvidersCommand_base: {
99
190
  * an action or resource on behalf of a user that doesn't have permissions to use the
100
191
  * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
101
192
  *
193
+ * @throws {@link ClusterNotFoundException} (client fault)
194
+ * <p>The specified cluster wasn't found. You can view your available clusters with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html">ListClusters</a>. Amazon ECS clusters are Region specific.</p>
195
+ *
102
196
  * @throws {@link InvalidParameterException} (client fault)
103
197
  * <p>The specified parameter isn't valid. Review the available parameters for the API
104
198
  * request.</p>
@@ -108,6 +202,9 @@ declare const DescribeCapacityProvidersCommand_base: {
108
202
  * @throws {@link ServerException} (server fault)
109
203
  * <p>These errors are usually caused by a server issue.</p>
110
204
  *
205
+ * @throws {@link UnsupportedFeatureException} (client fault)
206
+ * <p>The specified task isn't supported in this Region.</p>
207
+ *
111
208
  * @throws {@link ECSServiceException}
112
209
  * <p>Base exception class for all service exceptions from ECS service.</p>
113
210
  *
@@ -61,7 +61,7 @@ declare const DescribeServiceRevisionsCommand_base: {
61
61
  * // base: Number("int"),
62
62
  * // },
63
63
  * // ],
64
- * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
64
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
65
65
  * // platformVersion: "STRING_VALUE",
66
66
  * // platformFamily: "STRING_VALUE",
67
67
  * // loadBalancers: [ // LoadBalancers
@@ -79,7 +79,7 @@ declare const DescribeServicesCommand_base: {
79
79
  * // desiredCount: Number("int"),
80
80
  * // runningCount: Number("int"),
81
81
  * // pendingCount: Number("int"),
82
- * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
82
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
83
83
  * // capacityProviderStrategy: [ // CapacityProviderStrategy
84
84
  * // { // CapacityProviderStrategyItem
85
85
  * // capacityProvider: "STRING_VALUE", // required
@@ -132,7 +132,7 @@ declare const DescribeServicesCommand_base: {
132
132
  * // runningCount: Number("int"),
133
133
  * // createdAt: new Date("TIMESTAMP"),
134
134
  * // updatedAt: new Date("TIMESTAMP"),
135
- * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
135
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
136
136
  * // capacityProviderStrategy: [
137
137
  * // {
138
138
  * // capacityProvider: "STRING_VALUE", // required
@@ -210,7 +210,7 @@ declare const DescribeServicesCommand_base: {
210
210
  * // base: Number("int"),
211
211
  * // },
212
212
  * // ],
213
- * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
213
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
214
214
  * // platformVersion: "STRING_VALUE",
215
215
  * // platformFamily: "STRING_VALUE",
216
216
  * // networkConfiguration: {
@@ -287,14 +287,14 @@ declare const DescribeTaskDefinitionCommand_base: {
287
287
  * // },
288
288
  * // ],
289
289
  * // compatibilities: [ // CompatibilityList
290
- * // "EC2" || "FARGATE" || "EXTERNAL",
290
+ * // "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
291
291
  * // ],
292
292
  * // runtimePlatform: { // RuntimePlatform
293
293
  * // cpuArchitecture: "X86_64" || "ARM64",
294
294
  * // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_2025_CORE" || "WINDOWS_SERVER_2025_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
295
295
  * // },
296
296
  * // requiresCompatibilities: [
297
- * // "EC2" || "FARGATE" || "EXTERNAL",
297
+ * // "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
298
298
  * // ],
299
299
  * // cpu: "STRING_VALUE",
300
300
  * // memory: "STRING_VALUE",
@@ -67,7 +67,7 @@ declare const DescribeTaskSetsCommand_base: {
67
67
  * // runningCount: Number("int"),
68
68
  * // createdAt: new Date("TIMESTAMP"),
69
69
  * // updatedAt: new Date("TIMESTAMP"),
70
- * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
70
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
71
71
  * // capacityProviderStrategy: [ // CapacityProviderStrategy
72
72
  * // { // CapacityProviderStrategyItem
73
73
  * // capacityProvider: "STRING_VALUE", // required
@@ -140,7 +140,7 @@ declare const DescribeTasksCommand_base: {
140
140
  * // },
141
141
  * // ],
142
142
  * // lastStatus: "STRING_VALUE",
143
- * // launchType: "EC2" || "FARGATE" || "EXTERNAL",
143
+ * // launchType: "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
144
144
  * // memory: "STRING_VALUE",
145
145
  * // overrides: { // TaskOverride
146
146
  * // containerOverrides: [ // ContainerOverrides
@@ -41,7 +41,7 @@ declare const ListServicesCommand_base: {
41
41
  * cluster: "STRING_VALUE",
42
42
  * nextToken: "STRING_VALUE",
43
43
  * maxResults: Number("int"),
44
- * launchType: "EC2" || "FARGATE" || "EXTERNAL",
44
+ * launchType: "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
45
45
  * schedulingStrategy: "REPLICA" || "DAEMON",
46
46
  * };
47
47
  * const command = new ListServicesCommand(input);
@@ -48,7 +48,7 @@ declare const ListTasksCommand_base: {
48
48
  * startedBy: "STRING_VALUE",
49
49
  * serviceName: "STRING_VALUE",
50
50
  * desiredStatus: "RUNNING" || "PENDING" || "STOPPED",
51
- * launchType: "EC2" || "FARGATE" || "EXTERNAL",
51
+ * launchType: "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
52
52
  * };
53
53
  * const command = new ListTasksCommand(input);
54
54
  * const response = await client.send(command);
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
- import { PutAccountSettingDefaultRequest, PutAccountSettingDefaultResponse } from "../models/models_0";
4
+ import { PutAccountSettingDefaultRequest, PutAccountSettingDefaultResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
- import { PutAttributesRequest, PutAttributesResponse } from "../models/models_0";
4
+ import { PutAttributesRequest, PutAttributesResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
- import { PutClusterCapacityProvidersRequest, PutClusterCapacityProvidersResponse } from "../models/models_0";
4
+ import { PutClusterCapacityProvidersRequest, PutClusterCapacityProvidersResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -41,6 +41,7 @@ declare const PutClusterCapacityProvidersCommand_base: {
41
41
  * We recommend that you define a default capacity provider strategy for your cluster.
42
42
  * However, you must specify an empty array (<code>[]</code>) to bypass defining a default
43
43
  * strategy.</p>
44
+ * <p>Amazon ECS Managed Instances doesn't support this, because when you create a capacity provider with Amazon ECS Managed Instances, it becomes available only within the specified cluster.</p>
44
45
  * @example
45
46
  * Use a bare-bones client and the command you need to make an API call.
46
47
  * ```javascript
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
- import { RegisterContainerInstanceRequest, RegisterContainerInstanceResponse } from "../models/models_0";
4
+ import { RegisterContainerInstanceRequest, RegisterContainerInstanceResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
- import { RegisterTaskDefinitionRequest, RegisterTaskDefinitionResponse } from "../models/models_0";
4
+ import { RegisterTaskDefinitionRequest, RegisterTaskDefinitionResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -275,7 +275,7 @@ declare const RegisterTaskDefinitionCommand_base: {
275
275
  * },
276
276
  * ],
277
277
  * requiresCompatibilities: [ // CompatibilityList
278
- * "EC2" || "FARGATE" || "EXTERNAL",
278
+ * "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
279
279
  * ],
280
280
  * cpu: "STRING_VALUE",
281
281
  * memory: "STRING_VALUE",
@@ -550,14 +550,14 @@ declare const RegisterTaskDefinitionCommand_base: {
550
550
  * // },
551
551
  * // ],
552
552
  * // compatibilities: [ // CompatibilityList
553
- * // "EC2" || "FARGATE" || "EXTERNAL",
553
+ * // "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
554
554
  * // ],
555
555
  * // runtimePlatform: { // RuntimePlatform
556
556
  * // cpuArchitecture: "X86_64" || "ARM64",
557
557
  * // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_2025_CORE" || "WINDOWS_SERVER_2025_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
558
558
  * // },
559
559
  * // requiresCompatibilities: [
560
- * // "EC2" || "FARGATE" || "EXTERNAL",
560
+ * // "EC2" || "FARGATE" || "EXTERNAL" || "MANAGED_INSTANCES",
561
561
  * // ],
562
562
  * // cpu: "STRING_VALUE",
563
563
  * // memory: "STRING_VALUE",