Skip to content

Commit e56be69

Browse files
author
awstools
committed
feat(client-ecs): This release introduces a new ContainerDefinition configuration to support the customer-managed keys for ECS container restart feature.
1 parent 63cb133 commit e56be69

File tree

60 files changed

+968
-374
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+968
-374
lines changed

clients/client-ecs/src/commands/CreateCapacityProviderCommand.ts

+10
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,16 @@ export interface CreateCapacityProviderCommandOutput extends CreateCapacityProvi
104104
* <p>These errors are usually caused by a client action. This client action might be using
105105
* an action or resource on behalf of a user that doesn't have permissions to use the
106106
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
107+
* <p>The following list includes additional causes for the error:</p>
108+
* <ul>
109+
* <li>
110+
* <p>The <code>RunTask</code> could not be processed because you use managed
111+
* scaling and there is a capacity error because the quota of tasks in the
112+
* <code>PROVISIONING</code> per cluster has been reached. For information
113+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
114+
* service quotas</a>.</p>
115+
* </li>
116+
* </ul>
107117
*
108118
* @throws {@link InvalidParameterException} (client fault)
109119
* <p>The specified parameter isn't valid. Review the available parameters for the API

clients/client-ecs/src/commands/CreateClusterCommand.ts

+10
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,16 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
178178
* <p>These errors are usually caused by a client action. This client action might be using
179179
* an action or resource on behalf of a user that doesn't have permissions to use the
180180
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
181+
* <p>The following list includes additional causes for the error:</p>
182+
* <ul>
183+
* <li>
184+
* <p>The <code>RunTask</code> could not be processed because you use managed
185+
* scaling and there is a capacity error because the quota of tasks in the
186+
* <code>PROVISIONING</code> per cluster has been reached. For information
187+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
188+
* service quotas</a>.</p>
189+
* </li>
190+
* </ul>
181191
*
182192
* @throws {@link InvalidParameterException} (client fault)
183193
* <p>The specified parameter isn't valid. Review the available parameters for the API

clients/client-ecs/src/commands/CreateServiceCommand.ts

+12-2
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
108108
* <p>When creating a service that uses the <code>EXTERNAL</code> deployment controller, you
109109
* can specify only parameters that aren't controlled at the task set level. The only
110110
* required parameter is the service name. You control your services using the <a>CreateTaskSet</a> operation. 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>
111-
* <p>When the service scheduler launches new tasks, it determines task placement. For information
112-
* about task placement and task placement strategies, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement.html">Amazon ECS
111+
* <p>When the service scheduler launches new tasks, it determines task placement. For
112+
* information about task placement and task placement strategies, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement.html">Amazon ECS
113113
* task placement</a> in the <i>Amazon Elastic Container Service Developer Guide</i>
114114
* </p>
115115
* <p>Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service. </p>
@@ -563,6 +563,16 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
563563
* <p>These errors are usually caused by a client action. This client action might be using
564564
* an action or resource on behalf of a user that doesn't have permissions to use the
565565
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
566+
* <p>The following list includes additional causes for the error:</p>
567+
* <ul>
568+
* <li>
569+
* <p>The <code>RunTask</code> could not be processed because you use managed
570+
* scaling and there is a capacity error because the quota of tasks in the
571+
* <code>PROVISIONING</code> per cluster has been reached. For information
572+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
573+
* service quotas</a>.</p>
574+
* </li>
575+
* </ul>
566576
*
567577
* @throws {@link ClusterNotFoundException} (client fault)
568578
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>

clients/client-ecs/src/commands/CreateTaskSetCommand.ts

+11-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __Met
3535
* <note>
3636
* <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>
3737
* </note>
38-
* <p>For information about the maximum number of task sets and otther quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
38+
* <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
3939
* service quotas</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
@@ -183,6 +183,16 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __Met
183183
* <p>These errors are usually caused by a client action. This client action might be using
184184
* an action or resource on behalf of a user that doesn't have permissions to use the
185185
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
186+
* <p>The following list includes additional causes for the error:</p>
187+
* <ul>
188+
* <li>
189+
* <p>The <code>RunTask</code> could not be processed because you use managed
190+
* scaling and there is a capacity error because the quota of tasks in the
191+
* <code>PROVISIONING</code> per cluster has been reached. For information
192+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
193+
* service quotas</a>.</p>
194+
* </li>
195+
* </ul>
186196
*
187197
* @throws {@link ClusterNotFoundException} (client fault)
188198
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>

clients/client-ecs/src/commands/DeleteAccountSettingCommand.ts

