@aws-sdk/client-ecs 3.289.0 → 3.290.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +23 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +13 -0
- package/dist-types/commands/CreateServiceCommand.d.ts +32 -0
- package/dist-types/commands/CreateTaskSetCommand.d.ts +40 -0
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +13 -0
- package/dist-types/commands/DeleteAttributesCommand.d.ts +13 -0
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +13 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +36 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +20 -0
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +16 -0
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +34 -0
- package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +16 -0
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +13 -0
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +13 -0
- package/dist-types/commands/DescribeClustersCommand.d.ts +13 -0
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeServicesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +13 -0
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +30 -0
- package/dist-types/commands/DescribeTasksCommand.d.ts +16 -0
- package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +9 -0
- package/dist-types/commands/ExecuteCommandCommand.d.ts +37 -0
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +25 -0
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +13 -0
- package/dist-types/commands/ListAttributesCommand.d.ts +8 -0
- package/dist-types/commands/ListClustersCommand.d.ts +13 -0
- package/dist-types/commands/ListContainerInstancesCommand.d.ts +16 -0
- package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +16 -0
- package/dist-types/commands/ListServicesCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +13 -0
- package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +13 -0
- package/dist-types/commands/ListTasksCommand.d.ts +20 -0
- package/dist-types/commands/PutAccountSettingCommand.d.ts +13 -0
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +13 -0
- package/dist-types/commands/PutAttributesCommand.d.ts +18 -0
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +26 -0
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +13 -0
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +13 -0
- package/dist-types/commands/RunTaskCommand.d.ts +33 -0
- package/dist-types/commands/StartTaskCommand.d.ts +16 -0
- package/dist-types/commands/StopTaskCommand.d.ts +16 -0
- package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +16 -0
- package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +12 -0
- package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +19 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +19 -0
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +13 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +16 -0
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +16 -0
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +34 -0
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +16 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +37 -0
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +34 -0
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +25 -0
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +34 -0
- package/package.json +30 -30
|
@@ -29,6 +29,31 @@ export interface GetTaskProtectionCommandOutput extends GetTaskProtectionRespons
|
|
|
29
29
|
* @see {@link GetTaskProtectionCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
33
|
+
* <p>You don't have authorization to perform the requested action.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link ClientException} (client fault)
|
|
36
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
37
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
38
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link ClusterNotFoundException} (client fault)
|
|
41
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
44
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
45
|
+
* request.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
48
|
+
* <p>The specified resource wasn't found.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link ServerException} (server fault)
|
|
51
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link UnsupportedFeatureException} (client fault)
|
|
54
|
+
* <p>The specified task isn't supported in this Region.</p>
|
|
55
|
+
*
|
|
56
|
+
*
|
|
32
57
|
* @example To get the protection status of a task
|
|
33
58
|
* ```javascript
|
|
34
59
|
* // In this example, we get the protection status for a single task.
|
|
@@ -29,6 +29,19 @@ export interface ListAccountSettingsCommandOutput extends ListAccountSettingsRes
|
|
|
29
29
|
* @see {@link ListAccountSettingsCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ClientException} (client fault)
|
|
33
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
34
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
35
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
38
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
39
|
+
* request.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link ServerException} (server fault)
|
|
42
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
43
|
+
*
|
|
44
|
+
*
|
|
32
45
|
* @example To view your effective account settings
|
|
33
46
|
* ```javascript
|
|
34
47
|
* // This example displays the effective account settings for your account.
|
|
@@ -35,6 +35,14 @@ export interface ListAttributesCommandOutput extends ListAttributesResponse, __M
|
|
|
35
35
|
* @see {@link ListAttributesCommandOutput} for command's `response` shape.
|
|
36
36
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
37
37
|
*
|
|
38
|
+
* @throws {@link ClusterNotFoundException} (client fault)
|
|
39
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
42
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
43
|
+
* request.</p>
|
|
44
|
+
*
|
|
45
|
+
*
|
|
38
46
|
*/
|
|
39
47
|
export declare class ListAttributesCommand extends $Command<ListAttributesCommandInput, ListAttributesCommandOutput, ECSClientResolvedConfig> {
|
|
40
48
|
readonly input: ListAttributesCommandInput;
|
|
@@ -29,6 +29,19 @@ export interface ListClustersCommandOutput extends ListClustersResponse, __Metad
|
|
|
29
29
|
* @see {@link ListClustersCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ClientException} (client fault)
|
|
33
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
34
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
35
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
38
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
39
|
+
* request.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link ServerException} (server fault)
|
|
42
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
43
|
+
*
|
|
44
|
+
*
|
|
32
45
|
* @example To list your available clusters
|
|
33
46
|
* ```javascript
|
|
34
47
|
* // This example lists all of your available clusters in your default region.
|
|
@@ -31,6 +31,22 @@ export interface ListContainerInstancesCommandOutput extends ListContainerInstan
|
|
|
31
31
|
* @see {@link ListContainerInstancesCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link ClientException} (client fault)
|
|
35
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
36
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
37
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link ClusterNotFoundException} (client fault)
|
|
40
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
43
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
44
|
+
* request.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link ServerException} (server fault)
|
|
47
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
48
|
+
*
|
|
49
|
+
*
|
|
34
50
|
* @example To list your available container instances in a cluster
|
|
35
51
|
* ```javascript
|
|
36
52
|
* // This example lists all of your available container instances in the specified cluster in your default region.
|
|
@@ -33,6 +33,22 @@ export interface ListServicesByNamespaceCommandOutput extends ListServicesByName
|
|
|
33
33
|
* @see {@link ListServicesByNamespaceCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link ClientException} (client fault)
|
|
37
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
38
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
39
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
42
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
43
|
+
* request.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link NamespaceNotFoundException} (client fault)
|
|
46
|
+
* <p>The specified namespace wasn't found.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link ServerException} (server fault)
|
|
49
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
50
|
+
*
|
|
51
|
+
*
|
|
36
52
|
*/
|
|
37
53
|
export declare class ListServicesByNamespaceCommand extends $Command<ListServicesByNamespaceCommandInput, ListServicesByNamespaceCommandOutput, ECSClientResolvedConfig> {
|
|
38
54
|
readonly input: ListServicesByNamespaceCommandInput;
|
|
@@ -30,6 +30,22 @@ export interface ListServicesCommandOutput extends ListServicesResponse, __Metad
|
|
|
30
30
|
* @see {@link ListServicesCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link ClientException} (client fault)
|
|
34
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
35
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
36
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ClusterNotFoundException} (client fault)
|
|
39
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
42
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
43
|
+
* request.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link ServerException} (server fault)
|
|
46
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
47
|
+
*
|
|
48
|
+
*
|
|
33
49
|
* @example To list the services in a cluster
|
|
34
50
|
* ```javascript
|
|
35
51
|
* // This example lists the services running in the default cluster for an account.
|
|
@@ -29,6 +29,22 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
29
29
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ClientException} (client fault)
|
|
33
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
34
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
35
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link ClusterNotFoundException} (client fault)
|
|
38
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
41
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
42
|
+
* request.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link ServerException} (server fault)
|
|
45
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
46
|
+
*
|
|
47
|
+
*
|
|
32
48
|
* @example To list the tags for a cluster.
|
|
33
49
|
* ```javascript
|
|
34
50
|
* // This example lists the tags for the 'dev' cluster.
|
|
@@ -35,6 +35,19 @@ export interface ListTaskDefinitionFamiliesCommandOutput extends ListTaskDefinit
|
|
|
35
35
|
* @see {@link ListTaskDefinitionFamiliesCommandOutput} for command's `response` shape.
|
|
36
36
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
37
37
|
*
|
|
38
|
+
* @throws {@link ClientException} (client fault)
|
|
39
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
40
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
41
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
44
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
45
|
+
* request.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ServerException} (server fault)
|
|
48
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
38
51
|
* @example To list your registered task definition families
|
|
39
52
|
* ```javascript
|
|
40
53
|
* // This example lists all of your registered task definition families.
|
|
@@ -31,6 +31,19 @@ export interface ListTaskDefinitionsCommandOutput extends ListTaskDefinitionsRes
|
|
|
31
31
|
* @see {@link ListTaskDefinitionsCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link ClientException} (client fault)
|
|
35
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
36
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
37
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
40
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
41
|
+
* request.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link ServerException} (server fault)
|
|
44
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
45
|
+
*
|
|
46
|
+
*
|
|
34
47
|
* @example To list your registered task definitions
|
|
35
48
|
* ```javascript
|
|
36
49
|
* // This example lists all of your registered task definitions.
|
|
@@ -33,6 +33,26 @@ export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBea
|
|
|
33
33
|
* @see {@link ListTasksCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link ClientException} (client fault)
|
|
37
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
38
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
39
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link ClusterNotFoundException} (client fault)
|
|
42
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
45
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
46
|
+
* request.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link ServerException} (server fault)
|
|
49
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ServiceNotFoundException} (client fault)
|
|
52
|
+
* <p>The specified service wasn't found. You can view your available services with <a>ListServices</a>. Amazon ECS services are cluster specific and Region
|
|
53
|
+
* specific.</p>
|
|
54
|
+
*
|
|
55
|
+
*
|
|
36
56
|
* @example To list the tasks in a cluster
|
|
37
57
|
* ```javascript
|
|
38
58
|
* // This example lists all of the tasks in a cluster.
|
|
@@ -52,6 +52,19 @@ export interface PutAccountSettingCommandOutput extends PutAccountSettingRespons
|
|
|
52
52
|
* @see {@link PutAccountSettingCommandOutput} for command's `response` shape.
|
|
53
53
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
54
54
|
*
|
|
55
|
+
* @throws {@link ClientException} (client fault)
|
|
56
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
57
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
58
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
61
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
62
|
+
* request.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ServerException} (server fault)
|
|
65
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
66
|
+
*
|
|
67
|
+
*
|
|
55
68
|
* @example To modify your account settings
|
|
56
69
|
* ```javascript
|
|
57
70
|
* // This example modifies your account settings to opt in to the new ARN and resource ID format for Amazon ECS services. If you’re using this command as the root user, then changes apply to the entire AWS account, unless an IAM user or role explicitly overrides these settings for themselves.
|
|
@@ -31,6 +31,19 @@ export interface PutAccountSettingDefaultCommandOutput extends PutAccountSetting
|
|
|
31
31
|
* @see {@link PutAccountSettingDefaultCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link ClientException} (client fault)
|
|
35
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
36
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
37
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
40
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
41
|
+
* request.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link ServerException} (server fault)
|
|
44
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
45
|
+
*
|
|
46
|
+
*
|
|
34
47
|
* @example To modify the default account settings for all IAM users or roles on an account
|
|
35
48
|
* ```javascript
|
|
36
49
|
* // This example modifies the default account setting for the specified resource for all IAM users or roles on an account. These changes apply to the entire AWS account, unless an IAM user or role explicitly overrides these settings for themselves.
|
|
@@ -32,6 +32,24 @@ export interface PutAttributesCommandOutput extends PutAttributesResponse, __Met
|
|
|
32
32
|
* @see {@link PutAttributesCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link AttributeLimitExceededException} (client fault)
|
|
36
|
+
* <p>You can apply up to 10 custom attributes for each resource. You can view the
|
|
37
|
+
* attributes of a resource with <a>ListAttributes</a>. You can remove existing
|
|
38
|
+
* attributes on a resource with <a>DeleteAttributes</a>.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link ClusterNotFoundException} (client fault)
|
|
41
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
44
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
45
|
+
* request.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link TargetNotFoundException} (client fault)
|
|
48
|
+
* <p>The specified target wasn't found. You can view your available container instances
|
|
49
|
+
* with <a>ListContainerInstances</a>. Amazon ECS container instances are
|
|
50
|
+
* cluster-specific and Region-specific.</p>
|
|
51
|
+
*
|
|
52
|
+
*
|
|
35
53
|
*/
|
|
36
54
|
export declare class PutAttributesCommand extends $Command<PutAttributesCommandInput, PutAttributesCommandOutput, ECSClientResolvedConfig> {
|
|
37
55
|
readonly input: PutAttributesCommandInput;
|
|
@@ -42,6 +42,32 @@ export interface PutClusterCapacityProvidersCommandOutput extends PutClusterCapa
|
|
|
42
42
|
* @see {@link PutClusterCapacityProvidersCommandOutput} for command's `response` shape.
|
|
43
43
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
44
44
|
*
|
|
45
|
+
* @throws {@link ClientException} (client fault)
|
|
46
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
47
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
48
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link ClusterNotFoundException} (client fault)
|
|
51
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
54
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
55
|
+
* request.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
58
|
+
* <p>The specified resource is in-use and can't be removed.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ServerException} (server fault)
|
|
61
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link UpdateInProgressException} (client fault)
|
|
64
|
+
* <p>There's already a current Amazon ECS container agent update in progress on the container
|
|
65
|
+
* instance that's specified. If the container agent becomes disconnected while it's in a
|
|
66
|
+
* transitional stage, such as <code>PENDING</code> or <code>STAGING</code>, the update
|
|
67
|
+
* process can get stuck in that state. However, when the agent reconnects, it resumes
|
|
68
|
+
* where it stopped previously.</p>
|
|
69
|
+
*
|
|
70
|
+
*
|
|
45
71
|
*/
|
|
46
72
|
export declare class PutClusterCapacityProvidersCommand extends $Command<PutClusterCapacityProvidersCommandInput, PutClusterCapacityProvidersCommandOutput, ECSClientResolvedConfig> {
|
|
47
73
|
readonly input: PutClusterCapacityProvidersCommandInput;
|
|
@@ -33,6 +33,19 @@ export interface RegisterContainerInstanceCommandOutput extends RegisterContaine
|
|
|
33
33
|
* @see {@link RegisterContainerInstanceCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link ClientException} (client fault)
|
|
37
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
38
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
39
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
42
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
43
|
+
* request.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link ServerException} (server fault)
|
|
46
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
47
|
+
*
|
|
48
|
+
*
|
|
36
49
|
*/
|
|
37
50
|
export declare class RegisterContainerInstanceCommand extends $Command<RegisterContainerInstanceCommandInput, RegisterContainerInstanceCommandOutput, ECSClientResolvedConfig> {
|
|
38
51
|
readonly input: RegisterContainerInstanceCommandInput;
|
|
@@ -46,6 +46,19 @@ export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinit
|
|
|
46
46
|
* @see {@link RegisterTaskDefinitionCommandOutput} for command's `response` shape.
|
|
47
47
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
48
48
|
*
|
|
49
|
+
* @throws {@link ClientException} (client fault)
|
|
50
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
51
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
52
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
55
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
56
|
+
* request.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ServerException} (server fault)
|
|
59
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
60
|
+
*
|
|
61
|
+
*
|
|
49
62
|
* @example To register a task definition
|
|
50
63
|
* ```javascript
|
|
51
64
|
* // This example registers a task definition to the specified family.
|
|
@@ -56,6 +56,39 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer
|
|
|
56
56
|
* @see {@link RunTaskCommandOutput} for command's `response` shape.
|
|
57
57
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
58
58
|
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>You don't have authorization to perform the requested action.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link BlockedException} (client fault)
|
|
63
|
+
* <p>Your Amazon Web Services account was blocked. For more information, contact <a href="http://aws.amazon.com/contact-us/">
|
|
64
|
+
* Amazon Web Services Support</a>.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ClientException} (client fault)
|
|
67
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
68
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
69
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ClusterNotFoundException} (client fault)
|
|
72
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
75
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
76
|
+
* request.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link PlatformTaskDefinitionIncompatibilityException} (client fault)
|
|
79
|
+
* <p>The specified platform version doesn't satisfy the required capabilities of the task
|
|
80
|
+
* definition.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link PlatformUnknownException} (client fault)
|
|
83
|
+
* <p>The specified platform version doesn't exist.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ServerException} (server fault)
|
|
86
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link UnsupportedFeatureException} (client fault)
|
|
89
|
+
* <p>The specified task isn't supported in this Region.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
59
92
|
* @example To run a task on your default cluster
|
|
60
93
|
* ```javascript
|
|
61
94
|
* // This example runs the specified task definition on your default cluster.
|
|
@@ -32,6 +32,22 @@ export interface StartTaskCommandOutput extends StartTaskResponse, __MetadataBea
|
|
|
32
32
|
* @see {@link StartTaskCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link ClientException} (client fault)
|
|
36
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
37
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
38
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link ClusterNotFoundException} (client fault)
|
|
41
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
44
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
45
|
+
* request.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ServerException} (server fault)
|
|
48
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
35
51
|
*/
|
|
36
52
|
export declare class StartTaskCommand extends $Command<StartTaskCommandInput, StartTaskCommandOutput, ECSClientResolvedConfig> {
|
|
37
53
|
readonly input: StartTaskCommandInput;
|
|
@@ -41,6 +41,22 @@ export interface StopTaskCommandOutput extends StopTaskResponse, __MetadataBeare
|
|
|
41
41
|
* @see {@link StopTaskCommandOutput} for command's `response` shape.
|
|
42
42
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
43
43
|
*
|
|
44
|
+
* @throws {@link ClientException} (client fault)
|
|
45
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
46
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
47
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link ClusterNotFoundException} (client fault)
|
|
50
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
53
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
54
|
+
* request.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ServerException} (server fault)
|
|
57
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
58
|
+
*
|
|
59
|
+
*
|
|
44
60
|
*/
|
|
45
61
|
export declare class StopTaskCommand extends $Command<StopTaskCommandInput, StopTaskCommandOutput, ECSClientResolvedConfig> {
|
|
46
62
|
readonly input: StopTaskCommandInput;
|
|
@@ -32,6 +32,22 @@ export interface SubmitAttachmentStateChangesCommandOutput extends SubmitAttachm
|
|
|
32
32
|
* @see {@link SubmitAttachmentStateChangesCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
36
|
+
* <p>You don't have authorization to perform the requested action.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ClientException} (client fault)
|
|
39
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
40
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
41
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
44
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
45
|
+
* request.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ServerException} (server fault)
|
|
48
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
35
51
|
*/
|
|
36
52
|
export declare class SubmitAttachmentStateChangesCommand extends $Command<SubmitAttachmentStateChangesCommandInput, SubmitAttachmentStateChangesCommandOutput, ECSClientResolvedConfig> {
|
|
37
53
|
readonly input: SubmitAttachmentStateChangesCommandInput;
|
|
@@ -32,6 +32,18 @@ export interface SubmitContainerStateChangeCommandOutput extends SubmitContainer
|
|
|
32
32
|
* @see {@link SubmitContainerStateChangeCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
36
|
+
* <p>You don't have authorization to perform the requested action.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ClientException} (client fault)
|
|
39
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
40
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
41
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link ServerException} (server fault)
|
|
44
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
45
|
+
*
|
|
46
|
+
*
|
|
35
47
|
*/
|
|
36
48
|
export declare class SubmitContainerStateChangeCommand extends $Command<SubmitContainerStateChangeCommandInput, SubmitContainerStateChangeCommandOutput, ECSClientResolvedConfig> {
|
|
37
49
|
readonly input: SubmitContainerStateChangeCommandInput;
|
|
@@ -32,6 +32,22 @@ export interface SubmitTaskStateChangeCommandOutput extends SubmitTaskStateChang
|
|
|
32
32
|
* @see {@link SubmitTaskStateChangeCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
36
|
+
* <p>You don't have authorization to perform the requested action.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ClientException} (client fault)
|
|
39
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
40
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
41
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
44
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
45
|
+
* request.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ServerException} (server fault)
|
|
48
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
35
51
|
*/
|
|
36
52
|
export declare class SubmitTaskStateChangeCommand extends $Command<SubmitTaskStateChangeCommandInput, SubmitTaskStateChangeCommandOutput, ECSClientResolvedConfig> {
|
|
37
53
|
readonly input: SubmitTaskStateChangeCommandInput;
|
|
@@ -32,6 +32,25 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
32
32
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link ClientException} (client fault)
|
|
36
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
37
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
38
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link ClusterNotFoundException} (client fault)
|
|
41
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
44
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
45
|
+
* request.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
48
|
+
* <p>The specified resource wasn't found.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link ServerException} (server fault)
|
|
51
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
52
|
+
*
|
|
53
|
+
*
|
|
35
54
|
* @example To tag a cluster.
|
|
36
55
|
* ```javascript
|
|
37
56
|
* // This example tags the 'dev' cluster with key 'team' and value 'dev'.
|
|
@@ -29,6 +29,25 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
29
29
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ClientException} (client fault)
|
|
33
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
34
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
35
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link ClusterNotFoundException} (client fault)
|
|
38
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
41
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
42
|
+
* request.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
45
|
+
* <p>The specified resource wasn't found.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ServerException} (server fault)
|
|
48
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
32
51
|
* @example To untag a cluster.
|
|
33
52
|
* ```javascript
|
|
34
53
|
* // This example deletes the 'team' tag from the 'dev' cluster.
|
|
@@ -29,6 +29,19 @@ export interface UpdateCapacityProviderCommandOutput extends UpdateCapacityProvi
|
|
|
29
29
|
* @see {@link UpdateCapacityProviderCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ClientException} (client fault)
|
|
33
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
34
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
35
|
+
* action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
38
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
39
|
+
* request.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link ServerException} (server fault)
|
|
42
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
43
|
+
*
|
|
44
|
+
*
|
|
32
45
|
*/
|
|
33
46
|
export declare class UpdateCapacityProviderCommand extends $Command<UpdateCapacityProviderCommandInput, UpdateCapacityProviderCommandOutput, ECSClientResolvedConfig> {
|
|
34
47
|
readonly input: UpdateCapacityProviderCommandInput;
|