@aws-sdk/client-ecs 3.489.0 → 3.490.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NetworkMode = exports.IpcMode = exports.UlimitName = exports.ResourceType = exports.TransportProtocol = exports.ApplicationProtocol = exports.DeviceCgroupPermission = exports.FirelensConfigurationType = exports.EnvironmentFileType = exports.ContainerCondition = exports.Compatibility = exports.ClusterContainsTasksException = exports.ClusterContainsServicesException = exports.ClusterContainsContainerInstancesException = exports.TargetNotFoundException = exports.TargetType = exports.SettingType = exports.SettingName = exports.ServiceNotFoundException = exports.ServiceNotActiveException = exports.UnsupportedFeatureException = exports.PlatformUnknownException = exports.PlatformTaskDefinitionIncompatibilityException = exports.StabilityStatus = exports.ScaleUnit = exports.DeploymentRolloutState = exports.LogDriver = exports.SchedulingStrategy = exports.PropagateTags = exports.PlacementStrategyType = exports.PlacementConstraintType = exports.AssignPublicIp = exports.LaunchType = exports.DeploymentControllerType = exports.ClusterNotFoundException = exports.NamespaceNotFoundException = exports.ClusterSettingName = exports.ExecuteCommandLogging = exports.UpdateInProgressException = exports.ServerException = exports.LimitExceededException = exports.InvalidParameterException = exports.CapacityProviderUpdateStatus = exports.CapacityProviderStatus = exports.ManagedTerminationProtection = exports.ManagedScalingStatus = exports.ManagedDraining = exports.ClientException = exports.AgentUpdateStatus = exports.AccessDeniedException = void 0;
4
- exports.ExecuteCommandResponseFilterSensitiveLog = exports.SessionFilterSensitiveLog = exports.NoUpdateAvailableException = exports.MissingVersionException = exports.ConflictException = exports.BlockedException = exports.PlatformDeviceType = exports.ResourceInUseException = exports.AttributeLimitExceededException = exports.DesiredStatus = exports.SortOrder = exports.TaskDefinitionFamilyStatus = exports.ContainerInstanceStatus = exports.ResourceNotFoundException = exports.TargetNotConnectedException = exports.TaskSetField = exports.TaskStopCode = exports.ManagedAgentName = exports.HealthStatus = exports.Connectivity = exports.TaskField = exports.TaskDefinitionField = exports.ServiceField = exports.ContainerInstanceField = exports.ClusterField = exports.CapacityProviderField = exports.InstanceHealthCheckType = exports.InstanceHealthCheckState = exports.TaskSetNotFoundException = exports.EFSTransitEncryption = exports.EFSAuthorizationConfigIAM = exports.Scope = exports.TaskDefinitionStatus = exports.OSFamily = exports.CPUArchitecture = exports.ProxyConfigurationType = exports.TaskDefinitionPlacementConstraintType = exports.PidMode = void 0;
3
+ exports.UlimitName = exports.ResourceType = exports.TransportProtocol = exports.ApplicationProtocol = exports.DeviceCgroupPermission = exports.FirelensConfigurationType = exports.EnvironmentFileType = exports.ContainerCondition = exports.Compatibility = exports.ClusterContainsTasksException = exports.ClusterContainsServicesException = exports.ClusterContainsContainerInstancesException = exports.TargetNotFoundException = exports.TargetType = exports.SettingType = exports.SettingName = exports.ServiceNotFoundException = exports.ServiceNotActiveException = exports.UnsupportedFeatureException = exports.PlatformUnknownException = exports.PlatformTaskDefinitionIncompatibilityException = exports.StabilityStatus = exports.ScaleUnit = exports.DeploymentRolloutState = exports.EBSResourceType = exports.TaskFilesystemType = exports.LogDriver = exports.SchedulingStrategy = exports.PropagateTags = exports.PlacementStrategyType = exports.PlacementConstraintType = exports.AssignPublicIp = exports.LaunchType = exports.DeploymentControllerType = exports.ClusterNotFoundException = exports.NamespaceNotFoundException = exports.ClusterSettingName = exports.ExecuteCommandLogging = exports.UpdateInProgressException = exports.ServerException = exports.LimitExceededException = exports.InvalidParameterException = exports.CapacityProviderUpdateStatus = exports.CapacityProviderStatus = exports.ManagedTerminationProtection = exports.ManagedScalingStatus = exports.ManagedDraining = exports.ClientException = exports.AgentUpdateStatus = exports.AccessDeniedException = void 0;
4
+ exports.ExecuteCommandResponseFilterSensitiveLog = exports.SessionFilterSensitiveLog = exports.NoUpdateAvailableException = exports.MissingVersionException = exports.ConflictException = exports.BlockedException = exports.PlatformDeviceType = exports.ResourceInUseException = exports.AttributeLimitExceededException = exports.DesiredStatus = exports.SortOrder = exports.TaskDefinitionFamilyStatus = exports.ContainerInstanceStatus = exports.ResourceNotFoundException = exports.TargetNotConnectedException = exports.TaskSetField = exports.TaskStopCode = exports.ManagedAgentName = exports.HealthStatus = exports.Connectivity = exports.TaskField = exports.TaskDefinitionField = exports.ServiceField = exports.ContainerInstanceField = exports.ClusterField = exports.CapacityProviderField = exports.InstanceHealthCheckType = exports.InstanceHealthCheckState = exports.TaskSetNotFoundException = exports.EFSTransitEncryption = exports.EFSAuthorizationConfigIAM = exports.Scope = exports.TaskDefinitionStatus = exports.OSFamily = exports.CPUArchitecture = exports.ProxyConfigurationType = exports.TaskDefinitionPlacementConstraintType = exports.PidMode = exports.NetworkMode = exports.IpcMode = void 0;
5
5
  const smithy_client_1 = require("@smithy/smithy-client");
