@aws-sdk/client-codedeploy 3.477.0 → 3.481.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 (217) hide show
  1. package/dist-cjs/commands/AddTagsToOnPremisesInstancesCommand.js +18 -41
  2. package/dist-cjs/commands/BatchGetApplicationRevisionsCommand.js +18 -41
  3. package/dist-cjs/commands/BatchGetApplicationsCommand.js +18 -41
  4. package/dist-cjs/commands/BatchGetDeploymentGroupsCommand.js +18 -41
  5. package/dist-cjs/commands/BatchGetDeploymentInstancesCommand.js +18 -41
  6. package/dist-cjs/commands/BatchGetDeploymentTargetsCommand.js +18 -41
  7. package/dist-cjs/commands/BatchGetDeploymentsCommand.js +18 -41
  8. package/dist-cjs/commands/BatchGetOnPremisesInstancesCommand.js +18 -41
  9. package/dist-cjs/commands/ContinueDeploymentCommand.js +18 -41
  10. package/dist-cjs/commands/CreateApplicationCommand.js +18 -41
  11. package/dist-cjs/commands/CreateDeploymentCommand.js +18 -41
  12. package/dist-cjs/commands/CreateDeploymentConfigCommand.js +18 -41
  13. package/dist-cjs/commands/CreateDeploymentGroupCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteApplicationCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteDeploymentConfigCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteDeploymentGroupCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteGitHubAccountTokenCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteResourcesByExternalIdCommand.js +18 -41
  19. package/dist-cjs/commands/DeregisterOnPremisesInstanceCommand.js +18 -41
  20. package/dist-cjs/commands/GetApplicationCommand.js +18 -41
  21. package/dist-cjs/commands/GetApplicationRevisionCommand.js +18 -41
  22. package/dist-cjs/commands/GetDeploymentCommand.js +18 -41
  23. package/dist-cjs/commands/GetDeploymentConfigCommand.js +18 -41
  24. package/dist-cjs/commands/GetDeploymentGroupCommand.js +18 -41
  25. package/dist-cjs/commands/GetDeploymentInstanceCommand.js +18 -41
  26. package/dist-cjs/commands/GetDeploymentTargetCommand.js +18 -41
  27. package/dist-cjs/commands/GetOnPremisesInstanceCommand.js +18 -41
  28. package/dist-cjs/commands/ListApplicationRevisionsCommand.js +18 -41
  29. package/dist-cjs/commands/ListApplicationsCommand.js +18 -41
  30. package/dist-cjs/commands/ListDeploymentConfigsCommand.js +18 -41
  31. package/dist-cjs/commands/ListDeploymentGroupsCommand.js +18 -41
  32. package/dist-cjs/commands/ListDeploymentInstancesCommand.js +18 -41
  33. package/dist-cjs/commands/ListDeploymentTargetsCommand.js +18 -41
  34. package/dist-cjs/commands/ListDeploymentsCommand.js +18 -41
  35. package/dist-cjs/commands/ListGitHubAccountTokenNamesCommand.js +18 -41
  36. package/dist-cjs/commands/ListOnPremisesInstancesCommand.js +18 -41
  37. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  38. package/dist-cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js +18 -41
  39. package/dist-cjs/commands/RegisterApplicationRevisionCommand.js +18 -41
  40. package/dist-cjs/commands/RegisterOnPremisesInstanceCommand.js +18 -41
  41. package/dist-cjs/commands/RemoveTagsFromOnPremisesInstancesCommand.js +18 -41
  42. package/dist-cjs/commands/SkipWaitTimeForInstanceTerminationCommand.js +18 -41
  43. package/dist-cjs/commands/StopDeploymentCommand.js +18 -41
  44. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  45. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  46. package/dist-cjs/commands/UpdateApplicationCommand.js +18 -41
  47. package/dist-cjs/commands/UpdateDeploymentGroupCommand.js +18 -41
  48. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  49. package/dist-cjs/pagination/ListApplicationRevisionsPaginator.js +2 -23
  50. package/dist-cjs/pagination/ListApplicationsPaginator.js +2 -23
  51. package/dist-cjs/pagination/ListDeploymentConfigsPaginator.js +2 -23
  52. package/dist-cjs/pagination/ListDeploymentGroupsPaginator.js +2 -23
  53. package/dist-cjs/pagination/ListDeploymentInstancesPaginator.js +2 -23
  54. package/dist-cjs/pagination/ListDeploymentsPaginator.js +2 -23
  55. package/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +18 -41
  56. package/dist-es/commands/BatchGetApplicationRevisionsCommand.js +18 -41
  57. package/dist-es/commands/BatchGetApplicationsCommand.js +18 -41
  58. package/dist-es/commands/BatchGetDeploymentGroupsCommand.js +18 -41
  59. package/dist-es/commands/BatchGetDeploymentInstancesCommand.js +18 -41
  60. package/dist-es/commands/BatchGetDeploymentTargetsCommand.js +18 -41
  61. package/dist-es/commands/BatchGetDeploymentsCommand.js +18 -41
  62. package/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +18 -41
  63. package/dist-es/commands/ContinueDeploymentCommand.js +18 -41
  64. package/dist-es/commands/CreateApplicationCommand.js +18 -41
  65. package/dist-es/commands/CreateDeploymentCommand.js +18 -41
  66. package/dist-es/commands/CreateDeploymentConfigCommand.js +18 -41
  67. package/dist-es/commands/CreateDeploymentGroupCommand.js +18 -41
  68. package/dist-es/commands/DeleteApplicationCommand.js +18 -41
  69. package/dist-es/commands/DeleteDeploymentConfigCommand.js +18 -41
  70. package/dist-es/commands/DeleteDeploymentGroupCommand.js +18 -41
  71. package/dist-es/commands/DeleteGitHubAccountTokenCommand.js +18 -41
  72. package/dist-es/commands/DeleteResourcesByExternalIdCommand.js +18 -41
  73. package/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +18 -41
  74. package/dist-es/commands/GetApplicationCommand.js +18 -41
  75. package/dist-es/commands/GetApplicationRevisionCommand.js +18 -41
  76. package/dist-es/commands/GetDeploymentCommand.js +18 -41
  77. package/dist-es/commands/GetDeploymentConfigCommand.js +18 -41
  78. package/dist-es/commands/GetDeploymentGroupCommand.js +18 -41
  79. package/dist-es/commands/GetDeploymentInstanceCommand.js +18 -41
  80. package/dist-es/commands/GetDeploymentTargetCommand.js +18 -41
  81. package/dist-es/commands/GetOnPremisesInstanceCommand.js +18 -41
  82. package/dist-es/commands/ListApplicationRevisionsCommand.js +18 -41
  83. package/dist-es/commands/ListApplicationsCommand.js +18 -41
  84. package/dist-es/commands/ListDeploymentConfigsCommand.js +18 -41
  85. package/dist-es/commands/ListDeploymentGroupsCommand.js +18 -41
  86. package/dist-es/commands/ListDeploymentInstancesCommand.js +18 -41
  87. package/dist-es/commands/ListDeploymentTargetsCommand.js +18 -41
  88. package/dist-es/commands/ListDeploymentsCommand.js +18 -41
  89. package/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +18 -41
  90. package/dist-es/commands/ListOnPremisesInstancesCommand.js +18 -41
  91. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  92. package/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +18 -41
  93. package/dist-es/commands/RegisterApplicationRevisionCommand.js +18 -41
  94. package/dist-es/commands/RegisterOnPremisesInstanceCommand.js +18 -41
  95. package/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +18 -41
  96. package/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +18 -41
  97. package/dist-es/commands/StopDeploymentCommand.js +18 -41
  98. package/dist-es/commands/TagResourceCommand.js +18 -41
  99. package/dist-es/commands/UntagResourceCommand.js +18 -41
  100. package/dist-es/commands/UpdateApplicationCommand.js +18 -41
  101. package/dist-es/commands/UpdateDeploymentGroupCommand.js +18 -41
  102. package/dist-es/endpoint/EndpointParameters.js +6 -0
  103. package/dist-es/pagination/ListApplicationRevisionsPaginator.js +2 -22
  104. package/dist-es/pagination/ListApplicationsPaginator.js +2 -22
  105. package/dist-es/pagination/ListDeploymentConfigsPaginator.js +2 -22
  106. package/dist-es/pagination/ListDeploymentGroupsPaginator.js +2 -22
  107. package/dist-es/pagination/ListDeploymentInstancesPaginator.js +2 -22
  108. package/dist-es/pagination/ListDeploymentsPaginator.js +2 -22
  109. package/dist-types/commands/AddTagsToOnPremisesInstancesCommand.d.ts +6 -21
  110. package/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +6 -21
  111. package/dist-types/commands/BatchGetApplicationsCommand.d.ts +6 -21
  112. package/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +6 -21
  113. package/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +6 -21
  114. package/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +6 -21
  115. package/dist-types/commands/BatchGetDeploymentsCommand.d.ts +6 -21
  116. package/dist-types/commands/BatchGetOnPremisesInstancesCommand.d.ts +6 -21
  117. package/dist-types/commands/ContinueDeploymentCommand.d.ts +6 -21
  118. package/dist-types/commands/CreateApplicationCommand.d.ts +6 -21
  119. package/dist-types/commands/CreateDeploymentCommand.d.ts +6 -21
  120. package/dist-types/commands/CreateDeploymentConfigCommand.d.ts +6 -21
  121. package/dist-types/commands/CreateDeploymentGroupCommand.d.ts +6 -21
  122. package/dist-types/commands/DeleteApplicationCommand.d.ts +6 -21
  123. package/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +6 -21
  124. package/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +6 -21
  125. package/dist-types/commands/DeleteGitHubAccountTokenCommand.d.ts +6 -21
  126. package/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +6 -21
  127. package/dist-types/commands/DeregisterOnPremisesInstanceCommand.d.ts +6 -21
  128. package/dist-types/commands/GetApplicationCommand.d.ts +6 -21
  129. package/dist-types/commands/GetApplicationRevisionCommand.d.ts +6 -21
  130. package/dist-types/commands/GetDeploymentCommand.d.ts +6 -21
  131. package/dist-types/commands/GetDeploymentConfigCommand.d.ts +6 -21
  132. package/dist-types/commands/GetDeploymentGroupCommand.d.ts +6 -21
  133. package/dist-types/commands/GetDeploymentInstanceCommand.d.ts +6 -21
  134. package/dist-types/commands/GetDeploymentTargetCommand.d.ts +6 -21
  135. package/dist-types/commands/GetOnPremisesInstanceCommand.d.ts +6 -21
  136. package/dist-types/commands/ListApplicationRevisionsCommand.d.ts +6 -21
  137. package/dist-types/commands/ListApplicationsCommand.d.ts +6 -21
  138. package/dist-types/commands/ListDeploymentConfigsCommand.d.ts +6 -21
  139. package/dist-types/commands/ListDeploymentGroupsCommand.d.ts +6 -21
  140. package/dist-types/commands/ListDeploymentInstancesCommand.d.ts +6 -21
  141. package/dist-types/commands/ListDeploymentTargetsCommand.d.ts +6 -21
  142. package/dist-types/commands/ListDeploymentsCommand.d.ts +6 -21
  143. package/dist-types/commands/ListGitHubAccountTokenNamesCommand.d.ts +6 -21
  144. package/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +6 -21
  145. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  146. package/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +6 -21
  147. package/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +6 -21
  148. package/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +6 -21
  149. package/dist-types/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +6 -21
  150. package/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +6 -21
  151. package/dist-types/commands/StopDeploymentCommand.d.ts +6 -21
  152. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  153. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  154. package/dist-types/commands/UpdateApplicationCommand.d.ts +6 -21
  155. package/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +6 -21
  156. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  157. package/dist-types/pagination/ListApplicationRevisionsPaginator.d.ts +1 -1
  158. package/dist-types/pagination/ListApplicationsPaginator.d.ts +1 -1
  159. package/dist-types/pagination/ListDeploymentConfigsPaginator.d.ts +1 -1
  160. package/dist-types/pagination/ListDeploymentGroupsPaginator.d.ts +1 -1
  161. package/dist-types/pagination/ListDeploymentInstancesPaginator.d.ts +1 -1
  162. package/dist-types/pagination/ListDeploymentsPaginator.d.ts +1 -1
  163. package/dist-types/ts3.4/commands/AddTagsToOnPremisesInstancesCommand.d.ts +12 -24
  164. package/dist-types/ts3.4/commands/BatchGetApplicationRevisionsCommand.d.ts +12 -24
  165. package/dist-types/ts3.4/commands/BatchGetApplicationsCommand.d.ts +12 -24
  166. package/dist-types/ts3.4/commands/BatchGetDeploymentGroupsCommand.d.ts +12 -24
  167. package/dist-types/ts3.4/commands/BatchGetDeploymentInstancesCommand.d.ts +12 -24
  168. package/dist-types/ts3.4/commands/BatchGetDeploymentTargetsCommand.d.ts +12 -24
  169. package/dist-types/ts3.4/commands/BatchGetDeploymentsCommand.d.ts +14 -23
  170. package/dist-types/ts3.4/commands/BatchGetOnPremisesInstancesCommand.d.ts +12 -24
  171. package/dist-types/ts3.4/commands/ContinueDeploymentCommand.d.ts +14 -23
  172. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +14 -23
  174. package/dist-types/ts3.4/commands/CreateDeploymentConfigCommand.d.ts +12 -24
  175. package/dist-types/ts3.4/commands/CreateDeploymentGroupCommand.d.ts +12 -24
  176. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +14 -23
  177. package/dist-types/ts3.4/commands/DeleteDeploymentConfigCommand.d.ts +12 -24
  178. package/dist-types/ts3.4/commands/DeleteDeploymentGroupCommand.d.ts +12 -24
  179. package/dist-types/ts3.4/commands/DeleteGitHubAccountTokenCommand.d.ts +12 -24
  180. package/dist-types/ts3.4/commands/DeleteResourcesByExternalIdCommand.d.ts +12 -24
  181. package/dist-types/ts3.4/commands/DeregisterOnPremisesInstanceCommand.d.ts +12 -24
  182. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/commands/GetApplicationRevisionCommand.d.ts +12 -24
  184. package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +14 -23
  185. package/dist-types/ts3.4/commands/GetDeploymentConfigCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/GetDeploymentGroupCommand.d.ts +14 -23
  187. package/dist-types/ts3.4/commands/GetDeploymentInstanceCommand.d.ts +12 -24
  188. package/dist-types/ts3.4/commands/GetDeploymentTargetCommand.d.ts +14 -23
  189. package/dist-types/ts3.4/commands/GetOnPremisesInstanceCommand.d.ts +12 -24
  190. package/dist-types/ts3.4/commands/ListApplicationRevisionsCommand.d.ts +12 -24
  191. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +14 -23
  192. package/dist-types/ts3.4/commands/ListDeploymentConfigsCommand.d.ts +12 -24
  193. package/dist-types/ts3.4/commands/ListDeploymentGroupsCommand.d.ts +12 -24
  194. package/dist-types/ts3.4/commands/ListDeploymentInstancesCommand.d.ts +12 -24
  195. package/dist-types/ts3.4/commands/ListDeploymentTargetsCommand.d.ts +12 -24
  196. package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +14 -23
  197. package/dist-types/ts3.4/commands/ListGitHubAccountTokenNamesCommand.d.ts +12 -24
  198. package/dist-types/ts3.4/commands/ListOnPremisesInstancesCommand.d.ts +12 -24
  199. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +12 -24
  201. package/dist-types/ts3.4/commands/RegisterApplicationRevisionCommand.d.ts +12 -24
  202. package/dist-types/ts3.4/commands/RegisterOnPremisesInstanceCommand.d.ts +12 -24
  203. package/dist-types/ts3.4/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +12 -24
  204. package/dist-types/ts3.4/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +12 -24
  205. package/dist-types/ts3.4/commands/StopDeploymentCommand.d.ts +14 -23
  206. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  207. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  208. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +14 -23
  209. package/dist-types/ts3.4/commands/UpdateDeploymentGroupCommand.d.ts +12 -24
  210. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  211. package/dist-types/ts3.4/pagination/ListApplicationRevisionsPaginator.d.ts +3 -3
  212. package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +3 -3
  213. package/dist-types/ts3.4/pagination/ListDeploymentConfigsPaginator.d.ts +3 -3
  214. package/dist-types/ts3.4/pagination/ListDeploymentGroupsPaginator.d.ts +3 -3
  215. package/dist-types/ts3.4/pagination/ListDeploymentInstancesPaginator.d.ts +3 -3
  216. package/dist-types/ts3.4/pagination/ListDeploymentsPaginator.d.ts +3 -3
  217. package/package.json +11 -10
