@aws-sdk/client-ecs 3.808.0 → 3.809.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 (63) hide show
  1. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +12 -1
  2. package/dist-types/commands/CreateClusterCommand.d.ts +12 -1
  3. package/dist-types/commands/CreateServiceCommand.d.ts +14 -1
  4. package/dist-types/commands/CreateTaskSetCommand.d.ts +12 -1
  5. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +12 -1
  6. package/dist-types/commands/DeleteAttributesCommand.d.ts +2 -1
  7. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +12 -1
  8. package/dist-types/commands/DeleteClusterCommand.d.ts +12 -1
  9. package/dist-types/commands/DeleteServiceCommand.d.ts +13 -1
  10. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +13 -2
  11. package/dist-types/commands/DeleteTaskSetCommand.d.ts +12 -1
  12. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +12 -1
  13. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +27 -18
  14. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +12 -1
  15. package/dist-types/commands/DescribeClustersCommand.d.ts +12 -1
  16. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +12 -1
  17. package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +12 -1
  18. package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +13 -1
  19. package/dist-types/commands/DescribeServicesCommand.d.ts +13 -1
  20. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +12 -1
  21. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +12 -1
  22. package/dist-types/commands/DescribeTasksCommand.d.ts +12 -1
  23. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +10 -0
  24. package/dist-types/commands/ExecuteCommandCommand.d.ts +12 -1
  25. package/dist-types/commands/GetTaskProtectionCommand.d.ts +12 -1
  26. package/dist-types/commands/ListAccountSettingsCommand.d.ts +12 -1
  27. package/dist-types/commands/ListAttributesCommand.d.ts +2 -1
  28. package/dist-types/commands/ListClustersCommand.d.ts +12 -1
  29. package/dist-types/commands/ListContainerInstancesCommand.d.ts +12 -1
  30. package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +12 -1
  31. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +12 -1
  32. package/dist-types/commands/ListServicesCommand.d.ts +12 -1
  33. package/dist-types/commands/ListTagsForResourceCommand.d.ts +12 -1
  34. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +12 -1
  35. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +12 -1
  36. package/dist-types/commands/ListTasksCommand.d.ts +12 -1
  37. package/dist-types/commands/PutAccountSettingCommand.d.ts +12 -1
  38. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +12 -1
  39. package/dist-types/commands/PutAttributesCommand.d.ts +2 -1
  40. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +12 -1
  41. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +12 -1
  42. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +14 -3
  43. package/dist-types/commands/RunTaskCommand.d.ts +13 -6
  44. package/dist-types/commands/StartTaskCommand.d.ts +13 -1
  45. package/dist-types/commands/StopServiceDeploymentCommand.d.ts +15 -13
  46. package/dist-types/commands/StopTaskCommand.d.ts +12 -1
  47. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +12 -1
  48. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +10 -0
  49. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +12 -1
  50. package/dist-types/commands/TagResourceCommand.d.ts +12 -1
  51. package/dist-types/commands/UntagResourceCommand.d.ts +12 -1
  52. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +12 -1
  53. package/dist-types/commands/UpdateClusterCommand.d.ts +12 -1
  54. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +12 -1
  55. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +12 -1
  56. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +12 -1
  57. package/dist-types/commands/UpdateServiceCommand.d.ts +14 -1
  58. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +12 -1
  59. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +12 -1
  60. package/dist-types/commands/UpdateTaskSetCommand.d.ts +12 -1
  61. package/dist-types/models/models_0.d.ts +169 -41
  62. package/dist-types/ts3.4/models/models_0.d.ts +2 -0
  63. package/package.json +1 -1
