@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.
Files changed (57) hide show
  1. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +23 -0
  2. package/dist-types/commands/CreateClusterCommand.d.ts +13 -0
  3. package/dist-types/commands/CreateServiceCommand.d.ts +32 -0
  4. package/dist-types/commands/CreateTaskSetCommand.d.ts +40 -0
  5. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +13 -0
  6. package/dist-types/commands/DeleteAttributesCommand.d.ts +13 -0
  7. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +13 -0
  8. package/dist-types/commands/DeleteClusterCommand.d.ts +36 -0
  9. package/dist-types/commands/DeleteServiceCommand.d.ts +20 -0
  10. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +16 -0
  11. package/dist-types/commands/DeleteTaskSetCommand.d.ts +34 -0
  12. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +16 -0
  13. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +13 -0
  14. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +13 -0
  15. package/dist-types/commands/DescribeClustersCommand.d.ts +13 -0
  16. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +16 -0
  17. package/dist-types/commands/DescribeServicesCommand.d.ts +16 -0
  18. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +13 -0
  19. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +30 -0
  20. package/dist-types/commands/DescribeTasksCommand.d.ts +16 -0
  21. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +9 -0
  22. package/dist-types/commands/ExecuteCommandCommand.d.ts +37 -0
  23. package/dist-types/commands/GetTaskProtectionCommand.d.ts +25 -0
  24. package/dist-types/commands/ListAccountSettingsCommand.d.ts +13 -0
  25. package/dist-types/commands/ListAttributesCommand.d.ts +8 -0
  26. package/dist-types/commands/ListClustersCommand.d.ts +13 -0
  27. package/dist-types/commands/ListContainerInstancesCommand.d.ts +16 -0
  28. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +16 -0
  29. package/dist-types/commands/ListServicesCommand.d.ts +16 -0
  30. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  31. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +13 -0
  32. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +13 -0
  33. package/dist-types/commands/ListTasksCommand.d.ts +20 -0
  34. package/dist-types/commands/PutAccountSettingCommand.d.ts +13 -0
  35. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +13 -0
  36. package/dist-types/commands/PutAttributesCommand.d.ts +18 -0
  37. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +26 -0
  38. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +13 -0
  39. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +13 -0
  40. package/dist-types/commands/RunTaskCommand.d.ts +33 -0
  41. package/dist-types/commands/StartTaskCommand.d.ts +16 -0
  42. package/dist-types/commands/StopTaskCommand.d.ts +16 -0
  43. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +16 -0
  44. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +12 -0
  45. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +16 -0
  46. package/dist-types/commands/TagResourceCommand.d.ts +19 -0
  47. package/dist-types/commands/UntagResourceCommand.d.ts +19 -0
  48. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +13 -0
  49. package/dist-types/commands/UpdateClusterCommand.d.ts +16 -0
  50. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +16 -0
  51. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +34 -0
  52. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +16 -0
  53. package/dist-types/commands/UpdateServiceCommand.d.ts +37 -0
  54. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +34 -0
  55. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +25 -0
  56. package/dist-types/commands/UpdateTaskSetCommand.d.ts +34 -0
  57. package/package.json +30 -30
@@ -35,6 +35,29 @@ export interface CreateCapacityProviderCommandOutput extends CreateCapacityProvi
35
35
  * @see {@link CreateCapacityProviderCommandOutput} 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 LimitExceededException} (client fault)
48
+ * <p>The limit for the resource was exceeded.</p>
49
+ *
50
+ * @throws {@link ServerException} (server fault)
51
+ * <p>These errors are usually caused by a server issue.</p>
52
+ *
53
+ * @throws {@link UpdateInProgressException} (client fault)
54
+ * <p>There's already a current Amazon ECS container agent update in progress on the container
55
+ * instance that's specified. If the container agent becomes disconnected while it's in a
56
+ * transitional stage, such as <code>PENDING</code> or <code>STAGING</code>, the update
57
+ * process can get stuck in that state. However, when the agent reconnects, it resumes
58
+ * where it stopped previously.</p>
59
+ *
60
+ *
38
61
  */
