@aws-sdk/client-ecs 3.631.0 → 3.635.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-es/models/index.js +1 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +10 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +12 -2
- package/dist-types/commands/CreateServiceCommand.d.ts +16 -6
- package/dist-types/commands/CreateTaskSetCommand.d.ts +14 -4
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +10 -0
- package/dist-types/commands/DeleteAttributesCommand.d.ts +3 -3
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +13 -4
- package/dist-types/commands/DeleteClusterCommand.d.ts +14 -4
- package/dist-types/commands/DeleteServiceCommand.d.ts +16 -6
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +17 -0
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +14 -4
- package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +11 -1
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +17 -0
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +10 -0
- package/dist-types/commands/DescribeClustersCommand.d.ts +10 -0
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +11 -1
- package/dist-types/commands/DescribeServicesCommand.d.ts +11 -1
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +17 -0
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +13 -3
- package/dist-types/commands/DescribeTasksCommand.d.ts +11 -1
- package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +10 -0
- package/dist-types/commands/ExecuteCommandCommand.d.ts +11 -1
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +11 -1
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +10 -0
- package/dist-types/commands/ListAttributesCommand.d.ts +1 -1
- package/dist-types/commands/ListClustersCommand.d.ts +10 -0
- package/dist-types/commands/ListContainerInstancesCommand.d.ts +11 -1
- package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +10 -0
- package/dist-types/commands/ListServicesCommand.d.ts +11 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -1
- package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +10 -0
- package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +10 -0
- package/dist-types/commands/ListTasksCommand.d.ts +12 -2
- package/dist-types/commands/PutAccountSettingCommand.d.ts +10 -0
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +10 -0
- package/dist-types/commands/PutAttributesCommand.d.ts +6 -6
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +12 -2
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +10 -0
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +26 -5
- package/dist-types/commands/RunTaskCommand.d.ts +12 -2
- package/dist-types/commands/StartTaskCommand.d.ts +12 -2
- package/dist-types/commands/StopTaskCommand.d.ts +14 -4
- package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +10 -0
- package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +10 -0
- package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +10 -0
- package/dist-types/commands/TagResourceCommand.d.ts +11 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +11 -1
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +10 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +11 -1
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +11 -1
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +11 -1
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +13 -3
- package/dist-types/commands/UpdateServiceCommand.d.ts +15 -5
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +14 -4
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +11 -1
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +16 -5
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +292 -328
- package/dist-types/models/models_1.d.ts +11 -0
- package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -3
- package/dist-types/ts3.4/models/models_1.d.ts +4 -0
- package/package.json +12 -12
package/dist-es/models/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -103,6 +103,16 @@ declare const CreateCapacityProviderCommand_base: {
|
|
|
103
103
|
* <p>These errors are usually caused by a client action. This client action might be using
|
|
104
104
|
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
105
105
|
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
106
|
+
* <p>The following list includes additional causes for the error:</p>
|
|
107
|
+
* <ul>
|
|
108
|
+
* <li>
|
|
109
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
110
|
+
* scaling and there is a capacity error because the quota of tasks in the
|
|
111
|
+
* <code>PROVISIONING</code> per cluster has been reached. For information
|
|
112
|
+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
113
|
+
* service quotas</a>.</p>
|
|
114
|
+
* </li>
|
|
115
|
+
* </ul>
|
|
106
116
|
*
|
|
107
117
|
* @throws {@link InvalidParameterException} (client fault)
|
|
108
118
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -29,9 +29,9 @@ declare const CreateClusterCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates a new Amazon ECS cluster. By default, your account receives a <code>default</code>
|
|
31
31
|
* cluster when you launch your first container instance. However, you can create your own
|
|
32
|
-
* cluster with a unique name
|
|
32
|
+
* cluster with a unique name.</p>
|
|
33
33
|
* <note>
|
|
34
|
-
* <p>When you call the <a>CreateCluster</a> API operation, Amazon ECS attempts to
|
|
34
|
+
* <p>When you call the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCluster.html">CreateCluster</a> API operation, Amazon ECS attempts to
|
|
35
35
|
* create the Amazon ECS service-linked role for your account. This is so that it can manage
|
|
36
36
|
* required resources in other Amazon Web Services services on your behalf. However, if the user that
|
|
37
37
|
* makes the call doesn't have permissions to create the service-linked role, it isn't
|
|
@@ -177,6 +177,16 @@ declare const CreateClusterCommand_base: {
|
|
|
177
177
|
* <p>These errors are usually caused by a client action. This client action might be using
|
|
178
178
|
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
179
179
|
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
180
|
+
* <p>The following list includes additional causes for the error:</p>
|
|
181
|
+
* <ul>
|
|
182
|
+
* <li>
|
|
183
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
184
|
+
* scaling and there is a capacity error because the quota of tasks in the
|
|
185
|
+
* <code>PROVISIONING</code> per cluster has been reached. For information
|
|
186
|
+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
187
|
+
* service quotas</a>.</p>
|
|
188
|
+
* </li>
|
|
189
|
+
* </ul>
|
|
180
190
|
*
|
|
181
191
|
* @throws {@link InvalidParameterException} (client fault)
|
|
182
192
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -30,7 +30,7 @@ declare const CreateServiceCommand_base: {
|
|
|
30
30
|
* <p>Runs and maintains your desired number of tasks from a specified task definition. If
|
|
31
31
|
* the number of tasks running in a service drops below the <code>desiredCount</code>,
|
|
32
32
|
* Amazon ECS runs another copy of the task in the specified cluster. To update an existing
|
|
33
|
-
* service,
|
|
33
|
+
* service, use <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html">UpdateService</a>.</p>
|
|
34
34
|
* <note>
|
|
35
35
|
* <p>On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.</p>
|
|
36
36
|
* </note>
|
|
@@ -68,7 +68,7 @@ declare const CreateServiceCommand_base: {
|
|
|
68
68
|
* </ul>
|
|
69
69
|
* <p>You can optionally specify a deployment configuration for your service. The deployment
|
|
70
70
|
* is initiated by changing properties. For example, the deployment might be initiated by
|
|
71
|
-
* the task definition or by your desired count of a service.
|
|
71
|
+
* the task definition or by your desired count of a service. You can use <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html">UpdateService</a>. The default value for a replica service for
|
|
72
72
|
* <code>minimumHealthyPercent</code> is 100%. The default value for a daemon service
|
|
73
73
|
* for <code>minimumHealthyPercent</code> is 0%.</p>
|
|
74
74
|
* <p>If a service uses the <code>ECS</code> deployment controller, the minimum healthy
|
|
@@ -106,9 +106,9 @@ declare const CreateServiceCommand_base: {
|
|
|
106
106
|
* currently visible when describing your service.</p>
|
|
107
107
|
* <p>When creating a service that uses the <code>EXTERNAL</code> deployment controller, you
|
|
108
108
|
* can specify only parameters that aren't controlled at the task set level. The only
|
|
109
|
-
* required parameter is the service name. You control your services using the <a>CreateTaskSet</a
|
|
110
|
-
* <p>When the service scheduler launches new tasks, it determines task placement. For
|
|
111
|
-
* about task placement and task placement strategies, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement.html">Amazon ECS
|
|
109
|
+
* required parameter is the service name. You control your services using the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateTaskSet.html">CreateTaskSet</a>. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS deployment types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
110
|
+
* <p>When the service scheduler launches new tasks, it determines task placement. For
|
|
111
|
+
* information about task placement and task placement strategies, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement.html">Amazon ECS
|
|
112
112
|
* task placement</a> in the <i>Amazon Elastic Container Service Developer Guide</i>
|
|
113
113
|
* </p>
|
|
114
114
|
* <p>Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service. </p>
|
|
@@ -562,9 +562,19 @@ declare const CreateServiceCommand_base: {
|
|
|
562
562
|
* <p>These errors are usually caused by a client action. This client action might be using
|
|
563
563
|
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
564
564
|
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
565
|
+
* <p>The following list includes additional causes for the error:</p>
|
|
566
|
+
* <ul>
|
|
567
|
+
* <li>
|
|
568
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
569
|
+
* scaling and there is a capacity error because the quota of tasks in the
|
|
570
|
+
* <code>PROVISIONING</code> per cluster has been reached. For information
|
|
571
|
+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
572
|
+
* service quotas</a>.</p>
|
|
573
|
+
* </li>
|
|
574
|
+
* </ul>
|
|
565
575
|
*
|
|
566
576
|
* @throws {@link ClusterNotFoundException} (client fault)
|
|
567
|
-
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
577
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html">ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
568
578
|
*
|
|
569
579
|
* @throws {@link InvalidParameterException} (client fault)
|
|
570
580
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -34,7 +34,7 @@ declare const CreateTaskSetCommand_base: {
|
|
|
34
34
|
* <note>
|
|
35
35
|
* <p>On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.</p>
|
|
36
36
|
* </note>
|
|
37
|
-
* <p>For information about the maximum number of task sets and
|
|
37
|
+
* <p>For information about the maximum number of task sets and other quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
38
38
|
* service quotas</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
39
39
|
* @example
|
|
40
40
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -182,9 +182,19 @@ declare const CreateTaskSetCommand_base: {
|
|
|
182
182
|
* <p>These errors are usually caused by a client action. This client action might be using
|
|
183
183
|
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
184
184
|
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
185
|
+
* <p>The following list includes additional causes for the error:</p>
|
|
186
|
+
* <ul>
|
|
187
|
+
* <li>
|
|
188
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
189
|
+
* scaling and there is a capacity error because the quota of tasks in the
|
|
190
|
+
* <code>PROVISIONING</code> per cluster has been reached. For information
|
|
191
|
+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
192
|
+
* service quotas</a>.</p>
|
|
193
|
+
* </li>
|
|
194
|
+
* </ul>
|
|
185
195
|
*
|
|
186
196
|
* @throws {@link ClusterNotFoundException} (client fault)
|
|
187
|
-
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
197
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html">ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
188
198
|
*
|
|
189
199
|
* @throws {@link InvalidParameterException} (client fault)
|
|
190
200
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -205,10 +215,10 @@ declare const CreateTaskSetCommand_base: {
|
|
|
205
215
|
*
|
|
206
216
|
* @throws {@link ServiceNotActiveException} (client fault)
|
|
207
217
|
* <p>The specified service isn't active. You can't update a service that's inactive. If you
|
|
208
|
-
* have previously deleted a service, you can re-create it with <a>CreateService</a>.</p>
|
|
218
|
+
* have previously deleted a service, you can re-create it with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html">CreateService</a>.</p>
|
|
209
219
|
*
|
|
210
220
|
* @throws {@link ServiceNotFoundException} (client fault)
|
|
211
|
-
* <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
|
|
221
|
+
* <p>The specified service wasn't found. You can view your available services with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html">ListServices</a>. Amazon ECS services are cluster specific and Region
|
|
212
222
|
* specific.</p>
|
|
213
223
|
*
|
|
214
224
|
* @throws {@link UnsupportedFeatureException} (client fault)
|
|
@@ -62,6 +62,16 @@ declare const DeleteAccountSettingCommand_base: {
|
|
|
62
62
|
* <p>These errors are usually caused by a client action. This client action might be using
|
|
63
63
|
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
64
64
|
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
65
|
+
* <p>The following list includes additional causes for the error:</p>
|
|
66
|
+
* <ul>
|
|
67
|
+
* <li>
|
|
68
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
69
|
+
* scaling and there is a capacity error because the quota of tasks in the
|
|
70
|
+
* <code>PROVISIONING</code> per cluster has been reached. For information
|
|
71
|
+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
72
|
+
* service quotas</a>.</p>
|
|
73
|
+
* </li>
|
|
74
|
+
* </ul>
|
|
65
75
|
*
|
|
66
76
|
* @throws {@link InvalidParameterException} (client fault)
|
|
67
77
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -67,7 +67,7 @@ declare const DeleteAttributesCommand_base: {
|
|
|
67
67
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ClusterNotFoundException} (client fault)
|
|
70
|
-
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
70
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html">ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link InvalidParameterException} (client fault)
|
|
73
73
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -75,8 +75,8 @@ declare const DeleteAttributesCommand_base: {
|
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link TargetNotFoundException} (client fault)
|
|
77
77
|
* <p>The specified target wasn't found. You can view your available container instances
|
|
78
|
-
* with <a>ListContainerInstances</a>. Amazon ECS container instances are
|
|
79
|
-
*
|
|
78
|
+
* with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListContainerInstances.html">ListContainerInstances</a>. Amazon ECS container instances are cluster-specific and
|
|
79
|
+
* Region-specific.</p>
|
|
80
80
|
*
|
|
81
81
|
* @throws {@link ECSServiceException}
|
|
82
82
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
@@ -30,18 +30,17 @@ declare const DeleteCapacityProviderCommand_base: {
|
|
|
30
30
|
* <p>Deletes the specified capacity provider.</p>
|
|
31
31
|
* <note>
|
|
32
32
|
* <p>The <code>FARGATE</code> and <code>FARGATE_SPOT</code> capacity providers are
|
|
33
|
-
* reserved and can't be deleted. You can disassociate them from a cluster using either
|
|
34
|
-
* the <a>PutClusterCapacityProviders</a> API or by deleting the
|
|
33
|
+
* reserved and can't be deleted. You can disassociate them from a cluster using either <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProviderProviders.html">PutCapacityProviderProviders</a> or by deleting the
|
|
35
34
|
* cluster.</p>
|
|
36
35
|
* </note>
|
|
37
36
|
* <p>Prior to a capacity provider being deleted, the capacity provider must be removed from
|
|
38
|
-
* the capacity provider strategy from all services. The <a>UpdateService</a>
|
|
37
|
+
* the capacity provider strategy from all services. The <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html">UpdateService</a>
|
|
39
38
|
* API can be used to remove a capacity provider from a service's capacity provider
|
|
40
39
|
* strategy. When updating a service, the <code>forceNewDeployment</code> option can be
|
|
41
40
|
* used to ensure that any tasks using the Amazon EC2 instance capacity provided by the capacity
|
|
42
41
|
* provider are transitioned to use the capacity from the remaining capacity providers.
|
|
43
42
|
* Only capacity providers that aren't associated with a cluster can be deleted. To remove
|
|
44
|
-
* a capacity provider from a cluster, you can either use
|
|
43
|
+
* a capacity provider from a cluster, you can either use <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProviderProviders.html">PutCapacityProviderProviders</a> or delete the cluster.</p>
|
|
45
44
|
* @example
|
|
46
45
|
* Use a bare-bones client and the command you need to make an API call.
|
|
47
46
|
* ```javascript
|
|
@@ -93,6 +92,16 @@ declare const DeleteCapacityProviderCommand_base: {
|
|
|
93
92
|
* <p>These errors are usually caused by a client action. This client action might be using
|
|
94
93
|
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
95
94
|
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
95
|
+
* <p>The following list includes additional causes for the error:</p>
|
|
96
|
+
* <ul>
|
|
97
|
+
* <li>
|
|
98
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
99
|
+
* scaling and there is a capacity error because the quota of tasks in the
|
|
100
|
+
* <code>PROVISIONING</code> per cluster has been reached. For information
|
|
101
|
+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
102
|
+
* service quotas</a>.</p>
|
|
103
|
+
* </li>
|
|
104
|
+
* </ul>
|
|
96
105
|
*
|
|
97
106
|
* @throws {@link InvalidParameterException} (client fault)
|
|
98
107
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -32,7 +32,7 @@ declare const DeleteClusterCommand_base: {
|
|
|
32
32
|
* account for a period of time. However, this behavior is subject to change in the future.
|
|
33
33
|
* We don't recommend that you rely on <code>INACTIVE</code> clusters persisting.</p>
|
|
34
34
|
* <p>You must deregister all container instances from this cluster before you may delete
|
|
35
|
-
* it. You can list the container instances in a cluster with
|
|
35
|
+
* it. You can list the container instances in a cluster with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListContainerInstances.html">ListContainerInstances</a> and deregister them with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterContainerInstance.html">DeregisterContainerInstance</a>.</p>
|
|
36
36
|
* @example
|
|
37
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
38
|
* ```javascript
|
|
@@ -130,22 +130,32 @@ declare const DeleteClusterCommand_base: {
|
|
|
130
130
|
* <p>These errors are usually caused by a client action. This client action might be using
|
|
131
131
|
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
132
132
|
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
133
|
+
* <p>The following list includes additional causes for the error:</p>
|
|
134
|
+
* <ul>
|
|
135
|
+
* <li>
|
|
136
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
137
|
+
* scaling and there is a capacity error because the quota of tasks in the
|
|
138
|
+
* <code>PROVISIONING</code> per cluster has been reached. For information
|
|
139
|
+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
140
|
+
* service quotas</a>.</p>
|
|
141
|
+
* </li>
|
|
142
|
+
* </ul>
|
|
133
143
|
*
|
|
134
144
|
* @throws {@link ClusterContainsContainerInstancesException} (client fault)
|
|
135
145
|
* <p>You can't delete a cluster that has registered container instances. First, deregister
|
|
136
146
|
* the container instances before you can delete the cluster. For more information, see
|
|
137
|
-
*
|
|
147
|
+
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterContainerInstance.html">DeregisterContainerInstance</a>.</p>
|
|
138
148
|
*
|
|
139
149
|
* @throws {@link ClusterContainsServicesException} (client fault)
|
|
140
150
|
* <p>You can't delete a cluster that contains services. First, update the service to reduce
|
|
141
151
|
* its desired task count to 0, and then delete the service. For more information, see
|
|
142
|
-
*
|
|
152
|
+
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html">UpdateService</a> and <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteService.html">DeleteService</a>.</p>
|
|
143
153
|
*
|
|
144
154
|
* @throws {@link ClusterContainsTasksException} (client fault)
|
|
145
155
|
* <p>You can't delete a cluster that has active tasks.</p>
|
|
146
156
|
*
|
|
147
157
|
* @throws {@link ClusterNotFoundException} (client fault)
|
|
148
|
-
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
158
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html">ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
149
159
|
*
|
|
150
160
|
* @throws {@link InvalidParameterException} (client fault)
|
|
151
161
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -30,17 +30,17 @@ declare const DeleteServiceCommand_base: {
|
|
|
30
30
|
* <p>Deletes a specified service within a cluster. You can delete a service if you have no
|
|
31
31
|
* running tasks in it and the desired task count is zero. If the service is actively
|
|
32
32
|
* maintaining tasks, you can't delete it, and you must update the service to a desired
|
|
33
|
-
* task count of zero. For more information, see <a>UpdateService</a>.</p>
|
|
33
|
+
* task count of zero. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html">UpdateService</a>.</p>
|
|
34
34
|
* <note>
|
|
35
35
|
* <p>When you delete a service, if there are still running tasks that require cleanup,
|
|
36
36
|
* the service status moves from <code>ACTIVE</code> to <code>DRAINING</code>, and the
|
|
37
|
-
* service is no longer visible in the console or in the <a>ListServices</a>
|
|
37
|
+
* service is no longer visible in the console or in the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html">ListServices</a>
|
|
38
38
|
* API operation. After all tasks have transitioned to either <code>STOPPING</code> or
|
|
39
39
|
* <code>STOPPED</code> status, the service status moves from <code>DRAINING</code>
|
|
40
40
|
* to <code>INACTIVE</code>. Services in the <code>DRAINING</code> or
|
|
41
|
-
*
|
|
41
|
+
* <code>INACTIVE</code> status can still be viewed with the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServices.html">DescribeServices</a> API operation. However, in the future,
|
|
42
42
|
* <code>INACTIVE</code> services may be cleaned up and purged from Amazon ECS record
|
|
43
|
-
* keeping, and <a>DescribeServices</a>
|
|
43
|
+
* keeping, and <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServices.html">DescribeServices</a> calls on those services return a
|
|
44
44
|
* <code>ServiceNotFoundException</code> error.</p>
|
|
45
45
|
* </note>
|
|
46
46
|
* <important>
|
|
@@ -347,9 +347,19 @@ declare const DeleteServiceCommand_base: {
|
|
|
347
347
|
* <p>These errors are usually caused by a client action. This client action might be using
|
|
348
348
|
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
349
349
|
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
350
|
+
* <p>The following list includes additional causes for the error:</p>
|
|
351
|
+
* <ul>
|
|
352
|
+
* <li>
|
|
353
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
354
|
+
* scaling and there is a capacity error because the quota of tasks in the
|
|
355
|
+
* <code>PROVISIONING</code> per cluster has been reached. For information
|
|
356
|
+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
357
|
+
* service quotas</a>.</p>
|
|
358
|
+
* </li>
|
|
359
|
+
* </ul>
|
|
350
360
|
*
|
|
351
361
|
* @throws {@link ClusterNotFoundException} (client fault)
|
|
352
|
-
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
362
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html">ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
353
363
|
*
|
|
354
364
|
* @throws {@link InvalidParameterException} (client fault)
|
|
355
365
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -359,7 +369,7 @@ declare const DeleteServiceCommand_base: {
|
|
|
359
369
|
* <p>These errors are usually caused by a server issue.</p>
|
|
360
370
|
*
|
|
361
371
|
* @throws {@link ServiceNotFoundException} (client fault)
|
|
362
|
-
* <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
|
|
372
|
+
* <p>The specified service wasn't found. You can view your available services with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html">ListServices</a>. Amazon ECS services are cluster specific and Region
|
|
363
373
|
* specific.</p>
|
|
364
374
|
*
|
|
365
375
|
* @throws {@link ECSServiceException}
|
|
@@ -88,6 +88,13 @@ declare const DeleteTaskDefinitionsCommand_base: {
|
|
|
88
88
|
* // },
|
|
89
89
|
* // ],
|
|
90
90
|
* // essential: true || false,
|
|
91
|
+
* // restartPolicy: { // ContainerRestartPolicy
|
|
92
|
+
* // enabled: true || false, // required
|
|
93
|
+
* // ignoredExitCodes: [ // IntegerList
|
|
94
|
+
* // Number("int"),
|
|
95
|
+
* // ],
|
|
96
|
+
* // restartAttemptPeriod: Number("int"),
|
|
97
|
+
* // },
|
|
91
98
|
* // entryPoint: [
|
|
92
99
|
* // "STRING_VALUE",
|
|
93
100
|
* // ],
|
|
@@ -350,6 +357,16 @@ declare const DeleteTaskDefinitionsCommand_base: {
|
|
|
350
357
|
* <p>These errors are usually caused by a client action. This client action might be using
|
|
351
358
|
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
352
359
|
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
360
|
+
* <p>The following list includes additional causes for the error:</p>
|
|
361
|
+
* <ul>
|
|
362
|
+
* <li>
|
|
363
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
364
|
+
* scaling and there is a capacity error because the quota of tasks in the
|
|
365
|
+
* <code>PROVISIONING</code> per cluster has been reached. For information
|
|
366
|
+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
367
|
+
* service quotas</a>.</p>
|
|
368
|
+
* </li>
|
|
369
|
+
* </ul>
|
|
353
370
|
*
|
|
354
371
|
* @throws {@link InvalidParameterException} (client fault)
|
|
355
372
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -128,9 +128,19 @@ declare const DeleteTaskSetCommand_base: {
|
|
|
128
128
|
* <p>These errors are usually caused by a client action. This client action might be using
|
|
129
129
|
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
130
130
|
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
131
|
+
* <p>The following list includes additional causes for the error:</p>
|
|
132
|
+
* <ul>
|
|
133
|
+
* <li>
|
|
134
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
135
|
+
* scaling and there is a capacity error because the quota of tasks in the
|
|
136
|
+
* <code>PROVISIONING</code> per cluster has been reached. For information
|
|
137
|
+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
138
|
+
* service quotas</a>.</p>
|
|
139
|
+
* </li>
|
|
140
|
+
* </ul>
|
|
131
141
|
*
|
|
132
142
|
* @throws {@link ClusterNotFoundException} (client fault)
|
|
133
|
-
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
143
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html">ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
134
144
|
*
|
|
135
145
|
* @throws {@link InvalidParameterException} (client fault)
|
|
136
146
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -141,14 +151,14 @@ declare const DeleteTaskSetCommand_base: {
|
|
|
141
151
|
*
|
|
142
152
|
* @throws {@link ServiceNotActiveException} (client fault)
|
|
143
153
|
* <p>The specified service isn't active. You can't update a service that's inactive. If you
|
|
144
|
-
* have previously deleted a service, you can re-create it with <a>CreateService</a>.</p>
|
|
154
|
+
* have previously deleted a service, you can re-create it with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html">CreateService</a>.</p>
|
|
145
155
|
*
|
|
146
156
|
* @throws {@link ServiceNotFoundException} (client fault)
|
|
147
|
-
* <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
|
|
157
|
+
* <p>The specified service wasn't found. You can view your available services with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html">ListServices</a>. Amazon ECS services are cluster specific and Region
|
|
148
158
|
* specific.</p>
|
|
149
159
|
*
|
|
150
160
|
* @throws {@link TaskSetNotFoundException} (client fault)
|
|
151
|
-
* <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
|
|
161
|
+
* <p>The specified task set wasn't found. You can view your available task sets with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTaskSets.html">DescribeTaskSets</a>. Task sets are specific to each cluster, service and
|
|
152
162
|
* Region.</p>
|
|
153
163
|
*
|
|
154
164
|
* @throws {@link UnsupportedFeatureException} (client fault)
|
|
@@ -149,9 +149,19 @@ declare const DeregisterContainerInstanceCommand_base: {
|
|
|
149
149
|
* <p>These errors are usually caused by a client action. This client action might be using
|
|
150
150
|
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
151
151
|
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
152
|
+
* <p>The following list includes additional causes for the error:</p>
|
|
153
|
+
* <ul>
|
|
154
|
+
* <li>
|
|
155
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
156
|
+
* scaling and there is a capacity error because the quota of tasks in the
|
|
157
|
+
* <code>PROVISIONING</code> per cluster has been reached. For information
|
|
158
|
+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
159
|
+
* service quotas</a>.</p>
|
|
160
|
+
* </li>
|
|
161
|
+
* </ul>
|
|
152
162
|
*
|
|
153
163
|
* @throws {@link ClusterNotFoundException} (client fault)
|
|
154
|
-
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
164
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html">ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
155
165
|
*
|
|
156
166
|
* @throws {@link InvalidParameterException} (client fault)
|
|
157
167
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -83,6 +83,13 @@ declare const DeregisterTaskDefinitionCommand_base: {
|
|
|
83
83
|
* // },
|
|
84
84
|
* // ],
|
|
85
85
|
* // essential: true || false,
|
|
86
|
+
* // restartPolicy: { // ContainerRestartPolicy
|
|
87
|
+
* // enabled: true || false, // required
|
|
88
|
+
* // ignoredExitCodes: [ // IntegerList
|
|
89
|
+
* // Number("int"),
|
|
90
|
+
* // ],
|
|
91
|
+
* // restartAttemptPeriod: Number("int"),
|
|
92
|
+
* // },
|
|
86
93
|
* // entryPoint: [
|
|
87
94
|
* // "STRING_VALUE",
|
|
88
95
|
* // ],
|
|
@@ -334,6 +341,16 @@ declare const DeregisterTaskDefinitionCommand_base: {
|
|
|
334
341
|
* <p>These errors are usually caused by a client action. This client action might be using
|
|
335
342
|
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
336
343
|
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
344
|
+
* <p>The following list includes additional causes for the error:</p>
|
|
345
|
+
* <ul>
|
|
346
|
+
* <li>
|
|
347
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
348
|
+
* scaling and there is a capacity error because the quota of tasks in the
|
|
349
|
+
* <code>PROVISIONING</code> per cluster has been reached. For information
|
|
350
|
+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
351
|
+
* service quotas</a>.</p>
|
|
352
|
+
* </li>
|
|
353
|
+
* </ul>
|
|
337
354
|
*
|
|
338
355
|
* @throws {@link InvalidParameterException} (client fault)
|
|
339
356
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -96,6 +96,16 @@ declare const DescribeCapacityProvidersCommand_base: {
|
|
|
96
96
|
* <p>These errors are usually caused by a client action. This client action might be using
|
|
97
97
|
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
98
98
|
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
99
|
+
* <p>The following list includes additional causes for the error:</p>
|
|
100
|
+
* <ul>
|
|
101
|
+
* <li>
|
|
102
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
103
|
+
* scaling and there is a capacity error because the quota of tasks in the
|
|
104
|
+
* <code>PROVISIONING</code> per cluster has been reached. For information
|
|
105
|
+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
106
|
+
* service quotas</a>.</p>
|
|
107
|
+
* </li>
|
|
108
|
+
* </ul>
|
|
99
109
|
*
|
|
100
110
|
* @throws {@link InvalidParameterException} (client fault)
|
|
101
111
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -139,6 +139,16 @@ declare const DescribeClustersCommand_base: {
|
|
|
139
139
|
* <p>These errors are usually caused by a client action. This client action might be using
|
|
140
140
|
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
141
141
|
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
142
|
+
* <p>The following list includes additional causes for the error:</p>
|
|
143
|
+
* <ul>
|
|
144
|
+
* <li>
|
|
145
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
146
|
+
* scaling and there is a capacity error because the quota of tasks in the
|
|
147
|
+
* <code>PROVISIONING</code> per cluster has been reached. For information
|
|
148
|
+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
149
|
+
* service quotas</a>.</p>
|
|
150
|
+
* </li>
|
|
151
|
+
* </ul>
|
|
142
152
|
*
|
|
143
153
|
* @throws {@link InvalidParameterException} (client fault)
|
|
144
154
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -150,9 +150,19 @@ declare const DescribeContainerInstancesCommand_base: {
|
|
|
150
150
|
* <p>These errors are usually caused by a client action. This client action might be using
|
|
151
151
|
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
152
152
|
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
153
|
+
* <p>The following list includes additional causes for the error:</p>
|
|
154
|
+
* <ul>
|
|
155
|
+
* <li>
|
|
156
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
157
|
+
* scaling and there is a capacity error because the quota of tasks in the
|
|
158
|
+
* <code>PROVISIONING</code> per cluster has been reached. For information
|
|
159
|
+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
160
|
+
* service quotas</a>.</p>
|
|
161
|
+
* </li>
|
|
162
|
+
* </ul>
|
|
153
163
|
*
|
|
154
164
|
* @throws {@link ClusterNotFoundException} (client fault)
|
|
155
|
-
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
165
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html">ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
156
166
|
*
|
|
157
167
|
* @throws {@link InvalidParameterException} (client fault)
|
|
158
168
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -340,9 +340,19 @@ declare const DescribeServicesCommand_base: {
|
|
|
340
340
|
* <p>These errors are usually caused by a client action. This client action might be using
|
|
341
341
|
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
342
342
|
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
343
|
+
* <p>The following list includes additional causes for the error:</p>
|
|
344
|
+
* <ul>
|
|
345
|
+
* <li>
|
|
346
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
347
|
+
* scaling and there is a capacity error because the quota of tasks in the
|
|
348
|
+
* <code>PROVISIONING</code> per cluster has been reached. For information
|
|
349
|
+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
350
|
+
* service quotas</a>.</p>
|
|
351
|
+
* </li>
|
|
352
|
+
* </ul>
|
|
343
353
|
*
|
|
344
354
|
* @throws {@link ClusterNotFoundException} (client fault)
|
|
345
|
-
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
355
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html">ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
346
356
|
*
|
|
347
357
|
* @throws {@link InvalidParameterException} (client fault)
|
|
348
358
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -76,6 +76,13 @@ declare const DescribeTaskDefinitionCommand_base: {
|
|
|
76
76
|
* // },
|
|
77
77
|
* // ],
|
|
78
78
|
* // essential: true || false,
|
|
79
|
+
* // restartPolicy: { // ContainerRestartPolicy
|
|
80
|
+
* // enabled: true || false, // required
|
|
81
|
+
* // ignoredExitCodes: [ // IntegerList
|
|
82
|
+
* // Number("int"),
|
|
83
|
+
* // ],
|
|
84
|
+
* // restartAttemptPeriod: Number("int"),
|
|
85
|
+
* // },
|
|
79
86
|
* // entryPoint: [
|
|
80
87
|
* // "STRING_VALUE",
|
|
81
88
|
* // ],
|
|
@@ -333,6 +340,16 @@ declare const DescribeTaskDefinitionCommand_base: {
|
|
|
333
340
|
* <p>These errors are usually caused by a client action. This client action might be using
|
|
334
341
|
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
335
342
|
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
343
|
+
* <p>The following list includes additional causes for the error:</p>
|
|
344
|
+
* <ul>
|
|
345
|
+
* <li>
|
|
346
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
347
|
+
* scaling and there is a capacity error because the quota of tasks in the
|
|
348
|
+
* <code>PROVISIONING</code> per cluster has been reached. For information
|
|
349
|
+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
350
|
+
* service quotas</a>.</p>
|
|
351
|
+
* </li>
|
|
352
|
+
* </ul>
|
|
336
353
|
*
|
|
337
354
|
* @throws {@link InvalidParameterException} (client fault)
|
|
338
355
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -143,9 +143,19 @@ declare const DescribeTaskSetsCommand_base: {
|
|
|
143
143
|
* <p>These errors are usually caused by a client action. This client action might be using
|
|
144
144
|
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
145
145
|
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
146
|
+
* <p>The following list includes additional causes for the error:</p>
|
|
147
|
+
* <ul>
|
|
148
|
+
* <li>
|
|
149
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
150
|
+
* scaling and there is a capacity error because the quota of tasks in the
|
|
151
|
+
* <code>PROVISIONING</code> per cluster has been reached. For information
|
|
152
|
+
* about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS
|
|
153
|
+
* service quotas</a>.</p>
|
|
154
|
+
* </li>
|
|
155
|
+
* </ul>
|
|
146
156
|
*
|
|
147
157
|
* @throws {@link ClusterNotFoundException} (client fault)
|
|
148
|
-
* <p>The specified cluster wasn't found. You can view your available clusters with <a>ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
158
|
+
* <p>The specified cluster wasn't found. You can view your available clusters with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html">ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
149
159
|
*
|
|
150
160
|
* @throws {@link InvalidParameterException} (client fault)
|
|
151
161
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -156,10 +166,10 @@ declare const DescribeTaskSetsCommand_base: {
|
|
|
156
166
|
*
|
|
157
167
|
* @throws {@link ServiceNotActiveException} (client fault)
|
|
158
168
|
* <p>The specified service isn't active. You can't update a service that's inactive. If you
|
|
159
|
-
* have previously deleted a service, you can re-create it with <a>CreateService</a>.</p>
|
|
169
|
+
* have previously deleted a service, you can re-create it with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html">CreateService</a>.</p>
|
|
160
170
|
*
|
|
161
171
|
* @throws {@link ServiceNotFoundException} (client fault)
|
|
162
|
-
* <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
|
|
172
|
+
* <p>The specified service wasn't found. You can view your available services with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html">ListServices</a>. Amazon ECS services are cluster specific and Region
|
|
163
173
|
* specific.</p>
|
|
164
174
|
*
|
|
165
175
|
* @throws {@link UnsupportedFeatureException} (client fault)
|