@@ -32,6 +32,16 @@ export type AgentUpdateStatus = (typeof AgentUpdateStatus)[keyof typeof AgentUpd
32
32
  * <p>These errors are usually caused by a client action. This client action might be using
33
33
  * an action or resource on behalf of a user that doesn't have permissions to use the
34
34
  * action or resource. Or, it might be specifying an identifier that isn't valid.</p>
35
+ * <p>The following list includes additional causes for the error:</p>
36
+ * <ul>
37
+ * <li>
38
+ * <p>The <code>RunTask</code> could not be processed because you use managed
39
+ * scaling and there is a capacity error because the quota of tasks in the
40
+ * <code>PROVISIONING</code> per cluster has been reached. For information
41
+ * about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
42
+ * service quotas</a>.</p>
43
+ * </li>
44
+ * </ul>
35
45
  * @public
36
46
  */
37
47
  export declare class ClientException extends __BaseException {
@@ -411,7 +421,8 @@ export interface CreateCapacityProviderResponse {
411
421
  /**
412
422
  * <p>The specified parameter isn't valid. Review the available parameters for the API
413
423
  * request.</p>
414
- * <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>
424
+ * <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
425
+ * event messages</a>. </p>
415
426
  * @public
416
427
  */
417
428
  export declare class InvalidParameterException extends __BaseException {
@@ -565,13 +576,22 @@ export interface ExecuteCommandConfiguration {
565
576
  */
566
577
  export interface ManagedStorageConfiguration {
567
578
  /**
568
- * <p>Specify a Key Management Service key ID to encrypt the managed storage.</p>
579
+ * <p>Specify a Key Management Service key ID to encrypt Amazon ECS managed storage.</p>
580
+ * <p> When you specify a <code>kmsKeyId</code>, Amazon ECS uses the key to encrypt data volumes
581
+ * managed by Amazon ECS that are attached to tasks in the cluster. The following data volumes
582
+ * are managed by Amazon ECS: Amazon EBS. For more information about encryption of Amazon EBS volumes
583
+ * attached to Amazon ECS tasks, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-kms-encryption.html">Encrypt data stored in Amazon EBS volumes for Amazon ECS</a> in the
584
+ * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
569
585
  * <p>The key must be a single Region key.</p>
570
586
  * @public
571
587
  */
572
588
  kmsKeyId?: string | undefined;
573
589
  /**
574
- * <p>Specify the Key Management Service key ID for the Fargate ephemeral storage.</p>
590
+ * <p>Specify the Key Management Service key ID for Fargate ephemeral storage.</p>
591
+ * <p>When you specify a <code>fargateEphemeralStorageKmsKeyId</code>, Amazon Web Services Fargate uses
592
+ * the key to encrypt data at rest in ephemeral storage. For more information about
593
+ * Fargate ephemeral storage encryption, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-storage-encryption.html">Customer managed keys for Amazon Web Services Fargate ephemeral storage for
594
+ * Amazon ECS</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
575
595
  * <p>The key must be a single Region key.</p>
576
596
  * @public
577
597
  */
@@ -943,7 +963,7 @@ export interface Cluster {
943
963
  */
944
964
  clusterName?: string | undefined;
945
965
  /**
946
- * <p>The execute command configuration for the cluster.</p>
966
+ * <p>The execute command and managed storage configuration for the cluster.</p>
947
967
  * @public
948
968
  */
949
969
  configuration?: ClusterConfiguration | undefined;
@@ -2331,19 +2351,21 @@ export interface EBSTagSpecification {
2331
2351
  */
2332
2352
  export interface ServiceManagedEBSVolumeConfiguration {
2333
2353
  /**
2334
- * <p>Indicates whether the volume should be encrypted. If no value is specified, encryption
2335
- * is turned on by default. This parameter maps 1:1 with the <code>Encrypted</code>
2336
- * parameter of the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html">CreateVolume API</a> in
2337
- * the <i>Amazon EC2 API Reference</i>.</p>
2354
+ * <p>Indicates whether the volume should be encrypted. If you turn on Region-level Amazon EBS
2355
+ * encryption by default but set this value as <code>false</code>, the setting is
2356
+ * overridden and the volume is encrypted with the KMS key specified for Amazon EBS encryption
2357
+ * by default. This parameter maps 1:1 with the <code>Encrypted</code> parameter of the
2358
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html">CreateVolume API</a> in the <i>Amazon EC2 API Reference</i>.</p>
2338
2359
  * @public
2339
2360
  */
2340
2361
  encrypted?: boolean | undefined;
2341
2362
  /**
2342
- * <p>The Amazon Resource Name (ARN) identifier of the Amazon Web Services Key Management Service key to use for Amazon EBS encryption. When
2343
- * encryption is turned on and no Amazon Web Services Key Management Service key is specified, the default Amazon Web Services managed key
2344
- * for Amazon EBS volumes is used. This parameter maps 1:1 with the <code>KmsKeyId</code>
2345
- * parameter of the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html">CreateVolume API</a> in
2346
- * the <i>Amazon EC2 API Reference</i>.</p>
2363
+ * <p>The Amazon Resource Name (ARN) identifier of the Amazon Web Services Key Management Service key to use for Amazon EBS encryption. When a key
2364
+ * is specified using this parameter, it overrides Amazon EBS default encryption or any KMS key
2365
+ * that you specified for cluster-level managed storage encryption. This parameter maps 1:1
2366
+ * with the <code>KmsKeyId</code> parameter of the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html">CreateVolume API</a> in
2367
+ * the <i>Amazon EC2 API Reference</i>. For more information about encrypting
2368
+ * Amazon EBS volumes attached to tasks, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-kms-encryption.html">Encrypt data stored in Amazon EBS volumes attached to Amazon ECS tasks</a>.</p>
2347
2369
  * <important>
2348
2370
  * <p>Amazon Web Services authenticates the Amazon Web Services Key Management Service key asynchronously. Therefore, if you specify an
2349
2371
  * ID, alias, or ARN that is invalid, the action can appear to complete, but
@@ -2414,13 +2436,23 @@ export interface ServiceManagedEBSVolumeConfiguration {
2414
2436
  */
2415
2437
  sizeInGiB?: number | undefined;
2416
2438
  /**
2417
- * <p>The snapshot that Amazon ECS uses to create the volume. You must specify either a snapshot
2418
- * ID or a volume size. This parameter maps 1:1 with the <code>SnapshotId</code> parameter
2419
- * of the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html">CreateVolume API</a> in
2439
+ * <p>The snapshot that Amazon ECS uses to create volumes for attachment to tasks maintained by
2440
+ * the service. You must specify either <code>snapshotId</code> or <code>sizeInGiB</code>
2441
+ * in your volume configuration. This parameter maps 1:1 with the <code>SnapshotId</code>
2442
+ * parameter of the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html">CreateVolume API</a> in
2420
2443
  * the <i>Amazon EC2 API Reference</i>.</p>
2421
2444
  * @public
2422
2445
  */
2423
2446
  snapshotId?: string | undefined;
2447
+ /**
2448
+ * <p>The rate, in MiB/s, at which data is fetched from a snapshot of an existing EBS volume
2449
+ * to create new volumes for attachment to the tasks maintained by the service. This
2450
+ * property can be specified only if you specify a <code>snapshotId</code>. For more
2451
+ * information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html">Initialize Amazon EBS volumes</a> in the <i>Amazon EBS User
2452
+ * Guide</i>.</p>
2453
+ * @public
2454
+ */
2455
+ volumeInitializationRate?: number | undefined;
2424
2456
  /**
2425
2457
  * <p>The number of I/O operations per second (IOPS). For <code>gp3</code>,
2426
2458
  * <code>io1</code>, and <code>io2</code> volumes, this represents the number of IOPS that
@@ -2478,7 +2510,7 @@ export interface ServiceManagedEBSVolumeConfiguration {
2478
2510
  /**
2479
2511
  * <p>The filesystem type for the volume. For volumes created from a snapshot, you must
2480
2512
  * specify the same filesystem type that the volume was using when the snapshot was
2481
- * created. If there is a filesystem type mismatch, the task will fail to start.</p>
2513
+ * created. If there is a filesystem type mismatch, the tasks will fail to start.</p>
2482
2514
  * <p>The available Linux filesystem types are
2483
2515
  <code>ext3</code>, <code>ext4</code>, and
2484
2516
  * <code>xfs</code>. If no value is specified, the <code>xfs</code> filesystem type is
@@ -3908,11 +3940,10 @@ export interface DeleteAccountSettingRequest {
3908
3940
  */
3909
3941
  name: SettingName | undefined;
3910
3942
  /**
3911
- * <p>The Amazon Resource Name (ARN) of the principal. It can be a user, role, or the
3943
+ * <p>The Amazon Resource Name (ARN) of the principal. It can be an user, role, or the
3912
3944
  * root user. If you specify the root user, it disables the account setting for all users, roles,
3913
3945
  * and the root user of the account unless a user or role explicitly overrides these settings.
3914
3946
  * If this field is omitted, the setting is changed only for the authenticated user.</p>
3915
- * <p>In order to use this parameter, you must be the root user, or the principal.</p>
3916
3947
  * @public
3917
3948
  */
3918
3949
  principalArn?: string | undefined;
@@ -5244,8 +5275,8 @@ export interface SystemControl {
5244
5275
  * <code>"fs.mqueue.*"</code>
5245
5276
  * </p>
5246
5277
  * <p>Valid network namespace values: <code>Sysctls</code> that start with
5247
- * <code>"net.*"</code>
5248
- * </p>
5278
+ * <code>"net.*"</code>. Only namespaced <code>Sysctls</code> that exist within the
5279
+ * container starting with "net.* are accepted.</p>
5249
5280
  * <p>All of these values are supported by Fargate.</p>
5250
5281
  * @public
5251
5282
  */
@@ -6772,8 +6803,35 @@ export interface TaskDefinition {
6772
6803
  * <p>If you're using the EC2 launch type or the external launch type, this
6773
6804
  * field is optional. Supported values are between <code>128</code> CPU units
6774
6805
  * (<code>0.125</code> vCPUs) and <code>196608</code> CPU units (<code>192</code>
6775
- * vCPUs). </p>
6776
- * <p>This field is required for Fargate. For information about the valid values, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size">Task size</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
6806
+ * vCPUs). The CPU units cannot be less than 1 vCPU when you use Windows containers on
6807
+ * Fargate.</p>
6808
+ * <ul>
6809
+ * <li>
6810
+ * <p>256 (.25 vCPU) - Available <code>memory</code> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)</p>
6811
+ * </li>
6812
+ * <li>
6813
+ * <p>512 (.5 vCPU) - Available <code>memory</code> values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)</p>
6814
+ * </li>
6815
+ * <li>
6816
+ * <p>1024 (1 vCPU) - Available <code>memory</code> values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)</p>
6817
+ * </li>
6818
+ * <li>
6819
+ * <p>2048 (2 vCPU) - Available <code>memory</code> values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p>
6820
+ * </li>
6821
+ * <li>
6822
+ * <p>4096 (4 vCPU) - Available <code>memory</code> values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p>
6823
+ * </li>
6824
+ * <li>
6825
+ * <p>8192 (8 vCPU) - Available <code>memory</code> values: 16 GB and 60 GB in 4 GB increments</p>
6826
+ * <p>This option requires Linux platform <code>1.4.0</code> or
6827
+ * later.</p>
6828
+ * </li>
6829
+ * <li>
6830
+ * <p>16384 (16vCPU) - Available <code>memory</code> values: 32GB and 120 GB in 8 GB increments</p>
6831
+ * <p>This option requires Linux platform <code>1.4.0</code> or
6832
+ * later.</p>
6833
+ * </li>
6834
+ * </ul>
6777
6835
  * @public
6778
6836
  */
6779
6837
  cpu?: string | undefined;
@@ -8675,11 +8733,42 @@ export interface Task {
8675
8733
  * expressed as a string using vCPUs (for example, <code>1 vCPU</code> or <code>1
8676
8734
  * vcpu</code>). String values are converted to an integer that indicates the CPU units
8677
8735
  * when the task definition is registered.</p>
8678
- * <p>If you're using the EC2 launch type or the external launch type, this field is
8679
- * optional. Supported values are between <code>128</code> CPU units (<code>0.125</code>
8680
- * vCPUs) and <code>196608</code> CPU units (<code>192</code> vCPUs). If you do not specify
8681
- * a value, the parameter is ignored.</p>
8682
- * <p>This field is required for Fargate. For information about the valid values, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size">Task size</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
8736
+ * <p>If you're using the EC2 launch type or the external launch type, this
8737
+ * field is optional. Supported values are between <code>128</code> CPU units
8738
+ * (<code>0.125</code> vCPUs) and <code>196608</code> CPU units (<code>192</code>
8739
+ * vCPUs). If you do not specify a value, the parameter is ignored.</p>
8740
+ * <p>If you're using the Fargate launch type, this field is required. You
8741
+ * must use one of the following values. These values determine the range of supported
8742
+ * values for the <code>memory</code> parameter:</p>
8743
+ * <p>The CPU units cannot be less than 1 vCPU when you use Windows containers on
8744
+ * Fargate.</p>
8745
+ * <ul>
8746
+ * <li>
8747
+ * <p>256 (.25 vCPU) - Available <code>memory</code> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)</p>
8748
+ * </li>
8749
+ * <li>
8750
+ * <p>512 (.5 vCPU) - Available <code>memory</code> values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)</p>
8751
+ * </li>
8752
+ * <li>
8753
+ * <p>1024 (1 vCPU) - Available <code>memory</code> values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)</p>
8754
+ * </li>
8755
+ * <li>
8756
+ * <p>2048 (2 vCPU) - Available <code>memory</code> values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p>
8757
+ * </li>
8758
+ * <li>
8759
+ * <p>4096 (4 vCPU) - Available <code>memory</code> values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p>
8760
+ * </li>
8761
+ * <li>
8762
+ * <p>8192 (8 vCPU) - Available <code>memory</code> values: 16 GB and 60 GB in 4 GB increments</p>
8763
+ * <p>This option requires Linux platform <code>1.4.0</code> or
8764
+ * later.</p>
8765
+ * </li>
8766
+ * <li>
8767
+ * <p>16384 (16vCPU) - Available <code>memory</code> values: 32GB and 120 GB in 8 GB increments</p>
8768
+ * <p>This option requires Linux platform <code>1.4.0</code> or
8769
+ * later.</p>
8770
+ * </li>
8771
+ * </ul>
8683
8772
  * @public
8684
8773
  */
8685
8774
  cpu?: string | undefined;
@@ -9255,7 +9344,6 @@ export interface ListAccountSettingsRequest {
9255
9344
  /**
9256
9345
  * <p>The ARN of the principal, which can be a user, role, or the root user. If this field is
9257
9346
  * omitted, the account settings are listed only for the authenticated user.</p>
9258
- * <p>In order to use this parameter, you must be the root user, or the principal.</p>
9259
9347
  * <note>
9260
9348
  * <p>Federated users assume the account setting of the root user and can't have explicit
9261
9349
  * account settings set for them.</p>
@@ -10289,7 +10377,6 @@ export interface PutAccountSettingRequest {
10289
10377
  * the root user, it modifies the account setting for all users, roles, and the root user of the
10290
10378
  * account unless a user or role explicitly overrides these settings. If this field is
10291
10379
  * omitted, the setting is changed only for the authenticated user.</p>
10292
- * <p>In order to use this parameter, you must be the root user, or the principal.</p>
10293
10380
  * <note>
10294
10381
  * <p>You must use the root user when you set the Fargate wait time
10295
10382
  * (<code>fargateTaskRetirementWaitPeriod</code>). </p>
@@ -10801,7 +10888,38 @@ export interface RegisterTaskDefinitionRequest {
10801
10888
  * is optional. Supported values are between <code>128</code> CPU units (<code>0.125</code>
10802
10889
  * vCPUs) and <code>196608</code> CPU units (<code>192</code> vCPUs). If you do not specify
10803
10890
  * a value, the parameter is ignored.</p>
10804
- * <p>This field is required for Fargate. For information about the valid values, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size">Task size</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
10891
+ * <p>If you're using the Fargate launch type, this field is required and you
10892
+ * must use one of the following values, which determines your range of supported values
10893
+ * for the <code>memory</code> parameter:</p>
10894
+ * <p>The CPU units cannot be less than 1 vCPU when you use Windows containers on
10895
+ * Fargate.</p>
10896
+ * <ul>
10897
+ * <li>
10898
+ * <p>256 (.25 vCPU) - Available <code>memory</code> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)</p>
10899
+ * </li>
10900
+ * <li>
10901
+ * <p>512 (.5 vCPU) - Available <code>memory</code> values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)</p>
10902
+ * </li>
10903
+ * <li>
10904
+ * <p>1024 (1 vCPU) - Available <code>memory</code> values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)</p>
10905
+ * </li>
10906
+ * <li>
10907
+ * <p>2048 (2 vCPU) - Available <code>memory</code> values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p>
10908
+ * </li>
10909
+ * <li>
10910
+ * <p>4096 (4 vCPU) - Available <code>memory</code> values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p>
10911
+ * </li>
10912
+ * <li>
10913
+ * <p>8192 (8 vCPU) - Available <code>memory</code> values: 16 GB and 60 GB in 4 GB increments</p>
10914
+ * <p>This option requires Linux platform <code>1.4.0</code> or
10915
+ * later.</p>
10916
+ * </li>
10917
+ * <li>
10918
+ * <p>16384 (16vCPU) - Available <code>memory</code> values: 32GB and 120 GB in 8 GB increments</p>
10919
+ * <p>This option requires Linux platform <code>1.4.0</code> or
10920
+ * later.</p>
10921
+ * </li>
10922
+ * </ul>
10805
10923
  * @public
10806
10924
  */
10807
10925
  cpu?: string | undefined;
@@ -11072,19 +11190,21 @@ export interface TaskManagedEBSVolumeTerminationPolicy {
11072
11190
  */
11073
11191
  export interface TaskManagedEBSVolumeConfiguration {
11074
11192
  /**
11075
- * <p>Indicates whether the volume should be encrypted. If no value is specified, encryption
11076
- * is turned on by default. This parameter maps 1:1 with the <code>Encrypted</code>
11077
- * parameter of the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html">CreateVolume API</a> in
11078
- * the <i>Amazon EC2 API Reference</i>.</p>
11193
+ * <p>Indicates whether the volume should be encrypted. If you turn on Region-level Amazon EBS
11194
+ * encryption by default but set this value as <code>false</code>, the setting is
11195
+ * overridden and the volume is encrypted with the KMS key specified for Amazon EBS encryption
11196
+ * by default. This parameter maps 1:1 with the <code>Encrypted</code> parameter of the
11197
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html">CreateVolume API</a> in the <i>Amazon EC2 API Reference</i>.</p>
11079
11198
  * @public
11080
11199
  */
11081
11200
  encrypted?: boolean | undefined;
11082
11201
  /**
11083
- * <p>The Amazon Resource Name (ARN) identifier of the Amazon Web Services Key Management Service key to use for Amazon EBS encryption. When
11084
- * encryption is turned on and no Amazon Web Services Key Management Service key is specified, the default Amazon Web Services managed key
11085
- * for Amazon EBS volumes is used. This parameter maps 1:1 with the <code>KmsKeyId</code>
11086
- * parameter of the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html">CreateVolume API</a> in
11087
- * the <i>Amazon EC2 API Reference</i>.</p>
11202
+ * <p>The Amazon Resource Name (ARN) identifier of the Amazon Web Services Key Management Service key to use for Amazon EBS encryption. When a key
11203
+ * is specified using this parameter, it overrides Amazon EBS default encryption or any KMS key
11204
+ * that you specified for cluster-level managed storage encryption. This parameter maps 1:1
11205
+ * with the <code>KmsKeyId</code> parameter of the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html">CreateVolume API</a> in
11206
+ * the <i>Amazon EC2 API Reference</i>. For more information about encrypting
11207
+ * Amazon EBS volumes attached to a task, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-kms-encryption.html">Encrypt data stored in Amazon EBS volumes attached to Amazon ECS tasks</a>.</p>
11088
11208
  * <important>
11089
11209
  * <p>Amazon Web Services authenticates the Amazon Web Services Key Management Service key asynchronously. Therefore, if you specify an
11090
11210
  * ID, alias, or ARN that is invalid, the action can appear to complete, but
@@ -11162,6 +11282,14 @@ export interface TaskManagedEBSVolumeConfiguration {
11162
11282
  * @public
11163
11283
  */
11164
11284
  snapshotId?: string | undefined;
11285
+ /**
11286
+ * <p>The rate, in MiB/s, at which data is fetched from a snapshot of an existing Amazon EBS
11287
+ * volume to create a new volume for attachment to the task. This property can be specified
11288
+ * only if you specify a <code>snapshotId</code>. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html">Initialize Amazon EBS volumes</a> in the <i>Amazon EBS User
11289
+ * Guide</i>.</p>
11290
+ * @public
11291
+ */
11292
+ volumeInitializationRate?: number | undefined;
11165
11293
  /**
11166
11294
  * <p>The number of I/O operations per second (IOPS). For <code>gp3</code>,
11167
11295
  * <code>io1</code>, and <code>io2</code> volumes, this represents the number of IOPS that
@@ -11669,7 +11797,7 @@ export interface StopServiceDeploymentRequest {
11669
11797
  serviceDeploymentArn: string | undefined;
11670
11798
  /**
11671
11799
  * <p>How you want Amazon ECS to stop the service. </p>
11672
- * <p>The valid values are <code>ROLLBACK</code>.</p>
11800
+ * <p>The ROLLBACK and ABORT stopType aren't supported.</p>
11673
11801
  * @public
11674
11802
  */
11675
11803
  stopType?: StopServiceDeploymentStopType | undefined;
@@ -387,6 +387,7 @@ export interface ServiceManagedEBSVolumeConfiguration {
387
387
  volumeType?: string | undefined;
388
388
  sizeInGiB?: number | undefined;
389
389
  snapshotId?: string | undefined;
390
+ volumeInitializationRate?: number | undefined;
390
391
  iops?: number | undefined;
391
392
  throughput?: number | undefined;
392
393
  tagSpecifications?: EBSTagSpecification[] | undefined;
@@ -1821,6 +1822,7 @@ export interface TaskManagedEBSVolumeConfiguration {
1821
1822
  volumeType?: string | undefined;
1822
1823
  sizeInGiB?: number | undefined;
1823
1824
  snapshotId?: string | undefined;
1825
+ volumeInitializationRate?: number | undefined;
1824
1826
  iops?: number | undefined;
1825
1827
  throughput?: number | undefined;
1826
1828
  tagSpecifications?: EBSTagSpecification[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ecs",
3
3
  "description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
4
- "version": "3.808.0",
4
+ "version": "3.809.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ecs",