@aws-sdk/client-ecs 3.216.0 → 3.222.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 (35) hide show
  1. package/dist-cjs/ECS.js +15 -0
  2. package/dist-cjs/commands/ListServicesByNamespaceCommand.js +46 -0
  3. package/dist-cjs/commands/index.js +1 -0
  4. package/dist-cjs/models/models_0.js +79 -25
  5. package/dist-cjs/pagination/ListServicesByNamespacePaginator.js +36 -0
  6. package/dist-cjs/pagination/index.js +1 -0
  7. package/dist-cjs/protocols/Aws_json1_1.js +233 -3
  8. package/dist-es/ECS.js +15 -0
  9. package/dist-es/commands/ListServicesByNamespaceCommand.js +42 -0
  10. package/dist-es/commands/index.js +1 -0
  11. package/dist-es/models/models_0.js +62 -17
  12. package/dist-es/pagination/ListServicesByNamespacePaginator.js +32 -0
  13. package/dist-es/pagination/index.js +1 -0
  14. package/dist-es/protocols/Aws_json1_1.js +229 -1
  15. package/dist-types/ECS.d.ts +25 -9
  16. package/dist-types/ECSClient.d.ts +3 -2
  17. package/dist-types/commands/CreateServiceCommand.d.ts +2 -3
  18. package/dist-types/commands/ExecuteCommandCommand.d.ts +1 -1
  19. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +41 -0
  20. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +5 -0
  21. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +6 -5
  22. package/dist-types/commands/index.d.ts +1 -0
  23. package/dist-types/models/models_0.d.ts +610 -147
  24. package/dist-types/pagination/ListServicesByNamespacePaginator.d.ts +4 -0
  25. package/dist-types/pagination/index.d.ts +1 -0
  26. package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
  27. package/dist-types/ts3.4/ECS.d.ts +17 -0
  28. package/dist-types/ts3.4/ECSClient.d.ts +6 -0
  29. package/dist-types/ts3.4/commands/ListServicesByNamespaceCommand.d.ts +41 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +107 -23
  32. package/dist-types/ts3.4/pagination/ListServicesByNamespacePaginator.d.ts +11 -0
  33. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  34. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  35. package/package.json +30 -29
@@ -22,17 +22,18 @@ export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionR
22
22
  * <code>protectionEnabled</code> set to <code>true</code>. You can keep extending the
23
23
  * protection expiration period of a task by invoking this operation repeatedly.</p>
24
24
  * <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
25
- * protection</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
25
+ * protection</a> in the <i>
26
+ * <i>Amazon Elastic Container Service Developer Guide</i>
27
+ * </i>.</p>
26
28
  * <note>
27
29
  * <p>This operation is only supported for tasks belonging to an Amazon ECS service. Invoking
28
30
  * this operation for a standalone task will result in an <code>TASK_NOT_VALID</code>
29
- * failure. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html.html">API
30
- * failure reasons</a>.</p>
31
+ * failure. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html">API failure
32
+ * reasons</a>.</p>
31
33
  * </note>
32
34
  * <important>
33
35
  * <p>If you prefer to set task protection from within the container, we recommend using
34
- * the <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-endpoint.html">Amazon ECS container
35
- * agent endpoint</a>.</p>
36
+ * the <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-scale-in-protection-endpoint.html">Task scale-in protection endpoint</a>.</p>
36
37
  * </important>
37
38
  * @example
38
39
  * Use a bare-bones client and the command you need to make an API call.
@@ -24,6 +24,7 @@ export * from "./ListAccountSettingsCommand";
24
24
  export * from "./ListAttributesCommand";
25
25
  export * from "./ListClustersCommand";
26
26
  export * from "./ListContainerInstancesCommand";
27
+ export * from "./ListServicesByNamespaceCommand";
27
28
  export * from "./ListServicesCommand";
28
29
  export * from "./ListTagsForResourceCommand";
29
30
  export * from "./ListTaskDefinitionFamiliesCommand";