@aws-sdk/client-mgn 3.295.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 (66) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/Mgn.js +90 -0
  3. package/dist-cjs/commands/ListExportErrorsCommand.js +46 -0
  4. package/dist-cjs/commands/ListExportsCommand.js +46 -0
  5. package/dist-cjs/commands/ListImportErrorsCommand.js +46 -0
  6. package/dist-cjs/commands/ListImportsCommand.js +46 -0
  7. package/dist-cjs/commands/StartExportCommand.js +46 -0
  8. package/dist-cjs/commands/StartImportCommand.js +46 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/endpoint/ruleset.js +3 -3
  11. package/dist-cjs/models/models_0.js +191 -8
  12. package/dist-cjs/pagination/ListExportErrorsPaginator.js +29 -0
  13. package/dist-cjs/pagination/ListExportsPaginator.js +29 -0
  14. package/dist-cjs/pagination/ListImportErrorsPaginator.js +29 -0
  15. package/dist-cjs/pagination/ListImportsPaginator.js +29 -0
  16. package/dist-cjs/pagination/index.js +4 -0
  17. package/dist-cjs/protocols/Aws_restJson1.js +676 -3
  18. package/dist-es/Mgn.js +90 -0
  19. package/dist-es/commands/ListExportErrorsCommand.js +42 -0
  20. package/dist-es/commands/ListExportsCommand.js +42 -0
  21. package/dist-es/commands/ListImportErrorsCommand.js +42 -0
  22. package/dist-es/commands/ListImportsCommand.js +42 -0
  23. package/dist-es/commands/StartExportCommand.js +42 -0
  24. package/dist-es/commands/StartImportCommand.js +42 -0
  25. package/dist-es/commands/index.js +6 -0
  26. package/dist-es/endpoint/ruleset.js +3 -3
  27. package/dist-es/models/models_0.js +157 -2
  28. package/dist-es/pagination/ListExportErrorsPaginator.js +25 -0
  29. package/dist-es/pagination/ListExportsPaginator.js +25 -0
  30. package/dist-es/pagination/ListImportErrorsPaginator.js +25 -0
  31. package/dist-es/pagination/ListImportsPaginator.js +25 -0
  32. package/dist-es/pagination/index.js +4 -0
  33. package/dist-es/protocols/Aws_restJson1.js +663 -2
  34. package/dist-types/Mgn.d.ts +42 -0
  35. package/dist-types/MgnClient.d.ts +8 -2
  36. package/dist-types/commands/ListExportErrorsCommand.d.ts +50 -0
  37. package/dist-types/commands/ListExportsCommand.d.ts +47 -0
  38. package/dist-types/commands/ListImportErrorsCommand.d.ts +50 -0
  39. package/dist-types/commands/ListImportsCommand.d.ts +50 -0
  40. package/dist-types/commands/StartExportCommand.d.ts +53 -0
  41. package/dist-types/commands/StartImportCommand.d.ts +59 -0
  42. package/dist-types/commands/index.d.ts +6 -0
  43. package/dist-types/models/models_0.d.ts +641 -4
  44. package/dist-types/pagination/ListExportErrorsPaginator.d.ts +4 -0
  45. package/dist-types/pagination/ListExportsPaginator.d.ts +4 -0
  46. package/dist-types/pagination/ListImportErrorsPaginator.d.ts +4 -0
  47. package/dist-types/pagination/ListImportsPaginator.d.ts +4 -0
  48. package/dist-types/pagination/index.d.ts +4 -0
  49. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  50. package/dist-types/ts3.4/Mgn.d.ts +102 -0
  51. package/dist-types/ts3.4/MgnClient.d.ts +36 -0
  52. package/dist-types/ts3.4/commands/ListExportErrorsCommand.d.ts +37 -0
  53. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +34 -0
  54. package/dist-types/ts3.4/commands/ListImportErrorsCommand.d.ts +37 -0
  55. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +34 -0
  56. package/dist-types/ts3.4/commands/StartExportCommand.d.ts +34 -0
  57. package/dist-types/ts3.4/commands/StartImportCommand.d.ts +34 -0
  58. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  59. package/dist-types/ts3.4/models/models_0.d.ts +268 -5
  60. package/dist-types/ts3.4/pagination/ListExportErrorsPaginator.d.ts +11 -0
  61. package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/ListImportErrorsPaginator.d.ts +11 -0
  63. package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +11 -0
  64. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  65. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  66. package/package.json +32 -30
