@aws-sdk/client-ecs 3.693.0 → 3.695.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 (71) hide show
  1. package/README.md +11 -12
  2. package/dist-cjs/index.js +4 -2
  3. package/dist-es/protocols/Aws_json1_1.js +2 -0
  4. package/dist-types/ECS.d.ts +11 -12
  5. package/dist-types/ECSClient.d.ts +11 -12
  6. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +17 -22
  7. package/dist-types/commands/CreateClusterCommand.d.ts +17 -19
  8. package/dist-types/commands/CreateServiceCommand.d.ts +89 -80
  9. package/dist-types/commands/CreateTaskSetCommand.d.ts +15 -19
  10. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +9 -12
  11. package/dist-types/commands/DeleteAttributesCommand.d.ts +2 -4
  12. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +17 -21
  13. package/dist-types/commands/DeleteClusterCommand.d.ts +23 -27
  14. package/dist-types/commands/DeleteServiceCommand.d.ts +30 -29
  15. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +23 -28
  16. package/dist-types/commands/DeleteTaskSetCommand.d.ts +14 -17
  17. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +19 -22
  18. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +23 -26
  19. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +8 -10
  20. package/dist-types/commands/DescribeClustersCommand.d.ts +8 -10
  21. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +10 -12
  22. package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +9 -12
  23. package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +16 -12
  24. package/dist-types/commands/DescribeServicesCommand.d.ts +15 -10
  25. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +13 -16
  26. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +13 -17
  27. package/dist-types/commands/DescribeTasksCommand.d.ts +11 -13
  28. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +7 -8
  29. package/dist-types/commands/ExecuteCommandCommand.d.ts +19 -23
  30. package/dist-types/commands/GetTaskProtectionCommand.d.ts +8 -10
  31. package/dist-types/commands/ListAccountSettingsCommand.d.ts +8 -10
  32. package/dist-types/commands/ListAttributesCommand.d.ts +6 -8
  33. package/dist-types/commands/ListClustersCommand.d.ts +8 -10
  34. package/dist-types/commands/ListContainerInstancesCommand.d.ts +12 -13
  35. package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +9 -12
  36. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +12 -15
  37. package/dist-types/commands/ListServicesCommand.d.ts +10 -12
  38. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -10
  39. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +13 -17
  40. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +11 -13
  41. package/dist-types/commands/ListTasksCommand.d.ts +12 -15
  42. package/dist-types/commands/PutAccountSettingCommand.d.ts +11 -14
  43. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +10 -12
  44. package/dist-types/commands/PutAttributesCommand.d.ts +7 -11
  45. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +24 -29
  46. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +10 -12
  47. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +21 -23
  48. package/dist-types/commands/RunTaskCommand.d.ts +33 -37
  49. package/dist-types/commands/StartTaskCommand.d.ts +16 -16
  50. package/dist-types/commands/StopTaskCommand.d.ts +18 -22
  51. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +8 -10
  52. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +7 -8
  53. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +8 -10
  54. package/dist-types/commands/TagResourceCommand.d.ts +11 -14
  55. package/dist-types/commands/UntagResourceCommand.d.ts +8 -10
  56. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +10 -11
  57. package/dist-types/commands/UpdateClusterCommand.d.ts +8 -10
  58. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +8 -10
  59. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +33 -37
  60. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +42 -48
  61. package/dist-types/commands/UpdateServiceCommand.d.ts +105 -101
  62. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +15 -20
  63. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +20 -25
  64. package/dist-types/commands/UpdateTaskSetCommand.d.ts +15 -19
  65. package/dist-types/index.d.ts +11 -12
  66. package/dist-types/models/models_0.d.ts +2860 -3324
  67. package/dist-types/models/models_1.d.ts +150 -152
  68. package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +2 -4
  69. package/dist-types/ts3.4/models/models_0.d.ts +8 -3
  70. package/dist-types/ts3.4/models/models_1.d.ts +6 -0
  71. package/package.json +1 -1
