diff --git a/clients/client-ecs/src/commands/CreateCapacityProviderCommand.ts b/clients/client-ecs/src/commands/CreateCapacityProviderCommand.ts index d1c8acacf857..cab7d7718c5a 100644 --- a/clients/client-ecs/src/commands/CreateCapacityProviderCommand.ts +++ b/clients/client-ecs/src/commands/CreateCapacityProviderCommand.ts @@ -104,6 +104,16 @@ export interface CreateCapacityProviderCommandOutput extends CreateCapacityProvi *

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 diff --git a/clients/client-ecs/src/commands/CreateClusterCommand.ts b/clients/client-ecs/src/commands/CreateClusterCommand.ts index e7b572f1a47b..02f023ac2787 100644 --- a/clients/client-ecs/src/commands/CreateClusterCommand.ts +++ b/clients/client-ecs/src/commands/CreateClusterCommand.ts @@ -178,6 +178,16 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met *

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 diff --git a/clients/client-ecs/src/commands/CreateServiceCommand.ts b/clients/client-ecs/src/commands/CreateServiceCommand.ts index 34b727d2c0dd..c5d204c34cc2 100644 --- a/clients/client-ecs/src/commands/CreateServiceCommand.ts +++ b/clients/client-ecs/src/commands/CreateServiceCommand.ts @@ -108,8 +108,8 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met *

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 operation. 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 + *

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 *

*

Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.

@@ -563,6 +563,16 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/CreateTaskSetCommand.ts b/clients/client-ecs/src/commands/CreateTaskSetCommand.ts index 9d95e71f829e..5b446ca24185 100644 --- a/clients/client-ecs/src/commands/CreateTaskSetCommand.ts +++ b/clients/client-ecs/src/commands/CreateTaskSetCommand.ts @@ -35,7 +35,7 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __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 information about the maximum number of task sets and otther quotas, see Amazon ECS + *

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. @@ -183,6 +183,16 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __Met *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/DeleteAccountSettingCommand.ts b/clients/client-ecs/src/commands/DeleteAccountSettingCommand.ts index 8dc619fc9cce..3d21967d0550 100644 --- a/clients/client-ecs/src/commands/DeleteAccountSettingCommand.ts +++ b/clients/client-ecs/src/commands/DeleteAccountSettingCommand.ts @@ -63,6 +63,16 @@ export interface DeleteAccountSettingCommandOutput extends DeleteAccountSettingR *

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 diff --git a/clients/client-ecs/src/commands/DeleteAttributesCommand.ts b/clients/client-ecs/src/commands/DeleteAttributesCommand.ts index cc37319dccb7..a7154e1f5b07 100644 --- a/clients/client-ecs/src/commands/DeleteAttributesCommand.ts +++ b/clients/client-ecs/src/commands/DeleteAttributesCommand.ts @@ -76,8 +76,8 @@ export interface DeleteAttributesCommandOutput extends DeleteAttributesResponse, * * @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 Region-specific.

