@aws-sdk/client-ecs 3.489.0 → 3.495.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 (104) hide show
  1. package/dist-cjs/ECS.js +1 -123
  2. package/dist-cjs/ECSClient.js +1 -43
  3. package/dist-cjs/commands/CreateCapacityProviderCommand.js +1 -28
  4. package/dist-cjs/commands/CreateClusterCommand.js +1 -28
  5. package/dist-cjs/commands/CreateServiceCommand.js +1 -28
  6. package/dist-cjs/commands/CreateTaskSetCommand.js +1 -28
  7. package/dist-cjs/commands/DeleteAccountSettingCommand.js +1 -28
  8. package/dist-cjs/commands/DeleteAttributesCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteCapacityProviderCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteClusterCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteServiceCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteTaskDefinitionsCommand.js +1 -28
  13. package/dist-cjs/commands/DeleteTaskSetCommand.js +1 -28
  14. package/dist-cjs/commands/DeregisterContainerInstanceCommand.js +1 -28
  15. package/dist-cjs/commands/DeregisterTaskDefinitionCommand.js +1 -28
  16. package/dist-cjs/commands/DescribeCapacityProvidersCommand.js +1 -28
  17. package/dist-cjs/commands/DescribeClustersCommand.js +1 -28
  18. package/dist-cjs/commands/DescribeContainerInstancesCommand.js +1 -28
  19. package/dist-cjs/commands/DescribeServicesCommand.js +1 -28
  20. package/dist-cjs/commands/DescribeTaskDefinitionCommand.js +1 -28
  21. package/dist-cjs/commands/DescribeTaskSetsCommand.js +1 -28
  22. package/dist-cjs/commands/DescribeTasksCommand.js +1 -28
  23. package/dist-cjs/commands/DiscoverPollEndpointCommand.js +1 -28
  24. package/dist-cjs/commands/ExecuteCommandCommand.js +1 -29
  25. package/dist-cjs/commands/GetTaskProtectionCommand.js +1 -28
  26. package/dist-cjs/commands/ListAccountSettingsCommand.js +1 -28
  27. package/dist-cjs/commands/ListAttributesCommand.js +1 -28
  28. package/dist-cjs/commands/ListClustersCommand.js +1 -28
  29. package/dist-cjs/commands/ListContainerInstancesCommand.js +1 -28
  30. package/dist-cjs/commands/ListServicesByNamespaceCommand.js +1 -28
  31. package/dist-cjs/commands/ListServicesCommand.js +1 -28
  32. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  33. package/dist-cjs/commands/ListTaskDefinitionFamiliesCommand.js +1 -28
  34. package/dist-cjs/commands/ListTaskDefinitionsCommand.js +1 -28
  35. package/dist-cjs/commands/ListTasksCommand.js +1 -28
  36. package/dist-cjs/commands/PutAccountSettingCommand.js +1 -28
  37. package/dist-cjs/commands/PutAccountSettingDefaultCommand.js +1 -28
  38. package/dist-cjs/commands/PutAttributesCommand.js +1 -28
  39. package/dist-cjs/commands/PutClusterCapacityProvidersCommand.js +1 -28
  40. package/dist-cjs/commands/RegisterContainerInstanceCommand.js +1 -28
  41. package/dist-cjs/commands/RegisterTaskDefinitionCommand.js +1 -28
  42. package/dist-cjs/commands/RunTaskCommand.js +1 -28
  43. package/dist-cjs/commands/StartTaskCommand.js +1 -28
  44. package/dist-cjs/commands/StopTaskCommand.js +1 -28
  45. package/dist-cjs/commands/SubmitAttachmentStateChangesCommand.js +1 -28
  46. package/dist-cjs/commands/SubmitContainerStateChangeCommand.js +1 -28
  47. package/dist-cjs/commands/SubmitTaskStateChangeCommand.js +1 -28
  48. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  49. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  50. package/dist-cjs/commands/UpdateCapacityProviderCommand.js +1 -28
  51. package/dist-cjs/commands/UpdateClusterCommand.js +1 -28
  52. package/dist-cjs/commands/UpdateClusterSettingsCommand.js +1 -28
  53. package/dist-cjs/commands/UpdateContainerAgentCommand.js +1 -28
  54. package/dist-cjs/commands/UpdateContainerInstancesStateCommand.js +1 -28
  55. package/dist-cjs/commands/UpdateServiceCommand.js +1 -28
  56. package/dist-cjs/commands/UpdateServicePrimaryTaskSetCommand.js +1 -28
  57. package/dist-cjs/commands/UpdateTaskProtectionCommand.js +1 -28
  58. package/dist-cjs/commands/UpdateTaskSetCommand.js +1 -28
  59. package/dist-cjs/commands/index.js +1 -59
  60. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  61. package/dist-cjs/extensionConfiguration.js +1 -2
  62. package/dist-cjs/index.js +6154 -12
  63. package/dist-cjs/models/ECSServiceException.js +1 -12
  64. package/dist-cjs/models/index.js +1 -4
  65. package/dist-cjs/models/models_0.js +1 -651
  66. package/dist-cjs/pagination/Interfaces.js +1 -2
  67. package/dist-cjs/pagination/ListAccountSettingsPaginator.js +1 -7
  68. package/dist-cjs/pagination/ListAttributesPaginator.js +1 -7
  69. package/dist-cjs/pagination/ListClustersPaginator.js +1 -7
  70. package/dist-cjs/pagination/ListContainerInstancesPaginator.js +1 -7
  71. package/dist-cjs/pagination/ListServicesByNamespacePaginator.js +1 -7
  72. package/dist-cjs/pagination/ListServicesPaginator.js +1 -7
  73. package/dist-cjs/pagination/ListTaskDefinitionFamiliesPaginator.js +1 -7
  74. package/dist-cjs/pagination/ListTaskDefinitionsPaginator.js +1 -7
  75. package/dist-cjs/pagination/ListTasksPaginator.js +1 -7
  76. package/dist-cjs/pagination/index.js +1 -13
  77. package/dist-cjs/protocols/Aws_json1_1.js +1 -3768
  78. package/dist-cjs/runtimeExtensions.js +1 -22
  79. package/dist-cjs/waiters/index.js +1 -7
  80. package/dist-cjs/waiters/waitForServicesInactive.js +1 -57
  81. package/dist-cjs/waiters/waitForServicesStable.js +1 -84
  82. package/dist-cjs/waiters/waitForTasksRunning.js +1 -74
  83. package/dist-cjs/waiters/waitForTasksStopped.js +1 -44
  84. package/dist-es/models/models_0.js +8 -0
  85. package/dist-es/protocols/Aws_json1_1.js +8 -0
  86. package/dist-types/commands/CreateClusterCommand.d.ts +3 -3
  87. package/dist-types/commands/CreateServiceCommand.d.ts +60 -6
  88. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +2 -2
  89. package/dist-types/commands/DeleteServiceCommand.d.ts +29 -6
  90. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +17 -11
  91. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +7 -6
  92. package/dist-types/commands/DescribeServicesCommand.d.ts +29 -6
  93. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +1 -0
  94. package/dist-types/commands/ExecuteCommandCommand.d.ts +7 -6
  95. package/dist-types/commands/ListTasksCommand.d.ts +2 -2
  96. package/dist-types/commands/PutAccountSettingCommand.d.ts +12 -11
  97. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +2 -3
  98. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +6 -4
  99. package/dist-types/commands/RunTaskCommand.d.ts +36 -4
  100. package/dist-types/commands/StartTaskCommand.d.ts +36 -0
  101. package/dist-types/commands/UpdateServiceCommand.d.ts +72 -9
  102. package/dist-types/models/models_0.d.ts +757 -230
  103. package/dist-types/ts3.4/models/models_0.d.ts +59 -0
  104. package/package.json +41 -41
