@aws-sdk/client-ecs 3.993.0 → 3.995.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 (85) hide show
  1. package/README.md +1 -15
  2. package/dist-cjs/index.js +164 -164
  3. package/dist-cjs/models/errors.js +86 -86
  4. package/dist-cjs/schemas/schemas_0.js +5 -5
  5. package/dist-es/models/enums.js +156 -156
  6. package/dist-es/models/errors.js +68 -68
  7. package/dist-es/schemas/schemas_0.js +5 -5
  8. package/dist-es/waiters/waitForServicesInactive.js +2 -2
  9. package/dist-es/waiters/waitForServicesStable.js +2 -2
  10. package/dist-es/waiters/waitForTasksRunning.js +2 -2
  11. package/dist-es/waiters/waitForTasksStopped.js +2 -2
  12. package/dist-types/ECS.d.ts +1 -15
  13. package/dist-types/ECSClient.d.ts +1 -15
  14. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +4 -16
  15. package/dist-types/commands/CreateClusterCommand.d.ts +3 -20
  16. package/dist-types/commands/CreateExpressGatewayServiceCommand.d.ts +4 -18
  17. package/dist-types/commands/CreateServiceCommand.d.ts +4 -236
  18. package/dist-types/commands/CreateTaskSetCommand.d.ts +6 -25
  19. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +12 -18
  20. package/dist-types/commands/DeleteAttributesCommand.d.ts +2 -7
  21. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +3 -21
  22. package/dist-types/commands/DeleteClusterCommand.d.ts +7 -30
  23. package/dist-types/commands/DeleteExpressGatewayServiceCommand.d.ts +5 -19
  24. package/dist-types/commands/DeleteServiceCommand.d.ts +4 -30
  25. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +3 -27
  26. package/dist-types/commands/DeleteTaskSetCommand.d.ts +6 -16
  27. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +3 -21
  28. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +3 -25
  29. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +34 -39
  30. package/dist-types/commands/DescribeClustersCommand.d.ts +3 -10
  31. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +3 -9
  32. package/dist-types/commands/DescribeExpressGatewayServiceCommand.d.ts +3 -14
  33. package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +44 -13
  34. package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +44 -14
  35. package/dist-types/commands/DescribeServicesCommand.d.ts +2 -7
  36. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +3 -15
  37. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +5 -16
  38. package/dist-types/commands/DescribeTasksCommand.d.ts +3 -12
  39. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +2 -8
  40. package/dist-types/commands/ExecuteCommandCommand.d.ts +4 -32
  41. package/dist-types/commands/GetTaskProtectionCommand.d.ts +2 -7
  42. package/dist-types/commands/ListAccountSettingsCommand.d.ts +9 -14
  43. package/dist-types/commands/ListAttributesCommand.d.ts +2 -11
  44. package/dist-types/commands/ListClustersCommand.d.ts +2 -7
  45. package/dist-types/commands/ListContainerInstancesCommand.d.ts +3 -11
  46. package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +4 -15
  47. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +3 -13
  48. package/dist-types/commands/ListServicesCommand.d.ts +3 -9
  49. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -7
  50. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +13 -24
  51. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +13 -20
  52. package/dist-types/commands/ListTasksCommand.d.ts +14 -23
  53. package/dist-types/commands/PutAccountSettingCommand.d.ts +12 -22
  54. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +3 -9
  55. package/dist-types/commands/PutAttributesCommand.d.ts +4 -14
  56. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +4 -29
  57. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +3 -13
  58. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +3 -26
  59. package/dist-types/commands/RunTaskCommand.d.ts +6 -75
  60. package/dist-types/commands/StartTaskCommand.d.ts +3 -23
  61. package/dist-types/commands/StopServiceDeploymentCommand.d.ts +5 -25
  62. package/dist-types/commands/StopTaskCommand.d.ts +3 -25
  63. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +3 -12
  64. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +2 -8
  65. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +3 -12
  66. package/dist-types/commands/TagResourceCommand.d.ts +3 -11
  67. package/dist-types/commands/UntagResourceCommand.d.ts +2 -7
  68. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +3 -10
  69. package/dist-types/commands/UpdateClusterCommand.d.ts +2 -7
  70. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +2 -7
  71. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +6 -41
  72. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +3 -56
  73. package/dist-types/commands/UpdateExpressGatewayServiceCommand.d.ts +5 -19
  74. package/dist-types/commands/UpdateServiceCommand.d.ts +14 -146
  75. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +6 -19
  76. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +15 -47
  77. package/dist-types/commands/UpdateTaskSetCommand.d.ts +6 -17
  78. package/dist-types/index.d.ts +1 -15
  79. package/dist-types/models/enums.d.ts +338 -338
  80. package/dist-types/models/errors.d.ts +74 -128
  81. package/dist-types/models/models_0.d.ts +3435 -9819
  82. package/dist-types/ts3.4/models/enums.d.ts +222 -222
  83. package/dist-types/ts3.4/models/errors.d.ts +61 -61
  84. package/dist-types/ts3.4/models/models_0.d.ts +1055 -1055
  85. package/package.json +3 -3