package/dist-es/Mgn.js CHANGED
@@ -28,6 +28,10 @@ import { GetLaunchConfigurationCommand, } from "./commands/GetLaunchConfiguratio
28
28
  import { GetReplicationConfigurationCommand, } from "./commands/GetReplicationConfigurationCommand";
29
29
  import { InitializeServiceCommand, } from "./commands/InitializeServiceCommand";
30
30
  import { ListApplicationsCommand, } from "./commands/ListApplicationsCommand";
31
+ import { ListExportErrorsCommand, } from "./commands/ListExportErrorsCommand";
32
+ import { ListExportsCommand } from "./commands/ListExportsCommand";
33
+ import { ListImportErrorsCommand, } from "./commands/ListImportErrorsCommand";
34
+ import { ListImportsCommand } from "./commands/ListImportsCommand";
31
35
  import { ListSourceServerActionsCommand, } from "./commands/ListSourceServerActionsCommand";
32
36
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
33
37
  import { ListTemplateActionsCommand, } from "./commands/ListTemplateActionsCommand";
@@ -39,6 +43,8 @@ import { RemoveSourceServerActionCommand, } from "./commands/RemoveSourceServerA
39
43
  import { RemoveTemplateActionCommand, } from "./commands/RemoveTemplateActionCommand";
40
44
  import { RetryDataReplicationCommand, } from "./commands/RetryDataReplicationCommand";
41
45
  import { StartCutoverCommand, } from "./commands/StartCutoverCommand";
46
+ import { StartExportCommand } from "./commands/StartExportCommand";
47
+ import { StartImportCommand } from "./commands/StartImportCommand";
42
48
  import { StartReplicationCommand, } from "./commands/StartReplicationCommand";
43
49
  import { StartTestCommand } from "./commands/StartTestCommand";
44
50
  import { TagResourceCommand } from "./commands/TagResourceCommand";
@@ -475,6 +481,62 @@ export class Mgn extends MgnClient {
475
481
  return this.send(command, optionsOrCb);
476
482
  }
477
483
  }
