Skip to content

Commit 11300e3

Browse files
author
awstools
committed
feat(client-ecs): This release extends functionality for Amazon EBS volumes attached to Amazon ECS tasks by adding support for the new EBS volumeInitializationRate parameter in ECS RunTask/StartTask/CreateService/UpdateService APIs.
1 parent 99fb61c commit 11300e3

File tree

62 files changed

+939
-176
lines changed

Some content is hidden

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

62 files changed

+939
-176
lines changed

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,22 @@ 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
110120
* request.</p>
111-
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service event messages</a>. </p>
121+
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service
122+
* event messages</a>. </p>
112123
*
113124
* @throws {@link LimitExceededException} (client fault)
114125
* <p>The limit for the resource was exceeded.</p>

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,22 @@ 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
184194
* request.</p>
185-
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service event messages</a>. </p>
195+
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service
196+
* event messages</a>. </p>
186197
*
187198
* @throws {@link NamespaceNotFoundException} (client fault)
188199
* <p>The specified namespace wasn't found.</p>

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
255255
* volumeType: "STRING_VALUE",
256256
* sizeInGiB: Number("int"),
257257
* snapshotId: "STRING_VALUE",
258+
* volumeInitializationRate: Number("int"),
258259
* iops: Number("int"),
259260
* throughput: Number("int"),
260261
* tagSpecifications: [ // EBSTagSpecifications
@@ -493,6 +494,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
493494
* // volumeType: "STRING_VALUE",
494495
* // sizeInGiB: Number("int"),
495496
* // snapshotId: "STRING_VALUE",
497+
* // volumeInitializationRate: Number("int"),
496498
* // iops: Number("int"),
497499
* // throughput: Number("int"),
498500
* // tagSpecifications: [ // EBSTagSpecifications
@@ -581,14 +583,25 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
581583
* <p>These errors are usually caused by a client action. This client action might be using
582584
* an action or resource on behalf of a user that doesn't have permissions to use the
583585
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
586+
* <p>The following list includes additional causes for the error:</p>
587+
* <ul>
588+
* <li>
589+
* <p>The <code>RunTask</code> could not be processed because you use managed
590+
* scaling and there is a capacity error because the quota of tasks in the
591+
* <code>PROVISIONING</code> per cluster has been reached. For information
592+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
593+
* service quotas</a>.</p>
594+
* </li>
595+
* </ul>
584596
*
585597
* @throws {@link ClusterNotFoundException} (client fault)
586598
* <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>
587599
*
588600
* @throws {@link InvalidParameterException} (client fault)
589601
* <p>The specified parameter isn't valid. Review the available parameters for the API
590602
* request.</p>
591-
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service event messages</a>. </p>
603+
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service
604+
* event messages</a>. </p>
592605
*
593606
* @throws {@link NamespaceNotFoundException} (client fault)
594607
* <p>The specified namespace wasn't found.</p>

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,14 +183,25 @@ 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 href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html">ListClusters</a>. Amazon ECS clusters are Region specific.</p>
189199
*
190200
* @throws {@link InvalidParameterException} (client fault)
191201
* <p>The specified parameter isn't valid. Review the available parameters for the API
192202
* request.</p>
193-
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service event messages</a>. </p>
203+
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service
204+
* event messages</a>. </p>
194205
*
195206
* @throws {@link NamespaceNotFoundException} (client fault)
196207
* <p>The specified namespace wasn't found.</p>

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,22 @@ 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
6979
* request.</p>
70-
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service event messages</a>. </p>
80+
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service
81+
* event messages</a>. </p>
7182
*
7283
* @throws {@link ServerException} (server fault)
7384
* <p>These errors are usually caused by a server issue.</p>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ export interface DeleteAttributesCommandOutput extends DeleteAttributesResponse,
7373
* @throws {@link InvalidParameterException} (client fault)
7474
* <p>The specified parameter isn't valid. Review the available parameters for the API
7575
* request.</p>
76-
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service event messages</a>. </p>
76+
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service
77+
* event messages</a>. </p>
7778
*
7879
* @throws {@link TargetNotFoundException} (client fault)
7980
* <p>The specified target wasn't found. You can view your available container instances

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

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

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

Lines changed: 12 additions & 1 deletion
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
@@ -152,7 +162,8 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
152162
* @throws {@link InvalidParameterException} (client fault)
153163
* <p>The specified parameter isn't valid. Review the available parameters for the API
154164
* request.</p>
155-
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service event messages</a>. </p>
165+
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service
166+
* event messages</a>. </p>
156167
*
157168
* @throws {@link ServerException} (server fault)
158169
* <p>These errors are usually caused by a server issue.</p>

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
271271
* // volumeType: "STRING_VALUE",
272272
* // sizeInGiB: Number("int"),
273273
* // snapshotId: "STRING_VALUE",
274+
* // volumeInitializationRate: Number("int"),
274275
* // iops: Number("int"),
275276
* // throughput: Number("int"),
276277
* // tagSpecifications: [ // EBSTagSpecifications
@@ -356,14 +357,25 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
356357
* <p>These errors are usually caused by a client action. This client action might be using
357358
* an action or resource on behalf of a user that doesn't have permissions to use the
358359
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
360+
* <p>The following list includes additional causes for the error:</p>
361+
* <ul>
362+
* <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>
368+
* </li>
369+
* </ul>
359370
*
360371
* @throws {@link ClusterNotFoundException} (client fault)
361372
* <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>
362373
*
363374
* @throws {@link InvalidParameterException} (client fault)
364375
* <p>The specified parameter isn't valid. Review the available parameters for the API
365376
* request.</p>
366-
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service event messages</a>. </p>
377+
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service
378+
* event messages</a>. </p>
367379
*
368380
* @throws {@link ServerException} (server fault)
369381
* <p>These errors are usually caused by a server issue.</p>

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

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,11 +360,22 @@ export interface DeleteTaskDefinitionsCommandOutput extends DeleteTaskDefinition
360360
* <p>These errors are usually caused by a client action. This client action might be using
361361
* an action or resource on behalf of a user that doesn't have permissions to use the
362362
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
363+
* <p>The following list includes additional causes for the error:</p>
364+
* <ul>
365+
* <li>
366+
* <p>The <code>RunTask</code> could not be processed because you use managed
367+
* scaling and there is a capacity error because the quota of tasks in the
368+
* <code>PROVISIONING</code> per cluster has been reached. For information
369+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
370+
* service quotas</a>.</p>
371+
* </li>
372+
* </ul>
363373
*
364374
* @throws {@link InvalidParameterException} (client fault)
365375
* <p>The specified parameter isn't valid. Review the available parameters for the API
366376
* request.</p>
367-
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service event messages</a>. </p>
377+
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service
378+
* event messages</a>. </p>
368379
*
369380
* @throws {@link ServerException} (server fault)
370381
* <p>These errors are usually caused by a server issue.</p>
@@ -400,7 +411,7 @@ export interface DeleteTaskDefinitionsCommandOutput extends DeleteTaskDefinition
400411
* ],
401412
* environment: [],
402413
* essential: true,
403-
* image: "ubuntu",
414+
* image: "public.ecr.aws/docker/library/ubuntu:latest",
404415
* memory: 100,
405416
* mountPoints: [],
406417
* name: "wave",

0 commit comments

Comments
 (0)