@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.
Files changed (73) hide show
  1. package/README.md +14 -12
  2. package/dist-cjs/index.js +15 -5
  3. package/dist-es/models/models_0.js +8 -5
  4. package/dist-es/models/models_1.js +5 -0
  5. package/dist-types/ECS.d.ts +14 -12
  6. package/dist-types/ECSClient.d.ts +14 -12
  7. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +11 -8
  8. package/dist-types/commands/CreateClusterCommand.d.ts +12 -10
  9. package/dist-types/commands/CreateServiceCommand.d.ts +127 -86
  10. package/dist-types/commands/CreateTaskSetCommand.d.ts +9 -6
  11. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +2 -2
  12. package/dist-types/commands/DeleteAttributesCommand.d.ts +4 -4
  13. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +2 -2
  14. package/dist-types/commands/DeleteClusterCommand.d.ts +12 -8
  15. package/dist-types/commands/DeleteServiceCommand.d.ts +8 -4
  16. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +4 -4
  17. package/dist-types/commands/DeleteTaskSetCommand.d.ts +4 -3
  18. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +7 -7
  19. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +2 -2
  20. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +2 -2
  21. package/dist-types/commands/DescribeClustersCommand.d.ts +4 -3
  22. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +2 -2
  23. package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +4 -3
  24. package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +6 -2
  25. package/dist-types/commands/DescribeServicesCommand.d.ts +6 -2
  26. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +2 -2
  27. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +4 -3
  28. package/dist-types/commands/DescribeTasksCommand.d.ts +2 -2
  29. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +2 -1
  30. package/dist-types/commands/ExecuteCommandCommand.d.ts +11 -10
  31. package/dist-types/commands/GetTaskProtectionCommand.d.ts +2 -2
  32. package/dist-types/commands/ListAccountSettingsCommand.d.ts +2 -2
  33. package/dist-types/commands/ListAttributesCommand.d.ts +8 -8
  34. package/dist-types/commands/ListClustersCommand.d.ts +2 -2
  35. package/dist-types/commands/ListContainerInstancesCommand.d.ts +4 -3
  36. package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +2 -2
  37. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +6 -5
  38. package/dist-types/commands/ListServicesCommand.d.ts +2 -2
  39. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  40. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +2 -2
  41. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +2 -2
  42. package/dist-types/commands/ListTasksCommand.d.ts +5 -5
  43. package/dist-types/commands/PutAccountSettingCommand.d.ts +7 -6
  44. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +2 -2
  45. package/dist-types/commands/PutAttributesCommand.d.ts +8 -7
  46. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +10 -8
  47. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +4 -3
  48. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +9 -6
  49. package/dist-types/commands/RunTaskCommand.d.ts +31 -23
  50. package/dist-types/commands/StartTaskCommand.d.ts +10 -6
  51. package/dist-types/commands/StopServiceDeploymentCommand.d.ts +10 -7
  52. package/dist-types/commands/StopTaskCommand.d.ts +5 -5
  53. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +4 -3
  54. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +2 -1
  55. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +4 -3
  56. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  57. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  58. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +4 -3
  59. package/dist-types/commands/UpdateClusterCommand.d.ts +2 -2
  60. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +2 -2
  61. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +24 -21
  62. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +9 -9
  63. package/dist-types/commands/UpdateServiceCommand.d.ts +29 -13
  64. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +4 -3
  65. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +9 -8
  66. package/dist-types/commands/UpdateTaskSetCommand.d.ts +4 -3
  67. package/dist-types/index.d.ts +14 -12
  68. package/dist-types/models/models_0.d.ts +2002 -1611
  69. package/dist-types/models/models_1.d.ts +689 -439
  70. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/models/models_0.d.ts +17 -21
  72. package/dist-types/ts3.4/models/models_1.d.ts +21 -0
  73. 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 the
35
- * <code>protectionEnabled</code> property making the task eligible for termination by
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 Developer Guide</i>
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. Invoking
49
- * this operation for a standalone task will result in an <code>TASK_NOT_VALID</code>
50
- * failure. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html">API failure
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 service
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 Guide</i>.</p>
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 service
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>
@@ -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 management service. It makes
4
- * it easy to run, stop, and manage Docker containers. You can host your cluster on a
5
- * serverless infrastructure that's managed by Amazon ECS by launching your services or tasks on
6
- * Fargate. For more control, you can host your tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2)
7
- * or External (on-premises) instances that you manage.</p>
8
- * <p>Amazon ECS makes it easy to launch and stop container-based applications with simple API
9
- * calls. This makes it easy to get the state of your cluster from a centralized service,
10
- * and gives you access to many familiar Amazon EC2 features.</p>
11
- * <p>You can use Amazon ECS to schedule the placement of containers across your cluster based on
12
- * your resource needs, isolation policies, and availability requirements. With Amazon ECS, you
13
- * don't need to operate your own cluster management and configuration management systems.
14
- * You also don't need to worry about scaling your management infrastructure. </p>
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
  */