+ * with ListContainerInstances. Amazon ECS container instances 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/DeleteCapacityProviderCommand.ts b/clients/client-ecs/src/commands/DeleteCapacityProviderCommand.ts index ca71d6aad79c..8ad900577984 100644 --- a/clients/client-ecs/src/commands/DeleteCapacityProviderCommand.ts +++ b/clients/client-ecs/src/commands/DeleteCapacityProviderCommand.ts @@ -94,6 +94,16 @@ export interface DeleteCapacityProviderCommandOutput extends DeleteCapacityProvi *

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 diff --git a/clients/client-ecs/src/commands/DeleteClusterCommand.ts b/clients/client-ecs/src/commands/DeleteClusterCommand.ts index 78f9d06f0de3..b05fbe5733dc 100644 --- a/clients/client-ecs/src/commands/DeleteClusterCommand.ts +++ b/clients/client-ecs/src/commands/DeleteClusterCommand.ts @@ -131,6 +131,16 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met *

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 diff --git a/clients/client-ecs/src/commands/DeleteServiceCommand.ts b/clients/client-ecs/src/commands/DeleteServiceCommand.ts index eb5754ed872c..c6c509129332 100644 --- a/clients/client-ecs/src/commands/DeleteServiceCommand.ts +++ b/clients/client-ecs/src/commands/DeleteServiceCommand.ts @@ -348,6 +348,16 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/DeleteTaskDefinitionsCommand.ts b/clients/client-ecs/src/commands/DeleteTaskDefinitionsCommand.ts index 75046fed1c78..68fb32b36664 100644 --- a/clients/client-ecs/src/commands/DeleteTaskDefinitionsCommand.ts +++ b/clients/client-ecs/src/commands/DeleteTaskDefinitionsCommand.ts @@ -89,6 +89,13 @@ export interface DeleteTaskDefinitionsCommandOutput extends DeleteTaskDefinition * // }, * // ], * // essential: true || false, + * // restartPolicy: { // ContainerRestartPolicy + * // enabled: true || false, // required + * // ignoredExitCodes: [ // IntegerList + * // Number("int"), + * // ], + * // restartAttemptPeriod: Number("int"), + * // }, * // entryPoint: [ * // "STRING_VALUE", * // ], @@ -351,6 +358,16 @@ export interface DeleteTaskDefinitionsCommandOutput extends DeleteTaskDefinition *

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 diff --git a/clients/client-ecs/src/commands/DeleteTaskSetCommand.ts b/clients/client-ecs/src/commands/DeleteTaskSetCommand.ts index 7888c3b56f25..1c1ce3394214 100644 --- a/clients/client-ecs/src/commands/DeleteTaskSetCommand.ts +++ b/clients/client-ecs/src/commands/DeleteTaskSetCommand.ts @@ -129,6 +129,16 @@ export interface DeleteTaskSetCommandOutput extends DeleteTaskSetResponse, __Met *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/DeregisterContainerInstanceCommand.ts b/clients/client-ecs/src/commands/DeregisterContainerInstanceCommand.ts index 292c4b49ead4..dc8a65a6822e 100644 --- a/clients/client-ecs/src/commands/DeregisterContainerInstanceCommand.ts +++ b/clients/client-ecs/src/commands/DeregisterContainerInstanceCommand.ts @@ -152,6 +152,16 @@ export interface DeregisterContainerInstanceCommandOutput *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/DeregisterTaskDefinitionCommand.ts b/clients/client-ecs/src/commands/DeregisterTaskDefinitionCommand.ts index af68f8f0e9aa..5c771a1bea19 100644 --- a/clients/client-ecs/src/commands/DeregisterTaskDefinitionCommand.ts +++ b/clients/client-ecs/src/commands/DeregisterTaskDefinitionCommand.ts @@ -84,6 +84,13 @@ export interface DeregisterTaskDefinitionCommandOutput extends DeregisterTaskDef * // }, * // ], * // essential: true || false, + * // restartPolicy: { // ContainerRestartPolicy + * // enabled: true || false, // required + * // ignoredExitCodes: [ // IntegerList + * // Number("int"), + * // ], + * // restartAttemptPeriod: Number("int"), + * // }, * // entryPoint: [ * // "STRING_VALUE", * // ], @@ -335,6 +342,16 @@ export interface DeregisterTaskDefinitionCommandOutput extends DeregisterTaskDef *

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 diff --git a/clients/client-ecs/src/commands/DescribeCapacityProvidersCommand.ts b/clients/client-ecs/src/commands/DescribeCapacityProvidersCommand.ts index 982c4a245fef..4ab33faa407c 100644 --- a/clients/client-ecs/src/commands/DescribeCapacityProvidersCommand.ts +++ b/clients/client-ecs/src/commands/DescribeCapacityProvidersCommand.ts @@ -97,6 +97,16 @@ export interface DescribeCapacityProvidersCommandOutput extends DescribeCapacity *

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 diff --git a/clients/client-ecs/src/commands/DescribeClustersCommand.ts b/clients/client-ecs/src/commands/DescribeClustersCommand.ts index 7f08e74087ed..170cae289983 100644 --- a/clients/client-ecs/src/commands/DescribeClustersCommand.ts +++ b/clients/client-ecs/src/commands/DescribeClustersCommand.ts @@ -140,6 +140,16 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse, *

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 diff --git a/clients/client-ecs/src/commands/DescribeContainerInstancesCommand.ts b/clients/client-ecs/src/commands/DescribeContainerInstancesCommand.ts index 35029fffe8ed..8223837d8660 100644 --- a/clients/client-ecs/src/commands/DescribeContainerInstancesCommand.ts +++ b/clients/client-ecs/src/commands/DescribeContainerInstancesCommand.ts @@ -151,6 +151,16 @@ export interface DescribeContainerInstancesCommandOutput extends DescribeContain *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/DescribeServicesCommand.ts b/clients/client-ecs/src/commands/DescribeServicesCommand.ts index bfa7606928cd..85d3b70d7ce4 100644 --- a/clients/client-ecs/src/commands/DescribeServicesCommand.ts +++ b/clients/client-ecs/src/commands/DescribeServicesCommand.ts @@ -341,6 +341,16 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse, *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/DescribeTaskDefinitionCommand.ts b/clients/client-ecs/src/commands/DescribeTaskDefinitionCommand.ts index 02dee9979ee0..576bd44f0d89 100644 --- a/clients/client-ecs/src/commands/DescribeTaskDefinitionCommand.ts +++ b/clients/client-ecs/src/commands/DescribeTaskDefinitionCommand.ts @@ -77,6 +77,13 @@ export interface DescribeTaskDefinitionCommandOutput extends DescribeTaskDefinit * // }, * // ], * // essential: true || false, + * // restartPolicy: { // ContainerRestartPolicy + * // enabled: true || false, // required + * // ignoredExitCodes: [ // IntegerList + * // Number("int"), + * // ], + * // restartAttemptPeriod: Number("int"), + * // }, * // entryPoint: [ * // "STRING_VALUE", * // ], @@ -334,6 +341,16 @@ export interface DescribeTaskDefinitionCommandOutput extends DescribeTaskDefinit *

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 diff --git a/clients/client-ecs/src/commands/DescribeTaskSetsCommand.ts b/clients/client-ecs/src/commands/DescribeTaskSetsCommand.ts index 2087ba458bd3..97885c31ede6 100644 --- a/clients/client-ecs/src/commands/DescribeTaskSetsCommand.ts +++ b/clients/client-ecs/src/commands/DescribeTaskSetsCommand.ts @@ -144,6 +144,16 @@ export interface DescribeTaskSetsCommandOutput extends DescribeTaskSetsResponse, *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/DescribeTasksCommand.ts b/clients/client-ecs/src/commands/DescribeTasksCommand.ts index 9f29e17c8fc2..17384f39ecd1 100644 --- a/clients/client-ecs/src/commands/DescribeTasksCommand.ts +++ b/clients/client-ecs/src/commands/DescribeTasksCommand.ts @@ -234,6 +234,16 @@ export interface DescribeTasksCommandOutput extends DescribeTasksResponse, __Met *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/DiscoverPollEndpointCommand.ts b/clients/client-ecs/src/commands/DiscoverPollEndpointCommand.ts index c5746b954abc..6f7864e9d84b 100644 --- a/clients/client-ecs/src/commands/DiscoverPollEndpointCommand.ts +++ b/clients/client-ecs/src/commands/DiscoverPollEndpointCommand.ts @@ -62,6 +62,16 @@ export interface DiscoverPollEndpointCommandOutput extends DiscoverPollEndpointR *

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 ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/ExecuteCommandCommand.ts b/clients/client-ecs/src/commands/ExecuteCommandCommand.ts index f5129bfe9757..71bea0bfead7 100644 --- a/clients/client-ecs/src/commands/ExecuteCommandCommand.ts +++ b/clients/client-ecs/src/commands/ExecuteCommandCommand.ts @@ -83,6 +83,16 @@ export interface ExecuteCommandCommandOutput extends ExecuteCommandResponse, __M *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/GetTaskProtectionCommand.ts b/clients/client-ecs/src/commands/GetTaskProtectionCommand.ts index 6364fda83f78..2e993c5f38fa 100644 --- a/clients/client-ecs/src/commands/GetTaskProtectionCommand.ts +++ b/clients/client-ecs/src/commands/GetTaskProtectionCommand.ts @@ -75,6 +75,16 @@ export interface GetTaskProtectionCommandOutput extends GetTaskProtectionRespons *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/ListAccountSettingsCommand.ts b/clients/client-ecs/src/commands/ListAccountSettingsCommand.ts index 5f975af4992d..682fe29c60f1 100644 --- a/clients/client-ecs/src/commands/ListAccountSettingsCommand.ts +++ b/clients/client-ecs/src/commands/ListAccountSettingsCommand.ts @@ -69,6 +69,16 @@ export interface ListAccountSettingsCommandOutput extends ListAccountSettingsRes *

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 diff --git a/clients/client-ecs/src/commands/ListClustersCommand.ts b/clients/client-ecs/src/commands/ListClustersCommand.ts index d10e4d15c706..4e09360d53d3 100644 --- a/clients/client-ecs/src/commands/ListClustersCommand.ts +++ b/clients/client-ecs/src/commands/ListClustersCommand.ts @@ -60,6 +60,16 @@ export interface ListClustersCommandOutput extends ListClustersResponse, __Metad *

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 diff --git a/clients/client-ecs/src/commands/ListContainerInstancesCommand.ts b/clients/client-ecs/src/commands/ListContainerInstancesCommand.ts index fdd113d2a2fc..837a7433d1ea 100644 --- a/clients/client-ecs/src/commands/ListContainerInstancesCommand.ts +++ b/clients/client-ecs/src/commands/ListContainerInstancesCommand.ts @@ -65,6 +65,16 @@ export interface ListContainerInstancesCommandOutput extends ListContainerInstan *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/ListServicesByNamespaceCommand.ts b/clients/client-ecs/src/commands/ListServicesByNamespaceCommand.ts index d2e3290e9b3c..3554f36f3333 100644 --- a/clients/client-ecs/src/commands/ListServicesByNamespaceCommand.ts +++ b/clients/client-ecs/src/commands/ListServicesByNamespaceCommand.ts @@ -65,6 +65,16 @@ export interface ListServicesByNamespaceCommandOutput extends ListServicesByName *

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 diff --git a/clients/client-ecs/src/commands/ListServicesCommand.ts b/clients/client-ecs/src/commands/ListServicesCommand.ts index 1b06362de3f2..994d47829991 100644 --- a/clients/client-ecs/src/commands/ListServicesCommand.ts +++ b/clients/client-ecs/src/commands/ListServicesCommand.ts @@ -64,6 +64,16 @@ export interface ListServicesCommandOutput extends ListServicesResponse, __Metad *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/ListTagsForResourceCommand.ts b/clients/client-ecs/src/commands/ListTagsForResourceCommand.ts index 6baf7dbf9e1e..0c552979b27a 100644 --- a/clients/client-ecs/src/commands/ListTagsForResourceCommand.ts +++ b/clients/client-ecs/src/commands/ListTagsForResourceCommand.ts @@ -61,6 +61,16 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/ListTaskDefinitionFamiliesCommand.ts b/clients/client-ecs/src/commands/ListTaskDefinitionFamiliesCommand.ts index 856671757f1b..ae5ba9f9fadd 100644 --- a/clients/client-ecs/src/commands/ListTaskDefinitionFamiliesCommand.ts +++ b/clients/client-ecs/src/commands/ListTaskDefinitionFamiliesCommand.ts @@ -68,6 +68,16 @@ export interface ListTaskDefinitionFamiliesCommandOutput extends ListTaskDefinit *

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 diff --git a/clients/client-ecs/src/commands/ListTaskDefinitionsCommand.ts b/clients/client-ecs/src/commands/ListTaskDefinitionsCommand.ts index 0b56a4f0174a..b4ebb02b5357 100644 --- a/clients/client-ecs/src/commands/ListTaskDefinitionsCommand.ts +++ b/clients/client-ecs/src/commands/ListTaskDefinitionsCommand.ts @@ -65,6 +65,16 @@ export interface ListTaskDefinitionsCommandOutput extends ListTaskDefinitionsRes *

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 diff --git a/clients/client-ecs/src/commands/ListTasksCommand.ts b/clients/client-ecs/src/commands/ListTasksCommand.ts index 63cd9b3731ad..164c24934301 100644 --- a/clients/client-ecs/src/commands/ListTasksCommand.ts +++ b/clients/client-ecs/src/commands/ListTasksCommand.ts @@ -70,6 +70,16 @@ export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBea *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/PutAccountSettingCommand.ts b/clients/client-ecs/src/commands/PutAccountSettingCommand.ts index 370246ac3dca..97d4729d53e0 100644 --- a/clients/client-ecs/src/commands/PutAccountSettingCommand.ts +++ b/clients/client-ecs/src/commands/PutAccountSettingCommand.ts @@ -67,6 +67,16 @@ export interface PutAccountSettingCommandOutput extends PutAccountSettingRespons *

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 diff --git a/clients/client-ecs/src/commands/PutAccountSettingDefaultCommand.ts b/clients/client-ecs/src/commands/PutAccountSettingDefaultCommand.ts index 250918126c6e..081605d863b7 100644 --- a/clients/client-ecs/src/commands/PutAccountSettingDefaultCommand.ts +++ b/clients/client-ecs/src/commands/PutAccountSettingDefaultCommand.ts @@ -63,6 +63,16 @@ export interface PutAccountSettingDefaultCommandOutput extends PutAccountSetting *

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 diff --git a/clients/client-ecs/src/commands/PutAttributesCommand.ts b/clients/client-ecs/src/commands/PutAttributesCommand.ts index 185532518e61..97e7086e9d85 100644 --- a/clients/client-ecs/src/commands/PutAttributesCommand.ts +++ b/clients/client-ecs/src/commands/PutAttributesCommand.ts @@ -84,8 +84,8 @@ export interface PutAttributesCommandOutput extends PutAttributesResponse, __Met * * @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 Region-specific.