6
6
  const ECSServiceException_1 = require("./ECSServiceException");
7
7
  class AccessDeniedException extends ECSServiceException_1.ECSServiceException {
@@ -190,6 +190,14 @@ exports.LogDriver = {
190
190
  SPLUNK: "splunk",
191
191
  SYSLOG: "syslog",
192
192
  };
193
+ exports.TaskFilesystemType = {
194
+ EXT3: "ext3",
195
+ EXT4: "ext4",
196
+ XFS: "xfs",
197
+ };
198
+ exports.EBSResourceType = {
199
+ VOLUME: "volume",
200
+ };
193
201
  exports.DeploymentRolloutState = {
194
202
  COMPLETED: "COMPLETED",
195
203
  FAILED: "FAILED",
@@ -2179,6 +2179,9 @@ const de_StartTaskCommandError = async (output, context) => {
2179
2179
  case "ServerException":
2180
2180
  case "com.amazonaws.ecs#ServerException":
2181
2181
  throw await de_ServerExceptionRes(parsedOutput, context);
2182
+ case "UnsupportedFeatureException":
2183
+ case "com.amazonaws.ecs#UnsupportedFeatureException":
2184
+ throw await de_UnsupportedFeatureExceptionRes(parsedOutput, context);
2182
2185
  default:
2183
2186
  const parsedBody = parsedOutput.body;
2184
2187
  return throwDefaultError({
@@ -2713,6 +2716,9 @@ const de_UpdateServiceCommandError = async (output, context) => {
2713
2716
  case "ServiceNotFoundException":
2714
2717
  case "com.amazonaws.ecs#ServiceNotFoundException":
2715
2718
  throw await de_ServiceNotFoundExceptionRes(parsedOutput, context);
2719
+ case "UnsupportedFeatureException":
2720
+ case "com.amazonaws.ecs#UnsupportedFeatureException":
2721
+ throw await de_UnsupportedFeatureExceptionRes(parsedOutput, context);
2716
2722
  default:
2717
2723
  const parsedBody = parsedOutput.body;
2718
2724
  return throwDefaultError({
@@ -3188,6 +3194,7 @@ const se_RunTaskRequest = (input, context) => {
3188
3194
  startedBy: [],
3189
3195
  tags: smithy_client_1._json,
3190
3196
  taskDefinition: [],
3197
+ volumeConfigurations: smithy_client_1._json,
3191
3198
  });
3192
3199
  };
3193
3200
  const se_Scale = (input, context) => {
@@ -3329,6 +3336,7 @@ const de_Deployment = (output, context) => {
3329
3336
  status: smithy_client_1.expectString,
3330
3337
  taskDefinition: smithy_client_1.expectString,
3331
3338
  updatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
3339
+ volumeConfigurations: smithy_client_1._json,
3332
3340
  });
3333
3341
  };
3334
3342
  const de_Deployments = (output, context) => {
@@ -178,6 +178,14 @@ export const LogDriver = {
178
178
  SPLUNK: "splunk",
179
179
  SYSLOG: "syslog",
180
180
  };
181
+ export const TaskFilesystemType = {
182
+ EXT3: "ext3",
183
+ EXT4: "ext4",
184
+ XFS: "xfs",
185
+ };
186
+ export const EBSResourceType = {
187
+ VOLUME: "volume",
188
+ };
181
189
  export const DeploymentRolloutState = {
182
190
  COMPLETED: "COMPLETED",
183
191
  FAILED: "FAILED",
@@ -2077,6 +2077,9 @@ const de_StartTaskCommandError = async (output, context) => {
2077
2077
  case "ServerException":
2078
2078
  case "com.amazonaws.ecs#ServerException":
2079
2079
  throw await de_ServerExceptionRes(parsedOutput, context);
2080
+ case "UnsupportedFeatureException":
2081
+ case "com.amazonaws.ecs#UnsupportedFeatureException":
2082
+ throw await de_UnsupportedFeatureExceptionRes(parsedOutput, context);
2080
2083
  default:
2081
2084
  const parsedBody = parsedOutput.body;
2082
2085
  return throwDefaultError({
@@ -2599,6 +2602,9 @@ const de_UpdateServiceCommandError = async (output, context) => {
2599
2602
  case "ServiceNotFoundException":
2600
2603
  case "com.amazonaws.ecs#ServiceNotFoundException":
2601
2604
  throw await de_ServiceNotFoundExceptionRes(parsedOutput, context);
2605
+ case "UnsupportedFeatureException":
2606
+ case "com.amazonaws.ecs#UnsupportedFeatureException":
2607
+ throw await de_UnsupportedFeatureExceptionRes(parsedOutput, context);
2602
2608
  default:
2603
2609
  const parsedBody = parsedOutput.body;
2604
2610
  return throwDefaultError({
@@ -3071,6 +3077,7 @@ const se_RunTaskRequest = (input, context) => {
3071
3077
  startedBy: [],
3072
3078
  tags: _json,
3073
3079
  taskDefinition: [],
3080
+ volumeConfigurations: _json,
3074
3081
  });
3075
3082
  };
3076
3083
  const se_Scale = (input, context) => {
@@ -3212,6 +3219,7 @@ const de_Deployment = (output, context) => {
3212
3219
  status: __expectString,
3213
3220
  taskDefinition: __expectString,
3214
3221
  updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3222
+ volumeConfigurations: _json,
3215
3223
  });
3216
3224
  };
3217
3225
  const de_Deployments = (output, context) => {
@@ -32,9 +32,9 @@ declare const CreateClusterCommand_base: {
32
32
  * <note>
33
33
  * <p>When you call the <a>CreateCluster</a> API operation, Amazon ECS attempts to
34
34
  * create the Amazon ECS service-linked role for your account. This is so that it can manage
35
- * required resources in other Amazon Web Services services on your behalf. However, if the user
36
- * that makes the call doesn't have permissions to create the service-linked role, it
37
- * isn't created. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Using
35
+ * required resources in other Amazon Web Services services on your behalf. However, if the user that
36
+ * makes the call doesn't have permissions to create the service-linked role, it isn't
37
+ * created. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Using
38
38
  * service-linked roles for Amazon ECS</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
39
39
  * </note>
40
40
  * @example
@@ -37,6 +37,9 @@ declare const CreateServiceCommand_base: {
37
37
  * optionally run your service behind one or more load balancers. The load balancers
38
38
  * distribute traffic across the tasks that are associated with the service. For more
39
39
  * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html">Service load balancing</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
40
+ * <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or
41
+ * updating a service. <code>volumeConfigurations</code> is only supported for REPLICA
42
+ * service and not DAEMON 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>
40
43
  * <p>Tasks for services that don't use a load balancer are considered healthy if they're in
41
44
  * the <code>RUNNING</code> state. Tasks for services that use a load balancer are
42
45
  * considered healthy if they're in the <code>RUNNING</code> state and are reported as
@@ -225,6 +228,34 @@ declare const CreateServiceCommand_base: {
225
228
  * ],
226
229
  * },
227
230
  * },
231
+ * volumeConfigurations: [ // ServiceVolumeConfigurations
232
+ * { // ServiceVolumeConfiguration
233
+ * name: "STRING_VALUE", // required
234
+ * managedEBSVolume: { // ServiceManagedEBSVolumeConfiguration
235
+ * encrypted: true || false,
236
+ * kmsKeyId: "STRING_VALUE",
237
+ * volumeType: "STRING_VALUE",
238
+ * sizeInGiB: Number("int"),
239
+ * snapshotId: "STRING_VALUE",
240
+ * iops: Number("int"),
241
+ * throughput: Number("int"),
242
+ * tagSpecifications: [ // EBSTagSpecifications
243
+ * { // EBSTagSpecification
244
+ * resourceType: "volume", // required
245
+ * tags: [
246
+ * {
247
+ * key: "STRING_VALUE",
248
+ * value: "STRING_VALUE",
249
+ * },
250
+ * ],
251
+ * propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
252
+ * },
253
+ * ],
254
+ * roleArn: "STRING_VALUE", // required
255
+ * filesystemType: "ext3" || "ext4" || "xfs",
256
+ * },
257
+ * },
258
+ * ],
228
259
  * };
229
260
  * const command = new CreateServiceCommand(input);
230
261
  * const response = await client.send(command);
@@ -414,6 +445,34 @@ declare const CreateServiceCommand_base: {
414
445
  * // discoveryArn: "STRING_VALUE",
415
446
  * // },
416
447
  * // ],
448
+ * // volumeConfigurations: [ // ServiceVolumeConfigurations
449
+ * // { // ServiceVolumeConfiguration
450
+ * // name: "STRING_VALUE", // required
451
+ * // managedEBSVolume: { // ServiceManagedEBSVolumeConfiguration
452
+ * // encrypted: true || false,
453
+ * // kmsKeyId: "STRING_VALUE",
454
+ * // volumeType: "STRING_VALUE",
455
+ * // sizeInGiB: Number("int"),
456
+ * // snapshotId: "STRING_VALUE",
457
+ * // iops: Number("int"),
458
+ * // throughput: Number("int"),
459
+ * // tagSpecifications: [ // EBSTagSpecifications
460
+ * // { // EBSTagSpecification
461
+ * // resourceType: "volume", // required
462
+ * // tags: [
463
+ * // {
464
+ * // key: "STRING_VALUE",
465
+ * // value: "STRING_VALUE",
466
+ * // },
467
+ * // ],
468
+ * // propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
469
+ * // },
470
+ * // ],
471
+ * // roleArn: "STRING_VALUE", // required
472
+ * // filesystemType: "ext3" || "ext4" || "xfs",
473
+ * // },
474
+ * // },
475
+ * // ],
417
476
  * // },
418
477
  * // ],
419
478
  * // roleArn: "STRING_VALUE",
@@ -449,12 +508,7 @@ declare const CreateServiceCommand_base: {
449
508
  * // deploymentController: { // DeploymentController
450
509
  * // type: "ECS" || "CODE_DEPLOY" || "EXTERNAL", // required
451
510
  * // },
452
- * // tags: [
453
- * // {
454
- * // key: "STRING_VALUE",
455
- * // value: "STRING_VALUE",
456
- * // },
457
- * // ],
511
+ * // tags: "<Tags>",
458
512
  * // createdBy: "STRING_VALUE",
459
513
  * // enableECSManagedTags: true || false,
460
514
  * // propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
@@ -26,8 +26,8 @@ declare const DeleteAccountSettingCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * <p>Disables an account setting for a specified user, role, or the root user for
30
- * an account.</p>
29
+ * <p>Disables an account setting for a specified user, role, or the root user for an
30
+ * account.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -246,6 +246,34 @@ declare const DeleteServiceCommand_base: {
246
246
  * // discoveryArn: "STRING_VALUE",
247
247
  * // },
248
248
  * // ],
249
+ * // volumeConfigurations: [ // ServiceVolumeConfigurations
250
+ * // { // ServiceVolumeConfiguration
251
+ * // name: "STRING_VALUE", // required
252
+ * // managedEBSVolume: { // ServiceManagedEBSVolumeConfiguration
253
+ * // encrypted: true || false,
254
+ * // kmsKeyId: "STRING_VALUE",
255
+ * // volumeType: "STRING_VALUE",
256
+ * // sizeInGiB: Number("int"),
257
+ * // snapshotId: "STRING_VALUE",
258
+ * // iops: Number("int"),
259
+ * // throughput: Number("int"),
260
+ * // tagSpecifications: [ // EBSTagSpecifications
261
+ * // { // EBSTagSpecification
262
+ * // resourceType: "volume", // required
263
+ * // tags: [
264
+ * // {
265
+ * // key: "STRING_VALUE",
266
+ * // value: "STRING_VALUE",
267
+ * // },
268
+ * // ],
269
+ * // propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
270
+ * // },
271
+ * // ],
272
+ * // roleArn: "STRING_VALUE", // required
273
+ * // filesystemType: "ext3" || "ext4" || "xfs",
274
+ * // },
275
+ * // },
276
+ * // ],
249
277
  * // },
250
278
  * // ],
251
279
  * // roleArn: "STRING_VALUE",
@@ -281,12 +309,7 @@ declare const DeleteServiceCommand_base: {
281
309
  * // deploymentController: { // DeploymentController
282
310
  * // type: "ECS" || "CODE_DEPLOY" || "EXTERNAL", // required
283
311
  * // },
284
- * // tags: [
285
- * // {
286
- * // key: "STRING_VALUE",
287
- * // value: "STRING_VALUE",
288
- * // },
289
- * // ],
312
+ * // tags: "<Tags>",
290
313
  * // createdBy: "STRING_VALUE",
291
314
  * // enableECSManagedTags: true || false,
292
315
  * // propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
@@ -27,20 +27,25 @@ declare const DeleteTaskDefinitionsCommand_base: {
27
27
  /**
28
28
  * @public
29
29
  * <p>Deletes one or more task definitions.</p>
30
- * <p>You must deregister a task definition revision before you delete it. For more information,
31
- * see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterTaskDefinition.html">DeregisterTaskDefinition</a>.</p>
30
+ * <p>You must deregister a task definition revision before you delete it. For more
31
+ * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterTaskDefinition.html">DeregisterTaskDefinition</a>.</p>
32
32
  * <p>When you delete a task definition revision, it is immediately transitions from the
33
- * <code>INACTIVE</code> to <code>DELETE_IN_PROGRESS</code>. Existing tasks and services
34
- * that reference a <code>DELETE_IN_PROGRESS</code> task definition revision continue to run
35
- * without disruption. Existing services that reference a <code>DELETE_IN_PROGRESS</code> task
36
- * definition revision can still scale up or down by modifying the service's desired
37
- * count.</p>
38
- * <p>You can't use a <code>DELETE_IN_PROGRESS</code> task definition revision to run new tasks
39
- * or create new services. You also can't update an existing service to reference a
40
- * <code>DELETE_IN_PROGRESS</code> task definition revision.</p>
33
+ * <code>INACTIVE</code> to <code>DELETE_IN_PROGRESS</code>. Existing tasks and
34
+ * services that reference a <code>DELETE_IN_PROGRESS</code> task definition revision
35
+ * continue to run without disruption. Existing services that reference a
36
+ * <code>DELETE_IN_PROGRESS</code> task definition revision can still scale up or down
37
+ * by modifying the service's desired count.</p>
38
+ * <p>You can't use a <code>DELETE_IN_PROGRESS</code> task definition revision to run new
39
+ * tasks or create new services. You also can't update an existing service to reference a
40
+ * <code>DELETE_IN_PROGRESS</code> task definition revision.</p>
41
41
  * <p> A task definition revision will stay in <code>DELETE_IN_PROGRESS</code> status until
42
42
  * all the associated tasks and services have been terminated.</p>
43
- * <p>When you delete all <code>INACTIVE</code> task definition revisions, the task definition name is not displayed in the console and not returned in the API. If a task definition revisions are in the <code>DELETE_IN_PROGRESS</code> state, the task definition name is displayed in the console and returned in the API. The task definition name is retained by Amazon ECS and the revision is incremented the next time you create a task definition with that name.</p>
43
+ * <p>When you delete all <code>INACTIVE</code> task definition revisions, the task
44
+ * definition name is not displayed in the console and not returned in the API. If a task
45
+ * definition revisions are in the <code>DELETE_IN_PROGRESS</code> state, the task
46
+ * definition name is displayed in the console and returned in the API. The task definition
47
+ * name is retained by Amazon ECS and the revision is incremented the next time you create a
48
+ * task definition with that name.</p>
44
49
  * @example
45
50
  * Use a bare-bones client and the command you need to make an API call.
46
51
  * ```javascript
@@ -264,6 +269,7 @@ declare const DeleteTaskDefinitionsCommand_base: {
264
269
  * // domain: "STRING_VALUE", // required
265
270
  * // },
266
271
  * // },
272
+ * // configuredAtLaunch: true || false,
267
273
  * // },
268
274
  * // ],
269
275
  * // status: "ACTIVE" || "INACTIVE" || "DELETE_IN_PROGRESS",
@@ -26,12 +26,12 @@ declare const DeregisterTaskDefinitionCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * <p>Deregisters the specified task definition by family and revision. Upon deregistration, the
30
- * task definition is marked as <code>INACTIVE</code>. Existing tasks and services that
29
+ * <p>Deregisters the specified task definition by family and revision. Upon deregistration,
30
+ * the task definition is marked as <code>INACTIVE</code>. Existing tasks and services that
31
31
  * reference an <code>INACTIVE</code> task definition continue to run without disruption.
32
32
  * Existing services that reference an <code>INACTIVE</code> task definition can still
33
- * scale up or down by modifying the service's desired count. If you want to delete a task
34
- * definition revision, you must first deregister the task definition revision.</p>
33
+ * scale up or down by modifying the service's desired count. If you want to delete a task
34
+ * definition revision, you must first deregister the task definition revision.</p>
35
35
  * <p>You can't use an <code>INACTIVE</code> task definition to run new tasks or create new
36
36
  * services, and you can't update an existing service to reference an <code>INACTIVE</code>
37
37
  * task definition. However, there may be up to a 10-minute window following deregistration
@@ -42,8 +42,8 @@ declare const DeregisterTaskDefinitionCommand_base: {
42
42
  * don't recommend that you rely on <code>INACTIVE</code> task definitions persisting
43
43
  * beyond the lifecycle of any associated tasks and services.</p>
44
44
  * </note>
45
- * <p>You must deregister a task definition revision before you delete it. For more information,
46
- * see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteTaskDefinitions.html">DeleteTaskDefinitions</a>.</p>
45
+ * <p>You must deregister a task definition revision before you delete it. For more
46
+ * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteTaskDefinitions.html">DeleteTaskDefinitions</a>.</p>
47
47
  * @example
48
48
  * Use a bare-bones client and the command you need to make an API call.
49
49
  * ```javascript
@@ -264,6 +264,7 @@ declare const DeregisterTaskDefinitionCommand_base: {
264
264
  * // domain: "STRING_VALUE", // required
265
265
  * // },
266
266
  * // },
267
+ * // configuredAtLaunch: true || false,
267
268
  * // },
268
269
  * // ],
269
270
  * // status: "ACTIVE" || "INACTIVE" || "DELETE_IN_PROGRESS",
@@ -231,6 +231,34 @@ declare const DescribeServicesCommand_base: {
231
231
  * // discoveryArn: "STRING_VALUE",
232
232
  * // },
233
233
  * // ],
234
+ * // volumeConfigurations: [ // ServiceVolumeConfigurations
235
+ * // { // ServiceVolumeConfiguration
236
+ * // name: "STRING_VALUE", // required
237
+ * // managedEBSVolume: { // ServiceManagedEBSVolumeConfiguration
238
+ * // encrypted: true || false,
239
+ * // kmsKeyId: "STRING_VALUE",
240
+ * // volumeType: "STRING_VALUE",
241
+ * // sizeInGiB: Number("int"),
242
+ * // snapshotId: "STRING_VALUE",
243
+ * // iops: Number("int"),
244
+ * // throughput: Number("int"),
245
+ * // tagSpecifications: [ // EBSTagSpecifications
246
+ * // { // EBSTagSpecification
247
+ * // resourceType: "volume", // required
248
+ * // tags: [
249
+ * // {
250
+ * // key: "STRING_VALUE",
251
+ * // value: "STRING_VALUE",
252
+ * // },
253
+ * // ],
254
+ * // propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
255
+ * // },
256
+ * // ],
257
+ * // roleArn: "STRING_VALUE", // required
258
+ * // filesystemType: "ext3" || "ext4" || "xfs",
259
+ * // },
260
+ * // },
261
+ * // ],
234
262
  * // },
235
263
  * // ],
236
264
  * // roleArn: "STRING_VALUE",
@@ -266,12 +294,7 @@ declare const DescribeServicesCommand_base: {
266
294
  * // deploymentController: { // DeploymentController
267
295
  * // type: "ECS" || "CODE_DEPLOY" || "EXTERNAL", // required
268
296
  * // },
269
- * // tags: [
270
- * // {
271
- * // key: "STRING_VALUE",
272
- * // value: "STRING_VALUE",
273
- * // },
274
- * // ],
297
+ * // tags: "<Tags>",
275
298
  * // createdBy: "STRING_VALUE",
276
299
  * // enableECSManagedTags: true || false,
277
300
  * // propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
@@ -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",