+10
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,16 @@ export interface DeleteAccountSettingCommandOutput extends DeleteAccountSettingR
6363
* <p>These errors are usually caused by a client action. This client action might be using
6464
* an action or resource on behalf of a user that doesn't have permissions to use the
6565
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
66+
* <p>The following list includes additional causes for the error:</p>
67+
* <ul>
68+
* <li>
69+
* <p>The <code>RunTask</code> could not be processed because you use managed
70+
* scaling and there is a capacity error because the quota of tasks in the
71+
* <code>PROVISIONING</code> per cluster has been reached. For information
72+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
73+
* service quotas</a>.</p>
74+
* </li>
75+
* </ul>
6676
*
6777
* @throws {@link InvalidParameterException} (client fault)
6878
* <p>The specified parameter isn't valid. Review the available parameters for the API

clients/client-ecs/src/commands/DeleteAttributesCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ export interface DeleteAttributesCommandOutput extends DeleteAttributesResponse,
7676
*
7777
* @throws {@link TargetNotFoundException} (client fault)
7878
* <p>The specified target wasn't found. You can view your available container instances
79-
* with <a>ListContainerInstances</a>. Amazon ECS container instances are
80-
* cluster-specific and Region-specific.</p>
79+
* with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListContainerInstances.html">ListContainerInstances</a>. Amazon ECS container instances are cluster-specific and
80+
* Region-specific.</p>
8181
*
8282
* @throws {@link ECSServiceException}
8383
* <p>Base exception class for all service exceptions from ECS service.</p>

clients/client-ecs/src/commands/DeleteCapacityProviderCommand.ts

+10
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,16 @@ export interface DeleteCapacityProviderCommandOutput extends DeleteCapacityProvi
9494
* <p>These errors are usually caused by a client action. This client action might be using
9595
* an action or resource on behalf of a user that doesn't have permissions to use the
9696
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
97+
* <p>The following list includes additional causes for the error:</p>
98+
* <ul>
99+
* <li>
100+
* <p>The <code>RunTask</code> could not be processed because you use managed
101+
* scaling and there is a capacity error because the quota of tasks in the
102+
* <code>PROVISIONING</code> per cluster has been reached. For information
103+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
104+
* service quotas</a>.</p>
105+
* </li>
106+
* </ul>
97107
*
98108
* @throws {@link InvalidParameterException} (client fault)
99109
* <p>The specified parameter isn't valid. Review the available parameters for the API

clients/client-ecs/src/commands/DeleteClusterCommand.ts

+10
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,16 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
131131
* <p>These errors are usually caused by a client action. This client action might be using
132132
* an action or resource on behalf of a user that doesn't have permissions to use the
133133
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
134+
* <p>The following list includes additional causes for the error:</p>
135+
* <ul>
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>
142+
* </li>
143+
* </ul>
134144
*
135145
* @throws {@link ClusterContainsContainerInstancesException} (client fault)
136146
* <p>You can't delete a cluster that has registered container instances. First, deregister

clients/client-ecs/src/commands/DeleteServiceCommand.ts

+10
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,16 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
348348
* <p>These errors are usually caused by a client action. This client action might be using
349349
* an action or resource on behalf of a user that doesn't have permissions to use the
350350
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
351+
* <p>The following list includes additional causes for the error:</p>
352+
* <ul>
353+
* <li>
354+
* <p>The <code>RunTask</code> could not be processed because you use managed
355+
* scaling and there is a capacity error because the quota of tasks in the
356+
* <code>PROVISIONING</code> per cluster has been reached. For information
357+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
358+
* service quotas</a>.</p>
359+
* </li>
360+
* </ul>
351361
*
352362
* @throws {@link ClusterNotFoundException} (client fault)
353363
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>

clients/client-ecs/src/commands/DeleteTaskDefinitionsCommand.ts

+17
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ export interface DeleteTaskDefinitionsCommandOutput extends DeleteTaskDefinition
8989
* // },
9090
* // ],
9191
* // essential: true || false,
92+
* // restartPolicy: { // ContainerRestartPolicy
93+
* // enabled: true || false, // required
94+
* // ignoredExitCodes: [ // IntegerList
95+
* // Number("int"),
96+
* // ],
97+
* // restartAttemptPeriod: Number("int"),
98+
* // },
9299
* // entryPoint: [
93100
* // "STRING_VALUE",
94101
* // ],
@@ -351,6 +358,16 @@ export interface DeleteTaskDefinitionsCommandOutput extends DeleteTaskDefinition
351358
* <p>These errors are usually caused by a client action. This client action might be using
352359
* an action or resource on behalf of a user that doesn't have permissions to use the
353360
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
361+
* <p>The following list includes additional causes for the error:</p>
362+
* <ul>
363+
* <li>
364+
* <p>The <code>RunTask</code> could not be processed because you use managed
365+
* scaling and there is a capacity error because the quota of tasks in the
366+
* <code>PROVISIONING</code> per cluster has been reached. For information
367+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
368+
* service quotas</a>.</p>
369+
* </li>
370+
* </ul>
354371
*
355372
* @throws {@link InvalidParameterException} (client fault)
356373
* <p>The specified parameter isn't valid. Review the available parameters for the API

