@aws-sdk/client-mgn 3.294.0 → 3.296.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 (178) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/Mgn.js +90 -0
  3. package/dist-cjs/commands/ArchiveApplicationCommand.js +4 -4
  4. package/dist-cjs/commands/ArchiveWaveCommand.js +4 -4
  5. package/dist-cjs/commands/AssociateApplicationsCommand.js +4 -4
  6. package/dist-cjs/commands/AssociateSourceServersCommand.js +4 -4
  7. package/dist-cjs/commands/ChangeServerLifeCycleStateCommand.js +4 -4
  8. package/dist-cjs/commands/CreateApplicationCommand.js +4 -4
  9. package/dist-cjs/commands/CreateLaunchConfigurationTemplateCommand.js +4 -4
  10. package/dist-cjs/commands/CreateReplicationConfigurationTemplateCommand.js +4 -4
  11. package/dist-cjs/commands/CreateWaveCommand.js +4 -4
  12. package/dist-cjs/commands/DeleteApplicationCommand.js +4 -4
  13. package/dist-cjs/commands/DeleteJobCommand.js +4 -4
  14. package/dist-cjs/commands/DeleteLaunchConfigurationTemplateCommand.js +4 -4
  15. package/dist-cjs/commands/DeleteReplicationConfigurationTemplateCommand.js +4 -4
  16. package/dist-cjs/commands/DeleteSourceServerCommand.js +4 -4
  17. package/dist-cjs/commands/DeleteVcenterClientCommand.js +4 -4
  18. package/dist-cjs/commands/DeleteWaveCommand.js +4 -4
  19. package/dist-cjs/commands/DescribeJobLogItemsCommand.js +4 -4
  20. package/dist-cjs/commands/DescribeJobsCommand.js +4 -4
  21. package/dist-cjs/commands/DescribeLaunchConfigurationTemplatesCommand.js +4 -4
  22. package/dist-cjs/commands/DescribeReplicationConfigurationTemplatesCommand.js +4 -4
  23. package/dist-cjs/commands/DescribeSourceServersCommand.js +4 -4
  24. package/dist-cjs/commands/DescribeVcenterClientsCommand.js +4 -4
  25. package/dist-cjs/commands/DisassociateApplicationsCommand.js +4 -4
  26. package/dist-cjs/commands/DisassociateSourceServersCommand.js +4 -4
  27. package/dist-cjs/commands/DisconnectFromServiceCommand.js +4 -4
  28. package/dist-cjs/commands/FinalizeCutoverCommand.js +4 -4
  29. package/dist-cjs/commands/GetLaunchConfigurationCommand.js +4 -4
  30. package/dist-cjs/commands/GetReplicationConfigurationCommand.js +4 -4
  31. package/dist-cjs/commands/InitializeServiceCommand.js +4 -4
  32. package/dist-cjs/commands/ListApplicationsCommand.js +4 -4
  33. package/dist-cjs/commands/ListExportErrorsCommand.js +46 -0
  34. package/dist-cjs/commands/ListExportsCommand.js +46 -0
  35. package/dist-cjs/commands/ListImportErrorsCommand.js +46 -0
  36. package/dist-cjs/commands/ListImportsCommand.js +46 -0
  37. package/dist-cjs/commands/ListSourceServerActionsCommand.js +4 -4
  38. package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
  39. package/dist-cjs/commands/ListTemplateActionsCommand.js +4 -4
  40. package/dist-cjs/commands/ListWavesCommand.js +4 -4
  41. package/dist-cjs/commands/MarkAsArchivedCommand.js +4 -4
  42. package/dist-cjs/commands/PutSourceServerActionCommand.js +4 -4
  43. package/dist-cjs/commands/PutTemplateActionCommand.js +4 -4
  44. package/dist-cjs/commands/RemoveSourceServerActionCommand.js +4 -4
  45. package/dist-cjs/commands/RemoveTemplateActionCommand.js +4 -4
  46. package/dist-cjs/commands/RetryDataReplicationCommand.js +4 -4
  47. package/dist-cjs/commands/StartCutoverCommand.js +4 -4
  48. package/dist-cjs/commands/StartExportCommand.js +46 -0
  49. package/dist-cjs/commands/StartImportCommand.js +46 -0
  50. package/dist-cjs/commands/StartReplicationCommand.js +4 -4
  51. package/dist-cjs/commands/StartTestCommand.js +4 -4
  52. package/dist-cjs/commands/TagResourceCommand.js +4 -4
  53. package/dist-cjs/commands/TerminateTargetInstancesCommand.js +4 -4
  54. package/dist-cjs/commands/UnarchiveApplicationCommand.js +4 -4
  55. package/dist-cjs/commands/UnarchiveWaveCommand.js +4 -4
  56. package/dist-cjs/commands/UntagResourceCommand.js +4 -4
  57. package/dist-cjs/commands/UpdateApplicationCommand.js +4 -4
  58. package/dist-cjs/commands/UpdateLaunchConfigurationCommand.js +4 -4
  59. package/dist-cjs/commands/UpdateLaunchConfigurationTemplateCommand.js +4 -4
  60. package/dist-cjs/commands/UpdateReplicationConfigurationCommand.js +4 -4
  61. package/dist-cjs/commands/UpdateReplicationConfigurationTemplateCommand.js +4 -4
  62. package/dist-cjs/commands/UpdateSourceServerReplicationTypeCommand.js +4 -4
  63. package/dist-cjs/commands/UpdateWaveCommand.js +4 -4
  64. package/dist-cjs/commands/index.js +6 -0
  65. package/dist-cjs/endpoint/ruleset.js +3 -3
  66. package/dist-cjs/models/models_0.js +191 -8
  67. package/dist-cjs/pagination/ListExportErrorsPaginator.js +29 -0
  68. package/dist-cjs/pagination/ListExportsPaginator.js +29 -0
  69. package/dist-cjs/pagination/ListImportErrorsPaginator.js +29 -0
  70. package/dist-cjs/pagination/ListImportsPaginator.js +29 -0
  71. package/dist-cjs/pagination/index.js +4 -0
  72. package/dist-cjs/protocols/Aws_restJson1.js +676 -3
  73. package/dist-es/Mgn.js +90 -0
  74. package/dist-es/commands/ArchiveApplicationCommand.js +4 -4
  75. package/dist-es/commands/ArchiveWaveCommand.js +4 -4
  76. package/dist-es/commands/AssociateApplicationsCommand.js +4 -4
  77. package/dist-es/commands/AssociateSourceServersCommand.js +4 -4
  78. package/dist-es/commands/ChangeServerLifeCycleStateCommand.js +4 -4
  79. package/dist-es/commands/CreateApplicationCommand.js +4 -4
  80. package/dist-es/commands/CreateLaunchConfigurationTemplateCommand.js +4 -4
  81. package/dist-es/commands/CreateReplicationConfigurationTemplateCommand.js +4 -4
  82. package/dist-es/commands/CreateWaveCommand.js +4 -4
  83. package/dist-es/commands/DeleteApplicationCommand.js +4 -4
  84. package/dist-es/commands/DeleteJobCommand.js +4 -4
  85. package/dist-es/commands/DeleteLaunchConfigurationTemplateCommand.js +4 -4
  86. package/dist-es/commands/DeleteReplicationConfigurationTemplateCommand.js +4 -4
  87. package/dist-es/commands/DeleteSourceServerCommand.js +4 -4
  88. package/dist-es/commands/DeleteVcenterClientCommand.js +4 -4
  89. package/dist-es/commands/DeleteWaveCommand.js +4 -4
  90. package/dist-es/commands/DescribeJobLogItemsCommand.js +4 -4
  91. package/dist-es/commands/DescribeJobsCommand.js +4 -4
  92. package/dist-es/commands/DescribeLaunchConfigurationTemplatesCommand.js +4 -4
  93. package/dist-es/commands/DescribeReplicationConfigurationTemplatesCommand.js +4 -4
  94. package/dist-es/commands/DescribeSourceServersCommand.js +4 -4
  95. package/dist-es/commands/DescribeVcenterClientsCommand.js +4 -4
  96. package/dist-es/commands/DisassociateApplicationsCommand.js +4 -4
  97. package/dist-es/commands/DisassociateSourceServersCommand.js +4 -4
  98. package/dist-es/commands/DisconnectFromServiceCommand.js +4 -4
  99. package/dist-es/commands/FinalizeCutoverCommand.js +4 -4
  100. package/dist-es/commands/GetLaunchConfigurationCommand.js +4 -4
  101. package/dist-es/commands/GetReplicationConfigurationCommand.js +4 -4
  102. package/dist-es/commands/InitializeServiceCommand.js +4 -4
  103. package/dist-es/commands/ListApplicationsCommand.js +4 -4
  104. package/dist-es/commands/ListExportErrorsCommand.js +42 -0
  105. package/dist-es/commands/ListExportsCommand.js +42 -0
  106. package/dist-es/commands/ListImportErrorsCommand.js +42 -0
  107. package/dist-es/commands/ListImportsCommand.js +42 -0
  108. package/dist-es/commands/ListSourceServerActionsCommand.js +4 -4
  109. package/dist-es/commands/ListTagsForResourceCommand.js +4 -4
  110. package/dist-es/commands/ListTemplateActionsCommand.js +4 -4
  111. package/dist-es/commands/ListWavesCommand.js +4 -4
  112. package/dist-es/commands/MarkAsArchivedCommand.js +4 -4
  113. package/dist-es/commands/PutSourceServerActionCommand.js +4 -4
  114. package/dist-es/commands/PutTemplateActionCommand.js +4 -4
  115. package/dist-es/commands/RemoveSourceServerActionCommand.js +4 -4
  116. package/dist-es/commands/RemoveTemplateActionCommand.js +4 -4
  117. package/dist-es/commands/RetryDataReplicationCommand.js +4 -4
  118. package/dist-es/commands/StartCutoverCommand.js +4 -4
  119. package/dist-es/commands/StartExportCommand.js +42 -0
  120. package/dist-es/commands/StartImportCommand.js +42 -0
  121. package/dist-es/commands/StartReplicationCommand.js +4 -4
  122. package/dist-es/commands/StartTestCommand.js +4 -4
  123. package/dist-es/commands/TagResourceCommand.js +4 -4
  124. package/dist-es/commands/TerminateTargetInstancesCommand.js +4 -4
  125. package/dist-es/commands/UnarchiveApplicationCommand.js +4 -4
  126. package/dist-es/commands/UnarchiveWaveCommand.js +4 -4
  127. package/dist-es/commands/UntagResourceCommand.js +4 -4
  128. package/dist-es/commands/UpdateApplicationCommand.js +4 -4
  129. package/dist-es/commands/UpdateLaunchConfigurationCommand.js +4 -4
  130. package/dist-es/commands/UpdateLaunchConfigurationTemplateCommand.js +4 -4
  131. package/dist-es/commands/UpdateReplicationConfigurationCommand.js +4 -4
  132. package/dist-es/commands/UpdateReplicationConfigurationTemplateCommand.js +4 -4
  133. package/dist-es/commands/UpdateSourceServerReplicationTypeCommand.js +4 -4
  134. package/dist-es/commands/UpdateWaveCommand.js +4 -4
  135. package/dist-es/commands/index.js +6 -0
  136. package/dist-es/endpoint/ruleset.js +3 -3
  137. package/dist-es/models/models_0.js +157 -2
  138. package/dist-es/pagination/ListExportErrorsPaginator.js +25 -0
  139. package/dist-es/pagination/ListExportsPaginator.js +25 -0
  140. package/dist-es/pagination/ListImportErrorsPaginator.js +25 -0
  141. package/dist-es/pagination/ListImportsPaginator.js +25 -0
  142. package/dist-es/pagination/index.js +4 -0
  143. package/dist-es/protocols/Aws_restJson1.js +663 -2
  144. package/dist-types/Mgn.d.ts +42 -0
  145. package/dist-types/MgnClient.d.ts +10 -4
  146. package/dist-types/commands/ListExportErrorsCommand.d.ts +50 -0
  147. package/dist-types/commands/ListExportsCommand.d.ts +47 -0
  148. package/dist-types/commands/ListImportErrorsCommand.d.ts +50 -0
  149. package/dist-types/commands/ListImportsCommand.d.ts +50 -0
  150. package/dist-types/commands/StartExportCommand.d.ts +53 -0
  151. package/dist-types/commands/StartImportCommand.d.ts +59 -0
  152. package/dist-types/commands/index.d.ts +6 -0
  153. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  154. package/dist-types/models/models_0.d.ts +641 -4
  155. package/dist-types/pagination/ListExportErrorsPaginator.d.ts +4 -0
  156. package/dist-types/pagination/ListExportsPaginator.d.ts +4 -0
  157. package/dist-types/pagination/ListImportErrorsPaginator.d.ts +4 -0
  158. package/dist-types/pagination/ListImportsPaginator.d.ts +4 -0
  159. package/dist-types/pagination/index.d.ts +4 -0
  160. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  161. package/dist-types/ts3.4/Mgn.d.ts +102 -0
  162. package/dist-types/ts3.4/MgnClient.d.ts +40 -4
  163. package/dist-types/ts3.4/commands/ListExportErrorsCommand.d.ts +37 -0
  164. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +34 -0
  165. package/dist-types/ts3.4/commands/ListImportErrorsCommand.d.ts +37 -0
  166. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +34 -0
  167. package/dist-types/ts3.4/commands/StartExportCommand.d.ts +34 -0
  168. package/dist-types/ts3.4/commands/StartImportCommand.d.ts +34 -0
  169. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  170. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -4
  171. package/dist-types/ts3.4/models/models_0.d.ts +268 -5
  172. package/dist-types/ts3.4/pagination/ListExportErrorsPaginator.d.ts +11 -0
  173. package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +11 -0
  174. package/dist-types/ts3.4/pagination/ListImportErrorsPaginator.d.ts +11 -0
  175. package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +11 -0
  176. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  177. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  178. package/package.json +38 -36
