@aws-sdk/client-ecs 3.1077.0 → 3.1079.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 (239) hide show
  1. package/dist-cjs/index.js +85 -773
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/ContinueServiceDeploymentCommand.js +2 -14
  4. package/dist-es/commands/CreateCapacityProviderCommand.js +2 -14
  5. package/dist-es/commands/CreateClusterCommand.js +2 -14
  6. package/dist-es/commands/CreateDaemonCommand.js +2 -14
  7. package/dist-es/commands/CreateExpressGatewayServiceCommand.js +2 -14
  8. package/dist-es/commands/CreateServiceCommand.js +2 -14
  9. package/dist-es/commands/CreateTaskSetCommand.js +2 -14
  10. package/dist-es/commands/DeleteAccountSettingCommand.js +2 -14
  11. package/dist-es/commands/DeleteAttributesCommand.js +2 -14
  12. package/dist-es/commands/DeleteCapacityProviderCommand.js +2 -14
  13. package/dist-es/commands/DeleteClusterCommand.js +2 -14
  14. package/dist-es/commands/DeleteDaemonCommand.js +2 -14
  15. package/dist-es/commands/DeleteDaemonTaskDefinitionCommand.js +2 -14
  16. package/dist-es/commands/DeleteExpressGatewayServiceCommand.js +2 -14
  17. package/dist-es/commands/DeleteServiceCommand.js +2 -14
  18. package/dist-es/commands/DeleteTaskDefinitionsCommand.js +2 -14
  19. package/dist-es/commands/DeleteTaskSetCommand.js +2 -14
  20. package/dist-es/commands/DeregisterContainerInstanceCommand.js +2 -14
  21. package/dist-es/commands/DeregisterTaskDefinitionCommand.js +2 -14
  22. package/dist-es/commands/DescribeCapacityProvidersCommand.js +2 -14
  23. package/dist-es/commands/DescribeClustersCommand.js +2 -14
  24. package/dist-es/commands/DescribeContainerInstancesCommand.js +2 -14
  25. package/dist-es/commands/DescribeDaemonCommand.js +2 -14
  26. package/dist-es/commands/DescribeDaemonDeploymentsCommand.js +2 -14
  27. package/dist-es/commands/DescribeDaemonRevisionsCommand.js +2 -14
  28. package/dist-es/commands/DescribeDaemonTaskDefinitionCommand.js +2 -14
  29. package/dist-es/commands/DescribeExpressGatewayServiceCommand.js +2 -14
  30. package/dist-es/commands/DescribeServiceDeploymentsCommand.js +2 -14
  31. package/dist-es/commands/DescribeServiceRevisionsCommand.js +2 -14
  32. package/dist-es/commands/DescribeServicesCommand.js +2 -14
  33. package/dist-es/commands/DescribeTaskDefinitionCommand.js +2 -14
  34. package/dist-es/commands/DescribeTaskSetsCommand.js +2 -14
  35. package/dist-es/commands/DescribeTasksCommand.js +2 -14
  36. package/dist-es/commands/DiscoverPollEndpointCommand.js +2 -14
  37. package/dist-es/commands/ExecuteCommandCommand.js +2 -14
  38. package/dist-es/commands/GetTaskProtectionCommand.js +2 -14
  39. package/dist-es/commands/ListAccountSettingsCommand.js +2 -14
  40. package/dist-es/commands/ListAttributesCommand.js +2 -14
  41. package/dist-es/commands/ListClustersCommand.js +2 -14
  42. package/dist-es/commands/ListContainerInstancesCommand.js +2 -14
  43. package/dist-es/commands/ListDaemonDeploymentsCommand.js +2 -14
  44. package/dist-es/commands/ListDaemonTaskDefinitionsCommand.js +2 -14
  45. package/dist-es/commands/ListDaemonsCommand.js +2 -14
  46. package/dist-es/commands/ListServiceDeploymentsCommand.js +2 -14
  47. package/dist-es/commands/ListServicesByNamespaceCommand.js +2 -14
  48. package/dist-es/commands/ListServicesCommand.js +2 -14
  49. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  50. package/dist-es/commands/ListTaskDefinitionFamiliesCommand.js +2 -14
  51. package/dist-es/commands/ListTaskDefinitionsCommand.js +2 -14
  52. package/dist-es/commands/ListTasksCommand.js +2 -14
  53. package/dist-es/commands/PutAccountSettingCommand.js +2 -14
  54. package/dist-es/commands/PutAccountSettingDefaultCommand.js +2 -14
  55. package/dist-es/commands/PutAttributesCommand.js +2 -14
  56. package/dist-es/commands/PutClusterCapacityProvidersCommand.js +2 -14
  57. package/dist-es/commands/RegisterContainerInstanceCommand.js +2 -14
  58. package/dist-es/commands/RegisterDaemonTaskDefinitionCommand.js +2 -14
  59. package/dist-es/commands/RegisterTaskDefinitionCommand.js +2 -14
  60. package/dist-es/commands/RunTaskCommand.js +2 -14
  61. package/dist-es/commands/StartTaskCommand.js +2 -14
  62. package/dist-es/commands/StopServiceDeploymentCommand.js +2 -14
  63. package/dist-es/commands/StopTaskCommand.js +2 -14
  64. package/dist-es/commands/SubmitAttachmentStateChangesCommand.js +2 -14
  65. package/dist-es/commands/SubmitContainerStateChangeCommand.js +2 -14
  66. package/dist-es/commands/SubmitTaskStateChangeCommand.js +2 -14
  67. package/dist-es/commands/TagResourceCommand.js +2 -14
  68. package/dist-es/commands/UntagResourceCommand.js +2 -14
  69. package/dist-es/commands/UpdateCapacityProviderCommand.js +2 -14
  70. package/dist-es/commands/UpdateClusterCommand.js +2 -14
  71. package/dist-es/commands/UpdateClusterSettingsCommand.js +2 -14
  72. package/dist-es/commands/UpdateContainerAgentCommand.js +2 -14
  73. package/dist-es/commands/UpdateContainerInstancesStateCommand.js +2 -14
  74. package/dist-es/commands/UpdateDaemonCommand.js +2 -14
  75. package/dist-es/commands/UpdateExpressGatewayServiceCommand.js +2 -14
  76. package/dist-es/commands/UpdateServiceCommand.js +2 -14
  77. package/dist-es/commands/UpdateServicePrimaryTaskSetCommand.js +2 -14
  78. package/dist-es/commands/UpdateTaskProtectionCommand.js +2 -14
  79. package/dist-es/commands/UpdateTaskSetCommand.js +2 -14
  80. package/dist-es/index.js +1 -0
  81. package/dist-types/commandBuilder.d.ts +18 -0
  82. package/dist-types/commands/ContinueServiceDeploymentCommand.d.ts +3 -8
  83. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +3 -8
  84. package/dist-types/commands/CreateClusterCommand.d.ts +3 -8
  85. package/dist-types/commands/CreateDaemonCommand.d.ts +3 -8
  86. package/dist-types/commands/CreateExpressGatewayServiceCommand.d.ts +3 -8
  87. package/dist-types/commands/CreateServiceCommand.d.ts +3 -8
  88. package/dist-types/commands/CreateTaskSetCommand.d.ts +3 -8
  89. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +3 -8
  90. package/dist-types/commands/DeleteAttributesCommand.d.ts +3 -8
  91. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +3 -8
  92. package/dist-types/commands/DeleteClusterCommand.d.ts +3 -8
  93. package/dist-types/commands/DeleteDaemonCommand.d.ts +3 -8
  94. package/dist-types/commands/DeleteDaemonTaskDefinitionCommand.d.ts +3 -8
  95. package/dist-types/commands/DeleteExpressGatewayServiceCommand.d.ts +3 -8
  96. package/dist-types/commands/DeleteServiceCommand.d.ts +3 -8
  97. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +3 -8
  98. package/dist-types/commands/DeleteTaskSetCommand.d.ts +3 -8
  99. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +3 -8
  100. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +3 -8
  101. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +3 -8
  102. package/dist-types/commands/DescribeClustersCommand.d.ts +3 -8
  103. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +3 -8
  104. package/dist-types/commands/DescribeDaemonCommand.d.ts +3 -8
  105. package/dist-types/commands/DescribeDaemonDeploymentsCommand.d.ts +3 -8
  106. package/dist-types/commands/DescribeDaemonRevisionsCommand.d.ts +3 -8
  107. package/dist-types/commands/DescribeDaemonTaskDefinitionCommand.d.ts +3 -8
  108. package/dist-types/commands/DescribeExpressGatewayServiceCommand.d.ts +3 -8
  109. package/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +3 -8
  110. package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +3 -8
  111. package/dist-types/commands/DescribeServicesCommand.d.ts +3 -8
  112. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +3 -8
  113. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +3 -8
  114. package/dist-types/commands/DescribeTasksCommand.d.ts +3 -8
  115. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +3 -8
  116. package/dist-types/commands/ExecuteCommandCommand.d.ts +3 -8
  117. package/dist-types/commands/GetTaskProtectionCommand.d.ts +3 -8
  118. package/dist-types/commands/ListAccountSettingsCommand.d.ts +3 -8
  119. package/dist-types/commands/ListAttributesCommand.d.ts +3 -8
  120. package/dist-types/commands/ListClustersCommand.d.ts +3 -8
  121. package/dist-types/commands/ListContainerInstancesCommand.d.ts +3 -8
  122. package/dist-types/commands/ListDaemonDeploymentsCommand.d.ts +3 -8
  123. package/dist-types/commands/ListDaemonTaskDefinitionsCommand.d.ts +3 -8
  124. package/dist-types/commands/ListDaemonsCommand.d.ts +3 -8
  125. package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +3 -8
  126. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +3 -8
  127. package/dist-types/commands/ListServicesCommand.d.ts +3 -8
  128. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  129. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +3 -8
  130. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +3 -8
  131. package/dist-types/commands/ListTasksCommand.d.ts +3 -8
  132. package/dist-types/commands/PutAccountSettingCommand.d.ts +3 -8
  133. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +3 -8
  134. package/dist-types/commands/PutAttributesCommand.d.ts +3 -8
  135. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +3 -8
  136. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +3 -8
  137. package/dist-types/commands/RegisterDaemonTaskDefinitionCommand.d.ts +3 -8
  138. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +3 -8
  139. package/dist-types/commands/RunTaskCommand.d.ts +3 -8
  140. package/dist-types/commands/StartTaskCommand.d.ts +3 -8
  141. package/dist-types/commands/StopServiceDeploymentCommand.d.ts +3 -8
  142. package/dist-types/commands/StopTaskCommand.d.ts +3 -8
  143. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +3 -8
  144. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +3 -8
  145. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +3 -8
  146. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  147. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  148. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +3 -8
  149. package/dist-types/commands/UpdateClusterCommand.d.ts +3 -8
  150. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +3 -8
  151. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +3 -8
  152. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +3 -8
  153. package/dist-types/commands/UpdateDaemonCommand.d.ts +3 -8
  154. package/dist-types/commands/UpdateExpressGatewayServiceCommand.d.ts +3 -8
  155. package/dist-types/commands/UpdateServiceCommand.d.ts +3 -8
  156. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +3 -8
  157. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +3 -8
  158. package/dist-types/commands/UpdateTaskSetCommand.d.ts +3 -8
  159. package/dist-types/index.d.ts +1 -0
  160. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  161. package/dist-types/ts3.4/commands/ContinueServiceDeploymentCommand.d.ts +7 -16
  162. package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +7 -16
  163. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +7 -16
  164. package/dist-types/ts3.4/commands/CreateDaemonCommand.d.ts +7 -16
  165. package/dist-types/ts3.4/commands/CreateExpressGatewayServiceCommand.d.ts +7 -16
  166. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +7 -16
  167. package/dist-types/ts3.4/commands/CreateTaskSetCommand.d.ts +7 -16
  168. package/dist-types/ts3.4/commands/DeleteAccountSettingCommand.d.ts +7 -16
  169. package/dist-types/ts3.4/commands/DeleteAttributesCommand.d.ts +7 -16
  170. package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +7 -16
  171. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +7 -16
  172. package/dist-types/ts3.4/commands/DeleteDaemonCommand.d.ts +7 -16
  173. package/dist-types/ts3.4/commands/DeleteDaemonTaskDefinitionCommand.d.ts +7 -16
  174. package/dist-types/ts3.4/commands/DeleteExpressGatewayServiceCommand.d.ts +7 -16
  175. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +7 -16
  176. package/dist-types/ts3.4/commands/DeleteTaskDefinitionsCommand.d.ts +7 -16
  177. package/dist-types/ts3.4/commands/DeleteTaskSetCommand.d.ts +7 -16
  178. package/dist-types/ts3.4/commands/DeregisterContainerInstanceCommand.d.ts +7 -16
  179. package/dist-types/ts3.4/commands/DeregisterTaskDefinitionCommand.d.ts +7 -16
  180. package/dist-types/ts3.4/commands/DescribeCapacityProvidersCommand.d.ts +7 -16
  181. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +7 -16
  182. package/dist-types/ts3.4/commands/DescribeContainerInstancesCommand.d.ts +7 -16
  183. package/dist-types/ts3.4/commands/DescribeDaemonCommand.d.ts +7 -16
  184. package/dist-types/ts3.4/commands/DescribeDaemonDeploymentsCommand.d.ts +7 -16
  185. package/dist-types/ts3.4/commands/DescribeDaemonRevisionsCommand.d.ts +7 -16
  186. package/dist-types/ts3.4/commands/DescribeDaemonTaskDefinitionCommand.d.ts +7 -16
  187. package/dist-types/ts3.4/commands/DescribeExpressGatewayServiceCommand.d.ts +7 -16
  188. package/dist-types/ts3.4/commands/DescribeServiceDeploymentsCommand.d.ts +7 -16
  189. package/dist-types/ts3.4/commands/DescribeServiceRevisionsCommand.d.ts +7 -16
  190. package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +7 -16
  191. package/dist-types/ts3.4/commands/DescribeTaskDefinitionCommand.d.ts +7 -16
  192. package/dist-types/ts3.4/commands/DescribeTaskSetsCommand.d.ts +7 -16
  193. package/dist-types/ts3.4/commands/DescribeTasksCommand.d.ts +7 -16
  194. package/dist-types/ts3.4/commands/DiscoverPollEndpointCommand.d.ts +7 -16
  195. package/dist-types/ts3.4/commands/ExecuteCommandCommand.d.ts +7 -16
  196. package/dist-types/ts3.4/commands/GetTaskProtectionCommand.d.ts +7 -16
  197. package/dist-types/ts3.4/commands/ListAccountSettingsCommand.d.ts +7 -16
  198. package/dist-types/ts3.4/commands/ListAttributesCommand.d.ts +7 -16
  199. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +7 -16
  200. package/dist-types/ts3.4/commands/ListContainerInstancesCommand.d.ts +7 -16
  201. package/dist-types/ts3.4/commands/ListDaemonDeploymentsCommand.d.ts +7 -16
  202. package/dist-types/ts3.4/commands/ListDaemonTaskDefinitionsCommand.d.ts +7 -16
  203. package/dist-types/ts3.4/commands/ListDaemonsCommand.d.ts +7 -16
  204. package/dist-types/ts3.4/commands/ListServiceDeploymentsCommand.d.ts +7 -16
  205. package/dist-types/ts3.4/commands/ListServicesByNamespaceCommand.d.ts +7 -16
  206. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +7 -16
  207. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  208. package/dist-types/ts3.4/commands/ListTaskDefinitionFamiliesCommand.d.ts +7 -16
  209. package/dist-types/ts3.4/commands/ListTaskDefinitionsCommand.d.ts +7 -16
  210. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +7 -16
  211. package/dist-types/ts3.4/commands/PutAccountSettingCommand.d.ts +7 -16
  212. package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +7 -16
  213. package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +7 -16
  214. package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +7 -16
  215. package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +7 -16
  216. package/dist-types/ts3.4/commands/RegisterDaemonTaskDefinitionCommand.d.ts +7 -16
  217. package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +7 -16
  218. package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +7 -16
  219. package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +7 -16
  220. package/dist-types/ts3.4/commands/StopServiceDeploymentCommand.d.ts +7 -16
  221. package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +7 -16
  222. package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +7 -16
  223. package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +7 -16
  224. package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +7 -16
  225. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  226. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  227. package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +7 -16
  228. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +7 -16
  229. package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +7 -16
  230. package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +7 -16
  231. package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +7 -16
  232. package/dist-types/ts3.4/commands/UpdateDaemonCommand.d.ts +7 -16
  233. package/dist-types/ts3.4/commands/UpdateExpressGatewayServiceCommand.d.ts +7 -16
  234. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +7 -16
  235. package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +7 -16
  236. package/dist-types/ts3.4/commands/UpdateTaskProtectionCommand.d.ts +7 -16
  237. package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +7 -16
  238. package/dist-types/ts3.4/index.d.ts +1 -0
  239. package/package.json +8 -8
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
2
  import type { UpdateClusterSettingsRequest, UpdateClusterSettingsResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UpdateClusterSettingsCommandInput extends UpdateClusterSettings
22
19
  export interface UpdateClusterSettingsCommandOutput extends UpdateClusterSettingsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const UpdateClusterSettingsCommand_base: {
25
- new (input: UpdateClusterSettingsCommandInput): import("@smithy/core/client").CommandImpl<UpdateClusterSettingsCommandInput, UpdateClusterSettingsCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateClusterSettingsCommandInput): import("@smithy/core/client").CommandImpl<UpdateClusterSettingsCommandInput, UpdateClusterSettingsCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UpdateClusterSettingsCommandInput): import("@smithy/core/client").CommandImpl<UpdateClusterSettingsCommandInput, UpdateClusterSettingsCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateClusterSettingsCommandInput): import("@smithy/core/client").CommandImpl<UpdateClusterSettingsCommandInput, UpdateClusterSettingsCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Modifies the settings to use for a cluster.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
2
  import type { UpdateContainerAgentRequest, UpdateContainerAgentResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UpdateContainerAgentCommandInput extends UpdateContainerAgentRe
22
19
  export interface UpdateContainerAgentCommandOutput extends UpdateContainerAgentResponse, __MetadataBearer {
23
20
  }
24
21
  declare const UpdateContainerAgentCommand_base: {
25
- new (input: UpdateContainerAgentCommandInput): import("@smithy/core/client").CommandImpl<UpdateContainerAgentCommandInput, UpdateContainerAgentCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateContainerAgentCommandInput): import("@smithy/core/client").CommandImpl<UpdateContainerAgentCommandInput, UpdateContainerAgentCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UpdateContainerAgentCommandInput): import("@smithy/core/client").CommandImpl<UpdateContainerAgentCommandInput, UpdateContainerAgentCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateContainerAgentCommandInput): import("@smithy/core/client").CommandImpl<UpdateContainerAgentCommandInput, UpdateContainerAgentCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Updates the Amazon ECS container agent on a specified container instance. Updating the Amazon ECS container agent doesn't interrupt running tasks or services on the container instance. The process for updating the agent differs depending on whether your container instance was launched with the Amazon ECS-optimized AMI or another operating system.</p> <note> <p>The <code>UpdateContainerAgent</code> API isn't supported for container instances using the Amazon ECS-optimized Amazon Linux 2 (arm64) AMI. To update the container agent, you can update the <code>ecs-init</code> package. This updates the agent. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/agent-update-ecs-ami.html">Updating the Amazon ECS container agent</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> </note> <note> <p>Agent updates with the <code>UpdateContainerAgent</code> API operation do not apply to Windows container instances. We recommend that you launch new container instances to update the agent version in your Windows clusters.</p> </note> <p>The <code>UpdateContainerAgent</code> API requires an Amazon ECS-optimized AMI or Amazon Linux AMI with the <code>ecs-init</code> service installed and running. For help updating the Amazon ECS container agent on other operating systems, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html#manually_update_agent">Manually updating the Amazon ECS container agent</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
2
  import type { UpdateContainerInstancesStateRequest, UpdateContainerInstancesStateResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UpdateContainerInstancesStateCommandInput extends UpdateContain
22
19
  export interface UpdateContainerInstancesStateCommandOutput extends UpdateContainerInstancesStateResponse, __MetadataBearer {
23
20
  }
24
21
  declare const UpdateContainerInstancesStateCommand_base: {
25
- new (input: UpdateContainerInstancesStateCommandInput): import("@smithy/core/client").CommandImpl<UpdateContainerInstancesStateCommandInput, UpdateContainerInstancesStateCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateContainerInstancesStateCommandInput): import("@smithy/core/client").CommandImpl<UpdateContainerInstancesStateCommandInput, UpdateContainerInstancesStateCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UpdateContainerInstancesStateCommandInput): import("@smithy/core/client").CommandImpl<UpdateContainerInstancesStateCommandInput, UpdateContainerInstancesStateCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateContainerInstancesStateCommandInput): import("@smithy/core/client").CommandImpl<UpdateContainerInstancesStateCommandInput, UpdateContainerInstancesStateCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Modifies the status of an Amazon ECS container instance.</p> <p>Once a container instance has reached an <code>ACTIVE</code> state, you can change the status of a container instance to <code>DRAINING</code> to manually remove an instance from a cluster, for example to perform system updates, update the Docker daemon, or scale down the cluster size.</p> <important> <p>A container instance can't be changed to <code>DRAINING</code> until it has reached an <code>ACTIVE</code> status. If the instance is in any other status, an error will be received.</p> </important> <p>When you set a container instance to <code>DRAINING</code>, Amazon ECS prevents new tasks from being scheduled for placement on the container instance and replacement service tasks are started on other container instances in the cluster if the resources are available. Service tasks on the container instance that are in the <code>PENDING</code> state are stopped immediately.</p> <p>Service tasks on the container instance that are in the <code>RUNNING</code> state are stopped and replaced according to the service's deployment configuration parameters, <code>minimumHealthyPercent</code> and <code>maximumPercent</code>. You can change the deployment configuration of your service using <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html">UpdateService</a>.</p> <ul> <li> <p>If <code>minimumHealthyPercent</code> is below 100%, the scheduler can ignore <code>desiredCount</code> temporarily during task replacement. For example, <code>desiredCount</code> is four tasks, a minimum of 50% allows the scheduler to stop two existing tasks before starting two new tasks. If the minimum is 100%, the service scheduler can't remove existing tasks until the replacement tasks are considered healthy. Tasks for services that do not use a load balancer are considered healthy if they're in the <code>RUNNING</code> state. Tasks for services that use a load balancer are considered healthy if they're in the <code>RUNNING</code> state and are reported as healthy by the load balancer.</p> </li> <li> <p>The <code>maximumPercent</code> parameter represents an upper limit on the number of running tasks during task replacement. You can use this to define the replacement batch size. For example, if <code>desiredCount</code> is four tasks, a maximum of 200% starts four new tasks before stopping the four tasks to be drained, provided that the cluster resources required to do this are available. If the maximum is 100%, then replacement tasks can't start until the draining tasks have stopped.</p> </li> </ul> <p>Any <code>PENDING</code> or <code>RUNNING</code> tasks that do not belong to a service aren't affected. You must wait for them to finish or stop them manually.</p> <p>A container instance has completed draining when it has no more <code>RUNNING</code> tasks. You can verify this using <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListTasks.html">ListTasks</a>.</p> <p>When a container instance has been drained, you can set a container instance to <code>ACTIVE</code> status and once it has reached that status the Amazon ECS scheduler can begin scheduling tasks on the instance again.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
2
  import type { UpdateDaemonRequest, UpdateDaemonResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UpdateDaemonCommandInput extends UpdateDaemonRequest {
22
19
  export interface UpdateDaemonCommandOutput extends UpdateDaemonResponse, __MetadataBearer {
23
20
  }
24
21
  declare const UpdateDaemonCommand_base: {
25
- new (input: UpdateDaemonCommandInput): import("@smithy/core/client").CommandImpl<UpdateDaemonCommandInput, UpdateDaemonCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateDaemonCommandInput): import("@smithy/core/client").CommandImpl<UpdateDaemonCommandInput, UpdateDaemonCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UpdateDaemonCommandInput): import("@smithy/core/client").CommandImpl<UpdateDaemonCommandInput, UpdateDaemonCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateDaemonCommandInput): import("@smithy/core/client").CommandImpl<UpdateDaemonCommandInput, UpdateDaemonCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Updates the specified daemon. When you update a daemon, a new deployment is triggered that progressively rolls out the changes to the container instances associated with the daemon's capacity providers. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/daemon-deployments.html">Daemon deployments</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>Amazon ECS drains existing container instances and provisions new instances with the updated daemon. Amazon ECS automatically launches replacement tasks for your services.</p> <important> <p>Updating a daemon triggers a rolling deployment that drains and replaces container instances. Plan updates during maintenance windows to minimize impact on running services.</p> </important> <note> <p>ECS Managed Daemons is only supported for Amazon ECS Managed Instances Capacity Providers.</p> </note>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
2
  import type { UpdateExpressGatewayServiceRequest, UpdateExpressGatewayServiceResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UpdateExpressGatewayServiceCommandInput extends UpdateExpressGa
22
19
  export interface UpdateExpressGatewayServiceCommandOutput extends UpdateExpressGatewayServiceResponse, __MetadataBearer {
23
20
  }
24
21
  declare const UpdateExpressGatewayServiceCommand_base: {
25
- new (input: UpdateExpressGatewayServiceCommandInput): import("@smithy/core/client").CommandImpl<UpdateExpressGatewayServiceCommandInput, UpdateExpressGatewayServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateExpressGatewayServiceCommandInput): import("@smithy/core/client").CommandImpl<UpdateExpressGatewayServiceCommandInput, UpdateExpressGatewayServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UpdateExpressGatewayServiceCommandInput): import("@smithy/core/client").CommandImpl<UpdateExpressGatewayServiceCommandInput, UpdateExpressGatewayServiceCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateExpressGatewayServiceCommandInput): import("@smithy/core/client").CommandImpl<UpdateExpressGatewayServiceCommandInput, UpdateExpressGatewayServiceCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Updates an existing Express service configuration. Modifies container settings, resource allocation, auto-scaling configuration, and other service parameters without recreating the service.</p> <p>Amazon ECS creates a new service revision with updated configuration and performs a rolling deployment to replace existing tasks. The service remains available during updates, ensuring zero-downtime deployments.</p> <p>Some parameters like the infrastructure role cannot be modified after service creation and require creating a new service.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
2
  import type { UpdateServiceRequest, UpdateServiceResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UpdateServiceCommandInput extends UpdateServiceRequest {
22
19
  export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __MetadataBearer {
23
20
  }
24
21
  declare const UpdateServiceCommand_base: {
25
- new (input: UpdateServiceCommandInput): import("@smithy/core/client").CommandImpl<UpdateServiceCommandInput, UpdateServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateServiceCommandInput): import("@smithy/core/client").CommandImpl<UpdateServiceCommandInput, UpdateServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UpdateServiceCommandInput): import("@smithy/core/client").CommandImpl<UpdateServiceCommandInput, UpdateServiceCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateServiceCommandInput): import("@smithy/core/client").CommandImpl<UpdateServiceCommandInput, UpdateServiceCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Modifies the parameters of a service.</p> <note> <p>On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.</p> </note> <p>For services using the rolling update (<code>ECS</code>) you can update the desired count, deployment configuration, network configuration, load balancers, service registries, enable ECS managed tags option, propagate tags option, task placement constraints and strategies, and task definition. When you update any of these parameters, Amazon ECS starts new tasks with the new configuration. </p> <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or running a task, or when creating or updating a service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. You can update your volume configurations and trigger a new deployment. <code>volumeConfigurations</code> is only supported for REPLICA service and not DAEMON service. If you leave <code>volumeConfigurations</code> <code>null</code>, it doesn't trigger a new deployment. For more information on volumes, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>For services using the blue/green (<code>CODE_DEPLOY</code>) deployment controller, only the desired count, deployment configuration, health check grace period, task placement constraints and strategies, enable ECS managed tags option, and propagate tags can be updated using this API. If the network configuration, platform version, task definition, or load balancer need to be updated, create a new CodeDeploy deployment. For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html">CreateDeployment</a> in the <i>CodeDeploy API Reference</i>.</p> <p>For services using an external deployment controller, you can update only the desired count, task placement constraints and strategies, health check grace period, enable ECS managed tags option, and propagate tags option, using this API. If the launch type, load balancer, network configuration, platform version, or task definition need to be updated, create a new task set For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateTaskSet.html">CreateTaskSet</a>.</p> <p>You can add to or subtract from the number of instantiations of a task definition in a service by specifying the cluster that the service is running in and a new <code>desiredCount</code> parameter.</p> <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or running a task, or when creating or updating a service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>If you have updated the container image of your application, you can create a new task definition with that image and deploy it to your service. The service scheduler uses the minimum healthy percent and maximum percent parameters (in the service's deployment configuration) to determine the deployment strategy.</p> <note> <p>If your updated Docker image uses the same tag as what is in the existing task definition for your service (for example, <code>my_image:latest</code>), you don't need to create a new revision of your task definition. You can update the service using the <code>forceNewDeployment</code> option. The new tasks launched by the deployment pull the current image/tag combination from your repository when they start.</p> </note> <p>You can also update the deployment configuration of a service. When a deployment is triggered by updating the task definition of a service, the service scheduler uses the deployment configuration parameters, <code>minimumHealthyPercent</code> and <code>maximumPercent</code>, to determine the deployment strategy.</p> <ul> <li> <p>If <code>minimumHealthyPercent</code> is below 100%, the scheduler can ignore <code>desiredCount</code> temporarily during a deployment. For example, if <code>desiredCount</code> is four tasks, a minimum of 50% allows the scheduler to stop two existing tasks before starting two new tasks. Tasks for services that don't use a load balancer are considered healthy if they're in the <code>RUNNING</code> state. Tasks for services that use a load balancer are considered healthy if they're in the <code>RUNNING</code> state and are reported as healthy by the load balancer.</p> </li> <li> <p>The <code>maximumPercent</code> parameter represents an upper limit on the number of running tasks during a deployment. You can use it to define the deployment batch size. For example, if <code>desiredCount</code> is four tasks, a maximum of 200% starts four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available).</p> </li> </ul> <p>When <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html">UpdateService</a> stops a task during a deployment, the equivalent of <code>docker stop</code> is issued to the containers running in the task. This results in a <code>SIGTERM</code> and a 30-second timeout. After this, <code>SIGKILL</code> is sent and the containers are forcibly stopped. If the container handles the <code>SIGTERM</code> gracefully and exits within 30 seconds from receiving it, no <code>SIGKILL</code> is sent.</p> <p>When the service scheduler launches new tasks, it determines task placement in your cluster with the following logic.</p> <ul> <li> <p>Determine which of the container instances in your cluster can support your service's task definition. For example, they have the required CPU, memory, ports, and container instance attributes.</p> </li> <li> <p>By default, the service scheduler attempts to balance tasks across Availability Zones in this manner even though you can choose a different placement strategy.</p> <ul> <li> <p>Sort the valid container instances by the fewest number of running tasks for this service in the same Availability Zone as the instance. For example, if zone A has one running service task and zones B and C each have zero, valid container instances in either zone B or C are considered optimal for placement.</p> </li> <li> <p>Place the new service task on a valid container instance in an optimal Availability Zone (based on the previous steps), favoring container instances with the fewest number of running tasks for this service.</p> </li> </ul> </li> </ul> <p>When the service scheduler stops running tasks, it attempts to maintain balance across the Availability Zones in your cluster using the following logic: </p> <ul> <li> <p>Sort the container instances by the largest number of running tasks for this service in the same Availability Zone as the instance. For example, if zone A has one running service task and zones B and C each have two, container instances in either zone B or C are considered optimal for termination.</p> </li> <li> <p>Stop the task on a container instance in an optimal Availability Zone (based on the previous steps), favoring container instances with the largest number of running tasks for this service.</p> </li> </ul>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
2
  import type { UpdateServicePrimaryTaskSetRequest, UpdateServicePrimaryTaskSetResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UpdateServicePrimaryTaskSetCommandInput extends UpdateServicePr
22
19
  export interface UpdateServicePrimaryTaskSetCommandOutput extends UpdateServicePrimaryTaskSetResponse, __MetadataBearer {
23
20
  }
24
21
  declare const UpdateServicePrimaryTaskSetCommand_base: {
25
- new (input: UpdateServicePrimaryTaskSetCommandInput): import("@smithy/core/client").CommandImpl<UpdateServicePrimaryTaskSetCommandInput, UpdateServicePrimaryTaskSetCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateServicePrimaryTaskSetCommandInput): import("@smithy/core/client").CommandImpl<UpdateServicePrimaryTaskSetCommandInput, UpdateServicePrimaryTaskSetCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UpdateServicePrimaryTaskSetCommandInput): import("@smithy/core/client").CommandImpl<UpdateServicePrimaryTaskSetCommandInput, UpdateServicePrimaryTaskSetCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateServicePrimaryTaskSetCommandInput): import("@smithy/core/client").CommandImpl<UpdateServicePrimaryTaskSetCommandInput, UpdateServicePrimaryTaskSetCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Modifies which task set in a service is the primary task set. Any parameters that are updated on the primary task set in a service will transition to the service. This is used when a service uses the <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 Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
2
  import type { UpdateTaskProtectionRequest, UpdateTaskProtectionResponse } from "../models/models_1";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UpdateTaskProtectionCommandInput extends UpdateTaskProtectionRe
