@aws-sdk/client-drs 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 (249) hide show
  1. package/dist-cjs/commands/AssociateSourceNetworkStackCommand.js +18 -41
  2. package/dist-cjs/commands/CreateExtendedSourceServerCommand.js +18 -41
  3. package/dist-cjs/commands/CreateLaunchConfigurationTemplateCommand.js +18 -41
  4. package/dist-cjs/commands/CreateReplicationConfigurationTemplateCommand.js +18 -41
  5. package/dist-cjs/commands/CreateSourceNetworkCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteJobCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteLaunchActionCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteLaunchConfigurationTemplateCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteRecoveryInstanceCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteReplicationConfigurationTemplateCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteSourceNetworkCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteSourceServerCommand.js +18 -41
  13. package/dist-cjs/commands/DescribeJobLogItemsCommand.js +18 -41
  14. package/dist-cjs/commands/DescribeJobsCommand.js +18 -41
  15. package/dist-cjs/commands/DescribeLaunchConfigurationTemplatesCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeRecoveryInstancesCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeRecoverySnapshotsCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeReplicationConfigurationTemplatesCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeSourceNetworksCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeSourceServersCommand.js +18 -41
  21. package/dist-cjs/commands/DisconnectRecoveryInstanceCommand.js +18 -41
  22. package/dist-cjs/commands/DisconnectSourceServerCommand.js +18 -41
  23. package/dist-cjs/commands/ExportSourceNetworkCfnTemplateCommand.js +18 -41
  24. package/dist-cjs/commands/GetFailbackReplicationConfigurationCommand.js +18 -41
  25. package/dist-cjs/commands/GetLaunchConfigurationCommand.js +18 -41
  26. package/dist-cjs/commands/GetReplicationConfigurationCommand.js +18 -41
  27. package/dist-cjs/commands/InitializeServiceCommand.js +18 -41
  28. package/dist-cjs/commands/ListExtensibleSourceServersCommand.js +18 -41
  29. package/dist-cjs/commands/ListLaunchActionsCommand.js +18 -41
  30. package/dist-cjs/commands/ListStagingAccountsCommand.js +18 -41
  31. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  32. package/dist-cjs/commands/PutLaunchActionCommand.js +18 -41
  33. package/dist-cjs/commands/RetryDataReplicationCommand.js +18 -41
  34. package/dist-cjs/commands/ReverseReplicationCommand.js +18 -41
  35. package/dist-cjs/commands/StartFailbackLaunchCommand.js +18 -41
  36. package/dist-cjs/commands/StartRecoveryCommand.js +18 -41
  37. package/dist-cjs/commands/StartReplicationCommand.js +18 -41
  38. package/dist-cjs/commands/StartSourceNetworkRecoveryCommand.js +18 -41
  39. package/dist-cjs/commands/StartSourceNetworkReplicationCommand.js +18 -41
  40. package/dist-cjs/commands/StopFailbackCommand.js +18 -41
  41. package/dist-cjs/commands/StopReplicationCommand.js +18 -41
  42. package/dist-cjs/commands/StopSourceNetworkReplicationCommand.js +18 -41
  43. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  44. package/dist-cjs/commands/TerminateRecoveryInstancesCommand.js +18 -41
  45. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  46. package/dist-cjs/commands/UpdateFailbackReplicationConfigurationCommand.js +18 -41
  47. package/dist-cjs/commands/UpdateLaunchConfigurationCommand.js +18 -41
  48. package/dist-cjs/commands/UpdateLaunchConfigurationTemplateCommand.js +18 -41
  49. package/dist-cjs/commands/UpdateReplicationConfigurationCommand.js +18 -41
  50. package/dist-cjs/commands/UpdateReplicationConfigurationTemplateCommand.js +18 -41
  51. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  52. package/dist-cjs/pagination/DescribeJobLogItemsPaginator.js +2 -24
  53. package/dist-cjs/pagination/DescribeJobsPaginator.js +2 -24
  54. package/dist-cjs/pagination/DescribeLaunchConfigurationTemplatesPaginator.js +2 -24
  55. package/dist-cjs/pagination/DescribeRecoveryInstancesPaginator.js +2 -24
  56. package/dist-cjs/pagination/DescribeRecoverySnapshotsPaginator.js +2 -24
  57. package/dist-cjs/pagination/DescribeReplicationConfigurationTemplatesPaginator.js +2 -24
  58. package/dist-cjs/pagination/DescribeSourceNetworksPaginator.js +2 -24
  59. package/dist-cjs/pagination/DescribeSourceServersPaginator.js +2 -24
  60. package/dist-cjs/pagination/ListExtensibleSourceServersPaginator.js +2 -24
  61. package/dist-cjs/pagination/ListLaunchActionsPaginator.js +2 -24
  62. package/dist-cjs/pagination/ListStagingAccountsPaginator.js +2 -24
  63. package/dist-es/commands/AssociateSourceNetworkStackCommand.js +18 -41
  64. package/dist-es/commands/CreateExtendedSourceServerCommand.js +18 -41
  65. package/dist-es/commands/CreateLaunchConfigurationTemplateCommand.js +18 -41
  66. package/dist-es/commands/CreateReplicationConfigurationTemplateCommand.js +18 -41
  67. package/dist-es/commands/CreateSourceNetworkCommand.js +18 -41
  68. package/dist-es/commands/DeleteJobCommand.js +18 -41
  69. package/dist-es/commands/DeleteLaunchActionCommand.js +18 -41
  70. package/dist-es/commands/DeleteLaunchConfigurationTemplateCommand.js +18 -41
  71. package/dist-es/commands/DeleteRecoveryInstanceCommand.js +18 -41
  72. package/dist-es/commands/DeleteReplicationConfigurationTemplateCommand.js +18 -41
  73. package/dist-es/commands/DeleteSourceNetworkCommand.js +18 -41
  74. package/dist-es/commands/DeleteSourceServerCommand.js +18 -41
  75. package/dist-es/commands/DescribeJobLogItemsCommand.js +18 -41
  76. package/dist-es/commands/DescribeJobsCommand.js +18 -41
  77. package/dist-es/commands/DescribeLaunchConfigurationTemplatesCommand.js +18 -41
  78. package/dist-es/commands/DescribeRecoveryInstancesCommand.js +18 -41
  79. package/dist-es/commands/DescribeRecoverySnapshotsCommand.js +18 -41
  80. package/dist-es/commands/DescribeReplicationConfigurationTemplatesCommand.js +18 -41
  81. package/dist-es/commands/DescribeSourceNetworksCommand.js +18 -41
  82. package/dist-es/commands/DescribeSourceServersCommand.js +18 -41
  83. package/dist-es/commands/DisconnectRecoveryInstanceCommand.js +18 -41
  84. package/dist-es/commands/DisconnectSourceServerCommand.js +18 -41
  85. package/dist-es/commands/ExportSourceNetworkCfnTemplateCommand.js +18 -41
  86. package/dist-es/commands/GetFailbackReplicationConfigurationCommand.js +18 -41
  87. package/dist-es/commands/GetLaunchConfigurationCommand.js +18 -41
  88. package/dist-es/commands/GetReplicationConfigurationCommand.js +18 -41
  89. package/dist-es/commands/InitializeServiceCommand.js +18 -41
  90. package/dist-es/commands/ListExtensibleSourceServersCommand.js +18 -41
  91. package/dist-es/commands/ListLaunchActionsCommand.js +18 -41
  92. package/dist-es/commands/ListStagingAccountsCommand.js +18 -41
  93. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  94. package/dist-es/commands/PutLaunchActionCommand.js +18 -41
  95. package/dist-es/commands/RetryDataReplicationCommand.js +18 -41
  96. package/dist-es/commands/ReverseReplicationCommand.js +18 -41
  97. package/dist-es/commands/StartFailbackLaunchCommand.js +18 -41
  98. package/dist-es/commands/StartRecoveryCommand.js +18 -41
  99. package/dist-es/commands/StartReplicationCommand.js +18 -41
  100. package/dist-es/commands/StartSourceNetworkRecoveryCommand.js +18 -41
  101. package/dist-es/commands/StartSourceNetworkReplicationCommand.js +18 -41
  102. package/dist-es/commands/StopFailbackCommand.js +18 -41
  103. package/dist-es/commands/StopReplicationCommand.js +18 -41
  104. package/dist-es/commands/StopSourceNetworkReplicationCommand.js +18 -41
  105. package/dist-es/commands/TagResourceCommand.js +18 -41
  106. package/dist-es/commands/TerminateRecoveryInstancesCommand.js +18 -41
  107. package/dist-es/commands/UntagResourceCommand.js +18 -41
  108. package/dist-es/commands/UpdateFailbackReplicationConfigurationCommand.js +18 -41
  109. package/dist-es/commands/UpdateLaunchConfigurationCommand.js +18 -41
  110. package/dist-es/commands/UpdateLaunchConfigurationTemplateCommand.js +18 -41
  111. package/dist-es/commands/UpdateReplicationConfigurationCommand.js +18 -41
  112. package/dist-es/commands/UpdateReplicationConfigurationTemplateCommand.js +18 -41
  113. package/dist-es/endpoint/EndpointParameters.js +6 -0
  114. package/dist-es/pagination/DescribeJobLogItemsPaginator.js +2 -23
  115. package/dist-es/pagination/DescribeJobsPaginator.js +2 -23
  116. package/dist-es/pagination/DescribeLaunchConfigurationTemplatesPaginator.js +2 -23
  117. package/dist-es/pagination/DescribeRecoveryInstancesPaginator.js +2 -23
  118. package/dist-es/pagination/DescribeRecoverySnapshotsPaginator.js +2 -23
  119. package/dist-es/pagination/DescribeReplicationConfigurationTemplatesPaginator.js +2 -23
  120. package/dist-es/pagination/DescribeSourceNetworksPaginator.js +2 -23
  121. package/dist-es/pagination/DescribeSourceServersPaginator.js +2 -23
  122. package/dist-es/pagination/ListExtensibleSourceServersPaginator.js +2 -23
  123. package/dist-es/pagination/ListLaunchActionsPaginator.js +2 -23
  124. package/dist-es/pagination/ListStagingAccountsPaginator.js +2 -23
  125. package/dist-types/commands/AssociateSourceNetworkStackCommand.d.ts +6 -21
  126. package/dist-types/commands/CreateExtendedSourceServerCommand.d.ts +6 -21
  127. package/dist-types/commands/CreateLaunchConfigurationTemplateCommand.d.ts +6 -21
  128. package/dist-types/commands/CreateReplicationConfigurationTemplateCommand.d.ts +6 -21
  129. package/dist-types/commands/CreateSourceNetworkCommand.d.ts +6 -21
  130. package/dist-types/commands/DeleteJobCommand.d.ts +6 -21
  131. package/dist-types/commands/DeleteLaunchActionCommand.d.ts +6 -21
  132. package/dist-types/commands/DeleteLaunchConfigurationTemplateCommand.d.ts +6 -21
  133. package/dist-types/commands/DeleteRecoveryInstanceCommand.d.ts +6 -21
  134. package/dist-types/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +6 -21
  135. package/dist-types/commands/DeleteSourceNetworkCommand.d.ts +6 -21
  136. package/dist-types/commands/DeleteSourceServerCommand.d.ts +6 -21
  137. package/dist-types/commands/DescribeJobLogItemsCommand.d.ts +6 -21
  138. package/dist-types/commands/DescribeJobsCommand.d.ts +6 -21
  139. package/dist-types/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +6 -21
  140. package/dist-types/commands/DescribeRecoveryInstancesCommand.d.ts +6 -21
  141. package/dist-types/commands/DescribeRecoverySnapshotsCommand.d.ts +6 -21
  142. package/dist-types/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +6 -21
  143. package/dist-types/commands/DescribeSourceNetworksCommand.d.ts +6 -21
  144. package/dist-types/commands/DescribeSourceServersCommand.d.ts +6 -21
  145. package/dist-types/commands/DisconnectRecoveryInstanceCommand.d.ts +6 -21
  146. package/dist-types/commands/DisconnectSourceServerCommand.d.ts +6 -21
  147. package/dist-types/commands/ExportSourceNetworkCfnTemplateCommand.d.ts +6 -21
  148. package/dist-types/commands/GetFailbackReplicationConfigurationCommand.d.ts +6 -21
  149. package/dist-types/commands/GetLaunchConfigurationCommand.d.ts +6 -21
  150. package/dist-types/commands/GetReplicationConfigurationCommand.d.ts +6 -21
  151. package/dist-types/commands/InitializeServiceCommand.d.ts +6 -21
  152. package/dist-types/commands/ListExtensibleSourceServersCommand.d.ts +6 -21
  153. package/dist-types/commands/ListLaunchActionsCommand.d.ts +6 -21
  154. package/dist-types/commands/ListStagingAccountsCommand.d.ts +6 -21
  155. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  156. package/dist-types/commands/PutLaunchActionCommand.d.ts +6 -21
  157. package/dist-types/commands/RetryDataReplicationCommand.d.ts +6 -21
  158. package/dist-types/commands/ReverseReplicationCommand.d.ts +6 -21
  159. package/dist-types/commands/StartFailbackLaunchCommand.d.ts +6 -21
  160. package/dist-types/commands/StartRecoveryCommand.d.ts +6 -21
  161. package/dist-types/commands/StartReplicationCommand.d.ts +6 -21
  162. package/dist-types/commands/StartSourceNetworkRecoveryCommand.d.ts +6 -21
  163. package/dist-types/commands/StartSourceNetworkReplicationCommand.d.ts +6 -21
  164. package/dist-types/commands/StopFailbackCommand.d.ts +6 -21
  165. package/dist-types/commands/StopReplicationCommand.d.ts +6 -21
  166. package/dist-types/commands/StopSourceNetworkReplicationCommand.d.ts +6 -21
  167. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  168. package/dist-types/commands/TerminateRecoveryInstancesCommand.d.ts +6 -21
  169. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  170. package/dist-types/commands/UpdateFailbackReplicationConfigurationCommand.d.ts +6 -21
  171. package/dist-types/commands/UpdateLaunchConfigurationCommand.d.ts +6 -21
  172. package/dist-types/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +6 -21
  173. package/dist-types/commands/UpdateReplicationConfigurationCommand.d.ts +6 -21
  174. package/dist-types/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +6 -21
  175. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  176. package/dist-types/pagination/DescribeJobLogItemsPaginator.d.ts +1 -1
  177. package/dist-types/pagination/DescribeJobsPaginator.d.ts +1 -1
  178. package/dist-types/pagination/DescribeLaunchConfigurationTemplatesPaginator.d.ts +1 -1
  179. package/dist-types/pagination/DescribeRecoveryInstancesPaginator.d.ts +1 -1
  180. package/dist-types/pagination/DescribeRecoverySnapshotsPaginator.d.ts +1 -1
  181. package/dist-types/pagination/DescribeReplicationConfigurationTemplatesPaginator.d.ts +1 -1
  182. package/dist-types/pagination/DescribeSourceNetworksPaginator.d.ts +1 -1
  183. package/dist-types/pagination/DescribeSourceServersPaginator.d.ts +1 -1
  184. package/dist-types/pagination/ListExtensibleSourceServersPaginator.d.ts +1 -1
  185. package/dist-types/pagination/ListLaunchActionsPaginator.d.ts +1 -1
  186. package/dist-types/pagination/ListStagingAccountsPaginator.d.ts +1 -1
  187. package/dist-types/ts3.4/commands/AssociateSourceNetworkStackCommand.d.ts +12 -24
  188. package/dist-types/ts3.4/commands/CreateExtendedSourceServerCommand.d.ts +12 -24
  189. package/dist-types/ts3.4/commands/CreateLaunchConfigurationTemplateCommand.d.ts +12 -24
  190. package/dist-types/ts3.4/commands/CreateReplicationConfigurationTemplateCommand.d.ts +12 -24
  191. package/dist-types/ts3.4/commands/CreateSourceNetworkCommand.d.ts +14 -23
  192. package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +14 -23
  193. package/dist-types/ts3.4/commands/DeleteLaunchActionCommand.d.ts +14 -23
  194. package/dist-types/ts3.4/commands/DeleteLaunchConfigurationTemplateCommand.d.ts +12 -24
  195. package/dist-types/ts3.4/commands/DeleteRecoveryInstanceCommand.d.ts +12 -24
  196. package/dist-types/ts3.4/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +12 -24
  197. package/dist-types/ts3.4/commands/DeleteSourceNetworkCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/commands/DeleteSourceServerCommand.d.ts +14 -23
  199. package/dist-types/ts3.4/commands/DescribeJobLogItemsCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/DescribeJobsCommand.d.ts +14 -23
  201. package/dist-types/ts3.4/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +12 -24
  202. package/dist-types/ts3.4/commands/DescribeRecoveryInstancesCommand.d.ts +12 -24
  203. package/dist-types/ts3.4/commands/DescribeRecoverySnapshotsCommand.d.ts +12 -24
  204. package/dist-types/ts3.4/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +12 -24
  205. package/dist-types/ts3.4/commands/DescribeSourceNetworksCommand.d.ts +12 -24
  206. package/dist-types/ts3.4/commands/DescribeSourceServersCommand.d.ts +12 -24
  207. package/dist-types/ts3.4/commands/DisconnectRecoveryInstanceCommand.d.ts +12 -24
  208. package/dist-types/ts3.4/commands/DisconnectSourceServerCommand.d.ts +12 -24
  209. package/dist-types/ts3.4/commands/ExportSourceNetworkCfnTemplateCommand.d.ts +12 -24
  210. package/dist-types/ts3.4/commands/GetFailbackReplicationConfigurationCommand.d.ts +12 -24
  211. package/dist-types/ts3.4/commands/GetLaunchConfigurationCommand.d.ts +12 -24
  212. package/dist-types/ts3.4/commands/GetReplicationConfigurationCommand.d.ts +12 -24
  213. package/dist-types/ts3.4/commands/InitializeServiceCommand.d.ts +14 -23
  214. package/dist-types/ts3.4/commands/ListExtensibleSourceServersCommand.d.ts +12 -24
  215. package/dist-types/ts3.4/commands/ListLaunchActionsCommand.d.ts +14 -23
  216. package/dist-types/ts3.4/commands/ListStagingAccountsCommand.d.ts +14 -23
  217. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  218. package/dist-types/ts3.4/commands/PutLaunchActionCommand.d.ts +14 -23
  219. package/dist-types/ts3.4/commands/RetryDataReplicationCommand.d.ts +12 -24
  220. package/dist-types/ts3.4/commands/ReverseReplicationCommand.d.ts +14 -23
  221. package/dist-types/ts3.4/commands/StartFailbackLaunchCommand.d.ts +14 -23
  222. package/dist-types/ts3.4/commands/StartRecoveryCommand.d.ts +14 -23
  223. package/dist-types/ts3.4/commands/StartReplicationCommand.d.ts +14 -23
  224. package/dist-types/ts3.4/commands/StartSourceNetworkRecoveryCommand.d.ts +12 -24
  225. package/dist-types/ts3.4/commands/StartSourceNetworkReplicationCommand.d.ts +12 -24
  226. package/dist-types/ts3.4/commands/StopFailbackCommand.d.ts +14 -23
  227. package/dist-types/ts3.4/commands/StopReplicationCommand.d.ts +14 -23
  228. package/dist-types/ts3.4/commands/StopSourceNetworkReplicationCommand.d.ts +12 -24
  229. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  230. package/dist-types/ts3.4/commands/TerminateRecoveryInstancesCommand.d.ts +12 -24
  231. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  232. package/dist-types/ts3.4/commands/UpdateFailbackReplicationConfigurationCommand.d.ts +12 -24
  233. package/dist-types/ts3.4/commands/UpdateLaunchConfigurationCommand.d.ts +12 -24
  234. package/dist-types/ts3.4/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +12 -24
  235. package/dist-types/ts3.4/commands/UpdateReplicationConfigurationCommand.d.ts +12 -24
  236. package/dist-types/ts3.4/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +12 -24
  237. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  238. package/dist-types/ts3.4/pagination/DescribeJobLogItemsPaginator.d.ts +3 -3
  239. package/dist-types/ts3.4/pagination/DescribeJobsPaginator.d.ts +3 -3
  240. package/dist-types/ts3.4/pagination/DescribeLaunchConfigurationTemplatesPaginator.d.ts +3 -3
  241. package/dist-types/ts3.4/pagination/DescribeRecoveryInstancesPaginator.d.ts +3 -3
  242. package/dist-types/ts3.4/pagination/DescribeRecoverySnapshotsPaginator.d.ts +3 -3
  243. package/dist-types/ts3.4/pagination/DescribeReplicationConfigurationTemplatesPaginator.d.ts +3 -3
  244. package/dist-types/ts3.4/pagination/DescribeSourceNetworksPaginator.d.ts +3 -3
  245. package/dist-types/ts3.4/pagination/DescribeSourceServersPaginator.d.ts +3 -3
  246. package/dist-types/ts3.4/pagination/ListExtensibleSourceServersPaginator.d.ts +3 -3
  247. package/dist-types/ts3.4/pagination/ListLaunchActionsPaginator.d.ts +3 -3
  248. package/dist-types/ts3.4/pagination/ListStagingAccountsPaginator.d.ts +3 -3
  249. package/package.json +11 -11