484
+ listExportErrors(args, optionsOrCb, cb) {
485
+ const command = new ListExportErrorsCommand(args);
486
+ if (typeof optionsOrCb === "function") {
487
+ this.send(command, optionsOrCb);
488
+ }
489
+ else if (typeof cb === "function") {
490
+ if (typeof optionsOrCb !== "object")
491
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
492
+ this.send(command, optionsOrCb || {}, cb);
493
+ }
494
+ else {
495
+ return this.send(command, optionsOrCb);
496
+ }
497
+ }
498
+ listExports(args, optionsOrCb, cb) {
499
+ const command = new ListExportsCommand(args);
500
+ if (typeof optionsOrCb === "function") {
501
+ this.send(command, optionsOrCb);
502
+ }
503
+ else if (typeof cb === "function") {
504
+ if (typeof optionsOrCb !== "object")
505
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
506
+ this.send(command, optionsOrCb || {}, cb);
507
+ }
508
+ else {
509
+ return this.send(command, optionsOrCb);
510
+ }
511
+ }
512
+ listImportErrors(args, optionsOrCb, cb) {
513
+ const command = new ListImportErrorsCommand(args);
514
+ if (typeof optionsOrCb === "function") {
515
+ this.send(command, optionsOrCb);
516
+ }
517
+ else if (typeof cb === "function") {
518
+ if (typeof optionsOrCb !== "object")
519
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
520
+ this.send(command, optionsOrCb || {}, cb);
521
+ }
522
+ else {
523
+ return this.send(command, optionsOrCb);
524
+ }
525
+ }
526
+ listImports(args, optionsOrCb, cb) {
527
+ const command = new ListImportsCommand(args);
528
+ if (typeof optionsOrCb === "function") {
529
+ this.send(command, optionsOrCb);
530
+ }
531
+ else if (typeof cb === "function") {
532
+ if (typeof optionsOrCb !== "object")
533
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
534
+ this.send(command, optionsOrCb || {}, cb);
535
+ }
536
+ else {
537
+ return this.send(command, optionsOrCb);
538
+ }
539
+ }
478
540
  listSourceServerActions(args, optionsOrCb, cb) {
479
541
  const command = new ListSourceServerActionsCommand(args);
480
542
  if (typeof optionsOrCb === "function") {
@@ -629,6 +691,34 @@ export class Mgn extends MgnClient {
629
691
  return this.send(command, optionsOrCb);
630
692
  }
631
693
  }
694
+ startExport(args, optionsOrCb, cb) {
695
+ const command = new StartExportCommand(args);
696
+ if (typeof optionsOrCb === "function") {
697
+ this.send(command, optionsOrCb);
698
+ }
699
+ else if (typeof cb === "function") {
700
+ if (typeof optionsOrCb !== "object")
701
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
702
+ this.send(command, optionsOrCb || {}, cb);
703
+ }
704
+ else {
705
+ return this.send(command, optionsOrCb);
706
+ }
707
+ }
708
+ startImport(args, optionsOrCb, cb) {
709
+ const command = new StartImportCommand(args);
710
+ if (typeof optionsOrCb === "function") {
711
+ this.send(command, optionsOrCb);
712
+ }
713
+ else if (typeof cb === "function") {
714
+ if (typeof optionsOrCb !== "object")
715
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
716
+ this.send(command, optionsOrCb || {}, cb);
717
+ }
718
+ else {
719
+ return this.send(command, optionsOrCb);
720
+ }
721
+ }
632
722
  startReplication(args, optionsOrCb, cb) {
633
723
  const command = new StartReplicationCommand(args);
634
724
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListExportErrorsRequestFilterSensitiveLog, ListExportErrorsResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListExportErrorsCommand, serializeAws_restJson1ListExportErrorsCommand, } from "../protocols/Aws_restJson1";
6
+ export class ListExportErrorsCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListExportErrorsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "MgnClient";
25
+ const commandName = "ListExportErrorsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: ListExportErrorsRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: ListExportErrorsResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1ListExportErrorsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1ListExportErrorsCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListExportsRequestFilterSensitiveLog, ListExportsResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListExportsCommand, serializeAws_restJson1ListExportsCommand, } from "../protocols/Aws_restJson1";
6
+ export class ListExportsCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListExportsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "MgnClient";
25
+ const commandName = "ListExportsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: ListExportsRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: ListExportsResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1ListExportsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1ListExportsCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListImportErrorsRequestFilterSensitiveLog, ListImportErrorsResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListImportErrorsCommand, serializeAws_restJson1ListImportErrorsCommand, } from "../protocols/Aws_restJson1";
6
+ export class ListImportErrorsCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListImportErrorsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "MgnClient";
25
+ const commandName = "ListImportErrorsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: ListImportErrorsRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: ListImportErrorsResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1ListImportErrorsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1ListImportErrorsCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListImportsRequestFilterSensitiveLog, ListImportsResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListImportsCommand, serializeAws_restJson1ListImportsCommand, } from "../protocols/Aws_restJson1";
6
+ export class ListImportsCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListImportsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "MgnClient";
25
+ const commandName = "ListImportsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: ListImportsRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: ListImportsResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1ListImportsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1ListImportsCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { StartExportRequestFilterSensitiveLog, StartExportResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1StartExportCommand, serializeAws_restJson1StartExportCommand, } from "../protocols/Aws_restJson1";
6
+ export class StartExportCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, StartExportCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "MgnClient";
25
+ const commandName = "StartExportCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: StartExportRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: StartExportResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1StartExportCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1StartExportCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { StartImportRequestFilterSensitiveLog, StartImportResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1StartImportCommand, serializeAws_restJson1StartImportCommand, } from "../protocols/Aws_restJson1";
6
+ export class StartImportCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, StartImportCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "MgnClient";
25
+ const commandName = "StartImportCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: StartImportRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: StartImportResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1StartImportCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1StartImportCommand(output, context);
41
+ }
42
+ }
@@ -28,6 +28,10 @@ export * from "./GetLaunchConfigurationCommand";
28
28
  export * from "./GetReplicationConfigurationCommand";
29
29
  export * from "./InitializeServiceCommand";
30
30
  export * from "./ListApplicationsCommand";
31
+ export * from "./ListExportErrorsCommand";
32
+ export * from "./ListExportsCommand";
33
+ export * from "./ListImportErrorsCommand";
34
+ export * from "./ListImportsCommand";
31
35
  export * from "./ListSourceServerActionsCommand";
32
36
  export * from "./ListTagsForResourceCommand";
33
37
  export * from "./ListTemplateActionsCommand";
@@ -39,6 +43,8 @@ export * from "./RemoveSourceServerActionCommand";
39
43
  export * from "./RemoveTemplateActionCommand";
40
44
  export * from "./RetryDataReplicationCommand";
41
45
  export * from "./StartCutoverCommand";
46
+ export * from "./StartExportCommand";
47
+ export * from "./StartImportCommand";
42
48
  export * from "./StartReplicationCommand";
43
49
  export * from "./StartTestCommand";
44
50
  export * from "./TagResourceCommand";
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://mgn-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://mgn-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://mgn.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://mgn.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://mgn-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://mgn-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://mgn.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://mgn.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;