22
19
  export interface UpdateTaskProtectionCommandOutput extends UpdateTaskProtectionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const UpdateTaskProtectionCommand_base: {
25
- new (input: UpdateTaskProtectionCommandInput): import("@smithy/core/client").CommandImpl<UpdateTaskProtectionCommandInput, UpdateTaskProtectionCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateTaskProtectionCommandInput): import("@smithy/core/client").CommandImpl<UpdateTaskProtectionCommandInput, UpdateTaskProtectionCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UpdateTaskProtectionCommandInput): import("@smithy/core/client").CommandImpl<UpdateTaskProtectionCommandInput, UpdateTaskProtectionCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateTaskProtectionCommandInput): import("@smithy/core/client").CommandImpl<UpdateTaskProtectionCommandInput, UpdateTaskProtectionCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Updates the protection status of a task. You can set <code>protectionEnabled</code> to <code>true</code> to protect your task from termination during scale-in events from <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html">Service Autoscaling</a> or <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">deployments</a>.</p> <p>Task-protection, by default, expires after 2 hours at which point Amazon ECS clears the <code>protectionEnabled</code> property making the task eligible for termination by a subsequent scale-in event.</p> <p>You can specify a custom expiration period for task protection from 1 minute to up to 2,880 minutes (48 hours). To specify the custom expiration period, set the <code>expiresInMinutes</code> property. The <code>expiresInMinutes</code> property is always reset when you invoke this operation for a task that already has <code>protectionEnabled</code> set to <code>true</code>. You can keep extending the protection expiration period of a task by invoking this operation repeatedly.</p> <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 protection</a> in the <i> <i>Amazon Elastic Container Service Developer Guide</i> </i>.</p> <note> <p>This operation is only supported for tasks belonging to an Amazon ECS service. Invoking this operation for a standalone task will result in an <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 reasons</a>.</p> </note> <important> <p>If you prefer to set task protection from within the container, we recommend using the <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-scale-in-protection-endpoint.html">Task scale-in protection endpoint</a>.</p> </important>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
4
2
  import type { UpdateTaskSetRequest, UpdateTaskSetResponse } from "../models/models_1";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UpdateTaskSetCommandInput extends UpdateTaskSetRequest {
22
19
  export interface UpdateTaskSetCommandOutput extends UpdateTaskSetResponse, __MetadataBearer {
23
20
  }
24
21
  declare const UpdateTaskSetCommand_base: {
25
- new (input: UpdateTaskSetCommandInput): import("@smithy/core/client").CommandImpl<UpdateTaskSetCommandInput, UpdateTaskSetCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateTaskSetCommandInput): import("@smithy/core/client").CommandImpl<UpdateTaskSetCommandInput, UpdateTaskSetCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UpdateTaskSetCommandInput): import("@smithy/core/client").CommandImpl<UpdateTaskSetCommandInput, UpdateTaskSetCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateTaskSetCommandInput): import("@smithy/core/client").CommandImpl<UpdateTaskSetCommandInput, UpdateTaskSetCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Modifies a task set. This is used when a service uses the <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 Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
@@ -9,6 +9,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { ECSExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
+ export { Command as $Command } from "@smithy/core/client";
12
13
  export * from "./schemas/schemas_0";
13
14
  export * from "./pagination";
14
15
  export * from "./waiters";
@@ -0,0 +1,46 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ ECSClientResolvedConfig,
4
+ ServiceInputTypes,
5
+ ServiceOutputTypes,
6
+ } from "./ECSClient";
7
+ export declare const command: <
8
+ I extends ServiceInputTypes,
9
+ O extends ServiceOutputTypes
10
+ >(
11
+ added: EndpointParameterInstructions,
12
+ plugins: (
13
+ CommandCtor: any,
14
+ clientStack: any,
15
+ config: any,
16
+ options: any
17
+ ) => import("@smithy/types").Pluggable<any, any>[],
18
+ op: string,
19
+ $: import("@smithy/types").StaticOperationSchema,
20
+ smithyContext?: Record<string, unknown>
21
+ ) => {
22
+ new (input: I): import("@smithy/core/client").CommandImpl<
23
+ I,
24
+ O,
25
+ ECSClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: import("@smithy/types").OptionalParameter<I>
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ I,
33
+ O,
34
+ ECSClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
39
+ };
40
+ export declare const _ep0: EndpointParameterInstructions;
41
+ export declare const _mw0: (
42
+ Command: any,
43
+ cs: any,
44
+ config: any,
45
+ o: any
46
+ ) => never[];
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- ECSClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../ECSClient";
8
2
  import {
9
3
  ContinueServiceDeploymentRequest,
10
4
  ContinueServiceDeploymentResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface ContinueServiceDeploymentCommandInput
15
8
  extends ContinueServiceDeploymentRequest {}
16
9
  export interface ContinueServiceDeploymentCommandOutput
@@ -22,22 +15,20 @@ declare const ContinueServiceDeploymentCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  ContinueServiceDeploymentCommandInput,
24
17
  ContinueServiceDeploymentCommandOutput,
25
- ECSClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").ECSClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: ContinueServiceDeploymentCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  ContinueServiceDeploymentCommandInput,
33
26
  ContinueServiceDeploymentCommandOutput,
34
- ECSClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").ECSClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class ContinueServiceDeploymentCommand extends ContinueServiceDeploymentCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- ECSClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../ECSClient";
8
2
  import {
9
3
  CreateCapacityProviderRequest,
10
4
  CreateCapacityProviderResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface CreateCapacityProviderCommandInput
15
8
  extends CreateCapacityProviderRequest {}
16
9
  export interface CreateCapacityProviderCommandOutput
@@ -22,22 +15,20 @@ declare const CreateCapacityProviderCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  CreateCapacityProviderCommandInput,
24
17
  CreateCapacityProviderCommandOutput,
25
- ECSClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").ECSClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: CreateCapacityProviderCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  CreateCapacityProviderCommandInput,
33
26
  CreateCapacityProviderCommandOutput,
34
- ECSClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").ECSClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class CreateCapacityProviderCommand extends CreateCapacityProviderCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- ECSClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../ECSClient";
8
2
  import {
9
3
  CreateClusterRequest,
10
4
  CreateClusterResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface CreateClusterCommandInput extends CreateClusterRequest {}
15
8
  export interface CreateClusterCommandOutput
16
9
  extends CreateClusterResponse,
@@ -21,22 +14,20 @@ declare const CreateClusterCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  CreateClusterCommandInput,
23
16
  CreateClusterCommandOutput,
24
- ECSClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").ECSClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  ...[input]: [] | [CreateClusterCommandInput]
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  CreateClusterCommandInput,
32
25
  CreateClusterCommandOutput,
33
- ECSClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").ECSClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class CreateClusterCommand extends CreateClusterCommand_base {
42
33
  protected static __types: {
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- ECSClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../ECSClient";
8
2
  import { CreateDaemonRequest, CreateDaemonResponse } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface CreateDaemonCommandInput extends CreateDaemonRequest {}
12
5
  export interface CreateDaemonCommandOutput
13
6
  extends CreateDaemonResponse,
@@ -18,22 +11,20 @@ declare const CreateDaemonCommand_base: {
18
11
  ): import("@smithy/core/client").CommandImpl<
19
12
  CreateDaemonCommandInput,
20
13
  CreateDaemonCommandOutput,
21
- ECSClientResolvedConfig,
22
- ServiceInputTypes,
23
- ServiceOutputTypes
14
+ import("..").ECSClientResolvedConfig,
15
+ import("..").ServiceInputTypes,
16
+ import("..").ServiceOutputTypes
24
17
  >;
25
18
  new (
26
19
  input: CreateDaemonCommandInput
27
20
  ): import("@smithy/core/client").CommandImpl<
28
21
  CreateDaemonCommandInput,
29
22
  CreateDaemonCommandOutput,
30
- ECSClientResolvedConfig,
31
- ServiceInputTypes,
32
- ServiceOutputTypes
23
+ import("..").ECSClientResolvedConfig,
24
+ import("..").ServiceInputTypes,
25
+ import("..").ServiceOutputTypes
33
26
  >;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
28
  };
38
29
  export declare class CreateDaemonCommand extends CreateDaemonCommand_base {
39
30
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- ECSClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../ECSClient";
8
2
  import {
9
3
  CreateExpressGatewayServiceRequest,
10
4
  CreateExpressGatewayServiceResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface CreateExpressGatewayServiceCommandInput
15
8
  extends CreateExpressGatewayServiceRequest {}
16
9
  export interface CreateExpressGatewayServiceCommandOutput
@@ -22,22 +15,20 @@ declare const CreateExpressGatewayServiceCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  CreateExpressGatewayServiceCommandInput,
24
17
  CreateExpressGatewayServiceCommandOutput,
25
- ECSClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").ECSClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: CreateExpressGatewayServiceCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  CreateExpressGatewayServiceCommandInput,
33
26
  CreateExpressGatewayServiceCommandOutput,
34
- ECSClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").ECSClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class CreateExpressGatewayServiceCommand extends CreateExpressGatewayServiceCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- ECSClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../ECSClient";
8
2
  import {
9
3
  CreateServiceRequest,
10
4
  CreateServiceResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface CreateServiceCommandInput extends CreateServiceRequest {}
15
8
  export interface CreateServiceCommandOutput
16
9
  extends CreateServiceResponse,
@@ -21,22 +14,20 @@ declare const CreateServiceCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  CreateServiceCommandInput,
23
16
  CreateServiceCommandOutput,
24
- ECSClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").ECSClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  input: CreateServiceCommandInput
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  CreateServiceCommandInput,
32
25
  CreateServiceCommandOutput,
33
- ECSClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").ECSClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class CreateServiceCommand extends CreateServiceCommand_base {
42
33
  protected static __types: {