@@ -5,48 +5,25 @@ 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 models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class DescribeSourceNetworksCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeSourceNetworksCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "DrsClient";
30
- const commandName = "DescribeSourceNetworksCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: (_) => _,
36
- outputFilterSensitiveLog: models_0_1.DescribeSourceNetworksResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "ElasticDisasterRecoveryService",
39
- operation: "DescribeSourceNetworks",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_DescribeSourceNetworksCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_DescribeSourceNetworksCommand)(output, context);
50
- }
11
+ class DescribeSourceNetworksCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("ElasticDisasterRecoveryService", "DescribeSourceNetworks", {})
23
+ .n("DrsClient", "DescribeSourceNetworksCommand")
24
+ .f(void 0, models_0_1.DescribeSourceNetworksResponseFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_DescribeSourceNetworksCommand)
26
+ .de(Aws_restJson1_1.de_DescribeSourceNetworksCommand)
27
+ .build() {
51
28
  }
52
29
  exports.DescribeSourceNetworksCommand = DescribeSourceNetworksCommand;
@@ -5,48 +5,25 @@ 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 models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class DescribeSourceServersCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeSourceServersCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "DrsClient";
30
- const commandName = "DescribeSourceServersCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: (_) => _,
36
- outputFilterSensitiveLog: models_0_1.DescribeSourceServersResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "ElasticDisasterRecoveryService",
39
- operation: "DescribeSourceServers",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_DescribeSourceServersCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_DescribeSourceServersCommand)(output, context);
50
- }
11
+ class DescribeSourceServersCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("ElasticDisasterRecoveryService", "DescribeSourceServers", {})
23
+ .n("DrsClient", "DescribeSourceServersCommand")
24
+ .f(void 0, models_0_1.DescribeSourceServersResponseFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_DescribeSourceServersCommand)
26
+ .de(Aws_restJson1_1.de_DescribeSourceServersCommand)
27
+ .build() {
51
28
  }
