@aws-sdk/client-ecs 3.1077.0 → 3.1078.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,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { SubmitContainerStateChange$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SubmitContainerStateChangeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonEC2ContainerServiceV20141113", "SubmitContainerStateChange", {})
13
- .n("ECSClient", "SubmitContainerStateChangeCommand")
14
- .sc(SubmitContainerStateChange$)
15
- .build() {
3
+ export class SubmitContainerStateChangeCommand extends command(_ep0, _mw0, "SubmitContainerStateChange", SubmitContainerStateChange$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { SubmitTaskStateChange$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SubmitTaskStateChangeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonEC2ContainerServiceV20141113", "SubmitTaskStateChange", {})
13
- .n("ECSClient", "SubmitTaskStateChangeCommand")
14
- .sc(SubmitTaskStateChange$)
15
- .build() {
3
+ export class SubmitTaskStateChangeCommand extends command(_ep0, _mw0, "SubmitTaskStateChange", SubmitTaskStateChange$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonEC2ContainerServiceV20141113", "TagResource", {})
13
- .n("ECSClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonEC2ContainerServiceV20141113", "UntagResource", {})
13
- .n("ECSClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateCapacityProvider$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateCapacityProviderCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonEC2ContainerServiceV20141113", "UpdateCapacityProvider", {})
13
- .n("ECSClient", "UpdateCapacityProviderCommand")
14
- .sc(UpdateCapacityProvider$)
15
- .build() {
3
+ export class UpdateCapacityProviderCommand extends command(_ep0, _mw0, "UpdateCapacityProvider", UpdateCapacityProvider$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonEC2ContainerServiceV20141113", "UpdateCluster", {})
13
- .n("ECSClient", "UpdateClusterCommand")
14
- .sc(UpdateCluster$)
15
- .build() {
3
+ export class UpdateClusterCommand extends command(_ep0, _mw0, "UpdateCluster", UpdateCluster$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateClusterSettings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateClusterSettingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonEC2ContainerServiceV20141113", "UpdateClusterSettings", {})
13
- .n("ECSClient", "UpdateClusterSettingsCommand")
14
- .sc(UpdateClusterSettings$)
15
- .build() {
3
+ export class UpdateClusterSettingsCommand extends command(_ep0, _mw0, "UpdateClusterSettings", UpdateClusterSettings$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateContainerAgent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateContainerAgentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonEC2ContainerServiceV20141113", "UpdateContainerAgent", {})
13
- .n("ECSClient", "UpdateContainerAgentCommand")
14
- .sc(UpdateContainerAgent$)
15
- .build() {
3
+ export class UpdateContainerAgentCommand extends command(_ep0, _mw0, "UpdateContainerAgent", UpdateContainerAgent$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateContainerInstancesState$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateContainerInstancesStateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonEC2ContainerServiceV20141113", "UpdateContainerInstancesState", {})
13
- .n("ECSClient", "UpdateContainerInstancesStateCommand")
14
- .sc(UpdateContainerInstancesState$)
15
- .build() {
3
+ export class UpdateContainerInstancesStateCommand extends command(_ep0, _mw0, "UpdateContainerInstancesState", UpdateContainerInstancesState$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateDaemon$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateDaemonCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonEC2ContainerServiceV20141113", "UpdateDaemon", {})
13
- .n("ECSClient", "UpdateDaemonCommand")
14
- .sc(UpdateDaemon$)
15
- .build() {
3
+ export class UpdateDaemonCommand extends command(_ep0, _mw0, "UpdateDaemon", UpdateDaemon$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateExpressGatewayService$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateExpressGatewayServiceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonEC2ContainerServiceV20141113", "UpdateExpressGatewayService", {})
13
- .n("ECSClient", "UpdateExpressGatewayServiceCommand")
14
- .sc(UpdateExpressGatewayService$)
15
- .build() {
3
+ export class UpdateExpressGatewayServiceCommand extends command(_ep0, _mw0, "UpdateExpressGatewayService", UpdateExpressGatewayService$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateService$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateServiceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonEC2ContainerServiceV20141113", "UpdateService", {})
13
- .n("ECSClient", "UpdateServiceCommand")
14
- .sc(UpdateService$)
15
- .build() {
3
+ export class UpdateServiceCommand extends command(_ep0, _mw0, "UpdateService", UpdateService$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateServicePrimaryTaskSet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateServicePrimaryTaskSetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonEC2ContainerServiceV20141113", "UpdateServicePrimaryTaskSet", {})
13
- .n("ECSClient", "UpdateServicePrimaryTaskSetCommand")
14
- .sc(UpdateServicePrimaryTaskSet$)
15
- .build() {
3
+ export class UpdateServicePrimaryTaskSetCommand extends command(_ep0, _mw0, "UpdateServicePrimaryTaskSet", UpdateServicePrimaryTaskSet$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateTaskProtection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateTaskProtectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonEC2ContainerServiceV20141113", "UpdateTaskProtection", {})
13
- .n("ECSClient", "UpdateTaskProtectionCommand")
14
- .sc(UpdateTaskProtection$)
15
- .build() {
3
+ export class UpdateTaskProtectionCommand extends command(_ep0, _mw0, "UpdateTaskProtection", UpdateTaskProtection$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateTaskSet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateTaskSetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonEC2ContainerServiceV20141113", "UpdateTaskSet", {})
13
- .n("ECSClient", "UpdateTaskSetCommand")
14
- .sc(UpdateTaskSet$)
15
- .build() {
3
+ export class UpdateTaskSetCommand extends command(_ep0, _mw0, "UpdateTaskSet", UpdateTaskSet$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ECSClient";
2
2
  export * from "./ECS";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./waiters";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./ECSClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -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 { ContinueServiceDeploymentRequest, ContinueServiceDeploymentResponse } 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 ContinueServiceDeploymentCommandInput extends ContinueServiceDe
22
19
  export interface ContinueServiceDeploymentCommandOutput extends ContinueServiceDeploymentResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ContinueServiceDeploymentCommand_base: {
25
- new (input: ContinueServiceDeploymentCommandInput): import("@smithy/core/client").CommandImpl<ContinueServiceDeploymentCommandInput, ContinueServiceDeploymentCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ContinueServiceDeploymentCommandInput): import("@smithy/core/client").CommandImpl<ContinueServiceDeploymentCommandInput, ContinueServiceDeploymentCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ContinueServiceDeploymentCommandInput): import("@smithy/core/client").CommandImpl<ContinueServiceDeploymentCommandInput, ContinueServiceDeploymentCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ContinueServiceDeploymentCommandInput): import("@smithy/core/client").CommandImpl<ContinueServiceDeploymentCommandInput, ContinueServiceDeploymentCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Continues or rolls back an Amazon ECS service deployment that is paused at a lifecycle hook.</p> <p>When a service deployment reaches a lifecycle stage that has a <code>PAUSE</code> hook configured, the deployment pauses and waits for an explicit action. Use this API to either continue the deployment to the next stage or roll back to the previous service revision.</p> <p>To find the <code>hookId</code> of the paused hook, call <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServiceDeployments.html">DescribeServiceDeployments</a> and inspect the <code>lifecycleHookDetails</code> field.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/continue-service-deployment.html">Continuing Amazon ECS service deployments</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 { CreateCapacityProviderRequest, CreateCapacityProviderResponse } 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 CreateCapacityProviderCommandInput extends CreateCapacityProvid
22
19
  export interface CreateCapacityProviderCommandOutput extends CreateCapacityProviderResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateCapacityProviderCommand_base: {
25
- new (input: CreateCapacityProviderCommandInput): import("@smithy/core/client").CommandImpl<CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateCapacityProviderCommandInput): import("@smithy/core/client").CommandImpl<CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateCapacityProviderCommandInput): import("@smithy/core/client").CommandImpl<CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateCapacityProviderCommandInput): import("@smithy/core/client").CommandImpl<CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a capacity provider. Capacity providers are associated with a cluster and are used in capacity provider strategies to facilitate cluster auto scaling. You can create capacity providers for Amazon ECS Managed Instances and EC2 instances. Fargate has the predefined <code>FARGATE</code> and <code>FARGATE_SPOT</code> capacity providers.</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 { CreateClusterRequest, CreateClusterResponse } 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 CreateClusterCommandInput extends CreateClusterRequest {
22
19
  export interface CreateClusterCommandOutput extends CreateClusterResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateClusterCommand_base: {
25
- new (input: CreateClusterCommandInput): import("@smithy/core/client").CommandImpl<CreateClusterCommandInput, CreateClusterCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [CreateClusterCommandInput]): import("@smithy/core/client").CommandImpl<CreateClusterCommandInput, CreateClusterCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateClusterCommandInput): import("@smithy/core/client").CommandImpl<CreateClusterCommandInput, CreateClusterCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [CreateClusterCommandInput]): import("@smithy/core/client").CommandImpl<CreateClusterCommandInput, CreateClusterCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a new Amazon ECS cluster. By default, your account receives a <code>default</code> cluster when you launch your first container instance. However, you can create your own cluster with a unique name.</p> <note> <p>When you call the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCluster.html">CreateCluster</a> API operation, Amazon ECS attempts to create the Amazon ECS service-linked role for your account. This is so that it can manage required resources in other Amazon Web Services services on your behalf. However, if the user that makes the call doesn't have permissions to create the service-linked role, it isn't created. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Using service-linked roles for Amazon ECS</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</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 { CreateDaemonRequest, CreateDaemonResponse } 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 CreateDaemonCommandInput extends CreateDaemonRequest {
22
19
  export interface CreateDaemonCommandOutput extends CreateDaemonResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateDaemonCommand_base: {
25
- new (input: CreateDaemonCommandInput): import("@smithy/core/client").CommandImpl<CreateDaemonCommandInput, CreateDaemonCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateDaemonCommandInput): import("@smithy/core/client").CommandImpl<CreateDaemonCommandInput, CreateDaemonCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateDaemonCommandInput): import("@smithy/core/client").CommandImpl<CreateDaemonCommandInput, CreateDaemonCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateDaemonCommandInput): import("@smithy/core/client").CommandImpl<CreateDaemonCommandInput, CreateDaemonCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a new daemon in the specified cluster and capacity providers. A daemon deploys cross-cutting software agents such as security monitoring, telemetry, and logging independently across your Amazon ECS infrastructure.</p> <p>Amazon ECS deploys exactly one daemon task on each container instance of the specified capacity providers. When a container instance registers with the cluster, Amazon ECS automatically starts daemon tasks. Amazon ECS starts a daemon task before scheduling other tasks.</p> <p>Daemons are essential for instance health - if a daemon task stops, Amazon ECS automatically drains and replaces that container instance.</p> <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 { CreateExpressGatewayServiceRequest, CreateExpressGatewayServiceResponse } 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 CreateExpressGatewayServiceCommandInput extends CreateExpressGa
22
19
  export interface CreateExpressGatewayServiceCommandOutput extends CreateExpressGatewayServiceResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateExpressGatewayServiceCommand_base: {
25
- new (input: CreateExpressGatewayServiceCommandInput): import("@smithy/core/client").CommandImpl<CreateExpressGatewayServiceCommandInput, CreateExpressGatewayServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateExpressGatewayServiceCommandInput): import("@smithy/core/client").CommandImpl<CreateExpressGatewayServiceCommandInput, CreateExpressGatewayServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateExpressGatewayServiceCommandInput): import("@smithy/core/client").CommandImpl<CreateExpressGatewayServiceCommandInput, CreateExpressGatewayServiceCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateExpressGatewayServiceCommandInput): import("@smithy/core/client").CommandImpl<CreateExpressGatewayServiceCommandInput, CreateExpressGatewayServiceCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates an Express service that simplifies deploying containerized web applications on Amazon ECS with managed Amazon Web Services infrastructure. This operation provisions and configures Application Load Balancers, target groups, security groups, and auto-scaling policies automatically.</p> <p>Specify a primary container configuration with your application image and basic settings. Amazon ECS creates the necessary Amazon Web Services resources for traffic distribution, health monitoring, network access control, and capacity management.</p> <p>Provide an execution role for task operations and an infrastructure role for managing Amazon Web Services resources on your behalf.</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 { CreateServiceRequest, CreateServiceResponse } 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 CreateServiceCommandInput extends CreateServiceRequest {
22
19
  export interface CreateServiceCommandOutput extends CreateServiceResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateServiceCommand_base: {
25
- new (input: CreateServiceCommandInput): import("@smithy/core/client").CommandImpl<CreateServiceCommandInput, CreateServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateServiceCommandInput): import("@smithy/core/client").CommandImpl<CreateServiceCommandInput, CreateServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateServiceCommandInput): import("@smithy/core/client").CommandImpl<CreateServiceCommandInput, CreateServiceCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateServiceCommandInput): import("@smithy/core/client").CommandImpl<CreateServiceCommandInput, CreateServiceCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Runs and maintains your desired number of tasks from a specified task definition. If the number of tasks running in a service drops below the <code>desiredCount</code>, Amazon ECS runs another copy of the task in the specified cluster. To update an existing service, use <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html">UpdateService</a>.</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> <note> <p>Amazon Elastic Inference (EI) is no longer available to customers.</p> </note> <p>In addition to maintaining the desired count of tasks in your service, you can optionally run your service behind one or more load balancers. The load balancers distribute traffic across the tasks that are associated with the service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html">Service load balancing</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or updating a service. <code>volumeConfigurations</code> is only supported for REPLICA service and not DAEMON 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>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> <p>There are two service scheduler strategies available:</p> <ul> <li> <p> <code>REPLICA</code> - The replica scheduling strategy places and maintains your desired number of tasks across your cluster. By default, the service scheduler spreads tasks across Availability Zones. You can use task placement strategies and constraints to customize task placement decisions. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Service scheduler concepts</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> </li> <li> <p> <code>DAEMON</code> - The daemon scheduling strategy deploys exactly one task on each active container instance that meets all of the task placement constraints that you specify in your cluster. The service scheduler also evaluates the task placement constraints for running tasks. It also stops tasks that don't meet the placement constraints. When using this strategy, you don't need to specify a desired number of tasks, a task placement strategy, or use Service Auto Scaling policies. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Amazon ECS services</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> </li> </ul> <p>The deployment controller is the mechanism that determines how tasks are deployed for your service. The valid options are:</p> <ul> <li> <p>ECS</p> <p> When you create a service which uses the <code>ECS</code> deployment controller, you can choose between the following deployment strategies (which you can set in the “<code>strategy</code>” field in “<code>deploymentConfiguration</code>”): :</p> <ul> <li> <p> <code>ROLLING</code>: When you create a service which uses the <i>rolling update</i> (<code>ROLLING</code>) deployment strategy, the Amazon ECS service scheduler replaces the currently running tasks with new tasks. The number of tasks that Amazon ECS adds or removes from the service during a rolling update is controlled by the service deployment configuration. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html">Deploy Amazon ECS services by replacing tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>Rolling update deployments are best suited for the following scenarios:</p> <ul> <li> <p>Gradual service updates: You need to update your service incrementally without taking the entire service offline at once.</p> </li> <li> <p>Limited resource requirements: You want to avoid the additional resource costs of running two complete environments simultaneously (as required by blue/green deployments).</p> </li> <li> <p>Acceptable deployment time: Your application can tolerate a longer deployment process, as rolling updates replace tasks one by one.</p> </li> <li> <p>No need for instant roll back: Your service can tolerate a rollback process that takes minutes rather than seconds.</p> </li> <li> <p>Simple deployment process: You prefer a straightforward deployment approach without the complexity of managing multiple environments, target groups, and listeners.</p> </li> <li> <p>No load balancer requirement: Your service doesn't use or require a load balancer, Application Load Balancer, Network Load Balancer, or Service Connect (which are required for blue/green deployments).</p> </li> <li> <p>Stateful applications: Your application maintains state that makes it difficult to run two parallel environments.</p> </li> <li> <p>Cost sensitivity: You want to minimize deployment costs by not running duplicate environments during deployment.</p> </li> </ul> <p>Rolling updates are the default deployment strategy for services and provide a balance between deployment safety and resource efficiency for many common application scenarios.</p> </li> <li> <p> <code>BLUE_GREEN</code>: A <i>blue/green</i> deployment strategy (<code>BLUE_GREEN</code>) is a release methodology that reduces downtime and risk by running two identical production environments called blue and green. With Amazon ECS blue/green deployments, you can validate new service revisions before directing production traffic to them. This approach provides a safer way to deploy changes with the ability to quickly roll back if needed. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-blue-green.html">Amazon ECS blue/green deployments</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>Amazon ECS blue/green deployments are best suited for the following scenarios:</p> <ul> <li> <p>Service validation: When you need to validate new service revisions before directing production traffic to them</p> </li> <li> <p>Zero downtime: When your service requires zero-downtime deployments</p> </li> <li> <p>Instant roll back: When you need the ability to quickly roll back if issues are detected</p> </li> <li> <p>Load balancer requirement: When your service uses Application Load Balancer, Network Load Balancer, or Service Connect</p> </li> </ul> </li> <li> <p> <code>LINEAR</code>: A <i>linear</i> deployment strategy (<code>LINEAR</code>) gradually shifts traffic from the current production environment to a new environment in equal percentage increments. With Amazon ECS linear deployments, you can control the pace of traffic shifting and validate new service revisions with increasing amounts of production traffic.</p> <p>Linear deployments are best suited for the following scenarios:</p> <ul> <li> <p>Gradual validation: When you want to gradually validate your new service version with increasing traffic</p> </li> <li> <p>Performance monitoring: When you need time to monitor metrics and performance during the deployment</p> </li> <li> <p>Risk minimization: When you want to minimize risk by exposing the new version to production traffic incrementally</p> </li> <li> <p>Load balancer requirement: When your service uses Application Load Balancer or Service Connect</p> </li> </ul> </li> <li> <p> <code>CANARY</code>: A <i>canary</i> deployment strategy (<code>CANARY</code>) shifts a small percentage of traffic to the new service revision first, then shifts the remaining traffic all at once after a specified time period. This allows you to test the new version with a subset of users before full deployment.</p> <p>Canary deployments are best suited for the following scenarios:</p> <ul> <li> <p>Feature testing: When you want to test new features with a small subset of users before full rollout</p> </li> <li> <p>Production validation: When you need to validate performance and functionality with real production traffic</p> </li> <li> <p>Blast radius control: When you want to minimize blast radius if issues are discovered in the new version</p> </li> <li> <p>Load balancer requirement: When your service uses Application Load Balancer or Service Connect</p> </li> </ul> </li> </ul> </li> <li> <p>External</p> <p>Use a third-party deployment controller.</p> </li> <li> <p>Blue/green deployment (powered by CodeDeploy)</p> <p>CodeDeploy installs an updated version of the application as a new replacement task set and reroutes production traffic from the original application task set to the replacement task set. The original task set is terminated after a successful deployment. Use this deployment controller to verify a new deployment of a service before sending production traffic to it.</p> </li> </ul> <p>When creating a service that uses the <code>EXTERNAL</code> deployment controller, you can specify only parameters that aren't controlled at the task set level. The only required parameter is the service name. You control your services using the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateTaskSet.html">CreateTaskSet</a>. 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> <p>When the service scheduler launches new tasks, it determines task placement. For information about task placement and task placement strategies, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement.html">Amazon ECS task placement</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 { CreateTaskSetRequest, CreateTaskSetResponse } 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 CreateTaskSetCommandInput extends CreateTaskSetRequest {
22
19
  export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateTaskSetCommand_base: {
25
- new (input: CreateTaskSetCommandInput): import("@smithy/core/client").CommandImpl<CreateTaskSetCommandInput, CreateTaskSetCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateTaskSetCommandInput): import("@smithy/core/client").CommandImpl<CreateTaskSetCommandInput, CreateTaskSetCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateTaskSetCommandInput): import("@smithy/core/client").CommandImpl<CreateTaskSetCommandInput, CreateTaskSetCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateTaskSetCommandInput): import("@smithy/core/client").CommandImpl<CreateTaskSetCommandInput, CreateTaskSetCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Create a task set in the specified cluster and 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> <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 information about the maximum number of task sets and other quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service quotas</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 { DeleteAccountSettingRequest, DeleteAccountSettingResponse } 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 DeleteAccountSettingCommandInput extends DeleteAccountSettingRe
22
19
  export interface DeleteAccountSettingCommandOutput extends DeleteAccountSettingResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteAccountSettingCommand_base: {
25
- new (input: DeleteAccountSettingCommandInput): import("@smithy/core/client").CommandImpl<DeleteAccountSettingCommandInput, DeleteAccountSettingCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteAccountSettingCommandInput): import("@smithy/core/client").CommandImpl<DeleteAccountSettingCommandInput, DeleteAccountSettingCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteAccountSettingCommandInput): import("@smithy/core/client").CommandImpl<DeleteAccountSettingCommandInput, DeleteAccountSettingCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteAccountSettingCommandInput): import("@smithy/core/client").CommandImpl<DeleteAccountSettingCommandInput, DeleteAccountSettingCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Disables an account setting for a specified user, role, or the root user for an account.</p>