diff --git a/clients/client-ecs/README.md b/clients/client-ecs/README.md index 7976c0b8c0b9..dad091a8a4e1 100644 --- a/clients/client-ecs/README.md +++ b/clients/client-ecs/README.md @@ -8,18 +8,17 @@ AWS SDK for JavaScript ECS Client for Node.js, Browser and React Native. Amazon Elastic Container Service -

Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service. It makes -it easy to run, stop, and manage Docker containers. You can host your cluster on a -serverless infrastructure that's managed by Amazon ECS by launching your services or tasks on -Fargate. For more control, you can host your tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) -or External (on-premises) instances that you manage.

-

Amazon ECS makes it easy to launch and stop container-based applications with simple API -calls. This makes it easy to get the state of your cluster from a centralized service, -and gives you access to many familiar Amazon EC2 features.

-

You can use Amazon ECS to schedule the placement of containers across your cluster based on -your resource needs, isolation policies, and availability requirements. With Amazon ECS, you -don't need to operate your own cluster management and configuration management systems. -You also don't need to worry about scaling your management infrastructure.

+

Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service. It makes it easy to run, +stop, and manage Docker containers. You can host your cluster on a serverless infrastructure that's +managed by Amazon ECS by launching your services or tasks on Fargate. For more control, you can host your +tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) or External (on-premises) instances that you manage.

+

Amazon ECS makes it easy to launch and stop container-based applications with simple API calls. This makes +it easy to get the state of your cluster from a centralized service, and gives you access to many +familiar Amazon EC2 features.

+

You can use Amazon ECS to schedule the placement of containers across your cluster based on your resource +needs, isolation policies, and availability requirements. With Amazon ECS, you don't need to operate your +own cluster management and configuration management systems. You also don't need to worry about scaling +your management infrastructure.

## Installing diff --git a/clients/client-ecs/src/ECS.ts b/clients/client-ecs/src/ECS.ts index 7cfc5480f946..3c94e7826d13 100644 --- a/clients/client-ecs/src/ECS.ts +++ b/clients/client-ecs/src/ECS.ts @@ -1242,18 +1242,17 @@ export interface ECS { /** * Amazon Elastic Container Service - *

Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service. It makes - * it easy to run, stop, and manage Docker containers. You can host your cluster on a - * serverless infrastructure that's managed by Amazon ECS by launching your services or tasks on - * Fargate. For more control, you can host your tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) - * or External (on-premises) instances that you manage.

- *

Amazon ECS makes it easy to launch and stop container-based applications with simple API - * calls. This makes it easy to get the state of your cluster from a centralized service, - * and gives you access to many familiar Amazon EC2 features.

- *

You can use Amazon ECS to schedule the placement of containers across your cluster based on - * your resource needs, isolation policies, and availability requirements. With Amazon ECS, you - * don't need to operate your own cluster management and configuration management systems. - * You also don't need to worry about scaling your management infrastructure.

+ *

Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service. It makes it easy to run, + * stop, and manage Docker containers. You can host your cluster on a serverless infrastructure that's + * managed by Amazon ECS by launching your services or tasks on Fargate. For more control, you can host your + * tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) or External (on-premises) instances that you manage.

+ *

Amazon ECS makes it easy to launch and stop container-based applications with simple API calls. This makes + * it easy to get the state of your cluster from a centralized service, and gives you access to many + * familiar Amazon EC2 features.

+ *

You can use Amazon ECS to schedule the placement of containers across your cluster based on your resource + * needs, isolation policies, and availability requirements. With Amazon ECS, you don't need to operate your + * own cluster management and configuration management systems. You also don't need to worry about scaling + * your management infrastructure.