39
62
  export declare class CreateCapacityProviderCommand extends $Command<CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput, ECSClientResolvedConfig> {
40
63
  readonly input: CreateCapacityProviderCommandInput;
@@ -39,6 +39,19 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
39
39
  * @see {@link CreateClusterCommandOutput} for command's `response` shape.
40
40
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
41
41
  *
42
+ * @throws {@link ClientException} (client fault)
43
+ * <p>These errors are usually caused by a client action. This client action might be using
44
+ * an action or resource on behalf of a user that doesn't have permissions to use the
45
+ * action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
46
+ *
47
+ * @throws {@link InvalidParameterException} (client fault)
48
+ * <p>The specified parameter isn't valid. Review the available parameters for the API
49
+ * request.</p>
50
+ *
51
+ * @throws {@link ServerException} (server fault)
52
+ * <p>These errors are usually caused by a server issue.</p>
53
+ *
54
+ *
42
55
  * @example To create a new cluster
43
56
  * ```javascript
44
57
  * // This example creates a cluster in your default region.
@@ -105,6 +105,38 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
105
105
  * @see {@link CreateServiceCommandOutput} for command's `response` shape.
106
106
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
107
107
  *
108
+ * @throws {@link AccessDeniedException} (client fault)
109
+ * <p>You don't have authorization to perform the requested action.</p>
110
+ *
111
+ * @throws {@link ClientException} (client fault)
112
+ * <p>These errors are usually caused by a client action. This client action might be using
113
+ * an action or resource on behalf of a user that doesn't have permissions to use the
114
+ * action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
115
+ *
116
+ * @throws {@link ClusterNotFoundException} (client fault)
117
+ * <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
118
+ *
119
+ * @throws {@link InvalidParameterException} (client fault)
120
+ * <p>The specified parameter isn't valid. Review the available parameters for the API
121
+ * request.</p>
122
+ *
123
+ * @throws {@link NamespaceNotFoundException} (client fault)
124
+ * <p>The specified namespace wasn't found.</p>
125
+ *
126
+ * @throws {@link PlatformTaskDefinitionIncompatibilityException} (client fault)
127
+ * <p>The specified platform version doesn't satisfy the required capabilities of the task
128
+ * definition.</p>
129
+ *
130
+ * @throws {@link PlatformUnknownException} (client fault)
131
+ * <p>The specified platform version doesn't exist.</p>
132
+ *
133
+ * @throws {@link ServerException} (server fault)
134
+ * <p>These errors are usually caused by a server issue.</p>
135
+ *
136
+ * @throws {@link UnsupportedFeatureException} (client fault)
137
+ * <p>The specified task isn't supported in this Region.</p>
138
+ *
139
+ *
108
140
  * @example To create a new service
109
141
  * ```javascript
110
142
  * // This example creates a service in your default region called ``ecs-simple-service``. The service uses the ``hello_world`` task definition and it maintains 10 copies of that task.
@@ -32,6 +32,46 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __Met
32
32
  * @see {@link CreateTaskSetCommandOutput} 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 ClusterNotFoundException} (client fault)
44
+ * <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
45
+ *
46
+ * @throws {@link InvalidParameterException} (client fault)
47
+ * <p>The specified parameter isn't valid. Review the available parameters for the API
48
+ * request.</p>
49
+ *
50
+ * @throws {@link NamespaceNotFoundException} (client fault)
51
+ * <p>The specified namespace wasn't found.</p>
52
+ *
53
+ * @throws {@link PlatformTaskDefinitionIncompatibilityException} (client fault)
54
+ * <p>The specified platform version doesn't satisfy the required capabilities of the task
55
+ * definition.</p>
56
+ *
57
+ * @throws {@link PlatformUnknownException} (client fault)
58
+ * <p>The specified platform version doesn't exist.</p>
59
+ *
60
+ * @throws {@link ServerException} (server fault)
61
+ * <p>These errors are usually caused by a server issue.</p>
62
+ *
63
+ * @throws {@link ServiceNotActiveException} (client fault)
64
+ * <p>The specified service isn't active. You can't update a service that's inactive. If you
65
+ * have previously deleted a service, you can re-create it with <a>CreateService</a>.</p>
66
+ *
67
+ * @throws {@link ServiceNotFoundException} (client fault)
68
+ * <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
69
+ * specific.</p>
70
+ *
71
+ * @throws {@link UnsupportedFeatureException} (client fault)
72
+ * <p>The specified task isn't supported in this Region.</p>
73
+ *
74
+ *
35
75
  */