+ * with ListContainerInstances. Amazon ECS container instances 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/PutClusterCapacityProvidersCommand.ts b/clients/client-ecs/src/commands/PutClusterCapacityProvidersCommand.ts index 662f2ffd9205..6540eba5601f 100644 --- a/clients/client-ecs/src/commands/PutClusterCapacityProvidersCommand.ts +++ b/clients/client-ecs/src/commands/PutClusterCapacityProvidersCommand.ts @@ -151,6 +151,16 @@ export interface PutClusterCapacityProvidersCommandOutput *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/RegisterContainerInstanceCommand.ts b/clients/client-ecs/src/commands/RegisterContainerInstanceCommand.ts index 30fad1007bde..7b37ae5a481c 100644 --- a/clients/client-ecs/src/commands/RegisterContainerInstanceCommand.ts +++ b/clients/client-ecs/src/commands/RegisterContainerInstanceCommand.ts @@ -179,6 +179,16 @@ export interface RegisterContainerInstanceCommandOutput extends RegisterContaine *

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 diff --git a/clients/client-ecs/src/commands/RegisterTaskDefinitionCommand.ts b/clients/client-ecs/src/commands/RegisterTaskDefinitionCommand.ts index ec0950a4ca30..74ad0dd4d959 100644 --- a/clients/client-ecs/src/commands/RegisterTaskDefinitionCommand.ts +++ b/clients/client-ecs/src/commands/RegisterTaskDefinitionCommand.ts @@ -39,9 +39,7 @@ export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinit * 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. The available network modes correspond to - * those described in Network - * settings in the Docker run reference. If you specify the awsvpc + * 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 @@ -81,6 +79,13 @@ export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinit * }, * ], * essential: true || false, + * restartPolicy: { // ContainerRestartPolicy + * enabled: true || false, // required + * ignoredExitCodes: [ // IntegerList + * Number("int"), + * ], + * restartAttemptPeriod: Number("int"), + * }, * entryPoint: [ * "STRING_VALUE", * ], @@ -333,6 +338,13 @@ export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinit * // }, * // ], * // essential: true || false, + * // restartPolicy: { // ContainerRestartPolicy + * // enabled: true || false, // required + * // ignoredExitCodes: [ // IntegerList + * // Number("int"), + * // ], + * // restartAttemptPeriod: Number("int"), + * // }, * // entryPoint: [ * // "STRING_VALUE", * // ], @@ -590,6 +602,16 @@ export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinit *

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 diff --git a/clients/client-ecs/src/commands/RunTaskCommand.ts b/clients/client-ecs/src/commands/RunTaskCommand.ts index 7b13358bbd45..e3d8270ccae8 100644 --- a/clients/client-ecs/src/commands/RunTaskCommand.ts +++ b/clients/client-ecs/src/commands/RunTaskCommand.ts @@ -386,6 +386,16 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/StartTaskCommand.ts b/clients/client-ecs/src/commands/StartTaskCommand.ts index eade8a0cd359..7d0794305f25 100644 --- a/clients/client-ecs/src/commands/StartTaskCommand.ts +++ b/clients/client-ecs/src/commands/StartTaskCommand.ts @@ -333,6 +333,16 @@ export interface StartTaskCommandOutput extends StartTaskResponse, __MetadataBea *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/StopTaskCommand.ts b/clients/client-ecs/src/commands/StopTaskCommand.ts index 5e1017155cc3..99ba27e5e055 100644 --- a/clients/client-ecs/src/commands/StopTaskCommand.ts +++ b/clients/client-ecs/src/commands/StopTaskCommand.ts @@ -35,8 +35,8 @@ export interface StopTaskCommandOutput extends StopTaskResponse, __MetadataBeare * 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 + *

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 @@ -232,6 +232,16 @@ export interface StopTaskCommandOutput extends StopTaskResponse, __MetadataBeare *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/SubmitAttachmentStateChangesCommand.ts b/clients/client-ecs/src/commands/SubmitAttachmentStateChangesCommand.ts index af515fe7334e..ac0e4ab0d15b 100644 --- a/clients/client-ecs/src/commands/SubmitAttachmentStateChangesCommand.ts +++ b/clients/client-ecs/src/commands/SubmitAttachmentStateChangesCommand.ts @@ -73,6 +73,16 @@ export interface SubmitAttachmentStateChangesCommandOutput *

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 diff --git a/clients/client-ecs/src/commands/SubmitContainerStateChangeCommand.ts b/clients/client-ecs/src/commands/SubmitContainerStateChangeCommand.ts index 84f76366bdd8..965c08044c56 100644 --- a/clients/client-ecs/src/commands/SubmitContainerStateChangeCommand.ts +++ b/clients/client-ecs/src/commands/SubmitContainerStateChangeCommand.ts @@ -78,6 +78,16 @@ export interface SubmitContainerStateChangeCommandOutput extends SubmitContainer *

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 ServerException} (server fault) *