52
29
  exports.DescribeSourceServersCommand = DescribeSourceServersCommand;
@@ -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_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DisconnectRecoveryInstanceCommand 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, DisconnectRecoveryInstanceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DrsClient";
29
- const commandName = "DisconnectRecoveryInstanceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticDisasterRecoveryService",
38
- operation: "DisconnectRecoveryInstance",
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_restJson1_1.se_DisconnectRecoveryInstanceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DisconnectRecoveryInstanceCommand)(output, context);
49
- }
10
+ class DisconnectRecoveryInstanceCommand 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("ElasticDisasterRecoveryService", "DisconnectRecoveryInstance", {})
22
+ .n("DrsClient", "DisconnectRecoveryInstanceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DisconnectRecoveryInstanceCommand)
25
+ .de(Aws_restJson1_1.de_DisconnectRecoveryInstanceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DisconnectRecoveryInstanceCommand = DisconnectRecoveryInstanceCommand;
@@ -5,48 +5,25 @@ 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 models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class DisconnectSourceServerCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DisconnectSourceServerCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "DrsClient";
30
- const commandName = "DisconnectSourceServerCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: (_) => _,
36
- outputFilterSensitiveLog: models_0_1.SourceServerFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "ElasticDisasterRecoveryService",
39
- operation: "DisconnectSourceServer",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_DisconnectSourceServerCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_DisconnectSourceServerCommand)(output, context);
50
- }
11
+ class DisconnectSourceServerCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("ElasticDisasterRecoveryService", "DisconnectSourceServer", {})
23
+ .n("DrsClient", "DisconnectSourceServerCommand")
24
+ .f(void 0, models_0_1.SourceServerFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_DisconnectSourceServerCommand)
26
+ .de(Aws_restJson1_1.de_DisconnectSourceServerCommand)
27
+ .build() {
51
28
  }
