@aws-sdk/client-ecs 3.296.0 → 3.298.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 (186) hide show
  1. package/dist-cjs/commands/CreateCapacityProviderCommand.js +2 -3
  2. package/dist-cjs/commands/CreateClusterCommand.js +2 -3
  3. package/dist-cjs/commands/CreateServiceCommand.js +2 -3
  4. package/dist-cjs/commands/CreateTaskSetCommand.js +2 -3
  5. package/dist-cjs/commands/DeleteAccountSettingCommand.js +2 -3
  6. package/dist-cjs/commands/DeleteAttributesCommand.js +2 -3
  7. package/dist-cjs/commands/DeleteCapacityProviderCommand.js +2 -3
  8. package/dist-cjs/commands/DeleteClusterCommand.js +2 -3
  9. package/dist-cjs/commands/DeleteServiceCommand.js +2 -3
  10. package/dist-cjs/commands/DeleteTaskDefinitionsCommand.js +2 -3
  11. package/dist-cjs/commands/DeleteTaskSetCommand.js +2 -3
  12. package/dist-cjs/commands/DeregisterContainerInstanceCommand.js +2 -3
  13. package/dist-cjs/commands/DeregisterTaskDefinitionCommand.js +2 -3
  14. package/dist-cjs/commands/DescribeCapacityProvidersCommand.js +2 -3
  15. package/dist-cjs/commands/DescribeClustersCommand.js +2 -3
  16. package/dist-cjs/commands/DescribeContainerInstancesCommand.js +2 -3
  17. package/dist-cjs/commands/DescribeServicesCommand.js +2 -3
  18. package/dist-cjs/commands/DescribeTaskDefinitionCommand.js +2 -3
  19. package/dist-cjs/commands/DescribeTaskSetsCommand.js +2 -3
  20. package/dist-cjs/commands/DescribeTasksCommand.js +2 -3
  21. package/dist-cjs/commands/DiscoverPollEndpointCommand.js +2 -3
  22. package/dist-cjs/commands/ExecuteCommandCommand.js +1 -1
  23. package/dist-cjs/commands/GetTaskProtectionCommand.js +2 -3
  24. package/dist-cjs/commands/ListAccountSettingsCommand.js +2 -3
  25. package/dist-cjs/commands/ListAttributesCommand.js +2 -3
  26. package/dist-cjs/commands/ListClustersCommand.js +2 -3
  27. package/dist-cjs/commands/ListContainerInstancesCommand.js +2 -3
  28. package/dist-cjs/commands/ListServicesByNamespaceCommand.js +2 -3
  29. package/dist-cjs/commands/ListServicesCommand.js +2 -3
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
  31. package/dist-cjs/commands/ListTaskDefinitionFamiliesCommand.js +2 -3
  32. package/dist-cjs/commands/ListTaskDefinitionsCommand.js +2 -3
  33. package/dist-cjs/commands/ListTasksCommand.js +2 -3
  34. package/dist-cjs/commands/PutAccountSettingCommand.js +2 -3
  35. package/dist-cjs/commands/PutAccountSettingDefaultCommand.js +2 -3
  36. package/dist-cjs/commands/PutAttributesCommand.js +2 -3
  37. package/dist-cjs/commands/PutClusterCapacityProvidersCommand.js +2 -3
  38. package/dist-cjs/commands/RegisterContainerInstanceCommand.js +2 -3
  39. package/dist-cjs/commands/RegisterTaskDefinitionCommand.js +2 -3
  40. package/dist-cjs/commands/RunTaskCommand.js +2 -3
  41. package/dist-cjs/commands/StartTaskCommand.js +2 -3
  42. package/dist-cjs/commands/StopTaskCommand.js +2 -3
  43. package/dist-cjs/commands/SubmitAttachmentStateChangesCommand.js +2 -3
  44. package/dist-cjs/commands/SubmitContainerStateChangeCommand.js +2 -3
  45. package/dist-cjs/commands/SubmitTaskStateChangeCommand.js +2 -3
  46. package/dist-cjs/commands/TagResourceCommand.js +2 -3
  47. package/dist-cjs/commands/UntagResourceCommand.js +2 -3
  48. package/dist-cjs/commands/UpdateCapacityProviderCommand.js +2 -3
  49. package/dist-cjs/commands/UpdateClusterCommand.js +2 -3
  50. package/dist-cjs/commands/UpdateClusterSettingsCommand.js +2 -3
  51. package/dist-cjs/commands/UpdateContainerAgentCommand.js +2 -3
  52. package/dist-cjs/commands/UpdateContainerInstancesStateCommand.js +2 -3
  53. package/dist-cjs/commands/UpdateServiceCommand.js +2 -3
  54. package/dist-cjs/commands/UpdateServicePrimaryTaskSetCommand.js +2 -3
  55. package/dist-cjs/commands/UpdateTaskProtectionCommand.js +2 -3
  56. package/dist-cjs/commands/UpdateTaskSetCommand.js +2 -3
  57. package/dist-cjs/models/models_0.js +1 -797
  58. package/dist-es/commands/CreateCapacityProviderCommand.js +2 -3
  59. package/dist-es/commands/CreateClusterCommand.js +2 -3
  60. package/dist-es/commands/CreateServiceCommand.js +2 -3
  61. package/dist-es/commands/CreateTaskSetCommand.js +2 -3
  62. package/dist-es/commands/DeleteAccountSettingCommand.js +2 -3
  63. package/dist-es/commands/DeleteAttributesCommand.js +2 -3
  64. package/dist-es/commands/DeleteCapacityProviderCommand.js +2 -3
  65. package/dist-es/commands/DeleteClusterCommand.js +2 -3
  66. package/dist-es/commands/DeleteServiceCommand.js +2 -3
  67. package/dist-es/commands/DeleteTaskDefinitionsCommand.js +2 -3
  68. package/dist-es/commands/DeleteTaskSetCommand.js +2 -3
  69. package/dist-es/commands/DeregisterContainerInstanceCommand.js +2 -3
  70. package/dist-es/commands/DeregisterTaskDefinitionCommand.js +2 -3
  71. package/dist-es/commands/DescribeCapacityProvidersCommand.js +2 -3
  72. package/dist-es/commands/DescribeClustersCommand.js +2 -3
  73. package/dist-es/commands/DescribeContainerInstancesCommand.js +2 -3
  74. package/dist-es/commands/DescribeServicesCommand.js +2 -3
  75. package/dist-es/commands/DescribeTaskDefinitionCommand.js +2 -3
  76. package/dist-es/commands/DescribeTaskSetsCommand.js +2 -3
  77. package/dist-es/commands/DescribeTasksCommand.js +2 -3
  78. package/dist-es/commands/DiscoverPollEndpointCommand.js +2 -3
  79. package/dist-es/commands/ExecuteCommandCommand.js +2 -2
  80. package/dist-es/commands/GetTaskProtectionCommand.js +2 -3
  81. package/dist-es/commands/ListAccountSettingsCommand.js +2 -3
  82. package/dist-es/commands/ListAttributesCommand.js +2 -3
  83. package/dist-es/commands/ListClustersCommand.js +2 -3
  84. package/dist-es/commands/ListContainerInstancesCommand.js +2 -3
  85. package/dist-es/commands/ListServicesByNamespaceCommand.js +2 -3
  86. package/dist-es/commands/ListServicesCommand.js +2 -3
  87. package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
  88. package/dist-es/commands/ListTaskDefinitionFamiliesCommand.js +2 -3
  89. package/dist-es/commands/ListTaskDefinitionsCommand.js +2 -3
  90. package/dist-es/commands/ListTasksCommand.js +2 -3
  91. package/dist-es/commands/PutAccountSettingCommand.js +2 -3
  92. package/dist-es/commands/PutAccountSettingDefaultCommand.js +2 -3
  93. package/dist-es/commands/PutAttributesCommand.js +2 -3
  94. package/dist-es/commands/PutClusterCapacityProvidersCommand.js +2 -3
  95. package/dist-es/commands/RegisterContainerInstanceCommand.js +2 -3
  96. package/dist-es/commands/RegisterTaskDefinitionCommand.js +2 -3
  97. package/dist-es/commands/RunTaskCommand.js +2 -3
  98. package/dist-es/commands/StartTaskCommand.js +2 -3
  99. package/dist-es/commands/StopTaskCommand.js +2 -3
  100. package/dist-es/commands/SubmitAttachmentStateChangesCommand.js +2 -3
  101. package/dist-es/commands/SubmitContainerStateChangeCommand.js +2 -3
  102. package/dist-es/commands/SubmitTaskStateChangeCommand.js +2 -3
  103. package/dist-es/commands/TagResourceCommand.js +2 -3
  104. package/dist-es/commands/UntagResourceCommand.js +2 -3
  105. package/dist-es/commands/UpdateCapacityProviderCommand.js +2 -3
  106. package/dist-es/commands/UpdateClusterCommand.js +2 -3
  107. package/dist-es/commands/UpdateClusterSettingsCommand.js +2 -3
  108. package/dist-es/commands/UpdateContainerAgentCommand.js +2 -3
  109. package/dist-es/commands/UpdateContainerInstancesStateCommand.js +2 -3
  110. package/dist-es/commands/UpdateServiceCommand.js +2 -3
  111. package/dist-es/commands/UpdateServicePrimaryTaskSetCommand.js +2 -3
  112. package/dist-es/commands/UpdateTaskProtectionCommand.js +2 -3
  113. package/dist-es/commands/UpdateTaskSetCommand.js +2 -3
  114. package/dist-es/models/models_0.js +0 -594
  115. package/dist-types/ECS.d.ts +57 -0
  116. package/dist-types/ECSClient.d.ts +24 -4
  117. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +16 -0
  118. package/dist-types/commands/CreateClusterCommand.d.ts +16 -0
  119. package/dist-types/commands/CreateServiceCommand.d.ts +16 -0
  120. package/dist-types/commands/CreateTaskSetCommand.d.ts +16 -0
  121. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +16 -0
  122. package/dist-types/commands/DeleteAttributesCommand.d.ts +16 -0
  123. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +16 -0
  124. package/dist-types/commands/DeleteClusterCommand.d.ts +16 -0
  125. package/dist-types/commands/DeleteServiceCommand.d.ts +16 -0
  126. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +16 -0
  127. package/dist-types/commands/DeleteTaskSetCommand.d.ts +16 -0
  128. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +16 -0
  129. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +16 -0
  130. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +16 -0
  131. package/dist-types/commands/DescribeClustersCommand.d.ts +16 -0
  132. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +16 -0
  133. package/dist-types/commands/DescribeServicesCommand.d.ts +16 -0
  134. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +16 -0
  135. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +16 -0
  136. package/dist-types/commands/DescribeTasksCommand.d.ts +16 -0
  137. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +16 -0
  138. package/dist-types/commands/ExecuteCommandCommand.d.ts +16 -0
  139. package/dist-types/commands/GetTaskProtectionCommand.d.ts +16 -0
  140. package/dist-types/commands/ListAccountSettingsCommand.d.ts +16 -0
  141. package/dist-types/commands/ListAttributesCommand.d.ts +16 -0
  142. package/dist-types/commands/ListClustersCommand.d.ts +16 -0
  143. package/dist-types/commands/ListContainerInstancesCommand.d.ts +16 -0
  144. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +16 -0
  145. package/dist-types/commands/ListServicesCommand.d.ts +16 -0
  146. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  147. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +16 -0
  148. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +16 -0
  149. package/dist-types/commands/ListTasksCommand.d.ts +16 -0
  150. package/dist-types/commands/PutAccountSettingCommand.d.ts +16 -0
  151. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +16 -0
  152. package/dist-types/commands/PutAttributesCommand.d.ts +16 -0
  153. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +16 -0
  154. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +16 -0
  155. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +16 -0
  156. package/dist-types/commands/RunTaskCommand.d.ts +16 -0
  157. package/dist-types/commands/StartTaskCommand.d.ts +16 -0
  158. package/dist-types/commands/StopTaskCommand.d.ts +16 -0
  159. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +16 -0
  160. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +16 -0
  161. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +16 -0
  162. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  163. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  164. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +16 -0
  165. package/dist-types/commands/UpdateClusterCommand.d.ts +16 -0
  166. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +16 -0
  167. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +16 -0
  168. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +16 -0
  169. package/dist-types/commands/UpdateServiceCommand.d.ts +16 -0
  170. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +16 -0
  171. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +16 -0
  172. package/dist-types/commands/UpdateTaskSetCommand.d.ts +16 -0
  173. package/dist-types/models/ECSServiceException.d.ts +2 -0
  174. package/dist-types/models/models_0.d.ts +632 -801
  175. package/dist-types/pagination/Interfaces.d.ts +3 -0
  176. package/dist-types/pagination/ListAccountSettingsPaginator.d.ts +3 -0
  177. package/dist-types/pagination/ListAttributesPaginator.d.ts +3 -0
  178. package/dist-types/pagination/ListClustersPaginator.d.ts +3 -0
  179. package/dist-types/pagination/ListContainerInstancesPaginator.d.ts +3 -0
  180. package/dist-types/pagination/ListServicesByNamespacePaginator.d.ts +3 -0
  181. package/dist-types/pagination/ListServicesPaginator.d.ts +3 -0
  182. package/dist-types/pagination/ListTaskDefinitionFamiliesPaginator.d.ts +3 -0
  183. package/dist-types/pagination/ListTaskDefinitionsPaginator.d.ts +3 -0
  184. package/dist-types/pagination/ListTasksPaginator.d.ts +3 -0
  185. package/dist-types/ts3.4/models/models_0.d.ts +0 -536
  186. package/package.json +4 -3
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
5
5
  import { UpdateTaskProtectionRequest, UpdateTaskProtectionResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateTaskProtectionCommand}.