36
76
  export declare class CreateTaskSetCommand extends $Command<CreateTaskSetCommandInput, CreateTaskSetCommandOutput, ECSClientResolvedConfig> {
37
77
  readonly input: CreateTaskSetCommandInput;
@@ -30,6 +30,19 @@ export interface DeleteAccountSettingCommandOutput extends DeleteAccountSettingR
30
30
  * @see {@link DeleteAccountSettingCommandOutput} 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 InvalidParameterException} (client fault)
39
+ * <p>The specified parameter isn't valid. Review the available parameters for the API
40
+ * request.</p>
41
+ *
42
+ * @throws {@link ServerException} (server fault)
43
+ * <p>These errors are usually caused by a server issue.</p>
44
+ *
45
+ *
33
46
  * @example To delete your account setting
34
47
  * ```javascript
35
48
  * // This example deletes the account setting for your user for the specified resource type.
@@ -29,6 +29,19 @@ export interface DeleteAttributesCommandOutput extends DeleteAttributesResponse,
29
29
  * @see {@link DeleteAttributesCommandOutput} for command's `response` shape.
30
30
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
31
31
  *
32
+ * @throws {@link ClusterNotFoundException} (client fault)
33
+ * <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
34
+ *
35
+ * @throws {@link InvalidParameterException} (client fault)
36
+ * <p>The specified parameter isn't valid. Review the available parameters for the API
37
+ * request.</p>
38
+ *
39
+ * @throws {@link TargetNotFoundException} (client fault)
40
+ * <p>The specified target wasn't found. You can view your available container instances
41
+ * with <a>ListContainerInstances</a>. Amazon ECS container instances are
42
+ * cluster-specific and Region-specific.</p>
43
+ *
44
+ *
32
45
  */
33
46
  export declare class DeleteAttributesCommand extends $Command<DeleteAttributesCommandInput, DeleteAttributesCommandOutput, ECSClientResolvedConfig> {
34
47
  readonly input: DeleteAttributesCommandInput;
@@ -43,6 +43,19 @@ export interface DeleteCapacityProviderCommandOutput extends DeleteCapacityProvi
43
43
  * @see {@link DeleteCapacityProviderCommandOutput} for command's `response` shape.
44
44
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
45
45
  *
46
+ * @throws {@link ClientException} (client fault)
47
+ * <p>These errors are usually caused by a client action. This client action might be using
48
+ * an action or resource on behalf of a user that doesn't have permissions to use the
49
+ * action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
50
+ *
51
+ * @throws {@link InvalidParameterException} (client fault)
52
+ * <p>The specified parameter isn't valid. Review the available parameters for the API
53
+ * request.</p>
54
+ *
55
+ * @throws {@link ServerException} (server fault)
56
+ * <p>These errors are usually caused by a server issue.</p>
57
+ *
58
+ *
46
59
  */
47
60
  export declare class DeleteCapacityProviderCommand extends $Command<DeleteCapacityProviderCommandInput, DeleteCapacityProviderCommandOutput, ECSClientResolvedConfig> {
48
61
  readonly input: DeleteCapacityProviderCommandInput;
@@ -34,6 +34,42 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
34
34
  * @see {@link DeleteClusterCommandOutput} for command's `response` shape.
35
35
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
36
36
  *
37
+ * @throws {@link ClientException} (client fault)
38
+ * <p>These errors are usually caused by a client action. This client action might be using
39
+ * an action or resource on behalf of a user that doesn't have permissions to use the
40
+ * action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
41
+ *
42
+ * @throws {@link ClusterContainsContainerInstancesException} (client fault)
43
+ * <p>You can't delete a cluster that has registered container instances. First, deregister
44
+ * the container instances before you can delete the cluster. For more information, see
45
+ * <a>DeregisterContainerInstance</a>.</p>
46
+ *
47
+ * @throws {@link ClusterContainsServicesException} (client fault)
48
+ * <p>You can't delete a cluster that contains services. First, update the service to reduce
49
+ * its desired task count to 0, and then delete the service. For more information, see
50
+ * <a>UpdateService</a> and <a>DeleteService</a>.</p>
51
+ *
52
+ * @throws {@link ClusterContainsTasksException} (client fault)
53
+ * <p>You can't delete a cluster that has active tasks.</p>
54
+ *
55
+ * @throws {@link ClusterNotFoundException} (client fault)
56
+ * <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
57
+ *
58
+ * @throws {@link InvalidParameterException} (client fault)
59
+ * <p>The specified parameter isn't valid. Review the available parameters for the API
60
+ * request.</p>
61
+ *
62
+ * @throws {@link ServerException} (server fault)
63
+ * <p>These errors are usually caused by a server issue.</p>
64
+ *
65
+ * @throws {@link UpdateInProgressException} (client fault)
66
+ * <p>There's already a current Amazon ECS container agent update in progress on the container
67
+ * instance that's specified. If the container agent becomes disconnected while it's in a
68
+ * transitional stage, such as <code>PENDING</code> or <code>STAGING</code>, the update
69
+ * process can get stuck in that state. However, when the agent reconnects, it resumes
70
+ * where it stopped previously.</p>
71
+ *
72
+ *
37
73
  * @example To delete an empty cluster
38
74
  * ```javascript
