diff --git a/clients/client-ecs/README.md b/clients/client-ecs/README.md index eff9e3e230ef..2baa363eb4bb 100644 --- a/clients/client-ecs/README.md +++ b/clients/client-ecs/README.md @@ -23,7 +23,7 @@ You also don't need to worry about scaling your management infrastructure.

## Installing -To install the this package, simply type add or install @aws-sdk/client-ecs +To install this package, simply type add or install @aws-sdk/client-ecs using your favorite package manager: - `npm install @aws-sdk/client-ecs` diff --git a/clients/client-ecs/src/commands/CreateServiceCommand.ts b/clients/client-ecs/src/commands/CreateServiceCommand.ts index 9c7d8fc6870c..e07e24c5a203 100644 --- a/clients/client-ecs/src/commands/CreateServiceCommand.ts +++ b/clients/client-ecs/src/commands/CreateServiceCommand.ts @@ -269,7 +269,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met * }, * ], * roleArn: "STRING_VALUE", // required - * filesystemType: "ext3" || "ext4" || "xfs", + * filesystemType: "ext3" || "ext4" || "xfs" || "ntfs", * }, * }, * ], @@ -500,7 +500,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met * // }, * // ], * // roleArn: "STRING_VALUE", // required - * // filesystemType: "ext3" || "ext4" || "xfs", + * // filesystemType: "ext3" || "ext4" || "xfs" || "ntfs", * // }, * // }, * // ], diff --git a/clients/client-ecs/src/commands/DeleteServiceCommand.ts b/clients/client-ecs/src/commands/DeleteServiceCommand.ts index 7b71dd420dce..ffba285b6034 100644 --- a/clients/client-ecs/src/commands/DeleteServiceCommand.ts +++ b/clients/client-ecs/src/commands/DeleteServiceCommand.ts @@ -286,7 +286,7 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met * // }, * // ], * // roleArn: "STRING_VALUE", // required - * // filesystemType: "ext3" || "ext4" || "xfs", + * // filesystemType: "ext3" || "ext4" || "xfs" || "ntfs", * // }, * // }, * // ], diff --git a/clients/client-ecs/src/commands/DescribeServicesCommand.ts b/clients/client-ecs/src/commands/DescribeServicesCommand.ts index 6e3484bb6d5c..3c4dd4b22a65 100644 --- a/clients/client-ecs/src/commands/DescribeServicesCommand.ts +++ b/clients/client-ecs/src/commands/DescribeServicesCommand.ts @@ -271,7 +271,7 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse, * // }, * // ], * // roleArn: "STRING_VALUE", // required - * // filesystemType: "ext3" || "ext4" || "xfs", + * // filesystemType: "ext3" || "ext4" || "xfs" || "ntfs", * // }, * // }, * // ], diff --git a/clients/client-ecs/src/commands/RunTaskCommand.ts b/clients/client-ecs/src/commands/RunTaskCommand.ts index 7e02f444a1d8..31b0cc9faaf6 100644 --- a/clients/client-ecs/src/commands/RunTaskCommand.ts +++ b/clients/client-ecs/src/commands/RunTaskCommand.ts @@ -190,7 +190,7 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer * terminationPolicy: { // TaskManagedEBSVolumeTerminationPolicy * deleteOnTermination: true || false, // required * }, - * filesystemType: "ext3" || "ext4" || "xfs", + * filesystemType: "ext3" || "ext4" || "xfs" || "ntfs", * }, * }, * ], diff --git a/clients/client-ecs/src/commands/StartTaskCommand.ts b/clients/client-ecs/src/commands/StartTaskCommand.ts index fa59b14ff758..ff12b70828e7 100644 --- a/clients/client-ecs/src/commands/StartTaskCommand.ts +++ b/clients/client-ecs/src/commands/StartTaskCommand.ts @@ -144,7 +144,7 @@ export interface StartTaskCommandOutput extends StartTaskResponse, __MetadataBea * terminationPolicy: { // TaskManagedEBSVolumeTerminationPolicy * deleteOnTermination: true || false, // required * }, - * filesystemType: "ext3" || "ext4" || "xfs", + * filesystemType: "ext3" || "ext4" || "xfs" || "ntfs", * }, * }, * ], diff --git a/clients/client-ecs/src/commands/UpdateServiceCommand.ts b/clients/client-ecs/src/commands/UpdateServiceCommand.ts index e397fa84e9dc..a1372a158712 100644 --- a/clients/client-ecs/src/commands/UpdateServiceCommand.ts +++ b/clients/client-ecs/src/commands/UpdateServiceCommand.ts @@ -306,7 +306,7 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met * }, * ], * roleArn: "STRING_VALUE", // required - * filesystemType: "ext3" || "ext4" || "xfs", + * filesystemType: "ext3" || "ext4" || "xfs" || "ntfs", * }, * }, * ], @@ -537,7 +537,7 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met * // }, * // ], * // roleArn: "STRING_VALUE", // required - * // filesystemType: "ext3" || "ext4" || "xfs", + * // filesystemType: "ext3" || "ext4" || "xfs" || "ntfs", * // }, * // }, * // ], diff --git a/clients/client-ecs/src/models/models_0.ts b/clients/client-ecs/src/models/models_0.ts index 57208210fe90..f91c4073f956 100644 --- a/clients/client-ecs/src/models/models_0.ts +++ b/clients/client-ecs/src/models/models_0.ts @@ -2494,6 +2494,7 @@ export interface ServiceRegistry { export const TaskFilesystemType = { EXT3: "ext3", EXT4: "ext4", + NTFS: "ntfs", XFS: "xfs", } as const; @@ -2544,9 +2545,10 @@ export interface EBSTagSpecification { } /** - *