52
29
  exports.DisconnectSourceServerCommand = DisconnectSourceServerCommand;
@@ -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_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ExportSourceNetworkCfnTemplateCommand 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, ExportSourceNetworkCfnTemplateCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DrsClient";
29
- const commandName = "ExportSourceNetworkCfnTemplateCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticDisasterRecoveryService",
38
- operation: "ExportSourceNetworkCfnTemplate",
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_restJson1_1.se_ExportSourceNetworkCfnTemplateCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_ExportSourceNetworkCfnTemplateCommand)(output, context);
49
- }
10
+ class ExportSourceNetworkCfnTemplateCommand 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("ElasticDisasterRecoveryService", "ExportSourceNetworkCfnTemplate", {})
22
+ .n("DrsClient", "ExportSourceNetworkCfnTemplateCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ExportSourceNetworkCfnTemplateCommand)
25
+ .de(Aws_restJson1_1.de_ExportSourceNetworkCfnTemplateCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ExportSourceNetworkCfnTemplateCommand = ExportSourceNetworkCfnTemplateCommand;
@@ -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_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetFailbackReplicationConfigurationCommand 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, GetFailbackReplicationConfigurationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DrsClient";
29
- const commandName = "GetFailbackReplicationConfigurationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticDisasterRecoveryService",
38
- operation: "GetFailbackReplicationConfiguration",
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_restJson1_1.se_GetFailbackReplicationConfigurationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_GetFailbackReplicationConfigurationCommand)(output, context);
49
- }
10
+ class GetFailbackReplicationConfigurationCommand 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("ElasticDisasterRecoveryService", "GetFailbackReplicationConfiguration", {})
22
+ .n("DrsClient", "GetFailbackReplicationConfigurationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetFailbackReplicationConfigurationCommand)
25
+ .de(Aws_restJson1_1.de_GetFailbackReplicationConfigurationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetFailbackReplicationConfigurationCommand = GetFailbackReplicationConfigurationCommand;
@@ -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_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetLaunchConfigurationCommand 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, GetLaunchConfigurationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DrsClient";
29
- const commandName = "GetLaunchConfigurationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticDisasterRecoveryService",
38
- operation: "GetLaunchConfiguration",
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_restJson1_1.se_GetLaunchConfigurationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_GetLaunchConfigurationCommand)(output, context);
49
- }
10
+ class GetLaunchConfigurationCommand 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("ElasticDisasterRecoveryService", "GetLaunchConfiguration", {})
22
+ .n("DrsClient", "GetLaunchConfigurationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetLaunchConfigurationCommand)
25
+ .de(Aws_restJson1_1.de_GetLaunchConfigurationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetLaunchConfigurationCommand = GetLaunchConfigurationCommand;
@@ -5,48 +5,25 @@ 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 models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class GetReplicationConfigurationCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetReplicationConfigurationCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "DrsClient";
30
- const commandName = "GetReplicationConfigurationCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: (_) => _,
36
- outputFilterSensitiveLog: models_0_1.ReplicationConfigurationFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "ElasticDisasterRecoveryService",
39
- operation: "GetReplicationConfiguration",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_GetReplicationConfigurationCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_GetReplicationConfigurationCommand)(output, context);
50
- }
11
+ class GetReplicationConfigurationCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("ElasticDisasterRecoveryService", "GetReplicationConfiguration", {})
23
+ .n("DrsClient", "GetReplicationConfigurationCommand")
24
+ .f(void 0, models_0_1.ReplicationConfigurationFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_GetReplicationConfigurationCommand)
26
+ .de(Aws_restJson1_1.de_GetReplicationConfigurationCommand)
27
+ .build() {
51
28
  }
52
29
  exports.GetReplicationConfigurationCommand = GetReplicationConfigurationCommand;
@@ -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_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class InitializeServiceCommand 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, InitializeServiceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DrsClient";
29
- const commandName = "InitializeServiceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticDisasterRecoveryService",
38
- operation: "InitializeService",
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_restJson1_1.se_InitializeServiceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_InitializeServiceCommand)(output, context);
49
- }
10
+ class InitializeServiceCommand 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("ElasticDisasterRecoveryService", "InitializeService", {})
22
+ .n("DrsClient", "InitializeServiceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_InitializeServiceCommand)
25
+ .de(Aws_restJson1_1.de_InitializeServiceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.InitializeServiceCommand = InitializeServiceCommand;