package/README.md CHANGED
@@ -445,6 +445,38 @@ ListApplications
445
445
 
446
446
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/classes/listapplicationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/interfaces/listapplicationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/interfaces/listapplicationscommandoutput.html)
447
447
 
448
+ </details>
449
+ <details>
450
+ <summary>
451
+ ListExportErrors
452
+ </summary>
453
+
454
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/classes/listexporterrorscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/interfaces/listexporterrorscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/interfaces/listexporterrorscommandoutput.html)
455
+
456
+ </details>
457
+ <details>
458
+ <summary>
459
+ ListExports
460
+ </summary>
461
+
462
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/classes/listexportscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/interfaces/listexportscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/interfaces/listexportscommandoutput.html)
463
+
464
+ </details>
465
+ <details>
466
+ <summary>
467
+ ListImportErrors
468
+ </summary>
469
+
470
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/classes/listimporterrorscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/interfaces/listimporterrorscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/interfaces/listimporterrorscommandoutput.html)
471
+
472
+ </details>
473
+ <details>
474
+ <summary>
475
+ ListImports
476
+ </summary>
477
+
478
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/classes/listimportscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/interfaces/listimportscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/interfaces/listimportscommandoutput.html)
479
+
448
480
  </details>
449
481
  <details>
