@aws-sdk/client-mgn 3.1008.0 → 3.1009.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,198 @@
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 { CreateNetworkMigrationDefinitionRequest, NetworkMigrationDefinition } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateNetworkMigrationDefinitionCommand}.
14
+ */
15
+ export interface CreateNetworkMigrationDefinitionCommandInput extends CreateNetworkMigrationDefinitionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateNetworkMigrationDefinitionCommand}.
21
+ */
22
+ export interface CreateNetworkMigrationDefinitionCommandOutput extends NetworkMigrationDefinition, __MetadataBearer {
23
+ }
24
+ declare const CreateNetworkMigrationDefinitionCommand_base: {
25
+ new (input: CreateNetworkMigrationDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateNetworkMigrationDefinitionCommandInput, CreateNetworkMigrationDefinitionCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateNetworkMigrationDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateNetworkMigrationDefinitionCommandInput, CreateNetworkMigrationDefinitionCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a new network migration definition that specifies the source and target network configuration for a migration.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MgnClient, CreateNetworkMigrationDefinitionCommand } from "@aws-sdk/client-mgn"; // ES Modules import
35
+ * // const { MgnClient, CreateNetworkMigrationDefinitionCommand } = 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 = { // CreateNetworkMigrationDefinitionRequest
40
+ * name: "STRING_VALUE", // required
41
+ * description: "STRING_VALUE",
42
+ * sourceConfigurations: [ // SourceConfigurationList
43
+ * { // SourceConfiguration
44
+ * sourceEnvironment: "STRING_VALUE", // required
45
+ * sourceS3Configuration: { // SourceS3Configuration
46
+ * s3Bucket: "STRING_VALUE", // required
47
+ * s3BucketOwner: "STRING_VALUE", // required
48
+ * s3Key: "STRING_VALUE", // required
49
+ * },
50
+ * },
51
+ * ],
52
+ * targetS3Configuration: { // TargetS3Configuration
53
+ * s3Bucket: "STRING_VALUE", // required
54
+ * s3BucketOwner: "STRING_VALUE", // required
55
+ * },
56
+ * targetNetwork: { // TargetNetwork
57
+ * topology: "STRING_VALUE", // required
58
+ * inboundCidr: "STRING_VALUE",
59
+ * outboundCidr: "STRING_VALUE",
60
+ * inspectionCidr: "STRING_VALUE",
61
+ * },
62
+ * targetDeployment: "STRING_VALUE",
63
+ * tags: { // TagsMap
64
+ * "<keys>": "STRING_VALUE",
65
+ * },
66
+ * scopeTags: { // ScopeTagsMap
67
+ * "<keys>": "STRING_VALUE",
68
+ * },
69
+ * };
70
+ * const command = new CreateNetworkMigrationDefinitionCommand(input);
71
+ * const response = await client.send(command);
72
+ * // { // NetworkMigrationDefinition
73
+ * // arn: "STRING_VALUE",
74
+ * // networkMigrationDefinitionID: "STRING_VALUE",
75
+ * // name: "STRING_VALUE",
76
+ * // description: "STRING_VALUE",
77
+ * // sourceConfigurations: [ // SourceConfigurationList
78
+ * // { // SourceConfiguration
79
+ * // sourceEnvironment: "STRING_VALUE", // required
80
+ * // sourceS3Configuration: { // SourceS3Configuration
81
+ * // s3Bucket: "STRING_VALUE", // required
82
+ * // s3BucketOwner: "STRING_VALUE", // required
83
+ * // s3Key: "STRING_VALUE", // required
84
+ * // },
85
+ * // },
86
+ * // ],
87
+ * // targetS3Configuration: { // TargetS3Configuration
88
+ * // s3Bucket: "STRING_VALUE", // required
89
+ * // s3BucketOwner: "STRING_VALUE", // required
90
+ * // },
91
+ * // targetNetwork: { // TargetNetwork
92
+ * // topology: "STRING_VALUE", // required
93
+ * // inboundCidr: "STRING_VALUE",
94
+ * // outboundCidr: "STRING_VALUE",
95
+ * // inspectionCidr: "STRING_VALUE",
96
+ * // },
97
+ * // targetDeployment: "STRING_VALUE",
98
+ * // createdAt: new Date("TIMESTAMP"),
99
+ * // updatedAt: new Date("TIMESTAMP"),
100
+ * // tags: { // TagsMap
101
+ * // "<keys>": "STRING_VALUE",
102
+ * // },
103
+ * // scopeTags: { // ScopeTagsMap
104
+ * // "<keys>": "STRING_VALUE",
105
+ * // },
106
+ * // };
107
+ *
108
+ * ```
109
+ *
110
+ * @param CreateNetworkMigrationDefinitionCommandInput - {@link CreateNetworkMigrationDefinitionCommandInput}
111
+ * @returns {@link CreateNetworkMigrationDefinitionCommandOutput}
112
+ * @see {@link CreateNetworkMigrationDefinitionCommandInput} for command's `input` shape.
113
+ * @see {@link CreateNetworkMigrationDefinitionCommandOutput} for command's `response` shape.
114
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
115
+ *
116
+ * @throws {@link ServiceQuotaExceededException} (client fault)
117
+ * <p>The request could not be completed because its exceeded the service quota.</p>
118
+ *
119
+ * @throws {@link ValidationException} (client fault)
120
+ * <p>Validate exception.</p>
121
+ *
122
+ * @throws {@link MgnServiceException}
123
+ * <p>Base exception class for all service exceptions from Mgn service.</p>
124
+ *
125
+ *
126
+ * @example Sample CreateNetworkMigrationDefinition call
127
+ * ```javascript
128
+ * //
129
+ * const input = {
130
+ * description: "network 1 description",
131
+ * name: "network1",
132
+ * sourceConfigurations: [
133
+ * {
134
+ * sourceEnvironment: "NSX",
135
+ * sourceS3Configuration: {
136
+ * s3Bucket: "source_bucket",
137
+ * s3BucketOwner: "012345678901",
138
+ * s3Key: "source_key"
139
+ * }
140
+ * }
141
+ * ],
142
+ * targetDeployment: "SINGLE_ACCOUNT",
143
+ * targetNetwork: {
144
+ * inboundCidr: "192.168.1.0/24",
145
+ * topology: "ISOLATED_VPC"
146
+ * },
147
+ * targetS3Configuration: {
148
+ * s3Bucket: "target_bucket",
149
+ * s3BucketOwner: "012345678901"
150
+ * }
151
+ * };
152
+ * const command = new CreateNetworkMigrationDefinitionCommand(input);
153
+ * const response = await client.send(command);
154
+ * /* response is
155
+ * {
156
+ * createdAt: 1735334198,
157
+ * description: "network 1 description",
158
+ * name: "network1",
159
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
160
+ * sourceConfigurations: [
161
+ * {
162
+ * sourceEnvironment: "NSX",
163
+ * sourceS3Configuration: {
164
+ * s3Bucket: "source_bucket",
165
+ * s3BucketOwner: "012345678901",
166
+ * s3Key: "source_key"
167
+ * }
168
+ * }
169
+ * ],
170
+ * tags: { /* empty *\/ },
171
+ * targetNetwork: {
172
+ * inboundCidr: "192.168.1.0/24",
173
+ * topology: "ISOLATED_VPC"
174
+ * },
175
+ * targetS3Configuration: {
176
+ * s3Bucket: "target_bucket",
177
+ * s3BucketOwner: "012345678901"
178
+ * },
179
+ * updatedAt: 1735334198
180
+ * }
181
+ * *\/
182
+ * ```
183
+ *
184
+ * @public
185
+ */
186
+ export declare class CreateNetworkMigrationDefinitionCommand extends CreateNetworkMigrationDefinitionCommand_base {
187
+ /** @internal type navigation helper, not in runtime. */
188
+ protected static __types: {
189
+ api: {
190
+ input: CreateNetworkMigrationDefinitionRequest;
191
+ output: NetworkMigrationDefinition;
192
+ };
193
+ sdk: {
194
+ input: CreateNetworkMigrationDefinitionCommandInput;
195
+ output: CreateNetworkMigrationDefinitionCommandOutput;
196
+ };
197
+ };
198
+ }
@@ -0,0 +1,94 @@
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 { DeleteNetworkMigrationDefinitionRequest, DeleteNetworkMigrationDefinitionResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteNetworkMigrationDefinitionCommand}.
14
+ */
15
+ export interface DeleteNetworkMigrationDefinitionCommandInput extends DeleteNetworkMigrationDefinitionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteNetworkMigrationDefinitionCommand}.
21
+ */
22
+ export interface DeleteNetworkMigrationDefinitionCommandOutput extends DeleteNetworkMigrationDefinitionResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteNetworkMigrationDefinitionCommand_base: {
25
+ new (input: DeleteNetworkMigrationDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteNetworkMigrationDefinitionCommandInput, DeleteNetworkMigrationDefinitionCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteNetworkMigrationDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteNetworkMigrationDefinitionCommandInput, DeleteNetworkMigrationDefinitionCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes a network migration definition. This operation removes the migration definition and all associated metadata.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MgnClient, DeleteNetworkMigrationDefinitionCommand } from "@aws-sdk/client-mgn"; // ES Modules import
35
+ * // const { MgnClient, DeleteNetworkMigrationDefinitionCommand } = 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 = { // DeleteNetworkMigrationDefinitionRequest
40
+ * networkMigrationDefinitionID: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteNetworkMigrationDefinitionCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeleteNetworkMigrationDefinitionCommandInput - {@link DeleteNetworkMigrationDefinitionCommandInput}
49
+ * @returns {@link DeleteNetworkMigrationDefinitionCommandOutput}
50
+ * @see {@link DeleteNetworkMigrationDefinitionCommandInput} for command's `input` shape.
51
+ * @see {@link DeleteNetworkMigrationDefinitionCommandOutput} for command's `response` shape.
52
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>Operating denied due to a file permission or access check error.</p>
56
+ *
57
+ * @throws {@link ConflictException} (client fault)
58
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>Resource not found exception.</p>
62
+ *
63
+ * @throws {@link MgnServiceException}
64
+ * <p>Base exception class for all service exceptions from Mgn service.</p>
65
+ *
66
+ *
67
+ * @example Sample DeleteNetworkMigrationDefinition call
68
+ * ```javascript
69
+ * //
70
+ * const input = {
71
+ * networkMigrationDefinitionID: "nmd-01234567891234567"
72
+ * };
73
+ * const command = new DeleteNetworkMigrationDefinitionCommand(input);
74
+ * const response = await client.send(command);
75
+ * /* response is
76
+ * { /* empty *\/ }
77
+ * *\/
78
+ * ```
79
+ *
80
+ * @public
81
+ */
82
+ export declare class DeleteNetworkMigrationDefinitionCommand extends DeleteNetworkMigrationDefinitionCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: DeleteNetworkMigrationDefinitionRequest;
87
+ output: {};
88
+ };
89
+ sdk: {
90
+ input: DeleteNetworkMigrationDefinitionCommandInput;
91
+ output: DeleteNetworkMigrationDefinitionCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -0,0 +1,150 @@
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 { GetNetworkMigrationDefinitionRequest, NetworkMigrationDefinition } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetNetworkMigrationDefinitionCommand}.
14
+ */
15
+ export interface GetNetworkMigrationDefinitionCommandInput extends GetNetworkMigrationDefinitionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetNetworkMigrationDefinitionCommand}.
21
+ */
22
+ export interface GetNetworkMigrationDefinitionCommandOutput extends NetworkMigrationDefinition, __MetadataBearer {
23
+ }
24
+ declare const GetNetworkMigrationDefinitionCommand_base: {
25
+ new (input: GetNetworkMigrationDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<GetNetworkMigrationDefinitionCommandInput, GetNetworkMigrationDefinitionCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetNetworkMigrationDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<GetNetworkMigrationDefinitionCommandInput, GetNetworkMigrationDefinitionCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves the details of a network migration definition including source and target configurations.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MgnClient, GetNetworkMigrationDefinitionCommand } from "@aws-sdk/client-mgn"; // ES Modules import
35
+ * // const { MgnClient, GetNetworkMigrationDefinitionCommand } = 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 = { // GetNetworkMigrationDefinitionRequest
40
+ * networkMigrationDefinitionID: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetNetworkMigrationDefinitionCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // NetworkMigrationDefinition
45
+ * // arn: "STRING_VALUE",
46
+ * // networkMigrationDefinitionID: "STRING_VALUE",
47
+ * // name: "STRING_VALUE",
48
+ * // description: "STRING_VALUE",
49
+ * // sourceConfigurations: [ // SourceConfigurationList
50
+ * // { // SourceConfiguration
51
+ * // sourceEnvironment: "STRING_VALUE", // required
52
+ * // sourceS3Configuration: { // SourceS3Configuration
53
+ * // s3Bucket: "STRING_VALUE", // required
54
+ * // s3BucketOwner: "STRING_VALUE", // required
55
+ * // s3Key: "STRING_VALUE", // required
56
+ * // },
57
+ * // },
58
+ * // ],
59
+ * // targetS3Configuration: { // TargetS3Configuration
60
+ * // s3Bucket: "STRING_VALUE", // required
61
+ * // s3BucketOwner: "STRING_VALUE", // required
62
+ * // },
63
+ * // targetNetwork: { // TargetNetwork
64
+ * // topology: "STRING_VALUE", // required
65
+ * // inboundCidr: "STRING_VALUE",
66
+ * // outboundCidr: "STRING_VALUE",
67
+ * // inspectionCidr: "STRING_VALUE",
68
+ * // },
69
+ * // targetDeployment: "STRING_VALUE",
70
+ * // createdAt: new Date("TIMESTAMP"),
71
+ * // updatedAt: new Date("TIMESTAMP"),
72
+ * // tags: { // TagsMap
73
+ * // "<keys>": "STRING_VALUE",
74
+ * // },
75
+ * // scopeTags: { // ScopeTagsMap
76
+ * // "<keys>": "STRING_VALUE",
77
+ * // },
78
+ * // };
79
+ *
80
+ * ```
81
+ *
82
+ * @param GetNetworkMigrationDefinitionCommandInput - {@link GetNetworkMigrationDefinitionCommandInput}
83
+ * @returns {@link GetNetworkMigrationDefinitionCommandOutput}
84
+ * @see {@link GetNetworkMigrationDefinitionCommandInput} for command's `input` shape.
85
+ * @see {@link GetNetworkMigrationDefinitionCommandOutput} for command's `response` shape.
86
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
87
+ *
88
+ * @throws {@link AccessDeniedException} (client fault)
89
+ * <p>Operating denied due to a file permission or access check error.</p>
90
+ *
91
+ * @throws {@link ResourceNotFoundException} (client fault)
92
+ * <p>Resource not found exception.</p>
93
+ *
94
+ * @throws {@link MgnServiceException}
95
+ * <p>Base exception class for all service exceptions from Mgn service.</p>
96
+ *
97
+ *
98
+ * @example Sample GetNetworkMigrationDefinition call
99
+ * ```javascript
100
+ * //
101
+ * const input = {
102
+ * networkMigrationDefinitionID: "nmd-01234567891234567"
103
+ * };
104
+ * const command = new GetNetworkMigrationDefinitionCommand(input);
105
+ * const response = await client.send(command);
106
+ * /* response is
107
+ * {
108
+ * createdAt: 1735334198,
109
+ * description: "network 1 description",
110
+ * name: "network1",
111
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
112
+ * sourceConfigurations: [
113
+ * {
114
+ * sourceEnvironment: "NSX",
115
+ * sourceS3Configuration: {
116
+ * s3Bucket: "source_bucket",
117
+ * s3BucketOwner: "012345678901",
118
+ * s3Key: "source_key"
119
+ * }
120
+ * }
121
+ * ],
122
+ * tags: { /* empty *\/ },
123
+ * targetNetwork: {
124
+ * inboundCidr: "192.168.1.0/24",
125
+ * topology: "ISOLATED_VPC"
126
+ * },
127
+ * targetS3Configuration: {
128
+ * s3Bucket: "target_bucket",
129
+ * s3BucketOwner: "012345678901"
130
+ * },
131
+ * updatedAt: 1735334198
132
+ * }
133
+ * *\/
134
+ * ```
135
+ *
136
+ * @public
137
+ */
138
+ export declare class GetNetworkMigrationDefinitionCommand extends GetNetworkMigrationDefinitionCommand_base {
139
+ /** @internal type navigation helper, not in runtime. */
140
+ protected static __types: {
141
+ api: {
142
+ input: GetNetworkMigrationDefinitionRequest;
143
+ output: NetworkMigrationDefinition;
144
+ };
145
+ sdk: {
146
+ input: GetNetworkMigrationDefinitionCommandInput;
147
+ output: GetNetworkMigrationDefinitionCommandOutput;
148
+ };
149
+ };
150
+ }
@@ -0,0 +1,128 @@
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 { GetNetworkMigrationMapperSegmentConstructRequest, GetNetworkMigrationMapperSegmentConstructResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetNetworkMigrationMapperSegmentConstructCommand}.
14
+ */
15
+ export interface GetNetworkMigrationMapperSegmentConstructCommandInput extends GetNetworkMigrationMapperSegmentConstructRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetNetworkMigrationMapperSegmentConstructCommand}.
21
+ */
22
+ export interface GetNetworkMigrationMapperSegmentConstructCommandOutput extends GetNetworkMigrationMapperSegmentConstructResponse, __MetadataBearer {
23
+ }
24
+ declare const GetNetworkMigrationMapperSegmentConstructCommand_base: {
25
+ new (input: GetNetworkMigrationMapperSegmentConstructCommandInput): import("@smithy/smithy-client").CommandImpl<GetNetworkMigrationMapperSegmentConstructCommandInput, GetNetworkMigrationMapperSegmentConstructCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetNetworkMigrationMapperSegmentConstructCommandInput): import("@smithy/smithy-client").CommandImpl<GetNetworkMigrationMapperSegmentConstructCommandInput, GetNetworkMigrationMapperSegmentConstructCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves detailed information about a specific construct within a mapper segment, including its properties and configuration data.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MgnClient, GetNetworkMigrationMapperSegmentConstructCommand } from "@aws-sdk/client-mgn"; // ES Modules import
35
+ * // const { MgnClient, GetNetworkMigrationMapperSegmentConstructCommand } = 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 = { // GetNetworkMigrationMapperSegmentConstructRequest
40
+ * networkMigrationDefinitionID: "STRING_VALUE", // required
41
+ * networkMigrationExecutionID: "STRING_VALUE", // required
42
+ * segmentID: "STRING_VALUE", // required
43
+ * constructID: "STRING_VALUE", // required
44
+ * };
45
+ * const command = new GetNetworkMigrationMapperSegmentConstructCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // GetNetworkMigrationMapperSegmentConstructResponse
48
+ * // construct: { // NetworkMigrationMapperSegmentConstruct
49
+ * // constructID: "STRING_VALUE",
50
+ * // constructType: "STRING_VALUE",
51
+ * // name: "STRING_VALUE",
52
+ * // description: "STRING_VALUE",
53
+ * // logicalID: "STRING_VALUE",
54
+ * // createdAt: new Date("TIMESTAMP"),
55
+ * // updatedAt: new Date("TIMESTAMP"),
56
+ * // properties: { // ConstructProperties
57
+ * // "<keys>": "STRING_VALUE",
58
+ * // },
59
+ * // },
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param GetNetworkMigrationMapperSegmentConstructCommandInput - {@link GetNetworkMigrationMapperSegmentConstructCommandInput}
65
+ * @returns {@link GetNetworkMigrationMapperSegmentConstructCommandOutput}
66
+ * @see {@link GetNetworkMigrationMapperSegmentConstructCommandInput} for command's `input` shape.
67
+ * @see {@link GetNetworkMigrationMapperSegmentConstructCommandOutput} for command's `response` shape.
68
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>Operating denied due to a file permission or access check error.</p>
72
+ *
73
+ * @throws {@link ResourceNotFoundException} (client fault)
74
+ * <p>Resource not found exception.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>Validate exception.</p>
78
+ *
79
+ * @throws {@link MgnServiceException}
80
+ * <p>Base exception class for all service exceptions from Mgn service.</p>
81
+ *
82
+ *
83
+ * @example Sample GetNetworkMigrationMapperSegmentConstruct call
84
+ * ```javascript
85
+ * //
86
+ * const input = {
87
+ * constructID: "abc45678-abcd-abcd-efab-012345678abc",
88
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
89
+ * networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab",
90
+ * segmentID: "12345678-abcd-abcd-efab-0123456789ab"
91
+ * };
92
+ * const command = new GetNetworkMigrationMapperSegmentConstructCommand(input);
93
+ * const response = await client.send(command);
94
+ * /* response is
95
+ * {
96
+ * construct: {
97
+ * constructID: "abc45678-abcd-abcd-efab-012345678abc",
98
+ * constructType: "AWS::EC2::VPC",
99
+ * createdAt: 1735334198,
100
+ * description: "Segment construct description",
101
+ * logicalID: "logical-id1",
102
+ * name: "SegmentConstructName",
103
+ * properties: {
104
+ * CidrBlock: "192.168.101.0/24",
105
+ * MapPublicIpOnLaunch: "False",
106
+ * Tags: "[{'Key': 'Name', 'Value': '/infra/tier-1s/cgw/segments/Lab1-veeam-test-192.168.101.0/24'}]"
107
+ * },
108
+ * updatedAt: 1735334198
109
+ * }
110
+ * }
111
+ * *\/
112
+ * ```
113
+ *
114
+ * @public
115
+ */
116
+ export declare class GetNetworkMigrationMapperSegmentConstructCommand extends GetNetworkMigrationMapperSegmentConstructCommand_base {
117
+ /** @internal type navigation helper, not in runtime. */
118
+ protected static __types: {
119
+ api: {
120
+ input: GetNetworkMigrationMapperSegmentConstructRequest;
121
+ output: GetNetworkMigrationMapperSegmentConstructResponse;
122
+ };
123
+ sdk: {
124
+ input: GetNetworkMigrationMapperSegmentConstructCommandInput;
125
+ output: GetNetworkMigrationMapperSegmentConstructCommandOutput;
126
+ };
127
+ };
128
+ }