@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
@@ -28,20 +28,18 @@ declare const StopTaskCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Stops a running task. Any tags associated with the task will be deleted.</p>
31
- * <p>When you call <code>StopTask</code> on a task, the equivalent of <code>docker
32
- * stop</code> is issued to the containers running in the task. This results in a
33
- * <code>SIGTERM</code> value and a default 30-second timeout, after which the
34
- * <code>SIGKILL</code> value is sent and the containers are forcibly stopped. If the
35
- * container handles the <code>SIGTERM</code> value gracefully and exits within 30 seconds
31
+ * <p>When you call <code>StopTask</code> on a task, the equivalent of <code>docker stop</code> is issued
32
+ * to the containers running in the task. This results in a <code>SIGTERM</code> value and a default
33
+ * 30-second timeout, after which the <code>SIGKILL</code> value is sent and the containers are forcibly
34
+ * stopped. If the container handles the <code>SIGTERM</code> value gracefully and exits within 30 seconds
36
35
  * from receiving it, no <code>SIGKILL</code> value is sent.</p>
37
- * <p>For Windows containers, POSIX signals do not work and runtime stops the container by
38
- * sending a <code>CTRL_SHUTDOWN_EVENT</code>. For more information, see <a href="https://github.com/moby/moby/issues/25982">Unable to react to graceful shutdown
39
- * of (Windows) container #25982</a> on GitHub.</p>
36
+ * <p>For Windows containers, POSIX signals do not work and runtime stops the container by sending a
37
+ * <code>CTRL_SHUTDOWN_EVENT</code>. For more information, see <a href="https://github.com/moby/moby/issues/25982">Unable to react to graceful shutdown of (Windows)
38
+ * container #25982</a> on GitHub.</p>
40
39
  * <note>
41
- * <p>The default 30-second timeout can be configured on the Amazon ECS container agent with
42
- * the <code>ECS_CONTAINER_STOP_TIMEOUT</code> variable. For more information, see
43
- * <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html">Amazon ECS Container Agent Configuration</a> in the
44
- * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
40
+ * <p>The default 30-second timeout can be configured on the Amazon ECS container agent with the
41
+ * <code>ECS_CONTAINER_STOP_TIMEOUT</code> variable. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html">Amazon ECS
42
+ * Container Agent Configuration</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
45
43
  * </note>
46
44
  * @example
47
45
  * Use a bare-bones client and the command you need to make an API call.
