@aws-sdk/client-ecs 3.693.0 → 3.696.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 (72) hide show
  1. package/README.md +11 -12
  2. package/dist-cjs/index.js +10 -2
  3. package/dist-es/models/models_0.js +4 -0
  4. package/dist-es/protocols/Aws_json1_1.js +2 -0
  5. package/dist-types/ECS.d.ts +11 -12
  6. package/dist-types/ECSClient.d.ts +11 -12
  7. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +17 -22
  8. package/dist-types/commands/CreateClusterCommand.d.ts +17 -19
  9. package/dist-types/commands/CreateServiceCommand.d.ts +89 -80
  10. package/dist-types/commands/CreateTaskSetCommand.d.ts +15 -19
  11. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +9 -12
  12. package/dist-types/commands/DeleteAttributesCommand.d.ts +2 -4
  13. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +17 -21
  14. package/dist-types/commands/DeleteClusterCommand.d.ts +23 -27
  15. package/dist-types/commands/DeleteServiceCommand.d.ts +30 -29
  16. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +24 -28
  17. package/dist-types/commands/DeleteTaskSetCommand.d.ts +14 -17
  18. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +19 -22
  19. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +24 -26
  20. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +8 -10
  21. package/dist-types/commands/DescribeClustersCommand.d.ts +8 -10
  22. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +10 -12
  23. package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +9 -12
  24. package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +16 -12
  25. package/dist-types/commands/DescribeServicesCommand.d.ts +15 -10
  26. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +14 -16
  27. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +13 -17
  28. package/dist-types/commands/DescribeTasksCommand.d.ts +11 -13
  29. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +7 -8
  30. package/dist-types/commands/ExecuteCommandCommand.d.ts +19 -23
  31. package/dist-types/commands/GetTaskProtectionCommand.d.ts +8 -10
  32. package/dist-types/commands/ListAccountSettingsCommand.d.ts +8 -10
  33. package/dist-types/commands/ListAttributesCommand.d.ts +6 -8
  34. package/dist-types/commands/ListClustersCommand.d.ts +8 -10
  35. package/dist-types/commands/ListContainerInstancesCommand.d.ts +12 -13
  36. package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +9 -12
  37. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +12 -15
  38. package/dist-types/commands/ListServicesCommand.d.ts +10 -12
  39. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -10
  40. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +13 -17
  41. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +11 -13
  42. package/dist-types/commands/ListTasksCommand.d.ts +12 -15
  43. package/dist-types/commands/PutAccountSettingCommand.d.ts +11 -14
  44. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +10 -12
  45. package/dist-types/commands/PutAttributesCommand.d.ts +7 -11
  46. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +24 -29
  47. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +10 -12
  48. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +23 -23
  49. package/dist-types/commands/RunTaskCommand.d.ts +33 -37
  50. package/dist-types/commands/StartTaskCommand.d.ts +16 -16
  51. package/dist-types/commands/StopTaskCommand.d.ts +18 -22
  52. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +8 -10
  53. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +7 -8
  54. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +8 -10
  55. package/dist-types/commands/TagResourceCommand.d.ts +11 -14
  56. package/dist-types/commands/UntagResourceCommand.d.ts +8 -10
  57. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +9 -11
  58. package/dist-types/commands/UpdateClusterCommand.d.ts +8 -10
  59. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +8 -10
  60. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +33 -37
  61. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +42 -48
  62. package/dist-types/commands/UpdateServiceCommand.d.ts +105 -101
  63. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +15 -20
  64. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +20 -25
  65. package/dist-types/commands/UpdateTaskSetCommand.d.ts +15 -19
  66. package/dist-types/index.d.ts +11 -12
  67. package/dist-types/models/models_0.d.ts +2882 -3340
  68. package/dist-types/models/models_1.d.ts +166 -152
  69. package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/models/models_0.d.ts +15 -7
  71. package/dist-types/ts3.4/models/models_1.d.ts +11 -0
  72. package/package.json +36 -36