39
75
  * // This example deletes an empty cluster in your default region.
@@ -49,6 +49,26 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
49
49
  * @see {@link DeleteServiceCommandOutput} for command's `response` shape.
50
50
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
51
51
  *
52
+ * @throws {@link ClientException} (client fault)
53
+ * <p>These errors are usually caused by a client action. This client action might be using
54
+ * an action or resource on behalf of a user that doesn't have permissions to use the
55
+ * action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
56
+ *
57
+ * @throws {@link ClusterNotFoundException} (client fault)
58
+ * <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</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
+ * @throws {@link ServiceNotFoundException} (client fault)
68
+ * <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
69
+ * specific.</p>
70
+ *
71
+ *
52
72
  * @example To delete a service
53
73
  * ```javascript
54
74
  * // This example deletes the my-http-service service. The service must have a desired count and running count of 0 before you can delete it.
@@ -42,6 +42,22 @@ export interface DeleteTaskDefinitionsCommandOutput extends DeleteTaskDefinition
42
42
  * @see {@link DeleteTaskDefinitionsCommandOutput} for command's `response` shape.
43
43
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
44
44
  *
45
+ * @throws {@link AccessDeniedException} (client fault)
46
+ * <p>You don't have authorization to perform the requested action.</p>
47
+ *
48
+ * @throws {@link ClientException} (client fault)
49
+ * <p>These errors are usually caused by a client action. This client action might be using
50
+ * an action or resource on behalf of a user that doesn't have permissions to use the
51
+ * action or resource,. Or, it might be specifying an identifier that isn't valid.</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 ServerException} (server fault)
58
+ * <p>These errors are usually caused by a server issue.</p>
59
+ *
60
+ *
45
61
  */
46
62
  export declare class DeleteTaskDefinitionsCommand extends $Command<DeleteTaskDefinitionsCommandInput, DeleteTaskDefinitionsCommandOutput, ECSClientResolvedConfig> {
47
63
  readonly input: DeleteTaskDefinitionsCommandInput;
@@ -30,6 +30,40 @@ export interface DeleteTaskSetCommandOutput extends DeleteTaskSetResponse, __Met
30
30
  * @see {@link DeleteTaskSetCommandOutput} for command's `response` shape.
31
31
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
32
32
  *
33
+ * @throws {@link AccessDeniedException} (client fault)
34
+ * <p>You don't have authorization to perform the requested action.</p>
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 ServiceNotActiveException} (client fault)
52
+ * <p>The specified service isn't active. You can't update a service that's inactive. If you
53
+ * have previously deleted a service, you can re-create it with <a>CreateService</a>.</p>
54
+ *
55
+ * @throws {@link ServiceNotFoundException} (client fault)
56
+ * <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
57
+ * specific.</p>
58
+ *
59
+ * @throws {@link TaskSetNotFoundException} (client fault)
60
+ * <p>The specified task set wasn't found. You can view your available task sets with <a>DescribeTaskSets</a>. Task sets are specific to each cluster, service and
61
+ * Region.</p>
62
+ *
63
+ * @throws {@link UnsupportedFeatureException} (client fault)
64
+ * <p>The specified task isn't supported in this Region.</p>
65
+ *
66
+ *
33
67
  */
34
68
  export declare class DeleteTaskSetCommand extends $Command<DeleteTaskSetCommandInput, DeleteTaskSetCommandOutput, ECSClientResolvedConfig> {
35
69
  readonly input: DeleteTaskSetCommandInput;
@@ -42,6 +42,22 @@ export interface DeregisterContainerInstanceCommandOutput extends DeregisterCont
42
42
  * @see {@link DeregisterContainerInstanceCommandOutput} 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 ServerException} (server fault)
58
+ * <p>These errors are usually caused by a server issue.</p>
59
+ *
60
+ *
45
61
  * @example To deregister a container instance from a cluster
46
62
  * ```javascript
