@aws-sdk/client-drs 3.478.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 (205) 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-es/commands/AssociateSourceNetworkStackCommand.js +18 -41
  53. package/dist-es/commands/CreateExtendedSourceServerCommand.js +18 -41
  54. package/dist-es/commands/CreateLaunchConfigurationTemplateCommand.js +18 -41
  55. package/dist-es/commands/CreateReplicationConfigurationTemplateCommand.js +18 -41
  56. package/dist-es/commands/CreateSourceNetworkCommand.js +18 -41
  57. package/dist-es/commands/DeleteJobCommand.js +18 -41
  58. package/dist-es/commands/DeleteLaunchActionCommand.js +18 -41
  59. package/dist-es/commands/DeleteLaunchConfigurationTemplateCommand.js +18 -41
  60. package/dist-es/commands/DeleteRecoveryInstanceCommand.js +18 -41
  61. package/dist-es/commands/DeleteReplicationConfigurationTemplateCommand.js +18 -41
  62. package/dist-es/commands/DeleteSourceNetworkCommand.js +18 -41
  63. package/dist-es/commands/DeleteSourceServerCommand.js +18 -41
  64. package/dist-es/commands/DescribeJobLogItemsCommand.js +18 -41
  65. package/dist-es/commands/DescribeJobsCommand.js +18 -41
  66. package/dist-es/commands/DescribeLaunchConfigurationTemplatesCommand.js +18 -41
  67. package/dist-es/commands/DescribeRecoveryInstancesCommand.js +18 -41
  68. package/dist-es/commands/DescribeRecoverySnapshotsCommand.js +18 -41
  69. package/dist-es/commands/DescribeReplicationConfigurationTemplatesCommand.js +18 -41
  70. package/dist-es/commands/DescribeSourceNetworksCommand.js +18 -41
  71. package/dist-es/commands/DescribeSourceServersCommand.js +18 -41
  72. package/dist-es/commands/DisconnectRecoveryInstanceCommand.js +18 -41
  73. package/dist-es/commands/DisconnectSourceServerCommand.js +18 -41
  74. package/dist-es/commands/ExportSourceNetworkCfnTemplateCommand.js +18 -41
  75. package/dist-es/commands/GetFailbackReplicationConfigurationCommand.js +18 -41
  76. package/dist-es/commands/GetLaunchConfigurationCommand.js +18 -41
  77. package/dist-es/commands/GetReplicationConfigurationCommand.js +18 -41
  78. package/dist-es/commands/InitializeServiceCommand.js +18 -41
  79. package/dist-es/commands/ListExtensibleSourceServersCommand.js +18 -41
  80. package/dist-es/commands/ListLaunchActionsCommand.js +18 -41
  81. package/dist-es/commands/ListStagingAccountsCommand.js +18 -41
  82. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  83. package/dist-es/commands/PutLaunchActionCommand.js +18 -41
  84. package/dist-es/commands/RetryDataReplicationCommand.js +18 -41
  85. package/dist-es/commands/ReverseReplicationCommand.js +18 -41
  86. package/dist-es/commands/StartFailbackLaunchCommand.js +18 -41
  87. package/dist-es/commands/StartRecoveryCommand.js +18 -41
  88. package/dist-es/commands/StartReplicationCommand.js +18 -41
  89. package/dist-es/commands/StartSourceNetworkRecoveryCommand.js +18 -41
  90. package/dist-es/commands/StartSourceNetworkReplicationCommand.js +18 -41
  91. package/dist-es/commands/StopFailbackCommand.js +18 -41
  92. package/dist-es/commands/StopReplicationCommand.js +18 -41
  93. package/dist-es/commands/StopSourceNetworkReplicationCommand.js +18 -41
  94. package/dist-es/commands/TagResourceCommand.js +18 -41
  95. package/dist-es/commands/TerminateRecoveryInstancesCommand.js +18 -41
  96. package/dist-es/commands/UntagResourceCommand.js +18 -41
  97. package/dist-es/commands/UpdateFailbackReplicationConfigurationCommand.js +18 -41
  98. package/dist-es/commands/UpdateLaunchConfigurationCommand.js +18 -41
  99. package/dist-es/commands/UpdateLaunchConfigurationTemplateCommand.js +18 -41
  100. package/dist-es/commands/UpdateReplicationConfigurationCommand.js +18 -41
  101. package/dist-es/commands/UpdateReplicationConfigurationTemplateCommand.js +18 -41
  102. package/dist-es/endpoint/EndpointParameters.js +6 -0
  103. package/dist-types/commands/AssociateSourceNetworkStackCommand.d.ts +6 -21
  104. package/dist-types/commands/CreateExtendedSourceServerCommand.d.ts +6 -21
  105. package/dist-types/commands/CreateLaunchConfigurationTemplateCommand.d.ts +6 -21
  106. package/dist-types/commands/CreateReplicationConfigurationTemplateCommand.d.ts +6 -21
  107. package/dist-types/commands/CreateSourceNetworkCommand.d.ts +6 -21
  108. package/dist-types/commands/DeleteJobCommand.d.ts +6 -21
  109. package/dist-types/commands/DeleteLaunchActionCommand.d.ts +6 -21
  110. package/dist-types/commands/DeleteLaunchConfigurationTemplateCommand.d.ts +6 -21
  111. package/dist-types/commands/DeleteRecoveryInstanceCommand.d.ts +6 -21
  112. package/dist-types/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +6 -21
  113. package/dist-types/commands/DeleteSourceNetworkCommand.d.ts +6 -21
  114. package/dist-types/commands/DeleteSourceServerCommand.d.ts +6 -21
  115. package/dist-types/commands/DescribeJobLogItemsCommand.d.ts +6 -21
  116. package/dist-types/commands/DescribeJobsCommand.d.ts +6 -21
  117. package/dist-types/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +6 -21
  118. package/dist-types/commands/DescribeRecoveryInstancesCommand.d.ts +6 -21
  119. package/dist-types/commands/DescribeRecoverySnapshotsCommand.d.ts +6 -21
  120. package/dist-types/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +6 -21
  121. package/dist-types/commands/DescribeSourceNetworksCommand.d.ts +6 -21
  122. package/dist-types/commands/DescribeSourceServersCommand.d.ts +6 -21
  123. package/dist-types/commands/DisconnectRecoveryInstanceCommand.d.ts +6 -21
  124. package/dist-types/commands/DisconnectSourceServerCommand.d.ts +6 -21
  125. package/dist-types/commands/ExportSourceNetworkCfnTemplateCommand.d.ts +6 -21
  126. package/dist-types/commands/GetFailbackReplicationConfigurationCommand.d.ts +6 -21
  127. package/dist-types/commands/GetLaunchConfigurationCommand.d.ts +6 -21
  128. package/dist-types/commands/GetReplicationConfigurationCommand.d.ts +6 -21
  129. package/dist-types/commands/InitializeServiceCommand.d.ts +6 -21
  130. package/dist-types/commands/ListExtensibleSourceServersCommand.d.ts +6 -21
  131. package/dist-types/commands/ListLaunchActionsCommand.d.ts +6 -21
  132. package/dist-types/commands/ListStagingAccountsCommand.d.ts +6 -21
  133. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  134. package/dist-types/commands/PutLaunchActionCommand.d.ts +6 -21
  135. package/dist-types/commands/RetryDataReplicationCommand.d.ts +6 -21
  136. package/dist-types/commands/ReverseReplicationCommand.d.ts +6 -21
  137. package/dist-types/commands/StartFailbackLaunchCommand.d.ts +6 -21
  138. package/dist-types/commands/StartRecoveryCommand.d.ts +6 -21
  139. package/dist-types/commands/StartReplicationCommand.d.ts +6 -21
  140. package/dist-types/commands/StartSourceNetworkRecoveryCommand.d.ts +6 -21
  141. package/dist-types/commands/StartSourceNetworkReplicationCommand.d.ts +6 -21
  142. package/dist-types/commands/StopFailbackCommand.d.ts +6 -21
  143. package/dist-types/commands/StopReplicationCommand.d.ts +6 -21
  144. package/dist-types/commands/StopSourceNetworkReplicationCommand.d.ts +6 -21
  145. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  146. package/dist-types/commands/TerminateRecoveryInstancesCommand.d.ts +6 -21
  147. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  148. package/dist-types/commands/UpdateFailbackReplicationConfigurationCommand.d.ts +6 -21
  149. package/dist-types/commands/UpdateLaunchConfigurationCommand.d.ts +6 -21
  150. package/dist-types/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +6 -21
  151. package/dist-types/commands/UpdateReplicationConfigurationCommand.d.ts +6 -21
  152. package/dist-types/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +6 -21
  153. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  154. package/dist-types/ts3.4/commands/AssociateSourceNetworkStackCommand.d.ts +12 -24
  155. package/dist-types/ts3.4/commands/CreateExtendedSourceServerCommand.d.ts +12 -24
  156. package/dist-types/ts3.4/commands/CreateLaunchConfigurationTemplateCommand.d.ts +12 -24
  157. package/dist-types/ts3.4/commands/CreateReplicationConfigurationTemplateCommand.d.ts +12 -24
  158. package/dist-types/ts3.4/commands/CreateSourceNetworkCommand.d.ts +14 -23
  159. package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +14 -23
  160. package/dist-types/ts3.4/commands/DeleteLaunchActionCommand.d.ts +14 -23
  161. package/dist-types/ts3.4/commands/DeleteLaunchConfigurationTemplateCommand.d.ts +12 -24
  162. package/dist-types/ts3.4/commands/DeleteRecoveryInstanceCommand.d.ts +12 -24
  163. package/dist-types/ts3.4/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +12 -24
  164. package/dist-types/ts3.4/commands/DeleteSourceNetworkCommand.d.ts +14 -23
  165. package/dist-types/ts3.4/commands/DeleteSourceServerCommand.d.ts +14 -23
  166. package/dist-types/ts3.4/commands/DescribeJobLogItemsCommand.d.ts +14 -23
  167. package/dist-types/ts3.4/commands/DescribeJobsCommand.d.ts +14 -23
  168. package/dist-types/ts3.4/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +12 -24
  169. package/dist-types/ts3.4/commands/DescribeRecoveryInstancesCommand.d.ts +12 -24
  170. package/dist-types/ts3.4/commands/DescribeRecoverySnapshotsCommand.d.ts +12 -24
  171. package/dist-types/ts3.4/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +12 -24
  172. package/dist-types/ts3.4/commands/DescribeSourceNetworksCommand.d.ts +12 -24
  173. package/dist-types/ts3.4/commands/DescribeSourceServersCommand.d.ts +12 -24
  174. package/dist-types/ts3.4/commands/DisconnectRecoveryInstanceCommand.d.ts +12 -24
  175. package/dist-types/ts3.4/commands/DisconnectSourceServerCommand.d.ts +12 -24
  176. package/dist-types/ts3.4/commands/ExportSourceNetworkCfnTemplateCommand.d.ts +12 -24
  177. package/dist-types/ts3.4/commands/GetFailbackReplicationConfigurationCommand.d.ts +12 -24
  178. package/dist-types/ts3.4/commands/GetLaunchConfigurationCommand.d.ts +12 -24
  179. package/dist-types/ts3.4/commands/GetReplicationConfigurationCommand.d.ts +12 -24
  180. package/dist-types/ts3.4/commands/InitializeServiceCommand.d.ts +14 -23
  181. package/dist-types/ts3.4/commands/ListExtensibleSourceServersCommand.d.ts +12 -24
  182. package/dist-types/ts3.4/commands/ListLaunchActionsCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/commands/ListStagingAccountsCommand.d.ts +14 -23
  184. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  185. package/dist-types/ts3.4/commands/PutLaunchActionCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/RetryDataReplicationCommand.d.ts +12 -24
  187. package/dist-types/ts3.4/commands/ReverseReplicationCommand.d.ts +14 -23
  188. package/dist-types/ts3.4/commands/StartFailbackLaunchCommand.d.ts +14 -23
  189. package/dist-types/ts3.4/commands/StartRecoveryCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/StartReplicationCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/StartSourceNetworkRecoveryCommand.d.ts +12 -24
  192. package/dist-types/ts3.4/commands/StartSourceNetworkReplicationCommand.d.ts +12 -24
  193. package/dist-types/ts3.4/commands/StopFailbackCommand.d.ts +14 -23
  194. package/dist-types/ts3.4/commands/StopReplicationCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/StopSourceNetworkReplicationCommand.d.ts +12 -24
  196. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  197. package/dist-types/ts3.4/commands/TerminateRecoveryInstancesCommand.d.ts +12 -24
  198. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  199. package/dist-types/ts3.4/commands/UpdateFailbackReplicationConfigurationCommand.d.ts +12 -24
  200. package/dist-types/ts3.4/commands/UpdateLaunchConfigurationCommand.d.ts +12 -24
  201. package/dist-types/ts3.4/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +12 -24
  202. package/dist-types/ts3.4/commands/UpdateReplicationConfigurationCommand.d.ts +12 -24
  203. package/dist-types/ts3.4/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +12 -24
  204. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  205. package/package.json +9 -9
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { CreateSourceNetworkRequestFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_CreateSourceNetworkCommand, se_CreateSourceNetworkCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class CreateSourceNetworkCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateSourceNetworkCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "DrsClient";
27
- const commandName = "CreateSourceNetworkCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: CreateSourceNetworkRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ElasticDisasterRecoveryService",
36
- operation: "CreateSourceNetwork",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_CreateSourceNetworkCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_CreateSourceNetworkCommand(output, context);
47
- }
8
+ export class CreateSourceNetworkCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("ElasticDisasterRecoveryService", "CreateSourceNetwork", {})
20
+ .n("DrsClient", "CreateSourceNetworkCommand")
21
+ .f(CreateSourceNetworkRequestFilterSensitiveLog, void 0)
22
+ .ser(se_CreateSourceNetworkCommand)
23
+ .de(de_CreateSourceNetworkCommand)
24
+ .build() {
48
25
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteJobCommand, se_DeleteJobCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteJobCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DrsClient";
26
- const commandName = "DeleteJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ElasticDisasterRecoveryService",
35
- operation: "DeleteJob",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteJobCommand(output, context);
46
- }
7
+ export class DeleteJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ElasticDisasterRecoveryService", "DeleteJob", {})
19
+ .n("DrsClient", "DeleteJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteJobCommand)
22
+ .de(de_DeleteJobCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteLaunchActionCommand, se_DeleteLaunchActionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteLaunchActionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteLaunchActionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DrsClient";
26
- const commandName = "DeleteLaunchActionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ElasticDisasterRecoveryService",
35
- operation: "DeleteLaunchAction",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteLaunchActionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteLaunchActionCommand(output, context);
46
- }
7
+ export class DeleteLaunchActionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ElasticDisasterRecoveryService", "DeleteLaunchAction", {})
19
+ .n("DrsClient", "DeleteLaunchActionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteLaunchActionCommand)
22
+ .de(de_DeleteLaunchActionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteLaunchConfigurationTemplateCommand, se_DeleteLaunchConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteLaunchConfigurationTemplateCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteLaunchConfigurationTemplateCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DrsClient";
26
- const commandName = "DeleteLaunchConfigurationTemplateCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ElasticDisasterRecoveryService",
35
- operation: "DeleteLaunchConfigurationTemplate",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteLaunchConfigurationTemplateCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteLaunchConfigurationTemplateCommand(output, context);
46
- }
7
+ export class DeleteLaunchConfigurationTemplateCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ElasticDisasterRecoveryService", "DeleteLaunchConfigurationTemplate", {})
19
+ .n("DrsClient", "DeleteLaunchConfigurationTemplateCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteLaunchConfigurationTemplateCommand)
22
+ .de(de_DeleteLaunchConfigurationTemplateCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteRecoveryInstanceCommand, se_DeleteRecoveryInstanceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteRecoveryInstanceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteRecoveryInstanceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DrsClient";
26
- const commandName = "DeleteRecoveryInstanceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ElasticDisasterRecoveryService",
35
- operation: "DeleteRecoveryInstance",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteRecoveryInstanceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteRecoveryInstanceCommand(output, context);
46
- }
7
+ export class DeleteRecoveryInstanceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ElasticDisasterRecoveryService", "DeleteRecoveryInstance", {})
19
+ .n("DrsClient", "DeleteRecoveryInstanceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteRecoveryInstanceCommand)
22
+ .de(de_DeleteRecoveryInstanceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteReplicationConfigurationTemplateCommand, se_DeleteReplicationConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteReplicationConfigurationTemplateCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteReplicationConfigurationTemplateCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DrsClient";
26
- const commandName = "DeleteReplicationConfigurationTemplateCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ElasticDisasterRecoveryService",
35
- operation: "DeleteReplicationConfigurationTemplate",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteReplicationConfigurationTemplateCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteReplicationConfigurationTemplateCommand(output, context);
46
- }
7
+ export class DeleteReplicationConfigurationTemplateCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ElasticDisasterRecoveryService", "DeleteReplicationConfigurationTemplate", {})
19
+ .n("DrsClient", "DeleteReplicationConfigurationTemplateCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteReplicationConfigurationTemplateCommand)
22
+ .de(de_DeleteReplicationConfigurationTemplateCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteSourceNetworkCommand, se_DeleteSourceNetworkCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteSourceNetworkCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteSourceNetworkCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DrsClient";
26
- const commandName = "DeleteSourceNetworkCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ElasticDisasterRecoveryService",
35
- operation: "DeleteSourceNetwork",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteSourceNetworkCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteSourceNetworkCommand(output, context);
46
- }
7
+ export class DeleteSourceNetworkCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ElasticDisasterRecoveryService", "DeleteSourceNetwork", {})
19
+ .n("DrsClient", "DeleteSourceNetworkCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteSourceNetworkCommand)
22
+ .de(de_DeleteSourceNetworkCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteSourceServerCommand, se_DeleteSourceServerCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteSourceServerCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteSourceServerCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DrsClient";
26
- const commandName = "DeleteSourceServerCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ElasticDisasterRecoveryService",
35
- operation: "DeleteSourceServer",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteSourceServerCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteSourceServerCommand(output, context);
46
- }
7
+ export class DeleteSourceServerCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ElasticDisasterRecoveryService", "DeleteSourceServer", {})
19
+ .n("DrsClient", "DeleteSourceServerCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteSourceServerCommand)
22
+ .de(de_DeleteSourceServerCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeJobLogItemsCommand, se_DescribeJobLogItemsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeJobLogItemsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeJobLogItemsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DrsClient";
26
- const commandName = "DescribeJobLogItemsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ElasticDisasterRecoveryService",
35
- operation: "DescribeJobLogItems",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeJobLogItemsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeJobLogItemsCommand(output, context);
46
- }
7
+ export class DescribeJobLogItemsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ElasticDisasterRecoveryService", "DescribeJobLogItems", {})
19
+ .n("DrsClient", "DescribeJobLogItemsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeJobLogItemsCommand)
22
+ .de(de_DescribeJobLogItemsCommand)
23
+ .build() {
47
24
  }