clients/client-ecs/src/commands/DeleteTaskSetCommand.ts

+10
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,16 @@ export interface DeleteTaskSetCommandOutput extends DeleteTaskSetResponse, __Met
129129
* <p>These errors are usually caused by a client action. This client action might be using
130130
* an action or resource on behalf of a user that doesn't have permissions to use the
131131
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
132+
* <p>The following list includes additional causes for the error:</p>
133+
* <ul>
134+
* <li>
135+
* <p>The <code>RunTask</code> could not be processed because you use managed
136+
* scaling and there is a capacity error because the quota of tasks in the
137+
* <code>PROVISIONING</code> per cluster has been reached. For information
138+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
139+
* service quotas</a>.</p>
140+
* </li>
141+
* </ul>
132142
*
133143
* @throws {@link ClusterNotFoundException} (client fault)
134144
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>

clients/client-ecs/src/commands/DeregisterContainerInstanceCommand.ts

+10
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,16 @@ export interface DeregisterContainerInstanceCommandOutput
152152
* <p>These errors are usually caused by a client action. This client action might be using
153153
* an action or resource on behalf of a user that doesn't have permissions to use the
154154
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
155+
* <p>The following list includes additional causes for the error:</p>
156+
* <ul>
157+
* <li>
158+
* <p>The <code>RunTask</code> could not be processed because you use managed
159+
* scaling and there is a capacity error because the quota of tasks in the
160+
* <code>PROVISIONING</code> per cluster has been reached. For information
161+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
162+
* service quotas</a>.</p>
163+
* </li>
164+
* </ul>
155165
*
156166
* @throws {@link ClusterNotFoundException} (client fault)
157167
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>

clients/client-ecs/src/commands/DeregisterTaskDefinitionCommand.ts

+17
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ export interface DeregisterTaskDefinitionCommandOutput extends DeregisterTaskDef
8484
* // },
8585
* // ],
8686
* // essential: true || false,
87+
* // restartPolicy: { // ContainerRestartPolicy
88+
* // enabled: true || false, // required
89+
* // ignoredExitCodes: [ // IntegerList
90+
* // Number("int"),
91+
* // ],
92+
* // restartAttemptPeriod: Number("int"),
93+
* // },
8794
* // entryPoint: [
8895
* // "STRING_VALUE",
8996
* // ],
@@ -335,6 +342,16 @@ export interface DeregisterTaskDefinitionCommandOutput extends DeregisterTaskDef
335342
* <p>These errors are usually caused by a client action. This client action might be using
336343
* an action or resource on behalf of a user that doesn't have permissions to use the
337344
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
345+
* <p>The following list includes additional causes for the error:</p>
346+
* <ul>
347+
* <li>
348+
* <p>The <code>RunTask</code> could not be processed because you use managed
349+
* scaling and there is a capacity error because the quota of tasks in the
350+
* <code>PROVISIONING</code> per cluster has been reached. For information
351+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
352+
* service quotas</a>.</p>
353+
* </li>
354+
* </ul>
338355
*
339356
* @throws {@link InvalidParameterException} (client fault)
340357
* <p>The specified parameter isn't valid. Review the available parameters for the API

clients/client-ecs/src/commands/DescribeCapacityProvidersCommand.ts

+10
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,16 @@ export interface DescribeCapacityProvidersCommandOutput extends DescribeCapacity
9797
* <p>These errors are usually caused by a client action. This client action might be using
9898
* an action or resource on behalf of a user that doesn't have permissions to use the
9999
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
100+
* <p>The following list includes additional causes for the error:</p>
101+
* <ul>
102+
* <li>
103+
* <p>The <code>RunTask</code> could not be processed because you use managed
104+
* scaling and there is a capacity error because the quota of tasks in the
105+
* <code>PROVISIONING</code> per cluster has been reached. For information
106+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
107+
* service quotas</a>.</p>
108+
* </li>
109+
* </ul>
100110
*
101111
* @throws {@link InvalidParameterException} (client fault)
102112
* <p>The specified parameter isn't valid. Review the available parameters for the API

0 commit comments

Comments
 (0)