@@ -228,17 +226,16 @@ declare const StopTaskCommand_base: {
228
226
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
229
227
  *
230
228
  * @throws {@link ClientException} (client fault)
231
- * <p>These errors are usually caused by a client action. This client action might be using
232
- * an action or resource on behalf of a user that doesn't have permissions to use the
233
- * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
229
+ * <p>These errors are usually caused by a client action. This client action might be using an action or
230
+ * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
231
+ * be specifying an identifier that isn't valid.</p>
234
232
  * <p>The following list includes additional causes for the error:</p>
235
233
  * <ul>
236
234
  * <li>
237
- * <p>The <code>RunTask</code> could not be processed because you use managed
238
- * scaling and there is a capacity error because the quota of tasks in the
239
- * <code>PROVISIONING</code> per cluster has been reached. For information
240
- * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
241
- * service quotas</a>.</p>
235
+ * <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
236
+ * a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
237
+ * 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
238
+ * quotas</a>.</p>
242
239
  * </li>
243
240
  * </ul>
244
241
  *
@@ -246,8 +243,7 @@ declare const StopTaskCommand_base: {
246
243
  * <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>
247
244
  *
248
245
  * @throws {@link InvalidParameterException} (client fault)
249
- * <p>The specified parameter isn't valid. Review the available parameters for the API
250
- * request.</p>
246
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
251
247
  *
252
248
  * @throws {@link ServerException} (server fault)
253
249
  * <p>These errors are usually caused by a server issue.</p>
@@ -64,23 +64,21 @@ declare const SubmitAttachmentStateChangesCommand_base: {
64
64
  * <p>You don't have authorization to perform the requested action.</p>
65
65
  *
66
66
  * @throws {@link ClientException} (client fault)
67
- * <p>These errors are usually caused by a client action. This client action might be using
68
- * an action or resource on behalf of a user that doesn't have permissions to use the
69
- * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
67
+ * <p>These errors are usually caused by a client action. This client action might be using an action or
68
+ * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
69
+ * be specifying an identifier that isn't valid.</p>
70
70
  * <p>The following list includes additional causes for the error:</p>
71
71
  * <ul>
72
72
  * <li>
73
- * <p>The <code>RunTask</code> could not be processed because you use managed
74
- * scaling and there is a capacity error because the quota of tasks in the
75
- * <code>PROVISIONING</code> per cluster has been reached. For information
76
- * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
77
- * service quotas</a>.</p>
73
+ * <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
74
+ * a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
75
+ * 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
76
+ * quotas</a>.</p>
78
77
  * </li>
79
78
  * </ul>
80
79
  *
81
80
  * @throws {@link InvalidParameterException} (client fault)
82
- * <p>The specified parameter isn't valid. Review the available parameters for the API
83
- * request.</p>
81
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
84
82
  *
85
83
  * @throws {@link ServerException} (server fault)
86
84
  * <p>These errors are usually caused by a server issue.</p>
@@ -74,17 +74,16 @@ declare const SubmitContainerStateChangeCommand_base: {
74
74
  * <p>You don't have authorization to perform the requested action.</p>
75
75
  *
76
76
  * @throws {@link ClientException} (client fault)
77
- * <p>These errors are usually caused by a client action. This client action might be using
78
- * an action or resource on behalf of a user that doesn't have permissions to use the
79
- * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
77
+ * <p>These errors are usually caused by a client action. This client action might be using an action or
78
+ * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
79
+ * be specifying an identifier that isn't valid.</p>
80
80
  * <p>The following list includes additional causes for the error:</p>
81
81
  * <ul>
82
82
  * <li>
83
- * <p>The <code>RunTask</code> could not be processed because you use managed
84
- * scaling and there is a capacity error because the quota of tasks in the
85
- * <code>PROVISIONING</code> per cluster has been reached. For information
86
- * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
87
- * service quotas</a>.</p>
83
+ * <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
84
+ * a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
85
+ * 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
86
+ * quotas</a>.</p>
88
87
  * </li>
89
88
  * </ul>
90
89
  *
@@ -98,23 +98,21 @@ declare const SubmitTaskStateChangeCommand_base: {
98
98
  * <p>You don't have authorization to perform the requested action.</p>
99
99
  *
100
100
  * @throws {@link ClientException} (client fault)
101
- * <p>These errors are usually caused by a client action. This client action might be using
102
- * an action or resource on behalf of a user that doesn't have permissions to use the
103
- * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
101
+ * <p>These errors are usually caused by a client action. This client action might be using an action or
102
+ * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
103
+ * be specifying an identifier that isn't valid.</p>
104
104
  * <p>The following list includes additional causes for the error:</p>
105
105
  * <ul>
106
106
  * <li>
107
- * <p>The <code>RunTask</code> could not be processed because you use managed
108
- * scaling and there is a capacity error because the quota of tasks in the
109
- * <code>PROVISIONING</code> per cluster has been reached. For information
110
- * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
111
- * service quotas</a>.</p>
107
+ * <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
108
+ * a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
109
+ * 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
110
+ * quotas</a>.</p>
112
111
  * </li>
113
112
  * </ul>
114
113
  *
115
114
  * @throws {@link InvalidParameterException} (client fault)
116
- * <p>The specified parameter isn't valid. Review the available parameters for the API
117
- * request.</p>
115
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
118
116
  *
119
117
  * @throws {@link ServerException} (server fault)
120
118
  * <p>These errors are usually caused by a server issue.</p>
@@ -27,10 +27,9 @@ declare const TagResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Associates the specified tags to a resource with the specified
31
- * <code>resourceArn</code>. If existing tags on a resource aren't specified in the
32
- * request parameters, they aren't changed. When a resource is deleted, the tags that are
33
- * associated with that resource are deleted as well.</p>
30
+ * <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>. If existing
31
+ * tags on a resource aren't specified in the request parameters, they aren't changed. When a resource is
32
+ * deleted, the tags that are associated with that resource are deleted as well.</p>
34
33
  * @example
35
34
  * Use a bare-bones client and the command you need to make an API call.
36
35
  * ```javascript
@@ -59,17 +58,16 @@ declare const TagResourceCommand_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
  *
@@ -77,8 +75,7 @@ declare const TagResourceCommand_base: {
77
75
  * <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>
78
76
  *
79
77
  * @throws {@link InvalidParameterException} (client fault)
80
- * <p>The specified parameter isn't valid. Review the available parameters for the API
81
- * request.</p>
78
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
82
79
  *
83
80
  * @throws {@link ResourceNotFoundException} (client fault)
84
81
  * <p>The specified resource wasn't found.</p>
@@ -53,17 +53,16 @@ declare const UntagResourceCommand_base: {
53
53
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
54
54
  *
55
55
  * @throws {@link ClientException} (client fault)
56
- * <p>These errors are usually caused by a client action. This client action might be using
57
- * an action or resource on behalf of a user that doesn't have permissions to use the
58
- * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
56
+ * <p>These errors are usually caused by a client action. This client action might be using an action or
57
+ * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
58
+ * be specifying an identifier that isn't valid.</p>
59
59
  * <p>The following list includes additional causes for the error:</p>
60
60
  * <ul>
61
61
  * <li>
62
- * <p>The <code>RunTask</code> could not be processed because you use managed
63
- * scaling and there is a capacity error because the quota of tasks in the
64
- * <code>PROVISIONING</code> per cluster has been reached. For information
65
- * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
66
- * service quotas</a>.</p>
62
+ * <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
63
+ * a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
64
+ * 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
65
+ * quotas</a>.</p>
67
66
  * </li>
68
67
  * </ul>
69
68
  *
@@ -71,8 +70,7 @@ declare const UntagResourceCommand_base: {
71
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>
72
71
  *
73
72
  * @throws {@link InvalidParameterException} (client fault)
74
- * <p>The specified parameter isn't valid. Review the available parameters for the API
75
- * request.</p>
73
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
76
74
  *
77
75
  * @throws {@link ResourceNotFoundException} (client fault)
78
76
  * <p>The specified resource wasn't found.</p>
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
- import { UpdateCapacityProviderRequest, UpdateCapacityProviderResponse } from "../models/models_0";
4
+ import { UpdateCapacityProviderRequest, UpdateCapacityProviderResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -87,23 +87,21 @@ declare const UpdateCapacityProviderCommand_base: {
87
87
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
88
88
  *
89
89
  * @throws {@link ClientException} (client fault)
90
- * <p>These errors are usually caused by a client action. This client action might be using
91
- * an action or resource on behalf of a user that doesn't have permissions to use the
92
- * 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>
93
93
  * <p>The following list includes additional causes for the error:</p>
94
94
  * <ul>
95
95
  * <li>
96
- * <p>The <code>RunTask</code> could not be processed because you use managed
97
- * scaling and there is a capacity error because the quota of tasks in the
98
- * <code>PROVISIONING</code> per cluster has been reached. For information
99
- * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
100
- * 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>
101
100
  * </li>
102
101
  * </ul>
103
102
  *
104
103
  * @throws {@link InvalidParameterException} (client fault)
105
- * <p>The specified parameter isn't valid. Review the available parameters for the API
106
- * request.</p>
104
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
107
105
  *
108
106
  * @throws {@link ServerException} (server fault)
109
107
  * <p>These errors are usually caused by a server issue.</p>
@@ -148,17 +148,16 @@ declare const UpdateClusterCommand_base: {
148
148
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
149
149
  *
150
150
  * @throws {@link ClientException} (client fault)
151
- * <p>These errors are usually caused by a client action. This client action might be using
152
- * an action or resource on behalf of a user that doesn't have permissions to use the
153
- * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
151
+ * <p>These errors are usually caused by a client action. This client action might be using an action or
152
+ * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
153
+ * be specifying an identifier that isn't valid.</p>
154
154
  * <p>The following list includes additional causes for the error:</p>
155
155
  * <ul>
156
156
  * <li>
157
- * <p>The <code>RunTask</code> could not be processed because you use managed
158
- * scaling and there is a capacity error because the quota of tasks in the
159
- * <code>PROVISIONING</code> per cluster has been reached. For information
160
- * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
161
- * service quotas</a>.</p>
157
+ * <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
158
+ * a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
159
+ * 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
160
+ * quotas</a>.</p>
162
161
  * </li>
163
162
  * </ul>
164
163
  *
@@ -166,8 +165,7 @@ declare const UpdateClusterCommand_base: {
166
165
  * <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>
167
166
  *
168
167
  * @throws {@link InvalidParameterException} (client fault)
169
- * <p>The specified parameter isn't valid. Review the available parameters for the API
170
- * request.</p>
168
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
171
169
  *
172
170
  * @throws {@link NamespaceNotFoundException} (client fault)
173
171
  * <p>The specified namespace wasn't found.</p>
@@ -128,17 +128,16 @@ declare const UpdateClusterSettingsCommand_base: {
128
128
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
129
129
  *
130
130
  * @throws {@link ClientException} (client fault)
131
- * <p>These errors are usually caused by a client action. This client action might be using
132
- * an action or resource on behalf of a user that doesn't have permissions to use the
133
- * 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>
134
134
  * <p>The following list includes additional causes for the error:</p>
135
135
  * <ul>
136
136
  * <li>
137
- * <p>The <code>RunTask</code> could not be processed because you use managed
138
- * scaling and there is a capacity error because the quota of tasks in the
139
- * <code>PROVISIONING</code> per cluster has been reached. For information
140
- * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
141
- * 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>
142
141
  * </li>
143
142
  * </ul>
144
143
  *
@@ -146,8 +145,7 @@ declare const UpdateClusterSettingsCommand_base: {
146
145
  * <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>
147
146
  *
148
147
  * @throws {@link InvalidParameterException} (client fault)
149
- * <p>The specified parameter isn't valid. Review the available parameters for the API
150
- * request.</p>
148
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
151
149
  *
152
150
  * @throws {@link ServerException} (server fault)
153
151
  * <p>These errors are usually caused by a server issue.</p>
@@ -27,25 +27,25 @@ declare const UpdateContainerAgentCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Updates the Amazon ECS container agent on a specified container instance. Updating the
31
- * Amazon ECS container agent doesn't interrupt running tasks or services on the container
32
- * instance. The process for updating the agent differs depending on whether your container
33
- * instance was launched with the Amazon ECS-optimized AMI or another operating system.</p>
30
+ * <p>Updates the Amazon ECS container agent on a specified container instance. Updating the Amazon ECS container
31
+ * agent doesn't interrupt running tasks or services on the container instance. The process for updating
32
+ * the agent differs depending on whether your container instance was launched with the Amazon ECS-optimized
33
+ * AMI or another operating system.</p>
34
34
  * <note>
35
- * <p>The <code>UpdateContainerAgent</code> API isn't supported for container instances
36
- * using the Amazon ECS-optimized Amazon Linux 2 (arm64) AMI. To update the container agent,
37
- * you can update the <code>ecs-init</code> package. This updates the agent. For more
38
- * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/agent-update-ecs-ami.html">Updating the
39
- * Amazon ECS container agent</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
35
+ * <p>The <code>UpdateContainerAgent</code> API isn't supported for container instances using the
36
+ * Amazon ECS-optimized Amazon Linux 2 (arm64) AMI. To update the container agent, you can update the
37
+ * <code>ecs-init</code> package. This updates the agent. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/agent-update-ecs-ami.html">Updating
38
+ * the Amazon ECS container agent</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
40
39
  * </note>
41
40
  * <note>
42
- * <p>Agent updates with the <code>UpdateContainerAgent</code> API operation do not
43
- * apply to Windows container instances. We recommend that you launch new container
44
- * instances to update the agent version in your Windows clusters.</p>
41
+ * <p>Agent updates with the <code>UpdateContainerAgent</code> API operation do not apply to Windows
42
+ * container instances. We recommend that you launch new container instances to update the agent
43
+ * version in your Windows clusters.</p>
45
44
  * </note>
46
- * <p>The <code>UpdateContainerAgent</code> API requires an Amazon ECS-optimized AMI or Amazon
47
- * Linux AMI with the <code>ecs-init</code> service installed and running. For help
48
- * updating the Amazon ECS container agent on other operating systems, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html#manually_update_agent">Manually updating the Amazon ECS container agent</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
45
+ * <p>The <code>UpdateContainerAgent</code> API requires an Amazon ECS-optimized AMI or Amazon Linux AMI with
46
+ * the <code>ecs-init</code> service installed and running. For help updating the Amazon ECS container agent on
47
+ * other operating systems, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html#manually_update_agent">Manually updating
48
+ * the Amazon ECS container agent</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
49
49
  * @example
50
50
  * Use a bare-bones client and the command you need to make an API call.
51
51
  * ```javascript
@@ -150,17 +150,16 @@ declare const UpdateContainerAgentCommand_base: {
150
150
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
151
151
  *
152
152
  * @throws {@link ClientException} (client fault)
153
- * <p>These errors are usually caused by a client action. This client action might be using
154
- * an action or resource on behalf of a user that doesn't have permissions to use the
155
- * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
153
+ * <p>These errors are usually caused by a client action. This client action might be using an action or
154
+ * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
155
+ * be specifying an identifier that isn't valid.</p>
156
156
  * <p>The following list includes additional causes for the error:</p>
157
157
  * <ul>
158
158
  * <li>
159
- * <p>The <code>RunTask</code> could not be processed because you use managed
160
- * scaling and there is a capacity error because the quota of tasks in the
161
- * <code>PROVISIONING</code> per cluster has been reached. For information
162
- * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
163
- * service quotas</a>.</p>
159
+ * <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
160
+ * a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
161
+ * 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
162
+ * quotas</a>.</p>
164
163
  * </li>
165
164
  * </ul>
166
165
  *
@@ -168,29 +167,26 @@ declare const UpdateContainerAgentCommand_base: {
168
167
  * <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>
169
168
  *
170
169
  * @throws {@link InvalidParameterException} (client fault)
171
- * <p>The specified parameter isn't valid. Review the available parameters for the API
172
- * request.</p>
170
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
173
171
  *
174
172
  * @throws {@link MissingVersionException} (client fault)
175
- * <p>Amazon ECS can't determine the current version of the Amazon ECS container agent on the
176
- * container instance and doesn't have enough information to proceed with an update. This
177
- * could be because the agent running on the container instance is a previous or custom
178
- * version that doesn't use our version information.</p>
173
+ * <p>Amazon ECS can't determine the current version of the Amazon ECS container agent on the container instance and
174
+ * doesn't have enough information to proceed with an update. This could be because the agent running on
175
+ * the container instance is a previous or custom version that doesn't use our version information.</p>
179
176
  *
180
177
  * @throws {@link NoUpdateAvailableException} (client fault)
181
- * <p>There's no update available for this Amazon ECS container agent. This might be because the
182
- * agent is already running the latest version or because it's so old that there's no
183
- * update path to the current version.</p>
178
+ * <p>There's no update available for this Amazon ECS container agent. This might be because the agent is
179
+ * already running the latest version or because it's so old that there's no update path to the current
180
+ * version.</p>
184
181
  *
185
182
  * @throws {@link ServerException} (server fault)
186
183
  * <p>These errors are usually caused by a server issue.</p>
187
184
  *
188
185
  * @throws {@link UpdateInProgressException} (client fault)
189
- * <p>There's already a current Amazon ECS container agent update in progress on the container
190
- * instance that's specified. If the container agent becomes disconnected while it's in a
191
- * transitional stage, such as <code>PENDING</code> or <code>STAGING</code>, the update
192
- * process can get stuck in that state. However, when the agent reconnects, it resumes
193
- * where it stopped previously.</p>
186
+ * <p>There's already a current Amazon ECS container agent update in progress on the container instance that's
187
+ * specified. If the container agent becomes disconnected while it's in a transitional stage, such as
188
+ * <code>PENDING</code> or <code>STAGING</code>, the update process can get stuck in that state.
189
+ * However, when the agent reconnects, it resumes where it stopped previously.</p>
194
190
  *
195
191
  * @throws {@link ECSServiceException}
196
192
  * <p>Base exception class for all service exceptions from ECS service.</p>