diff --git a/clients/client-ecs/package.json b/clients/client-ecs/package.json index 1dfcb9a4ef88..9961c8c492e1 100644 --- a/clients/client-ecs/package.json +++ b/clients/client-ecs/package.json @@ -58,12 +58,14 @@ "@smithy/util-retry": "^2.0.5", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.12", - "tslib": "^2.5.0" + "tslib": "^2.5.0", + "uuid": "^8.3.2" }, "devDependencies": { "@smithy/service-client-documentation-generator": "^2.0.0", "@tsconfig/node14": "1.0.3", "@types/node": "^14.14.31", + "@types/uuid": "^8.3.0", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/clients/client-ecs/src/commands/CreateCapacityProviderCommand.ts b/clients/client-ecs/src/commands/CreateCapacityProviderCommand.ts index f2a5caff2e86..f9533246cfcd 100644 --- a/clients/client-ecs/src/commands/CreateCapacityProviderCommand.ts +++ b/clients/client-ecs/src/commands/CreateCapacityProviderCommand.ts @@ -110,7 +110,7 @@ export interface CreateCapacityProviderCommandOutput extends CreateCapacityProvi * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 629bdac3293f..bfec0c647668 100644 --- a/clients/client-ecs/src/commands/CreateClusterCommand.ts +++ b/clients/client-ecs/src/commands/CreateClusterCommand.ts @@ -178,7 +178,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 e249031eef28..33c9640a6438 100644 --- a/clients/client-ecs/src/commands/CreateServiceCommand.ts +++ b/clients/client-ecs/src/commands/CreateServiceCommand.ts @@ -487,7 +487,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 0e761985ae57..7485bffc2d3a 100644 --- a/clients/client-ecs/src/commands/CreateTaskSetCommand.ts +++ b/clients/client-ecs/src/commands/CreateTaskSetCommand.ts @@ -183,7 +183,7 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __Met * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 1c77f5059fb0..6aae63dc9183 100644 --- a/clients/client-ecs/src/commands/DeleteAccountSettingCommand.ts +++ b/clients/client-ecs/src/commands/DeleteAccountSettingCommand.ts @@ -70,7 +70,7 @@ export interface DeleteAccountSettingCommandOutput extends DeleteAccountSettingR * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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/DeleteCapacityProviderCommand.ts b/clients/client-ecs/src/commands/DeleteCapacityProviderCommand.ts index bcd5c17c519d..f07abea19e83 100644 --- a/clients/client-ecs/src/commands/DeleteCapacityProviderCommand.ts +++ b/clients/client-ecs/src/commands/DeleteCapacityProviderCommand.ts @@ -101,7 +101,7 @@ export interface DeleteCapacityProviderCommandOutput extends DeleteCapacityProvi * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 83631b091711..b479768d8dec 100644 --- a/clients/client-ecs/src/commands/DeleteClusterCommand.ts +++ b/clients/client-ecs/src/commands/DeleteClusterCommand.ts @@ -135,7 +135,7 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 2bc3bba05914..181a9246f02c 100644 --- a/clients/client-ecs/src/commands/DeleteServiceCommand.ts +++ b/clients/client-ecs/src/commands/DeleteServiceCommand.ts @@ -316,7 +316,7 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 8a5b2be982c5..7ffc2761c15a 100644 --- a/clients/client-ecs/src/commands/DeleteTaskDefinitionsCommand.ts +++ b/clients/client-ecs/src/commands/DeleteTaskDefinitionsCommand.ts @@ -353,7 +353,7 @@ export interface DeleteTaskDefinitionsCommandOutput extends DeleteTaskDefinition * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 27545342c566..0a465bf7a06a 100644 --- a/clients/client-ecs/src/commands/DeleteTaskSetCommand.ts +++ b/clients/client-ecs/src/commands/DeleteTaskSetCommand.ts @@ -134,7 +134,7 @@ export interface DeleteTaskSetCommandOutput extends DeleteTaskSetResponse, __Met * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 fdf837588db5..87a6490b3dfe 100644 --- a/clients/client-ecs/src/commands/DeregisterContainerInstanceCommand.ts +++ b/clients/client-ecs/src/commands/DeregisterContainerInstanceCommand.ts @@ -160,7 +160,7 @@ export interface DeregisterContainerInstanceCommandOutput * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 fbf4ab124456..dec61eff7ad8 100644 --- a/clients/client-ecs/src/commands/DeregisterTaskDefinitionCommand.ts +++ b/clients/client-ecs/src/commands/DeregisterTaskDefinitionCommand.ts @@ -342,7 +342,7 @@ export interface DeregisterTaskDefinitionCommandOutput extends DeregisterTaskDef * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 70b64a4445b9..eedad881a1d3 100644 --- a/clients/client-ecs/src/commands/DescribeCapacityProvidersCommand.ts +++ b/clients/client-ecs/src/commands/DescribeCapacityProvidersCommand.ts @@ -104,7 +104,7 @@ export interface DescribeCapacityProvidersCommandOutput extends DescribeCapacity * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 27bcbe1ca266..5fafb3fa7312 100644 --- a/clients/client-ecs/src/commands/DescribeClustersCommand.ts +++ b/clients/client-ecs/src/commands/DescribeClustersCommand.ts @@ -144,7 +144,7 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse, * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 d0114be8c6ad..18adcba939d5 100644 --- a/clients/client-ecs/src/commands/DescribeContainerInstancesCommand.ts +++ b/clients/client-ecs/src/commands/DescribeContainerInstancesCommand.ts @@ -159,7 +159,7 @@ export interface DescribeContainerInstancesCommandOutput extends DescribeContain * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 8ee0c6005953..0d5b002f6a94 100644 --- a/clients/client-ecs/src/commands/DescribeServicesCommand.ts +++ b/clients/client-ecs/src/commands/DescribeServicesCommand.ts @@ -309,7 +309,7 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse, * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 5e6939d16359..4b44b9c326ea 100644 --- a/clients/client-ecs/src/commands/DescribeTaskDefinitionCommand.ts +++ b/clients/client-ecs/src/commands/DescribeTaskDefinitionCommand.ts @@ -341,7 +341,7 @@ export interface DescribeTaskDefinitionCommandOutput extends DescribeTaskDefinit * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 f9e167524724..aee631466bbb 100644 --- a/clients/client-ecs/src/commands/DescribeTaskSetsCommand.ts +++ b/clients/client-ecs/src/commands/DescribeTaskSetsCommand.ts @@ -149,7 +149,7 @@ export interface DescribeTaskSetsCommandOutput extends DescribeTaskSetsResponse, * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 69c3d01c982d..67ae78d769f3 100644 --- a/clients/client-ecs/src/commands/DescribeTasksCommand.ts +++ b/clients/client-ecs/src/commands/DescribeTasksCommand.ts @@ -238,7 +238,7 @@ export interface DescribeTasksCommandOutput extends DescribeTasksResponse, __Met * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 ac54bbefb473..20bd268b793f 100644 --- a/clients/client-ecs/src/commands/DiscoverPollEndpointCommand.ts +++ b/clients/client-ecs/src/commands/DiscoverPollEndpointCommand.ts @@ -70,7 +70,7 @@ export interface DiscoverPollEndpointCommandOutput extends DiscoverPollEndpointR * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 c9f0d7baa55b..fc015e1556b4 100644 --- a/clients/client-ecs/src/commands/ExecuteCommandCommand.ts +++ b/clients/client-ecs/src/commands/ExecuteCommandCommand.ts @@ -90,7 +90,7 @@ export interface ExecuteCommandCommandOutput extends ExecuteCommandResponse, __M * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 5d67bddb29bd..40ad8ba03e87 100644 --- a/clients/client-ecs/src/commands/GetTaskProtectionCommand.ts +++ b/clients/client-ecs/src/commands/GetTaskProtectionCommand.ts @@ -83,7 +83,7 @@ export interface GetTaskProtectionCommandOutput extends GetTaskProtectionRespons * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 bde6df83198c..143e1b7dd70c 100644 --- a/clients/client-ecs/src/commands/ListAccountSettingsCommand.ts +++ b/clients/client-ecs/src/commands/ListAccountSettingsCommand.ts @@ -76,7 +76,7 @@ export interface ListAccountSettingsCommandOutput extends ListAccountSettingsRes * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 18c8d7a8dd14..79e8232c113e 100644 --- a/clients/client-ecs/src/commands/ListClustersCommand.ts +++ b/clients/client-ecs/src/commands/ListClustersCommand.ts @@ -68,7 +68,7 @@ export interface ListClustersCommandOutput extends ListClustersResponse, __Metad * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 7a7ce0de6abe..ef5c1e319df0 100644 --- a/clients/client-ecs/src/commands/ListContainerInstancesCommand.ts +++ b/clients/client-ecs/src/commands/ListContainerInstancesCommand.ts @@ -73,7 +73,7 @@ export interface ListContainerInstancesCommandOutput extends ListContainerInstan * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 7e3e591a0809..6c514f56fe64 100644 --- a/clients/client-ecs/src/commands/ListServicesByNamespaceCommand.ts +++ b/clients/client-ecs/src/commands/ListServicesByNamespaceCommand.ts @@ -73,7 +73,7 @@ export interface ListServicesByNamespaceCommandOutput extends ListServicesByName * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 858a4d31e9dd..32087fa7a541 100644 --- a/clients/client-ecs/src/commands/ListServicesCommand.ts +++ b/clients/client-ecs/src/commands/ListServicesCommand.ts @@ -72,7 +72,7 @@ export interface ListServicesCommandOutput extends ListServicesResponse, __Metad * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 394f4593071a..9f401b78ab28 100644 --- a/clients/client-ecs/src/commands/ListTagsForResourceCommand.ts +++ b/clients/client-ecs/src/commands/ListTagsForResourceCommand.ts @@ -69,7 +69,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 69cdd2648a1f..bb71bd32001c 100644 --- a/clients/client-ecs/src/commands/ListTaskDefinitionFamiliesCommand.ts +++ b/clients/client-ecs/src/commands/ListTaskDefinitionFamiliesCommand.ts @@ -76,7 +76,7 @@ export interface ListTaskDefinitionFamiliesCommandOutput extends ListTaskDefinit * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 8ad279944005..586fd66745dd 100644 --- a/clients/client-ecs/src/commands/ListTaskDefinitionsCommand.ts +++ b/clients/client-ecs/src/commands/ListTaskDefinitionsCommand.ts @@ -73,7 +73,7 @@ export interface ListTaskDefinitionsCommandOutput extends ListTaskDefinitionsRes * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 000cc37894e4..a0d9b4782ec1 100644 --- a/clients/client-ecs/src/commands/ListTasksCommand.ts +++ b/clients/client-ecs/src/commands/ListTasksCommand.ts @@ -78,7 +78,7 @@ export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBea * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 e087b2b89d8e..253c36885b78 100644 --- a/clients/client-ecs/src/commands/PutAccountSettingCommand.ts +++ b/clients/client-ecs/src/commands/PutAccountSettingCommand.ts @@ -106,7 +106,7 @@ export interface PutAccountSettingCommandOutput extends PutAccountSettingRespons * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 378e5c0218ed..9697407ccd52 100644 --- a/clients/client-ecs/src/commands/PutAccountSettingDefaultCommand.ts +++ b/clients/client-ecs/src/commands/PutAccountSettingDefaultCommand.ts @@ -71,7 +71,7 @@ export interface PutAccountSettingDefaultCommandOutput extends PutAccountSetting * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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/PutClusterCapacityProvidersCommand.ts b/clients/client-ecs/src/commands/PutClusterCapacityProvidersCommand.ts index f135ddc176c1..8a64acd60abe 100644 --- a/clients/client-ecs/src/commands/PutClusterCapacityProvidersCommand.ts +++ b/clients/client-ecs/src/commands/PutClusterCapacityProvidersCommand.ts @@ -155,7 +155,7 @@ export interface PutClusterCapacityProvidersCommandOutput * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 941ed67de172..e010fcd70942 100644 --- a/clients/client-ecs/src/commands/RegisterContainerInstanceCommand.ts +++ b/clients/client-ecs/src/commands/RegisterContainerInstanceCommand.ts @@ -187,7 +187,7 @@ export interface RegisterContainerInstanceCommandOutput extends RegisterContaine * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 c4abd5509e1f..4ea4df04b941 100644 --- a/clients/client-ecs/src/commands/RegisterTaskDefinitionCommand.ts +++ b/clients/client-ecs/src/commands/RegisterTaskDefinitionCommand.ts @@ -596,7 +596,7 @@ export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinit * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 6e372960a205..8ec9ba39e811 100644 --- a/clients/client-ecs/src/commands/RunTaskCommand.ts +++ b/clients/client-ecs/src/commands/RunTaskCommand.ts @@ -166,6 +166,7 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer * }, * ], * taskDefinition: "STRING_VALUE", // required + * clientToken: "STRING_VALUE", * }; * const command = new RunTaskCommand(input); * const response = await client.send(command); @@ -355,11 +356,28 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 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
.
To fix this issue:
+ *Run RunTask
with a unique
+ * clientToken
.
Run RunTask
with the clientToken
and the original set of
+ * parameters
The specified parameter isn't valid. Review the available parameters for the API * request.
diff --git a/clients/client-ecs/src/commands/StartTaskCommand.ts b/clients/client-ecs/src/commands/StartTaskCommand.ts index 25b7e730a7fa..035c723955ca 100644 --- a/clients/client-ecs/src/commands/StartTaskCommand.ts +++ b/clients/client-ecs/src/commands/StartTaskCommand.ts @@ -303,7 +303,7 @@ export interface StartTaskCommandOutput extends StartTaskResponse, __MetadataBea * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 2aa50465a6ce..8d3af400540e 100644 --- a/clients/client-ecs/src/commands/StopTaskCommand.ts +++ b/clients/client-ecs/src/commands/StopTaskCommand.ts @@ -233,7 +233,7 @@ export interface StopTaskCommandOutput extends StopTaskResponse, __MetadataBeare * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 ae7e6dbc1fc2..aee30312bc90 100644 --- a/clients/client-ecs/src/commands/SubmitAttachmentStateChangesCommand.ts +++ b/clients/client-ecs/src/commands/SubmitAttachmentStateChangesCommand.ts @@ -81,7 +81,7 @@ export interface SubmitAttachmentStateChangesCommandOutput * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 bb613da595ca..efc7a0d893d7 100644 --- a/clients/client-ecs/src/commands/SubmitContainerStateChangeCommand.ts +++ b/clients/client-ecs/src/commands/SubmitContainerStateChangeCommand.ts @@ -86,7 +86,7 @@ export interface SubmitContainerStateChangeCommandOutput extends SubmitContainer * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 cc649d2a9ac9..aec540675ec1 100644 --- a/clients/client-ecs/src/commands/SubmitTaskStateChangeCommand.ts +++ b/clients/client-ecs/src/commands/SubmitTaskStateChangeCommand.ts @@ -110,7 +110,7 @@ export interface SubmitTaskStateChangeCommandOutput extends SubmitTaskStateChang * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 348c617feef2..c61a6e18f1d0 100644 --- a/clients/client-ecs/src/commands/TagResourceCommand.ts +++ b/clients/client-ecs/src/commands/TagResourceCommand.ts @@ -71,7 +71,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 9e98fe8fcf6e..053d2111d315 100644 --- a/clients/client-ecs/src/commands/UntagResourceCommand.ts +++ b/clients/client-ecs/src/commands/UntagResourceCommand.ts @@ -65,7 +65,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 5c0450c775ca..9f329c168c2d 100644 --- a/clients/client-ecs/src/commands/UpdateCapacityProviderCommand.ts +++ b/clients/client-ecs/src/commands/UpdateCapacityProviderCommand.ts @@ -97,7 +97,7 @@ export interface UpdateCapacityProviderCommandOutput extends UpdateCapacityProvi * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 b904473ebb2d..d4b8a068147a 100644 --- a/clients/client-ecs/src/commands/UpdateClusterCommand.ts +++ b/clients/client-ecs/src/commands/UpdateClusterCommand.ts @@ -152,7 +152,7 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 bc6d083fe1d1..53c4224ea81f 100644 --- a/clients/client-ecs/src/commands/UpdateClusterSettingsCommand.ts +++ b/clients/client-ecs/src/commands/UpdateClusterSettingsCommand.ts @@ -136,7 +136,7 @@ export interface UpdateClusterSettingsCommandOutput extends UpdateClusterSetting * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 6457197131e3..d4971b9bd66e 100644 --- a/clients/client-ecs/src/commands/UpdateContainerAgentCommand.ts +++ b/clients/client-ecs/src/commands/UpdateContainerAgentCommand.ts @@ -162,7 +162,7 @@ export interface UpdateContainerAgentCommandOutput extends UpdateContainerAgentR * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 a9d5496e1086..7600525cb80e 100644 --- a/clients/client-ecs/src/commands/UpdateContainerInstancesStateCommand.ts +++ b/clients/client-ecs/src/commands/UpdateContainerInstancesStateCommand.ts @@ -209,7 +209,7 @@ export interface UpdateContainerInstancesStateCommandOutput * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 141151333c54..327affdbd2b3 100644 --- a/clients/client-ecs/src/commands/UpdateServiceCommand.ts +++ b/clients/client-ecs/src/commands/UpdateServiceCommand.ts @@ -519,7 +519,7 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 d23bb88443e7..118d3d0975f9 100644 --- a/clients/client-ecs/src/commands/UpdateServicePrimaryTaskSetCommand.ts +++ b/clients/client-ecs/src/commands/UpdateServicePrimaryTaskSetCommand.ts @@ -138,7 +138,7 @@ export interface UpdateServicePrimaryTaskSetCommandOutput * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 1f9c2c09207c..b0eab1568cde 100644 --- a/clients/client-ecs/src/commands/UpdateTaskProtectionCommand.ts +++ b/clients/client-ecs/src/commands/UpdateTaskProtectionCommand.ts @@ -111,7 +111,7 @@ export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionR * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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 8f6b60fd0007..24a1f3561326 100644 --- a/clients/client-ecs/src/commands/UpdateTaskSetCommand.ts +++ b/clients/client-ecs/src/commands/UpdateTaskSetCommand.ts @@ -138,7 +138,7 @@ export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __Met * @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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. * * @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/models_0.ts b/clients/client-ecs/src/models/models_0.ts index c099f0c3eaa8..49001a05f960 100644 --- a/clients/client-ecs/src/models/models_0.ts +++ b/clients/client-ecs/src/models/models_0.ts @@ -45,7 +45,7 @@ export type AgentUpdateStatus = (typeof AgentUpdateStatus)[keyof typeof AgentUpd * @public *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.
+ * action or resource. Or, it might be specifying an identifier that isn't valid. */ export class ClientException extends __BaseException { readonly name: "ClientException" = "ClientException"; @@ -2219,7 +2219,7 @@ export interface CreateServiceRequest { /** * @public *An identifier that you provide to ensure the idempotency of the request. It must be - * unique and is case sensitive. Up to 32 ASCII characters are allowed.
+ * unique and is case sensitive. Up to 36 ASCII characters in the range of 33-126 (inclusive) are allowed. */ clientToken?: string; @@ -3458,8 +3458,8 @@ export interface CreateTaskSetRequest { /** * @public - *The identifier that you provide to ensure the idempotency of the request. It's case - * sensitive and must be unique. It can be up to 32 ASCII characters are allowed.
+ *An identifier that you provide to ensure the idempotency of the request. It must be + * unique and is case sensitive. Up to 36 ASCII characters in the range of 33-126 (inclusive) are allowed.
*/ clientToken?: string; @@ -4722,7 +4722,10 @@ export interface PortMapping { /** * @public *The protocol used for the port mapping. Valid values are tcp
and
- * udp
. The default is tcp
.
udp
. The default is tcp
. protocol
is immutable in a
+ * Service Connect service. Updating this field requires a service deletion and
+ * redeployment.
+ *
*/
protocol?: TransportProtocol;
@@ -4746,6 +4749,9 @@ export interface PortMapping {
* parameter, Amazon ECS adds protocol-specific telemetry in the Amazon ECS console and CloudWatch.
* If you don't set a value for this parameter, then TCP is used. However, Amazon ECS doesn't * add protocol-specific telemetry for TCP.
+ *
+ * appProtocol
is immutable in a Service Connect service. Updating this field
+ * requires a service deletion and redeployment.
Tasks that run in a namespace can use short names to connect * to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. * Tasks connect through a managed proxy container @@ -10503,6 +10509,47 @@ export class BlockedException extends __BaseException { } } +/** + * @public + *
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
.
To fix this issue:
+ *Run RunTask
with a unique
+ * clientToken
.
Run RunTask
with the clientToken
and the original set of
+ * parameters
The existing task ARNs which are already associated with the clientToken
.
An optional tag specified when a task is started. For example, if you automatically
- * trigger a task to run a batch process job, you could apply a unique identifier for that
- * job to your task with the startedBy
parameter. You can then identify which
- * tasks belong to that job by filtering the results of a ListTasks call
- * with the startedBy
value. Up to 36 letters (uppercase and lowercase),
- * numbers, hyphens (-), and underscores (_) are allowed.
An optional tag specified when a task is started. For example, if you automatically trigger
+ * a task to run a batch process job, you could apply a unique identifier for that job to
+ * your task with the startedBy
parameter. You can then identify which tasks
+ * belong to that job by filtering the results of a ListTasks call with
+ * the startedBy
value. Up to 128 letters (uppercase and lowercase), numbers,
+ * hyphens (-), and underscores (_) are allowed.
If a task is started by an Amazon ECS service, then the startedBy
parameter
* contains the deployment ID of the service that starts it.
For more information, see Policy Resources for Amazon ECS in the Amazon Elastic Container Service developer Guide.
*/ taskDefinition: string | undefined; + + /** + * @public + *An identifier that you provide to ensure the idempotency of the request. It must be unique + * and is case sensitive. Up to 64 characters are allowed. The valid characters are characters in the range of 33-126, inclusive. For more information, see + * Ensuring idempotency.
+ */ + clientToken?: string; } /** @@ -10732,6 +10787,7 @@ export interface RunTaskResponse { * @public *A full description of the tasks that were run. The tasks that were successfully placed * on your cluster are described here.
+ * */ tasks?: Task[]; diff --git a/clients/client-ecs/src/protocols/Aws_json1_1.ts b/clients/client-ecs/src/protocols/Aws_json1_1.ts index 79ebf55674d2..ce898904897d 100644 --- a/clients/client-ecs/src/protocols/Aws_json1_1.ts +++ b/clients/client-ecs/src/protocols/Aws_json1_1.ts @@ -22,6 +22,7 @@ import { ResponseMetadata as __ResponseMetadata, SerdeContext as __SerdeContext, } from "@smithy/types"; +import { v4 as generateIdempotencyToken } from "uuid"; import { CreateCapacityProviderCommandInput, @@ -188,6 +189,7 @@ import { ClusterServiceConnectDefaultsRequest, ClusterSetting, Compatibility, + ConflictException, Container, ContainerDefinition, ContainerDependency, @@ -879,7 +881,7 @@ export const se_RunTaskCommand = async ( ): Promise<__HttpRequest> => { const headers: __HeaderBag = sharedHeaders("RunTask"); let body: any; - body = JSON.stringify(_json(input)); + body = JSON.stringify(se_RunTaskRequest(input, context)); return buildHttpRpcRequest(context, headers, "/", undefined, body); }; @@ -3329,6 +3331,9 @@ const de_RunTaskCommandError = async ( case "ClusterNotFoundException": case "com.amazonaws.ecs#ClusterNotFoundException": throw await de_ClusterNotFoundExceptionRes(parsedOutput, context); + case "ConflictException": + case "com.amazonaws.ecs#ConflictException": + throw await de_ConflictExceptionRes(parsedOutput, context); case "InvalidParameterException": case "com.amazonaws.ecs#InvalidParameterException": throw await de_InvalidParameterExceptionRes(parsedOutput, context); @@ -4425,6 +4430,19 @@ const de_ClusterNotFoundExceptionRes = async ( return __decorateServiceException(exception, body); }; +/** + * deserializeAws_json1_1ConflictExceptionRes + */ +const de_ConflictExceptionRes = async (parsedOutput: any, context: __SerdeContext): PromiseThese errors are usually caused by a client action. This client action might be using\n\t\t\tan action or resource on behalf of a user that doesn't have permissions to use the\n\t\t\taction or resource,. Or, it might be specifying an identifier that isn't valid.
", + "smithy.api#documentation": "These errors are usually caused by a client action. This client action might be using\n\t\t\tan action or resource on behalf of a user that doesn't have permissions to use the\n\t\t\taction or resource. Or, it might be specifying an identifier that isn't valid.
", "smithy.api#error": "client" } }, @@ -2054,6 +2054,24 @@ "target": "com.amazonaws.ecs#Compatibility" } }, + "com.amazonaws.ecs#ConflictException": { + "type": "structure", + "members": { + "resourceIds": { + "target": "com.amazonaws.ecs#ResourceIds", + "traits": { + "smithy.api#documentation": "The existing task ARNs which are already associated with the clientToken
.
The RunTask
request could not be processed due to conflicts. The provided\n\t\t\t\tclientToken
is already in use with a different RunTask
\n\t\t\trequest. The resourceIds
are the existing task ARNs which are already\n\t\t\tassociated with the clientToken
.
To fix this issue:
\nRun RunTask
with a unique\n\t\t\t\tclientToken
.
Run RunTask
with the clientToken
and the original set of\n\t\t\t\t\tparameters
An identifier that you provide to ensure the idempotency of the request. It must be\n\t\t\tunique and is case sensitive. Up to 32 ASCII characters are allowed.
" + "smithy.api#documentation": "An identifier that you provide to ensure the idempotency of the request. It must be\n\t\t\tunique and is case sensitive. Up to 36 ASCII characters in the range of 33-126 (inclusive) are allowed.
" } }, "launchType": { @@ -3380,7 +3398,7 @@ "clientToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "The identifier that you provide to ensure the idempotency of the request. It's case\n\t\t\tsensitive and must be unique. It can be up to 32 ASCII characters are allowed.
" + "smithy.api#documentation": "An identifier that you provide to ensure the idempotency of the request. It must be\n\t\t\tunique and is case sensitive. Up to 36 ASCII characters in the range of 33-126 (inclusive) are allowed.
" } }, "tags": { @@ -4517,14 +4535,14 @@ "status": "ACTIVE", "registeredResources": [ { - "doubleValue": 0, + "doubleValue": 0.0, "type": "INTEGER", "longValue": 0, "integerValue": 2048, "name": "CPU" }, { - "doubleValue": 0, + "doubleValue": 0.0, "type": "INTEGER", "longValue": 0, "integerValue": 3768, @@ -4533,7 +4551,7 @@ { "name": "PORTS", "longValue": 0, - "doubleValue": 0, + "doubleValue": 0.0, "stringSetValue": ["2376", "22", "51678", "2375"], "type": "STRINGSET", "integerValue": 0 @@ -4545,14 +4563,14 @@ "pendingTasksCount": 0, "remainingResources": [ { - "doubleValue": 0, + "doubleValue": 0.0, "type": "INTEGER", "longValue": 0, "integerValue": 1948, "name": "CPU" }, { - "doubleValue": 0, + "doubleValue": 0.0, "type": "INTEGER", "longValue": 0, "integerValue": 3668, @@ -4561,7 +4579,7 @@ { "name": "PORTS", "longValue": 0, - "doubleValue": 0, + "doubleValue": 0.0, "stringSetValue": ["2376", "22", "80", "51678", "2375"], "type": "STRINGSET", "integerValue": 0 @@ -8127,7 +8145,7 @@ "protocol": { "target": "com.amazonaws.ecs#TransportProtocol", "traits": { - "smithy.api#documentation": "The protocol used for the port mapping. Valid values are tcp
and\n\t\t\t\tudp
. The default is tcp
.
The protocol used for the port mapping. Valid values are tcp
and\n\t\t\tudp
. The default is tcp
. protocol
is immutable in a \n\t\t\tService Connect service. Updating this field requires a service deletion and \n\t\t\tredeployment.\n\t\t
The application protocol that's used for the port mapping. This parameter only applies\n\t\t\tto Service Connect. We recommend that you set this parameter to be consistent with the\n\t\t\tprotocol that your application uses. If you set this parameter, Amazon ECS adds\n\t\t\tprotocol-specific connection handling to the Service Connect proxy. If you set this\n\t\t\tparameter, Amazon ECS adds protocol-specific telemetry in the Amazon ECS console and CloudWatch.
\nIf you don't set a value for this parameter, then TCP is used. However, Amazon ECS doesn't\n\t\t\tadd protocol-specific telemetry for TCP.
\nTasks that run in a namespace can use short names to connect\n\tto services in the namespace. Tasks can connect to services across all of the clusters in the namespace.\n\tTasks connect through a managed proxy container\n\tthat collects logs and metrics for increased visibility.\n\tOnly the tasks that Amazon ECS services create are supported with Service Connect.\n\tFor more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
" + "smithy.api#documentation": "The application protocol that's used for the port mapping. This parameter only applies\n\t\t\tto Service Connect. We recommend that you set this parameter to be consistent with the\n\t\t\tprotocol that your application uses. If you set this parameter, Amazon ECS adds\n\t\t\tprotocol-specific connection handling to the Service Connect proxy. If you set this\n\t\t\tparameter, Amazon ECS adds protocol-specific telemetry in the Amazon ECS console and CloudWatch.
\nIf you don't set a value for this parameter, then TCP is used. However, Amazon ECS doesn't\n\t\t\tadd protocol-specific telemetry for TCP.
\n\n appProtocol
is immutable in a Service Connect service. Updating this field \n\t\t\trequires a service deletion and redeployment.
Tasks that run in a namespace can use short names to connect\n\tto services in the namespace. Tasks can connect to services across all of the clusters in the namespace.\n\tTasks connect through a managed proxy container\n\tthat collects logs and metrics for increased visibility.\n\tOnly the tasks that Amazon ECS services create are supported with Service Connect.\n\tFor more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
" } }, "containerPortRange": { @@ -8927,6 +8945,12 @@ "smithy.api#documentation": "Describes the resources available for a container instance.
" } }, + "com.amazonaws.ecs#ResourceIds": { + "type": "list", + "member": { + "target": "com.amazonaws.ecs#String" + } + }, "com.amazonaws.ecs#ResourceInUseException": { "type": "structure", "members": { @@ -9023,6 +9047,9 @@ { "target": "com.amazonaws.ecs#ClusterNotFoundException" }, + { + "target": "com.amazonaws.ecs#ConflictException" + }, { "target": "com.amazonaws.ecs#InvalidParameterException" }, @@ -9171,7 +9198,7 @@ "startedBy": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "An optional tag specified when a task is started. For example, if you automatically\n\t\t\ttrigger a task to run a batch process job, you could apply a unique identifier for that\n\t\t\tjob to your task with the startedBy
parameter. You can then identify which\n\t\t\ttasks belong to that job by filtering the results of a ListTasks call\n\t\t\twith the startedBy
value. Up to 36 letters (uppercase and lowercase),\n\t\t\tnumbers, hyphens (-), and underscores (_) are allowed.
If a task is started by an Amazon ECS service, then the startedBy
parameter\n\t\t\tcontains the deployment ID of the service that starts it.
An optional tag specified when a task is started. For example, if you automatically trigger\n\t\t\ta task to run a batch process job, you could apply a unique identifier for that job to\n\t\t\tyour task with the startedBy
parameter. You can then identify which tasks\n\t\t\tbelong to that job by filtering the results of a ListTasks call with\n\t\t\tthe startedBy
value. Up to 128 letters (uppercase and lowercase), numbers,\n\t\t\thyphens (-), and underscores (_) are allowed.
If a task is started by an Amazon ECS service, then the startedBy
parameter\n\t\t\tcontains the deployment ID of the service that starts it.
The family
and revision
(family:revision
) or\n\t\t\tfull ARN of the task definition to run. If a revision
isn't specified,\n\t\t\tthe latest ACTIVE
revision is used.
When you create a policy for run-task, you can set the resource to be the latest\n\t\t\ttask definition revision, or a specific revision.
\nThe full ARN value must match the value that you specified as the\n\t\t\t\tResource
of the principal's permissions policy.
When you specify the policy resource as the latest task definition version (by setting\n\t\t\tthe Resource
in the policy to\n\t\t\t\tarn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName
),\n\t\t\tthen set this value to\n\t\t\t\tarn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName
.
When you specify the policy resource as a specific task definition version (by setting\n\t\t\tthe Resource
in the policy to\n\t\t\t\tarn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:1
or\n\t\t\t\tarn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*
),\n\t\t\tthen set this value to\n\t\t\t\tarn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:1
.
For more information, see Policy Resources for Amazon ECS in the Amazon Elastic Container Service developer Guide.
", "smithy.api#required": {} } + }, + "clientToken": { + "target": "com.amazonaws.ecs#String", + "traits": { + "smithy.api#documentation": "An identifier that you provide to ensure the idempotency of the request. It must be unique\n\t\t\tand is case sensitive. Up to 64 characters are allowed. The valid characters are characters in the range of 33-126, inclusive. For more information, see\n\t\t\t\tEnsuring idempotency.
", + "smithy.api#idempotencyToken": {} + } } }, "traits": { @@ -9198,7 +9232,7 @@ "tasks": { "target": "com.amazonaws.ecs#Tasks", "traits": { - "smithy.api#documentation": "A full description of the tasks that were run. The tasks that were successfully placed\n\t\t\ton your cluster are described here.
" + "smithy.api#documentation": "A full description of the tasks that were run. The tasks that were successfully placed\n\t\t\ton your cluster are described here.
\n " } }, "failures": {