47
63
  * // This example deregisters a container instance from the specified cluster in your default region. If there are still tasks running on the container instance, you must either stop those tasks before deregistering, or use the force option.
@@ -46,6 +46,19 @@ export interface DeregisterTaskDefinitionCommandOutput extends DeregisterTaskDef
46
46
  * @see {@link DeregisterTaskDefinitionCommandOutput} 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
  */
50
63
  export declare class DeregisterTaskDefinitionCommand extends $Command<DeregisterTaskDefinitionCommandInput, DeregisterTaskDefinitionCommandOutput, ECSClientResolvedConfig> {
51
64
  readonly input: DeregisterTaskDefinitionCommandInput;
@@ -29,6 +29,19 @@ export interface DescribeCapacityProvidersCommandOutput extends DescribeCapacity
29
29
  * @see {@link DescribeCapacityProvidersCommandOutput} 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 DescribeCapacityProvidersCommand extends $Command<DescribeCapacityProvidersCommandInput, DescribeCapacityProvidersCommandOutput, ECSClientResolvedConfig> {
34
47
  readonly input: DescribeCapacityProvidersCommandInput;
@@ -29,6 +29,19 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse,
29
29
  * @see {@link DescribeClustersCommandOutput} 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 describe a cluster
33
46
  * ```javascript
34
47
  * // This example provides a description of the specified cluster in your default region.
@@ -30,6 +30,22 @@ export interface DescribeContainerInstancesCommandOutput extends DescribeContain
30
30
  * @see {@link DescribeContainerInstancesCommandOutput} 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 describe container instance
34
50
  * ```javascript
35
51
  * // This example provides a description of the specified container instance in your default region, using the container instance UUID as an identifier.
@@ -29,6 +29,22 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse,
29
29
  * @see {@link DescribeServicesCommandOutput} 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 describe a service
33
49
  * ```javascript
34
50
  * // This example provides descriptive information about the service named ``ecs-simple-service``.
@@ -36,6 +36,19 @@ export interface DescribeTaskDefinitionCommandOutput extends DescribeTaskDefinit
36
36
  * @see {@link DescribeTaskDefinitionCommandOutput} for command's `response` shape.
37
37
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
38
38
  *
39
+ * @throws {@link ClientException} (client fault)
40
+ * <p>These errors are usually caused by a client action. This client action might be using
41
+ * an action or resource on behalf of a user that doesn't have permissions to use the
42
+ * action or resource,. Or, it might be specifying an identifier that isn't valid.</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
+ *
39
52
  * @example To describe a task definition
40
53
  * ```javascript
41
54
  * // This example provides a description of the specified task definition.
@@ -32,6 +32,36 @@ export interface DescribeTaskSetsCommandOutput extends DescribeTaskSetsResponse,
32
32
  * @see {@link DescribeTaskSetsCommandOutput} 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 ClusterNotFoundException} (client fault)
44
+ * <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
45
+ *
46
+ * @throws {@link InvalidParameterException} (client fault)
47
+ * <p>The specified parameter isn't valid. Review the available parameters for the API
48
+ * request.</p>
49
+ *
50
+ * @throws {@link ServerException} (server fault)
51
+ * <p>These errors are usually caused by a server issue.</p>
52
+ *
53
+ * @throws {@link ServiceNotActiveException} (client fault)
54
+ * <p>The specified service isn't active. You can't update a service that's inactive. If you
55
+ * have previously deleted a service, you can re-create it with <a>CreateService</a>.</p>
56
+ *
57
+ * @throws {@link ServiceNotFoundException} (client fault)
58
+ * <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
59
+ * specific.</p>
60
+ *
61
+ * @throws {@link UnsupportedFeatureException} (client fault)
62
+ * <p>The specified task isn't supported in this Region.</p>
63
+ *
64
+ *
35
65
  */
36
66
  export declare class DescribeTaskSetsCommand extends $Command<DescribeTaskSetsCommandInput, DescribeTaskSetsCommandOutput, ECSClientResolvedConfig> {
37
67
  readonly input: DescribeTaskSetsCommandInput;
@@ -30,6 +30,22 @@ export interface DescribeTasksCommandOutput extends DescribeTasksResponse, __Met
30
30
  * @see {@link DescribeTasksCommandOutput} 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 describe a task
34
50
  * ```javascript
35
51
  * // This example provides a description of the specified task, using the task UUID as an identifier.
@@ -32,6 +32,15 @@ export interface DiscoverPollEndpointCommandOutput extends DiscoverPollEndpointR
32
32
  * @see {@link DiscoverPollEndpointCommandOutput} 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 ServerException} (server fault)
41
+ * <p>These errors are usually caused by a server issue.</p>
42
+ *
43
+ *
35
44
  */
36
45
  export declare class DiscoverPollEndpointCommand extends $Command<DiscoverPollEndpointCommandInput, DiscoverPollEndpointCommandOutput, ECSClientResolvedConfig> {
37
46
  readonly input: DiscoverPollEndpointCommandInput;
@@ -35,6 +35,43 @@ export interface ExecuteCommandCommandOutput extends ExecuteCommandResponse, __M
35
35
  * @see {@link ExecuteCommandCommandOutput} for command's `response` shape.
36
36
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
37
37
  *
38
+ * @throws {@link AccessDeniedException} (client fault)
39
+ * <p>You don't have authorization to perform the requested action.</p>
40
+ *
41
+ * @throws {@link ClientException} (client fault)
42
+ * <p>These errors are usually caused by a client action. This client action might be using
43
+ * an action or resource on behalf of a user that doesn't have permissions to use the
44
+ * action or resource,. Or, it might be specifying an identifier that isn't valid.</p>
45
+ *
46
+ * @throws {@link ClusterNotFoundException} (client fault)
47
+ * <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
48
+ *
49
+ * @throws {@link InvalidParameterException} (client fault)
50
+ * <p>The specified parameter isn't valid. Review the available parameters for the API
51
+ * request.</p>
52
+ *
53
+ * @throws {@link ServerException} (server fault)
54
+ * <p>These errors are usually caused by a server issue.</p>
55
+ *
56
+ * @throws {@link TargetNotConnectedException} (client fault)
57
+ * <p>The execute command cannot run. This error can be caused by any of the following
58
+ * configuration issues:</p>
59
+ * <ul>
60
+ * <li>
61
+ * <p>Incorrect IAM permissions</p>
62
+ * </li>
63
+ * <li>
64
+ * <p>The SSM agent is not installed or is not running</p>
65
+ * </li>
66
+ * <li>
67
+ * <p> There is an interface Amazon VPC endpoint for Amazon ECS, but there is not one for
68
+ * for Systems Manager Session Manager</p>
69
+ * </li>
70
+ * </ul>
71
+ * <p>For information about how to troubleshoot the issues, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html">Troubleshooting issues with ECS
72
+ * Exec</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
73
+ *
74
+ *
38
75
  */
39
76
  export declare class ExecuteCommandCommand extends $Command<ExecuteCommandCommandInput, ExecuteCommandCommandOutput, ECSClientResolvedConfig> {
40
77
  readonly input: ExecuteCommandCommandInput;