The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf. - * These settings are used to create each Amazon EBS volume, with one volume created for each - * task in the service.

+ *

The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf. These + * settings are used to create each Amazon EBS volume, with one volume created for each task in + * the service. For information about the supported launch types and operating systems, see Supported operating systems and launch types + * in the Amazon Elastic Container Service Developer Guide.

*

Many of these parameters map 1:1 with the Amazon EBS CreateVolume API request * parameters.

* @public @@ -2707,12 +2709,13 @@ export interface ServiceManagedEBSVolumeConfiguration { roleArn: string | undefined; /** - *

The Linux filesystem type for the volume. For volumes created from a snapshot, you - * must specify the same filesystem type that the volume was using when the snapshot was - * created. If there is a filesystem type mismatch, the task will fail to start.

- *

The available filesystem types are
 ext3, ext4, and + *

The filesystem type for the volume. For volumes created from a snapshot, you must specify + * the same filesystem type that the volume was using when the snapshot was created. If + * there is a filesystem type mismatch, the task will fail to start.

+ *

The available Linux filesystem types are
 ext3, ext4, and * xfs. If no value is specified, the xfs filesystem type is * used by default.

+ *

The available Windows filesystem types are NTFS.

* @public */ filesystemType?: TaskFilesystemType; @@ -5013,7 +5016,7 @@ export interface HealthCheck { * CMD-SHELL, curl -f http://localhost/ || exit 1 *

*

An exit code of 0 indicates success, and non-zero exit code indicates failure. For - * more information, see HealthCheck in the docker container create command

+ * more information, see HealthCheck in the docker container create command.

* @public */ command: string[] | undefined; diff --git a/codegen/sdk-codegen/aws-models/ecs.json b/codegen/sdk-codegen/aws-models/ecs.json index 2603311b17c8..02f1b1e2384e 100644 --- a/codegen/sdk-codegen/aws-models/ecs.json +++ b/codegen/sdk-codegen/aws-models/ecs.json @@ -6261,7 +6261,7 @@ "command": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

A string array representing the command that the container runs to determine if it is\n\t\t\thealthy. The string array must start with CMD to run the command arguments\n\t\t\tdirectly, or CMD-SHELL to run the command with the container's default\n\t\t\tshell.

\n

When you use the Amazon Web Services Management Console JSON panel, the Command Line Interface, or the APIs, enclose the list\n\t\t\tof commands in double quotes and brackets.

\n

\n [ \"CMD-SHELL\", \"curl -f http://localhost/ || exit 1\" ]\n

\n

You don't include the double quotes and brackets when you use the Amazon Web Services Management Console.

\n

\n CMD-SHELL, curl -f http://localhost/ || exit 1\n

\n

An exit code of 0 indicates success, and non-zero exit code indicates failure. For\n\t\t\tmore information, see HealthCheck in the docker container create command

", + "smithy.api#documentation": "

A string array representing the command that the container runs to determine if it is\n\t\t\thealthy. The string array must start with CMD to run the command arguments\n\t\t\tdirectly, or CMD-SHELL to run the command with the container's default\n\t\t\tshell.

\n

When you use the Amazon Web Services Management Console JSON panel, the Command Line Interface, or the APIs, enclose the list\n\t\t\tof commands in double quotes and brackets.

\n

\n [ \"CMD-SHELL\", \"curl -f http://localhost/ || exit 1\" ]\n

\n

You don't include the double quotes and brackets when you use the Amazon Web Services Management Console.

\n

\n CMD-SHELL, curl -f http://localhost/ || exit 1\n

\n

An exit code of 0 indicates success, and non-zero exit code indicates failure. For\n\t\t\tmore information, see HealthCheck in the docker container create command.

", "smithy.api#required": {} } }, @@ -10282,12 +10282,12 @@ "filesystemType": { "target": "com.amazonaws.ecs#TaskFilesystemType", "traits": { - "smithy.api#documentation": "

The Linux filesystem type for the volume. For volumes created from a snapshot, you\n\t\t\tmust specify the same filesystem type that the volume was using when the snapshot was\n\t\t\tcreated. If there is a filesystem type mismatch, the task will fail to start.

\n

The available filesystem types are\u2028 ext3, ext4, and\n\t\t\t\txfs. If no value is specified, the xfs filesystem type is\n\t\t\tused by default.

" + "smithy.api#documentation": "

The filesystem type for the volume. For volumes created from a snapshot, you must specify\n\t\t\tthe same filesystem type that the volume was using when the snapshot was created. If\n\t\t\tthere is a filesystem type mismatch, the task will fail to start.

\n

The available Linux filesystem types are\u2028 ext3, ext4, and\n\t\t\t\txfs. If no value is specified, the xfs filesystem type is\n\t\t\tused by default.

\n

The available Windows filesystem types are NTFS.

" } } }, "traits": { - "smithy.api#documentation": "

The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf.\n\t\t\tThese settings are used to create each Amazon EBS volume, with one volume created for each\n\t\t\ttask in the service.

\n

Many of these parameters map 1:1 with the Amazon EBS CreateVolume API request\n\t\t\tparameters.

" + "smithy.api#documentation": "

The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf. These\n\t\t\tsettings are used to create each Amazon EBS volume, with one volume created for each task in\n\t\t\tthe service. For information about the supported launch types and operating systems, see Supported operating systems and launch types\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

\n

Many of these parameters map 1:1 with the Amazon EBS CreateVolume API request\n\t\t\tparameters.

" } }, "com.amazonaws.ecs#ServiceNotActiveException": { @@ -11805,6 +11805,12 @@ "traits": { "smithy.api#enumValue": "xfs" } + }, + "NTFS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ntfs" + } } } },