@aws-sdk/client-ecs 3.508.0 → 3.511.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.
@@ -30,7 +30,8 @@ declare const CreateTaskSetCommand_base: {
30
30
  * uses the <code>EXTERNAL</code> deployment controller type. For more information, see
31
31
  * <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS deployment
32
32
  * types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
33
- * <p>For information about the maximum number of task sets and otther quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service quotas</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
33
+ * <p>For information about the maximum number of task sets and otther quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
34
+ * service quotas</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
34
35
  * @example
35
36
  * Use a bare-bones client and the command you need to make an API call.
36
37
  * ```javascript
@@ -31,42 +31,6 @@ declare const PutAccountSettingCommand_base: {
31
31
  * roles that do not have specified individual account settings. For more information, see
32
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
35
- * <code>containerInstanceLongArnFormat</code>, the Amazon Resource Name (ARN) and
36
- * resource ID format of the resource type for a specified user, role, or the root user for an
37
- * account is affected. The opt-in and opt-out account setting must be set for each Amazon ECS
38
- * resource separately. The ARN and resource ID format of a resource is defined by the
39
- * opt-in status of the user or role that created the resource. You must turn on this
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)
42
- * limit for any new container instances that support the feature is changed. If
43
- * <code>awsvpcTrunking</code> is turned on, any new container instances that support
44
- * the feature are launched have the increased ENI limits available to them. For more
45
- * information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html">Elastic Network
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
48
- * whether Amazon Web Services CloudWatch Container Insights is turned on for your clusters is changed. If
49
- * <code>containerInsights</code> is turned on, any new clusters that are created will
50
- * have Container Insights turned on unless you disable it during cluster creation. For
51
- * more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html">CloudWatch
52
- * Container Insights</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
53
- * <p>Amazon ECS is introducing tagging authorization for resource creation. Users must have
54
- * permissions for actions that create the resource, such as <code>ecsCreateCluster</code>.
55
- * If tags are specified when you create a resource, Amazon Web Services performs additional
56
- * authorization to verify if users or roles have permissions to create tags. Therefore,
57
- * you must grant explicit permissions to use the <code>ecs:TagResource</code> action. For
58
- * more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html">Grant
59
- * permission to tag resources on creation</a> in the <i>Amazon ECS Developer
60
- * Guide</i>.</p>
61
- * <p>When Amazon Web Services determines that a security or infrastructure update is needed for an Amazon ECS
62
- * task hosted on Fargate, the tasks need to be stopped and new tasks launched to replace
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
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>
67
- * <p>The <code>guardDutyActivate</code> parameter is read-only in Amazon ECS and indicates whether
68
- * Amazon ECS Runtime Monitoring is enabled or disabled by your security administrator in your
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>
70
34
  * @example
71
35
  * Use a bare-bones client and the command you need to make an API call.
72
36
  * ```javascript
@@ -1774,27 +1774,28 @@ export interface ServiceConnectClientAlias {
1774
1774
  * <p>An object that represents the timeout configurations for Service Connect.</p>
1775
1775
  * <note>
1776
1776
  * <p>If <code>idleTimeout</code> is set to a time that is less than
1777
- * <code>perRequestTimeout</code>, the connection will close when the
1778
- * <code>idleTimeout</code> is reached and not the
1777
+ * <code>perRequestTimeout</code>, the connection will close when the
1778
+ * <code>idleTimeout</code> is reached and not the
1779
1779
  * <code>perRequestTimeout</code>.</p>
1780
1780
  * </note>
1781
1781
  */
1782
1782
  export interface TimeoutConfiguration {
1783
1783
  /**
1784
1784
  * @public
1785
- * <p>The amount of time in seconds a connection will stay active while idle. A
1786
- * value of <code>0</code> can be set to disable <code>idleTimeout</code>.</p>
1785
+ * <p>The amount of time in seconds a connection will stay active while idle. A value of
1786
+ * <code>0</code> can be set to disable <code>idleTimeout</code>.</p>
1787
1787
  * <p>The <code>idleTimeout</code> default for
1788
- * <code>HTTP</code>/<code>HTTP2</code>/<code>GRPC</code> is 5 minutes.</p>
1788
+ * <code>HTTP</code>/<code>HTTP2</code>/<code>GRPC</code> is 5 minutes.</p>
1789
1789
  * <p>The <code>idleTimeout</code> default for <code>TCP</code> is 1 hour.</p>
1790
1790
  */
1791
1791
  idleTimeoutSeconds?: number;
1792
1792
  /**
1793
1793
  * @public
1794
- * <p>The amount of time waiting for the upstream to respond with a complete response
1795
- * per request. A value of <code>0</code> can be set to disable <code>perRequestTimeout</code>.
1796
- * <code>perRequestTimeout</code> can only be set if Service Connect <code>appProtocol</code>
1797
- * isn't <code>TCP</code>. Only <code>idleTimeout</code> is allowed for <code>TCP</code>
1794
+ * <p>The amount of time waiting for the upstream to respond with a complete response per
1795
+ * request. A value of <code>0</code> can be set to disable <code>perRequestTimeout</code>.
1796
+ * <code>perRequestTimeout</code> can only be set if Service Connect
1797
+ * <code>appProtocol</code> isn't <code>TCP</code>. Only <code>idleTimeout</code> is
1798
+ * allowed for <code>TCP</code>
1798
1799
  * <code>appProtocol</code>.</p>
1799
1800
  */
1800
1801
  perRequestTimeoutSeconds?: number;
@@ -1877,12 +1878,14 @@ export interface ServiceConnectService {
1877
1878
  ingressPortOverride?: number;
1878
1879
  /**
1879
1880
  * @public
1880
- * <p>A reference to an object that represents the configured timeouts for Service Connect.</p>
1881
+ * <p>A reference to an object that represents the configured timeouts for
1882
+ * Service Connect.</p>
1881
1883
  */
1882
1884
  timeout?: TimeoutConfiguration;
1883
1885
  /**
1884
1886
  * @public
1885
- * <p>A reference to an object that represents a Transport Layer Security (TLS) configuration.</p>
1887
+ * <p>A reference to an object that represents a Transport Layer Security (TLS)
1888
+ * configuration.</p>
1886
1889
  */
1887
1890
  tls?: ServiceConnectTlsConfiguration;
1888
1891
  }
@@ -3938,7 +3941,7 @@ export type ContainerCondition = (typeof ContainerCondition)[keyof typeof Contai
3938
3941
  * </li>
3939
3942
  * </ul>
3940
3943
  * </note>
3941
- * <p>For more information about how to create a container dependency, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_task_definitions.html#example_task_definition-containerdependency">Container dependency</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
3944
+ * <p>For more information about how to create a container dependency, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_task_definitions.html#example_task_definition-containerdependency">Container dependency</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
3942
3945
  */
3943
3946
  export interface ContainerDependency {
3944
3947
  /**
@@ -4793,13 +4796,13 @@ export interface ResourceRequirement {
4793
4796
  /**
4794
4797
  * @public
4795
4798
  * <p>A list of namespaced kernel parameters to set in the container. This parameter maps to
4796
- * <code>Sysctls</code> in the <a href="https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate">Create a container</a> section of the
4799
+ * <code>Sysctls</code> in the <a href="https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate">Create a container</a> section of the
4797
4800
  * <a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the <code>--sysctl</code> option to <a href="https://docs.docker.com/engine/reference/run/#security-configuration">docker run</a>. For example, you can configure
4798
- * <code>net.ipv4.tcp_keepalive_time</code> setting to maintain longer lived
4801
+ * <code>net.ipv4.tcp_keepalive_time</code> setting to maintain longer lived
4799
4802
  * connections.</p>
4800
4803
  * <p>We don't recommend that you specify network-related <code>systemControls</code>
4801
4804
  * parameters for multiple containers in a single task that also uses either the
4802
- * <code>awsvpc</code> or <code>host</code> network mode. Doing this has the following
4805
+ * <code>awsvpc</code> or <code>host</code> network mode. Doing this has the following
4803
4806
  * disadvantages:</p>
4804
4807
  * <ul>
4805
4808
  * <li>
@@ -4811,7 +4814,7 @@ export interface ResourceRequirement {
4811
4814
  * </li>
4812
4815
  * <li>
4813
4816
  * <p>For tasks that use the <code>host</code> network mode, the network namespace
4814
- * <code>systemControls</code> aren't supported.</p>
4817
+ * <code>systemControls</code> aren't supported.</p>
4815
4818
  * </li>
4816
4819
  * </ul>
4817
4820
  * <p>If you're setting an IPC resource namespace to use for the containers in the task, the
@@ -4819,11 +4822,11 @@ export interface ResourceRequirement {
4819
4822
  * <ul>
4820
4823
  * <li>
4821
4824
  * <p>For tasks that use the <code>host</code> IPC mode, IPC namespace
4822
- * <code>systemControls</code> aren't supported.</p>
4825
+ * <code>systemControls</code> aren't supported.</p>
4823
4826
  * </li>
4824
4827
  * <li>
4825
4828
  * <p>For tasks that use the <code>task</code> IPC mode, IPC namespace
4826
- * <code>systemControls</code> values apply to all containers within a
4829
+ * <code>systemControls</code> values apply to all containers within a
4827
4830
  * task.</p>
4828
4831
  * </li>
4829
4832
  * </ul>
@@ -5591,9 +5594,9 @@ export interface ContainerDefinition {
5591
5594
  /**
5592
5595
  * @public
5593
5596
  * <p>A list of namespaced kernel parameters to set in the container. This parameter maps to
5594
- * <code>Sysctls</code> in the <a href="https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate">Create a container</a> section of the
5597
+ * <code>Sysctls</code> in the <a href="https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate">Create a container</a> section of the
5595
5598
  * <a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the <code>--sysctl</code> option to <a href="https://docs.docker.com/engine/reference/run/#security-configuration">docker run</a>. For example, you can configure
5596
- * <code>net.ipv4.tcp_keepalive_time</code> setting to maintain longer lived
5599
+ * <code>net.ipv4.tcp_keepalive_time</code> setting to maintain longer lived
5597
5600
  * connections.</p>
5598
5601
  */
5599
5602
  systemControls?: SystemControl[];
@@ -5653,7 +5656,8 @@ export interface ContainerDefinition {
5653
5656
  * @public
5654
5657
  * <p>The amount of ephemeral storage to allocate for the task. This parameter is used to
5655
5658
  * expand the total amount of ephemeral storage available, beyond the default amount, for
5656
- * tasks hosted on Fargate. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html">Using data volumes in tasks</a> in the <i>Amazon ECS Developer Guide;</i>.</p>
5659
+ * tasks hosted on Fargate. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html">Using data volumes in
5660
+ * tasks</a> in the <i>Amazon ECS Developer Guide;</i>.</p>
5657
5661
  * <note>
5658
5662
  * <p>For tasks using the Fargate launch type, the task requires the
5659
5663
  * following platforms:</p>
@@ -6216,9 +6220,9 @@ export interface Volume {
6216
6220
  * task definition revision may only have one volume configured at launch in the volume
6217
6221
  * configuration.</p>
6218
6222
  * <p>To configure a volume at launch time, use this task definition revision and specify a
6219
- * <code>volumeConfigurations</code> object when calling the
6223
+ * <code>volumeConfigurations</code> object when calling the
6220
6224
  * <code>CreateService</code>, <code>UpdateService</code>, <code>RunTask</code> or
6221
- * <code>StartTask</code> APIs.</p>
6225
+ * <code>StartTask</code> APIs.</p>
6222
6226
  */
6223
6227
  configuredAtLaunch?: boolean;
6224
6228
  }
@@ -8025,7 +8029,8 @@ export interface Task {
8025
8029
  * @public
8026
8030
  * <p>The stop code indicating why a task was stopped. The <code>stoppedReason</code> might
8027
8031
  * contain additional details. </p>
8028
- * <p>For more information about stop code, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stopped-task-error-codes.html">Stopped tasks error codes</a> in the <i>Amazon ECS Developer Guide</i>.</p>
8032
+ * <p>For more information about stop code, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stopped-task-error-codes.html">Stopped tasks
8033
+ * error codes</a> in the <i>Amazon ECS Developer Guide</i>.</p>
8029
8034
  */
8030
8035
  stopCode?: TaskStopCode;
8031
8036
  /**
@@ -9157,22 +9162,98 @@ export interface ListTasksResponse {
9157
9162
  export interface PutAccountSettingRequest {
9158
9163
  /**
9159
9164
  * @public
9160
- * <p>The Amazon ECS resource name for which to modify the account setting. If you specify
9161
- * <code>serviceLongArnFormat</code>, the ARN for your Amazon ECS services is affected. If
9162
- * you specify <code>taskLongArnFormat</code>, the ARN and resource ID for your Amazon ECS
9163
- * tasks is affected. If you specify <code>containerInstanceLongArnFormat</code>, the ARN
9164
- * and resource ID for your Amazon ECS container instances is affected. If you specify
9165
- * <code>awsvpcTrunking</code>, the elastic network interface (ENI) limit for your
9166
- * Amazon ECS container instances is affected. If you specify <code>containerInsights</code>,
9167
- * the default setting for Amazon Web Services CloudWatch Container Insights for your clusters is affected. If
9168
- * you specify <code>fargateFIPSMode</code>, Fargate FIPS 140 compliance is affected. If
9169
- * you specify <code>tagResourceAuthorization</code>, the opt-in option for tagging
9170
- * resources on creation is affected. For information about the opt-in timeline, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#tag-resources">Tagging authorization timeline</a> in the <i>Amazon ECS Developer
9171
- * Guide</i>. If you specify <code>fargateTaskRetirementWaitPeriod</code>, the
9172
- * wait time to retire a Fargate task is affected.</p>
9173
- * <p>The <code>guardDutyActivate</code> parameter is read-only in Amazon ECS and indicates whether
9165
+ * <p>The Amazon ECS account setting name to modify.</p>
9166
+ * <p>The following are the valid values for the account setting name.</p>
9167
+ * <ul>
9168
+ * <li>
9169
+ * <p>
9170
+ * <code>serviceLongArnFormat</code> - When modified, the Amazon Resource Name
9171
+ * (ARN) and resource ID format of the resource type for a specified user, role, or
9172
+ * the root user for an account is affected. The opt-in and opt-out account setting
9173
+ * must be set for each Amazon ECS resource separately. The ARN and resource ID format
9174
+ * of a resource is defined by the opt-in status of the user or role that created
9175
+ * the resource. You must turn on this setting to use Amazon ECS features such as
9176
+ * resource tagging.</p>
9177
+ * </li>
9178
+ * <li>
9179
+ * <p>
9180
+ * <code>taskLongArnFormat</code> - When modified, the Amazon Resource Name (ARN)
9181
+ * and resource ID format of the resource type for a specified user, role, or the
9182
+ * root user for an account is affected. The opt-in and opt-out account setting must
9183
+ * be set for each Amazon ECS resource separately. The ARN and resource ID format of a
9184
+ * resource is defined by the opt-in status of the user or role that created the
9185
+ * resource. You must turn on this setting to use Amazon ECS features such as resource
9186
+ * tagging.</p>
9187
+ * </li>
9188
+ * <li>
9189
+ * <p>
9190
+ * <code>containerInstanceLongArnFormat</code> - When modified, the Amazon
9191
+ * Resource Name (ARN) and resource ID format of the resource type for a specified
9192
+ * user, role, or the root user for an account is affected. The opt-in and opt-out
9193
+ * account setting must be set for each Amazon ECS resource separately. The ARN and
9194
+ * resource ID format of a resource is defined by the opt-in status of the user or
9195
+ * role that created the resource. You must turn on this setting to use Amazon ECS
9196
+ * features such as resource tagging.</p>
9197
+ * </li>
9198
+ * <li>
9199
+ * <p>
9200
+ * <code>awsvpcTrunking</code> - When modified, the elastic network interface
9201
+ * (ENI) limit for any new container instances that support the feature is changed.
9202
+ * If <code>awsvpcTrunking</code> is turned on, any new container instances that
9203
+ * support the feature are launched have the increased ENI limits available to
9204
+ * them. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html">Elastic
9205
+ * Network Interface Trunking</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
9206
+ * </li>
9207
+ * <li>
9208
+ * <p>
9209
+ * <code>containerInsights</code> - When modified, the default setting indicating
9210
+ * whether Amazon Web Services CloudWatch Container Insights is turned on for your clusters is changed.
9211
+ * If <code>containerInsights</code> is turned on, any new clusters that are
9212
+ * created will have Container Insights turned on unless you disable it during
9213
+ * cluster creation. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html">CloudWatch Container Insights</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
9214
+ * </li>
9215
+ * <li>
9216
+ * <p>
9217
+ * <code>dualStackIPv6</code> - When turned on, when using a VPC in dual stack
9218
+ * mode, your tasks using the <code>awsvpc</code> network mode can have an IPv6
9219
+ * address assigned. For more information on using IPv6 with tasks launched on
9220
+ * Amazon EC2 instances, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking-awsvpc.html#task-networking-vpc-dual-stack">Using a VPC in dual-stack mode</a>. For more information on using IPv6
9221
+ * with tasks launched on Fargate, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-task-networking.html#fargate-task-networking-vpc-dual-stack">Using a VPC in dual-stack mode</a>.</p>
9222
+ * </li>
9223
+ * <li>
9224
+ * <p>
9225
+ * <code>fargateFIPSMode</code> - If you specify <code>fargateFIPSMode</code>,
9226
+ * Fargate FIPS 140 compliance is affected.</p>
9227
+ * </li>
9228
+ * <li>
9229
+ * <p>
9230
+ * <code>fargateTaskRetirementWaitPeriod</code> - When Amazon Web Services determines that a
9231
+ * security or infrastructure update is needed for an Amazon ECS task hosted on
9232
+ * Fargate, the tasks need to be stopped and new tasks launched to replace them.
9233
+ * Use <code>fargateTaskRetirementWaitPeriod</code> to configure the wait time to
9234
+ * retire a Fargate task. For information about the Fargate tasks maintenance,
9235
+ * see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html">Amazon Web Services Fargate
9236
+ * task maintenance</a> in the <i>Amazon ECS Developer
9237
+ * Guide</i>.</p>
9238
+ * </li>
9239
+ * <li>
9240
+ * <p>
9241
+ * <code>tagResourceAuthorization</code> - Amazon ECS is introducing tagging
9242
+ * authorization for resource creation. Users must have permissions for actions
9243
+ * that create the resource, such as <code>ecsCreateCluster</code>. If tags are
9244
+ * specified when you create a resource, Amazon Web Services performs additional authorization to
9245
+ * verify if users or roles have permissions to create tags. Therefore, you must
9246
+ * grant explicit permissions to use the <code>ecs:TagResource</code> action. For
9247
+ * more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html">Grant permission to tag resources on creation</a> in the
9248
+ * <i>Amazon ECS Developer Guide</i>.</p>
9249
+ * </li>
9250
+ * <li>
9251
+ * <p>
9252
+ * <code>guardDutyActivate</code> - The <code>guardDutyActivate</code> parameter is read-only in Amazon ECS and indicates whether
9174
9253
  * Amazon ECS Runtime Monitoring is enabled or disabled by your security administrator in your
9175
9254
  * 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>
9255
+ * </li>
9256
+ * </ul>
9176
9257
  */
9177
9258
  name: SettingName | undefined;
9178
9259
  /**
@@ -9232,34 +9313,98 @@ export interface PutAccountSettingResponse {
9232
9313
  export interface PutAccountSettingDefaultRequest {
9233
9314
  /**
9234
9315
  * @public
9235
- * <p>The resource name for which to modify the account setting. If you specify
9236
- * <code>serviceLongArnFormat</code>, the ARN for your Amazon ECS services is affected. If
9237
- * you specify <code>taskLongArnFormat</code>, the ARN and resource ID for your Amazon ECS
9238
- * tasks is affected. If you specify <code>containerInstanceLongArnFormat</code>, the ARN
9239
- * and resource ID for your Amazon ECS container instances is affected. If you specify
9240
- * <code>awsvpcTrunking</code>, the ENI limit for your Amazon ECS container instances is
9241
- * affected. If you specify <code>containerInsights</code>, the default setting for Amazon Web Services
9242
- * CloudWatch Container Insights for your clusters is affected. If you specify
9243
- * <code>tagResourceAuthorization</code>, the opt-in option for tagging resources on
9244
- * creation is affected. For information about the opt-in timeline, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#tag-resources">Tagging authorization timeline</a> in the <i>Amazon ECS Developer
9245
- * Guide</i>. If you specify <code>fargateTaskRetirementWaitPeriod</code>, the
9246
- * default wait time to retire a Fargate task due to required maintenance is
9247
- * affected.</p>
9248
- * <p>When you specify <code>fargateFIPSMode</code> for the <code>name</code> and
9249
- * <code>enabled</code> for the <code>value</code>, Fargate uses FIPS-140 compliant
9250
- * cryptographic algorithms on your tasks. For more information about FIPS-140 compliance
9251
- * with Fargate, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-fips-compliance.html"> Amazon Web Services Fargate
9252
- * Federal Information Processing Standard (FIPS) 140-2 compliance</a> in the
9253
- * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
9254
- * <p>When Amazon Web Services determines that a security or infrastructure update is needed for an Amazon ECS
9255
- * task hosted on Fargate, the tasks need to be stopped and new tasks launched to replace
9256
- * them. Use <code>fargateTaskRetirementWaitPeriod</code> to set the wait time to retire a
9257
- * Fargate task to the default. For information about the Fargate tasks maintenance,
9258
- * see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html">Amazon Web Services Fargate task
9259
- * maintenance</a> in the <i>Amazon ECS Developer Guide</i>.</p>
9260
- * <p>The <code>guardDutyActivate</code> parameter is read-only in Amazon ECS and indicates whether
9316
+ * <p>The resource name for which to modify the account setting.</p>
9317
+ * <p>The following are the valid values for the account setting name.</p>
9318
+ * <ul>
9319
+ * <li>
9320
+ * <p>
9321
+ * <code>serviceLongArnFormat</code> - When modified, the Amazon Resource Name
9322
+ * (ARN) and resource ID format of the resource type for a specified user, role, or
9323
+ * the root user for an account is affected. The opt-in and opt-out account setting
9324
+ * must be set for each Amazon ECS resource separately. The ARN and resource ID format
9325
+ * of a resource is defined by the opt-in status of the user or role that created
9326
+ * the resource. You must turn on this setting to use Amazon ECS features such as
9327
+ * resource tagging.</p>
9328
+ * </li>
9329
+ * <li>
9330
+ * <p>
9331
+ * <code>taskLongArnFormat</code> - When modified, the Amazon Resource Name (ARN)
9332
+ * and resource ID format of the resource type for a specified user, role, or the
9333
+ * root user for an account is affected. The opt-in and opt-out account setting must
9334
+ * be set for each Amazon ECS resource separately. The ARN and resource ID format of a
9335
+ * resource is defined by the opt-in status of the user or role that created the
9336
+ * resource. You must turn on this setting to use Amazon ECS features such as resource
9337
+ * tagging.</p>
9338
+ * </li>
9339
+ * <li>
9340
+ * <p>
9341
+ * <code>containerInstanceLongArnFormat</code> - When modified, the Amazon
9342
+ * Resource Name (ARN) and resource ID format of the resource type for a specified
9343
+ * user, role, or the root user for an account is affected. The opt-in and opt-out
9344
+ * account setting must be set for each Amazon ECS resource separately. The ARN and
9345
+ * resource ID format of a resource is defined by the opt-in status of the user or
9346
+ * role that created the resource. You must turn on this setting to use Amazon ECS
9347
+ * features such as resource tagging.</p>
9348
+ * </li>
9349
+ * <li>
9350
+ * <p>
9351
+ * <code>awsvpcTrunking</code> - When modified, the elastic network interface
9352
+ * (ENI) limit for any new container instances that support the feature is changed.
9353
+ * If <code>awsvpcTrunking</code> is turned on, any new container instances that
9354
+ * support the feature are launched have the increased ENI limits available to
9355
+ * them. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html">Elastic
9356
+ * Network Interface Trunking</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
9357
+ * </li>
9358
+ * <li>
9359
+ * <p>
9360
+ * <code>containerInsights</code> - When modified, the default setting indicating
9361
+ * whether Amazon Web Services CloudWatch Container Insights is turned on for your clusters is changed.
9362
+ * If <code>containerInsights</code> is turned on, any new clusters that are
9363
+ * created will have Container Insights turned on unless you disable it during
9364
+ * cluster creation. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html">CloudWatch Container Insights</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
9365
+ * </li>
9366
+ * <li>
9367
+ * <p>
9368
+ * <code>dualStackIPv6</code> - When turned on, when using a VPC in dual stack
9369
+ * mode, your tasks using the <code>awsvpc</code> network mode can have an IPv6
9370
+ * address assigned. For more information on using IPv6 with tasks launched on
9371
+ * Amazon EC2 instances, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking-awsvpc.html#task-networking-vpc-dual-stack">Using a VPC in dual-stack mode</a>. For more information on using IPv6
9372
+ * with tasks launched on Fargate, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-task-networking.html#fargate-task-networking-vpc-dual-stack">Using a VPC in dual-stack mode</a>.</p>
9373
+ * </li>
9374
+ * <li>
9375
+ * <p>
9376
+ * <code>fargateFIPSMode</code> - If you specify <code>fargateFIPSMode</code>,
9377
+ * Fargate FIPS 140 compliance is affected.</p>
9378
+ * </li>
9379
+ * <li>
9380
+ * <p>
9381
+ * <code>fargateTaskRetirementWaitPeriod</code> - When Amazon Web Services determines that a
9382
+ * security or infrastructure update is needed for an Amazon ECS task hosted on
9383
+ * Fargate, the tasks need to be stopped and new tasks launched to replace them.
9384
+ * Use <code>fargateTaskRetirementWaitPeriod</code> to configure the wait time to
9385
+ * retire a Fargate task. For information about the Fargate tasks maintenance,
9386
+ * see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html">Amazon Web Services Fargate
9387
+ * task maintenance</a> in the <i>Amazon ECS Developer
9388
+ * Guide</i>.</p>
9389
+ * </li>
9390
+ * <li>
9391
+ * <p>
9392
+ * <code>tagResourceAuthorization</code> - Amazon ECS is introducing tagging
9393
+ * authorization for resource creation. Users must have permissions for actions
9394
+ * that create the resource, such as <code>ecsCreateCluster</code>. If tags are
9395
+ * specified when you create a resource, Amazon Web Services performs additional authorization to
9396
+ * verify if users or roles have permissions to create tags. Therefore, you must
9397
+ * grant explicit permissions to use the <code>ecs:TagResource</code> action. For
9398
+ * more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html">Grant permission to tag resources on creation</a> in the
9399
+ * <i>Amazon ECS Developer Guide</i>.</p>
9400
+ * </li>
9401
+ * <li>
9402
+ * <p>
9403
+ * <code>guardDutyActivate</code> - The <code>guardDutyActivate</code> parameter is read-only in Amazon ECS and indicates whether
9261
9404
  * Amazon ECS Runtime Monitoring is enabled or disabled by your security administrator in your
9262
9405
  * 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>
9406
+ * </li>
9407
+ * </ul>
9263
9408
  */
9264
9409
  name: SettingName | undefined;
9265
9410
  /**
@@ -9841,7 +9986,8 @@ export interface RegisterTaskDefinitionRequest {
9841
9986
  * @public
9842
9987
  * <p>The amount of ephemeral storage to allocate for the task. This parameter is used to
9843
9988
  * expand the total amount of ephemeral storage available, beyond the default amount, for
9844
- * tasks hosted on Fargate. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html">Using data volumes in tasks</a> in the <i>Amazon ECS Developer Guide</i>.</p>
9989
+ * tasks hosted on Fargate. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html">Using data volumes in
9990
+ * tasks</a> in the <i>Amazon ECS Developer Guide</i>.</p>
9845
9991
  * <note>
9846
9992
  * <p>For tasks using the Fargate launch type, the task requires the
9847
9993
  * following platforms:</p>
@@ -10366,6 +10512,8 @@ export interface RunTaskResponse {
10366
10512
  /**
10367
10513
  * @public
10368
10514
  * <p>Any failures associated with the call.</p>
10515
+ * <p>For information about how to address failures, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages.html#service-event-messages-list">Service event messages</a> and <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html">API failure
10516
+ * reasons</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
10369
10517
  */
10370
10518
  failures?: Failure[];
10371
10519
  }
@@ -10533,10 +10681,10 @@ export interface StopTaskRequest {
10533
10681
  task: string | undefined;
10534
10682
  /**
10535
10683
  * @public
10536
- * <p>An optional message specified when a task is stopped. For example, if you're using a custom
10537
- * scheduler, you can use this parameter to specify the reason for stopping the task here,
10538
- * and the message appears in subsequent <a>DescribeTasks</a> API operations on
10539
- * this task.</p>
10684
+ * <p>An optional message specified when a task is stopped. For example, if you're using a
10685
+ * custom scheduler, you can use this parameter to specify the reason for stopping the task
10686
+ * here, and the message appears in subsequent <a>DescribeTasks</a> API
10687
+ * operations on this task.</p>
10540
10688
  */
10541
10689
  reason?: string;
10542
10690
  }
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.508.0",
4
+ "version": "3.511.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",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.507.0",
24
- "@aws-sdk/core": "3.496.0",
25
- "@aws-sdk/credential-provider-node": "3.507.0",
26
- "@aws-sdk/middleware-host-header": "3.502.0",
27
- "@aws-sdk/middleware-logger": "3.502.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.502.0",
29
- "@aws-sdk/middleware-signing": "3.502.0",
30
- "@aws-sdk/middleware-user-agent": "3.502.0",
31
- "@aws-sdk/region-config-resolver": "3.502.0",
32
- "@aws-sdk/types": "3.502.0",
33
- "@aws-sdk/util-endpoints": "3.502.0",
34
- "@aws-sdk/util-user-agent-browser": "3.502.0",
35
- "@aws-sdk/util-user-agent-node": "3.502.0",
23
+ "@aws-sdk/client-sts": "3.511.0",
24
+ "@aws-sdk/core": "3.511.0",
25
+ "@aws-sdk/credential-provider-node": "3.511.0",
26
+ "@aws-sdk/middleware-host-header": "3.511.0",
27
+ "@aws-sdk/middleware-logger": "3.511.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.511.0",
29
+ "@aws-sdk/middleware-signing": "3.511.0",
30
+ "@aws-sdk/middleware-user-agent": "3.511.0",
31
+ "@aws-sdk/region-config-resolver": "3.511.0",
32
+ "@aws-sdk/types": "3.511.0",
33
+ "@aws-sdk/util-endpoints": "3.511.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.511.0",
35
+ "@aws-sdk/util-user-agent-node": "3.511.0",
36
36
  "@smithy/config-resolver": "^2.1.1",
37
37
  "@smithy/core": "^1.3.1",
38
38
  "@smithy/fetch-http-handler": "^2.4.1",