@@ -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 ListTagsForResourceCommand 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, ListTagsForResourceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CodeDeployClient";
29
- const commandName = "ListTagsForResourceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CodeDeploy_20141006",
38
- operation: "ListTagsForResource",
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_ListTagsForResourceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_ListTagsForResourceCommand)(output, context);
49
- }
10
+ class ListTagsForResourceCommand 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("CodeDeploy_20141006", "ListTagsForResource", {})
22
+ .n("CodeDeployClient", "ListTagsForResourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_ListTagsForResourceCommand)
25
+ .de(Aws_json1_1_1.de_ListTagsForResourceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -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 PutLifecycleEventHookExecutionStatusCommand 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, PutLifecycleEventHookExecutionStatusCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CodeDeployClient";
29
- const commandName = "PutLifecycleEventHookExecutionStatusCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CodeDeploy_20141006",
38
- operation: "PutLifecycleEventHookExecutionStatus",
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_PutLifecycleEventHookExecutionStatusCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_PutLifecycleEventHookExecutionStatusCommand)(output, context);
49
- }
10
+ class PutLifecycleEventHookExecutionStatusCommand 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("CodeDeploy_20141006", "PutLifecycleEventHookExecutionStatus", {})
22
+ .n("CodeDeployClient", "PutLifecycleEventHookExecutionStatusCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_PutLifecycleEventHookExecutionStatusCommand)
25
+ .de(Aws_json1_1_1.de_PutLifecycleEventHookExecutionStatusCommand)
26
+ .build() {
50
27
  }
51
28
  exports.PutLifecycleEventHookExecutionStatusCommand = PutLifecycleEventHookExecutionStatusCommand;
@@ -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 RegisterApplicationRevisionCommand 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, RegisterApplicationRevisionCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CodeDeployClient";
29
- const commandName = "RegisterApplicationRevisionCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CodeDeploy_20141006",
38
- operation: "RegisterApplicationRevision",
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_RegisterApplicationRevisionCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_RegisterApplicationRevisionCommand)(output, context);
49
- }
10
+ class RegisterApplicationRevisionCommand 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("CodeDeploy_20141006", "RegisterApplicationRevision", {})
22
+ .n("CodeDeployClient", "RegisterApplicationRevisionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_RegisterApplicationRevisionCommand)
25
+ .de(Aws_json1_1_1.de_RegisterApplicationRevisionCommand)
26
+ .build() {
50
27
  }
51
28
  exports.RegisterApplicationRevisionCommand = RegisterApplicationRevisionCommand;
@@ -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 RegisterOnPremisesInstanceCommand 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, RegisterOnPremisesInstanceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CodeDeployClient";
29
- const commandName = "RegisterOnPremisesInstanceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CodeDeploy_20141006",
38
- operation: "RegisterOnPremisesInstance",
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_RegisterOnPremisesInstanceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_RegisterOnPremisesInstanceCommand)(output, context);
49
- }
10
+ class RegisterOnPremisesInstanceCommand 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("CodeDeploy_20141006", "RegisterOnPremisesInstance", {})
22
+ .n("CodeDeployClient", "RegisterOnPremisesInstanceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_RegisterOnPremisesInstanceCommand)
25
+ .de(Aws_json1_1_1.de_RegisterOnPremisesInstanceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.RegisterOnPremisesInstanceCommand = RegisterOnPremisesInstanceCommand;
@@ -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 RemoveTagsFromOnPremisesInstancesCommand 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, RemoveTagsFromOnPremisesInstancesCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CodeDeployClient";
29
- const commandName = "RemoveTagsFromOnPremisesInstancesCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CodeDeploy_20141006",
38
- operation: "RemoveTagsFromOnPremisesInstances",
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_RemoveTagsFromOnPremisesInstancesCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_RemoveTagsFromOnPremisesInstancesCommand)(output, context);
49
- }
10
+ class RemoveTagsFromOnPremisesInstancesCommand 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("CodeDeploy_20141006", "RemoveTagsFromOnPremisesInstances", {})
22
+ .n("CodeDeployClient", "RemoveTagsFromOnPremisesInstancesCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_RemoveTagsFromOnPremisesInstancesCommand)
25
+ .de(Aws_json1_1_1.de_RemoveTagsFromOnPremisesInstancesCommand)
26
+ .build() {
50
27
  }
51
28
  exports.RemoveTagsFromOnPremisesInstancesCommand = RemoveTagsFromOnPremisesInstancesCommand;
@@ -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 SkipWaitTimeForInstanceTerminationCommand 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, SkipWaitTimeForInstanceTerminationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CodeDeployClient";
29
- const commandName = "SkipWaitTimeForInstanceTerminationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CodeDeploy_20141006",
38
- operation: "SkipWaitTimeForInstanceTermination",
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_SkipWaitTimeForInstanceTerminationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_SkipWaitTimeForInstanceTerminationCommand)(output, context);
49
- }
10
+ class SkipWaitTimeForInstanceTerminationCommand 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("CodeDeploy_20141006", "SkipWaitTimeForInstanceTermination", {})
22
+ .n("CodeDeployClient", "SkipWaitTimeForInstanceTerminationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_SkipWaitTimeForInstanceTerminationCommand)
25
+ .de(Aws_json1_1_1.de_SkipWaitTimeForInstanceTerminationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.SkipWaitTimeForInstanceTerminationCommand = SkipWaitTimeForInstanceTerminationCommand;
@@ -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 StopDeploymentCommand 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, StopDeploymentCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CodeDeployClient";
29
- const commandName = "StopDeploymentCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CodeDeploy_20141006",
38
- operation: "StopDeployment",
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_StopDeploymentCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_StopDeploymentCommand)(output, context);
49
- }
10
+ class StopDeploymentCommand 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("CodeDeploy_20141006", "StopDeployment", {})
22
+ .n("CodeDeployClient", "StopDeploymentCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_StopDeploymentCommand)
25
+ .de(Aws_json1_1_1.de_StopDeploymentCommand)
26
+ .build() {
50
27
  }
51
28
  exports.StopDeploymentCommand = StopDeploymentCommand;
@@ -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 = "CodeDeployClient";
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: "CodeDeploy_20141006",
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("CodeDeploy_20141006", "TagResource", {})
22
+ .n("CodeDeployClient", "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 = "CodeDeployClient";
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: "CodeDeploy_20141006",
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("CodeDeploy_20141006", "UntagResource", {})
22
+ .n("CodeDeployClient", "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;