@@ -257,6 +257,7 @@ declare const DescribeTaskDefinitionCommand_base: {
257
257
  * // domain: "STRING_VALUE", // required
258
258
  * // },
259
259
  * // },
260
+ * // configuredAtLaunch: true || false,
260
261
  * // },
261
262
  * // ],
262
263
  * // status: "ACTIVE" || "INACTIVE" || "DELETE_IN_PROGRESS",
@@ -27,12 +27,13 @@ declare const ExecuteCommandCommand_base: {
27
27
  /**
28
28
  * @public
29
29
  * <p>Runs a command remotely on a container within a task.</p>
30
- * <p>If you use a condition key in your IAM policy to refine the conditions for the policy
31
- * statement, for example limit the actions to a specific cluster, you receive an
30
+ * <p>If you use a condition key in your IAM policy to refine the conditions for the
31
+ * policy statement, for example limit the actions to a specific cluster, you receive an
32
32
  * <code>AccessDeniedException</code> when there is a mismatch between the condition
33
33
  * key value and the corresponding parameter value.</p>
34
- * <p>For information about required permissions and considerations, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html">Using Amazon ECS Exec for
35
- * debugging</a> in the <i>Amazon ECS Developer Guide</i>. </p>
34
+ * <p>For information about required permissions and considerations, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html">Using Amazon ECS
35
+ * Exec for debugging</a> in the <i>Amazon ECS Developer Guide</i>.
36
+ * </p>
36
37
  * @example
37
38
  * Use a bare-bones client and the command you need to make an API call.
38
39
  * ```javascript
@@ -98,8 +99,8 @@ declare const ExecuteCommandCommand_base: {
98
99
  * <p>The SSM agent is not installed or is not running</p>
99
100
  * </li>
100
101
  * <li>
101
- * <p> There is an interface Amazon VPC endpoint for Amazon ECS, but there is not one for Systems
102
- * Manager Session Manager</p>
102
+ * <p> There is an interface Amazon VPC endpoint for Amazon ECS, but there is not one for
103
+ * Systems Manager Session Manager</p>
103
104
  * </li>
104
105
  * </ul>
105
106
  * <p>For information about how to troubleshoot the issues, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html">Troubleshooting issues with ECS
@@ -27,8 +27,8 @@ declare const ListTasksCommand_base: {
27
27
  /**
28
28
  * @public
29
29
  * <p>Returns a list of tasks. You can filter the results by cluster, task definition
30
- * family, container instance, launch type, what IAM principal started the task, or by the
31
- * desired status of the task.</p>
30
+ * family, container instance, launch type, what IAM principal started the task, or by
31
+ * the desired status of the task.</p>
32
32
  * <p>Recently stopped tasks might appear in the returned results. </p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
@@ -27,25 +27,25 @@ declare const PutAccountSettingCommand_base: {
27
27
  /**
28
28
  * @public
29
29
  * <p>Modifies an account setting. Account settings are set on a per-Region basis.</p>
30
- * <p>If you change the root user account setting, the default settings are reset for users
31
- * and roles that do not have specified individual account settings. For more information,
32
- * see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html">Account
30
+ * <p>If you change the root user account setting, the default settings are reset for users and
31
+ * roles that do not have specified individual account settings. For more information, see
32
+ * <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html">Account
33
33
  * Settings</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
34
- * <p>When you specify <code>serviceLongArnFormat</code>, <code>taskLongArnFormat</code>, or
34
+ * <p>When you specify <code>serviceLongArnFormat</code>, <code>taskLongArnFormat</code>, or
35
35
  * <code>containerInstanceLongArnFormat</code>, the Amazon Resource Name (ARN) and
36
36
  * resource ID format of the resource type for a specified user, role, or the root user for an
37
37
  * account is affected. The opt-in and opt-out account setting must be set for each Amazon ECS
38
38
  * resource separately. The ARN and resource ID format of a resource is defined by the
39
39
  * opt-in status of the user or role that created the resource. You must turn on this
40
40
  * setting to use Amazon ECS features such as resource tagging.</p>
41
- * <p>When you specify <code>awsvpcTrunking</code>, the elastic network interface (ENI) limit for
42
- * any new container instances that support the feature is changed. If
41
+ * <p>When you specify <code>awsvpcTrunking</code>, the elastic network interface (ENI)
42
+ * limit for any new container instances that support the feature is changed. If
43
43
  * <code>awsvpcTrunking</code> is turned on, any new container instances that support
44
44
  * the feature are launched have the increased ENI limits available to them. For more
45
45
  * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html">Elastic Network
46
46
  * Interface Trunking</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
47
- * <p>When you specify <code>containerInsights</code>, the default setting indicating whether
48
- * Amazon Web Services CloudWatch Container Insights is turned on for your clusters is changed. If
47
+ * <p>When you specify <code>containerInsights</code>, the default setting indicating
48
+ * whether Amazon Web Services CloudWatch Container Insights is turned on for your clusters is changed. If
49
49
  * <code>containerInsights</code> is turned on, any new clusters that are created will
50
50
  * have Container Insights turned on unless you disable it during cluster creation. For
51
51
  * more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html">CloudWatch
@@ -57,12 +57,13 @@ declare const PutAccountSettingCommand_base: {
57
57
  * you must grant explicit permissions to use the <code>ecs:TagResource</code> action. For
58
58
  * more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html">Grant
59
59
  * permission to tag resources on creation</a> in the <i>Amazon ECS Developer
60
- * Guide</i>.</p>
60
+ * Guide</i>.</p>
61
61
  * <p>When Amazon Web Services determines that a security or infrastructure update is needed for an Amazon ECS
62
62
  * task hosted on Fargate, the tasks need to be stopped and new tasks launched to replace
63
63
  * them. Use <code>fargateTaskRetirementWaitPeriod</code> to configure the wait time to
64
- * retire a Fargate task. For information about the Fargate tasks maintenance, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html">Amazon Web Services Fargate task maintenance</a> in the <i>Amazon ECS Developer
65
- * Guide</i>.</p>
64
+ * retire a Fargate task. For information about the Fargate tasks maintenance, see
65
+ * <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html">Amazon Web Services Fargate task
66
+ * maintenance</a> in the <i>Amazon ECS Developer Guide</i>.</p>
66
67
  * <p>The <code>guardDutyActivate</code> parameter is read-only in Amazon ECS and indicates whether
67
68
  * Amazon ECS Runtime Monitoring is enabled or disabled by your security administrator in your
68
69
  * Amazon ECS account. Amazon GuardDuty controls this account setting on your behalf. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html">Protecting Amazon ECS workloads with Amazon ECS Runtime Monitoring</a>.</p>
@@ -26,9 +26,8 @@ declare const PutAccountSettingDefaultCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * <p>Modifies an account setting for all users on an account for whom no individual
30
- * account setting has been specified. Account settings are set on a per-Region
31
- * basis.</p>
29
+ * <p>Modifies an account setting for all users on an account for whom no individual account
30
+ * setting has been specified. Account settings are set on a per-Region basis.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -31,10 +31,10 @@ declare const RegisterTaskDefinitionCommand_base: {
31
31
  * containers with the <code>volumes</code> parameter. For more information about task
32
32
  * definition parameters and defaults, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html">Amazon ECS Task
33
33
  * Definitions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
34
- * <p>You can specify a role for your task with the <code>taskRoleArn</code> parameter.
35
- * When you specify a role for a task, its containers can then use the latest versions
36
- * of the CLI or SDKs to make API requests to the Amazon Web Services services that are specified in
37
- * the policy that's associated with the role. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html">IAM
34
+ * <p>You can specify a role for your task with the <code>taskRoleArn</code> parameter. When
35
+ * you specify a role for a task, its containers can then use the latest versions of the
36
+ * CLI or SDKs to make API requests to the Amazon Web Services services that are specified in the
37
+ * policy that's associated with the role. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html">IAM
38
38
  * Roles for Tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
39
39
  * <p>You can specify a Docker networking mode for the containers in your task definition
40
40
  * with the <code>networkMode</code> parameter. The available network modes correspond to
@@ -256,6 +256,7 @@ declare const RegisterTaskDefinitionCommand_base: {
256
256
  * domain: "STRING_VALUE", // required
257
257
  * },
258
258
  * },
259
+ * configuredAtLaunch: true || false,
259
260
  * },
260
261
  * ],
261
262
  * placementConstraints: [ // TaskDefinitionPlacementConstraints
@@ -512,6 +513,7 @@ declare const RegisterTaskDefinitionCommand_base: {
512
513
  * // domain: "STRING_VALUE", // required
513
514
  * // },
514
515
  * // },
516
+ * // configuredAtLaunch: true || false,
515
517
  * // },
516
518
  * // ],
517
519
  * // status: "ACTIVE" || "INACTIVE" || "DELETE_IN_PROGRESS",
@@ -35,6 +35,8 @@ declare const RunTaskCommand_base: {
35
35
  * <note>
36
36
  * <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>
37
37
  * </note>
38
+ * <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or
39
+ * updating a service. For more infomation, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
38
40
  * <p>The Amazon ECS API follows an eventual consistency model. This is because of the
39
41
  * distributed nature of the system supporting the API. This means that the result of an
40
42
  * API command you run that affects your Amazon ECS resources might not be immediately visible
@@ -156,6 +158,37 @@ declare const RunTaskCommand_base: {
156
158
  * ],
157
159
  * taskDefinition: "STRING_VALUE", // required
158
160
  * clientToken: "STRING_VALUE",
161
+ * volumeConfigurations: [ // TaskVolumeConfigurations
162
+ * { // TaskVolumeConfiguration
163
+ * name: "STRING_VALUE", // required
164
+ * managedEBSVolume: { // TaskManagedEBSVolumeConfiguration
165
+ * encrypted: true || false,
166
+ * kmsKeyId: "STRING_VALUE",
167
+ * volumeType: "STRING_VALUE",
168
+ * sizeInGiB: Number("int"),
169
+ * snapshotId: "STRING_VALUE",
170
+ * iops: Number("int"),
171
+ * throughput: Number("int"),
172
+ * tagSpecifications: [ // EBSTagSpecifications
173
+ * { // EBSTagSpecification
174
+ * resourceType: "volume", // required
175
+ * tags: [
176
+ * {
177
+ * key: "STRING_VALUE",
178
+ * value: "STRING_VALUE",
179
+ * },
180
+ * ],
181
+ * propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
182
+ * },
183
+ * ],
184
+ * roleArn: "STRING_VALUE", // required
185
+ * terminationPolicy: { // TaskManagedEBSVolumeTerminationPolicy
186
+ * deleteOnTermination: true || false, // required
187
+ * },
188
+ * filesystemType: "ext3" || "ext4" || "xfs",
189
+ * },
190
+ * },
191
+ * ],
159
192
  * };
160
193
  * const command = new RunTaskCommand(input);
161
194
  * const response = await client.send(command);
@@ -358,12 +391,11 @@ declare const RunTaskCommand_base: {
358
391
  * <p>To fix this issue:</p>
359
392
  * <ul>
360
393
  * <li>
361
- * <p>Run <code>RunTask</code> with a unique
362
- * <code>clientToken</code>.</p>
394
+ * <p>Run <code>RunTask</code> with a unique <code>clientToken</code>.</p>
363
395
  * </li>
364
396
  * <li>
365
- * <p>Run <code>RunTask</code> with the <code>clientToken</code> and the original set of
366
- * parameters</p>
397
+ * <p>Run <code>RunTask</code> with the <code>clientToken</code> and the original
398
+ * set of parameters</p>
367
399
  * </li>
368
400
  * </ul>
369
401
  *
@@ -33,6 +33,8 @@ declare const StartTaskCommand_base: {
33
33
  * </note>
34
34
  * <p>Alternatively, you can use <a>RunTask</a> to place tasks for you. For more
35
35
  * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html">Scheduling Tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
36
+ * <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or
37
+ * updating a service. For more infomation, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
36
38
  * @example
37
39
  * Use a bare-bones client and the command you need to make an API call.
38
40
  * ```javascript
@@ -110,6 +112,37 @@ declare const StartTaskCommand_base: {
110
112
  * },
111
113
  * ],
112
114
  * taskDefinition: "STRING_VALUE", // required
115
+ * volumeConfigurations: [ // TaskVolumeConfigurations
116
+ * { // TaskVolumeConfiguration
117
+ * name: "STRING_VALUE", // required
118
+ * managedEBSVolume: { // TaskManagedEBSVolumeConfiguration
119
+ * encrypted: true || false,
120
+ * kmsKeyId: "STRING_VALUE",
121
+ * volumeType: "STRING_VALUE",
122
+ * sizeInGiB: Number("int"),
123
+ * snapshotId: "STRING_VALUE",
124
+ * iops: Number("int"),
125
+ * throughput: Number("int"),
126
+ * tagSpecifications: [ // EBSTagSpecifications
127
+ * { // EBSTagSpecification
128
+ * resourceType: "volume", // required
129
+ * tags: [
130
+ * {
131
+ * key: "STRING_VALUE",
132
+ * value: "STRING_VALUE",
133
+ * },
134
+ * ],
135
+ * propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
136
+ * },
137
+ * ],
138
+ * roleArn: "STRING_VALUE", // required
139
+ * terminationPolicy: { // TaskManagedEBSVolumeTerminationPolicy
140
+ * deleteOnTermination: true || false, // required
141
+ * },
142
+ * filesystemType: "ext3" || "ext4" || "xfs",
143
+ * },
144
+ * },
145
+ * ],
113
146
  * };
114
147
  * const command = new StartTaskCommand(input);
115
148
  * const response = await client.send(command);
@@ -304,6 +337,9 @@ declare const StartTaskCommand_base: {
304
337
  * @throws {@link ServerException} (server fault)
305
338
  * <p>These errors are usually caused by a server issue.</p>
306
339
  *
340
+ * @throws {@link UnsupportedFeatureException} (client fault)
341
+ * <p>The specified task isn't supported in this Region.</p>
342
+ *
307
343
  * @throws {@link ECSServiceException}
308
344
  * <p>Base exception class for all service exceptions from ECS service.</p>
309
345
  *
@@ -32,6 +32,13 @@ declare const UpdateServiceCommand_base: {
32
32
  * registries, enable ECS managed tags option, propagate tags option, task placement
33
33
  * constraints and strategies, and task definition. When you update any of these
34
34
  * parameters, Amazon ECS starts new tasks with the new configuration. </p>
35
+ * <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or
36
+ * running a task, or when creating or updating a service. For more infomation, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. You can update
37
+ * your volume configurations and trigger a new deployment.
38
+ * <code>volumeConfigurations</code> is only supported for REPLICA service and not
39
+ * DAEMON service. If you leave <code>volumeConfigurations</code>
40
+ * <code>null</code>, it doesn't trigger a new deployment. For more infomation on volumes,
41
+ * see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
35
42
  * <p>For services using the blue/green (<code>CODE_DEPLOY</code>) deployment controller,
36
43
  * only the desired count, deployment configuration, health check grace period, task
37
44
  * placement constraints and strategies, enable ECS managed tags option, and propagate tags
@@ -46,7 +53,9 @@ declare const UpdateServiceCommand_base: {
46
53
  * <p>You can add to or subtract from the number of instantiations of a task definition in a
47
54
  * service by specifying the cluster that the service is running in and a new
48
55
  * <code>desiredCount</code> parameter.</p>
49
- * <p>If you have updated the Docker image of your application, you can create a new task
56
+ * <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or
57
+ * running a task, or when creating or updating a service. For more infomation, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
58
+ * <p>If you have updated the container image of your application, you can create a new task
50
59
  * definition with that image and deploy it to your service. The service scheduler uses the
51
60
  * minimum healthy percent and maximum percent parameters (in the service's deployment
52
61
  * configuration) to determine the deployment strategy.</p>
@@ -145,8 +154,8 @@ declare const UpdateServiceCommand_base: {
145
154
  * </p>
146
155
  * </li>
147
156
  * </ul>
148
- * <p>For more information about the role see the <code>CreateService</code> request parameter
149
- * <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html#ECS-CreateService-request-role">
157
+ * <p>For more information about the role see the <code>CreateService</code> request
158
+ * parameter <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html#ECS-CreateService-request-role">
150
159
  * <code>role</code>
151
160
  * </a>. </p>
152
161
  * </note>
@@ -257,6 +266,34 @@ declare const UpdateServiceCommand_base: {
257
266
  * ],
258
267
  * },
259
268
  * },
269
+ * volumeConfigurations: [ // ServiceVolumeConfigurations
270
+ * { // ServiceVolumeConfiguration
271
+ * name: "STRING_VALUE", // required
272
+ * managedEBSVolume: { // ServiceManagedEBSVolumeConfiguration
273
+ * encrypted: true || false,
274
+ * kmsKeyId: "STRING_VALUE",
275
+ * volumeType: "STRING_VALUE",
276
+ * sizeInGiB: Number("int"),
277
+ * snapshotId: "STRING_VALUE",
278
+ * iops: Number("int"),
279
+ * throughput: Number("int"),
280
+ * tagSpecifications: [ // EBSTagSpecifications
281
+ * { // EBSTagSpecification
282
+ * resourceType: "volume", // required
283
+ * tags: [ // Tags
284
+ * { // Tag
285
+ * key: "STRING_VALUE",
286
+ * value: "STRING_VALUE",
287
+ * },
288
+ * ],
289
+ * propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
290
+ * },
291
+ * ],
292
+ * roleArn: "STRING_VALUE", // required
293
+ * filesystemType: "ext3" || "ext4" || "xfs",
294
+ * },
295
+ * },
296
+ * ],
260
297
  * };
261
298
  * const command = new UpdateServiceCommand(input);
262
299
  * const response = await client.send(command);
@@ -446,6 +483,34 @@ declare const UpdateServiceCommand_base: {
446
483
  * // discoveryArn: "STRING_VALUE",
447
484
  * // },
448
485
  * // ],
486
+ * // volumeConfigurations: [ // ServiceVolumeConfigurations
487
+ * // { // ServiceVolumeConfiguration
488
+ * // name: "STRING_VALUE", // required
489
+ * // managedEBSVolume: { // ServiceManagedEBSVolumeConfiguration
490
+ * // encrypted: true || false,
491
+ * // kmsKeyId: "STRING_VALUE",
492
+ * // volumeType: "STRING_VALUE",
493
+ * // sizeInGiB: Number("int"),
494
+ * // snapshotId: "STRING_VALUE",
495
+ * // iops: Number("int"),
496
+ * // throughput: Number("int"),
497
+ * // tagSpecifications: [ // EBSTagSpecifications
498
+ * // { // EBSTagSpecification
499
+ * // resourceType: "volume", // required
500
+ * // tags: [
501
+ * // {
502
+ * // key: "STRING_VALUE",
503
+ * // value: "STRING_VALUE",
504
+ * // },
505
+ * // ],
506
+ * // propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
507
+ * // },
508
+ * // ],
509
+ * // roleArn: "STRING_VALUE", // required
510
+ * // filesystemType: "ext3" || "ext4" || "xfs",
511
+ * // },
512
+ * // },
513
+ * // ],
449
514
  * // },
450
515
  * // ],
451
516
  * // roleArn: "STRING_VALUE",
@@ -481,12 +546,7 @@ declare const UpdateServiceCommand_base: {
481
546
  * // deploymentController: { // DeploymentController
482
547
  * // type: "ECS" || "CODE_DEPLOY" || "EXTERNAL", // required
483
548
  * // },
484
- * // tags: [
485
- * // {
486
- * // key: "STRING_VALUE",
487
- * // value: "STRING_VALUE",
488
- * // },
489
- * // ],
549
+ * // tags: "<Tags>",
490
550
  * // createdBy: "STRING_VALUE",
491
551
  * // enableECSManagedTags: true || false,
492
552
  * // propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
@@ -538,6 +598,9 @@ declare const UpdateServiceCommand_base: {
538
598
  * <p>The specified service wasn't found. You can view your available services with <a>ListServices</a>. Amazon ECS services are cluster specific and Region
539
599
  * specific.</p>
540
600
  *
601
+ * @throws {@link UnsupportedFeatureException} (client fault)
602
+ * <p>The specified task isn't supported in this Region.</p>
603
+ *
541
604
  * @throws {@link ECSServiceException}
542
605
  * <p>Base exception class for all service exceptions from ECS service.</p>
543
606
  *