@aws-sdk/client-ecs 3.782.0 → 3.791.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.
package/dist-cjs/index.js CHANGED
@@ -715,6 +715,7 @@ var SettingName = {
715
715
  AWSVPC_TRUNKING: "awsvpcTrunking",
716
716
  CONTAINER_INSIGHTS: "containerInsights",
717
717
  CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat",
718
+ DEFAULT_LOG_DRIVER_MODE: "defaultLogDriverMode",
718
719
  FARGATE_FIPS_MODE: "fargateFIPSMode",
719
720
  FARGATE_TASK_RETIREMENT_WAIT_PERIOD: "fargateTaskRetirementWaitPeriod",
720
721
  GUARD_DUTY_ACTIVATE: "guardDutyActivate",
@@ -267,6 +267,7 @@ export const SettingName = {
267
267
  AWSVPC_TRUNKING: "awsvpcTrunking",
268
268
  CONTAINER_INSIGHTS: "containerInsights",
269
269
  CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat",
270
+ DEFAULT_LOG_DRIVER_MODE: "defaultLogDriverMode",
270
271
  FARGATE_FIPS_MODE: "fargateFIPSMode",
271
272
  FARGATE_TASK_RETIREMENT_WAIT_PERIOD: "fargateTaskRetirementWaitPeriod",
272
273
  GUARD_DUTY_ACTIVATE: "guardDutyActivate",
@@ -36,14 +36,14 @@ declare const DeleteAccountSettingCommand_base: {
36
36
  * // const { ECSClient, DeleteAccountSettingCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
37
37
  * const client = new ECSClient(config);
38
38
  * const input = { // DeleteAccountSettingRequest
39
- * name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod" || "guardDutyActivate", // required
39
+ * name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod" || "guardDutyActivate" || "defaultLogDriverMode", // required
40
40
  * principalArn: "STRING_VALUE",
41
41
  * };
42
42
  * const command = new DeleteAccountSettingCommand(input);
43
43
  * const response = await client.send(command);
44
44
  * // { // DeleteAccountSettingResponse
45
45
  * // setting: { // Setting
46
- * // name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod" || "guardDutyActivate",
46
+ * // name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod" || "guardDutyActivate" || "defaultLogDriverMode",
47
47
  * // value: "STRING_VALUE",
48
48
  * // principalArn: "STRING_VALUE",
49
49
  * // type: "user" || "aws_managed",
@@ -29,8 +29,7 @@ declare const DescribeServiceDeploymentsCommand_base: {
29
29
  /**
30
30
  * <p>Describes one or more of your service deployments.</p>
31
31
  * <p>A service deployment happens when you release a software update for the service. For
32
- * more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-deployments.html">Amazon ECS service
33
- * deployments</a>.</p>
32
+ * more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-deployment.html">View service history using Amazon ECS service deployments</a>.</p>
34
33
  * @example
35
34
  * Use a bare-bones client and the command you need to make an API call.
36
35
  * ```javascript
@@ -35,7 +35,7 @@ declare const ListAccountSettingsCommand_base: {
35
35
  * // const { ECSClient, ListAccountSettingsCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
36
36
  * const client = new ECSClient(config);
37
37
  * const input = { // ListAccountSettingsRequest
38
- * name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod" || "guardDutyActivate",
38
+ * name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod" || "guardDutyActivate" || "defaultLogDriverMode",
39
39
  * value: "STRING_VALUE",
40
40
  * principalArn: "STRING_VALUE",
41
41
  * effectiveSettings: true || false,
@@ -47,7 +47,7 @@ declare const ListAccountSettingsCommand_base: {
47
47
  * // { // ListAccountSettingsResponse
48
48
  * // settings: [ // Settings
49
49
  * // { // Setting
50
- * // name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod" || "guardDutyActivate",
50
+ * // name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod" || "guardDutyActivate" || "defaultLogDriverMode",
51
51
  * // value: "STRING_VALUE",
52
52
  * // principalArn: "STRING_VALUE",
53
53
  * // type: "user" || "aws_managed",
@@ -39,7 +39,7 @@ declare const PutAccountSettingCommand_base: {
39
39
  * // const { ECSClient, PutAccountSettingCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
40
40
  * const client = new ECSClient(config);
41
41
  * const input = { // PutAccountSettingRequest
42
- * name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod" || "guardDutyActivate", // required
42
+ * name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod" || "guardDutyActivate" || "defaultLogDriverMode", // required
43
43
  * value: "STRING_VALUE", // required
44
44
  * principalArn: "STRING_VALUE",
45
45
  * };
@@ -47,7 +47,7 @@ declare const PutAccountSettingCommand_base: {
47
47
  * const response = await client.send(command);
48
48
  * // { // PutAccountSettingResponse
49
49
  * // setting: { // Setting
50
- * // name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod" || "guardDutyActivate",
50
+ * // name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod" || "guardDutyActivate" || "defaultLogDriverMode",
51
51
  * // value: "STRING_VALUE",
52
52
  * // principalArn: "STRING_VALUE",
53
53
  * // type: "user" || "aws_managed",
@@ -36,14 +36,14 @@ declare const PutAccountSettingDefaultCommand_base: {
36
36
  * // const { ECSClient, PutAccountSettingDefaultCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
37
37
  * const client = new ECSClient(config);
38
38
  * const input = { // PutAccountSettingDefaultRequest
39
- * name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod" || "guardDutyActivate", // required
39
+ * name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod" || "guardDutyActivate" || "defaultLogDriverMode", // required
40
40
  * value: "STRING_VALUE", // required
41
41
  * };
42
42
  * const command = new PutAccountSettingDefaultCommand(input);
43
43
  * const response = await client.send(command);
44
44
  * // { // PutAccountSettingDefaultResponse
45
45
  * // setting: { // Setting
46
- * // name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod" || "guardDutyActivate",
46
+ * // name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod" || "guardDutyActivate" || "defaultLogDriverMode",
47
47
  * // value: "STRING_VALUE",
48
48
  * // principalArn: "STRING_VALUE",
49
49
  * // type: "user" || "aws_managed",
@@ -685,8 +685,8 @@ export interface ClusterServiceConnectDefaultsRequest {
685
685
  /**
686
686
  * <p>The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace that's used when you create a service and don't specify
687
687
  * a Service Connect configuration. The namespace name can include up to 1024 characters.
688
- * The name is case-sensitive. The name can't include greater than
689
- * (>), less than (<), double quotation marks ("), or slash (/).</p>
688
+ * The name is case-sensitive. The name can't include greater than (>), less than
689
+ * (<), double quotation marks ("), or slash (/).</p>
690
690
  * <p>If you enter an existing namespace name or ARN, then that namespace will be used.
691
691
  * Any namespace type is supported. The namespace must be in this account and this Amazon Web Services
692
692
  * Region.</p>
@@ -1308,9 +1308,10 @@ export interface DeploymentConfiguration {
1308
1308
  * uses either the blue/green (<code>CODE_DEPLOY</code>) or <code>EXTERNAL</code>
1309
1309
  * deployment types and has tasks that use the EC2 launch type.</p>
1310
1310
  * </note>
1311
- * <p>If the service uses either the blue/green (<code>CODE_DEPLOY</code>) or <code>EXTERNAL</code>
1312
- * deployment types, and the tasks in the service use the Fargate launch type, the maximum
1313
- * percent value is not used. The value is still returned when describing your service.</p>
1311
+ * <p>If the service uses either the blue/green (<code>CODE_DEPLOY</code>) or
1312
+ * <code>EXTERNAL</code> deployment types, and the tasks in the service use the
1313
+ * Fargate launch type, the maximum percent value is not used. The value is
1314
+ * still returned when describing your service.</p>
1314
1315
  * @public
1315
1316
  */
1316
1317
  maximumPercent?: number | undefined;
@@ -1564,12 +1565,12 @@ export interface AwsVpcConfiguration {
1564
1565
  * <p>Consider the following when you set this value:</p>
1565
1566
  * <ul>
1566
1567
  * <li>
1567
- * <p>When you use <code>create-service</code> or <code>update-service</code>, the default is
1568
- * <code>DISABLED</code>. </p>
1568
+ * <p>When you use <code>create-service</code> or <code>update-service</code>, the
1569
+ * default is <code>DISABLED</code>. </p>
1569
1570
  * </li>
1570
1571
  * <li>
1571
- * <p>When the service <code>deploymentController</code> is <code>ECS</code>, the value must be
1572
- * <code>DISABLED</code>. </p>
1572
+ * <p>When the service <code>deploymentController</code> is <code>ECS</code>, the
1573
+ * value must be <code>DISABLED</code>. </p>
1573
1574
  * </li>
1574
1575
  * </ul>
1575
1576
  * @public
@@ -1854,9 +1855,7 @@ export interface LogConfiguration {
1854
1855
  * </dd>
1855
1856
  * <dt>awslogs-stream-prefix</dt>
1856
1857
  * <dd>
1857
- * <p>Required: Yes, when using the Fargate launch
1858
- * type.Optional for the EC2 launch type,
1859
- * required for the Fargate launch type.</p>
1858
+ * <p>Required: Yes, when using Fargate.Optional when using EC2.</p>
1860
1859
  * <p>Use the <code>awslogs-stream-prefix</code> option to associate a log
1861
1860
  * stream with the specified prefix, the container name, and the ID of the
1862
1861
  * Amazon ECS task that the container belongs to. If you specify a prefix with this
@@ -1912,15 +1911,19 @@ export interface LogConfiguration {
1912
1911
  * performance.</p>
1913
1912
  * </note>
1914
1913
  * </dd>
1914
+ * </dl>
1915
+ * <p>The following options apply to all supported log drivers.</p>
1916
+ * <dl>
1915
1917
  * <dt>mode</dt>
1916
1918
  * <dd>
1917
1919
  * <p>Required: No</p>
1918
1920
  * <p>Valid values: <code>non-blocking</code> | <code>blocking</code>
1919
1921
  * </p>
1920
1922
  * <p>This option defines the delivery mode of log messages from the container
1921
- * to CloudWatch Logs. The delivery mode you choose affects application availability when
1922
- * the flow of logs from container to CloudWatch is interrupted.</p>
1923
- * <p>If you use the <code>blocking</code> mode and the flow of logs to CloudWatch is
1923
+ * to the log driver specified using <code>logDriver</code>. The delivery mode
1924
+ * you choose affects application availability when the flow of logs from
1925
+ * container is interrupted.</p>
1926
+ * <p>If you use the <code>blocking</code> mode and the flow of logs is
1924
1927
  * interrupted, calls from container code to write to the <code>stdout</code>
1925
1928
  * and <code>stderr</code> streams will block. The logging thread of the
1926
1929
  * application will block as a result. This may cause the application to become
@@ -1928,10 +1931,15 @@ export interface LogConfiguration {
1928
1931
  * <p>If you use the <code>non-blocking</code> mode, the container's logs are
1929
1932
  * instead stored in an in-memory intermediate buffer configured with the
1930
1933
  * <code>max-buffer-size</code> option. This prevents the application from
1931
- * becoming unresponsive when logs cannot be sent to CloudWatch. We recommend using
1932
- * this mode if you want to ensure service availability and are okay with some
1933
- * log loss. For more information, see <a href="http://aws.amazon.com/blogs/containers/preventing-log-loss-with-non-blocking-mode-in-the-awslogs-container-log-driver/">Preventing log loss with non-blocking mode in the <code>awslogs</code>
1934
+ * becoming unresponsive when logs cannot be sent. We recommend using this mode
1935
+ * if you want to ensure service availability and are okay with some log loss.
1936
+ * For more information, see <a href="http://aws.amazon.com/blogs/containers/preventing-log-loss-with-non-blocking-mode-in-the-awslogs-container-log-driver/">Preventing log loss with non-blocking mode in the <code>awslogs</code>
1934
1937
  * container log driver</a>.</p>
1938
+ * <p>You can set a default <code>mode</code> for all containers in a specific
1939
+ * Amazon Web Services Region by using the <code>defaultLogDriverMode</code> account setting.
1940
+ * If you don't specify the <code>mode</code> option or
1941
+ * configure the account setting, Amazon ECS will default to the
1942
+ * <code>blocking</code> mode. For more information about the account setting, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#default-log-driver-mode">Default log driver mode</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
1935
1943
  * </dd>
1936
1944
  * <dt>max-buffer-size</dt>
1937
1945
  * <dd>
@@ -1962,8 +1970,9 @@ export interface LogConfiguration {
1962
1970
  * <p> When you export logs to Amazon OpenSearch Service, you can specify options like <code>Name</code>,
1963
1971
  * <code>Host</code> (OpenSearch Service endpoint without protocol), <code>Port</code>,
1964
1972
  * <code>Index</code>, <code>Type</code>, <code>Aws_auth</code>,
1965
- * <code>Aws_region</code>, <code>Suppress_Type_Name</code>, and
1966
- * <code>tls</code>. For more information, see <a href="http://aws.amazon.com/blogs/containers/under-the-hood-firelens-for-amazon-ecs-tasks/">Under the hood: FireLens for Amazon ECS Tasks</a>.</p>
1973
+ * <code>Aws_region</code>, <code>Suppress_Type_Name</code>, and <code>tls</code>. For
1974
+ * more information, see <a href="http://aws.amazon.com/blogs/containers/under-the-hood-firelens-for-amazon-ecs-tasks/">Under the hood:
1975
+ * FireLens for Amazon ECS Tasks</a>.</p>
1967
1976
  * <p>When you export logs to Amazon S3, you can specify the bucket using the <code>bucket</code>
1968
1977
  * option. You can also specify <code>region</code>, <code>total_file_size</code>,
1969
1978
  * <code>upload_timeout</code>, and <code>use_put_object</code> as options.</p>
@@ -3881,6 +3890,7 @@ export declare const SettingName: {
3881
3890
  readonly AWSVPC_TRUNKING: "awsvpcTrunking";
3882
3891
  readonly CONTAINER_INSIGHTS: "containerInsights";
3883
3892
  readonly CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat";
3893
+ readonly DEFAULT_LOG_DRIVER_MODE: "defaultLogDriverMode";
3884
3894
  readonly FARGATE_FIPS_MODE: "fargateFIPSMode";
3885
3895
  readonly FARGATE_TASK_RETIREMENT_WAIT_PERIOD: "fargateTaskRetirementWaitPeriod";
3886
3896
  readonly GUARD_DUTY_ACTIVATE: "guardDutyActivate";
@@ -4569,7 +4579,8 @@ export interface FirelensConfiguration {
4569
4579
  * that's configured to use a Classic Load Balancer.</p>
4570
4580
  * </li>
4571
4581
  * </ul>
4572
- * <p>For an example of how to specify a task definition with multiple containers where container dependency is specified, 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>
4582
+ * <p>For an example of how to specify a task definition with multiple containers where
4583
+ * container dependency is specified, 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>
4573
4584
  * @public
4574
4585
  */
4575
4586
  export interface HealthCheck {
@@ -4594,16 +4605,16 @@ export interface HealthCheck {
4594
4605
  */
4595
4606
  command: string[] | undefined;
4596
4607
  /**
4597
- * <p>The time period in seconds between each health check execution. You may specify between 5
4598
- * and 300 seconds. The default value is 30 seconds. This value applies only when you
4599
- * specify a <code>command</code>. </p>
4608
+ * <p>The time period in seconds between each health check execution. You may specify
4609
+ * between 5 and 300 seconds. The default value is 30 seconds. This value applies only when
4610
+ * you specify a <code>command</code>. </p>
4600
4611
  * @public
4601
4612
  */
4602
4613
  interval?: number | undefined;
4603
4614
  /**
4604
- * <p>The time period in seconds to wait for a health check to succeed before it is considered a
4605
- * failure. You may specify between 2 and 60 seconds. The default value is 5. This value
4606
- * applies only when you specify a <code>command</code>. </p>
4615
+ * <p>The time period in seconds to wait for a health check to succeed before it is
4616
+ * considered a failure. You may specify between 2 and 60 seconds. The default value is 5.
4617
+ * This value applies only when you specify a <code>command</code>. </p>
4607
4618
  * @public
4608
4619
  */
4609
4620
  timeout?: number | undefined;
@@ -4632,15 +4643,16 @@ export interface HealthCheck {
4632
4643
  * <p>The Linux capabilities to add or remove from the default Docker configuration for a
4633
4644
  * container defined in the task definition. For more detailed information about these
4634
4645
  * Linux capabilities, see the <a href="http://man7.org/linux/man-pages/man7/capabilities.7.html">capabilities(7)</a> Linux manual page.</p>
4635
- * <p>The following describes how Docker processes the Linux capabilities specified in the <code>add</code> and
4636
- * <code>drop</code> request parameters. For information about the latest behavior, see
4637
- * <a href="https://forums.docker.com/t/docker-compose-order-of-cap-drop-and-cap-add/97136/1">Docker Compose: order of cap_drop and cap_add</a> in the Docker Community Forum.</p>
4646
+ * <p>The following describes how Docker processes the Linux capabilities specified in the
4647
+ * <code>add</code> and <code>drop</code> request parameters. For information about the
4648
+ * latest behavior, see <a href="https://forums.docker.com/t/docker-compose-order-of-cap-drop-and-cap-add/97136/1">Docker Compose: order of cap_drop and cap_add</a> in the Docker Community
4649
+ * Forum.</p>
4638
4650
  * <ul>
4639
4651
  * <li>
4640
- * <p>When the container is a privleged container, the container capabilities are all of the
4641
- * default Docker capabilities. The capabilities specified in the <code>add</code>
4642
- * request parameter, and the <code>drop</code> request parameter are
4643
- * ignored.</p>
4652
+ * <p>When the container is a privleged container, the container capabilities are
4653
+ * all of the default Docker capabilities. The capabilities specified in the
4654
+ * <code>add</code> request parameter, and the <code>drop</code> request
4655
+ * parameter are ignored.</p>
4644
4656
  * </li>
4645
4657
  * <li>
4646
4658
  * <p>When the <code>add</code> request parameter is set to ALL, the container
@@ -4648,17 +4660,19 @@ export interface HealthCheck {
4648
4660
  * specified in the <code>drop</code> request parameter.</p>
4649
4661
  * </li>
4650
4662
  * <li>
4651
- * <p>When the <code>drop</code> request parameter is set to ALL, the container capabilities are
4652
- * the capabilities specified in the <code>add</code> request parameter.</p>
4663
+ * <p>When the <code>drop</code> request parameter is set to ALL, the container
4664
+ * capabilities are the capabilities specified in the <code>add</code> request
4665
+ * parameter.</p>
4653
4666
  * </li>
4654
4667
  * <li>
4655
- * <p>When the <code>add</code> request parameter and the <code>drop</code> request parameter are both empty, the capabilities the container
4656
- * capabilities are all of the default Docker capabilities.</p>
4668
+ * <p>When the <code>add</code> request parameter and the <code>drop</code> request
4669
+ * parameter are both empty, the capabilities the container capabilities are all of
4670
+ * the default Docker capabilities.</p>
4657
4671
  * </li>
4658
4672
  * <li>
4659
- * <p>The default is to first drop the capabilities specified in the <code>drop</code> request
4660
- * parameter, and then add the capabilities specified in the <code>add</code>
4661
- * request parameter.</p>
4673
+ * <p>The default is to first drop the capabilities specified in the
4674
+ * <code>drop</code> request parameter, and then add the capabilities specified
4675
+ * in the <code>add</code> request parameter.</p>
4662
4676
  * </li>
4663
4677
  * </ul>
4664
4678
  * @public
@@ -5634,8 +5648,8 @@ export interface ContainerDefinition {
5634
5648
  */
5635
5649
  volumesFrom?: VolumeFrom[] | undefined;
5636
5650
  /**
5637
- * <p>Linux-specific modifications that are applied to the default Docker container configuration, such as Linux kernel
5638
- * capabilities. For more information see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html">KernelCapabilities</a>.</p>
5651
+ * <p>Linux-specific modifications that are applied to the default Docker container
5652
+ * configuration, such as Linux kernel capabilities. For more information see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html">KernelCapabilities</a>.</p>
5639
5653
  * <note>
5640
5654
  * <p>This parameter is not supported for Windows containers.</p>
5641
5655
  * </note>
@@ -6936,8 +6950,8 @@ export interface TaskDefinition {
6936
6950
  */
6937
6951
  ephemeralStorage?: EphemeralStorage | undefined;
6938
6952
  /**
6939
- * <p>Enables fault injection and allows for fault injection requests to be accepted from the task's containers.
6940
- * The default value is <code>false</code>.</p>
6953
+ * <p>Enables fault injection and allows for fault injection requests to be accepted from
6954
+ * the task's containers. The default value is <code>false</code>.</p>
6941
6955
  * @public
6942
6956
  */
6943
6957
  enableFaultInjection?: boolean | undefined;
@@ -7728,8 +7742,7 @@ export type ServiceDeploymentStatus = (typeof ServiceDeploymentStatus)[keyof typ
7728
7742
  /**
7729
7743
  * <p>Information about the service deployment.</p>
7730
7744
  * <p>Service deployments provide a comprehensive view of your deployments. For information
7731
- * about service deployments, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-deployment.html">View service history
7732
- * using Amazon ECS service deployments</a> in the
7745
+ * about service deployments, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-deployment.html">View service history using Amazon ECS service deployments</a> in the
7733
7746
  * <i>
7734
7747
  * <i>Amazon Elastic Container Service Developer Guide</i>
7735
7748
  * </i>.</p>
@@ -8697,13 +8710,13 @@ export interface Task {
8697
8710
  * expressed as a string using vCPUs (for example, <code>1 vCPU</code> or <code>1
8698
8711
  * vcpu</code>). String values are converted to an integer that indicates the CPU units
8699
8712
  * when the task definition is registered.</p>
8700
- * <p>If you're using the EC2 launch type or the external launch type, this field is
8701
- * optional. Supported values are between <code>128</code> CPU units (<code>0.125</code>
8702
- * vCPUs) and <code>196608</code> CPU units (<code>192</code> vCPUs). If you do not specify
8703
- * a value, the parameter is ignored.</p>
8704
- * <p>If you're using the Fargate launch type, this field is required. You must use
8705
- * one of the following values. These values determine the range of supported values for
8706
- * the <code>memory</code> parameter:</p>
8713
+ * <p>If you're using the EC2 launch type or the external launch type, this
8714
+ * field is optional. Supported values are between <code>128</code> CPU units
8715
+ * (<code>0.125</code> vCPUs) and <code>196608</code> CPU units (<code>192</code>
8716
+ * vCPUs). If you do not specify a value, the parameter is ignored.</p>
8717
+ * <p>If you're using the Fargate launch type, this field is required. You
8718
+ * must use one of the following values. These values determine the range of supported
8719
+ * values for the <code>memory</code> parameter:</p>
8707
8720
  * <p>The CPU units cannot be less than 1 vCPU when you use Windows containers on
8708
8721
  * Fargate.</p>
8709
8722
  * <ul>
@@ -10291,6 +10304,17 @@ export interface PutAccountSettingRequest {
10291
10304
  * </li>
10292
10305
  * <li>
10293
10306
  * <p>
10307
+ * <code>defaultLogDriverMode</code> - Amazon ECS supports setting a default delivery
10308
+ * mode of log messages from a container to the <code>logDriver</code> that you specify in the container's <code>logConfiguration</code>. The delivery mode affects
10309
+ * application stability when the flow of logs from the container to the log driver is
10310
+ * interrupted. The <code>defaultLogDriverMode</code> setting supports two values:
10311
+ * <code>blocking</code> and <code>non-blocking</code>. If you don't specify a
10312
+ * delivery mode in your container definition's <code>logConfiguration</code>, the
10313
+ * mode you specify using this account setting will be used as the default. For
10314
+ * more information about log delivery modes, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html">LogConfiguration</a>.</p>
10315
+ * </li>
10316
+ * <li>
10317
+ * <p>
10294
10318
  * <code>guardDutyActivate</code> - The <code>guardDutyActivate</code> parameter is read-only in Amazon ECS and indicates whether
10295
10319
  * Amazon ECS Runtime Monitoring is enabled or disabled by your security administrator in your
10296
10320
  * 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>
@@ -10452,6 +10476,17 @@ export interface PutAccountSettingDefaultRequest {
10452
10476
  * </li>
10453
10477
  * <li>
10454
10478
  * <p>
10479
+ * <code>defaultLogDriverMode</code> -Amazon ECS supports setting a default delivery
10480
+ * mode of log messages from a container to the <code>logDriver</code> that you specify in the container's <code>logConfiguration</code>. The delivery mode affects
10481
+ * application stability when the flow of logs from the container to the log driver is
10482
+ * interrupted. The <code>defaultLogDriverMode</code> setting supports two values:
10483
+ * <code>blocking</code> and <code>non-blocking</code>. If you don't specify a
10484
+ * delivery mode in your container definition's <code>logConfiguration</code>, the
10485
+ * mode you specify using this account setting will be used as the default. For
10486
+ * more information about log delivery modes, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html">LogConfiguration</a>.</p>
10487
+ * </li>
10488
+ * <li>
10489
+ * <p>
10455
10490
  * <code>guardDutyActivate</code> - The <code>guardDutyActivate</code> parameter is read-only in Amazon ECS and indicates whether
10456
10491
  * Amazon ECS Runtime Monitoring is enabled or disabled by your security administrator in your
10457
10492
  * 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>
@@ -10826,8 +10861,8 @@ export interface RegisterTaskDefinitionRequest {
10826
10861
  * <p>Task-level CPU and memory parameters are ignored for Windows containers. We
10827
10862
  * recommend specifying container-level resources for Windows containers.</p>
10828
10863
  * </note>
10829
- * <p>If you're using the EC2 launch type or external launch type, this field is
10830
- * optional. Supported values are between <code>128</code> CPU units (<code>0.125</code>
10864
+ * <p>If you're using the EC2 launch type or external launch type, this field
10865
+ * is optional. Supported values are between <code>128</code> CPU units (<code>0.125</code>
10831
10866
  * vCPUs) and <code>196608</code> CPU units (<code>192</code> vCPUs). If you do not specify
10832
10867
  * a value, the parameter is ignored.</p>
10833
10868
  * <p>If you're using the Fargate launch type, this field is required and you
@@ -11052,8 +11087,9 @@ export interface RegisterTaskDefinitionRequest {
11052
11087
  */
11053
11088
  runtimePlatform?: RuntimePlatform | undefined;
11054
11089
  /**
11055
- * <p>Enables fault injection when you register your task definition and allows for fault injection requests
11056
- * to be accepted from the task's containers. The default value is <code>false</code>.</p>
11090
+ * <p>Enables fault injection when you register your task definition and allows for fault
11091
+ * injection requests to be accepted from the task's containers. The default value is
11092
+ * <code>false</code>.</p>
11057
11093
  * @public
11058
11094
  */
11059
11095
  enableFaultInjection?: boolean | undefined;
@@ -11986,7 +12022,8 @@ export interface TagResourceRequest {
11986
12022
  * <p>
11987
12023
  * <code>arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name</code>
11988
12024
  * </p>
11989
- * <p>If you try to tag a service with a short ARN, you receive an <code>InvalidParameterException</code> error.</p>
12025
+ * <p>If you try to tag a service with a short ARN, you receive an
12026
+ * <code>InvalidParameterException</code> error.</p>
11990
12027
  * @public
11991
12028
  */
11992
12029
  resourceArn: string | undefined;
@@ -610,6 +610,7 @@ export declare const SettingName: {
610
610
  readonly AWSVPC_TRUNKING: "awsvpcTrunking";
611
611
  readonly CONTAINER_INSIGHTS: "containerInsights";
612
612
  readonly CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat";
613
+ readonly DEFAULT_LOG_DRIVER_MODE: "defaultLogDriverMode";
613
614
  readonly FARGATE_FIPS_MODE: "fargateFIPSMode";
614
615
  readonly FARGATE_TASK_RETIREMENT_WAIT_PERIOD: "fargateTaskRetirementWaitPeriod";
615
616
  readonly GUARD_DUTY_ACTIVATE: "guardDutyActivate";
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.782.0",
4
+ "version": "3.791.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",
@@ -21,16 +21,16 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.782.0",
24
+ "@aws-sdk/credential-provider-node": "3.787.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.782.0",
28
+ "@aws-sdk/middleware-user-agent": "3.787.0",
29
29
  "@aws-sdk/region-config-resolver": "3.775.0",
30
30
  "@aws-sdk/types": "3.775.0",
31
- "@aws-sdk/util-endpoints": "3.782.0",
31
+ "@aws-sdk/util-endpoints": "3.787.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.782.0",
33
+ "@aws-sdk/util-user-agent-node": "3.787.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
35
  "@smithy/core": "^3.2.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",