8
10
  */
9
11
  export interface UpdateTaskProtectionCommandInput extends UpdateTaskProtectionRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateTaskProtectionCommand}.
13
17
  */
14
18
  export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Updates the protection status of a task. You can set <code>protectionEnabled</code> to
18
23
  * <code>true</code> to protect your task from termination during scale-in events from
19
24
  * <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html">Service
@@ -51,6 +56,8 @@ export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionR
51
56
  * const response = await client.send(command);
52
57
  * ```
53
58
  *
59
+ * @param UpdateTaskProtectionCommandInput - {@link UpdateTaskProtectionCommandInput}
60
+ * @returns {@link UpdateTaskProtectionCommandOutput}
54
61
  * @see {@link UpdateTaskProtectionCommandInput} for command's `input` shape.
55
62
  * @see {@link UpdateTaskProtectionCommandOutput} for command's `response` shape.
56
63
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
@@ -165,11 +172,20 @@ export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionR
165
172
  export declare class UpdateTaskProtectionCommand extends $Command<UpdateTaskProtectionCommandInput, UpdateTaskProtectionCommandOutput, ECSClientResolvedConfig> {
166
173
  readonly input: UpdateTaskProtectionCommandInput;
167
174
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
175
+ /**
176
+ * @public
177
+ */
168
178
  constructor(input: UpdateTaskProtectionCommandInput);
169
179
  /**
170
180
  * @internal
171
181
  */
172
182
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateTaskProtectionCommandInput, UpdateTaskProtectionCommandOutput>;
183
+ /**
184
+ * @internal
185
+ */
173
186
  private serialize;
187
+ /**
188
+ * @internal
189
+ */
174
190
  private deserialize;
175
191
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
5
5
  import { UpdateTaskSetRequest, UpdateTaskSetResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateTaskSetCommand}.
8
10
  */
9
11
  export interface UpdateTaskSetCommandInput extends UpdateTaskSetRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateTaskSetCommand}.
13
17
  */
14
18
  export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Modifies a task set. This is used when a service uses the <code>EXTERNAL</code>
18
23
  * deployment controller type. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS Deployment
19
24
  * Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
@@ -27,6 +32,8 @@ export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __Met
27
32
  * const response = await client.send(command);
28
33
  * ```