@@ -27,15 +27,14 @@ declare const CreateTaskSetCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Create a task set in the specified cluster and service. This is used when a service
31
- * uses the <code>EXTERNAL</code> deployment controller type. For more information, see
32
- * <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS deployment
30
+ * <p>Create a task set in the specified cluster and service. This is used when a service uses the
31
+ * <code>EXTERNAL</code> deployment controller type. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS deployment
33
32
  * types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
34
33
  * <note>
35
34
  * <p>On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.</p>
36
35
  * </note>
37
- * <p>For information about the maximum number of task sets and other quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
38
- * service quotas</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
36
+ * <p>For information about the maximum number of task sets and other quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service
37
+ * quotas</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
39
38
  * @example
40
39
  * Use a bare-bones client and the command you need to make an API call.
41
40
  * ```javascript
@@ -179,17 +178,16 @@ declare const CreateTaskSetCommand_base: {
179
178
  * <p>You don't have authorization to perform the requested action.</p>
180
179
  *
181
180
  * @throws {@link ClientException} (client fault)
182
- * <p>These errors are usually caused by a client action. This client action might be using
183
- * an action or resource on behalf of a user that doesn't have permissions to use the
184
- * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
181
+ * <p>These errors are usually caused by a client action. This client action might be using an action or
182
+ * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
183
+ * be specifying an identifier that isn't valid.</p>
185
184
  * <p>The following list includes additional causes for the error:</p>
186
185
  * <ul>
187
186
  * <li>
188
- * <p>The <code>RunTask</code> could not be processed because you use managed
189
- * scaling and there is a capacity error because the quota of tasks in the
190
- * <code>PROVISIONING</code> per cluster has been reached. For information
191
- * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
192
- * service quotas</a>.</p>
187
+ * <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
188
+ * a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
189
+ * been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service
190
+ * quotas</a>.</p>
193
191
  * </li>
194
192
  * </ul>
195
193
  *
@@ -197,8 +195,7 @@ declare const CreateTaskSetCommand_base: {
197
195
  * <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>
198
196
  *
199
197
  * @throws {@link InvalidParameterException} (client fault)
200
- * <p>The specified parameter isn't valid. Review the available parameters for the API
201
- * request.</p>
198
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
202
199
  *
203
200
  * @throws {@link NamespaceNotFoundException} (client fault)
204
201
  * <p>The specified namespace wasn't found.</p>
@@ -214,12 +211,11 @@ declare const CreateTaskSetCommand_base: {
214
211
  * <p>These errors are usually caused by a server issue.</p>
215
212
  *
216
213
  * @throws {@link ServiceNotActiveException} (client fault)
217
- * <p>The specified service isn't active. You can't update a service that's inactive. If you
218
- * 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>
214
+ * <p>The specified service isn't active. You can't update a service that's inactive. If you have
215
+ * 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>
219
216
  *
220
217
  * @throws {@link ServiceNotFoundException} (client fault)
221
- * <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
222
- * specific.</p>
218
+ * <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>
223
219
  *
224
220
  * @throws {@link UnsupportedFeatureException} (client fault)
225
221
  * <p>The specified task isn't supported in this Region.</p>
@@ -27,8 +27,7 @@ declare const DeleteAccountSettingCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Disables an account setting for a specified user, role, or the root user for an
31
- * account.</p>
30
+ * <p>Disables an account setting for a specified user, role, or the root user for an account.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -59,23 +58,21 @@ declare const DeleteAccountSettingCommand_base: {
59
58
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
60
59
  *
61
60
  * @throws {@link ClientException} (client fault)
62
- * <p>These errors are usually caused by a client action. This client action might be using
63
- * an action or resource on behalf of a user that doesn't have permissions to use the
64
- * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
61
+ * <p>These errors are usually caused by a client action. This client action might be using an action or
62
+ * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
63
+ * be specifying an identifier that isn't valid.</p>
65
64
  * <p>The following list includes additional causes for the error:</p>
66
65
  * <ul>
67
66
  * <li>
68
- * <p>The <code>RunTask</code> could not be processed because you use managed
69
- * scaling and there is a capacity error because the quota of tasks in the
70
- * <code>PROVISIONING</code> per cluster has been reached. For information
71
- * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
72
- * service quotas</a>.</p>
67
+ * <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
68
+ * a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
69
+ * been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service
70
+ * quotas</a>.</p>
73
71
  * </li>
74
72
  * </ul>
75
73
  *
76
74
  * @throws {@link InvalidParameterException} (client fault)
77
- * <p>The specified parameter isn't valid. Review the available parameters for the API
78
- * request.</p>
75
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
79
76
  *
80
77
  * @throws {@link ServerException} (server fault)
81
78
  * <p>These errors are usually caused by a server issue.</p>
@@ -70,12 +70,10 @@ declare const DeleteAttributesCommand_base: {
70
70
  * <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>
71
71
  *
72
72
  * @throws {@link InvalidParameterException} (client fault)
73
- * <p>The specified parameter isn't valid. Review the available parameters for the API
74
- * request.</p>
73
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
75
74
  *
76
75
  * @throws {@link TargetNotFoundException} (client fault)
77
- * <p>The specified target wasn't found. You can view your available container instances
78
- * with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListContainerInstances.html">ListContainerInstances</a>. Amazon ECS container instances are cluster-specific and
76
+ * <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
79
77
  * Region-specific.</p>
80
78
  *
81
79
  * @throws {@link ECSServiceException}
@@ -29,18 +29,16 @@ declare const DeleteCapacityProviderCommand_base: {
29
29
  /**
30
30
  * <p>Deletes the specified capacity provider.</p>
31
31
  * <note>
32
- * <p>The <code>FARGATE</code> and <code>FARGATE_SPOT</code> capacity providers are
33
- * reserved and can't be deleted. You can disassociate them from a cluster using either <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProviderProviders.html">PutCapacityProviderProviders</a> or by deleting the
34
- * cluster.</p>
32
+ * <p>The <code>FARGATE</code> and <code>FARGATE_SPOT</code> capacity providers are reserved and can't
33
+ * be deleted. You can disassociate them from a cluster using either <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProviderProviders.html">PutCapacityProviderProviders</a> or by deleting the cluster.</p>
35
34
  * </note>
36
- * <p>Prior to a capacity provider being deleted, the capacity provider must be removed from
37
- * the capacity provider strategy from all services. The <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html">UpdateService</a>
38
- * API can be used to remove a capacity provider from a service's capacity provider
39
- * strategy. When updating a service, the <code>forceNewDeployment</code> option can be
40
- * used to ensure that any tasks using the Amazon EC2 instance capacity provided by the capacity
41
- * provider are transitioned to use the capacity from the remaining capacity providers.
42
- * Only capacity providers that aren't associated with a cluster can be deleted. To remove
43
- * a capacity provider from a cluster, you can either use <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProviderProviders.html">PutCapacityProviderProviders</a> or delete the cluster.</p>
35
+ * <p>Prior to a capacity provider being deleted, the capacity provider must be removed from the capacity
36
+ * provider strategy from all services. The <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html">UpdateService</a> API can be used to
37
+ * remove a capacity provider from a service's capacity provider strategy. When updating a service, the
38
+ * <code>forceNewDeployment</code> option can be used to ensure that any tasks using the Amazon EC2
39
+ * instance capacity provided by the capacity provider are transitioned to use the capacity from the
40
+ * remaining capacity providers. Only capacity providers that aren't associated with a cluster can be
41
+ * deleted. To remove a capacity provider from a cluster, you can either use <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProviderProviders.html">PutCapacityProviderProviders</a> or delete the cluster.</p>
44
42
  * @example
45
43
  * Use a bare-bones client and the command you need to make an API call.
46
44
  * ```javascript