These errors are usually caused by a server issue.

diff --git a/clients/client-ecs/src/commands/SubmitTaskStateChangeCommand.ts b/clients/client-ecs/src/commands/SubmitTaskStateChangeCommand.ts index 679ea2e6fa66..5659834cefc5 100644 --- a/clients/client-ecs/src/commands/SubmitTaskStateChangeCommand.ts +++ b/clients/client-ecs/src/commands/SubmitTaskStateChangeCommand.ts @@ -102,6 +102,16 @@ export interface SubmitTaskStateChangeCommandOutput extends SubmitTaskStateChang *

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 diff --git a/clients/client-ecs/src/commands/TagResourceCommand.ts b/clients/client-ecs/src/commands/TagResourceCommand.ts index 5aaf38df237e..c478cd833d67 100644 --- a/clients/client-ecs/src/commands/TagResourceCommand.ts +++ b/clients/client-ecs/src/commands/TagResourceCommand.ts @@ -63,6 +63,16 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/UntagResourceCommand.ts b/clients/client-ecs/src/commands/UntagResourceCommand.ts index 7bc1903ca6d7..44ca0c7f9a0e 100644 --- a/clients/client-ecs/src/commands/UntagResourceCommand.ts +++ b/clients/client-ecs/src/commands/UntagResourceCommand.ts @@ -57,6 +57,16 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/UpdateCapacityProviderCommand.ts b/clients/client-ecs/src/commands/UpdateCapacityProviderCommand.ts index 1942e3590578..9fa1ee5f05b8 100644 --- a/clients/client-ecs/src/commands/UpdateCapacityProviderCommand.ts +++ b/clients/client-ecs/src/commands/UpdateCapacityProviderCommand.ts @@ -91,6 +91,16 @@ export interface UpdateCapacityProviderCommandOutput extends UpdateCapacityProvi *

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 diff --git a/clients/client-ecs/src/commands/UpdateClusterCommand.ts b/clients/client-ecs/src/commands/UpdateClusterCommand.ts index 4e107e51c41f..3f164d0118b2 100644 --- a/clients/client-ecs/src/commands/UpdateClusterCommand.ts +++ b/clients/client-ecs/src/commands/UpdateClusterCommand.ts @@ -152,6 +152,16 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/UpdateClusterSettingsCommand.ts b/clients/client-ecs/src/commands/UpdateClusterSettingsCommand.ts index 757d8f343265..4fdf0630a742 100644 --- a/clients/client-ecs/src/commands/UpdateClusterSettingsCommand.ts +++ b/clients/client-ecs/src/commands/UpdateClusterSettingsCommand.ts @@ -132,6 +132,16 @@ export interface UpdateClusterSettingsCommandOutput extends UpdateClusterSetting *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/UpdateContainerAgentCommand.ts b/clients/client-ecs/src/commands/UpdateContainerAgentCommand.ts index 86d94a569c59..c9cb8adfb9d0 100644 --- a/clients/client-ecs/src/commands/UpdateContainerAgentCommand.ts +++ b/clients/client-ecs/src/commands/UpdateContainerAgentCommand.ts @@ -154,6 +154,16 @@ export interface UpdateContainerAgentCommandOutput extends UpdateContainerAgentR *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/UpdateContainerInstancesStateCommand.ts b/clients/client-ecs/src/commands/UpdateContainerInstancesStateCommand.ts index f2538565f3f9..52ba5580c629 100644 --- a/clients/client-ecs/src/commands/UpdateContainerInstancesStateCommand.ts +++ b/clients/client-ecs/src/commands/UpdateContainerInstancesStateCommand.ts @@ -78,7 +78,7 @@ export interface UpdateContainerInstancesStateCommandOutput *

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.

