@aws-sdk/client-mgn 3.1008.0 → 3.1010.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 (137) hide show
  1. package/README.md +201 -46
  2. package/dist-cjs/index.js +537 -0
  3. package/dist-cjs/schemas/schemas_0.js +848 -35
  4. package/dist-es/Mgn.js +76 -0
  5. package/dist-es/commands/CreateNetworkMigrationDefinitionCommand.js +16 -0
  6. package/dist-es/commands/DeleteNetworkMigrationDefinitionCommand.js +16 -0
  7. package/dist-es/commands/GetNetworkMigrationDefinitionCommand.js +16 -0
  8. package/dist-es/commands/GetNetworkMigrationMapperSegmentConstructCommand.js +16 -0
  9. package/dist-es/commands/ListImportFileEnrichmentsCommand.js +16 -0
  10. package/dist-es/commands/ListNetworkMigrationAnalysesCommand.js +16 -0
  11. package/dist-es/commands/ListNetworkMigrationAnalysisResultsCommand.js +16 -0
  12. package/dist-es/commands/ListNetworkMigrationCodeGenerationSegmentsCommand.js +16 -0
  13. package/dist-es/commands/ListNetworkMigrationCodeGenerationsCommand.js +16 -0
  14. package/dist-es/commands/ListNetworkMigrationDefinitionsCommand.js +16 -0
  15. package/dist-es/commands/ListNetworkMigrationDeployedStacksCommand.js +16 -0
  16. package/dist-es/commands/ListNetworkMigrationDeploymentsCommand.js +16 -0
  17. package/dist-es/commands/ListNetworkMigrationExecutionsCommand.js +16 -0
  18. package/dist-es/commands/ListNetworkMigrationMapperSegmentConstructsCommand.js +16 -0
  19. package/dist-es/commands/ListNetworkMigrationMapperSegmentsCommand.js +16 -0
  20. package/dist-es/commands/ListNetworkMigrationMappingUpdatesCommand.js +16 -0
  21. package/dist-es/commands/ListNetworkMigrationMappingsCommand.js +16 -0
  22. package/dist-es/commands/StartImportFileEnrichmentCommand.js +16 -0
  23. package/dist-es/commands/StartNetworkMigrationAnalysisCommand.js +16 -0
  24. package/dist-es/commands/StartNetworkMigrationCodeGenerationCommand.js +16 -0
  25. package/dist-es/commands/StartNetworkMigrationDeploymentCommand.js +16 -0
  26. package/dist-es/commands/StartNetworkMigrationMappingCommand.js +16 -0
  27. package/dist-es/commands/StartNetworkMigrationMappingUpdateCommand.js +16 -0
  28. package/dist-es/commands/UpdateNetworkMigrationDefinitionCommand.js +16 -0
  29. package/dist-es/commands/UpdateNetworkMigrationMapperSegmentCommand.js +16 -0
  30. package/dist-es/commands/index.js +25 -0
  31. package/dist-es/models/enums.js +114 -0
  32. package/dist-es/pagination/ListImportFileEnrichmentsPaginator.js +4 -0
  33. package/dist-es/pagination/ListNetworkMigrationAnalysesPaginator.js +4 -0
  34. package/dist-es/pagination/ListNetworkMigrationAnalysisResultsPaginator.js +4 -0
  35. package/dist-es/pagination/ListNetworkMigrationCodeGenerationSegmentsPaginator.js +4 -0
  36. package/dist-es/pagination/ListNetworkMigrationCodeGenerationsPaginator.js +4 -0
  37. package/dist-es/pagination/ListNetworkMigrationDefinitionsPaginator.js +4 -0
  38. package/dist-es/pagination/ListNetworkMigrationDeployedStacksPaginator.js +4 -0
  39. package/dist-es/pagination/ListNetworkMigrationDeploymentsPaginator.js +4 -0
  40. package/dist-es/pagination/ListNetworkMigrationExecutionsPaginator.js +4 -0
  41. package/dist-es/pagination/ListNetworkMigrationMapperSegmentConstructsPaginator.js +4 -0
  42. package/dist-es/pagination/ListNetworkMigrationMapperSegmentsPaginator.js +4 -0
  43. package/dist-es/pagination/ListNetworkMigrationMappingUpdatesPaginator.js +4 -0
  44. package/dist-es/pagination/ListNetworkMigrationMappingsPaginator.js +4 -0
  45. package/dist-es/pagination/index.js +13 -0
  46. package/dist-es/schemas/schemas_0.js +840 -29
  47. package/dist-types/Mgn.d.ts +268 -0
  48. package/dist-types/MgnClient.d.ts +27 -2
  49. package/dist-types/commands/CreateNetworkMigrationDefinitionCommand.d.ts +198 -0
  50. package/dist-types/commands/DeleteNetworkMigrationDefinitionCommand.d.ts +94 -0
  51. package/dist-types/commands/GetNetworkMigrationDefinitionCommand.d.ts +150 -0
  52. package/dist-types/commands/GetNetworkMigrationMapperSegmentConstructCommand.d.ts +128 -0
  53. package/dist-types/commands/ListImportFileEnrichmentsCommand.d.ts +135 -0
  54. package/dist-types/commands/ListNetworkMigrationAnalysesCommand.d.ts +132 -0
  55. package/dist-types/commands/ListNetworkMigrationAnalysisResultsCommand.d.ts +146 -0
  56. package/dist-types/commands/ListNetworkMigrationCodeGenerationSegmentsCommand.d.ts +170 -0
  57. package/dist-types/commands/ListNetworkMigrationCodeGenerationsCommand.d.ts +138 -0
  58. package/dist-types/commands/ListNetworkMigrationDefinitionsCommand.d.ts +123 -0
  59. package/dist-types/commands/ListNetworkMigrationDeployedStacksCommand.d.ts +131 -0
  60. package/dist-types/commands/ListNetworkMigrationDeploymentsCommand.d.ts +132 -0
  61. package/dist-types/commands/ListNetworkMigrationExecutionsCommand.d.ts +131 -0
  62. package/dist-types/commands/ListNetworkMigrationMapperSegmentConstructsCommand.d.ts +173 -0
  63. package/dist-types/commands/ListNetworkMigrationMapperSegmentsCommand.d.ts +163 -0
  64. package/dist-types/commands/ListNetworkMigrationMappingUpdatesCommand.d.ts +132 -0
  65. package/dist-types/commands/ListNetworkMigrationMappingsCommand.d.ts +132 -0
  66. package/dist-types/commands/StartImportFileEnrichmentCommand.d.ts +125 -0
  67. package/dist-types/commands/StartNetworkMigrationAnalysisCommand.d.ts +109 -0
  68. package/dist-types/commands/StartNetworkMigrationCodeGenerationCommand.d.ts +112 -0
  69. package/dist-types/commands/StartNetworkMigrationDeploymentCommand.d.ts +109 -0
  70. package/dist-types/commands/StartNetworkMigrationMappingCommand.d.ts +110 -0
  71. package/dist-types/commands/StartNetworkMigrationMappingUpdateCommand.d.ts +156 -0
  72. package/dist-types/commands/UpdateNetworkMigrationDefinitionCommand.d.ts +199 -0
  73. package/dist-types/commands/UpdateNetworkMigrationMapperSegmentCommand.d.ts +148 -0
  74. package/dist-types/commands/index.d.ts +25 -0
  75. package/dist-types/models/enums.d.ts +282 -0
  76. package/dist-types/models/models_0.d.ts +2137 -22
  77. package/dist-types/pagination/ListImportFileEnrichmentsPaginator.d.ts +7 -0
  78. package/dist-types/pagination/ListNetworkMigrationAnalysesPaginator.d.ts +7 -0
  79. package/dist-types/pagination/ListNetworkMigrationAnalysisResultsPaginator.d.ts +7 -0
  80. package/dist-types/pagination/ListNetworkMigrationCodeGenerationSegmentsPaginator.d.ts +7 -0
  81. package/dist-types/pagination/ListNetworkMigrationCodeGenerationsPaginator.d.ts +7 -0
  82. package/dist-types/pagination/ListNetworkMigrationDefinitionsPaginator.d.ts +7 -0
  83. package/dist-types/pagination/ListNetworkMigrationDeployedStacksPaginator.d.ts +7 -0
  84. package/dist-types/pagination/ListNetworkMigrationDeploymentsPaginator.d.ts +7 -0
  85. package/dist-types/pagination/ListNetworkMigrationExecutionsPaginator.d.ts +7 -0
  86. package/dist-types/pagination/ListNetworkMigrationMapperSegmentConstructsPaginator.d.ts +7 -0
  87. package/dist-types/pagination/ListNetworkMigrationMapperSegmentsPaginator.d.ts +7 -0
  88. package/dist-types/pagination/ListNetworkMigrationMappingUpdatesPaginator.d.ts +7 -0
  89. package/dist-types/pagination/ListNetworkMigrationMappingsPaginator.d.ts +7 -0
  90. package/dist-types/pagination/index.d.ts +13 -0
  91. package/dist-types/schemas/schemas_0.d.ts +116 -0
  92. package/dist-types/ts3.4/Mgn.d.ts +584 -0
  93. package/dist-types/ts3.4/MgnClient.d.ts +150 -0
  94. package/dist-types/ts3.4/commands/CreateNetworkMigrationDefinitionCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/DeleteNetworkMigrationDefinitionCommand.d.ts +51 -0
  96. package/dist-types/ts3.4/commands/GetNetworkMigrationDefinitionCommand.d.ts +51 -0
  97. package/dist-types/ts3.4/commands/GetNetworkMigrationMapperSegmentConstructCommand.d.ts +51 -0
  98. package/dist-types/ts3.4/commands/ListImportFileEnrichmentsCommand.d.ts +51 -0
  99. package/dist-types/ts3.4/commands/ListNetworkMigrationAnalysesCommand.d.ts +51 -0
  100. package/dist-types/ts3.4/commands/ListNetworkMigrationAnalysisResultsCommand.d.ts +51 -0
  101. package/dist-types/ts3.4/commands/ListNetworkMigrationCodeGenerationSegmentsCommand.d.ts +51 -0
  102. package/dist-types/ts3.4/commands/ListNetworkMigrationCodeGenerationsCommand.d.ts +51 -0
  103. package/dist-types/ts3.4/commands/ListNetworkMigrationDefinitionsCommand.d.ts +51 -0
  104. package/dist-types/ts3.4/commands/ListNetworkMigrationDeployedStacksCommand.d.ts +51 -0
  105. package/dist-types/ts3.4/commands/ListNetworkMigrationDeploymentsCommand.d.ts +51 -0
  106. package/dist-types/ts3.4/commands/ListNetworkMigrationExecutionsCommand.d.ts +51 -0
  107. package/dist-types/ts3.4/commands/ListNetworkMigrationMapperSegmentConstructsCommand.d.ts +51 -0
  108. package/dist-types/ts3.4/commands/ListNetworkMigrationMapperSegmentsCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/ListNetworkMigrationMappingUpdatesCommand.d.ts +51 -0
  110. package/dist-types/ts3.4/commands/ListNetworkMigrationMappingsCommand.d.ts +51 -0
  111. package/dist-types/ts3.4/commands/StartImportFileEnrichmentCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/StartNetworkMigrationAnalysisCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/StartNetworkMigrationCodeGenerationCommand.d.ts +51 -0
  114. package/dist-types/ts3.4/commands/StartNetworkMigrationDeploymentCommand.d.ts +51 -0
  115. package/dist-types/ts3.4/commands/StartNetworkMigrationMappingCommand.d.ts +51 -0
  116. package/dist-types/ts3.4/commands/StartNetworkMigrationMappingUpdateCommand.d.ts +51 -0
  117. package/dist-types/ts3.4/commands/UpdateNetworkMigrationDefinitionCommand.d.ts +51 -0
  118. package/dist-types/ts3.4/commands/UpdateNetworkMigrationMapperSegmentCommand.d.ts +51 -0
  119. package/dist-types/ts3.4/commands/index.d.ts +25 -0
  120. package/dist-types/ts3.4/models/enums.d.ts +155 -0
  121. package/dist-types/ts3.4/models/models_0.d.ts +544 -0
  122. package/dist-types/ts3.4/pagination/ListImportFileEnrichmentsPaginator.d.ts +11 -0
  123. package/dist-types/ts3.4/pagination/ListNetworkMigrationAnalysesPaginator.d.ts +11 -0
  124. package/dist-types/ts3.4/pagination/ListNetworkMigrationAnalysisResultsPaginator.d.ts +11 -0
  125. package/dist-types/ts3.4/pagination/ListNetworkMigrationCodeGenerationSegmentsPaginator.d.ts +11 -0
  126. package/dist-types/ts3.4/pagination/ListNetworkMigrationCodeGenerationsPaginator.d.ts +11 -0
  127. package/dist-types/ts3.4/pagination/ListNetworkMigrationDefinitionsPaginator.d.ts +11 -0
  128. package/dist-types/ts3.4/pagination/ListNetworkMigrationDeployedStacksPaginator.d.ts +11 -0
  129. package/dist-types/ts3.4/pagination/ListNetworkMigrationDeploymentsPaginator.d.ts +11 -0
  130. package/dist-types/ts3.4/pagination/ListNetworkMigrationExecutionsPaginator.d.ts +11 -0
  131. package/dist-types/ts3.4/pagination/ListNetworkMigrationMapperSegmentConstructsPaginator.d.ts +11 -0
  132. package/dist-types/ts3.4/pagination/ListNetworkMigrationMapperSegmentsPaginator.d.ts +11 -0
  133. package/dist-types/ts3.4/pagination/ListNetworkMigrationMappingUpdatesPaginator.d.ts +11 -0
  134. package/dist-types/ts3.4/pagination/ListNetworkMigrationMappingsPaginator.d.ts +11 -0
  135. package/dist-types/ts3.4/pagination/index.d.ts +13 -0
  136. package/dist-types/ts3.4/schemas/schemas_0.d.ts +116 -0
  137. package/package.json +33 -33