@@ -89,23 +87,21 @@ declare const DeleteCapacityProviderCommand_base: {
89
87
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
90
88
  *
91
89
  * @throws {@link ClientException} (client fault)
92
- * <p>These errors are usually caused by a client action. This client action might be using
93
- * an action or resource on behalf of a user that doesn't have permissions to use the
94
- * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
90
+ * <p>These errors are usually caused by a client action. This client action might be using an action or
91
+ * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
92
+ * be specifying an identifier that isn't valid.</p>
95
93
  * <p>The following list includes additional causes for the error:</p>
96
94
  * <ul>
97
95
  * <li>
98
- * <p>The <code>RunTask</code> could not be processed because you use managed
99
- * scaling and there is a capacity error because the quota of tasks in the
100
- * <code>PROVISIONING</code> per cluster has been reached. For information
101
- * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
102
- * service quotas</a>.</p>
96
+ * <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
97
+ * a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
98
+ * been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service
99
+ * quotas</a>.</p>
103
100
  * </li>
104
101
  * </ul>
105
102
  *
106
103
  * @throws {@link InvalidParameterException} (client fault)
107
- * <p>The specified parameter isn't valid. Review the available parameters for the API
108
- * request.</p>
104
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
109
105
  *
110
106
  * @throws {@link ServerException} (server fault)
111
107
  * <p>These errors are usually caused by a server issue.</p>
@@ -27,12 +27,13 @@ declare const DeleteClusterCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deletes the specified cluster. The cluster transitions to the <code>INACTIVE</code>
31
- * state. Clusters with an <code>INACTIVE</code> status might remain discoverable in your
32
- * account for a period of time. However, this behavior is subject to change in the future.
33
- * We don't recommend that you rely on <code>INACTIVE</code> clusters persisting.</p>
34
- * <p>You must deregister all container instances from this cluster before you may delete
35
- * it. You can list the container instances in a cluster with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListContainerInstances.html">ListContainerInstances</a> and deregister them with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterContainerInstance.html">DeregisterContainerInstance</a>.</p>
30
+ * <p>Deletes the specified cluster. The cluster transitions to the <code>INACTIVE</code> state. Clusters
31
+ * with an <code>INACTIVE</code> status might remain discoverable in your account for a period of time.
32
+ * However, this behavior is subject to change in the future. We don't recommend that you rely on
33
+ * <code>INACTIVE</code> clusters persisting.</p>
34
+ * <p>You must deregister all container instances from this cluster before you may delete it. You can list
35
+ * the container instances in a cluster with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListContainerInstances.html">ListContainerInstances</a>
36
+ * and deregister them with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterContainerInstance.html">DeregisterContainerInstance</a>.</p>
36
37
  * @example
37
38
  * Use a bare-bones client and the command you need to make an API call.
38
39
  * ```javascript
@@ -127,29 +128,26 @@ declare const DeleteClusterCommand_base: {
127
128
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
128
129
  *
129
130
  * @throws {@link ClientException} (client fault)
130
- * <p>These errors are usually caused by a client action. This client action might be using
131
- * an action or resource on behalf of a user that doesn't have permissions to use the
132
- * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
131
+ * <p>These errors are usually caused by a client action. This client action might be using an action or
132
+ * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
133
+ * be specifying an identifier that isn't valid.</p>
133
134
  * <p>The following list includes additional causes for the error:</p>
134
135
  * <ul>
135
136
  * <li>
136
- * <p>The <code>RunTask</code> could not be processed because you use managed
137
- * scaling and there is a capacity error because the quota of tasks in the
138
- * <code>PROVISIONING</code> per cluster has been reached. For information
139
- * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
140
- * service quotas</a>.</p>
137
+ * <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
138
+ * a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
139
+ * been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service
140
+ * quotas</a>.</p>
141
141
  * </li>
142
142
  * </ul>
143
143
  *
144
144
  * @throws {@link ClusterContainsContainerInstancesException} (client fault)
145
- * <p>You can't delete a cluster that has registered container instances. First, deregister
146
- * the container instances before you can delete the cluster. For more information, see
147
- * <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterContainerInstance.html">DeregisterContainerInstance</a>.</p>
145
+ * <p>You can't delete a cluster that has registered container instances. First, deregister the container
146
+ * 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>
148
147
  *
149
148
  * @throws {@link ClusterContainsServicesException} (client fault)
150
- * <p>You can't delete a cluster that contains services. First, update the service to reduce
151
- * its desired task count to 0, and then delete the service. For more information, see
152
- * <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>
149
+ * <p>You can't delete a cluster that contains services. First, update the service to reduce its desired
150
+ * 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>
153
151
  *
154
152
  * @throws {@link ClusterContainsTasksException} (client fault)
155
153
  * <p>You can't delete a cluster that has active tasks.</p>
@@ -158,18 +156,16 @@ declare const DeleteClusterCommand_base: {
158
156
  * <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>
159
157
  *
160
158
  * @throws {@link InvalidParameterException} (client fault)
161
- * <p>The specified parameter isn't valid. Review the available parameters for the API
162
- * request.</p>
159
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
163
160
  *
164
161
  * @throws {@link ServerException} (server fault)
165
162
  * <p>These errors are usually caused by a server issue.</p>
166
163
  *
167
164
  * @throws {@link UpdateInProgressException} (client fault)
168
- * <p>There's already a current Amazon ECS container agent update in progress on the container
169
- * instance that's specified. If the container agent becomes disconnected while it's in a
170
- * transitional stage, such as <code>PENDING</code> or <code>STAGING</code>, the update
171
- * process can get stuck in that state. However, when the agent reconnects, it resumes
172
- * where it stopped previously.</p>
165
+ * <p>There's already a current Amazon ECS container agent update in progress on the container instance that's
166
+ * specified. If the container agent becomes disconnected while it's in a transitional stage, such as
167
+ * <code>PENDING</code> or <code>STAGING</code>, the update process can get stuck in that state.
168
+ * However, when the agent reconnects, it resumes where it stopped previously.</p>
173
169
  *
174
170
  * @throws {@link ECSServiceException}
175
171
  * <p>Base exception class for all service exceptions from ECS service.</p>
@@ -27,26 +27,23 @@ declare const DeleteServiceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deletes a specified service within a cluster. You can delete a service if you have no
31
- * running tasks in it and the desired task count is zero. If the service is actively
32
- * maintaining tasks, you can't delete it, and you must update the service to a desired
33
- * task count of zero. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html">UpdateService</a>.</p>
30
+ * <p>Deletes a specified service within a cluster. You can delete a service if you have no running tasks
31
+ * in it and the desired task count is zero. If the service is actively maintaining tasks, you can't
32
+ * delete it, and you must update the service to a desired task count of zero. For more information, see
33
+ * <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html">UpdateService</a>.</p>
34
34
  * <note>
35
- * <p>When you delete a service, if there are still running tasks that require cleanup,
36
- * the service status moves from <code>ACTIVE</code> to <code>DRAINING</code>, and the
37
- * service is no longer visible in the console or in the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html">ListServices</a>
38
- * API operation. After all tasks have transitioned to either <code>STOPPING</code> or
39
- * <code>STOPPED</code> status, the service status moves from <code>DRAINING</code>
40
- * to <code>INACTIVE</code>. Services in the <code>DRAINING</code> or
41
- * <code>INACTIVE</code> status can still be viewed with the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServices.html">DescribeServices</a> API operation. However, in the future,
42
- * <code>INACTIVE</code> services may be cleaned up and purged from Amazon ECS record
43
- * keeping, and <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServices.html">DescribeServices</a> calls on those services return a
44
- * <code>ServiceNotFoundException</code> error.</p>
35
+ * <p>When you delete a service, if there are still running tasks that require cleanup, the service
36
+ * status moves from <code>ACTIVE</code> to <code>DRAINING</code>, and the service is no longer
37
+ * visible in the console or in the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html">ListServices</a> API operation.
38
+ * After all tasks have transitioned to either <code>STOPPING</code> or <code>STOPPED</code> status,
39
+ * the service status moves from <code>DRAINING</code> to <code>INACTIVE</code>. Services in the
40
+ * <code>DRAINING</code> or <code>INACTIVE</code> status can still be viewed with the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServices.html">DescribeServices</a> API operation. However, in the future, <code>INACTIVE</code> services
41
+ * may be cleaned up and purged from Amazon ECS record keeping, and <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServices.html">DescribeServices</a> calls on
42
+ * those services return a <code>ServiceNotFoundException</code> error.</p>
45
43
  * </note>
46
44
  * <important>
47
- * <p>If you attempt to create a new service with the same name as an existing service
48
- * in either <code>ACTIVE</code> or <code>DRAINING</code> status, you receive an
49
- * error.</p>
45
+ * <p>If you attempt to create a new service with the same name as an existing service in either
46
+ * <code>ACTIVE</code> or <code>DRAINING</code> status, you receive an error.</p>
50
47
  * </important>
51
48
  * @example
52
49
  * Use a bare-bones client and the command you need to make an API call.
@@ -292,6 +289,13 @@ declare const DeleteServiceCommand_base: {
292
289
  * // fargateEphemeralStorage: {
293
290
  * // kmsKeyId: "STRING_VALUE",
294
291
  * // },
292
+ * // vpcLatticeConfigurations: [ // VpcLatticeConfigurations
293
+ * // { // VpcLatticeConfiguration
294
+ * // roleArn: "STRING_VALUE", // required
295
+ * // targetGroupArn: "STRING_VALUE", // required
296
+ * // portName: "STRING_VALUE", // required
297
+ * // },
298
+ * // ],
295
299
  * // },
296
300
  * // ],
297
301
  * // roleArn: "STRING_VALUE",
@@ -344,17 +348,16 @@ declare const DeleteServiceCommand_base: {
344
348
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
345
349
  *
346
350
  * @throws {@link ClientException} (client fault)
347
- * <p>These errors are usually caused by a client action. This client action might be using
348
- * an action or resource on behalf of a user that doesn't have permissions to use the
349
- * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
351
+ * <p>These errors are usually caused by a client action. This client action might be using an action or
352
+ * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
353
+ * be specifying an identifier that isn't valid.</p>
350
354
  * <p>The following list includes additional causes for the error:</p>
351
355
  * <ul>
352
356
  * <li>
353
- * <p>The <code>RunTask</code> could not be processed because you use managed
354
- * scaling and there is a capacity error because the quota of tasks in the
355
- * <code>PROVISIONING</code> per cluster has been reached. For information
356
- * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
357
- * service quotas</a>.</p>
357
+ * <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
358
+ * a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
359
+ * been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service
360
+ * quotas</a>.</p>
358
361
  * </li>
359
362
  * </ul>
360
363
  *
@@ -362,15 +365,13 @@ declare const DeleteServiceCommand_base: {
362
365
  * <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>
363
366
  *
364
367
  * @throws {@link InvalidParameterException} (client fault)
365
- * <p>The specified parameter isn't valid. Review the available parameters for the API
366
- * request.</p>
368
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
367
369
  *
368
370
  * @throws {@link ServerException} (server fault)
369
371
  * <p>These errors are usually caused by a server issue.</p>
370
372
  *
371
373
  * @throws {@link ServiceNotFoundException} (client fault)
372
- * <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
373
- * specific.</p>
374
+ * <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>
374
375
  *
375
376
  * @throws {@link ECSServiceException}
376
377
  * <p>Base exception class for all service exceptions from ECS service.</p>
@@ -28,25 +28,22 @@ declare const DeleteTaskDefinitionsCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Deletes one or more task definitions.</p>
31
- * <p>You must deregister a task definition revision before you delete it. For more
32
- * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterTaskDefinition.html">DeregisterTaskDefinition</a>.</p>
31
+ * <p>You must deregister a task definition revision before you delete it. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterTaskDefinition.html">DeregisterTaskDefinition</a>.</p>
33
32
  * <p>When you delete a task definition revision, it is immediately transitions from the
34
- * <code>INACTIVE</code> to <code>DELETE_IN_PROGRESS</code>. Existing tasks and
35
- * services that reference a <code>DELETE_IN_PROGRESS</code> task definition revision
36
- * continue to run without disruption. Existing services that reference a
37
- * <code>DELETE_IN_PROGRESS</code> task definition revision can still scale up or down
38
- * by modifying the service's desired count.</p>
39
- * <p>You can't use a <code>DELETE_IN_PROGRESS</code> task definition revision to run new
40
- * tasks or create new services. You also can't update an existing service to reference a
41
- * <code>DELETE_IN_PROGRESS</code> task definition revision.</p>
42
- * <p> A task definition revision will stay in <code>DELETE_IN_PROGRESS</code> status until
43
- * all the associated tasks and services have been terminated.</p>
44
- * <p>When you delete all <code>INACTIVE</code> task definition revisions, the task
45
- * definition name is not displayed in the console and not returned in the API. If a task
46
- * definition revisions are in the <code>DELETE_IN_PROGRESS</code> state, the task
47
- * definition name is displayed in the console and returned in the API. The task definition
48
- * name is retained by Amazon ECS and the revision is incremented the next time you create a
49
- * task definition with that name.</p>
33
+ * <code>INACTIVE</code> to <code>DELETE_IN_PROGRESS</code>. Existing tasks and services that
34
+ * reference a <code>DELETE_IN_PROGRESS</code> task definition revision continue to run without
35
+ * disruption. Existing services that reference a <code>DELETE_IN_PROGRESS</code> task definition revision
36
+ * can still scale up or down by modifying the service's desired count.</p>
37
+ * <p>You can't use a <code>DELETE_IN_PROGRESS</code> task definition revision to run new tasks or create
38
+ * new services. You also can't update an existing service to reference a <code>DELETE_IN_PROGRESS</code>
39
+ * task definition revision.</p>
40
+ * <p> A task definition revision will stay in <code>DELETE_IN_PROGRESS</code> status until all the
41
+ * associated tasks and services have been terminated.</p>
42
+ * <p>When you delete all <code>INACTIVE</code> task definition revisions, the task definition name is not
43
+ * displayed in the console and not returned in the API. If a task definition revisions are in the
44
+ * <code>DELETE_IN_PROGRESS</code> state, the task definition name is displayed in the console and
45
+ * returned in the API. The task definition name is retained by Amazon ECS and the revision is incremented the
46
+ * next time you create a task definition with that name.</p>
50
47
  * @example
51
48
  * Use a bare-bones client and the command you need to make an API call.
52
49
  * ```javascript
@@ -170,6 +167,7 @@ declare const DeleteTaskDefinitionsCommand_base: {
170
167
  * // ],
171
168
  * // startTimeout: Number("int"),
172
169
  * // stopTimeout: Number("int"),
170
+ * // versionConsistency: "enabled" || "disabled",
173
171
  * // hostname: "STRING_VALUE",
174
172
  * // user: "STRING_VALUE",
175
173
  * // workingDirectory: "STRING_VALUE",
@@ -354,23 +352,21 @@ declare const DeleteTaskDefinitionsCommand_base: {
354
352
  * <p>You don't have authorization to perform the requested action.</p>
355
353
  *
356
354
  * @throws {@link ClientException} (client fault)
357
- * <p>These errors are usually caused by a client action. This client action might be using
358
- * an action or resource on behalf of a user that doesn't have permissions to use the
359
- * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
355
+ * <p>These errors are usually caused by a client action. This client action might be using an action or
356
+ * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
357
+ * be specifying an identifier that isn't valid.</p>
360
358
  * <p>The following list includes additional causes for the error:</p>
361
359
  * <ul>
362
360
  * <li>
363
- * <p>The <code>RunTask</code> could not be processed because you use managed
364
- * scaling and there is a capacity error because the quota of tasks in the
365
- * <code>PROVISIONING</code> per cluster has been reached. For information
366
- * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
367
- * service quotas</a>.</p>
361
+ * <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
362
+ * a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
363
+ * been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service
364
+ * quotas</a>.</p>
368
365
  * </li>
369
366
  * </ul>
370
367
  *
371
368
  * @throws {@link InvalidParameterException} (client fault)
372
- * <p>The specified parameter isn't valid. Review the available parameters for the API
373
- * request.</p>
369
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
374
370
  *
375
371
  * @throws {@link ServerException} (server fault)
376
372
  * <p>These errors are usually caused by a server issue.</p>
@@ -28,7 +28,8 @@ declare const DeleteTaskSetCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Deletes a specified task set within a service. This is used when a service uses the
31
- * <code>EXTERNAL</code> deployment controller type. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS deployment types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
31
+ * <code>EXTERNAL</code> deployment controller type. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS deployment
32
+ * types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
34
35
  * ```javascript
@@ -125,17 +126,16 @@ declare const DeleteTaskSetCommand_base: {
125
126
  * <p>You don't have authorization to perform the requested action.</p>
126
127
  *
127
128
  * @throws {@link ClientException} (client fault)
128
- * <p>These errors are usually caused by a client action. This client action might be using
129
- * an action or resource on behalf of a user that doesn't have permissions to use the
130
- * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
129
+ * <p>These errors are usually caused by a client action. This client action might be using an action or
130
+ * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
131
+ * be specifying an identifier that isn't valid.</p>
131
132
  * <p>The following list includes additional causes for the error:</p>
132
133
  * <ul>
133
134
  * <li>
134
- * <p>The <code>RunTask</code> could not be processed because you use managed
135
- * scaling and there is a capacity error because the quota of tasks in the
136
- * <code>PROVISIONING</code> per cluster has been reached. For information
137
- * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
138
- * service quotas</a>.</p>
135
+ * <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
136
+ * a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
137
+ * been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service
138
+ * quotas</a>.</p>
139
139
  * </li>
140
140
  * </ul>
141
141
  *
@@ -143,23 +143,20 @@ declare const DeleteTaskSetCommand_base: {
143
143
  * <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>
144
144
  *
145
145
  * @throws {@link InvalidParameterException} (client fault)
146
- * <p>The specified parameter isn't valid. Review the available parameters for the API
147
- * request.</p>
146
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
148
147
  *
149
148
  * @throws {@link ServerException} (server fault)
150
149
  * <p>These errors are usually caused by a server issue.</p>
151
150
  *
152
151
  * @throws {@link ServiceNotActiveException} (client fault)
153
- * <p>The specified service isn't active. You can't update a service that's inactive. If you
154
- * 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>
152
+ * <p>The specified service isn't active. You can't update a service that's inactive. If you have
153
+ * 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>
155
154
  *
156
155
  * @throws {@link ServiceNotFoundException} (client fault)
157
- * <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
158
- * specific.</p>
156
+ * <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>
159
157
  *
160
158
  * @throws {@link TaskSetNotFoundException} (client fault)
161
- * <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
162
- * Region.</p>
159
+ * <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>
163
160
  *
164
161
  * @throws {@link UnsupportedFeatureException} (client fault)
165
162
  * <p>The specified task isn't supported in this Region.</p>