+ * 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.

@@ -201,6 +201,16 @@ export interface UpdateContainerInstancesStateCommandOutput *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/UpdateServiceCommand.ts b/clients/client-ecs/src/commands/UpdateServiceCommand.ts index 28eaba8bdd3f..9416699a2241 100644 --- a/clients/client-ecs/src/commands/UpdateServiceCommand.ts +++ b/clients/client-ecs/src/commands/UpdateServiceCommand.ts @@ -602,6 +602,16 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/UpdateServicePrimaryTaskSetCommand.ts b/clients/client-ecs/src/commands/UpdateServicePrimaryTaskSetCommand.ts index 08e2de8a37fc..6794cba10a78 100644 --- a/clients/client-ecs/src/commands/UpdateServicePrimaryTaskSetCommand.ts +++ b/clients/client-ecs/src/commands/UpdateServicePrimaryTaskSetCommand.ts @@ -133,6 +133,16 @@ export interface UpdateServicePrimaryTaskSetCommandOutput *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/UpdateTaskProtectionCommand.ts b/clients/client-ecs/src/commands/UpdateTaskProtectionCommand.ts index 2236b11f9df8..8c8af456b1ce 100644 --- a/clients/client-ecs/src/commands/UpdateTaskProtectionCommand.ts +++ b/clients/client-ecs/src/commands/UpdateTaskProtectionCommand.ts @@ -103,6 +103,16 @@ export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionR *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/commands/UpdateTaskSetCommand.ts b/clients/client-ecs/src/commands/UpdateTaskSetCommand.ts index a312a183d6ff..5dac762f1c12 100644 --- a/clients/client-ecs/src/commands/UpdateTaskSetCommand.ts +++ b/clients/client-ecs/src/commands/UpdateTaskSetCommand.ts @@ -6,7 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateTaskSetRequest, UpdateTaskSetResponse } from "../models/models_0"; +import { UpdateTaskSetRequest } from "../models/models_0"; +import { UpdateTaskSetResponse } from "../models/models_1"; import { de_UpdateTaskSetCommand, se_UpdateTaskSetCommand } from "../protocols/Aws_json1_1"; /** @@ -133,6 +134,16 @@ export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __Met *

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 ClusterNotFoundException} (client fault) *

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

diff --git a/clients/client-ecs/src/models/index.ts b/clients/client-ecs/src/models/index.ts index 9eaceb12865f..1657800f73ce 100644 --- a/clients/client-ecs/src/models/index.ts +++ b/clients/client-ecs/src/models/index.ts @@ -1,2 +1,3 @@ // smithy-typescript generated code export * from "./models_0"; +export * from "./models_1"; diff --git a/clients/client-ecs/src/models/models_0.ts b/clients/client-ecs/src/models/models_0.ts index ecd0c438903a..d59c3f8d774b 100644 --- a/clients/client-ecs/src/models/models_0.ts +++ b/clients/client-ecs/src/models/models_0.ts @@ -45,6 +45,16 @@ export type AgentUpdateStatus = (typeof AgentUpdateStatus)[keyof typeof AgentUpd *

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 */ export class ClientException extends __BaseException { @@ -707,12 +717,11 @@ export interface ClusterConfiguration { * FARGATE_SPOT capacity providers. The Fargate capacity providers are * available to all accounts and only need to be associated with a cluster to be used in a * capacity provider strategy.

- *

With FARGATE_SPOT, you can run interruption - * tolerant tasks at a rate that's discounted compared to the FARGATE price. - * FARGATE_SPOT runs tasks on spare compute capacity. When Amazon Web Services needs the - * capacity back, your tasks are interrupted with a two-minute warning. - * FARGATE_SPOT only supports Linux tasks with the X86_64 architecture on - * platform version 1.3.0 or later.

+ *

With FARGATE_SPOT, you can run interruption tolerant tasks at a rate + * that's discounted compared to the FARGATE price. FARGATE_SPOT + * runs tasks on spare compute capacity. When Amazon Web Services needs the capacity back, your tasks are + * interrupted with a two-minute warning. FARGATE_SPOT only supports Linux + * tasks with the X86_64 architecture on platform version 1.3.0 or later.

*

A capacity provider strategy may contain a maximum of 6 capacity providers.

* @public */ @@ -1477,15 +1486,13 @@ export interface DeploymentConfiguration { * the task towards the minimum healthy percent total.

* * - *

The default value for a replica service for - * minimumHealthyPercent is 100%. The default - * minimumHealthyPercent value for a service using - * the DAEMON service schedule is 0% for the CLI, - * the Amazon Web Services SDKs, and the APIs and 50% for the Amazon Web Services Management Console.

+ *

The default value for a replica service for minimumHealthyPercent is + * 100%. The default minimumHealthyPercent value for a service using the + * DAEMON service schedule is 0% for the CLI, the Amazon Web Services SDKs, and the + * APIs and 50% for the Amazon Web Services Management Console.

*

The minimum number of healthy tasks during a deployment is the - * desiredCount multiplied by the - * minimumHealthyPercent/100, rounded up to the - * nearest integer value.

+ * desiredCount multiplied by the minimumHealthyPercent/100, + * rounded up to the nearest integer value.

*

If a service is using either the blue/green (CODE_DEPLOY) or * EXTERNAL deployment types and is running tasks that use the * EC2 launch type, the minimum healthy @@ -1651,8 +1658,7 @@ export type AssignPublicIp = (typeof AssignPublicIp)[keyof typeof AssignPublicIp /** *

An object representing the networking details for a task or service. For example - * awsvpcConfiguration=\{subnets=["subnet-12344321"],securityGroups=["sg-12344321"]\} - *

+ * awsVpcConfiguration=\{subnets=["subnet-12344321"],securityGroups=["sg-12344321"]\}.

* @public */ export interface AwsVpcConfiguration { @@ -1883,16 +1889,12 @@ export interface Secret { /** *

The log configuration for the container. This parameter maps to LogConfig - * in the Create a container section of the Docker Remote API and the - * --log-driver option to - * docker - * run - * .

+ * in the docker create-container command and the + * --log-driver option to docker + * run.

*

By default, containers use the same logging driver that the Docker daemon uses. * However, the container might use a different logging driver than the Docker daemon by - * specifying a log driver configuration in the container definition. For more information - * about the options for different supported log drivers, see Configure logging - * drivers in the Docker documentation.

+ * specifying a log driver configuration in the container definition.

*

Understand the following when specifying a log configuration for your * containers.

*