@aws-sdk/client-ecs 3.920.0 → 3.922.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 +14 -12
- package/dist-cjs/index.js +15 -5
- package/dist-es/models/models_0.js +8 -5
- package/dist-es/models/models_1.js +5 -0
- package/dist-types/ECS.d.ts +14 -12
- package/dist-types/ECSClient.d.ts +14 -12
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +11 -8
- package/dist-types/commands/CreateClusterCommand.d.ts +12 -10
- package/dist-types/commands/CreateServiceCommand.d.ts +127 -86
- package/dist-types/commands/CreateTaskSetCommand.d.ts +9 -6
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +2 -2
- package/dist-types/commands/DeleteAttributesCommand.d.ts +4 -4
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +2 -2
- package/dist-types/commands/DeleteClusterCommand.d.ts +12 -8
- package/dist-types/commands/DeleteServiceCommand.d.ts +8 -4
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +4 -4
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +4 -3
- package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +7 -7
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +2 -2
- package/dist-types/commands/DescribeClustersCommand.d.ts +4 -3
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +4 -3
- package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +6 -2
- package/dist-types/commands/DescribeServicesCommand.d.ts +6 -2
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +4 -3
- package/dist-types/commands/DescribeTasksCommand.d.ts +2 -2
- package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +2 -1
- package/dist-types/commands/ExecuteCommandCommand.d.ts +11 -10
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +2 -2
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +2 -2
- package/dist-types/commands/ListAttributesCommand.d.ts +8 -8
- package/dist-types/commands/ListClustersCommand.d.ts +2 -2
- package/dist-types/commands/ListContainerInstancesCommand.d.ts +4 -3
- package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +2 -2
- package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +6 -5
- package/dist-types/commands/ListServicesCommand.d.ts +2 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +2 -2
- package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +2 -2
- package/dist-types/commands/ListTasksCommand.d.ts +5 -5
- package/dist-types/commands/PutAccountSettingCommand.d.ts +7 -6
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +2 -2
- package/dist-types/commands/PutAttributesCommand.d.ts +8 -7
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +10 -8
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +4 -3
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +9 -6
- package/dist-types/commands/RunTaskCommand.d.ts +31 -23
- package/dist-types/commands/StartTaskCommand.d.ts +10 -6
- package/dist-types/commands/StopServiceDeploymentCommand.d.ts +10 -7
- package/dist-types/commands/StopTaskCommand.d.ts +5 -5
- package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +4 -3
- package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +2 -1
- package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +4 -3
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +4 -3
- package/dist-types/commands/UpdateClusterCommand.d.ts +2 -2
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +2 -2
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +24 -21
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +9 -9
- package/dist-types/commands/UpdateServiceCommand.d.ts +29 -13
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +4 -3
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +9 -8
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +4 -3
- package/dist-types/index.d.ts +14 -12
- package/dist-types/models/models_0.d.ts +2002 -1611
- package/dist-types/models/models_1.d.ts +689 -439
- package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +17 -21
- package/dist-types/ts3.4/models/models_1.d.ts +21 -0
- package/package.json +34 -34
|
@@ -31,8 +31,8 @@ declare const UpdateTaskProtectionCommand_base: {
|
|
|
31
31
|
* <code>true</code> to protect your task from termination during scale-in events from
|
|
32
32
|
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html">Service
|
|
33
33
|
* Autoscaling</a> or <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">deployments</a>.</p>
|
|
34
|
-
* <p>Task-protection, by default, expires after 2 hours at which point Amazon ECS clears
|
|
35
|
-
*
|
|
34
|
+
* <p>Task-protection, by default, expires after 2 hours at which point Amazon ECS clears
|
|
35
|
+
* the <code>protectionEnabled</code> property making the task eligible for termination by
|
|
36
36
|
* a subsequent scale-in event.</p>
|
|
37
37
|
* <p>You can specify a custom expiration period for task protection from 1 minute to up to
|
|
38
38
|
* 2,880 minutes (48 hours). To specify the custom expiration period, set the
|
|
@@ -42,12 +42,13 @@ declare const UpdateTaskProtectionCommand_base: {
|
|
|
42
42
|
* protection expiration period of a task by invoking this operation repeatedly.</p>
|
|
43
43
|
* <p>To learn more about Amazon ECS task protection, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-scale-in-protection.html">Task scale-in
|
|
44
44
|
* protection</a> in the <i>
|
|
45
|
-
* <i>Amazon Elastic Container Service
|
|
45
|
+
* <i>Amazon Elastic Container Service
|
|
46
|
+
* Developer Guide</i>
|
|
46
47
|
* </i>.</p>
|
|
47
48
|
* <note>
|
|
48
|
-
* <p>This operation is only supported for tasks belonging to an Amazon ECS service.
|
|
49
|
-
* this operation for a standalone task will result in an
|
|
50
|
-
*
|
|
49
|
+
* <p>This operation is only supported for tasks belonging to an Amazon ECS service.
|
|
50
|
+
* Invoking this operation for a standalone task will result in an
|
|
51
|
+
* <code>TASK_NOT_VALID</code> failure. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html">API failure
|
|
51
52
|
* reasons</a>.</p>
|
|
52
53
|
* </note>
|
|
53
54
|
* <important>
|
|
@@ -111,8 +112,8 @@ declare const UpdateTaskProtectionCommand_base: {
|
|
|
111
112
|
* @throws {@link InvalidParameterException} (client fault)
|
|
112
113
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
113
114
|
* request.</p>
|
|
114
|
-
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS
|
|
115
|
-
* event messages</a>. </p>
|
|
115
|
+
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS
|
|
116
|
+
* service event messages</a>. </p>
|
|
116
117
|
*
|
|
117
118
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
118
119
|
* <p>The specified resource wasn't found.</p>
|
|
@@ -29,7 +29,8 @@ declare const UpdateTaskSetCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Modifies a task set. This is used when a service uses the <code>EXTERNAL</code>
|
|
31
31
|
* deployment controller type. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS Deployment
|
|
32
|
-
* Types</a> in the <i>Amazon Elastic Container Service Developer
|
|
32
|
+
* Types</a> in the <i>Amazon Elastic Container Service Developer
|
|
33
|
+
* Guide</i>.</p>
|
|
33
34
|
* @example
|
|
34
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
36
|
* ```javascript
|
|
@@ -147,8 +148,8 @@ declare const UpdateTaskSetCommand_base: {
|
|
|
147
148
|
* @throws {@link InvalidParameterException} (client fault)
|
|
148
149
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
149
150
|
* request.</p>
|
|
150
|
-
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS
|
|
151
|
-
* event messages</a>. </p>
|
|
151
|
+
* <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS
|
|
152
|
+
* service event messages</a>. </p>
|
|
152
153
|
*
|
|
153
154
|
* @throws {@link ServerException} (server fault)
|
|
154
155
|
* <p>These errors are usually caused by a server issue.</p>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* <fullname>Amazon Elastic Container Service</fullname>
|
|
3
|
-
* <p>Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container
|
|
4
|
-
* it easy to run, stop, and manage Docker containers. You can
|
|
5
|
-
* serverless infrastructure that's managed by Amazon ECS by
|
|
6
|
-
* Fargate. For more control, you can host your
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
3
|
+
* <p>Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container
|
|
4
|
+
* management service. It makes it easy to run, stop, and manage Docker containers. You can
|
|
5
|
+
* host your cluster on a serverless infrastructure that's managed by Amazon ECS by
|
|
6
|
+
* launching your services or tasks on Fargate. For more control, you can host your
|
|
7
|
+
* tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) or External
|
|
8
|
+
* (on-premises) instances that you manage.</p>
|
|
9
|
+
* <p>Amazon ECS makes it easy to launch and stop container-based applications with simple
|
|
10
|
+
* API calls. This makes it easy to get the state of your cluster from a centralized
|
|
11
|
+
* service, and gives you access to many familiar Amazon EC2 features.</p>
|
|
12
|
+
* <p>You can use Amazon ECS to schedule the placement of containers across your cluster
|
|
13
|
+
* based on your resource needs, isolation policies, and availability requirements. With
|
|
14
|
+
* Amazon ECS, you don't need to operate your own cluster management and configuration
|
|
15
|
+
* management systems. You also don't need to worry about scaling your management
|
|
16
|
+
* infrastructure. </p>
|
|
15
17
|
*
|
|
16
18
|
* @packageDocumentation
|
|
17
19
|
*/
|