@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,173 @@
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 { ListNetworkMigrationMapperSegmentConstructsRequest, ListNetworkMigrationMapperSegmentConstructsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListNetworkMigrationMapperSegmentConstructsCommand}.
14
+ */
15
+ export interface ListNetworkMigrationMapperSegmentConstructsCommandInput extends ListNetworkMigrationMapperSegmentConstructsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListNetworkMigrationMapperSegmentConstructsCommand}.
21
+ */
22
+ export interface ListNetworkMigrationMapperSegmentConstructsCommandOutput extends ListNetworkMigrationMapperSegmentConstructsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListNetworkMigrationMapperSegmentConstructsCommand_base: {
25
+ new (input: ListNetworkMigrationMapperSegmentConstructsCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationMapperSegmentConstructsCommandInput, ListNetworkMigrationMapperSegmentConstructsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListNetworkMigrationMapperSegmentConstructsCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationMapperSegmentConstructsCommandInput, ListNetworkMigrationMapperSegmentConstructsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists constructs within a mapper segment, representing individual infrastructure components like VPCs, subnets, or security groups.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MgnClient, ListNetworkMigrationMapperSegmentConstructsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
35
+ * // const { MgnClient, ListNetworkMigrationMapperSegmentConstructsCommand } = 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 = { // ListNetworkMigrationMapperSegmentConstructsRequest
40
+ * networkMigrationExecutionID: "STRING_VALUE", // required
41
+ * networkMigrationDefinitionID: "STRING_VALUE", // required
42
+ * segmentID: "STRING_VALUE", // required
43
+ * filters: { // ListNetworkMigrationMapperSegmentConstructsFilters
44
+ * constructIDs: [ // ListNetworkMigrationMapperSegmentConstructsIDsFilter
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * constructTypes: [ // ListNetworkMigrationMapperSegmentConstructTypesFilter
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * },
51
+ * maxResults: Number("int"),
52
+ * nextToken: "STRING_VALUE",
53
+ * };
54
+ * const command = new ListNetworkMigrationMapperSegmentConstructsCommand(input);
55
+ * const response = await client.send(command);
56
+ * // { // ListNetworkMigrationMapperSegmentConstructsResponse
57
+ * // items: [ // NetworkMigrationMapperSegmentConstructs
58
+ * // { // NetworkMigrationMapperSegmentConstruct
59
+ * // constructID: "STRING_VALUE",
60
+ * // constructType: "STRING_VALUE",
61
+ * // name: "STRING_VALUE",
62
+ * // description: "STRING_VALUE",
63
+ * // logicalID: "STRING_VALUE",
64
+ * // createdAt: new Date("TIMESTAMP"),
65
+ * // updatedAt: new Date("TIMESTAMP"),
66
+ * // properties: { // ConstructProperties
67
+ * // "<keys>": "STRING_VALUE",
68
+ * // },
69
+ * // },
70
+ * // ],
71
+ * // nextToken: "STRING_VALUE",
72
+ * // };
73
+ *
74
+ * ```
75
+ *
76
+ * @param ListNetworkMigrationMapperSegmentConstructsCommandInput - {@link ListNetworkMigrationMapperSegmentConstructsCommandInput}
77
+ * @returns {@link ListNetworkMigrationMapperSegmentConstructsCommandOutput}
78
+ * @see {@link ListNetworkMigrationMapperSegmentConstructsCommandInput} for command's `input` shape.
79
+ * @see {@link ListNetworkMigrationMapperSegmentConstructsCommandOutput} for command's `response` shape.
80
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
81
+ *
82
+ * @throws {@link AccessDeniedException} (client fault)
83
+ * <p>Operating denied due to a file permission or access check error.</p>
84
+ *
85
+ * @throws {@link ResourceNotFoundException} (client fault)
86
+ * <p>Resource not found exception.</p>
87
+ *
88
+ * @throws {@link ThrottlingException} (client fault)
89
+ * <p>Reached throttling quota exception.</p>
90
+ *
91
+ * @throws {@link ValidationException} (client fault)
92
+ * <p>Validate 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 ListNetworkMigrationMapperSegmentConstructs call with properties enabled
99
+ * ```javascript
100
+ * //
101
+ * const input = {
102
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
103
+ * networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab",
104
+ * segmentID: "12345678-abcd-abcd-efab-0123456789ab"
105
+ * };
106
+ * const command = new ListNetworkMigrationMapperSegmentConstructsCommand(input);
107
+ * const response = await client.send(command);
108
+ * /* response is
109
+ * {
110
+ * items: [
111
+ * {
112
+ * constructID: "abc45678-abcd-abcd-efab-012345678abc",
113
+ * constructType: "AWS::EC2::VPC",
114
+ * createdAt: 1735334198,
115
+ * description: "Segment construct description",
116
+ * logicalID: "logical-id1",
117
+ * name: "SegmentConstructName",
118
+ * properties: {
119
+ * CidrBlock: "192.168.101.0/24",
120
+ * MapPublicIpOnLaunch: "False",
121
+ * Tags: "[{'Key': 'Name', 'Value': '/infra/tier-1s/cgw/segments/Lab1-veeam-test-192.168.101.0/24'}]"
122
+ * },
123
+ * updatedAt: 1735334198
124
+ * }
125
+ * ],
126
+ * nextToken: "NextTokenId"
127
+ * }
128
+ * *\/
129
+ * ```
130
+ *
131
+ * @example Sample ListNetworkMigrationMapperSegmentConstructs call with properties disabled (default)
132
+ * ```javascript
133
+ * //
134
+ * const input = {
135
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
136
+ * networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab",
137
+ * segmentID: "12345678-abcd-abcd-efab-0123456789ab"
138
+ * };
139
+ * const command = new ListNetworkMigrationMapperSegmentConstructsCommand(input);
140
+ * const response = await client.send(command);
141
+ * /* response is
142
+ * {
143
+ * items: [
144
+ * {
145
+ * constructID: "abc45678-abcd-abcd-efab-012345678abc",
146
+ * constructType: "AWS::EC2::VPC",
147
+ * createdAt: 1735334198,
148
+ * description: "Segment construct description",
149
+ * logicalID: "logical-id1",
150
+ * name: "SegmentConstructName",
151
+ * updatedAt: 1735334198
152
+ * }
153
+ * ],
154
+ * nextToken: "NextTokenId"
155
+ * }
156
+ * *\/
157
+ * ```
158
+ *
159
+ * @public
160
+ */
161
+ export declare class ListNetworkMigrationMapperSegmentConstructsCommand extends ListNetworkMigrationMapperSegmentConstructsCommand_base {
162
+ /** @internal type navigation helper, not in runtime. */
163
+ protected static __types: {
164
+ api: {
165
+ input: ListNetworkMigrationMapperSegmentConstructsRequest;
166
+ output: ListNetworkMigrationMapperSegmentConstructsResponse;
167
+ };
168
+ sdk: {
169
+ input: ListNetworkMigrationMapperSegmentConstructsCommandInput;
170
+ output: ListNetworkMigrationMapperSegmentConstructsCommandOutput;
171
+ };
172
+ };
173
+ }
@@ -0,0 +1,163 @@
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 { ListNetworkMigrationMapperSegmentsRequest, ListNetworkMigrationMapperSegmentsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListNetworkMigrationMapperSegmentsCommand}.
14
+ */
15
+ export interface ListNetworkMigrationMapperSegmentsCommandInput extends ListNetworkMigrationMapperSegmentsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListNetworkMigrationMapperSegmentsCommand}.
21
+ */
22
+ export interface ListNetworkMigrationMapperSegmentsCommandOutput extends ListNetworkMigrationMapperSegmentsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListNetworkMigrationMapperSegmentsCommand_base: {
25
+ new (input: ListNetworkMigrationMapperSegmentsCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationMapperSegmentsCommandInput, ListNetworkMigrationMapperSegmentsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListNetworkMigrationMapperSegmentsCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationMapperSegmentsCommandInput, ListNetworkMigrationMapperSegmentsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists mapper segments, which represent logical groupings of network resources to be migrated together.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MgnClient, ListNetworkMigrationMapperSegmentsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
35
+ * // const { MgnClient, ListNetworkMigrationMapperSegmentsCommand } = 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 = { // ListNetworkMigrationMapperSegmentsRequest
40
+ * networkMigrationExecutionID: "STRING_VALUE", // required
41
+ * networkMigrationDefinitionID: "STRING_VALUE", // required
42
+ * filters: { // ListNetworkMigrationMapperSegmentsFilters
43
+ * segmentIDs: [ // ListNetworkMigrationMapperSegmentsIDsFilter
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * },
47
+ * maxResults: Number("int"),
48
+ * nextToken: "STRING_VALUE",
49
+ * };
50
+ * const command = new ListNetworkMigrationMapperSegmentsCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // ListNetworkMigrationMapperSegmentsResponse
53
+ * // items: [ // NetworkMigrationMapperSegmentsList
54
+ * // { // NetworkMigrationMapperSegment
55
+ * // jobID: "STRING_VALUE",
56
+ * // networkMigrationExecutionID: "STRING_VALUE",
57
+ * // networkMigrationDefinitionID: "STRING_VALUE",
58
+ * // segmentID: "STRING_VALUE",
59
+ * // segmentType: "STRING_VALUE",
60
+ * // name: "STRING_VALUE",
61
+ * // description: "STRING_VALUE",
62
+ * // logicalID: "STRING_VALUE",
63
+ * // checksum: { // Checksum
64
+ * // encryptionAlgorithm: "STRING_VALUE",
65
+ * // hash: "STRING_VALUE",
66
+ * // },
67
+ * // outputS3Configuration: { // S3Configuration
68
+ * // s3Bucket: "STRING_VALUE",
69
+ * // s3BucketOwner: "STRING_VALUE",
70
+ * // s3Key: "STRING_VALUE",
71
+ * // },
72
+ * // createdAt: new Date("TIMESTAMP"),
73
+ * // updatedAt: new Date("TIMESTAMP"),
74
+ * // scopeTags: { // ScopeTagsMap
75
+ * // "<keys>": "STRING_VALUE",
76
+ * // },
77
+ * // targetAccount: "STRING_VALUE",
78
+ * // referencedSegments: [ // referencedSegmentsList
79
+ * // "STRING_VALUE",
80
+ * // ],
81
+ * // },
82
+ * // ],
83
+ * // nextToken: "STRING_VALUE",
84
+ * // };
85
+ *
86
+ * ```
87
+ *
88
+ * @param ListNetworkMigrationMapperSegmentsCommandInput - {@link ListNetworkMigrationMapperSegmentsCommandInput}
89
+ * @returns {@link ListNetworkMigrationMapperSegmentsCommandOutput}
90
+ * @see {@link ListNetworkMigrationMapperSegmentsCommandInput} for command's `input` shape.
91
+ * @see {@link ListNetworkMigrationMapperSegmentsCommandOutput} for command's `response` shape.
92
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
93
+ *
94
+ * @throws {@link AccessDeniedException} (client fault)
95
+ * <p>Operating denied due to a file permission or access check error.</p>
96
+ *
97
+ * @throws {@link ResourceNotFoundException} (client fault)
98
+ * <p>Resource not found exception.</p>
99
+ *
100
+ * @throws {@link ThrottlingException} (client fault)
101
+ * <p>Reached throttling quota exception.</p>
102
+ *
103
+ * @throws {@link ValidationException} (client fault)
104
+ * <p>Validate exception.</p>
105
+ *
106
+ * @throws {@link MgnServiceException}
107
+ * <p>Base exception class for all service exceptions from Mgn service.</p>
108
+ *
109
+ *
110
+ * @example Sample ListNetworkMigrationMapperSegments call
111
+ * ```javascript
112
+ * //
113
+ * const input = {
114
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
115
+ * networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab"
116
+ * };
117
+ * const command = new ListNetworkMigrationMapperSegmentsCommand(input);
118
+ * const response = await client.send(command);
119
+ * /* response is
120
+ * {
121
+ * items: [
122
+ * {
123
+ * checksum: {
124
+ * encryptionAlgorithm: "SHA256",
125
+ * hash: "0123456789aAbBcCdDeEfF0123456789"
126
+ * },
127
+ * createdAt: 1735334198,
128
+ * description: "Segment description",
129
+ * jobID: "01234567-abcd-abcd-efab-0123456789ab",
130
+ * logicalID: "logical-id1",
131
+ * name: "SegmentName",
132
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
133
+ * networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab",
134
+ * outputS3Configuration: {
135
+ * s3Bucket: "s3_bucket",
136
+ * s3BucketOwner: "012345678901",
137
+ * s3Key: "S3KeyName"
138
+ * },
139
+ * segmentID: "12345678-abcd-abcd-efab-0123456789ab",
140
+ * segmentType: "WORKLOAD",
141
+ * updatedAt: 1735334198
142
+ * }
143
+ * ],
144
+ * nextToken: "NextTokenId"
145
+ * }
146
+ * *\/
147
+ * ```
148
+ *
149
+ * @public
150
+ */
151
+ export declare class ListNetworkMigrationMapperSegmentsCommand extends ListNetworkMigrationMapperSegmentsCommand_base {
152
+ /** @internal type navigation helper, not in runtime. */
153
+ protected static __types: {
154
+ api: {
155
+ input: ListNetworkMigrationMapperSegmentsRequest;
156
+ output: ListNetworkMigrationMapperSegmentsResponse;
157
+ };
158
+ sdk: {
159
+ input: ListNetworkMigrationMapperSegmentsCommandInput;
160
+ output: ListNetworkMigrationMapperSegmentsCommandOutput;
161
+ };
162
+ };
163
+ }
@@ -0,0 +1,132 @@
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 { ListNetworkMigrationMappingUpdatesRequest, ListNetworkMigrationMappingUpdatesResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListNetworkMigrationMappingUpdatesCommand}.
14
+ */
15
+ export interface ListNetworkMigrationMappingUpdatesCommandInput extends ListNetworkMigrationMappingUpdatesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListNetworkMigrationMappingUpdatesCommand}.
21
+ */
22
+ export interface ListNetworkMigrationMappingUpdatesCommandOutput extends ListNetworkMigrationMappingUpdatesResponse, __MetadataBearer {
23
+ }
24
+ declare const ListNetworkMigrationMappingUpdatesCommand_base: {
25
+ new (input: ListNetworkMigrationMappingUpdatesCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationMappingUpdatesCommandInput, ListNetworkMigrationMappingUpdatesCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListNetworkMigrationMappingUpdatesCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationMappingUpdatesCommandInput, ListNetworkMigrationMappingUpdatesCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists mapping update jobs, which apply customer modifications to the generated network 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, ListNetworkMigrationMappingUpdatesCommand } from "@aws-sdk/client-mgn"; // ES Modules import
35
+ * // const { MgnClient, ListNetworkMigrationMappingUpdatesCommand } = 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 = { // ListNetworkMigrationMappingUpdatesRequest
40
+ * networkMigrationExecutionID: "STRING_VALUE", // required
41
+ * networkMigrationDefinitionID: "STRING_VALUE", // required
42
+ * filters: { // ListNetworkMigrationMappingUpdatesFilters
43
+ * jobIDs: [ // ListNetworkMigrationMappingUpdatesIDsFilter
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * },
47
+ * maxResults: Number("int"),
48
+ * nextToken: "STRING_VALUE",
49
+ * };
50
+ * const command = new ListNetworkMigrationMappingUpdatesCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // ListNetworkMigrationMappingUpdatesResponse
53
+ * // items: [ // NetworkMigrationMappingUpdatesList
54
+ * // { // NetworkMigrationMappingUpdateJobDetails
55
+ * // jobID: "STRING_VALUE",
56
+ * // networkMigrationExecutionID: "STRING_VALUE",
57
+ * // networkMigrationDefinitionID: "STRING_VALUE",
58
+ * // createdAt: new Date("TIMESTAMP"),
59
+ * // endedAt: new Date("TIMESTAMP"),
60
+ * // status: "STRING_VALUE",
61
+ * // statusDetails: "STRING_VALUE",
62
+ * // },
63
+ * // ],
64
+ * // nextToken: "STRING_VALUE",
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param ListNetworkMigrationMappingUpdatesCommandInput - {@link ListNetworkMigrationMappingUpdatesCommandInput}
70
+ * @returns {@link ListNetworkMigrationMappingUpdatesCommandOutput}
71
+ * @see {@link ListNetworkMigrationMappingUpdatesCommandInput} for command's `input` shape.
72
+ * @see {@link ListNetworkMigrationMappingUpdatesCommandOutput} for command's `response` shape.
73
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDeniedException} (client fault)
76
+ * <p>Operating denied due to a file permission or access check error.</p>
77
+ *
78
+ * @throws {@link ResourceNotFoundException} (client fault)
79
+ * <p>Resource not found exception.</p>
80
+ *
81
+ * @throws {@link ThrottlingException} (client fault)
82
+ * <p>Reached throttling quota exception.</p>
83
+ *
84
+ * @throws {@link ValidationException} (client fault)
85
+ * <p>Validate exception.</p>
86
+ *
87
+ * @throws {@link MgnServiceException}
88
+ * <p>Base exception class for all service exceptions from Mgn service.</p>
89
+ *
90
+ *
91
+ * @example Sample ListNetworkMigrationMappingUpdates call
92
+ * ```javascript
93
+ * //
94
+ * const input = {
95
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
96
+ * networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab"
97
+ * };
98
+ * const command = new ListNetworkMigrationMappingUpdatesCommand(input);
99
+ * const response = await client.send(command);
100
+ * /* response is
101
+ * {
102
+ * items: [
103
+ * {
104
+ * createdAt: 1735334198,
105
+ * endedAt: 1735334258,
106
+ * jobID: "01234567-abcd-abcd-efab-0123456789ab",
107
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
108
+ * networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab",
109
+ * status: "SUCCEEDED",
110
+ * statusDetails: "Job status details"
111
+ * }
112
+ * ],
113
+ * nextToken: "NextTokenId"
114
+ * }
115
+ * *\/
116
+ * ```
117
+ *
118
+ * @public
119
+ */
120
+ export declare class ListNetworkMigrationMappingUpdatesCommand extends ListNetworkMigrationMappingUpdatesCommand_base {
121
+ /** @internal type navigation helper, not in runtime. */
122
+ protected static __types: {
123
+ api: {
124
+ input: ListNetworkMigrationMappingUpdatesRequest;
125
+ output: ListNetworkMigrationMappingUpdatesResponse;
126
+ };
127
+ sdk: {
128
+ input: ListNetworkMigrationMappingUpdatesCommandInput;
129
+ output: ListNetworkMigrationMappingUpdatesCommandOutput;
130
+ };
131
+ };
132
+ }
@@ -0,0 +1,132 @@
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 { ListNetworkMigrationMappingsRequest, ListNetworkMigrationMappingsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListNetworkMigrationMappingsCommand}.
14
+ */
15
+ export interface ListNetworkMigrationMappingsCommandInput extends ListNetworkMigrationMappingsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListNetworkMigrationMappingsCommand}.
21
+ */
22
+ export interface ListNetworkMigrationMappingsCommandOutput extends ListNetworkMigrationMappingsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListNetworkMigrationMappingsCommand_base: {
25
+ new (input: ListNetworkMigrationMappingsCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationMappingsCommandInput, ListNetworkMigrationMappingsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListNetworkMigrationMappingsCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationMappingsCommandInput, ListNetworkMigrationMappingsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists network migration mapping jobs, which analyze and create relationships between source and target network resources.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MgnClient, ListNetworkMigrationMappingsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
35
+ * // const { MgnClient, ListNetworkMigrationMappingsCommand } = 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 = { // ListNetworkMigrationMappingsRequest
40
+ * networkMigrationExecutionID: "STRING_VALUE", // required
41
+ * networkMigrationDefinitionID: "STRING_VALUE", // required
42
+ * filters: { // ListNetworkMigrationMappingsFilters
43
+ * jobIDs: [ // ListNetworkMigrationMappingsIDsFilter
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * },
47
+ * maxResults: Number("int"),
48
+ * nextToken: "STRING_VALUE",
49
+ * };
50
+ * const command = new ListNetworkMigrationMappingsCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // ListNetworkMigrationMappingsResponse
53
+ * // items: [ // NetworkMigrationMappingsList
54
+ * // { // NetworkMigrationMappingJobDetails
55
+ * // jobID: "STRING_VALUE",
56
+ * // networkMigrationExecutionID: "STRING_VALUE",
57
+ * // networkMigrationDefinitionID: "STRING_VALUE",
58
+ * // createdAt: new Date("TIMESTAMP"),
59
+ * // endedAt: new Date("TIMESTAMP"),
60
+ * // status: "STRING_VALUE",
61
+ * // statusDetails: "STRING_VALUE",
62
+ * // },
63
+ * // ],
64
+ * // nextToken: "STRING_VALUE",
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param ListNetworkMigrationMappingsCommandInput - {@link ListNetworkMigrationMappingsCommandInput}
70
+ * @returns {@link ListNetworkMigrationMappingsCommandOutput}
71
+ * @see {@link ListNetworkMigrationMappingsCommandInput} for command's `input` shape.
72
+ * @see {@link ListNetworkMigrationMappingsCommandOutput} for command's `response` shape.
73
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDeniedException} (client fault)
76
+ * <p>Operating denied due to a file permission or access check error.</p>
77
+ *
78
+ * @throws {@link ResourceNotFoundException} (client fault)
79
+ * <p>Resource not found exception.</p>
80
+ *
81
+ * @throws {@link ThrottlingException} (client fault)
82
+ * <p>Reached throttling quota exception.</p>
83
+ *
84
+ * @throws {@link ValidationException} (client fault)
85
+ * <p>Validate exception.</p>
86
+ *
87
+ * @throws {@link MgnServiceException}
88
+ * <p>Base exception class for all service exceptions from Mgn service.</p>
89
+ *
90
+ *
91
+ * @example Sample ListNetworkMigrationMappings call
92
+ * ```javascript
93
+ * //
94
+ * const input = {
95
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
96
+ * networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab"
97
+ * };
98
+ * const command = new ListNetworkMigrationMappingsCommand(input);
99
+ * const response = await client.send(command);
100
+ * /* response is
101
+ * {
102
+ * items: [
103
+ * {
104
+ * createdAt: 1735334198,
105
+ * endedAt: 1735334258,
106
+ * jobID: "01234567-abcd-abcd-efab-0123456789ab",
107
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
108
+ * networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab",
109
+ * status: "SUCCEEDED",
110
+ * statusDetails: "Job status details"
111
+ * }
112
+ * ],
113
+ * nextToken: "NextTokenId"
114
+ * }
115
+ * *\/
116
+ * ```
117
+ *
118
+ * @public
119
+ */
120
+ export declare class ListNetworkMigrationMappingsCommand extends ListNetworkMigrationMappingsCommand_base {
121
+ /** @internal type navigation helper, not in runtime. */
122
+ protected static __types: {
123
+ api: {
124
+ input: ListNetworkMigrationMappingsRequest;
125
+ output: ListNetworkMigrationMappingsResponse;
126
+ };
127
+ sdk: {
128
+ input: ListNetworkMigrationMappingsCommandInput;
129
+ output: ListNetworkMigrationMappingsCommandOutput;
130
+ };
131
+ };
132
+ }