29
34
  *
35
+ * @param UpdateTaskSetCommandInput - {@link UpdateTaskSetCommandInput}
36
+ * @returns {@link UpdateTaskSetCommandOutput}
30
37
  * @see {@link UpdateTaskSetCommandInput} for command's `input` shape.
31
38
  * @see {@link UpdateTaskSetCommandOutput} for command's `response` shape.
32
39
  * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
@@ -69,11 +76,20 @@ export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __Met
69
76
  export declare class UpdateTaskSetCommand extends $Command<UpdateTaskSetCommandInput, UpdateTaskSetCommandOutput, ECSClientResolvedConfig> {
70
77
  readonly input: UpdateTaskSetCommandInput;
71
78
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
+ /**
80
+ * @public
81
+ */
72
82
  constructor(input: UpdateTaskSetCommandInput);
73
83
  /**
74
84
  * @internal
75
85
  */
76
86
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateTaskSetCommandInput, UpdateTaskSetCommandOutput>;
87
+ /**
88
+ * @internal
89
+ */
77
90
  private serialize;
91
+ /**
92
+ * @internal
93
+ */
78
94
  private deserialize;
79
95
  }
@@ -1,5 +1,7 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
2
  /**
3
+ * @public
4
+ *
3
5
  * Base exception class for all service exceptions from ECS service.
4
6
  */
5
7
  export declare class ECSServiceException extends __ServiceException {