@aws-sdk/client-ecs 3.478.0 → 3.484.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 (229) hide show
  1. package/dist-cjs/commands/CreateCapacityProviderCommand.js +18 -41
  2. package/dist-cjs/commands/CreateClusterCommand.js +18 -41
  3. package/dist-cjs/commands/CreateServiceCommand.js +18 -41
  4. package/dist-cjs/commands/CreateTaskSetCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteAccountSettingCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteAttributesCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteCapacityProviderCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteClusterCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteServiceCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteTaskDefinitionsCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteTaskSetCommand.js +18 -41
  12. package/dist-cjs/commands/DeregisterContainerInstanceCommand.js +18 -41
  13. package/dist-cjs/commands/DeregisterTaskDefinitionCommand.js +18 -41
  14. package/dist-cjs/commands/DescribeCapacityProvidersCommand.js +18 -41
  15. package/dist-cjs/commands/DescribeClustersCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeContainerInstancesCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeServicesCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeTaskDefinitionCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeTaskSetsCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeTasksCommand.js +18 -41
  21. package/dist-cjs/commands/DiscoverPollEndpointCommand.js +18 -41
  22. package/dist-cjs/commands/ExecuteCommandCommand.js +18 -41
  23. package/dist-cjs/commands/GetTaskProtectionCommand.js +18 -41
  24. package/dist-cjs/commands/ListAccountSettingsCommand.js +18 -41
  25. package/dist-cjs/commands/ListAttributesCommand.js +18 -41
  26. package/dist-cjs/commands/ListClustersCommand.js +18 -41
  27. package/dist-cjs/commands/ListContainerInstancesCommand.js +18 -41
  28. package/dist-cjs/commands/ListServicesByNamespaceCommand.js +18 -41
  29. package/dist-cjs/commands/ListServicesCommand.js +18 -41
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  31. package/dist-cjs/commands/ListTaskDefinitionFamiliesCommand.js +18 -41
  32. package/dist-cjs/commands/ListTaskDefinitionsCommand.js +18 -41
  33. package/dist-cjs/commands/ListTasksCommand.js +18 -41
  34. package/dist-cjs/commands/PutAccountSettingCommand.js +18 -41
  35. package/dist-cjs/commands/PutAccountSettingDefaultCommand.js +18 -41
  36. package/dist-cjs/commands/PutAttributesCommand.js +18 -41
  37. package/dist-cjs/commands/PutClusterCapacityProvidersCommand.js +18 -41
  38. package/dist-cjs/commands/RegisterContainerInstanceCommand.js +18 -41
  39. package/dist-cjs/commands/RegisterTaskDefinitionCommand.js +18 -41
  40. package/dist-cjs/commands/RunTaskCommand.js +18 -41
  41. package/dist-cjs/commands/StartTaskCommand.js +18 -41
  42. package/dist-cjs/commands/StopTaskCommand.js +18 -41
  43. package/dist-cjs/commands/SubmitAttachmentStateChangesCommand.js +18 -41
  44. package/dist-cjs/commands/SubmitContainerStateChangeCommand.js +18 -41
  45. package/dist-cjs/commands/SubmitTaskStateChangeCommand.js +18 -41
  46. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  47. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  48. package/dist-cjs/commands/UpdateCapacityProviderCommand.js +18 -41
  49. package/dist-cjs/commands/UpdateClusterCommand.js +18 -41
  50. package/dist-cjs/commands/UpdateClusterSettingsCommand.js +18 -41
  51. package/dist-cjs/commands/UpdateContainerAgentCommand.js +18 -41
  52. package/dist-cjs/commands/UpdateContainerInstancesStateCommand.js +18 -41
  53. package/dist-cjs/commands/UpdateServiceCommand.js +18 -41
  54. package/dist-cjs/commands/UpdateServicePrimaryTaskSetCommand.js +18 -41
  55. package/dist-cjs/commands/UpdateTaskProtectionCommand.js +18 -41
  56. package/dist-cjs/commands/UpdateTaskSetCommand.js +18 -41
  57. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  58. package/dist-es/commands/CreateCapacityProviderCommand.js +18 -41
  59. package/dist-es/commands/CreateClusterCommand.js +18 -41
  60. package/dist-es/commands/CreateServiceCommand.js +18 -41
  61. package/dist-es/commands/CreateTaskSetCommand.js +18 -41
  62. package/dist-es/commands/DeleteAccountSettingCommand.js +18 -41
  63. package/dist-es/commands/DeleteAttributesCommand.js +18 -41
  64. package/dist-es/commands/DeleteCapacityProviderCommand.js +18 -41
  65. package/dist-es/commands/DeleteClusterCommand.js +18 -41
  66. package/dist-es/commands/DeleteServiceCommand.js +18 -41
  67. package/dist-es/commands/DeleteTaskDefinitionsCommand.js +18 -41
  68. package/dist-es/commands/DeleteTaskSetCommand.js +18 -41
  69. package/dist-es/commands/DeregisterContainerInstanceCommand.js +18 -41
  70. package/dist-es/commands/DeregisterTaskDefinitionCommand.js +18 -41
  71. package/dist-es/commands/DescribeCapacityProvidersCommand.js +18 -41
  72. package/dist-es/commands/DescribeClustersCommand.js +18 -41
  73. package/dist-es/commands/DescribeContainerInstancesCommand.js +18 -41
  74. package/dist-es/commands/DescribeServicesCommand.js +18 -41
  75. package/dist-es/commands/DescribeTaskDefinitionCommand.js +18 -41
  76. package/dist-es/commands/DescribeTaskSetsCommand.js +18 -41
  77. package/dist-es/commands/DescribeTasksCommand.js +18 -41
  78. package/dist-es/commands/DiscoverPollEndpointCommand.js +18 -41
  79. package/dist-es/commands/ExecuteCommandCommand.js +18 -41
  80. package/dist-es/commands/GetTaskProtectionCommand.js +18 -41
  81. package/dist-es/commands/ListAccountSettingsCommand.js +18 -41
  82. package/dist-es/commands/ListAttributesCommand.js +18 -41
  83. package/dist-es/commands/ListClustersCommand.js +18 -41
  84. package/dist-es/commands/ListContainerInstancesCommand.js +18 -41
  85. package/dist-es/commands/ListServicesByNamespaceCommand.js +18 -41
  86. package/dist-es/commands/ListServicesCommand.js +18 -41
  87. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  88. package/dist-es/commands/ListTaskDefinitionFamiliesCommand.js +18 -41
  89. package/dist-es/commands/ListTaskDefinitionsCommand.js +18 -41
  90. package/dist-es/commands/ListTasksCommand.js +18 -41
  91. package/dist-es/commands/PutAccountSettingCommand.js +18 -41
  92. package/dist-es/commands/PutAccountSettingDefaultCommand.js +18 -41
  93. package/dist-es/commands/PutAttributesCommand.js +18 -41
  94. package/dist-es/commands/PutClusterCapacityProvidersCommand.js +18 -41
  95. package/dist-es/commands/RegisterContainerInstanceCommand.js +18 -41
  96. package/dist-es/commands/RegisterTaskDefinitionCommand.js +18 -41
  97. package/dist-es/commands/RunTaskCommand.js +18 -41
  98. package/dist-es/commands/StartTaskCommand.js +18 -41
  99. package/dist-es/commands/StopTaskCommand.js +18 -41
  100. package/dist-es/commands/SubmitAttachmentStateChangesCommand.js +18 -41
  101. package/dist-es/commands/SubmitContainerStateChangeCommand.js +18 -41
  102. package/dist-es/commands/SubmitTaskStateChangeCommand.js +18 -41
  103. package/dist-es/commands/TagResourceCommand.js +18 -41
  104. package/dist-es/commands/UntagResourceCommand.js +18 -41
  105. package/dist-es/commands/UpdateCapacityProviderCommand.js +18 -41
  106. package/dist-es/commands/UpdateClusterCommand.js +18 -41
  107. package/dist-es/commands/UpdateClusterSettingsCommand.js +18 -41
  108. package/dist-es/commands/UpdateContainerAgentCommand.js +18 -41
  109. package/dist-es/commands/UpdateContainerInstancesStateCommand.js +18 -41
  110. package/dist-es/commands/UpdateServiceCommand.js +18 -41
  111. package/dist-es/commands/UpdateServicePrimaryTaskSetCommand.js +18 -41
  112. package/dist-es/commands/UpdateTaskProtectionCommand.js +18 -41
  113. package/dist-es/commands/UpdateTaskSetCommand.js +18 -41
  114. package/dist-es/endpoint/EndpointParameters.js +6 -0
  115. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +6 -21
  116. package/dist-types/commands/CreateClusterCommand.d.ts +6 -21
  117. package/dist-types/commands/CreateServiceCommand.d.ts +6 -21
  118. package/dist-types/commands/CreateTaskSetCommand.d.ts +6 -21
  119. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +6 -21
  120. package/dist-types/commands/DeleteAttributesCommand.d.ts +6 -21
  121. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +6 -21
  122. package/dist-types/commands/DeleteClusterCommand.d.ts +6 -21
  123. package/dist-types/commands/DeleteServiceCommand.d.ts +6 -21
  124. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +6 -21
  125. package/dist-types/commands/DeleteTaskSetCommand.d.ts +6 -21
  126. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +6 -21
  127. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +6 -21
  128. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +6 -21
  129. package/dist-types/commands/DescribeClustersCommand.d.ts +6 -21
  130. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +6 -21
  131. package/dist-types/commands/DescribeServicesCommand.d.ts +6 -21
  132. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +6 -21
  133. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +6 -21
  134. package/dist-types/commands/DescribeTasksCommand.d.ts +6 -21
  135. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +6 -21
  136. package/dist-types/commands/ExecuteCommandCommand.d.ts +6 -21
  137. package/dist-types/commands/GetTaskProtectionCommand.d.ts +6 -21
  138. package/dist-types/commands/ListAccountSettingsCommand.d.ts +6 -21
  139. package/dist-types/commands/ListAttributesCommand.d.ts +6 -21
  140. package/dist-types/commands/ListClustersCommand.d.ts +6 -21
  141. package/dist-types/commands/ListContainerInstancesCommand.d.ts +6 -21
  142. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +6 -21
  143. package/dist-types/commands/ListServicesCommand.d.ts +6 -21
  144. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  145. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +6 -21
  146. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +6 -21
  147. package/dist-types/commands/ListTasksCommand.d.ts +6 -21
  148. package/dist-types/commands/PutAccountSettingCommand.d.ts +6 -21
  149. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +6 -21
  150. package/dist-types/commands/PutAttributesCommand.d.ts +6 -21
  151. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +6 -21
  152. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +6 -21
  153. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +6 -21
  154. package/dist-types/commands/RunTaskCommand.d.ts +6 -21
  155. package/dist-types/commands/StartTaskCommand.d.ts +6 -21
  156. package/dist-types/commands/StopTaskCommand.d.ts +6 -21
  157. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +6 -21
  158. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +6 -21
  159. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +6 -21
  160. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  161. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  162. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +6 -21
  163. package/dist-types/commands/UpdateClusterCommand.d.ts +6 -21
  164. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +6 -21
  165. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +6 -21
  166. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +6 -21
  167. package/dist-types/commands/UpdateServiceCommand.d.ts +6 -21
  168. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +6 -21
  169. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +6 -21
  170. package/dist-types/commands/UpdateTaskSetCommand.d.ts +6 -21
  171. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  172. package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +12 -24
  173. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +14 -23
  174. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +14 -23
  175. package/dist-types/ts3.4/commands/CreateTaskSetCommand.d.ts +14 -23
  176. package/dist-types/ts3.4/commands/DeleteAccountSettingCommand.d.ts +12 -24
  177. package/dist-types/ts3.4/commands/DeleteAttributesCommand.d.ts +14 -23
  178. package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +12 -24
  179. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +14 -23
  180. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +14 -23
  181. package/dist-types/ts3.4/commands/DeleteTaskDefinitionsCommand.d.ts +12 -24
  182. package/dist-types/ts3.4/commands/DeleteTaskSetCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/commands/DeregisterContainerInstanceCommand.d.ts +12 -24
  184. package/dist-types/ts3.4/commands/DeregisterTaskDefinitionCommand.d.ts +12 -24
  185. package/dist-types/ts3.4/commands/DescribeCapacityProvidersCommand.d.ts +12 -24
  186. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +14 -23
  187. package/dist-types/ts3.4/commands/DescribeContainerInstancesCommand.d.ts +12 -24
  188. package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +14 -23
  189. package/dist-types/ts3.4/commands/DescribeTaskDefinitionCommand.d.ts +12 -24
  190. package/dist-types/ts3.4/commands/DescribeTaskSetsCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/DescribeTasksCommand.d.ts +14 -23
  192. package/dist-types/ts3.4/commands/DiscoverPollEndpointCommand.d.ts +12 -24
  193. package/dist-types/ts3.4/commands/ExecuteCommandCommand.d.ts +14 -23
  194. package/dist-types/ts3.4/commands/GetTaskProtectionCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/ListAccountSettingsCommand.d.ts +14 -23
  196. package/dist-types/ts3.4/commands/ListAttributesCommand.d.ts +14 -23
  197. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/commands/ListContainerInstancesCommand.d.ts +12 -24
  199. package/dist-types/ts3.4/commands/ListServicesByNamespaceCommand.d.ts +12 -24
  200. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +14 -23
  201. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/ListTaskDefinitionFamiliesCommand.d.ts +12 -24
  203. package/dist-types/ts3.4/commands/ListTaskDefinitionsCommand.d.ts +14 -23
  204. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +14 -23
  205. package/dist-types/ts3.4/commands/PutAccountSettingCommand.d.ts +14 -23
  206. package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +12 -24
  207. package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +14 -23
  208. package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +12 -24
  209. package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +12 -24
  210. package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +12 -24
  211. package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +12 -23
  212. package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +14 -23
  213. package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +14 -23
  214. package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +12 -24
  215. package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +12 -24
  216. package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +12 -24
  217. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  218. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  219. package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +12 -24
  220. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +14 -23
  221. package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +12 -24
  222. package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +12 -24
  223. package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +12 -24
  224. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +14 -23
  225. package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +12 -24
  226. package/dist-types/ts3.4/commands/UpdateTaskProtectionCommand.d.ts +12 -24
  227. package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +14 -23
  228. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  229. package/package.json +11 -11
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class TagResourceCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, TagResourceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ECSClient";
29
- const commandName = "TagResourceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonEC2ContainerServiceV20141113",
38
- operation: "TagResource",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_TagResourceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_TagResourceCommand)(output, context);
49
- }
10
+ class TagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonEC2ContainerServiceV20141113", "TagResource", {})
22
+ .n("ECSClient", "TagResourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_TagResourceCommand)
25
+ .de(Aws_json1_1_1.de_TagResourceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.TagResourceCommand = TagResourceCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UntagResourceCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ECSClient";
29
- const commandName = "UntagResourceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonEC2ContainerServiceV20141113",
38
- operation: "UntagResource",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UntagResourceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UntagResourceCommand)(output, context);
49
- }
10
+ class UntagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonEC2ContainerServiceV20141113", "UntagResource", {})
22
+ .n("ECSClient", "UntagResourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UntagResourceCommand)
25
+ .de(Aws_json1_1_1.de_UntagResourceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateCapacityProviderCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateCapacityProviderCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ECSClient";
29
- const commandName = "UpdateCapacityProviderCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonEC2ContainerServiceV20141113",
38
- operation: "UpdateCapacityProvider",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateCapacityProviderCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateCapacityProviderCommand)(output, context);
49
- }
10
+ class UpdateCapacityProviderCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonEC2ContainerServiceV20141113", "UpdateCapacityProvider", {})
22
+ .n("ECSClient", "UpdateCapacityProviderCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateCapacityProviderCommand)
25
+ .de(Aws_json1_1_1.de_UpdateCapacityProviderCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateCapacityProviderCommand = UpdateCapacityProviderCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateClusterCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateClusterCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ECSClient";
29
- const commandName = "UpdateClusterCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonEC2ContainerServiceV20141113",
38
- operation: "UpdateCluster",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateClusterCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateClusterCommand)(output, context);
49
- }
10
+ class UpdateClusterCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonEC2ContainerServiceV20141113", "UpdateCluster", {})
22
+ .n("ECSClient", "UpdateClusterCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateClusterCommand)
25
+ .de(Aws_json1_1_1.de_UpdateClusterCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateClusterCommand = UpdateClusterCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateClusterSettingsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateClusterSettingsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ECSClient";
29
- const commandName = "UpdateClusterSettingsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonEC2ContainerServiceV20141113",
38
- operation: "UpdateClusterSettings",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateClusterSettingsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateClusterSettingsCommand)(output, context);
49
- }
10
+ class UpdateClusterSettingsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonEC2ContainerServiceV20141113", "UpdateClusterSettings", {})
22
+ .n("ECSClient", "UpdateClusterSettingsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateClusterSettingsCommand)
25
+ .de(Aws_json1_1_1.de_UpdateClusterSettingsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateClusterSettingsCommand = UpdateClusterSettingsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateContainerAgentCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateContainerAgentCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ECSClient";
29
- const commandName = "UpdateContainerAgentCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonEC2ContainerServiceV20141113",
38
- operation: "UpdateContainerAgent",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateContainerAgentCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateContainerAgentCommand)(output, context);
49
- }
10
+ class UpdateContainerAgentCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonEC2ContainerServiceV20141113", "UpdateContainerAgent", {})
22
+ .n("ECSClient", "UpdateContainerAgentCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateContainerAgentCommand)
25
+ .de(Aws_json1_1_1.de_UpdateContainerAgentCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateContainerAgentCommand = UpdateContainerAgentCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateContainerInstancesStateCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateContainerInstancesStateCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ECSClient";
29
- const commandName = "UpdateContainerInstancesStateCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonEC2ContainerServiceV20141113",
38
- operation: "UpdateContainerInstancesState",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateContainerInstancesStateCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateContainerInstancesStateCommand)(output, context);
49
- }
10
+ class UpdateContainerInstancesStateCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonEC2ContainerServiceV20141113", "UpdateContainerInstancesState", {})
22
+ .n("ECSClient", "UpdateContainerInstancesStateCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateContainerInstancesStateCommand)
25
+ .de(Aws_json1_1_1.de_UpdateContainerInstancesStateCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateContainerInstancesStateCommand = UpdateContainerInstancesStateCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateServiceCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateServiceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ECSClient";
29
- const commandName = "UpdateServiceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonEC2ContainerServiceV20141113",
38
- operation: "UpdateService",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateServiceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateServiceCommand)(output, context);
49
- }
10
+ class UpdateServiceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonEC2ContainerServiceV20141113", "UpdateService", {})
22
+ .n("ECSClient", "UpdateServiceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateServiceCommand)
25
+ .de(Aws_json1_1_1.de_UpdateServiceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateServiceCommand = UpdateServiceCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateServicePrimaryTaskSetCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateServicePrimaryTaskSetCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ECSClient";
29
- const commandName = "UpdateServicePrimaryTaskSetCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonEC2ContainerServiceV20141113",
38
- operation: "UpdateServicePrimaryTaskSet",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateServicePrimaryTaskSetCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateServicePrimaryTaskSetCommand)(output, context);
49
- }
10
+ class UpdateServicePrimaryTaskSetCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonEC2ContainerServiceV20141113", "UpdateServicePrimaryTaskSet", {})
22
+ .n("ECSClient", "UpdateServicePrimaryTaskSetCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateServicePrimaryTaskSetCommand)
25
+ .de(Aws_json1_1_1.de_UpdateServicePrimaryTaskSetCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateServicePrimaryTaskSetCommand = UpdateServicePrimaryTaskSetCommand;