* @public */ export class ECS extends ECSClient implements ECS {} diff --git a/clients/client-ecs/src/ECSClient.ts b/clients/client-ecs/src/ECSClient.ts index 909ce62972bc..a07f25972b58 100644 --- a/clients/client-ecs/src/ECSClient.ts +++ b/clients/client-ecs/src/ECSClient.ts @@ -520,18 +520,17 @@ export interface ECSClientResolvedConfig extends ECSClientResolvedConfigType {} /** * Amazon Elastic Container Service - *

Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service. It makes - * it easy to run, stop, and manage Docker containers. You can host your cluster on a - * serverless infrastructure that's managed by Amazon ECS by launching your services or tasks on - * Fargate. For more control, you can host your tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) - * or External (on-premises) instances that you manage.

- *

Amazon ECS makes it easy to launch and stop container-based applications with simple API - * calls. This makes it easy to get the state of your cluster from a centralized service, - * and gives you access to many familiar Amazon EC2 features.

- *

You can use Amazon ECS to schedule the placement of containers across your cluster based on - * your resource needs, isolation policies, and availability requirements. With Amazon ECS, you - * don't need to operate your own cluster management and configuration management systems. - * You also don't need to worry about scaling your management infrastructure.

+ *

Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service. It makes it easy to run, + * stop, and manage Docker containers. You can host your cluster on a serverless infrastructure that's + * managed by Amazon ECS by launching your services or tasks on Fargate. For more control, you can host your + * tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) or External (on-premises) instances that you manage.

+ *

Amazon ECS makes it easy to launch and stop container-based applications with simple API calls. This makes + * it easy to get the state of your cluster from a centralized service, and gives you access to many + * familiar Amazon EC2 features.

+ *

You can use Amazon ECS to schedule the placement of containers across your cluster based on your resource + * needs, isolation policies, and availability requirements. With Amazon ECS, you don't need to operate your + * own cluster management and configuration management systems. You also don't need to worry about scaling + * your management infrastructure.

* @public */ export class ECSClient extends __Client< diff --git a/clients/client-ecs/src/commands/CreateCapacityProviderCommand.ts b/clients/client-ecs/src/commands/CreateCapacityProviderCommand.ts index f9b457165e42..3e8426d94745 100644 --- a/clients/client-ecs/src/commands/CreateCapacityProviderCommand.ts +++ b/clients/client-ecs/src/commands/CreateCapacityProviderCommand.ts @@ -28,13 +28,11 @@ export interface CreateCapacityProviderCommandInput extends CreateCapacityProvid export interface CreateCapacityProviderCommandOutput extends CreateCapacityProviderResponse, __MetadataBearer {} /** - *

Creates a new capacity provider. Capacity providers are associated with an Amazon ECS - * cluster and are used in capacity provider strategies to facilitate cluster auto - * scaling.

- *

Only capacity providers that use an Auto Scaling group can be created. Amazon ECS tasks on - * Fargate use the FARGATE and FARGATE_SPOT capacity providers. - * These providers are available to all accounts in the Amazon Web Services Regions that Fargate - * supports.

+ *

Creates a new capacity provider. Capacity providers are associated with an Amazon ECS cluster and are used + * in capacity provider strategies to facilitate cluster auto scaling.

+ *

Only capacity providers that use an Auto Scaling group can be created. Amazon ECS tasks on Fargate use + * the FARGATE and FARGATE_SPOT capacity providers. These providers are + * available to all accounts in the Amazon Web Services Regions that Fargate supports.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -101,23 +99,21 @@ export interface CreateCapacityProviderCommandOutput extends CreateCapacityProvi * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link LimitExceededException} (client fault) *

The limit for the resource was exceeded.

@@ -126,11 +122,10 @@ export interface CreateCapacityProviderCommandOutput extends CreateCapacityProvi *

These errors are usually caused by a server issue.

* * @throws {@link UpdateInProgressException} (client fault) - *

There's already a current Amazon ECS container agent update in progress on the container - * instance that's specified. If the container agent becomes disconnected while it's in a - * transitional stage, such as PENDING or STAGING, the update - * process can get stuck in that state. However, when the agent reconnects, it resumes - * where it stopped previously.

+ *

There's already a current Amazon ECS container agent update in progress on the container instance that's + * specified. If the container agent becomes disconnected while it's in a transitional stage, such as + * PENDING or STAGING, the update process can get stuck in that state. + * However, when the agent reconnects, it resumes where it stopped previously.

* * @throws {@link ECSServiceException} *

Base exception class for all service exceptions from ECS service.

diff --git a/clients/client-ecs/src/commands/CreateClusterCommand.ts b/clients/client-ecs/src/commands/CreateClusterCommand.ts index d58431f40925..ad826a1702e3 100644 --- a/clients/client-ecs/src/commands/CreateClusterCommand.ts +++ b/clients/client-ecs/src/commands/CreateClusterCommand.ts @@ -28,16 +28,16 @@ export interface CreateClusterCommandInput extends CreateClusterRequest {} export interface CreateClusterCommandOutput extends CreateClusterResponse, __MetadataBearer {} /** - *

Creates a new Amazon ECS cluster. By default, your account receives a default - * cluster when you launch your first container instance. However, you can create your own - * cluster with a unique name.

+ *

Creates a new Amazon ECS cluster. By default, your account receives a default cluster when + * you launch your first container instance. However, you can create your own cluster with a unique + * name.

* - *

When you call the CreateCluster API operation, Amazon ECS attempts to - * create the Amazon ECS service-linked role for your account. This is so that it can manage - * required resources in other Amazon Web Services services on your behalf. However, if the user that - * makes the call doesn't have permissions to create the service-linked role, it isn't - * created. For more information, see Using - * service-linked roles for Amazon ECS in the Amazon Elastic Container Service Developer Guide.

+ *

When you call the CreateCluster API operation, + * Amazon ECS attempts to create the Amazon ECS service-linked role for your account. This is so that it can + * manage required resources in other Amazon Web Services services on your behalf. However, if the user that makes + * the call doesn't have permissions to create the service-linked role, it isn't created. For more + * information, see Using service-linked + * roles for Amazon ECS in the Amazon Elastic Container Service Developer Guide.

*
* @example * Use a bare-bones client and the command you need to make an API call. @@ -175,23 +175,21 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link NamespaceNotFoundException} (client fault) *

The specified namespace wasn't found.

diff --git a/clients/client-ecs/src/commands/CreateServiceCommand.ts b/clients/client-ecs/src/commands/CreateServiceCommand.ts index 13089fe50406..415a45a8768d 100644 --- a/clients/client-ecs/src/commands/CreateServiceCommand.ts +++ b/clients/client-ecs/src/commands/CreateServiceCommand.ts @@ -28,92 +28,89 @@ export interface CreateServiceCommandInput extends CreateServiceRequest {} export interface CreateServiceCommandOutput extends CreateServiceResponse, __MetadataBearer {} /** - *

Runs and maintains your desired number of tasks from a specified task definition. If - * the number of tasks running in a service drops below the desiredCount, - * Amazon ECS runs another copy of the task in the specified cluster. To update an existing - * service, see the UpdateService action.

+ *

Runs and maintains your desired number of tasks from a specified task definition. If the number of + * tasks running in a service drops below the desiredCount, Amazon ECS runs another copy of the + * task in the specified cluster. To update an existing service, use UpdateService.

* *

On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.

*
* *

Amazon Elastic Inference (EI) is no longer available to customers.

*
- *

In addition to maintaining the desired count of tasks in your service, you can - * optionally run your service behind one or more load balancers. The load balancers - * distribute traffic across the tasks that are associated with the service. For more - * information, see Service load balancing in the Amazon Elastic Container Service Developer Guide.

- *

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or - * updating a service. volumeConfigurations is only supported for REPLICA - * service and not DAEMON service. For more infomation, see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide.

- *

Tasks for services that don't use a load balancer are considered healthy if they're in - * the RUNNING state. Tasks for services that use a load balancer are - * considered healthy if they're in the RUNNING state and are reported as - * healthy by the load balancer.

+ *

In addition to maintaining the desired count of tasks in your service, you can optionally run your + * service behind one or more load balancers. The load balancers distribute traffic across the tasks that + * are associated with the service. For more information, see Service load + * balancing in the Amazon Elastic Container Service Developer Guide.

+ *

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or updating a + * service. volumeConfigurations is only supported for REPLICA service and not DAEMON + * service. For more infomation, see Amazon EBS + * volumes in the Amazon Elastic Container Service Developer Guide.

+ *

Tasks for services that don't use a load balancer are considered healthy if they're in the + * RUNNING state. Tasks for services that use a load balancer are considered healthy if + * they're in the RUNNING state and are reported as healthy by the load balancer.

*

There are two service scheduler strategies available:

* - *

You can optionally specify a deployment configuration for your service. The deployment - * is initiated by changing properties. For example, the deployment might be initiated by - * the task definition or by your desired count of a service. You can use UpdateService. The default value for a replica service for - * minimumHealthyPercent is 100%. The default value for a daemon service - * for minimumHealthyPercent is 0%.

- *

If a service uses the ECS deployment controller, the minimum healthy - * percent represents a lower limit on the number of tasks in a service that must remain in - * the RUNNING state during a deployment. Specifically, it represents it as a - * percentage of your desired number of tasks (rounded up to the nearest integer). This - * happens when any of your container instances are in the DRAINING state if - * the service contains tasks using the EC2 launch type. Using this - * parameter, you can deploy without using additional cluster capacity. For example, if you - * set your service to have desired number of four tasks and a minimum healthy percent of - * 50%, the scheduler might stop two existing tasks to free up cluster capacity before - * starting two new tasks. If they're in the RUNNING state, tasks for services - * that don't use a load balancer are considered healthy . If they're in the - * RUNNING state and reported as healthy by the load balancer, tasks for - * services that do use a load balancer are considered healthy . The + *

You can optionally specify a deployment configuration for your service. The deployment is initiated + * by changing properties. For example, the deployment might be initiated by the task definition or by + * your desired count of a service. You can use UpdateService. The default value for a replica service for + * minimumHealthyPercent is 100%. The default value for a daemon service for + * minimumHealthyPercent is 0%.

+ *

If a service uses the ECS deployment controller, the minimum healthy percent represents + * a lower limit on the number of tasks in a service that must remain in the RUNNING state + * during a deployment. Specifically, it represents it as a percentage of your desired number of tasks + * (rounded up to the nearest integer). This happens when any of your container instances are in the + * DRAINING state if the service contains tasks using the EC2 launch type. + * Using this parameter, you can deploy without using additional cluster capacity. For example, if you set + * your service to have desired number of four tasks and a minimum healthy percent of 50%, the scheduler + * might stop two existing tasks to free up cluster capacity before starting two new tasks. If they're in + * the RUNNING state, tasks for services that don't use a load balancer are considered + * healthy . If they're in the RUNNING state and reported as healthy by the load balancer, + * tasks for services that do use a load balancer are considered healthy . The * default value for minimum healthy percent is 100%.

- *

If a service uses the ECS deployment controller, the maximum percent parameter represents an upper limit on the - * number of tasks in a service that are allowed in the RUNNING or - * PENDING state during a deployment. Specifically, it represents it as a - * percentage of the desired number of tasks (rounded down to the nearest integer). This - * happens when any of your container instances are in the DRAINING state if - * the service contains tasks using the EC2 launch type. Using this - * parameter, you can define the deployment batch size. For example, if your service has a - * desired number of four tasks and a maximum percent value of 200%, the scheduler may - * start four new tasks before stopping the four older tasks (provided that the cluster - * resources required to do this are available). The default value for maximum percent is - * 200%.

- *

If a service uses either the CODE_DEPLOY or EXTERNAL - * deployment controller types and tasks that use the EC2 launch type, the - * minimum healthy percent and maximum percent values are used only to define the lower and upper limit - * on the number of the tasks in the service that remain in the RUNNING state. - * This is while the container instances are in the DRAINING state. If the - * tasks in the service use the Fargate launch type, the minimum healthy - * percent and maximum percent values aren't used. This is the case even if they're - * currently visible when describing your service.

- *

When creating a service that uses the EXTERNAL deployment controller, you - * can specify only parameters that aren't controlled at the task set level. The only - * required parameter is the service name. You control your services using the CreateTaskSet. For more information, see Amazon ECS deployment types in the Amazon Elastic Container Service Developer Guide.

- *

When the service scheduler launches new tasks, it determines task placement. For - * information about task placement and task placement strategies, see Amazon ECS - * task placement in the Amazon Elastic Container Service Developer Guide + *

If a service uses the ECS deployment controller, the maximum + * percent parameter represents an upper limit on the number of tasks in a service that are + * allowed in the RUNNING or PENDING state during a deployment. Specifically, it + * represents it as a percentage of the desired number of tasks (rounded down to the nearest integer). + * This happens when any of your container instances are in the DRAINING state if the service + * contains tasks using the EC2 launch type. Using this parameter, you can define the + * deployment batch size. For example, if your service has a desired number of four tasks and a maximum + * percent value of 200%, the scheduler may start four new tasks before stopping the four older tasks + * (provided that the cluster resources required to do this are available). The default value for maximum + * percent is 200%.

+ *

If a service uses either the CODE_DEPLOY or EXTERNAL deployment controller + * types and tasks that use the EC2 launch type, the minimum healthy + * percent and maximum percent values are used only to + * define the lower and upper limit on the number of the tasks in the service that remain in the + * RUNNING state. This is while the container instances are in the DRAINING + * state. If the tasks in the service use the Fargate launch type, the minimum healthy + * percent and maximum percent values aren't used. This is the case even if they're currently visible when + * describing your service.

+ *

When creating a service that uses the EXTERNAL deployment controller, you can specify + * only parameters that aren't controlled at the task set level. The only required parameter is the + * service name. You control your services using the CreateTaskSet. For more information, see Amazon ECS deployment + * types in the Amazon Elastic Container Service Developer Guide.

+ *

When the service scheduler launches new tasks, it determines task placement. For information about + * task placement and task placement strategies, see Amazon ECS task + * placement in the Amazon Elastic Container Service Developer Guide *

* @example * Use a bare-bones client and the command you need to make an API call. @@ -273,6 +270,13 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met * }, * }, * ], + * vpcLatticeConfigurations: [ // VpcLatticeConfigurations + * { // VpcLatticeConfiguration + * roleArn: "STRING_VALUE", // required + * targetGroupArn: "STRING_VALUE", // required + * portName: "STRING_VALUE", // required + * }, + * ], * }; * const command = new CreateServiceCommand(input); * const response = await client.send(command); @@ -507,6 +511,13 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met * // fargateEphemeralStorage: { * // kmsKeyId: "STRING_VALUE", * // }, + * // vpcLatticeConfigurations: [ // VpcLatticeConfigurations + * // { // VpcLatticeConfiguration + * // roleArn: "STRING_VALUE", // required + * // targetGroupArn: "STRING_VALUE", // required + * // portName: "STRING_VALUE", // required + * // }, + * // ], * // }, * // ], * // roleArn: "STRING_VALUE", @@ -562,17 +573,16 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met *

You don't have authorization to perform the requested action.

* * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -580,8 +590,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link NamespaceNotFoundException} (client fault) *

The specified namespace wasn't found.

diff --git a/clients/client-ecs/src/commands/CreateTaskSetCommand.ts b/clients/client-ecs/src/commands/CreateTaskSetCommand.ts index d568a327cc2d..d88414947b9f 100644 --- a/clients/client-ecs/src/commands/CreateTaskSetCommand.ts +++ b/clients/client-ecs/src/commands/CreateTaskSetCommand.ts @@ -28,15 +28,14 @@ export interface CreateTaskSetCommandInput extends CreateTaskSetRequest {} export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __MetadataBearer {} /** - *

Create a task set in the specified cluster and service. This is used when a service - * uses the EXTERNAL deployment controller type. For more information, see - * Amazon ECS deployment + *

Create a task set in the specified cluster and service. This is used when a service uses the + * EXTERNAL deployment controller type. For more information, see Amazon ECS deployment * types in the Amazon Elastic Container Service Developer Guide.

* *

On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.

*
- *

For information about the maximum number of task sets and other quotas, see Amazon ECS - * service quotas in the Amazon Elastic Container Service Developer Guide.

+ *

For information about the maximum number of task sets and other quotas, see Amazon ECS service + * quotas in the Amazon Elastic Container Service Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -180,17 +179,16 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __Met *

You don't have authorization to perform the requested action.

* * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -198,8 +196,7 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __Met *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link NamespaceNotFoundException} (client fault) *

The specified namespace wasn't found.

@@ -215,12 +212,11 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __Met *

These errors are usually caused by a server issue.

* * @throws {@link ServiceNotActiveException} (client fault) - *

The specified service isn't active. You can't update a service that's inactive. If you - * have previously deleted a service, you can re-create it with CreateService.

+ *

The specified service isn't active. You can't update a service that's inactive. If you have + * previously deleted a service, you can re-create it with CreateService.

* * @throws {@link ServiceNotFoundException} (client fault) - *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region - * specific.

+ *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region specific.

* * @throws {@link UnsupportedFeatureException} (client fault) *

The specified task isn't supported in this Region.

diff --git a/clients/client-ecs/src/commands/DeleteAccountSettingCommand.ts b/clients/client-ecs/src/commands/DeleteAccountSettingCommand.ts index be964686d375..3074dc390082 100644 --- a/clients/client-ecs/src/commands/DeleteAccountSettingCommand.ts +++ b/clients/client-ecs/src/commands/DeleteAccountSettingCommand.ts @@ -28,8 +28,7 @@ export interface DeleteAccountSettingCommandInput extends DeleteAccountSettingRe export interface DeleteAccountSettingCommandOutput extends DeleteAccountSettingResponse, __MetadataBearer {} /** - *

Disables an account setting for a specified user, role, or the root user for an - * account.

+ *

Disables an account setting for a specified user, role, or the root user for an account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -60,23 +59,21 @@ export interface DeleteAccountSettingCommandOutput extends DeleteAccountSettingR * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/DeleteAttributesCommand.ts b/clients/client-ecs/src/commands/DeleteAttributesCommand.ts index 6c44c6b3b927..a46ecb2b91d0 100644 --- a/clients/client-ecs/src/commands/DeleteAttributesCommand.ts +++ b/clients/client-ecs/src/commands/DeleteAttributesCommand.ts @@ -71,12 +71,10 @@ export interface DeleteAttributesCommandOutput extends DeleteAttributesResponse, *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link TargetNotFoundException} (client fault) - *

The specified target wasn't found. You can view your available container instances - * with ListContainerInstances. Amazon ECS container instances are cluster-specific and + *

The specified target wasn't found. You can view your available container instances with ListContainerInstances. Amazon ECS container instances are cluster-specific and * Region-specific.

* * @throws {@link ECSServiceException} diff --git a/clients/client-ecs/src/commands/DeleteCapacityProviderCommand.ts b/clients/client-ecs/src/commands/DeleteCapacityProviderCommand.ts index 875bcfcc84f8..d0701ea52a6b 100644 --- a/clients/client-ecs/src/commands/DeleteCapacityProviderCommand.ts +++ b/clients/client-ecs/src/commands/DeleteCapacityProviderCommand.ts @@ -30,18 +30,16 @@ export interface DeleteCapacityProviderCommandOutput extends DeleteCapacityProvi /** *

Deletes the specified capacity provider.

* - *

The FARGATE and FARGATE_SPOT capacity providers are - * reserved and can't be deleted. You can disassociate them from a cluster using either PutCapacityProviderProviders or by deleting the - * cluster.

+ *

The FARGATE and FARGATE_SPOT capacity providers are reserved and can't + * be deleted. You can disassociate them from a cluster using either PutCapacityProviderProviders or by deleting the cluster.

*
- *

Prior to a capacity provider being deleted, the capacity provider must be removed from - * the capacity provider strategy from all services. The UpdateService - * API can be used to remove a capacity provider from a service's capacity provider - * strategy. When updating a service, the forceNewDeployment option can be - * used to ensure that any tasks using the Amazon EC2 instance capacity provided by the capacity - * provider are transitioned to use the capacity from the remaining capacity providers. - * Only capacity providers that aren't associated with a cluster can be deleted. To remove - * a capacity provider from a cluster, you can either use PutCapacityProviderProviders or delete the cluster.

+ *

Prior to a capacity provider being deleted, the capacity provider must be removed from the capacity + * provider strategy from all services. The UpdateService API can be used to + * remove a capacity provider from a service's capacity provider strategy. When updating a service, the + * forceNewDeployment option can be used to ensure that any tasks using the Amazon EC2 + * instance capacity provided by the capacity provider are transitioned to use the capacity from the + * remaining capacity providers. Only capacity providers that aren't associated with a cluster can be + * deleted. To remove a capacity provider from a cluster, you can either use PutCapacityProviderProviders or delete the cluster.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -90,23 +88,21 @@ export interface DeleteCapacityProviderCommandOutput extends DeleteCapacityProvi * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/DeleteClusterCommand.ts b/clients/client-ecs/src/commands/DeleteClusterCommand.ts index bc16ae9370f7..d09f3eb6f6f7 100644 --- a/clients/client-ecs/src/commands/DeleteClusterCommand.ts +++ b/clients/client-ecs/src/commands/DeleteClusterCommand.ts @@ -28,12 +28,13 @@ export interface DeleteClusterCommandInput extends DeleteClusterRequest {} export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __MetadataBearer {} /** - *

Deletes the specified cluster. The cluster transitions to the INACTIVE - * state. Clusters with an INACTIVE status might remain discoverable in your - * account for a period of time. However, this behavior is subject to change in the future. - * We don't recommend that you rely on INACTIVE clusters persisting.

- *

You must deregister all container instances from this cluster before you may delete - * it. You can list the container instances in a cluster with ListContainerInstances and deregister them with DeregisterContainerInstance.

+ *

Deletes the specified cluster. The cluster transitions to the INACTIVE state. Clusters + * with an INACTIVE status might remain discoverable in your account for a period of time. + * However, this behavior is subject to change in the future. We don't recommend that you rely on + * INACTIVE clusters persisting.

+ *

You must deregister all container instances from this cluster before you may delete it. You can list + * the container instances in a cluster with ListContainerInstances + * and deregister them with DeregisterContainerInstance.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -128,29 +129,26 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link ClusterContainsContainerInstancesException} (client fault) - *

You can't delete a cluster that has registered container instances. First, deregister - * the container instances before you can delete the cluster. For more information, see - * DeregisterContainerInstance.

+ *

You can't delete a cluster that has registered container instances. First, deregister the container + * instances before you can delete the cluster. For more information, see DeregisterContainerInstance.

* * @throws {@link ClusterContainsServicesException} (client fault) - *

You can't delete a cluster that contains services. First, update the service to reduce - * its desired task count to 0, and then delete the service. For more information, see - * UpdateService and DeleteService.

+ *

You can't delete a cluster that contains services. First, update the service to reduce its desired + * task count to 0, and then delete the service. For more information, see UpdateService and DeleteService.

* * @throws {@link ClusterContainsTasksException} (client fault) *

You can't delete a cluster that has active tasks.

@@ -159,18 +157,16 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

* * @throws {@link UpdateInProgressException} (client fault) - *

There's already a current Amazon ECS container agent update in progress on the container - * instance that's specified. If the container agent becomes disconnected while it's in a - * transitional stage, such as PENDING or STAGING, the update - * process can get stuck in that state. However, when the agent reconnects, it resumes - * where it stopped previously.

+ *

There's already a current Amazon ECS container agent update in progress on the container instance that's + * specified. If the container agent becomes disconnected while it's in a transitional stage, such as + * PENDING or STAGING, the update process can get stuck in that state. + * However, when the agent reconnects, it resumes where it stopped previously.

* * @throws {@link ECSServiceException} *

Base exception class for all service exceptions from ECS service.

diff --git a/clients/client-ecs/src/commands/DeleteServiceCommand.ts b/clients/client-ecs/src/commands/DeleteServiceCommand.ts index ecc4e8d440ee..202a628f97da 100644 --- a/clients/client-ecs/src/commands/DeleteServiceCommand.ts +++ b/clients/client-ecs/src/commands/DeleteServiceCommand.ts @@ -28,26 +28,23 @@ export interface DeleteServiceCommandInput extends DeleteServiceRequest {} export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __MetadataBearer {} /** - *

Deletes a specified service within a cluster. You can delete a service if you have no - * running tasks in it and the desired task count is zero. If the service is actively - * maintaining tasks, you can't delete it, and you must update the service to a desired - * task count of zero. For more information, see UpdateService.

+ *

Deletes a specified service within a cluster. You can delete a service if you have no running tasks + * in it and the desired task count is zero. If the service is actively maintaining tasks, you can't + * delete it, and you must update the service to a desired task count of zero. For more information, see + * UpdateService.

* - *

When you delete a service, if there are still running tasks that require cleanup, - * the service status moves from ACTIVE to DRAINING, and the - * service is no longer visible in the console or in the ListServices - * API operation. After all tasks have transitioned to either STOPPING or - * STOPPED status, the service status moves from DRAINING - * to INACTIVE. Services in the DRAINING or - * INACTIVE status can still be viewed with the DescribeServices API operation. However, in the future, - * INACTIVE services may be cleaned up and purged from Amazon ECS record - * keeping, and DescribeServices calls on those services return a - * ServiceNotFoundException error.

+ *

When you delete a service, if there are still running tasks that require cleanup, the service + * status moves from ACTIVE to DRAINING, and the service is no longer + * visible in the console or in the ListServices API operation. + * After all tasks have transitioned to either STOPPING or STOPPED status, + * the service status moves from DRAINING to INACTIVE. Services in the + * DRAINING or INACTIVE status can still be viewed with the DescribeServices API operation. However, in the future, INACTIVE services + * may be cleaned up and purged from Amazon ECS record keeping, and DescribeServices calls on + * those services return a ServiceNotFoundException error.

*
* - *

If you attempt to create a new service with the same name as an existing service - * in either ACTIVE or DRAINING status, you receive an - * error.

+ *

If you attempt to create a new service with the same name as an existing service in either + * ACTIVE or DRAINING status, you receive an error.

*
* @example * Use a bare-bones client and the command you need to make an API call. @@ -293,6 +290,13 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met * // fargateEphemeralStorage: { * // kmsKeyId: "STRING_VALUE", * // }, + * // vpcLatticeConfigurations: [ // VpcLatticeConfigurations + * // { // VpcLatticeConfiguration + * // roleArn: "STRING_VALUE", // required + * // targetGroupArn: "STRING_VALUE", // required + * // portName: "STRING_VALUE", // required + * // }, + * // ], * // }, * // ], * // roleArn: "STRING_VALUE", @@ -345,17 +349,16 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -363,15 +366,13 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

* * @throws {@link ServiceNotFoundException} (client fault) - *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region - * specific.

+ *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region specific.

* * @throws {@link ECSServiceException} *

Base exception class for all service exceptions from ECS service.

diff --git a/clients/client-ecs/src/commands/DeleteTaskDefinitionsCommand.ts b/clients/client-ecs/src/commands/DeleteTaskDefinitionsCommand.ts index 3a85d4416511..356abbebc3bf 100644 --- a/clients/client-ecs/src/commands/DeleteTaskDefinitionsCommand.ts +++ b/clients/client-ecs/src/commands/DeleteTaskDefinitionsCommand.ts @@ -29,25 +29,22 @@ export interface DeleteTaskDefinitionsCommandOutput extends DeleteTaskDefinition /** *

Deletes one or more task definitions.

- *

You must deregister a task definition revision before you delete it. For more - * information, see DeregisterTaskDefinition.

+ *

You must deregister a task definition revision before you delete it. For more information, see DeregisterTaskDefinition.

*

When you delete a task definition revision, it is immediately transitions from the - * INACTIVE to DELETE_IN_PROGRESS. Existing tasks and - * services that reference a DELETE_IN_PROGRESS task definition revision - * continue to run without disruption. Existing services that reference a - * DELETE_IN_PROGRESS task definition revision can still scale up or down - * by modifying the service's desired count.

- *

You can't use a DELETE_IN_PROGRESS task definition revision to run new - * tasks or create new services. You also can't update an existing service to reference a - * DELETE_IN_PROGRESS task definition revision.

- *

A task definition revision will stay in DELETE_IN_PROGRESS status until - * all the associated tasks and services have been terminated.

- *

When you delete all INACTIVE task definition revisions, the task - * definition name is not displayed in the console and not returned in the API. If a task - * definition revisions are in the DELETE_IN_PROGRESS state, the task - * definition name is displayed in the console and returned in the API. The task definition - * name is retained by Amazon ECS and the revision is incremented the next time you create a - * task definition with that name.

+ * INACTIVE to DELETE_IN_PROGRESS. Existing tasks and services that + * reference a DELETE_IN_PROGRESS task definition revision continue to run without + * disruption. Existing services that reference a DELETE_IN_PROGRESS task definition revision + * can still scale up or down by modifying the service's desired count.

+ *

You can't use a DELETE_IN_PROGRESS task definition revision to run new tasks or create + * new services. You also can't update an existing service to reference a DELETE_IN_PROGRESS + * task definition revision.

+ *

A task definition revision will stay in DELETE_IN_PROGRESS status until all the + * associated tasks and services have been terminated.

+ *

When you delete all INACTIVE task definition revisions, the task definition name is not + * displayed in the console and not returned in the API. If a task definition revisions are in the + * DELETE_IN_PROGRESS state, the task definition name is displayed in the console and + * returned in the API. The task definition name is retained by Amazon ECS and the revision is incremented the + * next time you create a task definition with that name.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -355,23 +352,21 @@ export interface DeleteTaskDefinitionsCommandOutput extends DeleteTaskDefinition *

You don't have authorization to perform the requested action.

* * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/DeleteTaskSetCommand.ts b/clients/client-ecs/src/commands/DeleteTaskSetCommand.ts index bb25f23f669b..54e7f7059c2e 100644 --- a/clients/client-ecs/src/commands/DeleteTaskSetCommand.ts +++ b/clients/client-ecs/src/commands/DeleteTaskSetCommand.ts @@ -29,7 +29,8 @@ export interface DeleteTaskSetCommandOutput extends DeleteTaskSetResponse, __Met /** *

Deletes a specified task set within a service. This is used when a service uses the - * EXTERNAL deployment controller type. For more information, see Amazon ECS deployment types in the Amazon Elastic Container Service Developer Guide.

+ * EXTERNAL deployment controller type. For more information, see Amazon ECS deployment + * types in the Amazon Elastic Container Service Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -126,17 +127,16 @@ export interface DeleteTaskSetCommandOutput extends DeleteTaskSetResponse, __Met *

You don't have authorization to perform the requested action.

* * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -144,23 +144,20 @@ export interface DeleteTaskSetCommandOutput extends DeleteTaskSetResponse, __Met *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

* * @throws {@link ServiceNotActiveException} (client fault) - *

The specified service isn't active. You can't update a service that's inactive. If you - * have previously deleted a service, you can re-create it with CreateService.

+ *

The specified service isn't active. You can't update a service that's inactive. If you have + * previously deleted a service, you can re-create it with CreateService.

* * @throws {@link ServiceNotFoundException} (client fault) - *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region - * specific.

+ *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region specific.

* * @throws {@link TaskSetNotFoundException} (client fault) - *

The specified task set wasn't found. You can view your available task sets with DescribeTaskSets. Task sets are specific to each cluster, service and - * Region.

+ *

The specified task set wasn't found. You can view your available task sets with DescribeTaskSets. Task sets are specific to each cluster, service and Region.

* * @throws {@link UnsupportedFeatureException} (client fault) *

The specified task isn't supported in this Region.

diff --git a/clients/client-ecs/src/commands/DeregisterContainerInstanceCommand.ts b/clients/client-ecs/src/commands/DeregisterContainerInstanceCommand.ts index 900168493c43..e54812e44afb 100644 --- a/clients/client-ecs/src/commands/DeregisterContainerInstanceCommand.ts +++ b/clients/client-ecs/src/commands/DeregisterContainerInstanceCommand.ts @@ -30,19 +30,18 @@ export interface DeregisterContainerInstanceCommandOutput __MetadataBearer {} /** - *

Deregisters an Amazon ECS container instance from the specified cluster. This instance is - * no longer available to run tasks.

- *

If you intend to use the container instance for some other purpose after - * deregistration, we recommend that you stop all of the tasks running on the container - * instance before deregistration. That prevents any orphaned tasks from consuming - * resources.

- *

Deregistering a container instance removes the instance from a cluster, but it doesn't - * terminate the EC2 instance. If you are finished using the instance, be sure to terminate - * it in the Amazon EC2 console to stop billing.

+ *

Deregisters an Amazon ECS container instance from the specified cluster. This instance is no longer + * available to run tasks.

+ *

If you intend to use the container instance for some other purpose after deregistration, we recommend + * that you stop all of the tasks running on the container instance before deregistration. That prevents + * any orphaned tasks from consuming resources.

+ *

Deregistering a container instance removes the instance from a cluster, but it doesn't terminate the + * EC2 instance. If you are finished using the instance, be sure to terminate it in the Amazon EC2 console to + * stop billing.

* - *

If you terminate a running container instance, Amazon ECS automatically deregisters the - * instance from your cluster (stopped container instances or instances with - * disconnected agents aren't automatically deregistered when terminated).

+ *

If you terminate a running container instance, Amazon ECS automatically deregisters the instance from + * your cluster (stopped container instances or instances with disconnected agents aren't + * automatically deregistered when terminated).

*
* @example * Use a bare-bones client and the command you need to make an API call. @@ -149,17 +148,16 @@ export interface DeregisterContainerInstanceCommandOutput * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -167,8 +165,7 @@ export interface DeregisterContainerInstanceCommandOutput *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/DeregisterTaskDefinitionCommand.ts b/clients/client-ecs/src/commands/DeregisterTaskDefinitionCommand.ts index d1a2cffd4c9d..159e26221c3e 100644 --- a/clients/client-ecs/src/commands/DeregisterTaskDefinitionCommand.ts +++ b/clients/client-ecs/src/commands/DeregisterTaskDefinitionCommand.ts @@ -28,24 +28,23 @@ export interface DeregisterTaskDefinitionCommandInput extends DeregisterTaskDefi export interface DeregisterTaskDefinitionCommandOutput extends DeregisterTaskDefinitionResponse, __MetadataBearer {} /** - *

Deregisters the specified task definition by family and revision. Upon deregistration, - * the task definition is marked as INACTIVE. Existing tasks and services that - * reference an INACTIVE task definition continue to run without disruption. - * Existing services that reference an INACTIVE task definition can still - * scale up or down by modifying the service's desired count. If you want to delete a task - * definition revision, you must first deregister the task definition revision.

- *

You can't use an INACTIVE task definition to run new tasks or create new - * services, and you can't update an existing service to reference an INACTIVE - * task definition. However, there may be up to a 10-minute window following deregistration - * where these restrictions have not yet taken effect.

+ *

Deregisters the specified task definition by family and revision. Upon deregistration, the task + * definition is marked as INACTIVE. Existing tasks and services that reference an + * INACTIVE task definition continue to run without disruption. Existing services that + * reference an INACTIVE task definition can still scale up or down by modifying the + * service's desired count. If you want to delete a task definition revision, you must first deregister + * the task definition revision.

+ *

You can't use an INACTIVE task definition to run new tasks or create new services, and + * you can't update an existing service to reference an INACTIVE task definition. However, + * there may be up to a 10-minute window following deregistration where these restrictions have not yet + * taken effect.

* - *

At this time, INACTIVE task definitions remain discoverable in your - * account indefinitely. However, this behavior is subject to change in the future. We - * don't recommend that you rely on INACTIVE task definitions persisting - * beyond the lifecycle of any associated tasks and services.

+ *

At this time, INACTIVE task definitions remain discoverable in your account + * indefinitely. However, this behavior is subject to change in the future. We don't recommend that + * you rely on INACTIVE task definitions persisting beyond the lifecycle of any + * associated tasks and services.

*
- *

You must deregister a task definition revision before you delete it. For more - * information, see DeleteTaskDefinitions.

+ *

You must deregister a task definition revision before you delete it. For more information, see DeleteTaskDefinitions.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -339,23 +338,21 @@ export interface DeregisterTaskDefinitionCommandOutput extends DeregisterTaskDef * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/DescribeCapacityProvidersCommand.ts b/clients/client-ecs/src/commands/DescribeCapacityProvidersCommand.ts index c2cdba02c44c..cdba7b7e189f 100644 --- a/clients/client-ecs/src/commands/DescribeCapacityProvidersCommand.ts +++ b/clients/client-ecs/src/commands/DescribeCapacityProvidersCommand.ts @@ -94,23 +94,21 @@ export interface DescribeCapacityProvidersCommandOutput extends DescribeCapacity * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/DescribeClustersCommand.ts b/clients/client-ecs/src/commands/DescribeClustersCommand.ts index 65a3cae0836a..7472aa263c37 100644 --- a/clients/client-ecs/src/commands/DescribeClustersCommand.ts +++ b/clients/client-ecs/src/commands/DescribeClustersCommand.ts @@ -137,23 +137,21 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse, * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/DescribeContainerInstancesCommand.ts b/clients/client-ecs/src/commands/DescribeContainerInstancesCommand.ts index 48efb587ce6e..08ac0787db7f 100644 --- a/clients/client-ecs/src/commands/DescribeContainerInstancesCommand.ts +++ b/clients/client-ecs/src/commands/DescribeContainerInstancesCommand.ts @@ -28,8 +28,8 @@ export interface DescribeContainerInstancesCommandInput extends DescribeContaine export interface DescribeContainerInstancesCommandOutput extends DescribeContainerInstancesResponse, __MetadataBearer {} /** - *

Describes one or more container instances. Returns metadata about each container - * instance requested.

+ *

Describes one or more container instances. Returns metadata about each container instance + * requested.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -148,17 +148,16 @@ export interface DescribeContainerInstancesCommandOutput extends DescribeContain * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -166,8 +165,7 @@ export interface DescribeContainerInstancesCommandOutput extends DescribeContain *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/DescribeServiceDeploymentsCommand.ts b/clients/client-ecs/src/commands/DescribeServiceDeploymentsCommand.ts index f1a55be5a23e..b8ab190a0781 100644 --- a/clients/client-ecs/src/commands/DescribeServiceDeploymentsCommand.ts +++ b/clients/client-ecs/src/commands/DescribeServiceDeploymentsCommand.ts @@ -127,17 +127,16 @@ export interface DescribeServiceDeploymentsCommandOutput extends DescribeService *

You don't have authorization to perform the requested action.

* * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -145,15 +144,13 @@ export interface DescribeServiceDeploymentsCommandOutput extends DescribeService *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

* * @throws {@link ServiceNotFoundException} (client fault) - *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region - * specific.

+ *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region specific.

* * @throws {@link UnsupportedFeatureException} (client fault) *

The specified task isn't supported in this Region.

diff --git a/clients/client-ecs/src/commands/DescribeServiceRevisionsCommand.ts b/clients/client-ecs/src/commands/DescribeServiceRevisionsCommand.ts index c07f6dd2525d..22d230a76c76 100644 --- a/clients/client-ecs/src/commands/DescribeServiceRevisionsCommand.ts +++ b/clients/client-ecs/src/commands/DescribeServiceRevisionsCommand.ts @@ -170,6 +170,13 @@ export interface DescribeServiceRevisionsCommandOutput extends DescribeServiceRe * // kmsKeyId: "STRING_VALUE", * // }, * // createdAt: new Date("TIMESTAMP"), + * // vpcLatticeConfigurations: [ // VpcLatticeConfigurations + * // { // VpcLatticeConfiguration + * // roleArn: "STRING_VALUE", // required + * // targetGroupArn: "STRING_VALUE", // required + * // portName: "STRING_VALUE", // required + * // }, + * // ], * // }, * // ], * // failures: [ // Failures @@ -193,17 +200,16 @@ export interface DescribeServiceRevisionsCommandOutput extends DescribeServiceRe *

You don't have authorization to perform the requested action.

* * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -211,15 +217,13 @@ export interface DescribeServiceRevisionsCommandOutput extends DescribeServiceRe *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

* * @throws {@link ServiceNotFoundException} (client fault) - *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region - * specific.

+ *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region specific.

* * @throws {@link UnsupportedFeatureException} (client fault) *

The specified task isn't supported in this Region.

diff --git a/clients/client-ecs/src/commands/DescribeServicesCommand.ts b/clients/client-ecs/src/commands/DescribeServicesCommand.ts index cad71aa3d9ba..98647bf8842a 100644 --- a/clients/client-ecs/src/commands/DescribeServicesCommand.ts +++ b/clients/client-ecs/src/commands/DescribeServicesCommand.ts @@ -278,6 +278,13 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse, * // fargateEphemeralStorage: { * // kmsKeyId: "STRING_VALUE", * // }, + * // vpcLatticeConfigurations: [ // VpcLatticeConfigurations + * // { // VpcLatticeConfiguration + * // roleArn: "STRING_VALUE", // required + * // targetGroupArn: "STRING_VALUE", // required + * // portName: "STRING_VALUE", // required + * // }, + * // ], * // }, * // ], * // roleArn: "STRING_VALUE", @@ -338,17 +345,16 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse, * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -356,8 +362,7 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse, *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/DescribeTaskDefinitionCommand.ts b/clients/client-ecs/src/commands/DescribeTaskDefinitionCommand.ts index 3197cdbcac33..91e2bb426525 100644 --- a/clients/client-ecs/src/commands/DescribeTaskDefinitionCommand.ts +++ b/clients/client-ecs/src/commands/DescribeTaskDefinitionCommand.ts @@ -28,13 +28,12 @@ export interface DescribeTaskDefinitionCommandInput extends DescribeTaskDefiniti export interface DescribeTaskDefinitionCommandOutput extends DescribeTaskDefinitionResponse, __MetadataBearer {} /** - *

Describes a task definition. You can specify a family and - * revision to find information about a specific task definition, or you - * can simply specify the family to find the latest ACTIVE revision in that - * family.

+ *

Describes a task definition. You can specify a family and revision to find + * information about a specific task definition, or you can simply specify the family to find the latest + * ACTIVE revision in that family.

* - *

You can only describe INACTIVE task definitions while an active task - * or service references them.

+ *

You can only describe INACTIVE task definitions while an active task or service + * references them.

*
* @example * Use a bare-bones client and the command you need to make an API call. @@ -338,23 +337,21 @@ export interface DescribeTaskDefinitionCommandOutput extends DescribeTaskDefinit * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/DescribeTaskSetsCommand.ts b/clients/client-ecs/src/commands/DescribeTaskSetsCommand.ts index 688bdf252f37..f4645703369b 100644 --- a/clients/client-ecs/src/commands/DescribeTaskSetsCommand.ts +++ b/clients/client-ecs/src/commands/DescribeTaskSetsCommand.ts @@ -28,9 +28,8 @@ export interface DescribeTaskSetsCommandInput extends DescribeTaskSetsRequest {} export interface DescribeTaskSetsCommandOutput extends DescribeTaskSetsResponse, __MetadataBearer {} /** - *

Describes the task sets in the specified cluster and service. This is used when a - * service uses the EXTERNAL deployment controller type. For more information, - * see Amazon ECS Deployment + *

Describes the task sets in the specified cluster and service. This is used when a service uses the + * EXTERNAL deployment controller type. For more information, see Amazon ECS Deployment * Types in the Amazon Elastic Container Service Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. @@ -141,17 +140,16 @@ export interface DescribeTaskSetsCommandOutput extends DescribeTaskSetsResponse, *

You don't have authorization to perform the requested action.

* * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -159,19 +157,17 @@ export interface DescribeTaskSetsCommandOutput extends DescribeTaskSetsResponse, *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

* * @throws {@link ServiceNotActiveException} (client fault) - *

The specified service isn't active. You can't update a service that's inactive. If you - * have previously deleted a service, you can re-create it with CreateService.

+ *

The specified service isn't active. You can't update a service that's inactive. If you have + * previously deleted a service, you can re-create it with CreateService.

* * @throws {@link ServiceNotFoundException} (client fault) - *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region - * specific.

+ *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region specific.

* * @throws {@link UnsupportedFeatureException} (client fault) *

The specified task isn't supported in this Region.

diff --git a/clients/client-ecs/src/commands/DescribeTasksCommand.ts b/clients/client-ecs/src/commands/DescribeTasksCommand.ts index de4edabf7ea2..e72f551116f0 100644 --- a/clients/client-ecs/src/commands/DescribeTasksCommand.ts +++ b/clients/client-ecs/src/commands/DescribeTasksCommand.ts @@ -30,9 +30,9 @@ export interface DescribeTasksCommandOutput extends DescribeTasksResponse, __Met /** *

Describes a specified task or tasks.

*

Currently, stopped tasks appear in the returned results for at least one hour.

- *

If you have tasks with tags, and then delete the cluster, the tagged tasks are - * returned in the response. If you create a new cluster with the same name as the deleted - * cluster, the tagged tasks are not included in the response.

+ *

If you have tasks with tags, and then delete the cluster, the tagged tasks are returned in the + * response. If you create a new cluster with the same name as the deleted cluster, the tagged tasks are + * not included in the response.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -231,17 +231,16 @@ export interface DescribeTasksCommandOutput extends DescribeTasksResponse, __Met * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -249,8 +248,7 @@ export interface DescribeTasksCommandOutput extends DescribeTasksResponse, __Met *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/DiscoverPollEndpointCommand.ts b/clients/client-ecs/src/commands/DiscoverPollEndpointCommand.ts index a7245ecbc408..c29b97578b0b 100644 --- a/clients/client-ecs/src/commands/DiscoverPollEndpointCommand.ts +++ b/clients/client-ecs/src/commands/DiscoverPollEndpointCommand.ts @@ -59,17 +59,16 @@ export interface DiscoverPollEndpointCommandOutput extends DiscoverPollEndpointR * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * diff --git a/clients/client-ecs/src/commands/ExecuteCommandCommand.ts b/clients/client-ecs/src/commands/ExecuteCommandCommand.ts index 5f967859a528..7a357669843b 100644 --- a/clients/client-ecs/src/commands/ExecuteCommandCommand.ts +++ b/clients/client-ecs/src/commands/ExecuteCommandCommand.ts @@ -33,13 +33,11 @@ export interface ExecuteCommandCommandOutput extends ExecuteCommandResponse, __M /** *

Runs a command remotely on a container within a task.

- *

If you use a condition key in your IAM policy to refine the conditions for the - * policy statement, for example limit the actions to a specific cluster, you receive an - * AccessDeniedException when there is a mismatch between the condition - * key value and the corresponding parameter value.

- *

For information about required permissions and considerations, see Using Amazon ECS - * Exec for debugging in the Amazon ECS Developer Guide. - *

+ *

If you use a condition key in your IAM policy to refine the conditions for the policy statement, + * for example limit the actions to a specific cluster, you receive an AccessDeniedException + * when there is a mismatch between the condition key value and the corresponding parameter value.

+ *

For information about required permissions and considerations, see Using Amazon ECS Exec for debugging in the + * Amazon ECS Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -80,17 +78,16 @@ export interface ExecuteCommandCommandOutput extends ExecuteCommandResponse, __M *

You don't have authorization to perform the requested action.

* * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -98,15 +95,14 @@ export interface ExecuteCommandCommandOutput extends ExecuteCommandResponse, __M *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

* * @throws {@link TargetNotConnectedException} (client fault) - *

The execute command cannot run. This error can be caused by any of the following - * configuration issues:

+ *

The execute command cannot run. This error can be caused by any of the following configuration + * issues:

* - *

For information about how to troubleshoot the issues, see Troubleshooting issues with ECS - * Exec in the Amazon Elastic Container Service Developer Guide.

+ *

For information about how to troubleshoot the issues, see Troubleshooting issues with ECS Exec in + * the Amazon Elastic Container Service Developer Guide.

* * @throws {@link ECSServiceException} *

Base exception class for all service exceptions from ECS service.

diff --git a/clients/client-ecs/src/commands/GetTaskProtectionCommand.ts b/clients/client-ecs/src/commands/GetTaskProtectionCommand.ts index 9dc23c903497..a4864f9ef89e 100644 --- a/clients/client-ecs/src/commands/GetTaskProtectionCommand.ts +++ b/clients/client-ecs/src/commands/GetTaskProtectionCommand.ts @@ -72,17 +72,16 @@ export interface GetTaskProtectionCommandOutput extends GetTaskProtectionRespons *

You don't have authorization to perform the requested action.

* * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -90,8 +89,7 @@ export interface GetTaskProtectionCommandOutput extends GetTaskProtectionRespons *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ResourceNotFoundException} (client fault) *

The specified resource wasn't found.

diff --git a/clients/client-ecs/src/commands/ListAccountSettingsCommand.ts b/clients/client-ecs/src/commands/ListAccountSettingsCommand.ts index 897c84296b96..81cb1e4bfb19 100644 --- a/clients/client-ecs/src/commands/ListAccountSettingsCommand.ts +++ b/clients/client-ecs/src/commands/ListAccountSettingsCommand.ts @@ -66,23 +66,21 @@ export interface ListAccountSettingsCommandOutput extends ListAccountSettingsRes * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/ListAttributesCommand.ts b/clients/client-ecs/src/commands/ListAttributesCommand.ts index adf4688b2ebe..b8275723d16d 100644 --- a/clients/client-ecs/src/commands/ListAttributesCommand.ts +++ b/clients/client-ecs/src/commands/ListAttributesCommand.ts @@ -28,12 +28,11 @@ export interface ListAttributesCommandInput extends ListAttributesRequest {} export interface ListAttributesCommandOutput extends ListAttributesResponse, __MetadataBearer {} /** - *

Lists the attributes for Amazon ECS resources within a specified target type and cluster. - * When you specify a target type and cluster, ListAttributes returns a list - * of attribute objects, one for each attribute on each resource. You can filter the list - * of results to a single attribute name to only return results that have that name. You - * can also filter the results by attribute name and value. You can do this, for example, - * to see which container instances in a cluster are running a Linux AMI + *

Lists the attributes for Amazon ECS resources within a specified target type and cluster. When you specify + * a target type and cluster, ListAttributes returns a list of attribute objects, one for + * each attribute on each resource. You can filter the list of results to a single attribute name to only + * return results that have that name. You can also filter the results by attribute name and value. You + * can do this, for example, to see which container instances in a cluster are running a Linux AMI * (ecs.os-type=linux).

* @example * Use a bare-bones client and the command you need to make an API call. @@ -75,8 +74,7 @@ export interface ListAttributesCommandOutput extends ListAttributesResponse, __M *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ECSServiceException} *

Base exception class for all service exceptions from ECS service.

diff --git a/clients/client-ecs/src/commands/ListClustersCommand.ts b/clients/client-ecs/src/commands/ListClustersCommand.ts index e614572c7ba3..bfdda7f16212 100644 --- a/clients/client-ecs/src/commands/ListClustersCommand.ts +++ b/clients/client-ecs/src/commands/ListClustersCommand.ts @@ -57,23 +57,21 @@ export interface ListClustersCommandOutput extends ListClustersResponse, __Metad * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/ListContainerInstancesCommand.ts b/clients/client-ecs/src/commands/ListContainerInstancesCommand.ts index 28a838e1d1d7..2ec387fa604e 100644 --- a/clients/client-ecs/src/commands/ListContainerInstancesCommand.ts +++ b/clients/client-ecs/src/commands/ListContainerInstancesCommand.ts @@ -28,9 +28,10 @@ export interface ListContainerInstancesCommandInput extends ListContainerInstanc export interface ListContainerInstancesCommandOutput extends ListContainerInstancesResponse, __MetadataBearer {} /** - *

Returns a list of container instances in a specified cluster. You can filter the - * results of a ListContainerInstances operation with cluster query language - * statements inside the filter parameter. For more information, see Cluster Query Language in the Amazon Elastic Container Service Developer Guide.

+ *

Returns a list of container instances in a specified cluster. You can filter the results of a + * ListContainerInstances operation with cluster query language statements inside the + * filter parameter. For more information, see Cluster + * Query Language in the Amazon Elastic Container Service Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -62,17 +63,16 @@ export interface ListContainerInstancesCommandOutput extends ListContainerInstan * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -80,8 +80,7 @@ export interface ListContainerInstancesCommandOutput extends ListContainerInstan *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/ListServiceDeploymentsCommand.ts b/clients/client-ecs/src/commands/ListServiceDeploymentsCommand.ts index 0dc92168f694..d6a1466ebe44 100644 --- a/clients/client-ecs/src/commands/ListServiceDeploymentsCommand.ts +++ b/clients/client-ecs/src/commands/ListServiceDeploymentsCommand.ts @@ -83,30 +83,27 @@ export interface ListServiceDeploymentsCommandOutput extends ListServiceDeployme *

You don't have authorization to perform the requested action.

* * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

* * @throws {@link ServiceNotFoundException} (client fault) - *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region - * specific.

+ *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region specific.

* * @throws {@link UnsupportedFeatureException} (client fault) *

The specified task isn't supported in this Region.

diff --git a/clients/client-ecs/src/commands/ListServicesByNamespaceCommand.ts b/clients/client-ecs/src/commands/ListServicesByNamespaceCommand.ts index 2dfad8248357..eb93c56538de 100644 --- a/clients/client-ecs/src/commands/ListServicesByNamespaceCommand.ts +++ b/clients/client-ecs/src/commands/ListServicesByNamespaceCommand.ts @@ -28,11 +28,10 @@ export interface ListServicesByNamespaceCommandInput extends ListServicesByNames export interface ListServicesByNamespaceCommandOutput extends ListServicesByNamespaceResponse, __MetadataBearer {} /** - *

This operation lists all of the services that are associated with a Cloud Map - * namespace. This list might include services in different clusters. In contrast, - * ListServices can only list services in one cluster at a time. If you - * need to filter the list of services in a single cluster by various parameters, use - * ListServices. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.

+ *

This operation lists all of the services that are associated with a Cloud Map namespace. This list + * might include services in different clusters. In contrast, ListServices can only list + * services in one cluster at a time. If you need to filter the list of services in a single cluster by + * various parameters, use ListServices. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -62,23 +61,21 @@ export interface ListServicesByNamespaceCommandOutput extends ListServicesByName * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link NamespaceNotFoundException} (client fault) *

The specified namespace wasn't found.

diff --git a/clients/client-ecs/src/commands/ListServicesCommand.ts b/clients/client-ecs/src/commands/ListServicesCommand.ts index 6808962abe5a..60a8b2d4ade0 100644 --- a/clients/client-ecs/src/commands/ListServicesCommand.ts +++ b/clients/client-ecs/src/commands/ListServicesCommand.ts @@ -28,8 +28,8 @@ export interface ListServicesCommandInput extends ListServicesRequest {} export interface ListServicesCommandOutput extends ListServicesResponse, __MetadataBearer {} /** - *

Returns a list of services. You can filter the results by cluster, launch type, and - * scheduling strategy.

+ *

Returns a list of services. You can filter the results by cluster, launch type, and scheduling + * strategy.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -61,17 +61,16 @@ export interface ListServicesCommandOutput extends ListServicesResponse, __Metad * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -79,8 +78,7 @@ export interface ListServicesCommandOutput extends ListServicesResponse, __Metad *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/ListTagsForResourceCommand.ts b/clients/client-ecs/src/commands/ListTagsForResourceCommand.ts index 80440f2c4384..af09ee43fa0d 100644 --- a/clients/client-ecs/src/commands/ListTagsForResourceCommand.ts +++ b/clients/client-ecs/src/commands/ListTagsForResourceCommand.ts @@ -58,17 +58,16 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -76,8 +75,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/ListTaskDefinitionFamiliesCommand.ts b/clients/client-ecs/src/commands/ListTaskDefinitionFamiliesCommand.ts index 6f27a433a4cf..cc58ea12bf96 100644 --- a/clients/client-ecs/src/commands/ListTaskDefinitionFamiliesCommand.ts +++ b/clients/client-ecs/src/commands/ListTaskDefinitionFamiliesCommand.ts @@ -28,13 +28,11 @@ export interface ListTaskDefinitionFamiliesCommandInput extends ListTaskDefiniti export interface ListTaskDefinitionFamiliesCommandOutput extends ListTaskDefinitionFamiliesResponse, __MetadataBearer {} /** - *

Returns a list of task definition families that are registered to your account. This - * list includes task definition families that no longer have any ACTIVE task - * definition revisions.

- *

You can filter out task definition families that don't contain any ACTIVE - * task definition revisions by setting the status parameter to - * ACTIVE. You can also filter the results with the - * familyPrefix parameter.

+ *

Returns a list of task definition families that are registered to your account. This list includes + * task definition families that no longer have any ACTIVE task definition revisions.

+ *

You can filter out task definition families that don't contain any ACTIVE task + * definition revisions by setting the status parameter to ACTIVE. You can also + * filter the results with the familyPrefix parameter.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -65,23 +63,21 @@ export interface ListTaskDefinitionFamiliesCommandOutput extends ListTaskDefinit * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/ListTaskDefinitionsCommand.ts b/clients/client-ecs/src/commands/ListTaskDefinitionsCommand.ts index 231ec35e1d99..3587013cbfea 100644 --- a/clients/client-ecs/src/commands/ListTaskDefinitionsCommand.ts +++ b/clients/client-ecs/src/commands/ListTaskDefinitionsCommand.ts @@ -28,9 +28,9 @@ export interface ListTaskDefinitionsCommandInput extends ListTaskDefinitionsRequ export interface ListTaskDefinitionsCommandOutput extends ListTaskDefinitionsResponse, __MetadataBearer {} /** - *

Returns a list of task definitions that are registered to your account. You can filter - * the results by family name with the familyPrefix parameter or by status - * with the status parameter.

+ *

Returns a list of task definitions that are registered to your account. You can filter the results by + * family name with the familyPrefix parameter or by status with the status + * parameter.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -62,23 +62,21 @@ export interface ListTaskDefinitionsCommandOutput extends ListTaskDefinitionsRes * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/ListTasksCommand.ts b/clients/client-ecs/src/commands/ListTasksCommand.ts index c866f882c8ce..53b327244d1a 100644 --- a/clients/client-ecs/src/commands/ListTasksCommand.ts +++ b/clients/client-ecs/src/commands/ListTasksCommand.ts @@ -28,9 +28,9 @@ export interface ListTasksCommandInput extends ListTasksRequest {} export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBearer {} /** - *

Returns a list of tasks. You can filter the results by cluster, task definition - * family, container instance, launch type, what IAM principal started the task, or by - * the desired status of the task.

+ *

Returns a list of tasks. You can filter the results by cluster, task definition family, container + * instance, launch type, what IAM principal started the task, or by the desired status of the + * task.

*

Recently stopped tasks might appear in the returned results.

* @example * Use a bare-bones client and the command you need to make an API call. @@ -67,17 +67,16 @@ export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBea * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -85,15 +84,13 @@ export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBea *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

* * @throws {@link ServiceNotFoundException} (client fault) - *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region - * specific.

+ *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region specific.

* * @throws {@link ECSServiceException} *

Base exception class for all service exceptions from ECS service.

diff --git a/clients/client-ecs/src/commands/PutAccountSettingCommand.ts b/clients/client-ecs/src/commands/PutAccountSettingCommand.ts index a8f1da089935..9c5e32c43f8b 100644 --- a/clients/client-ecs/src/commands/PutAccountSettingCommand.ts +++ b/clients/client-ecs/src/commands/PutAccountSettingCommand.ts @@ -29,10 +29,9 @@ export interface PutAccountSettingCommandOutput extends PutAccountSettingRespons /** *

Modifies an account setting. Account settings are set on a per-Region basis.

- *

If you change the root user account setting, the default settings are reset for users and - * roles that do not have specified individual account settings. For more information, see - * Account - * Settings in the Amazon Elastic Container Service Developer Guide.

+ *

If you change the root user account setting, the default settings are reset for users and roles that do + * not have specified individual account settings. For more information, see Account Settings in the + * Amazon Elastic Container Service Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -64,23 +63,21 @@ export interface PutAccountSettingCommandOutput extends PutAccountSettingRespons * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/PutAccountSettingDefaultCommand.ts b/clients/client-ecs/src/commands/PutAccountSettingDefaultCommand.ts index 30c65c6a61c5..f1fe9eff3c2c 100644 --- a/clients/client-ecs/src/commands/PutAccountSettingDefaultCommand.ts +++ b/clients/client-ecs/src/commands/PutAccountSettingDefaultCommand.ts @@ -28,8 +28,8 @@ export interface PutAccountSettingDefaultCommandInput extends PutAccountSettingD export interface PutAccountSettingDefaultCommandOutput extends PutAccountSettingDefaultResponse, __MetadataBearer {} /** - *

Modifies an account setting for all users on an account for whom no individual account - * setting has been specified. Account settings are set on a per-Region basis.

+ *

Modifies an account setting for all users on an account for whom no individual account setting has + * been specified. Account settings are set on a per-Region basis.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -60,23 +60,21 @@ export interface PutAccountSettingDefaultCommandOutput extends PutAccountSetting * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/PutAttributesCommand.ts b/clients/client-ecs/src/commands/PutAttributesCommand.ts index 59ec6d90380e..9f76e374a998 100644 --- a/clients/client-ecs/src/commands/PutAttributesCommand.ts +++ b/clients/client-ecs/src/commands/PutAttributesCommand.ts @@ -28,10 +28,9 @@ export interface PutAttributesCommandInput extends PutAttributesRequest {} export interface PutAttributesCommandOutput extends PutAttributesResponse, __MetadataBearer {} /** - *

Create or update an attribute on an Amazon ECS resource. If the attribute doesn't exist, - * it's created. If the attribute exists, its value is replaced with the specified value. - * To delete an attribute, use DeleteAttributes. For more information, - * see Attributes in the Amazon Elastic Container Service Developer Guide.

+ *

Create or update an attribute on an Amazon ECS resource. If the attribute doesn't exist, it's created. If + * the attribute exists, its value is replaced with the specified value. To delete an attribute, use + * DeleteAttributes. For more information, see Attributes in the Amazon Elastic Container Service Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -71,20 +70,17 @@ export interface PutAttributesCommandOutput extends PutAttributesResponse, __Met * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link AttributeLimitExceededException} (client fault) - *

You can apply up to 10 custom attributes for each resource. You can view the - * attributes of a resource with ListAttributes. You can remove existing - * attributes on a resource with DeleteAttributes.

+ *

You can apply up to 10 custom attributes for each resource. You can view the attributes of a resource + * with ListAttributes. You can remove existing attributes on a resource with DeleteAttributes.

* * @throws {@link ClusterNotFoundException} (client fault) *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link TargetNotFoundException} (client fault) - *

The specified target wasn't found. You can view your available container instances - * with ListContainerInstances. Amazon ECS container instances are cluster-specific and + *

The specified target wasn't found. You can view your available container instances with ListContainerInstances. Amazon ECS container instances are cluster-specific and * Region-specific.

* * @throws {@link ECSServiceException} diff --git a/clients/client-ecs/src/commands/PutClusterCapacityProvidersCommand.ts b/clients/client-ecs/src/commands/PutClusterCapacityProvidersCommand.ts index a9d7bf5d56e6..2f8b12a3e423 100644 --- a/clients/client-ecs/src/commands/PutClusterCapacityProvidersCommand.ts +++ b/clients/client-ecs/src/commands/PutClusterCapacityProvidersCommand.ts @@ -30,20 +30,18 @@ export interface PutClusterCapacityProvidersCommandOutput __MetadataBearer {} /** - *

Modifies the available capacity providers and the default capacity provider strategy - * for a cluster.

- *

You must specify both the available capacity providers and a default capacity provider - * strategy for the cluster. If the specified cluster has existing capacity providers - * associated with it, you must specify all existing capacity providers in addition to any - * new ones you want to add. Any existing capacity providers that are associated with a - * cluster that are omitted from a PutClusterCapacityProviders API call - * will be disassociated with the cluster. You can only disassociate an existing capacity - * provider from a cluster if it's not being used by any existing tasks.

- *

When creating a service or running a task on a cluster, if no capacity provider or - * launch type is specified, then the cluster's default capacity provider strategy is used. - * We recommend that you define a default capacity provider strategy for your cluster. - * However, you must specify an empty array ([]) to bypass defining a default - * strategy.

+ *

Modifies the available capacity providers and the default capacity provider strategy for a + * cluster.

+ *

You must specify both the available capacity providers and a default capacity provider strategy for + * the cluster. If the specified cluster has existing capacity providers associated with it, you must + * specify all existing capacity providers in addition to any new ones you want to add. Any existing + * capacity providers that are associated with a cluster that are omitted from a PutClusterCapacityProviders API call will be disassociated with the cluster. You can only + * disassociate an existing capacity provider from a cluster if it's not being used by any existing + * tasks.

+ *

When creating a service or running a task on a cluster, if no capacity provider or launch type is + * specified, then the cluster's default capacity provider strategy is used. We recommend that you define + * a default capacity provider strategy for your cluster. However, you must specify an empty array + * ([]) to bypass defining a default strategy.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -148,17 +146,16 @@ export interface PutClusterCapacityProvidersCommandOutput * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -166,8 +163,7 @@ export interface PutClusterCapacityProvidersCommandOutput *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ResourceInUseException} (client fault) *

The specified resource is in-use and can't be removed.

@@ -176,11 +172,10 @@ export interface PutClusterCapacityProvidersCommandOutput *

These errors are usually caused by a server issue.

* * @throws {@link UpdateInProgressException} (client fault) - *

There's already a current Amazon ECS container agent update in progress on the container - * instance that's specified. If the container agent becomes disconnected while it's in a - * transitional stage, such as PENDING or STAGING, the update - * process can get stuck in that state. However, when the agent reconnects, it resumes - * where it stopped previously.

+ *

There's already a current Amazon ECS container agent update in progress on the container instance that's + * specified. If the container agent becomes disconnected while it's in a transitional stage, such as + * PENDING or STAGING, the update process can get stuck in that state. + * However, when the agent reconnects, it resumes where it stopped previously.

* * @throws {@link ECSServiceException} *

Base exception class for all service exceptions from ECS service.

diff --git a/clients/client-ecs/src/commands/RegisterContainerInstanceCommand.ts b/clients/client-ecs/src/commands/RegisterContainerInstanceCommand.ts index bab323dba6c1..034c3d0bbc07 100644 --- a/clients/client-ecs/src/commands/RegisterContainerInstanceCommand.ts +++ b/clients/client-ecs/src/commands/RegisterContainerInstanceCommand.ts @@ -31,8 +31,8 @@ export interface RegisterContainerInstanceCommandOutput extends RegisterContaine * *

This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

*
- *

Registers an EC2 instance into the specified cluster. This instance becomes available - * to place containers on.

+ *

Registers an EC2 instance into the specified cluster. This instance becomes available to place + * containers on.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -176,23 +176,21 @@ export interface RegisterContainerInstanceCommandOutput extends RegisterContaine * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/RegisterTaskDefinitionCommand.ts b/clients/client-ecs/src/commands/RegisterTaskDefinitionCommand.ts index 154b32d115d2..b1ba7e30312f 100644 --- a/clients/client-ecs/src/commands/RegisterTaskDefinitionCommand.ts +++ b/clients/client-ecs/src/commands/RegisterTaskDefinitionCommand.ts @@ -29,20 +29,20 @@ export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinit /** *

Registers a new task definition from the supplied family and - * containerDefinitions. Optionally, you can add data volumes to your - * containers with the volumes parameter. For more information about task - * definition parameters and defaults, see Amazon ECS Task + * containerDefinitions. Optionally, you can add data volumes to your containers with the + * volumes parameter. For more information about task definition parameters and defaults, + * see Amazon ECS Task * Definitions in the Amazon Elastic Container Service Developer Guide.

- *

You can specify a role for your task with the taskRoleArn parameter. When - * you specify a role for a task, its containers can then use the latest versions of the - * CLI or SDKs to make API requests to the Amazon Web Services services that are specified in the - * policy that's associated with the role. For more information, see IAM - * Roles for Tasks in the Amazon Elastic Container Service Developer Guide.

- *

You can specify a Docker networking mode for the containers in your task definition - * with the networkMode parameter. If you specify the awsvpc - * network mode, the task is allocated an elastic network interface, and you must specify a NetworkConfiguration when you create a service or run a task with - * the task definition. For more information, see Task Networking - * in the Amazon Elastic Container Service Developer Guide.

+ *

You can specify a role for your task with the taskRoleArn parameter. When you specify a + * role for a task, its containers can then use the latest versions of the CLI or SDKs to make API + * requests to the Amazon Web Services services that are specified in the policy that's associated with the role. For + * more information, see IAM Roles for Tasks in the + * Amazon Elastic Container Service Developer Guide.

+ *

You can specify a Docker networking mode for the containers in your task definition with the + * networkMode parameter. If you specify the awsvpc network mode, the task + * is allocated an elastic network interface, and you must specify a NetworkConfiguration when + * you create a service or run a task with the task definition. For more information, see Task + * Networking in the Amazon Elastic Container Service Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -598,23 +598,21 @@ export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinit * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/RunTaskCommand.ts b/clients/client-ecs/src/commands/RunTaskCommand.ts index 70d235ad0fbb..6cf85f1484d2 100644 --- a/clients/client-ecs/src/commands/RunTaskCommand.ts +++ b/clients/client-ecs/src/commands/RunTaskCommand.ts @@ -35,33 +35,31 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer * *

Amazon Elastic Inference (EI) is no longer available to customers.

*
- *

You can allow Amazon ECS to place tasks for you, or you can customize how Amazon ECS places - * tasks using placement constraints and placement strategies. For more information, see - * Scheduling Tasks in the Amazon Elastic Container Service Developer Guide.

- *

Alternatively, you can use StartTask to use your own scheduler or - * place tasks manually on specific container instances.

- *

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or - * updating a service. For more infomation, see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide.

- *

The Amazon ECS API follows an eventual consistency model. This is because of the - * distributed nature of the system supporting the API. This means that the result of an - * API command you run that affects your Amazon ECS resources might not be immediately visible - * to all subsequent commands you run. Keep this in mind when you carry out an API command - * that immediately follows a previous API command.

+ *

You can allow Amazon ECS to place tasks for you, or you can customize how Amazon ECS places tasks using + * placement constraints and placement strategies. For more information, see Scheduling + * Tasks in the Amazon Elastic Container Service Developer Guide.

+ *

Alternatively, you can use StartTask to use your own scheduler or place tasks manually + * on specific container instances.

+ *

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or updating a + * service. For more infomation, see Amazon EBS + * volumes in the Amazon Elastic Container Service Developer Guide.

+ *

The Amazon ECS API follows an eventual consistency model. This is because of the distributed nature of the + * system supporting the API. This means that the result of an API command you run that affects your Amazon ECS + * resources might not be immediately visible to all subsequent commands you run. Keep this in mind when + * you carry out an API command that immediately follows a previous API command.

*

To manage eventual consistency, you can do the following:

* * @example @@ -385,17 +383,16 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer * Amazon Web Services Support.

* * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -404,23 +401,22 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer * * @throws {@link ConflictException} (client fault) *

The RunTask request could not be processed due to conflicts. The provided - * clientToken is already in use with a different RunTask - * request. The resourceIds are the existing task ARNs which are already - * associated with the clientToken.

+ * clientToken is already in use with a different RunTask request. The + * resourceIds are the existing task ARNs which are already associated with the + * clientToken.

*

To fix this issue:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link PlatformTaskDefinitionIncompatibilityException} (client fault) *

The specified platform version doesn't satisfy the required capabilities of the task diff --git a/clients/client-ecs/src/commands/StartTaskCommand.ts b/clients/client-ecs/src/commands/StartTaskCommand.ts index f1672c672037..6c749d9a438d 100644 --- a/clients/client-ecs/src/commands/StartTaskCommand.ts +++ b/clients/client-ecs/src/commands/StartTaskCommand.ts @@ -28,18 +28,20 @@ export interface StartTaskCommandInput extends StartTaskRequest {} export interface StartTaskCommandOutput extends StartTaskResponse, __MetadataBearer {} /** - *

Starts a new task from the specified task definition on the specified container - * instance or instances.

+ *

Starts a new task from the specified task definition on the specified container instance or + * instances.

* *

On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.

*
* *

Amazon Elastic Inference (EI) is no longer available to customers.

*
- *

Alternatively, you can useRunTask to place tasks for you. For more - * information, see Scheduling Tasks in the Amazon Elastic Container Service Developer Guide.

- *

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or - * updating a service. For more infomation, see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide.

+ *

Alternatively, you can useRunTask to place tasks for you. For more information, see + * Scheduling + * Tasks in the Amazon Elastic Container Service Developer Guide.

+ *

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or updating a + * service. For more infomation, see Amazon EBS + * volumes in the Amazon Elastic Container Service Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -332,17 +334,16 @@ export interface StartTaskCommandOutput extends StartTaskResponse, __MetadataBea * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -350,8 +351,7 @@ export interface StartTaskCommandOutput extends StartTaskResponse, __MetadataBea *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/StopTaskCommand.ts b/clients/client-ecs/src/commands/StopTaskCommand.ts index af3695ef64ac..c143c3d3bdf0 100644 --- a/clients/client-ecs/src/commands/StopTaskCommand.ts +++ b/clients/client-ecs/src/commands/StopTaskCommand.ts @@ -29,20 +29,18 @@ export interface StopTaskCommandOutput extends StopTaskResponse, __MetadataBeare /** *

Stops a running task. Any tags associated with the task will be deleted.

- *

When you call StopTask on a task, the equivalent of docker - * stop is issued to the containers running in the task. This results in a - * SIGTERM value and a default 30-second timeout, after which the - * SIGKILL value is sent and the containers are forcibly stopped. If the - * container handles the SIGTERM value gracefully and exits within 30 seconds + *

When you call StopTask on a task, the equivalent of docker stop is issued + * to the containers running in the task. This results in a SIGTERM value and a default + * 30-second timeout, after which the SIGKILL value is sent and the containers are forcibly + * stopped. If the container handles the SIGTERM value gracefully and exits within 30 seconds * from receiving it, no SIGKILL value is sent.

- *

For Windows containers, POSIX signals do not work and runtime stops the container by - * sending a CTRL_SHUTDOWN_EVENT. For more information, see Unable to react to graceful shutdown - * of (Windows) container #25982 on GitHub.

+ *

For Windows containers, POSIX signals do not work and runtime stops the container by sending a + * CTRL_SHUTDOWN_EVENT. For more information, see Unable to react to graceful shutdown of (Windows) + * container #25982 on GitHub.

* - *

The default 30-second timeout can be configured on the Amazon ECS container agent with - * the ECS_CONTAINER_STOP_TIMEOUT variable. For more information, see - * Amazon ECS Container Agent Configuration in the - * Amazon Elastic Container Service Developer Guide.

+ *

The default 30-second timeout can be configured on the Amazon ECS container agent with the + * ECS_CONTAINER_STOP_TIMEOUT variable. For more information, see Amazon ECS + * Container Agent Configuration in the Amazon Elastic Container Service Developer Guide.

*
* @example * Use a bare-bones client and the command you need to make an API call. @@ -229,17 +227,16 @@ export interface StopTaskCommandOutput extends StopTaskResponse, __MetadataBeare * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -247,8 +244,7 @@ export interface StopTaskCommandOutput extends StopTaskResponse, __MetadataBeare *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/SubmitAttachmentStateChangesCommand.ts b/clients/client-ecs/src/commands/SubmitAttachmentStateChangesCommand.ts index 3002878208b8..8c2c77bfe299 100644 --- a/clients/client-ecs/src/commands/SubmitAttachmentStateChangesCommand.ts +++ b/clients/client-ecs/src/commands/SubmitAttachmentStateChangesCommand.ts @@ -70,23 +70,21 @@ export interface SubmitAttachmentStateChangesCommandOutput *

You don't have authorization to perform the requested action.

* * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/SubmitContainerStateChangeCommand.ts b/clients/client-ecs/src/commands/SubmitContainerStateChangeCommand.ts index 80b800400f9a..27530e621fda 100644 --- a/clients/client-ecs/src/commands/SubmitContainerStateChangeCommand.ts +++ b/clients/client-ecs/src/commands/SubmitContainerStateChangeCommand.ts @@ -75,17 +75,16 @@ export interface SubmitContainerStateChangeCommandOutput extends SubmitContainer *

You don't have authorization to perform the requested action.

* * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * diff --git a/clients/client-ecs/src/commands/SubmitTaskStateChangeCommand.ts b/clients/client-ecs/src/commands/SubmitTaskStateChangeCommand.ts index 307bb350f7c9..56d5f470f9df 100644 --- a/clients/client-ecs/src/commands/SubmitTaskStateChangeCommand.ts +++ b/clients/client-ecs/src/commands/SubmitTaskStateChangeCommand.ts @@ -99,23 +99,21 @@ export interface SubmitTaskStateChangeCommandOutput extends SubmitTaskStateChang *

You don't have authorization to perform the requested action.

* * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/TagResourceCommand.ts b/clients/client-ecs/src/commands/TagResourceCommand.ts index 9893a154eed9..d2e0293e3fc4 100644 --- a/clients/client-ecs/src/commands/TagResourceCommand.ts +++ b/clients/client-ecs/src/commands/TagResourceCommand.ts @@ -28,10 +28,9 @@ export interface TagResourceCommandInput extends TagResourceRequest {} export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {} /** - *

Associates the specified tags to a resource with the specified - * resourceArn. If existing tags on a resource aren't specified in the - * request parameters, they aren't changed. When a resource is deleted, the tags that are - * associated with that resource are deleted as well.

+ *

Associates the specified tags to a resource with the specified resourceArn. If existing + * tags on a resource aren't specified in the request parameters, they aren't changed. When a resource is + * deleted, the tags that are associated with that resource are deleted as well.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -60,17 +59,16 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -78,8 +76,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ResourceNotFoundException} (client fault) *

The specified resource wasn't found.

diff --git a/clients/client-ecs/src/commands/UntagResourceCommand.ts b/clients/client-ecs/src/commands/UntagResourceCommand.ts index 83a624132d18..41b42f52db54 100644 --- a/clients/client-ecs/src/commands/UntagResourceCommand.ts +++ b/clients/client-ecs/src/commands/UntagResourceCommand.ts @@ -54,17 +54,16 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -72,8 +71,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ResourceNotFoundException} (client fault) *

The specified resource wasn't found.

diff --git a/clients/client-ecs/src/commands/UpdateCapacityProviderCommand.ts b/clients/client-ecs/src/commands/UpdateCapacityProviderCommand.ts index e42cb88dc451..70d14b0bd742 100644 --- a/clients/client-ecs/src/commands/UpdateCapacityProviderCommand.ts +++ b/clients/client-ecs/src/commands/UpdateCapacityProviderCommand.ts @@ -6,7 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateCapacityProviderRequest, UpdateCapacityProviderResponse } from "../models/models_0"; +import { UpdateCapacityProviderRequest } from "../models/models_0"; +import { UpdateCapacityProviderResponse } from "../models/models_1"; import { de_UpdateCapacityProviderCommand, se_UpdateCapacityProviderCommand } from "../protocols/Aws_json1_1"; /** @@ -88,23 +89,21 @@ export interface UpdateCapacityProviderCommandOutput extends UpdateCapacityProvi * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/UpdateClusterCommand.ts b/clients/client-ecs/src/commands/UpdateClusterCommand.ts index 2b4ccea3ad13..b93d0b9cde7c 100644 --- a/clients/client-ecs/src/commands/UpdateClusterCommand.ts +++ b/clients/client-ecs/src/commands/UpdateClusterCommand.ts @@ -149,17 +149,16 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -167,8 +166,7 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link NamespaceNotFoundException} (client fault) *

The specified namespace wasn't found.

diff --git a/clients/client-ecs/src/commands/UpdateClusterSettingsCommand.ts b/clients/client-ecs/src/commands/UpdateClusterSettingsCommand.ts index 06ffe09cb43c..af02d86bba2f 100644 --- a/clients/client-ecs/src/commands/UpdateClusterSettingsCommand.ts +++ b/clients/client-ecs/src/commands/UpdateClusterSettingsCommand.ts @@ -129,17 +129,16 @@ export interface UpdateClusterSettingsCommandOutput extends UpdateClusterSetting * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -147,8 +146,7 @@ export interface UpdateClusterSettingsCommandOutput extends UpdateClusterSetting *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/UpdateContainerAgentCommand.ts b/clients/client-ecs/src/commands/UpdateContainerAgentCommand.ts index 0eb1dd6067f0..e2bf9f594dfb 100644 --- a/clients/client-ecs/src/commands/UpdateContainerAgentCommand.ts +++ b/clients/client-ecs/src/commands/UpdateContainerAgentCommand.ts @@ -28,25 +28,25 @@ export interface UpdateContainerAgentCommandInput extends UpdateContainerAgentRe export interface UpdateContainerAgentCommandOutput extends UpdateContainerAgentResponse, __MetadataBearer {} /** - *

Updates the Amazon ECS container agent on a specified container instance. Updating the - * Amazon ECS container agent doesn't interrupt running tasks or services on the container - * instance. The process for updating the agent differs depending on whether your container - * instance was launched with the Amazon ECS-optimized AMI or another operating system.

+ *

Updates the Amazon ECS container agent on a specified container instance. Updating the Amazon ECS container + * agent doesn't interrupt running tasks or services on the container instance. The process for updating + * the agent differs depending on whether your container instance was launched with the Amazon ECS-optimized + * AMI or another operating system.

* - *

The UpdateContainerAgent API isn't supported for container instances - * using the Amazon ECS-optimized Amazon Linux 2 (arm64) AMI. To update the container agent, - * you can update the ecs-init package. This updates the agent. For more - * information, see Updating the - * Amazon ECS container agent in the Amazon Elastic Container Service Developer Guide.

+ *

The UpdateContainerAgent API isn't supported for container instances using the + * Amazon ECS-optimized Amazon Linux 2 (arm64) AMI. To update the container agent, you can update the + * ecs-init package. This updates the agent. For more information, see Updating + * the Amazon ECS container agent in the Amazon Elastic Container Service Developer Guide.

*
* - *

Agent updates with the UpdateContainerAgent API operation do not - * apply to Windows container instances. We recommend that you launch new container - * instances to update the agent version in your Windows clusters.

+ *

Agent updates with the UpdateContainerAgent API operation do not apply to Windows + * container instances. We recommend that you launch new container instances to update the agent + * version in your Windows clusters.

*
- *

The UpdateContainerAgent API requires an Amazon ECS-optimized AMI or Amazon - * Linux AMI with the ecs-init service installed and running. For help - * updating the Amazon ECS container agent on other operating systems, see Manually updating the Amazon ECS container agent in the Amazon Elastic Container Service Developer Guide.

+ *

The UpdateContainerAgent API requires an Amazon ECS-optimized AMI or Amazon Linux AMI with + * the ecs-init service installed and running. For help updating the Amazon ECS container agent on + * other operating systems, see Manually updating + * the Amazon ECS container agent in the Amazon Elastic Container Service Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -151,17 +151,16 @@ export interface UpdateContainerAgentCommandOutput extends UpdateContainerAgentR * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -169,29 +168,26 @@ export interface UpdateContainerAgentCommandOutput extends UpdateContainerAgentR *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link MissingVersionException} (client fault) - *

Amazon ECS can't determine the current version of the Amazon ECS container agent on the - * container instance and doesn't have enough information to proceed with an update. This - * could be because the agent running on the container instance is a previous or custom - * version that doesn't use our version information.

+ *

Amazon ECS can't determine the current version of the Amazon ECS container agent on the container instance and + * doesn't have enough information to proceed with an update. This could be because the agent running on + * the container instance is a previous or custom version that doesn't use our version information.

* * @throws {@link NoUpdateAvailableException} (client fault) - *

There's no update available for this Amazon ECS container agent. This might be because the - * agent is already running the latest version or because it's so old that there's no - * update path to the current version.

+ *

There's no update available for this Amazon ECS container agent. This might be because the agent is + * already running the latest version or because it's so old that there's no update path to the current + * version.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

* * @throws {@link UpdateInProgressException} (client fault) - *

There's already a current Amazon ECS container agent update in progress on the container - * instance that's specified. If the container agent becomes disconnected while it's in a - * transitional stage, such as PENDING or STAGING, the update - * process can get stuck in that state. However, when the agent reconnects, it resumes - * where it stopped previously.

+ *

There's already a current Amazon ECS container agent update in progress on the container instance that's + * specified. If the container agent becomes disconnected while it's in a transitional stage, such as + * PENDING or STAGING, the update process can get stuck in that state. + * However, when the agent reconnects, it resumes where it stopped previously.

* * @throws {@link ECSServiceException} *

Base exception class for all service exceptions from ECS service.

diff --git a/clients/client-ecs/src/commands/UpdateContainerInstancesStateCommand.ts b/clients/client-ecs/src/commands/UpdateContainerInstancesStateCommand.ts index e42969a0576b..291786de1369 100644 --- a/clients/client-ecs/src/commands/UpdateContainerInstancesStateCommand.ts +++ b/clients/client-ecs/src/commands/UpdateContainerInstancesStateCommand.ts @@ -34,54 +34,50 @@ export interface UpdateContainerInstancesStateCommandOutput /** *

Modifies the status of an Amazon ECS container instance.

- *

Once a container instance has reached an ACTIVE state, you can change the - * status of a container instance to DRAINING to manually remove an instance - * from a cluster, for example to perform system updates, update the Docker daemon, or - * scale down the cluster size.

+ *

Once a container instance has reached an ACTIVE state, you can change the status of a + * container instance to DRAINING to manually remove an instance from a cluster, for example + * to perform system updates, update the Docker daemon, or scale down the cluster size.

* - *

A container instance can't be changed to DRAINING until it has - * reached an ACTIVE status. If the instance is in any other status, an - * error will be received.

+ *

A container instance can't be changed to DRAINING until it has reached an + * ACTIVE status. If the instance is in any other status, an error will be + * received.

*
- *

When you set a container instance to DRAINING, Amazon ECS prevents new tasks - * from being scheduled for placement on the container instance and replacement service - * tasks are started on other container instances in the cluster if the resources are - * available. Service tasks on the container instance that are in the PENDING - * state are stopped immediately.

- *

Service tasks on the container instance that are in the RUNNING state are - * stopped and replaced according to the service's deployment configuration parameters, - * minimumHealthyPercent and maximumPercent. You can change - * the deployment configuration of your service using UpdateService.

+ *

When you set a container instance to DRAINING, Amazon ECS prevents new tasks from being + * scheduled for placement on the container instance and replacement service tasks are started on other + * container instances in the cluster if the resources are available. Service tasks on the container + * instance that are in the PENDING state are stopped immediately.

+ *

Service tasks on the container instance that are in the RUNNING state are stopped and + * replaced according to the service's deployment configuration parameters, + * minimumHealthyPercent and maximumPercent. You can change the deployment + * configuration of your service using UpdateService.

* - *

Any PENDING or RUNNING tasks that do not belong to a service - * aren't affected. You must wait for them to finish or stop them manually.

- *

A container instance has completed draining when it has no more RUNNING - * tasks. You can verify this using ListTasks.

- *

When a container instance has been drained, you can set a container instance to - * ACTIVE status and once it has reached that status the Amazon ECS scheduler - * can begin scheduling tasks on the instance again.

+ *

Any PENDING or RUNNING tasks that do not belong to a service aren't + * affected. You must wait for them to finish or stop them manually.

+ *

A container instance has completed draining when it has no more RUNNING tasks. You can + * verify this using ListTasks.

+ *

When a container instance has been drained, you can set a container instance to ACTIVE + * status and once it has reached that status the Amazon ECS scheduler can begin scheduling tasks on the + * instance again.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -198,17 +194,16 @@ export interface UpdateContainerInstancesStateCommandOutput * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape. * * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -216,8 +211,7 @@ export interface UpdateContainerInstancesStateCommandOutput *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/UpdateServiceCommand.ts b/clients/client-ecs/src/commands/UpdateServiceCommand.ts index 657fd836403e..21dcb7988661 100644 --- a/clients/client-ecs/src/commands/UpdateServiceCommand.ts +++ b/clients/client-ecs/src/commands/UpdateServiceCommand.ts @@ -32,117 +32,111 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met * *

On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.

*
- *

For services using the rolling update (ECS) you can update the desired - * count, deployment configuration, network configuration, load balancers, service - * registries, enable ECS managed tags option, propagate tags option, task placement - * constraints and strategies, and task definition. When you update any of these - * parameters, Amazon ECS starts new tasks with the new configuration.

- *

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or - * running a task, or when creating or updating a service. For more infomation, see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide. You can update - * your volume configurations and trigger a new deployment. - * volumeConfigurations is only supported for REPLICA service and not - * DAEMON service. If you leave volumeConfigurations - * null, it doesn't trigger a new deployment. For more infomation on volumes, - * see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide.

- *

For services using the blue/green (CODE_DEPLOY) deployment controller, - * only the desired count, deployment configuration, health check grace period, task - * placement constraints and strategies, enable ECS managed tags option, and propagate tags - * can be updated using this API. If the network configuration, platform version, task - * definition, or load balancer need to be updated, create a new CodeDeploy deployment. For more - * information, see CreateDeployment in the CodeDeploy API Reference.

- *

For services using an external deployment controller, you can update only the desired - * count, task placement constraints and strategies, health check grace period, enable ECS - * managed tags option, and propagate tags option, using this API. If the launch type, load - * balancer, network configuration, platform version, or task definition need to be - * updated, create a new task set For more information, see CreateTaskSet.

- *

You can add to or subtract from the number of instantiations of a task definition in a - * service by specifying the cluster that the service is running in and a new - * desiredCount parameter.

- *

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or - * running a task, or when creating or updating a service. For more infomation, see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide.

- *

If you have updated the container image of your application, you can create a new task - * definition with that image and deploy it to your service. The service scheduler uses the - * minimum healthy percent and maximum percent parameters (in the service's deployment - * configuration) to determine the deployment strategy.

+ *

For services using the rolling update (ECS) you can update the desired count, deployment + * configuration, network configuration, load balancers, service registries, enable ECS managed tags + * option, propagate tags option, task placement constraints and strategies, and task definition. When you + * update any of these parameters, Amazon ECS starts new tasks with the new configuration.

+ *

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or running a + * task, or when creating or updating a service. For more infomation, see Amazon EBS + * volumes in the Amazon Elastic Container Service Developer Guide. You can update your volume configurations and trigger a new + * deployment. volumeConfigurations is only supported for REPLICA service and not DAEMON + * service. If you leave volumeConfigurations + * null, it doesn't trigger a new deployment. For more infomation on volumes, see Amazon EBS + * volumes in the Amazon Elastic Container Service Developer Guide.

+ *

For services using the blue/green (CODE_DEPLOY) deployment controller, only the desired + * count, deployment configuration, health check grace period, task placement constraints and strategies, + * enable ECS managed tags option, and propagate tags can be updated using this API. If the network + * configuration, platform version, task definition, or load balancer need to be updated, create a new + * CodeDeploy deployment. For more information, see CreateDeployment in the + * CodeDeploy API Reference.

+ *

For services using an external deployment controller, you can update only the desired count, task + * placement constraints and strategies, health check grace period, enable ECS managed tags option, and + * propagate tags option, using this API. If the launch type, load balancer, network configuration, + * platform version, or task definition need to be updated, create a new task set For more information, + * see CreateTaskSet.

+ *

You can add to or subtract from the number of instantiations of a task definition in a service by + * specifying the cluster that the service is running in and a new desiredCount + * parameter.

+ *

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or running a + * task, or when creating or updating a service. For more infomation, see Amazon EBS + * volumes in the Amazon Elastic Container Service Developer Guide.

+ *

If you have updated the container image of your application, you can create a new task definition + * with that image and deploy it to your service. The service scheduler uses the minimum healthy percent + * and maximum percent parameters (in the service's deployment configuration) to determine the deployment + * strategy.

* - *

If your updated Docker image uses the same tag as what is in the existing task - * definition for your service (for example, my_image:latest), you don't - * need to create a new revision of your task definition. You can update the service - * using the forceNewDeployment option. The new tasks launched by the - * deployment pull the current image/tag combination from your repository when they - * start.

+ *

If your updated Docker image uses the same tag as what is in the existing task definition for + * your service (for example, my_image:latest), you don't need to create a new revision + * of your task definition. You can update the service using the forceNewDeployment + * option. The new tasks launched by the deployment pull the current image/tag combination from your + * repository when they start.

*
- *

You can also update the deployment configuration of a service. When a deployment is - * triggered by updating the task definition of a service, the service scheduler uses the - * deployment configuration parameters, minimumHealthyPercent and - * maximumPercent, to determine the deployment strategy.

+ *

You can also update the deployment configuration of a service. When a deployment is triggered by + * updating the task definition of a service, the service scheduler uses the deployment configuration + * parameters, minimumHealthyPercent and maximumPercent, to determine the + * deployment strategy.

* - *

When UpdateService stops a task during a deployment, the equivalent - * of docker stop is issued to the containers running in the task. This - * results in a SIGTERM and a 30-second timeout. After this, - * SIGKILL is sent and the containers are forcibly stopped. If the - * container handles the SIGTERM gracefully and exits within 30 seconds from - * receiving it, no SIGKILL is sent.

- *

When the service scheduler launches new tasks, it determines task placement in your - * cluster with the following logic.

+ *

When UpdateService stops a task during a deployment, the equivalent of docker stop + * is issued to the containers running in the task. This results in a SIGTERM and a 30-second + * timeout. After this, SIGKILL is sent and the containers are forcibly stopped. If the + * container handles the SIGTERM gracefully and exits within 30 seconds from receiving it, no + * SIGKILL is sent.

+ *

When the service scheduler launches new tasks, it determines task placement in your cluster with the + * following logic.

* - *

When the service scheduler stops running tasks, it attempts to maintain balance across - * the Availability Zones in your cluster using the following logic:

+ *

When the service scheduler stops running tasks, it attempts to maintain balance across the + * Availability Zones in your cluster using the following logic:

* * @@ -159,8 +153,7 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met *

* * - *

For more information about the role see the CreateService request - * parameter + *

For more information about the role see the CreateService request parameter * role * .

*
@@ -310,6 +303,13 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met * }, * }, * ], + * vpcLatticeConfigurations: [ // VpcLatticeConfigurations + * { // VpcLatticeConfiguration + * roleArn: "STRING_VALUE", // required + * targetGroupArn: "STRING_VALUE", // required + * portName: "STRING_VALUE", // required + * }, + * ], * }; * const command = new UpdateServiceCommand(input); * const response = await client.send(command); @@ -544,6 +544,13 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met * // fargateEphemeralStorage: { * // kmsKeyId: "STRING_VALUE", * // }, + * // vpcLatticeConfigurations: [ // VpcLatticeConfigurations + * // { // VpcLatticeConfiguration + * // roleArn: "STRING_VALUE", // required + * // targetGroupArn: "STRING_VALUE", // required + * // portName: "STRING_VALUE", // required + * // }, + * // ], * // }, * // ], * // roleArn: "STRING_VALUE", @@ -599,17 +606,16 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met *

You don't have authorization to perform the requested action.

* * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -617,8 +623,7 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link NamespaceNotFoundException} (client fault) *

The specified namespace wasn't found.

@@ -634,12 +639,11 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met *

These errors are usually caused by a server issue.

* * @throws {@link ServiceNotActiveException} (client fault) - *

The specified service isn't active. You can't update a service that's inactive. If you - * have previously deleted a service, you can re-create it with CreateService.

+ *

The specified service isn't active. You can't update a service that's inactive. If you have + * previously deleted a service, you can re-create it with CreateService.

* * @throws {@link ServiceNotFoundException} (client fault) - *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region - * specific.

+ *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region specific.

* * @throws {@link UnsupportedFeatureException} (client fault) *

The specified task isn't supported in this Region.

diff --git a/clients/client-ecs/src/commands/UpdateServicePrimaryTaskSetCommand.ts b/clients/client-ecs/src/commands/UpdateServicePrimaryTaskSetCommand.ts index 22aa7575679d..c9c2e561423c 100644 --- a/clients/client-ecs/src/commands/UpdateServicePrimaryTaskSetCommand.ts +++ b/clients/client-ecs/src/commands/UpdateServicePrimaryTaskSetCommand.ts @@ -30,10 +30,9 @@ export interface UpdateServicePrimaryTaskSetCommandOutput __MetadataBearer {} /** - *

Modifies which task set in a service is the primary task set. Any parameters that are - * updated on the primary task set in a service will transition to the service. This is - * used when a service uses the EXTERNAL deployment controller type. For more - * information, see Amazon ECS Deployment + *

Modifies which task set in a service is the primary task set. Any parameters that are updated on the + * primary task set in a service will transition to the service. This is used when a service uses the + * EXTERNAL deployment controller type. For more information, see Amazon ECS Deployment * Types in the Amazon Elastic Container Service Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. @@ -130,17 +129,16 @@ export interface UpdateServicePrimaryTaskSetCommandOutput *

You don't have authorization to perform the requested action.

* * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -148,23 +146,20 @@ export interface UpdateServicePrimaryTaskSetCommandOutput *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

* * @throws {@link ServiceNotActiveException} (client fault) - *

The specified service isn't active. You can't update a service that's inactive. If you - * have previously deleted a service, you can re-create it with CreateService.

+ *

The specified service isn't active. You can't update a service that's inactive. If you have + * previously deleted a service, you can re-create it with CreateService.

* * @throws {@link ServiceNotFoundException} (client fault) - *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region - * specific.

+ *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region specific.

* * @throws {@link TaskSetNotFoundException} (client fault) - *

The specified task set wasn't found. You can view your available task sets with DescribeTaskSets. Task sets are specific to each cluster, service and - * Region.

+ *

The specified task set wasn't found. You can view your available task sets with DescribeTaskSets. Task sets are specific to each cluster, service and Region.

* * @throws {@link UnsupportedFeatureException} (client fault) *

The specified task isn't supported in this Region.

diff --git a/clients/client-ecs/src/commands/UpdateTaskProtectionCommand.ts b/clients/client-ecs/src/commands/UpdateTaskProtectionCommand.ts index feb50540dfb5..e4e96868440d 100644 --- a/clients/client-ecs/src/commands/UpdateTaskProtectionCommand.ts +++ b/clients/client-ecs/src/commands/UpdateTaskProtectionCommand.ts @@ -29,31 +29,28 @@ export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionR /** *

Updates the protection status of a task. You can set protectionEnabled to - * true to protect your task from termination during scale-in events from - * Service + * true to protect your task from termination during scale-in events from Service * Autoscaling or deployments.

*

Task-protection, by default, expires after 2 hours at which point Amazon ECS clears the - * protectionEnabled property making the task eligible for termination by - * a subsequent scale-in event.

- *

You can specify a custom expiration period for task protection from 1 minute to up to - * 2,880 minutes (48 hours). To specify the custom expiration period, set the - * expiresInMinutes property. The expiresInMinutes property - * is always reset when you invoke this operation for a task that already has - * protectionEnabled set to true. You can keep extending the + * protectionEnabled property making the task eligible for termination by a subsequent + * scale-in event.

+ *

You can specify a custom expiration period for task protection from 1 minute to up to 2,880 minutes + * (48 hours). To specify the custom expiration period, set the expiresInMinutes property. + * The expiresInMinutes property is always reset when you invoke this operation for a task + * that already has protectionEnabled set to true. You can keep extending the * protection expiration period of a task by invoking this operation repeatedly.

*

To learn more about Amazon ECS task protection, see Task scale-in * protection in the * Amazon Elastic Container Service Developer Guide * .

* - *

This operation is only supported for tasks belonging to an Amazon ECS service. Invoking - * this operation for a standalone task will result in an TASK_NOT_VALID - * failure. For more information, see API failure - * reasons.

+ *

This operation is only supported for tasks belonging to an Amazon ECS service. Invoking this operation + * for a standalone task will result in an TASK_NOT_VALID failure. For more information, + * see API failure reasons.

*
* - *

If you prefer to set task protection from within the container, we recommend using - * the Task scale-in protection endpoint.

+ *

If you prefer to set task protection from within the container, we recommend using the Task scale-in + * protection endpoint.

*
* @example * Use a bare-bones client and the command you need to make an API call. @@ -100,17 +97,16 @@ export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionR *

You don't have authorization to perform the requested action.

* * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -118,8 +114,7 @@ export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionR *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ResourceNotFoundException} (client fault) *

The specified resource wasn't found.

diff --git a/clients/client-ecs/src/commands/UpdateTaskSetCommand.ts b/clients/client-ecs/src/commands/UpdateTaskSetCommand.ts index 2fdf664845a7..f4fd11bd1e9b 100644 --- a/clients/client-ecs/src/commands/UpdateTaskSetCommand.ts +++ b/clients/client-ecs/src/commands/UpdateTaskSetCommand.ts @@ -28,9 +28,9 @@ export interface UpdateTaskSetCommandInput extends UpdateTaskSetRequest {} export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __MetadataBearer {} /** - *

Modifies a task set. This is used when a service uses the EXTERNAL - * deployment controller type. For more information, see Amazon ECS Deployment - * Types in the Amazon Elastic Container Service Developer Guide.

+ *

Modifies a task set. This is used when a service uses the EXTERNAL deployment controller + * type. For more information, see Amazon ECS Deployment Types in the + * Amazon Elastic Container Service Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -130,17 +130,16 @@ export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __Met *

You don't have authorization to perform the requested action.

* * @throws {@link ClientException} (client fault) - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @@ -148,23 +147,20 @@ export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __Met *

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

* * @throws {@link InvalidParameterException} (client fault) - *

The specified parameter isn't valid. Review the available parameters for the API - * request.

+ *

The specified parameter isn't valid. Review the available parameters for the API request.

* * @throws {@link ServerException} (server fault) *

These errors are usually caused by a server issue.

* * @throws {@link ServiceNotActiveException} (client fault) - *

The specified service isn't active. You can't update a service that's inactive. If you - * have previously deleted a service, you can re-create it with CreateService.

+ *

The specified service isn't active. You can't update a service that's inactive. If you have + * previously deleted a service, you can re-create it with CreateService.

* * @throws {@link ServiceNotFoundException} (client fault) - *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region - * specific.

+ *

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region specific.

* * @throws {@link TaskSetNotFoundException} (client fault) - *

The specified task set wasn't found. You can view your available task sets with DescribeTaskSets. Task sets are specific to each cluster, service and - * Region.

+ *

The specified task set wasn't found. You can view your available task sets with DescribeTaskSets. Task sets are specific to each cluster, service and Region.

* * @throws {@link UnsupportedFeatureException} (client fault) *

The specified task isn't supported in this Region.

diff --git a/clients/client-ecs/src/index.ts b/clients/client-ecs/src/index.ts index da05cd9a4f8f..39b141f82498 100644 --- a/clients/client-ecs/src/index.ts +++ b/clients/client-ecs/src/index.ts @@ -2,18 +2,17 @@ /* eslint-disable */ /** * Amazon Elastic Container Service - *

Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service. It makes - * it easy to run, stop, and manage Docker containers. You can host your cluster on a - * serverless infrastructure that's managed by Amazon ECS by launching your services or tasks on - * Fargate. For more control, you can host your tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) - * or External (on-premises) instances that you manage.

- *

Amazon ECS makes it easy to launch and stop container-based applications with simple API - * calls. This makes it easy to get the state of your cluster from a centralized service, - * and gives you access to many familiar Amazon EC2 features.

- *

You can use Amazon ECS to schedule the placement of containers across your cluster based on - * your resource needs, isolation policies, and availability requirements. With Amazon ECS, you - * don't need to operate your own cluster management and configuration management systems. - * You also don't need to worry about scaling your management infrastructure.

+ *

Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service. It makes it easy to run, + * stop, and manage Docker containers. You can host your cluster on a serverless infrastructure that's + * managed by Amazon ECS by launching your services or tasks on Fargate. For more control, you can host your + * tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) or External (on-premises) instances that you manage.

+ *

Amazon ECS makes it easy to launch and stop container-based applications with simple API calls. This makes + * it easy to get the state of your cluster from a centralized service, and gives you access to many + * familiar Amazon EC2 features.

+ *

You can use Amazon ECS to schedule the placement of containers across your cluster based on your resource + * needs, isolation policies, and availability requirements. With Amazon ECS, you don't need to operate your + * own cluster management and configuration management systems. You also don't need to worry about scaling + * your management infrastructure.

* * @packageDocumentation */ diff --git a/clients/client-ecs/src/models/models_0.ts b/clients/client-ecs/src/models/models_0.ts index 90b594c0b4a7..52c2da3e21db 100644 --- a/clients/client-ecs/src/models/models_0.ts +++ b/clients/client-ecs/src/models/models_0.ts @@ -42,17 +42,16 @@ export const AgentUpdateStatus = { export type AgentUpdateStatus = (typeof AgentUpdateStatus)[keyof typeof AgentUpdateStatus]; /** - *

These errors are usually caused by a client action. This client action might be using - * an action or resource on behalf of a user that doesn't have permissions to use the - * action or resource. Or, it might be specifying an identifier that isn't valid.

+ *

These errors are usually caused by a client action. This client action might be using an action or + * resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might + * be specifying an identifier that isn't valid.

*

The following list includes additional causes for the error:

* * @public @@ -103,12 +102,11 @@ export type ManagedScalingStatus = (typeof ManagedScalingStatus)[keyof typeof Ma /** *

The managed scaling settings for the Auto Scaling group capacity provider.

- *

When managed scaling is turned on, Amazon ECS manages the scale-in and scale-out actions of - * the Auto Scaling group. Amazon ECS manages a target tracking scaling policy using an Amazon ECS - * managed CloudWatch metric with the specified targetCapacity value as the target - * value for the metric. For more information, see Using managed scaling in the Amazon Elastic Container Service Developer Guide.

- *

If managed scaling is off, the user must manage the scaling of the Auto Scaling - * group.

+ *

When managed scaling is turned on, Amazon ECS manages the scale-in and scale-out actions of the Auto + * Scaling group. Amazon ECS manages a target tracking scaling policy using an Amazon ECS managed CloudWatch metric with + * the specified targetCapacity value as the target value for the metric. For more + * information, see Using managed scaling in the Amazon Elastic Container Service Developer Guide.

+ *

If managed scaling is off, the user must manage the scaling of the Auto Scaling group.

* @public */ export interface ManagedScaling { @@ -119,41 +117,39 @@ export interface ManagedScaling { status?: ManagedScalingStatus | undefined; /** - *

The target capacity utilization as a percentage for the capacity provider. The - * specified value must be greater than 0 and less than or equal to - * 100. For example, if you want the capacity provider to maintain 10% - * spare capacity, then that means the utilization is 90%, so use a - * targetCapacity of 90. The default value of - * 100 percent results in the Amazon EC2 instances in your Auto Scaling group - * being completely used.

+ *

The target capacity utilization as a percentage for the capacity provider. The specified value must + * be greater than 0 and less than or equal to 100. For example, if you want the + * capacity provider to maintain 10% spare capacity, then that means the utilization is 90%, so use a + * targetCapacity of 90. The default value of 100 percent + * results in the Amazon EC2 instances in your Auto Scaling group being completely used.

* @public */ targetCapacity?: number | undefined; /** - *

The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default - * value of 1 is used.

- *

When additional capacity is required, Amazon ECS will scale up the minimum scaling step - * size even if the actual demand is less than the minimum scaling step size.

- *

If you use a capacity provider with an Auto Scaling group configured with more than - * one Amazon EC2 instance type or Availability Zone, Amazon ECS will scale up by the exact minimum - * scaling step size value and will ignore both the maximum scaling step size as well as - * the capacity demand.

+ *

The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is + * not affected by this parameter If this parameter is omitted, the default value of 1 is + * used.

+ *

When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the + * actual demand is less than the minimum scaling step size.

+ *

If you use a capacity provider with an Auto Scaling group configured with more than one Amazon EC2 + * instance type or Availability Zone, Amazon ECS will scale up by the exact minimum scaling step size value + * and will ignore both the maximum scaling step size as well as the capacity demand.

* @public */ minimumScalingStepSize?: number | undefined; /** - *

The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default - * value of 10000 is used.

+ *

The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is + * omitted, the default value of 10000 is used.

* @public */ maximumScalingStepSize?: number | undefined; /** - *

The period of time, in seconds, after a newly launched Amazon EC2 instance can contribute - * to CloudWatch metrics for Auto Scaling group. If this parameter is omitted, the default value - * of 300 seconds is used.

+ *

The period of time, in seconds, after a newly launched Amazon EC2 instance can contribute to CloudWatch metrics + * for Auto Scaling group. If this parameter is omitted, the default value of 300 seconds is + * used.

* @public */ instanceWarmupPeriod?: number | undefined; @@ -180,8 +176,7 @@ export type ManagedTerminationProtection = */ export interface AutoScalingGroupProvider { /** - *

The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group - * name.

+ *

The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.

* @public */ autoScalingGroupArn: string | undefined; @@ -193,19 +188,20 @@ export interface AutoScalingGroupProvider { managedScaling?: ManagedScaling | undefined; /** - *

The managed termination protection setting to use for the Auto Scaling group capacity - * provider. This determines whether the Auto Scaling group has managed termination - * protection. The default is off.

+ *

The managed termination protection setting to use for the Auto Scaling group capacity provider. This + * determines whether the Auto Scaling group has managed termination protection. The default is + * off.

* - *

When using managed termination protection, managed scaling must also be used - * otherwise managed termination protection doesn't work.

+ *

When using managed termination protection, managed scaling must also be used otherwise managed + * termination protection doesn't work.

*
- *

When managed termination protection is on, Amazon ECS prevents the Amazon EC2 instances in an - * Auto Scaling group that contain tasks from being terminated during a scale-in action. - * The Auto Scaling group and each instance in the Auto Scaling group must have instance - * protection from scale-in actions on as well. For more information, see Instance Protection in the Auto Scaling User Guide.

- *

When managed termination protection is off, your Amazon EC2 instances aren't protected from - * termination when the Auto Scaling group scales in.

+ *

When managed termination protection is on, Amazon ECS prevents the Amazon EC2 instances in an Auto Scaling + * group that contain tasks from being terminated during a scale-in action. The Auto Scaling group and + * each instance in the Auto Scaling group must have instance protection from scale-in actions on as well. + * For more information, see Instance + * Protection in the Auto Scaling User Guide.

+ *

When managed termination protection is off, your Amazon EC2 instances aren't protected from termination + * when the Auto Scaling group scales in.

* @public */ managedTerminationProtection?: ManagedTerminationProtection | undefined; @@ -218,8 +214,8 @@ export interface AutoScalingGroupProvider { } /** - *

The metadata that you apply to a resource to help you categorize and organize them. - * Each tag consists of a key and an optional value. You define them.

+ *

The metadata that you apply to a resource to help you categorize and organize them. Each tag consists + * of a key and an optional value. You define them.

*

The following basic restrictions apply to tags:

*