@aws-sdk/client-ecs 3.382.0 → 3.386.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.
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const q = "required", r = "fn", s = "argv", t = "ref";
5
5
  const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ecs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ecs-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ecs.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://ecs.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://ecs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://ecs-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://ecs.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://ecs.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
1
  const q = "required", r = "fn", s = "argv", t = "ref";
2
2
  const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ecs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ecs-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ecs.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://ecs.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://ecs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://ecs-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://ecs.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://ecs.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -25,6 +25,9 @@ export interface DescribeTasksCommandOutput extends DescribeTasksResponse, __Met
25
25
  * @public
26
26
  * <p>Describes a specified task or tasks.</p>
27
27
  * <p>Currently, stopped tasks appear in the returned results for at least one hour.</p>
28
+ * <p>If you have tasks with tags, and then delete the cluster, the tagged tasks are
29
+ * returned in the response. If you create a new cluster with the same name as the deleted
30
+ * cluster, the tagged tasks are not included in the response.</p>
28
31
  * @example
29
32
  * Use a bare-bones client and the command you need to make an API call.
30
33
  * ```javascript
@@ -26,8 +26,7 @@ export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBea
26
26
  * <p>Returns a list of tasks. You can filter the results by cluster, task definition
27
27
  * family, container instance, launch type, what IAM principal started the task, or by the
28
28
  * desired status of the task.</p>
29
- * <p>Recently stopped tasks might appear in the returned results. Currently, stopped tasks
30
- * appear in the returned results for at least one hour.</p>
29
+ * <p>Recently stopped tasks might appear in the returned results. </p>
31
30
  * @example
32
31
  * Use a bare-bones client and the command you need to make an API call.
33
32
  * ```javascript
@@ -130,14 +130,11 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
130
130
  * </ul>
131
131
  * <note>
132
132
  * <p>You must have a service-linked role when you update any of the following service
133
- * properties. If you specified a custom role when you created the service, Amazon ECS
134
- * automatically replaces the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Service.html#ECS-Type-Service-roleArn">roleARN</a> associated with the service with the ARN of your
135
- * service-linked role. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Service-linked roles</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
133
+ * properties:</p>
136
134
  * <ul>
137
135
  * <li>
138
136
  * <p>
139
- * <code>loadBalancers,</code>
140
- * </p>
137
+ * <code>loadBalancers</code>,</p>
141
138
  * </li>
142
139
  * <li>
143
140
  * <p>
@@ -145,6 +142,10 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
145
142
  * </p>
146
143
  * </li>
147
144
  * </ul>
145
+ * <p>For more information about the role see the <code>CreateService</code> request parameter
146
+ * <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html#ECS-CreateService-request-role">
147
+ * <code>role</code>
148
+ * </a>. </p>
148
149
  * </note>
149
150
  * @example
150
151
  * Use a bare-bones client and the command you need to make an API call.
