@aws-sdk/client-ecs 3.693.0 → 3.696.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/README.md +11 -12
- package/dist-cjs/index.js +10 -2
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +2 -0
- package/dist-types/ECS.d.ts +11 -12
- package/dist-types/ECSClient.d.ts +11 -12
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +17 -22
- package/dist-types/commands/CreateClusterCommand.d.ts +17 -19
- package/dist-types/commands/CreateServiceCommand.d.ts +89 -80
- package/dist-types/commands/CreateTaskSetCommand.d.ts +15 -19
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +9 -12
- package/dist-types/commands/DeleteAttributesCommand.d.ts +2 -4
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +17 -21
- package/dist-types/commands/DeleteClusterCommand.d.ts +23 -27
- package/dist-types/commands/DeleteServiceCommand.d.ts +30 -29
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +24 -28
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +14 -17
- package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +19 -22
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +24 -26
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +8 -10
- package/dist-types/commands/DescribeClustersCommand.d.ts +8 -10
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +10 -12
- package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +9 -12
- package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +16 -12
- package/dist-types/commands/DescribeServicesCommand.d.ts +15 -10
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +14 -16
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +13 -17
- package/dist-types/commands/DescribeTasksCommand.d.ts +11 -13
- package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +7 -8
- package/dist-types/commands/ExecuteCommandCommand.d.ts +19 -23
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +8 -10
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +8 -10
- package/dist-types/commands/ListAttributesCommand.d.ts +6 -8
- package/dist-types/commands/ListClustersCommand.d.ts +8 -10
- package/dist-types/commands/ListContainerInstancesCommand.d.ts +12 -13
- package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +9 -12
- package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +12 -15
- package/dist-types/commands/ListServicesCommand.d.ts +10 -12
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -10
- package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +13 -17
- package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +11 -13
- package/dist-types/commands/ListTasksCommand.d.ts +12 -15
- package/dist-types/commands/PutAccountSettingCommand.d.ts +11 -14
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +10 -12
- package/dist-types/commands/PutAttributesCommand.d.ts +7 -11
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +24 -29
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +10 -12
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +23 -23
- package/dist-types/commands/RunTaskCommand.d.ts +33 -37
- package/dist-types/commands/StartTaskCommand.d.ts +16 -16
- package/dist-types/commands/StopTaskCommand.d.ts +18 -22
- package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +8 -10
- package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +7 -8
- package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +8 -10
- package/dist-types/commands/TagResourceCommand.d.ts +11 -14
- package/dist-types/commands/UntagResourceCommand.d.ts +8 -10
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +9 -11
- package/dist-types/commands/UpdateClusterCommand.d.ts +8 -10
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +8 -10
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +33 -37
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +42 -48
- package/dist-types/commands/UpdateServiceCommand.d.ts +105 -101
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +15 -20
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +20 -25
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +15 -19
- package/dist-types/index.d.ts +11 -12
- package/dist-types/models/models_0.d.ts +2882 -3340
- package/dist-types/models/models_1.d.ts +166 -152
- package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +15 -7
- package/dist-types/ts3.4/models/models_1.d.ts +11 -0
- package/package.json +36 -36
|
@@ -27,19 +27,18 @@ declare const DeregisterContainerInstanceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deregisters an Amazon ECS container instance from the specified cluster. This instance is
|
|
31
|
-
*
|
|
32
|
-
* <p>If you intend to use the container instance for some other purpose after
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* it in the Amazon EC2 console to stop billing.</p>
|
|
30
|
+
* <p>Deregisters an Amazon ECS container instance from the specified cluster. This instance is no longer
|
|
31
|
+
* available to run tasks.</p>
|
|
32
|
+
* <p>If you intend to use the container instance for some other purpose after deregistration, we recommend
|
|
33
|
+
* that you stop all of the tasks running on the container instance before deregistration. That prevents
|
|
34
|
+
* any orphaned tasks from consuming resources.</p>
|
|
35
|
+
* <p>Deregistering a container instance removes the instance from a cluster, but it doesn't terminate the
|
|
36
|
+
* EC2 instance. If you are finished using the instance, be sure to terminate it in the Amazon EC2 console to
|
|
37
|
+
* stop billing.</p>
|
|
39
38
|
* <note>
|
|
40
|
-
* <p>If you terminate a running container instance, Amazon ECS automatically deregisters the
|
|
41
|
-
*
|
|
42
|
-
*
|
|
39
|
+
* <p>If you terminate a running container instance, Amazon ECS automatically deregisters the instance from
|
|
40
|
+
* your cluster (stopped container instances or instances with disconnected agents aren't
|
|
41
|
+
* automatically deregistered when terminated).</p>
|
|
43
42
|
* </note>
|
|
44
43
|
* @example
|
|
45
44
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -146,17 +145,16 @@ declare const DeregisterContainerInstanceCommand_base: {
|
|
|
146
145
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
147
146
|
*
|
|
148
147
|
* @throws {@link ClientException} (client fault)
|
|
149
|
-
* <p>These errors are usually caused by a client action. This client action might be using
|
|
150
|
-
*
|
|
151
|
-
*
|
|
148
|
+
* <p>These errors are usually caused by a client action. This client action might be using an action or
|
|
149
|
+
* resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
|
|
150
|
+
* be specifying an identifier that isn't valid.</p>
|
|
152
151
|
* <p>The following list includes additional causes for the error:</p>
|
|
153
152
|
* <ul>
|
|
154
153
|
* <li>
|
|
155
|
-
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
* service quotas</a>.</p>
|
|
154
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
|
|
155
|
+
* a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
|
|
156
|
+
* been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service
|
|
157
|
+
* quotas</a>.</p>
|
|
160
158
|
* </li>
|
|
161
159
|
* </ul>
|
|
162
160
|
*
|
|
@@ -164,8 +162,7 @@ declare const DeregisterContainerInstanceCommand_base: {
|
|
|
164
162
|
* <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>
|
|
165
163
|
*
|
|
166
164
|
* @throws {@link InvalidParameterException} (client fault)
|
|
167
|
-
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
168
|
-
* request.</p>
|
|
165
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
|
|
169
166
|
*
|
|
170
167
|
* @throws {@link ServerException} (server fault)
|
|
171
168
|
* <p>These errors are usually caused by a server issue.</p>
|
|
@@ -27,24 +27,23 @@ declare const DeregisterTaskDefinitionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deregisters the specified task definition by family and revision. Upon deregistration,
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* <p>You can't use an <code>INACTIVE</code> task definition to run new tasks or create new
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
30
|
+
* <p>Deregisters the specified task definition by family and revision. Upon deregistration, the task
|
|
31
|
+
* definition is marked as <code>INACTIVE</code>. Existing tasks and services that reference an
|
|
32
|
+
* <code>INACTIVE</code> task definition continue to run without disruption. Existing services that
|
|
33
|
+
* reference an <code>INACTIVE</code> task definition can still scale up or down by modifying the
|
|
34
|
+
* service's desired count. If you want to delete a task definition revision, you must first deregister
|
|
35
|
+
* the task definition revision.</p>
|
|
36
|
+
* <p>You can't use an <code>INACTIVE</code> task definition to run new tasks or create new services, and
|
|
37
|
+
* you can't update an existing service to reference an <code>INACTIVE</code> task definition. However,
|
|
38
|
+
* there may be up to a 10-minute window following deregistration where these restrictions have not yet
|
|
39
|
+
* taken effect.</p>
|
|
40
40
|
* <note>
|
|
41
|
-
* <p>At this time, <code>INACTIVE</code> task definitions remain discoverable in your
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
41
|
+
* <p>At this time, <code>INACTIVE</code> task definitions remain discoverable in your account
|
|
42
|
+
* indefinitely. However, this behavior is subject to change in the future. We don't recommend that
|
|
43
|
+
* you rely on <code>INACTIVE</code> task definitions persisting beyond the lifecycle of any
|
|
44
|
+
* associated tasks and services.</p>
|
|
45
45
|
* </note>
|
|
46
|
-
* <p>You must deregister a task definition revision before you delete it. For more
|
|
47
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteTaskDefinitions.html">DeleteTaskDefinitions</a>.</p>
|
|
46
|
+
* <p>You must deregister a task definition revision before you delete it. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteTaskDefinitions.html">DeleteTaskDefinitions</a>.</p>
|
|
48
47
|
* @example
|
|
49
48
|
* Use a bare-bones client and the command you need to make an API call.
|
|
50
49
|
* ```javascript
|
|
@@ -165,6 +164,7 @@ declare const DeregisterTaskDefinitionCommand_base: {
|
|
|
165
164
|
* // ],
|
|
166
165
|
* // startTimeout: Number("int"),
|
|
167
166
|
* // stopTimeout: Number("int"),
|
|
167
|
+
* // versionConsistency: "enabled" || "disabled",
|
|
168
168
|
* // hostname: "STRING_VALUE",
|
|
169
169
|
* // user: "STRING_VALUE",
|
|
170
170
|
* // workingDirectory: "STRING_VALUE",
|
|
@@ -338,23 +338,21 @@ declare const DeregisterTaskDefinitionCommand_base: {
|
|
|
338
338
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
339
339
|
*
|
|
340
340
|
* @throws {@link ClientException} (client fault)
|
|
341
|
-
* <p>These errors are usually caused by a client action. This client action might be using
|
|
342
|
-
*
|
|
343
|
-
*
|
|
341
|
+
* <p>These errors are usually caused by a client action. This client action might be using an action or
|
|
342
|
+
* resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
|
|
343
|
+
* be specifying an identifier that isn't valid.</p>
|
|
344
344
|
* <p>The following list includes additional causes for the error:</p>
|
|
345
345
|
* <ul>
|
|
346
346
|
* <li>
|
|
347
|
-
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
348
|
-
*
|
|
349
|
-
*
|
|
350
|
-
*
|
|
351
|
-
* service quotas</a>.</p>
|
|
347
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
|
|
348
|
+
* a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
|
|
349
|
+
* been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service
|
|
350
|
+
* quotas</a>.</p>
|
|
352
351
|
* </li>
|
|
353
352
|
* </ul>
|
|
354
353
|
*
|
|
355
354
|
* @throws {@link InvalidParameterException} (client fault)
|
|
356
|
-
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
357
|
-
* request.</p>
|
|
355
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
|
|
358
356
|
*
|
|
359
357
|
* @throws {@link ServerException} (server fault)
|
|
360
358
|
* <p>These errors are usually caused by a server issue.</p>
|
|
@@ -93,23 +93,21 @@ declare const DescribeCapacityProvidersCommand_base: {
|
|
|
93
93
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
94
94
|
*
|
|
95
95
|
* @throws {@link ClientException} (client fault)
|
|
96
|
-
* <p>These errors are usually caused by a client action. This client action might be using
|
|
97
|
-
*
|
|
98
|
-
*
|
|
96
|
+
* <p>These errors are usually caused by a client action. This client action might be using an action or
|
|
97
|
+
* resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
|
|
98
|
+
* be specifying an identifier that isn't valid.</p>
|
|
99
99
|
* <p>The following list includes additional causes for the error:</p>
|
|
100
100
|
* <ul>
|
|
101
101
|
* <li>
|
|
102
|
-
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
* service quotas</a>.</p>
|
|
102
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
|
|
103
|
+
* a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
|
|
104
|
+
* been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service
|
|
105
|
+
* quotas</a>.</p>
|
|
107
106
|
* </li>
|
|
108
107
|
* </ul>
|
|
109
108
|
*
|
|
110
109
|
* @throws {@link InvalidParameterException} (client fault)
|
|
111
|
-
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
112
|
-
* request.</p>
|
|
110
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
|
|
113
111
|
*
|
|
114
112
|
* @throws {@link ServerException} (server fault)
|
|
115
113
|
* <p>These errors are usually caused by a server issue.</p>
|
|
@@ -136,23 +136,21 @@ declare const DescribeClustersCommand_base: {
|
|
|
136
136
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
137
137
|
*
|
|
138
138
|
* @throws {@link ClientException} (client fault)
|
|
139
|
-
* <p>These errors are usually caused by a client action. This client action might be using
|
|
140
|
-
*
|
|
141
|
-
*
|
|
139
|
+
* <p>These errors are usually caused by a client action. This client action might be using an action or
|
|
140
|
+
* resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
|
|
141
|
+
* be specifying an identifier that isn't valid.</p>
|
|
142
142
|
* <p>The following list includes additional causes for the error:</p>
|
|
143
143
|
* <ul>
|
|
144
144
|
* <li>
|
|
145
|
-
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
* service quotas</a>.</p>
|
|
145
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
|
|
146
|
+
* a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
|
|
147
|
+
* been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service
|
|
148
|
+
* quotas</a>.</p>
|
|
150
149
|
* </li>
|
|
151
150
|
* </ul>
|
|
152
151
|
*
|
|
153
152
|
* @throws {@link InvalidParameterException} (client fault)
|
|
154
|
-
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
155
|
-
* request.</p>
|
|
153
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
|
|
156
154
|
*
|
|
157
155
|
* @throws {@link ServerException} (server fault)
|
|
158
156
|
* <p>These errors are usually caused by a server issue.</p>
|
|
@@ -27,8 +27,8 @@ declare const DescribeContainerInstancesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Describes one or more container instances. Returns metadata about each container
|
|
31
|
-
*
|
|
30
|
+
* <p>Describes one or more container instances. Returns metadata about each container instance
|
|
31
|
+
* requested.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -147,17 +147,16 @@ declare const DescribeContainerInstancesCommand_base: {
|
|
|
147
147
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
148
148
|
*
|
|
149
149
|
* @throws {@link ClientException} (client fault)
|
|
150
|
-
* <p>These errors are usually caused by a client action. This client action might be using
|
|
151
|
-
*
|
|
152
|
-
*
|
|
150
|
+
* <p>These errors are usually caused by a client action. This client action might be using an action or
|
|
151
|
+
* resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
|
|
152
|
+
* be specifying an identifier that isn't valid.</p>
|
|
153
153
|
* <p>The following list includes additional causes for the error:</p>
|
|
154
154
|
* <ul>
|
|
155
155
|
* <li>
|
|
156
|
-
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
* service quotas</a>.</p>
|
|
156
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
|
|
157
|
+
* a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
|
|
158
|
+
* been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service
|
|
159
|
+
* quotas</a>.</p>
|
|
161
160
|
* </li>
|
|
162
161
|
* </ul>
|
|
163
162
|
*
|
|
@@ -165,8 +164,7 @@ declare const DescribeContainerInstancesCommand_base: {
|
|
|
165
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>
|
|
166
165
|
*
|
|
167
166
|
* @throws {@link InvalidParameterException} (client fault)
|
|
168
|
-
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
169
|
-
* request.</p>
|
|
167
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
|
|
170
168
|
*
|
|
171
169
|
* @throws {@link ServerException} (server fault)
|
|
172
170
|
* <p>These errors are usually caused by a server issue.</p>
|
|
@@ -126,17 +126,16 @@ declare const DescribeServiceDeploymentsCommand_base: {
|
|
|
126
126
|
* <p>You don't have authorization to perform the requested action.</p>
|
|
127
127
|
*
|
|
128
128
|
* @throws {@link ClientException} (client fault)
|
|
129
|
-
* <p>These errors are usually caused by a client action. This client action might be using
|
|
130
|
-
*
|
|
131
|
-
*
|
|
129
|
+
* <p>These errors are usually caused by a client action. This client action might be using an action or
|
|
130
|
+
* resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
|
|
131
|
+
* be specifying an identifier that isn't valid.</p>
|
|
132
132
|
* <p>The following list includes additional causes for the error:</p>
|
|
133
133
|
* <ul>
|
|
134
134
|
* <li>
|
|
135
|
-
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
* service quotas</a>.</p>
|
|
135
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
|
|
136
|
+
* a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
|
|
137
|
+
* been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service
|
|
138
|
+
* quotas</a>.</p>
|
|
140
139
|
* </li>
|
|
141
140
|
* </ul>
|
|
142
141
|
*
|
|
@@ -144,15 +143,13 @@ declare const DescribeServiceDeploymentsCommand_base: {
|
|
|
144
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>
|
|
145
144
|
*
|
|
146
145
|
* @throws {@link InvalidParameterException} (client fault)
|
|
147
|
-
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
148
|
-
* request.</p>
|
|
146
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
|
|
149
147
|
*
|
|
150
148
|
* @throws {@link ServerException} (server fault)
|
|
151
149
|
* <p>These errors are usually caused by a server issue.</p>
|
|
152
150
|
*
|
|
153
151
|
* @throws {@link ServiceNotFoundException} (client fault)
|
|
154
|
-
* <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
|
|
155
|
-
* specific.</p>
|
|
152
|
+
* <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 specific.</p>
|
|
156
153
|
*
|
|
157
154
|
* @throws {@link UnsupportedFeatureException} (client fault)
|
|
158
155
|
* <p>The specified task isn't supported in this Region.</p>
|
|
@@ -169,6 +169,13 @@ declare const DescribeServiceRevisionsCommand_base: {
|
|
|
169
169
|
* // kmsKeyId: "STRING_VALUE",
|
|
170
170
|
* // },
|
|
171
171
|
* // createdAt: new Date("TIMESTAMP"),
|
|
172
|
+
* // vpcLatticeConfigurations: [ // VpcLatticeConfigurations
|
|
173
|
+
* // { // VpcLatticeConfiguration
|
|
174
|
+
* // roleArn: "STRING_VALUE", // required
|
|
175
|
+
* // targetGroupArn: "STRING_VALUE", // required
|
|
176
|
+
* // portName: "STRING_VALUE", // required
|
|
177
|
+
* // },
|
|
178
|
+
* // ],
|
|
172
179
|
* // },
|
|
173
180
|
* // ],
|
|
174
181
|
* // failures: [ // Failures
|
|
@@ -192,17 +199,16 @@ declare const DescribeServiceRevisionsCommand_base: {
|
|
|
192
199
|
* <p>You don't have authorization to perform the requested action.</p>
|
|
193
200
|
*
|
|
194
201
|
* @throws {@link ClientException} (client fault)
|
|
195
|
-
* <p>These errors are usually caused by a client action. This client action might be using
|
|
196
|
-
*
|
|
197
|
-
*
|
|
202
|
+
* <p>These errors are usually caused by a client action. This client action might be using an action or
|
|
203
|
+
* resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
|
|
204
|
+
* be specifying an identifier that isn't valid.</p>
|
|
198
205
|
* <p>The following list includes additional causes for the error:</p>
|
|
199
206
|
* <ul>
|
|
200
207
|
* <li>
|
|
201
|
-
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
* service quotas</a>.</p>
|
|
208
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
|
|
209
|
+
* a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
|
|
210
|
+
* been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service
|
|
211
|
+
* quotas</a>.</p>
|
|
206
212
|
* </li>
|
|
207
213
|
* </ul>
|
|
208
214
|
*
|
|
@@ -210,15 +216,13 @@ declare const DescribeServiceRevisionsCommand_base: {
|
|
|
210
216
|
* <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>
|
|
211
217
|
*
|
|
212
218
|
* @throws {@link InvalidParameterException} (client fault)
|
|
213
|
-
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
214
|
-
* request.</p>
|
|
219
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
|
|
215
220
|
*
|
|
216
221
|
* @throws {@link ServerException} (server fault)
|
|
217
222
|
* <p>These errors are usually caused by a server issue.</p>
|
|
218
223
|
*
|
|
219
224
|
* @throws {@link ServiceNotFoundException} (client fault)
|
|
220
|
-
* <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
|
|
221
|
-
* specific.</p>
|
|
225
|
+
* <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 specific.</p>
|
|
222
226
|
*
|
|
223
227
|
* @throws {@link UnsupportedFeatureException} (client fault)
|
|
224
228
|
* <p>The specified task isn't supported in this Region.</p>
|
|
@@ -277,6 +277,13 @@ declare const DescribeServicesCommand_base: {
|
|
|
277
277
|
* // fargateEphemeralStorage: {
|
|
278
278
|
* // kmsKeyId: "STRING_VALUE",
|
|
279
279
|
* // },
|
|
280
|
+
* // vpcLatticeConfigurations: [ // VpcLatticeConfigurations
|
|
281
|
+
* // { // VpcLatticeConfiguration
|
|
282
|
+
* // roleArn: "STRING_VALUE", // required
|
|
283
|
+
* // targetGroupArn: "STRING_VALUE", // required
|
|
284
|
+
* // portName: "STRING_VALUE", // required
|
|
285
|
+
* // },
|
|
286
|
+
* // ],
|
|
280
287
|
* // },
|
|
281
288
|
* // ],
|
|
282
289
|
* // roleArn: "STRING_VALUE",
|
|
@@ -337,17 +344,16 @@ declare const DescribeServicesCommand_base: {
|
|
|
337
344
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
338
345
|
*
|
|
339
346
|
* @throws {@link ClientException} (client fault)
|
|
340
|
-
* <p>These errors are usually caused by a client action. This client action might be using
|
|
341
|
-
*
|
|
342
|
-
*
|
|
347
|
+
* <p>These errors are usually caused by a client action. This client action might be using an action or
|
|
348
|
+
* resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
|
|
349
|
+
* be specifying an identifier that isn't valid.</p>
|
|
343
350
|
* <p>The following list includes additional causes for the error:</p>
|
|
344
351
|
* <ul>
|
|
345
352
|
* <li>
|
|
346
|
-
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
347
|
-
*
|
|
348
|
-
*
|
|
349
|
-
*
|
|
350
|
-
* service quotas</a>.</p>
|
|
353
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
|
|
354
|
+
* a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
|
|
355
|
+
* been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service
|
|
356
|
+
* quotas</a>.</p>
|
|
351
357
|
* </li>
|
|
352
358
|
* </ul>
|
|
353
359
|
*
|
|
@@ -355,8 +361,7 @@ declare const DescribeServicesCommand_base: {
|
|
|
355
361
|
* <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>
|
|
356
362
|
*
|
|
357
363
|
* @throws {@link InvalidParameterException} (client fault)
|
|
358
|
-
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
359
|
-
* request.</p>
|
|
364
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
|
|
360
365
|
*
|
|
361
366
|
* @throws {@link ServerException} (server fault)
|
|
362
367
|
* <p>These errors are usually caused by a server issue.</p>
|
|
@@ -27,13 +27,12 @@ declare const DescribeTaskDefinitionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Describes a task definition. You can specify a <code>family</code> and
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* family.</p>
|
|
30
|
+
* <p>Describes a task definition. You can specify a <code>family</code> and <code>revision</code> to find
|
|
31
|
+
* information about a specific task definition, or you can simply specify the family to find the latest
|
|
32
|
+
* <code>ACTIVE</code> revision in that family.</p>
|
|
34
33
|
* <note>
|
|
35
|
-
* <p>You can only describe <code>INACTIVE</code> task definitions while an active task
|
|
36
|
-
*
|
|
34
|
+
* <p>You can only describe <code>INACTIVE</code> task definitions while an active task or service
|
|
35
|
+
* references them.</p>
|
|
37
36
|
* </note>
|
|
38
37
|
* @example
|
|
39
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -158,6 +157,7 @@ declare const DescribeTaskDefinitionCommand_base: {
|
|
|
158
157
|
* // ],
|
|
159
158
|
* // startTimeout: Number("int"),
|
|
160
159
|
* // stopTimeout: Number("int"),
|
|
160
|
+
* // versionConsistency: "enabled" || "disabled",
|
|
161
161
|
* // hostname: "STRING_VALUE",
|
|
162
162
|
* // user: "STRING_VALUE",
|
|
163
163
|
* // workingDirectory: "STRING_VALUE",
|
|
@@ -337,23 +337,21 @@ declare const DescribeTaskDefinitionCommand_base: {
|
|
|
337
337
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
338
338
|
*
|
|
339
339
|
* @throws {@link ClientException} (client fault)
|
|
340
|
-
* <p>These errors are usually caused by a client action. This client action might be using
|
|
341
|
-
*
|
|
342
|
-
*
|
|
340
|
+
* <p>These errors are usually caused by a client action. This client action might be using an action or
|
|
341
|
+
* resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
|
|
342
|
+
* be specifying an identifier that isn't valid.</p>
|
|
343
343
|
* <p>The following list includes additional causes for the error:</p>
|
|
344
344
|
* <ul>
|
|
345
345
|
* <li>
|
|
346
|
-
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
347
|
-
*
|
|
348
|
-
*
|
|
349
|
-
*
|
|
350
|
-
* service quotas</a>.</p>
|
|
346
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
|
|
347
|
+
* a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
|
|
348
|
+
* been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service
|
|
349
|
+
* quotas</a>.</p>
|
|
351
350
|
* </li>
|
|
352
351
|
* </ul>
|
|
353
352
|
*
|
|
354
353
|
* @throws {@link InvalidParameterException} (client fault)
|
|
355
|
-
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
356
|
-
* request.</p>
|
|
354
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
|
|
357
355
|
*
|
|
358
356
|
* @throws {@link ServerException} (server fault)
|
|
359
357
|
* <p>These errors are usually caused by a server issue.</p>
|
|
@@ -27,9 +27,8 @@ declare const DescribeTaskSetsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Describes the task sets in the specified cluster and service. This is used when a
|
|
31
|
-
*
|
|
32
|
-
* see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS Deployment
|
|
30
|
+
* <p>Describes the task sets in the specified cluster and service. This is used when a service uses the
|
|
31
|
+
* <code>EXTERNAL</code> deployment controller type. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS Deployment
|
|
33
32
|
* Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
34
33
|
* @example
|
|
35
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -140,17 +139,16 @@ declare const DescribeTaskSetsCommand_base: {
|
|
|
140
139
|
* <p>You don't have authorization to perform the requested action.</p>
|
|
141
140
|
*
|
|
142
141
|
* @throws {@link ClientException} (client fault)
|
|
143
|
-
* <p>These errors are usually caused by a client action. This client action might be using
|
|
144
|
-
*
|
|
145
|
-
*
|
|
142
|
+
* <p>These errors are usually caused by a client action. This client action might be using an action or
|
|
143
|
+
* resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
|
|
144
|
+
* be specifying an identifier that isn't valid.</p>
|
|
146
145
|
* <p>The following list includes additional causes for the error:</p>
|
|
147
146
|
* <ul>
|
|
148
147
|
* <li>
|
|
149
|
-
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
* service quotas</a>.</p>
|
|
148
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
|
|
149
|
+
* a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
|
|
150
|
+
* been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service
|
|
151
|
+
* quotas</a>.</p>
|
|
154
152
|
* </li>
|
|
155
153
|
* </ul>
|
|
156
154
|
*
|
|
@@ -158,19 +156,17 @@ declare const DescribeTaskSetsCommand_base: {
|
|
|
158
156
|
* <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>
|
|
159
157
|
*
|
|
160
158
|
* @throws {@link InvalidParameterException} (client fault)
|
|
161
|
-
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
162
|
-
* request.</p>
|
|
159
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
|
|
163
160
|
*
|
|
164
161
|
* @throws {@link ServerException} (server fault)
|
|
165
162
|
* <p>These errors are usually caused by a server issue.</p>
|
|
166
163
|
*
|
|
167
164
|
* @throws {@link ServiceNotActiveException} (client fault)
|
|
168
|
-
* <p>The specified service isn't active. You can't update a service that's inactive. If you
|
|
169
|
-
*
|
|
165
|
+
* <p>The specified service isn't active. You can't update a service that's inactive. If you have
|
|
166
|
+
* 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>
|
|
170
167
|
*
|
|
171
168
|
* @throws {@link ServiceNotFoundException} (client fault)
|
|
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
|
|
173
|
-
* specific.</p>
|
|
169
|
+
* <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 specific.</p>
|
|
174
170
|
*
|
|
175
171
|
* @throws {@link UnsupportedFeatureException} (client fault)
|
|
176
172
|
* <p>The specified task isn't supported in this Region.</p>
|
|
@@ -29,9 +29,9 @@ declare const DescribeTasksCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Describes a specified task or tasks.</p>
|
|
31
31
|
* <p>Currently, stopped tasks appear in the returned results for at least one hour.</p>
|
|
32
|
-
* <p>If you have tasks with tags, and then delete the cluster, the tagged tasks are
|
|
33
|
-
*
|
|
34
|
-
*
|
|
32
|
+
* <p>If you have tasks with tags, and then delete the cluster, the tagged tasks are returned in the
|
|
33
|
+
* response. If you create a new cluster with the same name as the deleted cluster, the tagged tasks are
|
|
34
|
+
* not included in the response.</p>
|
|
35
35
|
* @example
|
|
36
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
37
|
* ```javascript
|
|
@@ -230,17 +230,16 @@ declare const DescribeTasksCommand_base: {
|
|
|
230
230
|
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
231
231
|
*
|
|
232
232
|
* @throws {@link ClientException} (client fault)
|
|
233
|
-
* <p>These errors are usually caused by a client action. This client action might be using
|
|
234
|
-
*
|
|
235
|
-
*
|
|
233
|
+
* <p>These errors are usually caused by a client action. This client action might be using an action or
|
|
234
|
+
* resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might
|
|
235
|
+
* be specifying an identifier that isn't valid.</p>
|
|
236
236
|
* <p>The following list includes additional causes for the error:</p>
|
|
237
237
|
* <ul>
|
|
238
238
|
* <li>
|
|
239
|
-
* <p>The <code>RunTask</code> could not be processed because you use managed
|
|
240
|
-
*
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
* service quotas</a>.</p>
|
|
239
|
+
* <p>The <code>RunTask</code> could not be processed because you use managed scaling and there is
|
|
240
|
+
* a capacity error because the quota of tasks in the <code>PROVISIONING</code> per cluster has
|
|
241
|
+
* been reached. For information about the service quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service
|
|
242
|
+
* quotas</a>.</p>
|
|
244
243
|
* </li>
|
|
245
244
|
* </ul>
|
|
246
245
|
*
|
|
@@ -248,8 +247,7 @@ declare const DescribeTasksCommand_base: {
|
|
|
248
247
|
* <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>
|
|
249
248
|
*
|
|
250
249
|
* @throws {@link InvalidParameterException} (client fault)
|
|
251
|
-
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
252
|
-
* request.</p>
|
|
250
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API request.</p>
|
|
253
251
|
*
|
|
254
252
|
* @throws {@link ServerException} (server fault)
|
|
255
253
|
* <p>These errors are usually caused by a server issue.</p>
|