@@ -0,0 +1,125 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
4
+ import type { StartImportFileEnrichmentRequest, StartImportFileEnrichmentResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartImportFileEnrichmentCommand}.
14
+ */
15
+ export interface StartImportFileEnrichmentCommandInput extends StartImportFileEnrichmentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartImportFileEnrichmentCommand}.
21
+ */
22
+ export interface StartImportFileEnrichmentCommandOutput extends StartImportFileEnrichmentResponse, __MetadataBearer {
23
+ }
24
+ declare const StartImportFileEnrichmentCommand_base: {
25
+ new (input: StartImportFileEnrichmentCommandInput): import("@smithy/smithy-client").CommandImpl<StartImportFileEnrichmentCommandInput, StartImportFileEnrichmentCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartImportFileEnrichmentCommandInput): import("@smithy/smithy-client").CommandImpl<StartImportFileEnrichmentCommandInput, StartImportFileEnrichmentCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Starts an import file enrichment job to process and enrich network migration import files with additional metadata and IP assignment strategies.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MgnClient, StartImportFileEnrichmentCommand } from "@aws-sdk/client-mgn"; // ES Modules import
35
+ * // const { MgnClient, StartImportFileEnrichmentCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
36
+ * // import type { MgnClientConfig } from "@aws-sdk/client-mgn";
37
+ * const config = {}; // type is MgnClientConfig
38
+ * const client = new MgnClient(config);
39
+ * const input = { // StartImportFileEnrichmentRequest
40
+ * clientToken: "STRING_VALUE",
41
+ * s3BucketSource: { // EnrichmentSourceS3Configuration
42
+ * s3Bucket: "STRING_VALUE", // required
43
+ * s3BucketOwner: "STRING_VALUE", // required
44
+ * s3Key: "STRING_VALUE", // required
45
+ * },
46
+ * s3BucketTarget: { // EnrichmentTargetS3Configuration
47
+ * s3Bucket: "STRING_VALUE", // required
48
+ * s3BucketOwner: "STRING_VALUE", // required
49
+ * s3Key: "STRING_VALUE", // required
50
+ * },
51
+ * ipAssignmentStrategy: "STRING_VALUE",
52
+ * };
53
+ * const command = new StartImportFileEnrichmentCommand(input);
54
+ * const response = await client.send(command);
55
+ * // { // StartImportFileEnrichmentResponse
56
+ * // jobID: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param StartImportFileEnrichmentCommandInput - {@link StartImportFileEnrichmentCommandInput}
62
+ * @returns {@link StartImportFileEnrichmentCommandOutput}
63
+ * @see {@link StartImportFileEnrichmentCommandInput} for command's `input` shape.
64
+ * @see {@link StartImportFileEnrichmentCommandOutput} for command's `response` shape.
65
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>Operating denied due to a file permission or access check error.</p>
69
+ *
70
+ * @throws {@link ConflictException} (client fault)
71
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
72
+ *
73
+ * @throws {@link ServiceQuotaExceededException} (client fault)
74
+ * <p>The request could not be completed because its exceeded the service quota.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>Reached throttling quota exception.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>Validate exception.</p>
81
+ *
82
+ * @throws {@link MgnServiceException}
83
+ * <p>Base exception class for all service exceptions from Mgn service.</p>
84
+ *
85
+ *
86
+ * @example Sample StartImportFileEnrichment call
87
+ * ```javascript
88
+ * //
89
+ * const input = {
90
+ * ipAssignmentStrategy: "STATIC",
91
+ * s3BucketSource: {
92
+ * s3Bucket: "my-source-bucket",
93
+ * s3BucketOwner: "123456789012",
94
+ * s3Key: "imports/source-file.csv"
95
+ * },
96
+ * s3BucketTarget: {
97
+ * s3Bucket: "my-target-bucket",
98
+ * s3BucketOwner: "123456789012",
99
+ * s3Key: "enriched/output.csv"
100
+ * }
101
+ * };
102
+ * const command = new StartImportFileEnrichmentCommand(input);
103
+ * const response = await client.send(command);
104
+ * /* response is
105
+ * {
106
+ * jobID: "01234567-abcd-abcd-efab-0123456789ab"
107
+ * }
108
+ * *\/
109
+ * ```
110
+ *
111
+ * @public
112
+ */
113
+ export declare class StartImportFileEnrichmentCommand extends StartImportFileEnrichmentCommand_base {
114
+ /** @internal type navigation helper, not in runtime. */
115
+ protected static __types: {
116
+ api: {
117
+ input: StartImportFileEnrichmentRequest;
118
+ output: StartImportFileEnrichmentResponse;
119
+ };
120
+ sdk: {
121
+ input: StartImportFileEnrichmentCommandInput;
122
+ output: StartImportFileEnrichmentCommandOutput;
123
+ };
124
+ };
125
+ }
@@ -0,0 +1,109 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
4
+ import type { StartNetworkMigrationAnalysisRequest, StartNetworkMigrationAnalysisResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartNetworkMigrationAnalysisCommand}.
14
+ */
15
+ export interface StartNetworkMigrationAnalysisCommandInput extends StartNetworkMigrationAnalysisRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartNetworkMigrationAnalysisCommand}.
21
+ */
22
+ export interface StartNetworkMigrationAnalysisCommandOutput extends StartNetworkMigrationAnalysisResponse, __MetadataBearer {
23
+ }
24
+ declare const StartNetworkMigrationAnalysisCommand_base: {
25
+ new (input: StartNetworkMigrationAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<StartNetworkMigrationAnalysisCommandInput, StartNetworkMigrationAnalysisCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartNetworkMigrationAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<StartNetworkMigrationAnalysisCommandInput, StartNetworkMigrationAnalysisCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Starts a network migration analysis job to evaluate connectivity and compatibility of the migration mappings.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MgnClient, StartNetworkMigrationAnalysisCommand } from "@aws-sdk/client-mgn"; // ES Modules import
35
+ * // const { MgnClient, StartNetworkMigrationAnalysisCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
36
+ * // import type { MgnClientConfig } from "@aws-sdk/client-mgn";
37
+ * const config = {}; // type is MgnClientConfig
38
+ * const client = new MgnClient(config);
39
+ * const input = { // StartNetworkMigrationAnalysisRequest
40
+ * networkMigrationExecutionID: "STRING_VALUE", // required
41
+ * networkMigrationDefinitionID: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new StartNetworkMigrationAnalysisCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // StartNetworkMigrationAnalysisResponse
46
+ * // jobID: "STRING_VALUE",
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param StartNetworkMigrationAnalysisCommandInput - {@link StartNetworkMigrationAnalysisCommandInput}
52
+ * @returns {@link StartNetworkMigrationAnalysisCommandOutput}
53
+ * @see {@link StartNetworkMigrationAnalysisCommandInput} for command's `input` shape.
54
+ * @see {@link StartNetworkMigrationAnalysisCommandOutput} for command's `response` shape.
55
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>Operating denied due to a file permission or access check error.</p>
59
+ *
60
+ * @throws {@link ConflictException} (client fault)
61
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>Resource not found exception.</p>
65
+ *
66
+ * @throws {@link ServiceQuotaExceededException} (client fault)
67
+ * <p>The request could not be completed because its exceeded the service quota.</p>
68
+ *
69
+ * @throws {@link ThrottlingException} (client fault)
70
+ * <p>Reached throttling quota exception.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>Validate exception.</p>
74
+ *
75
+ * @throws {@link MgnServiceException}
76
+ * <p>Base exception class for all service exceptions from Mgn service.</p>
77
+ *
78
+ *
79
+ * @example Sample StartNetworkMigrationAnalysis call
80
+ * ```javascript
81
+ * //
82
+ * const input = {
83
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
84
+ * networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab"
85
+ * };
86
+ * const command = new StartNetworkMigrationAnalysisCommand(input);
87
+ * const response = await client.send(command);
88
+ * /* response is
89
+ * {
90
+ * jobID: "01234567-abcd-abcd-efab-0123456789ab"
91
+ * }
92
+ * *\/
93
+ * ```
94
+ *
95
+ * @public
96
+ */
97
+ export declare class StartNetworkMigrationAnalysisCommand extends StartNetworkMigrationAnalysisCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: StartNetworkMigrationAnalysisRequest;
102
+ output: StartNetworkMigrationAnalysisResponse;
103
+ };
104
+ sdk: {
105
+ input: StartNetworkMigrationAnalysisCommandInput;
106
+ output: StartNetworkMigrationAnalysisCommandOutput;
107
+ };
108
+ };
109
+ }
@@ -0,0 +1,112 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
4
+ import type { StartNetworkMigrationCodeGenerationRequest, StartNetworkMigrationCodeGenerationResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartNetworkMigrationCodeGenerationCommand}.
14
+ */
15
+ export interface StartNetworkMigrationCodeGenerationCommandInput extends StartNetworkMigrationCodeGenerationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartNetworkMigrationCodeGenerationCommand}.
21
+ */
22
+ export interface StartNetworkMigrationCodeGenerationCommandOutput extends StartNetworkMigrationCodeGenerationResponse, __MetadataBearer {
23
+ }
24
+ declare const StartNetworkMigrationCodeGenerationCommand_base: {
25
+ new (input: StartNetworkMigrationCodeGenerationCommandInput): import("@smithy/smithy-client").CommandImpl<StartNetworkMigrationCodeGenerationCommandInput, StartNetworkMigrationCodeGenerationCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartNetworkMigrationCodeGenerationCommandInput): import("@smithy/smithy-client").CommandImpl<StartNetworkMigrationCodeGenerationCommandInput, StartNetworkMigrationCodeGenerationCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Starts a code generation job to convert network migration mappings into infrastructure-as-code templates.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MgnClient, StartNetworkMigrationCodeGenerationCommand } from "@aws-sdk/client-mgn"; // ES Modules import
35
+ * // const { MgnClient, StartNetworkMigrationCodeGenerationCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
36
+ * // import type { MgnClientConfig } from "@aws-sdk/client-mgn";
37
+ * const config = {}; // type is MgnClientConfig
38
+ * const client = new MgnClient(config);
39
+ * const input = { // StartNetworkMigrationCodeGenerationRequest
40
+ * networkMigrationExecutionID: "STRING_VALUE", // required
41
+ * networkMigrationDefinitionID: "STRING_VALUE", // required
42
+ * codeGenerationOutputFormatTypes: [ // CodeGenerationOutputFormatTypes
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * };
46
+ * const command = new StartNetworkMigrationCodeGenerationCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // StartNetworkMigrationCodeGenerationResponse
49
+ * // jobID: "STRING_VALUE",
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param StartNetworkMigrationCodeGenerationCommandInput - {@link StartNetworkMigrationCodeGenerationCommandInput}
55
+ * @returns {@link StartNetworkMigrationCodeGenerationCommandOutput}
56
+ * @see {@link StartNetworkMigrationCodeGenerationCommandInput} for command's `input` shape.
57
+ * @see {@link StartNetworkMigrationCodeGenerationCommandOutput} for command's `response` shape.
58
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>Operating denied due to a file permission or access check error.</p>
62
+ *
63
+ * @throws {@link ConflictException} (client fault)
64
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>Resource not found exception.</p>
68
+ *
69
+ * @throws {@link ServiceQuotaExceededException} (client fault)
70
+ * <p>The request could not be completed because its exceeded the service quota.</p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>Reached throttling quota exception.</p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>Validate exception.</p>
77
+ *
78
+ * @throws {@link MgnServiceException}
79
+ * <p>Base exception class for all service exceptions from Mgn service.</p>
80
+ *
81
+ *
82
+ * @example Sample StartNetworkMigrationCodeGeneration call
83
+ * ```javascript
84
+ * //
85
+ * const input = {
86
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
87
+ * networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab"
88
+ * };
89
+ * const command = new StartNetworkMigrationCodeGenerationCommand(input);
90
+ * const response = await client.send(command);
91
+ * /* response is
92
+ * {
93
+ * jobID: "01234567-abcd-abcd-efab-0123456789ab"
94
+ * }
95
+ * *\/
96
+ * ```
97
+ *
98
+ * @public
99
+ */
100
+ export declare class StartNetworkMigrationCodeGenerationCommand extends StartNetworkMigrationCodeGenerationCommand_base {
101
+ /** @internal type navigation helper, not in runtime. */
102
+ protected static __types: {
103
+ api: {
104
+ input: StartNetworkMigrationCodeGenerationRequest;
105
+ output: StartNetworkMigrationCodeGenerationResponse;
106
+ };
107
+ sdk: {
108
+ input: StartNetworkMigrationCodeGenerationCommandInput;
109
+ output: StartNetworkMigrationCodeGenerationCommandOutput;
110
+ };
111
+ };
112
+ }
@@ -0,0 +1,109 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
4
+ import type { StartNetworkMigrationDeployerJobResponse, StartNetworkMigrationDeploymentRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartNetworkMigrationDeploymentCommand}.
14
+ */
15
+ export interface StartNetworkMigrationDeploymentCommandInput extends StartNetworkMigrationDeploymentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartNetworkMigrationDeploymentCommand}.
21
+ */
22
+ export interface StartNetworkMigrationDeploymentCommandOutput extends StartNetworkMigrationDeployerJobResponse, __MetadataBearer {
23
+ }
24
+ declare const StartNetworkMigrationDeploymentCommand_base: {
25
+ new (input: StartNetworkMigrationDeploymentCommandInput): import("@smithy/smithy-client").CommandImpl<StartNetworkMigrationDeploymentCommandInput, StartNetworkMigrationDeploymentCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartNetworkMigrationDeploymentCommandInput): import("@smithy/smithy-client").CommandImpl<StartNetworkMigrationDeploymentCommandInput, StartNetworkMigrationDeploymentCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Starts a deployment job to create the target network infrastructure based on the generated code templates.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MgnClient, StartNetworkMigrationDeploymentCommand } from "@aws-sdk/client-mgn"; // ES Modules import
35
+ * // const { MgnClient, StartNetworkMigrationDeploymentCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
36
+ * // import type { MgnClientConfig } from "@aws-sdk/client-mgn";
37
+ * const config = {}; // type is MgnClientConfig
38
+ * const client = new MgnClient(config);
39
+ * const input = { // StartNetworkMigrationDeploymentRequest
40
+ * networkMigrationExecutionID: "STRING_VALUE", // required
41
+ * networkMigrationDefinitionID: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new StartNetworkMigrationDeploymentCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // StartNetworkMigrationDeployerJobResponse
46
+ * // jobID: "STRING_VALUE",
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param StartNetworkMigrationDeploymentCommandInput - {@link StartNetworkMigrationDeploymentCommandInput}
52
+ * @returns {@link StartNetworkMigrationDeploymentCommandOutput}
53
+ * @see {@link StartNetworkMigrationDeploymentCommandInput} for command's `input` shape.
54
+ * @see {@link StartNetworkMigrationDeploymentCommandOutput} for command's `response` shape.
55
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>Operating denied due to a file permission or access check error.</p>
59
+ *
60
+ * @throws {@link ConflictException} (client fault)
61
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>Resource not found exception.</p>
65
+ *
66
+ * @throws {@link ServiceQuotaExceededException} (client fault)
67
+ * <p>The request could not be completed because its exceeded the service quota.</p>
68
+ *
69
+ * @throws {@link ThrottlingException} (client fault)
70
+ * <p>Reached throttling quota exception.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>Validate exception.</p>
74
+ *
75
+ * @throws {@link MgnServiceException}
76
+ * <p>Base exception class for all service exceptions from Mgn service.</p>
77
+ *
78
+ *
79
+ * @example Sample StartNetworkMigrationDeployment call
80
+ * ```javascript
81
+ * //
82
+ * const input = {
83
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
84
+ * networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab"
85
+ * };
86
+ * const command = new StartNetworkMigrationDeploymentCommand(input);
87
+ * const response = await client.send(command);
88
+ * /* response is
89
+ * {
90
+ * jobID: "01234567-abcd-abcd-efab-0123456789ab"
91
+ * }
92
+ * *\/
93
+ * ```
94
+ *
95
+ * @public
96
+ */
97
+ export declare class StartNetworkMigrationDeploymentCommand extends StartNetworkMigrationDeploymentCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: StartNetworkMigrationDeploymentRequest;
102
+ output: StartNetworkMigrationDeployerJobResponse;
103
+ };
104
+ sdk: {
105
+ input: StartNetworkMigrationDeploymentCommandInput;
106
+ output: StartNetworkMigrationDeploymentCommandOutput;
107
+ };
108
+ };
109
+ }
@@ -0,0 +1,110 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
4
+ import type { StartNetworkMigrationMappingRequest, StartNetworkMigrationMappingResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartNetworkMigrationMappingCommand}.
14
+ */
15
+ export interface StartNetworkMigrationMappingCommandInput extends StartNetworkMigrationMappingRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartNetworkMigrationMappingCommand}.
21
+ */
22
+ export interface StartNetworkMigrationMappingCommandOutput extends StartNetworkMigrationMappingResponse, __MetadataBearer {
23
+ }
24
+ declare const StartNetworkMigrationMappingCommand_base: {
25
+ new (input: StartNetworkMigrationMappingCommandInput): import("@smithy/smithy-client").CommandImpl<StartNetworkMigrationMappingCommandInput, StartNetworkMigrationMappingCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartNetworkMigrationMappingCommandInput): import("@smithy/smithy-client").CommandImpl<StartNetworkMigrationMappingCommandInput, StartNetworkMigrationMappingCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Starts the network migration mapping process for a given network migration execution.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MgnClient, StartNetworkMigrationMappingCommand } from "@aws-sdk/client-mgn"; // ES Modules import
35
+ * // const { MgnClient, StartNetworkMigrationMappingCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
36
+ * // import type { MgnClientConfig } from "@aws-sdk/client-mgn";
37
+ * const config = {}; // type is MgnClientConfig
38
+ * const client = new MgnClient(config);
39
+ * const input = { // StartNetworkMigrationMappingRequest
40
+ * networkMigrationExecutionID: "STRING_VALUE", // required
41
+ * networkMigrationDefinitionID: "STRING_VALUE", // required
42
+ * securityGroupMappingStrategy: "STRING_VALUE",
43
+ * };
44
+ * const command = new StartNetworkMigrationMappingCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // StartNetworkMigrationMappingResponse
47
+ * // jobID: "STRING_VALUE",
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param StartNetworkMigrationMappingCommandInput - {@link StartNetworkMigrationMappingCommandInput}
53
+ * @returns {@link StartNetworkMigrationMappingCommandOutput}
54
+ * @see {@link StartNetworkMigrationMappingCommandInput} for command's `input` shape.
55
+ * @see {@link StartNetworkMigrationMappingCommandOutput} for command's `response` shape.
56
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>Operating denied due to a file permission or access check error.</p>
60
+ *
61
+ * @throws {@link ConflictException} (client fault)
62
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>Resource not found exception.</p>
66
+ *
67
+ * @throws {@link ServiceQuotaExceededException} (client fault)
68
+ * <p>The request could not be completed because its exceeded the service quota.</p>
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * <p>Reached throttling quota exception.</p>
72
+ *
73
+ * @throws {@link ValidationException} (client fault)
74
+ * <p>Validate exception.</p>
75
+ *
76
+ * @throws {@link MgnServiceException}
77
+ * <p>Base exception class for all service exceptions from Mgn service.</p>
78
+ *
79
+ *
80
+ * @example Sample StartNetworkMigrationMapping call
81
+ * ```javascript
82
+ * //
83
+ * const input = {
84
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
85
+ * networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab"
86
+ * };
87
+ * const command = new StartNetworkMigrationMappingCommand(input);
88
+ * const response = await client.send(command);
89
+ * /* response is
90
+ * {
91
+ * jobID: "01234567-abcd-abcd-efab-0123456789ab"
92
+ * }
93
+ * *\/
94
+ * ```
95
+ *
96
+ * @public
97
+ */
98
+ export declare class StartNetworkMigrationMappingCommand extends StartNetworkMigrationMappingCommand_base {
99
+ /** @internal type navigation helper, not in runtime. */
100
+ protected static __types: {
101
+ api: {
102
+ input: StartNetworkMigrationMappingRequest;
103
+ output: StartNetworkMigrationMappingResponse;
104
+ };
105
+ sdk: {
106
+ input: StartNetworkMigrationMappingCommandInput;
107
+ output: StartNetworkMigrationMappingCommandOutput;
108
+ };
109
+ };
110
+ }