@@ -13,9 +13,7 @@ export declare class AccessDeniedException extends __BaseException {
13
13
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
14
  }
15
15
  /**
16
- * <p>These errors are usually caused by a client action. This client action might be using
17
- * an action or resource on behalf of a user that doesn't have permissions to use the
18
- * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
16
+ * <p>These errors are usually caused by a client action. This client action might be using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might be specifying an identifier that isn't valid.</p>
19
17
  * @public
20
18
  */
21
19
  export declare class ClientException extends __BaseException {
@@ -39,10 +37,7 @@ export declare class ClusterNotFoundException extends __BaseException {
39
37
  constructor(opts: __ExceptionOptionType<ClusterNotFoundException, __BaseException>);
40
38
  }
41
39
  /**
42
- * <p>The specified parameter isn't valid. Review the available parameters for the API
43
- * request.</p>
44
- * <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS
45
- * service event messages</a>. </p>
40
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p> <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service event messages</a>. </p>
46
41
  * @public
47
42
  */
48
43
  export declare class InvalidParameterException extends __BaseException {
@@ -90,11 +85,7 @@ export declare class UnsupportedFeatureException extends __BaseException {
90
85
  constructor(opts: __ExceptionOptionType<UnsupportedFeatureException, __BaseException>);
91
86
  }
92
87
  /**
93
- * <p>There's already a current Amazon ECS container agent update in progress on the
94
- * container instance that's specified. If the container agent becomes disconnected while
95
- * it's in a transitional stage, such as <code>PENDING</code> or <code>STAGING</code>, the
96
- * update process can get stuck in that state. However, when the agent reconnects, it
97
- * resumes where it stopped previously.</p>
88
+ * <p>There's already a current Amazon ECS container agent update in progress on the container instance that's specified. If the container agent becomes disconnected while it's in a transitional stage, such as <code>PENDING</code> or <code>STAGING</code>, the update process can get stuck in that state. However, when the agent reconnects, it resumes where it stopped previously.</p>
98
89
  * @public
99
90
  */
100
91
  export declare class UpdateInProgressException extends __BaseException {
@@ -118,232 +109,194 @@ export declare class NamespaceNotFoundException extends __BaseException {
118
109
  constructor(opts: __ExceptionOptionType<NamespaceNotFoundException, __BaseException>);
119
110
  }
120
111
  /**
121
- * <p>The specified platform version doesn't satisfy the required capabilities of the task
122
- * definition.</p>
112
+ * <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>
123
113
  * @public
124
114
  */
125
- export declare class PlatformTaskDefinitionIncompatibilityException extends __BaseException {
126
- readonly name: "PlatformTaskDefinitionIncompatibilityException";
115
+ export declare class ClusterContainsCapacityProviderException extends __BaseException {
116
+ readonly name: "ClusterContainsCapacityProviderException";
127
117
  readonly $fault: "client";
128
118
  /**
129
119
  * @internal
130
120
  */
131
- constructor(opts: __ExceptionOptionType<PlatformTaskDefinitionIncompatibilityException, __BaseException>);
121
+ constructor(opts: __ExceptionOptionType<ClusterContainsCapacityProviderException, __BaseException>);
132
122
  }
133
123
  /**
134
- * <p>The specified platform version doesn't exist.</p>
124
+ * <p>You can't delete a cluster that has registered container instances. First, deregister the container instances before you can delete the cluster. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterContainerInstance.html">DeregisterContainerInstance</a>.</p>
135
125
  * @public
136
126
  */
137
- export declare class PlatformUnknownException extends __BaseException {
138
- readonly name: "PlatformUnknownException";
127
+ export declare class ClusterContainsContainerInstancesException extends __BaseException {
128
+ readonly name: "ClusterContainsContainerInstancesException";
139
129
  readonly $fault: "client";
140
130
  /**
141
131
  * @internal
142
132
  */
143
- constructor(opts: __ExceptionOptionType<PlatformUnknownException, __BaseException>);
133
+ constructor(opts: __ExceptionOptionType<ClusterContainsContainerInstancesException, __BaseException>);
144
134
  }
145
135
  /**
146
- * <p>The specified service isn't active. You can't update a service that's inactive. If you
147
- * have previously deleted a service, you can re-create it with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html">CreateService</a>.</p>
136
+ * <p>You can't delete a cluster that contains services. First, update the service to reduce its desired task count to 0, and then delete the service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html">UpdateService</a> and <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteService.html">DeleteService</a>.</p>
148
137
  * @public
149
138
  */
150
- export declare class ServiceNotActiveException extends __BaseException {
151
- readonly name: "ServiceNotActiveException";
139
+ export declare class ClusterContainsServicesException extends __BaseException {
140
+ readonly name: "ClusterContainsServicesException";
152
141
  readonly $fault: "client";
153
142
  /**
154
143
  * @internal
155
144
  */
156
- constructor(opts: __ExceptionOptionType<ServiceNotActiveException, __BaseException>);
145
+ constructor(opts: __ExceptionOptionType<ClusterContainsServicesException, __BaseException>);
157
146
  }
158
147
  /**
159
- * <p>The specified service wasn't found. You can view your available services with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html">ListServices</a>. Amazon ECS services are cluster specific and Region
160
- * specific.</p>
148
+ * <p>You can't delete a cluster that has active tasks.</p>
161
149
  * @public
162
150
  */
163
- export declare class ServiceNotFoundException extends __BaseException {
164
- readonly name: "ServiceNotFoundException";
151
+ export declare class ClusterContainsTasksException extends __BaseException {
152
+ readonly name: "ClusterContainsTasksException";
165
153
  readonly $fault: "client";
166
154
  /**
167
155
  * @internal
168
156
  */
169
- constructor(opts: __ExceptionOptionType<ServiceNotFoundException, __BaseException>);
157
+ constructor(opts: __ExceptionOptionType<ClusterContainsTasksException, __BaseException>);
170
158
  }
171
159
  /**
172
- * <p>The specified target wasn't found. You can view your available container instances
173
- * with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListContainerInstances.html">ListContainerInstances</a>. Amazon ECS container instances are cluster-specific
174
- * and Region-specific.</p>
160
+ * <p>The execute command cannot run. This error can be caused by any of the following configuration issues:</p> <ul> <li> <p>Incorrect IAM permissions</p> </li> <li> <p>The SSM agent is not installed or is not running</p> </li> <li> <p> There is an interface Amazon VPC endpoint for Amazon ECS, but there is not one for Systems Manager Session Manager</p> </li> </ul> <p>For information about how to troubleshoot the issues, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html">Troubleshooting issues with ECS Exec</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
175
161
  * @public
176
162
  */
177
- export declare class TargetNotFoundException extends __BaseException {
178
- readonly name: "TargetNotFoundException";
163
+ export declare class TargetNotConnectedException extends __BaseException {
164
+ readonly name: "TargetNotConnectedException";
179
165
  readonly $fault: "client";
180
166
  /**
181
167
  * @internal
182
168
  */
183
- constructor(opts: __ExceptionOptionType<TargetNotFoundException, __BaseException>);
169
+ constructor(opts: __ExceptionOptionType<TargetNotConnectedException, __BaseException>);
184
170
  }
185
171
  /**
186
- * <p>The cluster contains one or more capacity providers that prevent the requested
187
- * operation. This exception occurs when you try to delete a cluster that still has active
188
- * capacity providers, including Amazon ECS Managed Instances capacity providers. You must
189
- * first delete all capacity providers from the cluster before you can delete the cluster
190
- * itself.</p>
172
+ * <p>The specified resource is in-use and can't be removed.</p>
191
173
  * @public
192
174
  */
193
- export declare class ClusterContainsCapacityProviderException extends __BaseException {
194
- readonly name: "ClusterContainsCapacityProviderException";
175
+ export declare class ResourceInUseException extends __BaseException {
176
+ readonly name: "ResourceInUseException";
195
177
  readonly $fault: "client";
196
178
  /**
197
179
  * @internal
198
180
  */
199
- constructor(opts: __ExceptionOptionType<ClusterContainsCapacityProviderException, __BaseException>);
181
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
200
182
  }
201
183
  /**
202
- * <p>You can't delete a cluster that has registered container instances. First, deregister
203
- * the container instances before you can delete the cluster. For more information, see
204
- * <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterContainerInstance.html">DeregisterContainerInstance</a>.</p>
184
+ * <p>The specified target wasn't found. You can view your available container instances with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListContainerInstances.html">ListContainerInstances</a>. Amazon ECS container instances are cluster-specific and Region-specific.</p>
205
185
  * @public
206
186
  */
207
- export declare class ClusterContainsContainerInstancesException extends __BaseException {
208
- readonly name: "ClusterContainsContainerInstancesException";
187
+ export declare class TargetNotFoundException extends __BaseException {
188
+ readonly name: "TargetNotFoundException";
209
189
  readonly $fault: "client";
210
190
  /**
211
191
  * @internal
212
192
  */
213
- constructor(opts: __ExceptionOptionType<ClusterContainsContainerInstancesException, __BaseException>);
193
+ constructor(opts: __ExceptionOptionType<TargetNotFoundException, __BaseException>);
214
194
  }
215
195
  /**
216
- * <p>You can't delete a cluster that contains services. First, update the service to reduce
217
- * its desired task count to 0, and then delete the service. For more information, see
218
- * <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html">UpdateService</a> and
219
- * <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteService.html">DeleteService</a>.</p>
196
+ * <p>The specified service wasn't found. You can view your available services with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html">ListServices</a>. Amazon ECS services are cluster specific and Region specific.</p>
220
197
  * @public
221
198
  */
222
- export declare class ClusterContainsServicesException extends __BaseException {
223
- readonly name: "ClusterContainsServicesException";
199
+ export declare class ServiceNotFoundException extends __BaseException {
200
+ readonly name: "ServiceNotFoundException";
224
201
  readonly $fault: "client";
225
202
  /**
226
203
  * @internal
227
204
  */
228
- constructor(opts: __ExceptionOptionType<ClusterContainsServicesException, __BaseException>);
205
+ constructor(opts: __ExceptionOptionType<ServiceNotFoundException, __BaseException>);
229
206
  }
230
207
  /**
231
- * <p>You can't delete a cluster that has active tasks.</p>
208
+ * <p>You can apply up to 10 custom attributes for each resource. You can view the attributes of a resource with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListAttributes.html">ListAttributes</a>. You can remove existing attributes on a resource with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteAttributes.html">DeleteAttributes</a>.</p>
232
209
  * @public
233
210
  */
234
- export declare class ClusterContainsTasksException extends __BaseException {
235
- readonly name: "ClusterContainsTasksException";
211
+ export declare class AttributeLimitExceededException extends __BaseException {
212
+ readonly name: "AttributeLimitExceededException";
236
213
  readonly $fault: "client";
237
214
  /**
238
215
  * @internal
239
216
  */
240
- constructor(opts: __ExceptionOptionType<ClusterContainsTasksException, __BaseException>);
217
+ constructor(opts: __ExceptionOptionType<AttributeLimitExceededException, __BaseException>);
241
218
  }
242
219
  /**
243
- * <p>The specified task set wasn't found. You can view your available task sets with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTaskSets.html">DescribeTaskSets</a>. Task sets are specific to each cluster, service and
244
- * Region.</p>
220
+ * <p>Amazon ECS can't determine the current version of the Amazon ECS container agent on the container instance and doesn't have enough information to proceed with an update. This could be because the agent running on the container instance is a previous or custom version that doesn't use our version information.</p>
245
221
  * @public
246
222
  */
247
- export declare class TaskSetNotFoundException extends __BaseException {
248
- readonly name: "TaskSetNotFoundException";
223
+ export declare class MissingVersionException extends __BaseException {
224
+ readonly name: "MissingVersionException";
249
225
  readonly $fault: "client";
250
226
  /**
251
227
  * @internal
252
228
  */
253
- constructor(opts: __ExceptionOptionType<TaskSetNotFoundException, __BaseException>);
229
+ constructor(opts: __ExceptionOptionType<MissingVersionException, __BaseException>);
254
230
  }
255
231
  /**
256
- * <p>The specified resource wasn't found.</p>
232
+ * <p>There's no update available for this Amazon ECS container agent. This might be because the agent is already running the latest version or because it's so old that there's no update path to the current version.</p>
257
233
  * @public
258
234
  */
259
- export declare class ResourceNotFoundException extends __BaseException {
260
- readonly name: "ResourceNotFoundException";
235
+ export declare class NoUpdateAvailableException extends __BaseException {
236
+ readonly name: "NoUpdateAvailableException";
261
237
  readonly $fault: "client";
262
238
  /**
263
239
  * @internal
264
240
  */
265
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
241
+ constructor(opts: __ExceptionOptionType<NoUpdateAvailableException, __BaseException>);
266
242
  }
267
243
  /**
268
- * <p>The execute command cannot run. This error can be caused by any of the following
269
- * configuration issues:</p>
270
- * <ul>
271
- * <li>
272
- * <p>Incorrect IAM permissions</p>
273
- * </li>
274
- * <li>
275
- * <p>The SSM agent is not installed or is not running</p>
276
- * </li>
277
- * <li>
278
- * <p> There is an interface Amazon VPC endpoint for Amazon ECS, but there is not
279
- * one for Systems Manager Session Manager</p>
280
- * </li>
281
- * </ul>
282
- * <p>For information about how to troubleshoot the issues, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html">Troubleshooting issues with ECS
283
- * Exec</a> in the <i>Amazon Elastic Container Service Developer
284
- * Guide</i>.</p>
244
+ * <p>The specified platform version doesn't satisfy the required capabilities of the task definition.</p>
285
245
  * @public
286
246
  */
287
- export declare class TargetNotConnectedException extends __BaseException {
288
- readonly name: "TargetNotConnectedException";
247
+ export declare class PlatformTaskDefinitionIncompatibilityException extends __BaseException {
248
+ readonly name: "PlatformTaskDefinitionIncompatibilityException";
289
249
  readonly $fault: "client";
290
250
  /**
291
251
  * @internal
292
252
  */
293
- constructor(opts: __ExceptionOptionType<TargetNotConnectedException, __BaseException>);
253
+ constructor(opts: __ExceptionOptionType<PlatformTaskDefinitionIncompatibilityException, __BaseException>);
294
254
  }
295
255
  /**
296
- * <p>You can apply up to 10 custom attributes for each resource. You can view the
297
- * attributes of a resource with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListAttributes.html">ListAttributes</a>.
298
- * You can remove existing attributes on a resource with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteAttributes.html">DeleteAttributes</a>.</p>
256
+ * <p>The specified platform version doesn't exist.</p>
299
257
  * @public
300
258
  */
301
- export declare class AttributeLimitExceededException extends __BaseException {
302
- readonly name: "AttributeLimitExceededException";
259
+ export declare class PlatformUnknownException extends __BaseException {
260
+ readonly name: "PlatformUnknownException";
303
261
  readonly $fault: "client";
304
262
  /**
305
263
  * @internal
306
264
  */
307
- constructor(opts: __ExceptionOptionType<AttributeLimitExceededException, __BaseException>);
265
+ constructor(opts: __ExceptionOptionType<PlatformUnknownException, __BaseException>);
308
266
  }
309
267
  /**
310
- * <p>The specified resource is in-use and can't be removed.</p>
268
+ * <p>The specified service isn't active. You can't update a service that's inactive. If you have previously deleted a service, you can re-create it with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html">CreateService</a>.</p>
311
269
  * @public
312
270
  */
313
- export declare class ResourceInUseException extends __BaseException {
314
- readonly name: "ResourceInUseException";
271
+ export declare class ServiceNotActiveException extends __BaseException {
272
+ readonly name: "ServiceNotActiveException";
315
273
  readonly $fault: "client";
316
274
  /**
317
275
  * @internal
318
276
  */
319
- constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
277
+ constructor(opts: __ExceptionOptionType<ServiceNotActiveException, __BaseException>);
320
278
  }
321
279
  /**
322
- * <p>Your Amazon Web
323
- * Services account was blocked. For more information, contact <a href="http://aws.amazon.com/contact-us/">
324
- * Amazon Web
325
- * Services Support</a>.</p>
280
+ * <p>The specified resource wasn't found.</p>
326
281
  * @public
327
282
  */
328
- export declare class BlockedException extends __BaseException {
329
- readonly name: "BlockedException";
283
+ export declare class ResourceNotFoundException extends __BaseException {
284
+ readonly name: "ResourceNotFoundException";
330
285
  readonly $fault: "client";
331
286
  /**
332
287
  * @internal
333
288
  */
334
- constructor(opts: __ExceptionOptionType<BlockedException, __BaseException>);
289
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
335
290
  }
336
291
  /**
337
- * <p>The request could not be processed because of conflict in the current state of the
338
- * resource. </p>
292
+ * <p>The request could not be processed because of conflict in the current state of the resource. </p>
339
293
  * @public
340
294
  */
341
295
  export declare class ConflictException extends __BaseException {
342
296
  readonly name: "ConflictException";
343
297
  readonly $fault: "client";
344
298
  /**
345
- * <p>The existing task ARNs which are already associated with the
346
- * <code>clientToken</code>.</p>
299
+ * <p>The existing task ARNs which are already associated with the <code>clientToken</code>.</p>
347
300
  * @public
348
301
  */
349
302
  resourceIds?: string[] | undefined;
@@ -353,9 +306,7 @@ export declare class ConflictException extends __BaseException {
353
306
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
354
307
  }
355
308
  /**
356
- * <p>The service deploy ARN that you specified in the <code>StopServiceDeployment</code>
357
- * doesn't exist. You can use <code>ListServiceDeployments</code> to retrieve the service
358
- * deployment ARNs.</p>
309
+ * <p>The service deploy ARN that you specified in the <code>StopServiceDeployment</code> doesn't exist. You can use <code>ListServiceDeployments</code> to retrieve the service deployment ARNs.</p>
359
310
  * @public
360
311
  */
361
312
  export declare class ServiceDeploymentNotFoundException extends __BaseException {
@@ -367,31 +318,26 @@ export declare class ServiceDeploymentNotFoundException extends __BaseException
367
318
  constructor(opts: __ExceptionOptionType<ServiceDeploymentNotFoundException, __BaseException>);
368
319
  }
369
320
  /**
370
- * <p>Amazon ECS can't determine the current version of the Amazon ECS container agent on
371
- * the container instance and doesn't have enough information to proceed with an update.
372
- * This could be because the agent running on the container instance is a previous or
373
- * custom version that doesn't use our version information.</p>
321
+ * <p>The specified task set wasn't found. You can view your available task sets with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTaskSets.html">DescribeTaskSets</a>. Task sets are specific to each cluster, service and Region.</p>
374
322
  * @public
375
323
  */
376
- export declare class MissingVersionException extends __BaseException {
377
- readonly name: "MissingVersionException";
324
+ export declare class TaskSetNotFoundException extends __BaseException {
325
+ readonly name: "TaskSetNotFoundException";
378
326
  readonly $fault: "client";
379
327
  /**
380
328
  * @internal
381
329
  */
382
- constructor(opts: __ExceptionOptionType<MissingVersionException, __BaseException>);
330
+ constructor(opts: __ExceptionOptionType<TaskSetNotFoundException, __BaseException>);
383
331
  }
384
332
  /**
385
- * <p>There's no update available for this Amazon ECS container agent. This might be because
386
- * the agent is already running the latest version or because it's so old that there's no
387
- * update path to the current version.</p>
333
+ * <p>Your Amazon Web Services account was blocked. For more information, contact <a href="http://aws.amazon.com/contact-us/"> Amazon Web Services Support</a>.</p>
388
334
  * @public
389
335
  */
390
- export declare class NoUpdateAvailableException extends __BaseException {
391
- readonly name: "NoUpdateAvailableException";
336
+ export declare class BlockedException extends __BaseException {
337
+ readonly name: "BlockedException";
392
338
  readonly $fault: "client";
393
339
  /**
394
340
  * @internal
395
341
  */
396
- constructor(opts: __ExceptionOptionType<NoUpdateAvailableException, __BaseException>);
342
+ constructor(opts: __ExceptionOptionType<BlockedException, __BaseException>);
397
343
  }