@@ -96,9 +96,9 @@ export interface ManagedScaling {
96
96
  minimumScalingStepSize?: number;
97
97
  /**
98
98
  * @public
99
- * <p>The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale
100
- * in process is not affected by this parameter. If this parameter is omitted, the default
101
- * value of <code>1</code> is used.</p>
99
+ * <p>The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in
100
+ * process is not affected by this parameter. If this parameter is omitted, the default
101
+ * value of <code>10000</code> is used.</p>
102
102
  */
103
103
  maximumScalingStepSize?: number;
104
104
  /**
@@ -128,12 +128,12 @@ export type ManagedTerminationProtection = (typeof ManagedTerminationProtection)
128
128
  export interface AutoScalingGroupProvider {
129
129
  /**
130
130
  * @public
131
- * <p>The Amazon Resource Name (ARN) that identifies the Auto Scaling group.</p>
131
+ * <p>The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.</p>
132
132
  */
133
133
  autoScalingGroupArn: string | undefined;
134
134
  /**
135
135
  * @public
136
- * <p>The managed scaling settings for the Auto Scaling group capacity provider.</p>
136
+ * <p>he managed scaling settings for the Auto Scaling group capacity provider.</p>
137
137
  */
138
138
  managedScaling?: ManagedScaling;
139
139
  /**
@@ -1150,6 +1150,7 @@ export interface DeploymentAlarms {
1150
1150
  * can also configure Amazon ECS to roll back your service to the last completed deployment
1151
1151
  * after a failure. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html">Rolling
1152
1152
  * update</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
1153
+ * <p>For more information about API failure reasons, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html">API failure reasons</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
1153
1154
  */
1154
1155
  export interface DeploymentCircuitBreaker {
1155
1156
  /**
@@ -1353,8 +1354,7 @@ export interface LoadBalancer {
1353
1354
  * @public
1354
1355
  * <p>The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or
1355
1356
  * task set.</p>
1356
- * <p>A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer. If you're using a
1357
- * Classic Load Balancer, omit the target group ARN.</p>
1357
+ * <p>A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer. </p>
1358
1358
  * <p>For services using the <code>ECS</code> deployment controller, you can specify one or
1359
1359
  * multiple target groups. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html">Registering multiple target groups with a service</a> in
1360
1360
  * the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
@@ -1374,8 +1374,8 @@ export interface LoadBalancer {
1374
1374
  /**
1375
1375
  * @public
1376
1376
  * <p>The name of the load balancer to associate with the Amazon ECS service or task set.</p>
1377
- * <p>A load balancer name is only specified when using a Classic Load Balancer. If you are using an Application Load Balancer
1378
- * or a Network Load Balancer the load balancer name parameter should be omitted.</p>
1377
+ * <p>If you are using an Application Load Balancer or a Network Load Balancer the load balancer name parameter should be
1378
+ * omitted.</p>
1379
1379
  */
1380
1380
  loadBalancerName?: string;
1381
1381
  /**
@@ -1632,9 +1632,16 @@ export interface Secret {
1632
1632
  * containers.</p>
1633
1633
  * <ul>
1634
1634
  * <li>
1635
- * <p>Amazon ECS currently supports a subset of the logging drivers available to the
1636
- * Docker daemon (shown in the valid values below). Additional log drivers may be
1637
- * available in future releases of the Amazon ECS container agent.</p>
1635
+ * <p>Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon.
1636
+ * Additional log drivers may be available in future releases of the Amazon ECS
1637
+ * container agent.</p>
1638
+ * <p>For tasks on Fargate, the supported log drivers are <code>awslogs</code>,
1639
+ * <code>splunk</code>, and <code>awsfirelens</code>.</p>
1640
+ * <p>For tasks hosted on Amazon EC2 instances, the supported log drivers are
1641
+ * <code>awslogs</code>, <code>fluentd</code>, <code>gelf</code>,
1642
+ * <code>json-file</code>, <code>journald</code>,
1643
+ * <code>logentries</code>,<code>syslog</code>, <code>splunk</code>, and
1644
+ * <code>awsfirelens</code>.</p>
1638
1645
  * </li>
1639
1646
  * <li>
1640
1647
  * <p>This parameter requires version 1.18 of the Docker Remote API or greater on
@@ -1830,9 +1837,16 @@ export interface ServiceConnectConfiguration {
1830
1837
  * containers.</p>
1831
1838
  * <ul>
1832
1839
  * <li>
1833
- * <p>Amazon ECS currently supports a subset of the logging drivers available to the
1834
- * Docker daemon (shown in the valid values below). Additional log drivers may be
1835
- * available in future releases of the Amazon ECS container agent.</p>
1840
+ * <p>Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon.
1841
+ * Additional log drivers may be available in future releases of the Amazon ECS
1842
+ * container agent.</p>
1843
+ * <p>For tasks on Fargate, the supported log drivers are <code>awslogs</code>,
1844
+ * <code>splunk</code>, and <code>awsfirelens</code>.</p>
1845
+ * <p>For tasks hosted on Amazon EC2 instances, the supported log drivers are
1846
+ * <code>awslogs</code>, <code>fluentd</code>, <code>gelf</code>,
1847
+ * <code>json-file</code>, <code>journald</code>,
1848
+ * <code>logentries</code>,<code>syslog</code>, <code>splunk</code>, and
1849
+ * <code>awsfirelens</code>.</p>
1836
1850
  * </li>
1837
1851
  * <li>
1838
1852
  * <p>This parameter requires version 1.18 of the Docker Remote API or greater on
@@ -3024,7 +3038,8 @@ export interface CreateTaskSetRequest {
3024
3038
  externalId?: string;
3025
3039
  /**
3026
3040
  * @public
3027
- * <p>The task definition for the tasks in the task set to use.</p>
3041
+ * <p>The task definition for the tasks in the task set to use. If a revision isn't specified, the
3042
+ * latest <code>ACTIVE</code> revision is used.</p>
3028
3043
  */
3029
3044
  taskDefinition: string | undefined;
3030
3045
  /**
@@ -3606,8 +3621,7 @@ export type EnvironmentFileType = (typeof EnvironmentFileType)[keyof typeof Envi
3606
3621
  * same variable, they're processed from the top down. We recommend that you use unique
3607
3622
  * variable names. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html">Specifying environment
3608
3623
  * variables</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
3609
- * <p>This parameter is only supported for tasks hosted on Fargate using the
3610
- * following platform versions:</p>
3624
+ * <p>You must use the following platforms for the Fargate launch type:</p>
3611
3625
  * <ul>
3612
3626
  * <li>
3613
3627
  * <p>Linux platform version <code>1.4.0</code> or later.</p>
@@ -4152,10 +4166,10 @@ export interface PortMapping {
4152
4166
  * version.</p>
4153
4167
  * <p>The default ephemeral port range for Docker version 1.6.0 and later is listed on the
4154
4168
  * instance under <code>/proc/sys/net/ipv4/ip_local_port_range</code>. If this kernel
4155
- * parameter is unavailable, the default ephemeral port range from 49153 through 65535 is
4156
- * used. Do not attempt to specify a host port in the ephemeral port range as these are
4157
- * reserved for automatic assignment. In general, ports below 32768 are outside of the
4158
- * ephemeral port range.</p>
4169
+ * parameter is unavailable, the default ephemeral port range from 49153 through 65535
4170
+ * (Linux) or 49152 through 65535 (Windows) is used. Do not attempt to specify a host port
4171
+ * in the ephemeral port range as these are reserved for automatic assignment. In general,
4172
+ * ports below 32768 are outside of the ephemeral port range.</p>
4159
4173
  * <p>The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the
4160
4174
  * Amazon ECS container agent ports 51678-51680. Any host port that was previously specified in
4161
4175
  * a running task is also reserved while the task is running. That is, after a task stops,
@@ -4805,6 +4819,7 @@ export interface ContainerDefinition {
4805
4819
  * later, then they contain the required versions of the container agent and
4806
4820
  * <code>ecs-init</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html">Amazon ECS-optimized Linux AMI</a>
4807
4821
  * in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
4822
+ * <p>The valid values are 2-120 seconds.</p>
4808
4823
  */
4809
4824
  startTimeout?: number;
4810
4825
  /**
@@ -4836,6 +4851,7 @@ export interface ContainerDefinition {
4836
4851
  * <code>ecs-init</code> package. If your container instances are launched from version
4837
4852
  * <code>20190301</code> or later, then they contain the required versions of the
4838
4853
  * container agent and <code>ecs-init</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html">Amazon ECS-optimized Linux AMI</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
4854
+ * <p>The valid values are 2-120 seconds.</p>
4839
4855
  */
4840
4856
  stopTimeout?: number;
4841
4857
  /**
@@ -5120,17 +5136,39 @@ export interface ContainerDefinition {
5120
5136
  /**
5121
5137
  * @public
5122
5138
  * <p>A list of ARNs in SSM or Amazon S3 to a credential spec
5123
- * (<code>credspec</code>code>) file that configures a container for Active Directory
5124
- * authentication. This parameter is only used with domainless authentication.</p>
5125
- * <p>The format for each ARN is
5126
- * <code>credentialspecdomainless:MyARN</code>. Replace
5127
- * <code>MyARN</code> with the ARN in SSM or Amazon S3.</p>
5128
- * <p>The <code>credspec</code> must provide a ARN in Secrets Manager for a secret
5129
- * containing the username, password, and the domain to connect to. For better security,
5130
- * the instance isn't joined to the domain for domainless authentication. Other
5131
- * applications on the instance can't use the domainless credentials. You can use this
5132
- * parameter to run tasks on the same instance, even it the tasks need to join different
5133
- * domains. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html">Using gMSAs for Windows
5139
+ * (<code>CredSpec</code>) file that configures the container for Active Directory
5140
+ * authentication. We recommend that you use this parameter instead of the
5141
+ * <code>dockerSecurityOptions</code>. The maximum number of ARNs is
5142
+ * 1.</p>
5143
+ * <p>There are two formats for each ARN.</p>
5144
+ * <dl>
5145
+ * <dt>credentialspecdomainless:MyARN</dt>
5146
+ * <dd>
5147
+ * <p>You use <code>credentialspecdomainless:MyARN</code> to provide a
5148
+ * <code>CredSpec</code> with an additional section for a secret in Secrets Manager.
5149
+ * You provide the login credentials to the domain in the secret.</p>
5150
+ * <p>Each task that runs on any container instance can join different
5151
+ * domains.</p>
5152
+ * <p>You can use this format without joining the container instance to a
5153
+ * domain.</p>
5154
+ * </dd>
5155
+ * <dt>credentialspec:MyARN</dt>
5156
+ * <dd>
5157
+ * <p>You use <code>credentialspec:MyARN</code> to provide a
5158
+ * <code>CredSpec</code> for a single domain.</p>
5159
+ * <p>You must join the container instance to the domain before you start any
5160
+ * tasks that use this task definition.</p>
5161
+ * </dd>
5162
+ * </dl>
5163
+ * <p>In both formats, replace <code>MyARN</code> with the ARN in
5164
+ * SSM or Amazon S3.</p>
5165
+ * <p>If you provide a <code>credentialspecdomainless:MyARN</code>, the
5166
+ * <code>credspec</code> must provide a ARN in Secrets Manager for a secret containing the
5167
+ * username, password, and the domain to connect to. For better security, the instance
5168
+ * isn't joined to the domain for domainless authentication. Other applications on the
5169
+ * instance can't use the domainless credentials. You can use this parameter to run tasks
5170
+ * on the same instance, even it the tasks need to join different domains. For more
5171
+ * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html">Using gMSAs for Windows
5134
5172
  * Containers</a> and <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/linux-gmsa.html">Using gMSAs for Linux
5135
5173
  * Containers</a>.</p>
5136
5174
  */
@@ -5649,6 +5687,7 @@ export interface Volume {
5649
5687
  * <p>The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This name is referenced in the
5650
5688
  * <code>sourceVolume</code> parameter of container definition
5651
5689
  * <code>mountPoints</code>.</p>
5690
+ * <p>This is required wwhen you use an Amazon EFS volume.</p>
5652
5691
  */
5653
5692
  name?: string;
5654
5693
  /**
@@ -5832,7 +5871,9 @@ export interface TaskDefinition {
5832
5871
  runtimePlatform?: RuntimePlatform;
5833
5872
  /**
5834
5873
  * @public
5835
- * <p>The task launch types the task definition was validated against. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html">Amazon ECS launch types</a>
5874
+ * <p>The task launch types the task definition was validated against. The valid values are
5875
+ * <code>EC2</code>, <code>FARGATE</code>, and <code>EXTERNAL</code>. For more
5876
+ * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html">Amazon ECS launch types</a>
5836
5877
  * in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
5837
5878
  */
5838
5879
  requiresCompatibilities?: (Compatibility | string)[];
@@ -7081,6 +7122,8 @@ export interface Container {
7081
7122
  * in. An example of an empty container override is <code>\{"containerOverrides": [ ]
7082
7123
  * \}</code>. If a non-empty container override is specified, the <code>name</code>
7083
7124
  * parameter must be included.</p>
7125
+ * <p>You can use Secrets Manager or Amazon Web Services Systems Manager Parameter Store to store the sensitive
7126
+ * data. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/secrets-envvar.html">Retrieve secrets through environment variables</a> in the Amazon ECS Developer Guide.</p>
7084
7127
  */
7085
7128
  export interface ContainerOverride {
7086
7129
  /**
@@ -7475,7 +7518,8 @@ export interface Task {
7475
7518
  /**
7476
7519
  * @public
7477
7520
  * <p>The stop code indicating why a task was stopped. The <code>stoppedReason</code> might
7478
- * contain additional details.</p>
7521
+ * contain additional details. </p>
7522
+ * <p>For more information about stop code, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/userguide/stopped-task-error-codes.html">Stopped tasks error codes</a> in the <i>Amazon ECS User Guide</i>.</p>
7479
7523
  * <p>The following are valid values:</p>
7480
7524
  * <ul>
7481
7525
  * <li>
@@ -7527,7 +7571,7 @@ export interface Task {
7527
7571
  * @public
7528
7572
  * <p>The Unix timestamp for the time when the task stops. More specifically, it's for the
7529
7573
  * time when the task transitions from the <code>RUNNING</code> state to
7530
- * <code>STOPPED</code>.</p>
7574
+ * <code>STOPPING</code>.</p>
7531
7575
  */
7532
7576
  stoppingAt?: Date;
7533
7577
  /**
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.382.0",
4
+ "version": "3.386.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,15 +21,15 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.382.0",
25
- "@aws-sdk/credential-provider-node": "3.382.0",
24
+ "@aws-sdk/client-sts": "3.386.0",
25
+ "@aws-sdk/credential-provider-node": "3.386.0",
26
26
  "@aws-sdk/middleware-host-header": "3.379.1",
27
27
  "@aws-sdk/middleware-logger": "3.378.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.378.0",
29
29
  "@aws-sdk/middleware-signing": "3.379.1",
30
- "@aws-sdk/middleware-user-agent": "3.382.0",
30
+ "@aws-sdk/middleware-user-agent": "3.386.0",
31
31
  "@aws-sdk/types": "3.378.0",
32
- "@aws-sdk/util-endpoints": "3.382.0",
32
+ "@aws-sdk/util-endpoints": "3.386.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.378.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.378.0",
35
35
  "@smithy/config-resolver": "^2.0.1",