450
482
  <summary>
@@ -533,6 +565,22 @@ StartCutover
533
565
 
534
566
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/classes/startcutovercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/interfaces/startcutovercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/interfaces/startcutovercommandoutput.html)
535
567
 
568
+ </details>
569
+ <details>
570
+ <summary>
571
+ StartExport
572
+ </summary>
573
+
574
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/classes/startexportcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/interfaces/startexportcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/interfaces/startexportcommandoutput.html)
575
+
576
+ </details>
577
+ <details>
578
+ <summary>
579
+ StartImport
580
+ </summary>
581
+
582
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/classes/startimportcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/interfaces/startimportcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-mgn/interfaces/startimportcommandoutput.html)
583
+
536
584
  </details>
537
585
  <details>
538
586
  <summary>
package/dist-cjs/Mgn.js CHANGED
@@ -31,6 +31,10 @@ const GetLaunchConfigurationCommand_1 = require("./commands/GetLaunchConfigurati
31
31
  const GetReplicationConfigurationCommand_1 = require("./commands/GetReplicationConfigurationCommand");
32
32
  const InitializeServiceCommand_1 = require("./commands/InitializeServiceCommand");
33
33
  const ListApplicationsCommand_1 = require("./commands/ListApplicationsCommand");
34
+ const ListExportErrorsCommand_1 = require("./commands/ListExportErrorsCommand");
35
+ const ListExportsCommand_1 = require("./commands/ListExportsCommand");
36
+ const ListImportErrorsCommand_1 = require("./commands/ListImportErrorsCommand");
37
+ const ListImportsCommand_1 = require("./commands/ListImportsCommand");
34
38
  const ListSourceServerActionsCommand_1 = require("./commands/ListSourceServerActionsCommand");
35
39
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
36
40
  const ListTemplateActionsCommand_1 = require("./commands/ListTemplateActionsCommand");
@@ -42,6 +46,8 @@ const RemoveSourceServerActionCommand_1 = require("./commands/RemoveSourceServer
42
46
  const RemoveTemplateActionCommand_1 = require("./commands/RemoveTemplateActionCommand");
43
47
  const RetryDataReplicationCommand_1 = require("./commands/RetryDataReplicationCommand");
44
48
  const StartCutoverCommand_1 = require("./commands/StartCutoverCommand");
49
+ const StartExportCommand_1 = require("./commands/StartExportCommand");
50
+ const StartImportCommand_1 = require("./commands/StartImportCommand");
45
51
  const StartReplicationCommand_1 = require("./commands/StartReplicationCommand");
46
52
  const StartTestCommand_1 = require("./commands/StartTestCommand");
47
53
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
@@ -478,6 +484,62 @@ class Mgn extends MgnClient_1.MgnClient {
478
484
  return this.send(command, optionsOrCb);
479
485
  }
480
486
  }
487
+ listExportErrors(args, optionsOrCb, cb) {
488
+ const command = new ListExportErrorsCommand_1.ListExportErrorsCommand(args);
489
+ if (typeof optionsOrCb === "function") {
490
+ this.send(command, optionsOrCb);
491
+ }
492
+ else if (typeof cb === "function") {
493
+ if (typeof optionsOrCb !== "object")
494
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
495
+ this.send(command, optionsOrCb || {}, cb);
496
+ }
497
+ else {
498
+ return this.send(command, optionsOrCb);
499
+ }
500
+ }
501
+ listExports(args, optionsOrCb, cb) {
502
+ const command = new ListExportsCommand_1.ListExportsCommand(args);
503
+ if (typeof optionsOrCb === "function") {
504
+ this.send(command, optionsOrCb);
505
+ }
506
+ else if (typeof cb === "function") {
507
+ if (typeof optionsOrCb !== "object")
508
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
509
+ this.send(command, optionsOrCb || {}, cb);
510
+ }
511
+ else {
512
+ return this.send(command, optionsOrCb);
513
+ }
514
+ }
515
+ listImportErrors(args, optionsOrCb, cb) {
516
+ const command = new ListImportErrorsCommand_1.ListImportErrorsCommand(args);
517
+ if (typeof optionsOrCb === "function") {
518
+ this.send(command, optionsOrCb);
519
+ }
520
+ else if (typeof cb === "function") {
521
+ if (typeof optionsOrCb !== "object")
522
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
523
+ this.send(command, optionsOrCb || {}, cb);
524
+ }
525
+ else {
526
+ return this.send(command, optionsOrCb);
527
+ }
528
+ }
529
+ listImports(args, optionsOrCb, cb) {
530
+ const command = new ListImportsCommand_1.ListImportsCommand(args);
531
+ if (typeof optionsOrCb === "function") {
532
+ this.send(command, optionsOrCb);
533
+ }
534
+ else if (typeof cb === "function") {
535
+ if (typeof optionsOrCb !== "object")
536
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
537
+ this.send(command, optionsOrCb || {}, cb);
538
+ }
539
+ else {
540
+ return this.send(command, optionsOrCb);
541
+ }
542
+ }
481
543
  listSourceServerActions(args, optionsOrCb, cb) {
482
544
  const command = new ListSourceServerActionsCommand_1.ListSourceServerActionsCommand(args);
483
545
  if (typeof optionsOrCb === "function") {
@@ -632,6 +694,34 @@ class Mgn extends MgnClient_1.MgnClient {
632
694
  return this.send(command, optionsOrCb);
633
695
  }
634
696
  }
697
+ startExport(args, optionsOrCb, cb) {
698
+ const command = new StartExportCommand_1.StartExportCommand(args);
699
+ if (typeof optionsOrCb === "function") {
700
+ this.send(command, optionsOrCb);
701
+ }
702
+ else if (typeof cb === "function") {
703
+ if (typeof optionsOrCb !== "object")
704
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
705
+ this.send(command, optionsOrCb || {}, cb);
706
+ }
707
+ else {
708
+ return this.send(command, optionsOrCb);
709
+ }
710
+ }
711
+ startImport(args, optionsOrCb, cb) {
712
+ const command = new StartImportCommand_1.StartImportCommand(args);
713
+ if (typeof optionsOrCb === "function") {
714
+ this.send(command, optionsOrCb);
715
+ }
716
+ else if (typeof cb === "function") {
717
+ if (typeof optionsOrCb !== "object")
718
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
719
+ this.send(command, optionsOrCb || {}, cb);
720
+ }
721
+ else {
722
+ return this.send(command, optionsOrCb);
723
+ }
724
+ }
635
725
  startReplication(args, optionsOrCb, cb) {
636
726
  const command = new StartReplicationCommand_1.StartReplicationCommand(args);
637
727
  if (typeof optionsOrCb === "function") {
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class ArchiveApplicationCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class ArchiveApplicationCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ArchiveApplicationCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class ArchiveWaveCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class ArchiveWaveCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ArchiveWaveCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class AssociateApplicationsCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class AssociateApplicationsCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateApplicationsCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class AssociateSourceServersCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class AssociateSourceServersCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateSourceServersCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class ChangeServerLifeCycleStateCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class ChangeServerLifeCycleStateCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ChangeServerLifeCycleStateCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class CreateApplicationCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class CreateApplicationCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateApplicationCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class CreateLaunchConfigurationTemplateCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class CreateLaunchConfigurationTemplateCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateLaunchConfigurationTemplateCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class CreateReplicationConfigurationTemplateCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class CreateReplicationConfigurationTemplateCommand extends smithy_client_1.Comm
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateReplicationConfigurationTemplateCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class CreateWaveCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class CreateWaveCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateWaveCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class DeleteApplicationCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class DeleteApplicationCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteApplicationCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class DeleteJobCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class DeleteJobCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteJobCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class DeleteLaunchConfigurationTemplateCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class DeleteLaunchConfigurationTemplateCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteLaunchConfigurationTemplateCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class DeleteReplicationConfigurationTemplateCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class DeleteReplicationConfigurationTemplateCommand extends smithy_client_1.Comm
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteReplicationConfigurationTemplateCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class DeleteSourceServerCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class DeleteSourceServerCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteSourceServerCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class DeleteVcenterClientCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class DeleteVcenterClientCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteVcenterClientCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class DeleteWaveCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class DeleteWaveCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteWaveCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class DescribeJobLogItemsCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class DescribeJobLogItemsCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeJobLogItemsCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class DescribeJobsCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class DescribeJobsCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeJobsCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class DescribeLaunchConfigurationTemplatesCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class DescribeLaunchConfigurationTemplatesCommand extends smithy_client_1.Comman
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeLaunchConfigurationTemplatesCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class DescribeReplicationConfigurationTemplatesCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class DescribeReplicationConfigurationTemplatesCommand extends smithy_client_1.C
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeReplicationConfigurationTemplatesCommand.getEndpointParameterInstructions()));