@@ -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
@@ -354,23 +351,21 @@ declare const DeleteTaskDefinitionsCommand_base: {
354
351
  * <p>You don't have authorization to perform the requested action.</p>
355
352
  *
356
353
  * @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>
354
+ * <p>These errors are usually caused by a client action. This client action might be using an action or
355
+ * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
356
+ * be specifying an identifier that isn't valid.</p>
360
357
  * <p>The following list includes additional causes for the error:</p>
361
358
  * <ul>
362
359
  * <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>
360
+ * <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
361
+ * a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
362
+ * 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
363
+ * quotas</a>.</p>
368
364
  * </li>
369
365
  * </ul>
370
366
  *
371
367
  * @throws {@link InvalidParameterException} (client fault)
372
- * <p>The specified parameter isn't valid. Review the available parameters for the API
373
- * request.</p>
368
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
374
369
  *
375
370
  * @throws {@link ServerException} (server fault)
376
371
  * <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>
@@ -27,19 +27,18 @@ declare const DeregisterContainerInstanceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deregisters an Amazon ECS container instance from the specified cluster. This instance is
31
- * no longer available to run tasks.</p>
32
- * <p>If you intend to use the container instance for some other purpose after
33
- * deregistration, we recommend that you stop all of the tasks running on the container
34
- * instance before deregistration. That prevents any orphaned tasks from consuming
35
- * resources.</p>
36
- * <p>Deregistering a container instance removes the instance from a cluster, but it doesn't
37
- * terminate the EC2 instance. If you are finished using the instance, be sure to terminate
38
- * it in the Amazon EC2 console to stop billing.</p>
30
+ * <p>Deregisters an Amazon ECS container instance from the specified cluster. This instance is no longer
31
+ * available to run tasks.</p>
32
+ * <p>If you intend to use the container instance for some other purpose after deregistration, we recommend
33
+ * that you stop all of the tasks running on the container instance before deregistration. That prevents
34
+ * any orphaned tasks from consuming resources.</p>
35
+ * <p>Deregistering a container instance removes the instance from a cluster, but it doesn't terminate the
36
+ * EC2 instance. If you are finished using the instance, be sure to terminate it in the Amazon EC2 console to
37
+ * stop billing.</p>
39
38
  * <note>
40
- * <p>If you terminate a running container instance, Amazon ECS automatically deregisters the
41
- * instance from your cluster (stopped container instances or instances with
42
- * disconnected agents aren't automatically deregistered when terminated).</p>
39
+ * <p>If you terminate a running container instance, Amazon ECS automatically deregisters the instance from
40
+ * your cluster (stopped container instances or instances with disconnected agents aren't
41
+ * automatically deregistered when terminated).</p>
43
42
  * </note>
44
43
  * @example
45
44
  * Use a bare-bones client and the command you need to make an API call.
@@ -146,17 +145,16 @@ declare const DeregisterContainerInstanceCommand_base: {
146
145
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
147
146
  *
148
147
  * @throws {@link ClientException} (client fault)
149
- * <p>These errors are usually caused by a client action. This client action might be using
150
- * an action or resource on behalf of a user that doesn't have permissions to use the
151
- * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
148
+ * <p>These errors are usually caused by a client action. This client action might be using an action or
149
+ * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
150
+ * be specifying an identifier that isn't valid.</p>
152
151
  * <p>The following list includes additional causes for the error:</p>
153
152
  * <ul>
154
153
  * <li>
155
- * <p>The <code>RunTask</code> could not be processed because you use managed
156
- * scaling and there is a capacity error because the quota of tasks in the
157
- * <code>PROVISIONING</code> per cluster has been reached. For information
158
- * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
159
- * service quotas</a>.</p>
154
+ * <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
155
+ * a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
156
+ * 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
157
+ * quotas</a>.</p>
160
158
  * </li>
161
159
  * </ul>
162
160
  *
@@ -164,8 +162,7 @@ declare const DeregisterContainerInstanceCommand_base: {
164
162
  * <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>
165
163
  *
166
164
  * @throws {@link InvalidParameterException} (client fault)
167
- * <p>The specified parameter isn't valid. Review the available parameters for the API
168
- * request.</p>
165
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
169
166
  *
170
167
  * @throws {@link ServerException} (server fault)
171
168
  * <p>These errors are usually caused by a server issue.</p>
@@ -27,24 +27,23 @@ declare const DeregisterTaskDefinitionCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deregisters the specified task definition by family and revision. Upon deregistration,
31
- * the task definition is marked as <code>INACTIVE</code>. Existing tasks and services that
32
- * reference an <code>INACTIVE</code> task definition continue to run without disruption.
33
- * Existing services that reference an <code>INACTIVE</code> task definition can still
34
- * scale up or down by modifying the service's desired count. If you want to delete a task
35
- * definition revision, you must first deregister the task definition revision.</p>
36
- * <p>You can't use an <code>INACTIVE</code> task definition to run new tasks or create new
37
- * services, and you can't update an existing service to reference an <code>INACTIVE</code>
38
- * task definition. However, there may be up to a 10-minute window following deregistration
39
- * where these restrictions have not yet taken effect.</p>
30
+ * <p>Deregisters the specified task definition by family and revision. Upon deregistration, the task
31
+ * definition is marked as <code>INACTIVE</code>. Existing tasks and services that reference an
32
+ * <code>INACTIVE</code> task definition continue to run without disruption. Existing services that
33
+ * reference an <code>INACTIVE</code> task definition can still scale up or down by modifying the
34
+ * service's desired count. If you want to delete a task definition revision, you must first deregister
35
+ * the task definition revision.</p>
36
+ * <p>You can't use an <code>INACTIVE</code> task definition to run new tasks or create new services, and
37
+ * you can't update an existing service to reference an <code>INACTIVE</code> task definition. However,
38
+ * there may be up to a 10-minute window following deregistration where these restrictions have not yet
39
+ * taken effect.</p>
40
40
  * <note>
41
- * <p>At this time, <code>INACTIVE</code> task definitions remain discoverable in your
42
- * account indefinitely. However, this behavior is subject to change in the future. We
43
- * don't recommend that you rely on <code>INACTIVE</code> task definitions persisting
44
- * beyond the lifecycle of any associated tasks and services.</p>
41
+ * <p>At this time, <code>INACTIVE</code> task definitions remain discoverable in your account
42
+ * indefinitely. However, this behavior is subject to change in the future. We don't recommend that
43
+ * you rely on <code>INACTIVE</code> task definitions persisting beyond the lifecycle of any
44
+ * associated tasks and services.</p>
45
45
  * </note>
46
- * <p>You must deregister a task definition revision before you delete it. For more
47
- * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteTaskDefinitions.html">DeleteTaskDefinitions</a>.</p>
46
+ * <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_DeleteTaskDefinitions.html">DeleteTaskDefinitions</a>.</p>
48
47
  * @example
49
48
  * Use a bare-bones client and the command you need to make an API call.
50
49
  * ```javascript
@@ -338,23 +337,21 @@ declare const DeregisterTaskDefinitionCommand_base: {
338
337
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
339
338
  *
340
339
  * @throws {@link ClientException} (client fault)
341
- * <p>These errors are usually caused by a client action. This client action might be using
342
- * an action or resource on behalf of a user that doesn't have permissions to use the
343
- * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
340
+ * <p>These errors are usually caused by a client action. This client action might be using an action or
341
+ * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
342
+ * be specifying an identifier that isn't valid.</p>
344
343
  * <p>The following list includes additional causes for the error:</p>
345
344
  * <ul>
346
345
  * <li>
347
- * <p>The <code>RunTask</code> could not be processed because you use managed
348
- * scaling and there is a capacity error because the quota of tasks in the
349
- * <code>PROVISIONING</code> per cluster has been reached. For information
350
- * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
351
- * service quotas</a>.</p>
346
+ * <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
347
+ * a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
348
+ * 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
349
+ * quotas</a>.</p>
352
350
  * </li>
353
351
  * </ul>
354
352
  *
355
353
  * @throws {@link InvalidParameterException} (client fault)
356
- * <p>The specified parameter isn't valid. Review the available parameters for the API
357
- * request.</p>
354
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
358
355
  *
359
356
  * @throws {@link ServerException} (server fault)
360
357
  * <p>These errors are usually caused by a server issue.</p>