@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.
- package/README.md +201 -46
- package/dist-cjs/index.js +537 -0
- package/dist-cjs/schemas/schemas_0.js +848 -35
- package/dist-es/Mgn.js +76 -0
- package/dist-es/commands/CreateNetworkMigrationDefinitionCommand.js +16 -0
- package/dist-es/commands/DeleteNetworkMigrationDefinitionCommand.js +16 -0
- package/dist-es/commands/GetNetworkMigrationDefinitionCommand.js +16 -0
- package/dist-es/commands/GetNetworkMigrationMapperSegmentConstructCommand.js +16 -0
- package/dist-es/commands/ListImportFileEnrichmentsCommand.js +16 -0
- package/dist-es/commands/ListNetworkMigrationAnalysesCommand.js +16 -0
- package/dist-es/commands/ListNetworkMigrationAnalysisResultsCommand.js +16 -0
- package/dist-es/commands/ListNetworkMigrationCodeGenerationSegmentsCommand.js +16 -0
- package/dist-es/commands/ListNetworkMigrationCodeGenerationsCommand.js +16 -0
- package/dist-es/commands/ListNetworkMigrationDefinitionsCommand.js +16 -0
- package/dist-es/commands/ListNetworkMigrationDeployedStacksCommand.js +16 -0
- package/dist-es/commands/ListNetworkMigrationDeploymentsCommand.js +16 -0
- package/dist-es/commands/ListNetworkMigrationExecutionsCommand.js +16 -0
- package/dist-es/commands/ListNetworkMigrationMapperSegmentConstructsCommand.js +16 -0
- package/dist-es/commands/ListNetworkMigrationMapperSegmentsCommand.js +16 -0
- package/dist-es/commands/ListNetworkMigrationMappingUpdatesCommand.js +16 -0
- package/dist-es/commands/ListNetworkMigrationMappingsCommand.js +16 -0
- package/dist-es/commands/StartImportFileEnrichmentCommand.js +16 -0
- package/dist-es/commands/StartNetworkMigrationAnalysisCommand.js +16 -0
- package/dist-es/commands/StartNetworkMigrationCodeGenerationCommand.js +16 -0
- package/dist-es/commands/StartNetworkMigrationDeploymentCommand.js +16 -0
- package/dist-es/commands/StartNetworkMigrationMappingCommand.js +16 -0
- package/dist-es/commands/StartNetworkMigrationMappingUpdateCommand.js +16 -0
- package/dist-es/commands/UpdateNetworkMigrationDefinitionCommand.js +16 -0
- package/dist-es/commands/UpdateNetworkMigrationMapperSegmentCommand.js +16 -0
- package/dist-es/commands/index.js +25 -0
- package/dist-es/models/enums.js +114 -0
- package/dist-es/pagination/ListImportFileEnrichmentsPaginator.js +4 -0
- package/dist-es/pagination/ListNetworkMigrationAnalysesPaginator.js +4 -0
- package/dist-es/pagination/ListNetworkMigrationAnalysisResultsPaginator.js +4 -0
- package/dist-es/pagination/ListNetworkMigrationCodeGenerationSegmentsPaginator.js +4 -0
- package/dist-es/pagination/ListNetworkMigrationCodeGenerationsPaginator.js +4 -0
- package/dist-es/pagination/ListNetworkMigrationDefinitionsPaginator.js +4 -0
- package/dist-es/pagination/ListNetworkMigrationDeployedStacksPaginator.js +4 -0
- package/dist-es/pagination/ListNetworkMigrationDeploymentsPaginator.js +4 -0
- package/dist-es/pagination/ListNetworkMigrationExecutionsPaginator.js +4 -0
- package/dist-es/pagination/ListNetworkMigrationMapperSegmentConstructsPaginator.js +4 -0
- package/dist-es/pagination/ListNetworkMigrationMapperSegmentsPaginator.js +4 -0
- package/dist-es/pagination/ListNetworkMigrationMappingUpdatesPaginator.js +4 -0
- package/dist-es/pagination/ListNetworkMigrationMappingsPaginator.js +4 -0
- package/dist-es/pagination/index.js +13 -0
- package/dist-es/schemas/schemas_0.js +840 -29
- package/dist-types/Mgn.d.ts +268 -0
- package/dist-types/MgnClient.d.ts +27 -2
- package/dist-types/commands/CreateNetworkMigrationDefinitionCommand.d.ts +198 -0
- package/dist-types/commands/DeleteNetworkMigrationDefinitionCommand.d.ts +94 -0
- package/dist-types/commands/GetNetworkMigrationDefinitionCommand.d.ts +150 -0
- package/dist-types/commands/GetNetworkMigrationMapperSegmentConstructCommand.d.ts +128 -0
- package/dist-types/commands/ListImportFileEnrichmentsCommand.d.ts +135 -0
- package/dist-types/commands/ListNetworkMigrationAnalysesCommand.d.ts +132 -0
- package/dist-types/commands/ListNetworkMigrationAnalysisResultsCommand.d.ts +146 -0
- package/dist-types/commands/ListNetworkMigrationCodeGenerationSegmentsCommand.d.ts +170 -0
- package/dist-types/commands/ListNetworkMigrationCodeGenerationsCommand.d.ts +138 -0
- package/dist-types/commands/ListNetworkMigrationDefinitionsCommand.d.ts +123 -0
- package/dist-types/commands/ListNetworkMigrationDeployedStacksCommand.d.ts +131 -0
- package/dist-types/commands/ListNetworkMigrationDeploymentsCommand.d.ts +132 -0
- package/dist-types/commands/ListNetworkMigrationExecutionsCommand.d.ts +131 -0
- package/dist-types/commands/ListNetworkMigrationMapperSegmentConstructsCommand.d.ts +173 -0
- package/dist-types/commands/ListNetworkMigrationMapperSegmentsCommand.d.ts +163 -0
- package/dist-types/commands/ListNetworkMigrationMappingUpdatesCommand.d.ts +132 -0
- package/dist-types/commands/ListNetworkMigrationMappingsCommand.d.ts +132 -0
- package/dist-types/commands/StartImportFileEnrichmentCommand.d.ts +125 -0
- package/dist-types/commands/StartNetworkMigrationAnalysisCommand.d.ts +109 -0
- package/dist-types/commands/StartNetworkMigrationCodeGenerationCommand.d.ts +112 -0
- package/dist-types/commands/StartNetworkMigrationDeploymentCommand.d.ts +109 -0
- package/dist-types/commands/StartNetworkMigrationMappingCommand.d.ts +110 -0
- package/dist-types/commands/StartNetworkMigrationMappingUpdateCommand.d.ts +156 -0
- package/dist-types/commands/UpdateNetworkMigrationDefinitionCommand.d.ts +199 -0
- package/dist-types/commands/UpdateNetworkMigrationMapperSegmentCommand.d.ts +148 -0
- package/dist-types/commands/index.d.ts +25 -0
- package/dist-types/models/enums.d.ts +282 -0
- package/dist-types/models/models_0.d.ts +2137 -22
- package/dist-types/pagination/ListImportFileEnrichmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNetworkMigrationAnalysesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNetworkMigrationAnalysisResultsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNetworkMigrationCodeGenerationSegmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNetworkMigrationCodeGenerationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNetworkMigrationDefinitionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNetworkMigrationDeployedStacksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNetworkMigrationDeploymentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNetworkMigrationExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNetworkMigrationMapperSegmentConstructsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNetworkMigrationMapperSegmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNetworkMigrationMappingUpdatesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNetworkMigrationMappingsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +13 -0
- package/dist-types/schemas/schemas_0.d.ts +116 -0
- package/dist-types/ts3.4/Mgn.d.ts +584 -0
- package/dist-types/ts3.4/MgnClient.d.ts +150 -0
- package/dist-types/ts3.4/commands/CreateNetworkMigrationDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteNetworkMigrationDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetNetworkMigrationDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetNetworkMigrationMapperSegmentConstructCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListImportFileEnrichmentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNetworkMigrationAnalysesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNetworkMigrationAnalysisResultsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNetworkMigrationCodeGenerationSegmentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNetworkMigrationCodeGenerationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNetworkMigrationDefinitionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNetworkMigrationDeployedStacksCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNetworkMigrationDeploymentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNetworkMigrationExecutionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNetworkMigrationMapperSegmentConstructsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNetworkMigrationMapperSegmentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNetworkMigrationMappingUpdatesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNetworkMigrationMappingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartImportFileEnrichmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartNetworkMigrationAnalysisCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartNetworkMigrationCodeGenerationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartNetworkMigrationDeploymentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartNetworkMigrationMappingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartNetworkMigrationMappingUpdateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateNetworkMigrationDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateNetworkMigrationMapperSegmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +25 -0
- package/dist-types/ts3.4/models/enums.d.ts +155 -0
- package/dist-types/ts3.4/models/models_0.d.ts +544 -0
- package/dist-types/ts3.4/pagination/ListImportFileEnrichmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNetworkMigrationAnalysesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNetworkMigrationAnalysisResultsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNetworkMigrationCodeGenerationSegmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNetworkMigrationCodeGenerationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNetworkMigrationDefinitionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNetworkMigrationDeployedStacksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNetworkMigrationDeploymentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNetworkMigrationExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNetworkMigrationMapperSegmentConstructsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNetworkMigrationMapperSegmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNetworkMigrationMappingUpdatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNetworkMigrationMappingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +13 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +116 -0
- package/package.json +33 -33
|
@@ -0,0 +1,135 @@
|
|
|
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 { ListImportFileEnrichmentsRequest, ListImportFileEnrichmentsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListImportFileEnrichmentsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListImportFileEnrichmentsCommandInput extends ListImportFileEnrichmentsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListImportFileEnrichmentsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListImportFileEnrichmentsCommandOutput extends ListImportFileEnrichmentsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListImportFileEnrichmentsCommand_base: {
|
|
25
|
+
new (input: ListImportFileEnrichmentsCommandInput): import("@smithy/smithy-client").CommandImpl<ListImportFileEnrichmentsCommandInput, ListImportFileEnrichmentsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListImportFileEnrichmentsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListImportFileEnrichmentsCommandInput, ListImportFileEnrichmentsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists import file enrichment jobs with optional filtering by job IDs.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MgnClient, ListImportFileEnrichmentsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
35
|
+
* // const { MgnClient, ListImportFileEnrichmentsCommand } = 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 = { // ListImportFileEnrichmentsRequest
|
|
40
|
+
* filters: { // ListImportFileEnrichmentsFilters
|
|
41
|
+
* jobIDs: [ // ImportFileEnrichmentsIDsFilter
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* maxResults: Number("int"),
|
|
46
|
+
* nextToken: "STRING_VALUE",
|
|
47
|
+
* };
|
|
48
|
+
* const command = new ListImportFileEnrichmentsCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // ListImportFileEnrichmentsResponse
|
|
51
|
+
* // items: [ // ImportFileEnrichmentsList
|
|
52
|
+
* // { // ImportFileEnrichment
|
|
53
|
+
* // jobID: "STRING_VALUE",
|
|
54
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
55
|
+
* // endedAt: new Date("TIMESTAMP"),
|
|
56
|
+
* // status: "STRING_VALUE",
|
|
57
|
+
* // statusDetails: "STRING_VALUE",
|
|
58
|
+
* // checksum: { // Checksum
|
|
59
|
+
* // encryptionAlgorithm: "STRING_VALUE",
|
|
60
|
+
* // hash: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // s3BucketTarget: { // EnrichmentTargetS3Configuration
|
|
63
|
+
* // s3Bucket: "STRING_VALUE", // required
|
|
64
|
+
* // s3BucketOwner: "STRING_VALUE", // required
|
|
65
|
+
* // s3Key: "STRING_VALUE", // required
|
|
66
|
+
* // },
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // nextToken: "STRING_VALUE",
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param ListImportFileEnrichmentsCommandInput - {@link ListImportFileEnrichmentsCommandInput}
|
|
75
|
+
* @returns {@link ListImportFileEnrichmentsCommandOutput}
|
|
76
|
+
* @see {@link ListImportFileEnrichmentsCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link ListImportFileEnrichmentsCommandOutput} for command's `response` shape.
|
|
78
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ValidationException} (client fault)
|
|
81
|
+
* <p>Validate exception.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link MgnServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from Mgn service.</p>
|
|
85
|
+
*
|
|
86
|
+
*
|
|
87
|
+
* @example Sample ListImportFileEnrichments call
|
|
88
|
+
* ```javascript
|
|
89
|
+
* //
|
|
90
|
+
* const input = {
|
|
91
|
+
* filters: {
|
|
92
|
+
* jobIDs: [
|
|
93
|
+
* "01234567-abcd-abcd-efab-0123456789ab"
|
|
94
|
+
* ]
|
|
95
|
+
* },
|
|
96
|
+
* maxResults: 10
|
|
97
|
+
* };
|
|
98
|
+
* const command = new ListImportFileEnrichmentsCommand(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
|
+
* s3BucketTarget: {
|
|
108
|
+
* s3Bucket: "my-target-bucket",
|
|
109
|
+
* s3BucketOwner: "123456789012",
|
|
110
|
+
* s3Key: "enriched/output.csv"
|
|
111
|
+
* },
|
|
112
|
+
* status: "SUCCEEDED",
|
|
113
|
+
* statusDetails: "Import file enrichment completed successfully"
|
|
114
|
+
* }
|
|
115
|
+
* ],
|
|
116
|
+
* nextToken: "NextTokenId"
|
|
117
|
+
* }
|
|
118
|
+
* *\/
|
|
119
|
+
* ```
|
|
120
|
+
*
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
export declare class ListImportFileEnrichmentsCommand extends ListImportFileEnrichmentsCommand_base {
|
|
124
|
+
/** @internal type navigation helper, not in runtime. */
|
|
125
|
+
protected static __types: {
|
|
126
|
+
api: {
|
|
127
|
+
input: ListImportFileEnrichmentsRequest;
|
|
128
|
+
output: ListImportFileEnrichmentsResponse;
|
|
129
|
+
};
|
|
130
|
+
sdk: {
|
|
131
|
+
input: ListImportFileEnrichmentsCommandInput;
|
|
132
|
+
output: ListImportFileEnrichmentsCommandOutput;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
}
|
|
@@ -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 { ListNetworkMigrationAnalysesRequest, ListNetworkMigrationAnalysesResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListNetworkMigrationAnalysesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListNetworkMigrationAnalysesCommandInput extends ListNetworkMigrationAnalysesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListNetworkMigrationAnalysesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListNetworkMigrationAnalysesCommandOutput extends ListNetworkMigrationAnalysesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListNetworkMigrationAnalysesCommand_base: {
|
|
25
|
+
new (input: ListNetworkMigrationAnalysesCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationAnalysesCommandInput, ListNetworkMigrationAnalysesCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListNetworkMigrationAnalysesCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationAnalysesCommandInput, ListNetworkMigrationAnalysesCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists network migration analysis jobs for a specified execution. Returns information about analysis job status and results.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MgnClient, ListNetworkMigrationAnalysesCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
35
|
+
* // const { MgnClient, ListNetworkMigrationAnalysesCommand } = 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 = { // ListNetworkMigrationAnalysesRequest
|
|
40
|
+
* networkMigrationExecutionID: "STRING_VALUE", // required
|
|
41
|
+
* networkMigrationDefinitionID: "STRING_VALUE", // required
|
|
42
|
+
* filters: { // ListNetworkMigrationAnalysesFilters
|
|
43
|
+
* jobIDs: [ // ListNetworkMigrationAnalysesIDsFilter
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* maxResults: Number("int"),
|
|
48
|
+
* nextToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new ListNetworkMigrationAnalysesCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // ListNetworkMigrationAnalysesResponse
|
|
53
|
+
* // items: [ // NetworkMigrationAnalysesList
|
|
54
|
+
* // { // NetworkMigrationAnalysisJobDetails
|
|
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 ListNetworkMigrationAnalysesCommandInput - {@link ListNetworkMigrationAnalysesCommandInput}
|
|
70
|
+
* @returns {@link ListNetworkMigrationAnalysesCommandOutput}
|
|
71
|
+
* @see {@link ListNetworkMigrationAnalysesCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link ListNetworkMigrationAnalysesCommandOutput} 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 ListNetworkMigrationAnalyses call
|
|
92
|
+
* ```javascript
|
|
93
|
+
* //
|
|
94
|
+
* const input = {
|
|
95
|
+
* networkMigrationDefinitionID: "nmd-01234567891234567",
|
|
96
|
+
* networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab"
|
|
97
|
+
* };
|
|
98
|
+
* const command = new ListNetworkMigrationAnalysesCommand(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 ListNetworkMigrationAnalysesCommand extends ListNetworkMigrationAnalysesCommand_base {
|
|
121
|
+
/** @internal type navigation helper, not in runtime. */
|
|
122
|
+
protected static __types: {
|
|
123
|
+
api: {
|
|
124
|
+
input: ListNetworkMigrationAnalysesRequest;
|
|
125
|
+
output: ListNetworkMigrationAnalysesResponse;
|
|
126
|
+
};
|
|
127
|
+
sdk: {
|
|
128
|
+
input: ListNetworkMigrationAnalysesCommandInput;
|
|
129
|
+
output: ListNetworkMigrationAnalysesCommandOutput;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
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 { ListNetworkMigrationAnalysisResultsRequest, ListNetworkMigrationAnalysisResultsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListNetworkMigrationAnalysisResultsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListNetworkMigrationAnalysisResultsCommandInput extends ListNetworkMigrationAnalysisResultsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListNetworkMigrationAnalysisResultsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListNetworkMigrationAnalysisResultsCommandOutput extends ListNetworkMigrationAnalysisResultsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListNetworkMigrationAnalysisResultsCommand_base: {
|
|
25
|
+
new (input: ListNetworkMigrationAnalysisResultsCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationAnalysisResultsCommandInput, ListNetworkMigrationAnalysisResultsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListNetworkMigrationAnalysisResultsCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationAnalysisResultsCommandInput, ListNetworkMigrationAnalysisResultsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the results of network migration analyses, showing connectivity and compatibility findings for migrated 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, ListNetworkMigrationAnalysisResultsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
35
|
+
* // const { MgnClient, ListNetworkMigrationAnalysisResultsCommand } = 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 = { // ListNetworkMigrationAnalysisResultsRequest
|
|
40
|
+
* networkMigrationExecutionID: "STRING_VALUE", // required
|
|
41
|
+
* networkMigrationDefinitionID: "STRING_VALUE", // required
|
|
42
|
+
* filters: { // ListNetworkMigrationAnalysisResultsFilters
|
|
43
|
+
* vpcIDs: [ // VpcIDsFilter
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* maxResults: Number("int"),
|
|
48
|
+
* nextToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new ListNetworkMigrationAnalysisResultsCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // ListNetworkMigrationAnalysisResultsResponse
|
|
53
|
+
* // items: [ // NetworkMigrationAnalysisResultsList
|
|
54
|
+
* // { // NetworkMigrationAnalysisResult
|
|
55
|
+
* // jobID: "STRING_VALUE",
|
|
56
|
+
* // networkMigrationExecutionID: "STRING_VALUE",
|
|
57
|
+
* // networkMigrationDefinitionID: "STRING_VALUE",
|
|
58
|
+
* // analyzerType: "STRING_VALUE",
|
|
59
|
+
* // source: { // NetworkMigrationAnalysisResultSource
|
|
60
|
+
* // vpcID: "STRING_VALUE",
|
|
61
|
+
* // subnetID: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // target: { // NetworkMigrationAnalysisResultTarget
|
|
64
|
+
* // vpcID: "STRING_VALUE",
|
|
65
|
+
* // subnetID: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // status: "STRING_VALUE",
|
|
68
|
+
* // analysisResult: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // nextToken: "STRING_VALUE",
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* @param ListNetworkMigrationAnalysisResultsCommandInput - {@link ListNetworkMigrationAnalysisResultsCommandInput}
|
|
77
|
+
* @returns {@link ListNetworkMigrationAnalysisResultsCommandOutput}
|
|
78
|
+
* @see {@link ListNetworkMigrationAnalysisResultsCommandInput} for command's `input` shape.
|
|
79
|
+
* @see {@link ListNetworkMigrationAnalysisResultsCommandOutput} 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 ListNetworkMigrationAnalysisResults call
|
|
99
|
+
* ```javascript
|
|
100
|
+
* //
|
|
101
|
+
* const input = {
|
|
102
|
+
* networkMigrationDefinitionID: "nmd-01234567891234567",
|
|
103
|
+
* networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab"
|
|
104
|
+
* };
|
|
105
|
+
* const command = new ListNetworkMigrationAnalysisResultsCommand(input);
|
|
106
|
+
* const response = await client.send(command);
|
|
107
|
+
* /* response is
|
|
108
|
+
* {
|
|
109
|
+
* items: [
|
|
110
|
+
* {
|
|
111
|
+
* analysisResult: "analysis result",
|
|
112
|
+
* analyzerType: "REACHABILITY_ANALYZER",
|
|
113
|
+
* jobID: "01234567-abcd-abcd-efab-0123456789ab",
|
|
114
|
+
* networkMigrationDefinitionID: "nmd-01234567891234567",
|
|
115
|
+
* networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab",
|
|
116
|
+
* source: {
|
|
117
|
+
* subnetID: "subnet-12345678",
|
|
118
|
+
* vpcID: "vpc-12345678"
|
|
119
|
+
* },
|
|
120
|
+
* status: "SUCCEEDED",
|
|
121
|
+
* target: {
|
|
122
|
+
* subnetID: "subnet-01234567",
|
|
123
|
+
* vpcID: "vpc-01234567"
|
|
124
|
+
* }
|
|
125
|
+
* }
|
|
126
|
+
* ],
|
|
127
|
+
* nextToken: "NextTokenId"
|
|
128
|
+
* }
|
|
129
|
+
* *\/
|
|
130
|
+
* ```
|
|
131
|
+
*
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
export declare class ListNetworkMigrationAnalysisResultsCommand extends ListNetworkMigrationAnalysisResultsCommand_base {
|
|
135
|
+
/** @internal type navigation helper, not in runtime. */
|
|
136
|
+
protected static __types: {
|
|
137
|
+
api: {
|
|
138
|
+
input: ListNetworkMigrationAnalysisResultsRequest;
|
|
139
|
+
output: ListNetworkMigrationAnalysisResultsResponse;
|
|
140
|
+
};
|
|
141
|
+
sdk: {
|
|
142
|
+
input: ListNetworkMigrationAnalysisResultsCommandInput;
|
|
143
|
+
output: ListNetworkMigrationAnalysisResultsCommandOutput;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
}
|
|
@@ -0,0 +1,170 @@
|
|
|
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 { ListNetworkMigrationCodeGenerationSegmentsRequest, ListNetworkMigrationCodeGenerationSegmentsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListNetworkMigrationCodeGenerationSegmentsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListNetworkMigrationCodeGenerationSegmentsCommandInput extends ListNetworkMigrationCodeGenerationSegmentsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListNetworkMigrationCodeGenerationSegmentsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListNetworkMigrationCodeGenerationSegmentsCommandOutput extends ListNetworkMigrationCodeGenerationSegmentsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListNetworkMigrationCodeGenerationSegmentsCommand_base: {
|
|
25
|
+
new (input: ListNetworkMigrationCodeGenerationSegmentsCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationCodeGenerationSegmentsCommandInput, ListNetworkMigrationCodeGenerationSegmentsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListNetworkMigrationCodeGenerationSegmentsCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationCodeGenerationSegmentsCommandInput, ListNetworkMigrationCodeGenerationSegmentsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists code generation segments, which represent individual infrastructure components generated 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, ListNetworkMigrationCodeGenerationSegmentsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
35
|
+
* // const { MgnClient, ListNetworkMigrationCodeGenerationSegmentsCommand } = 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 = { // ListNetworkMigrationCodeGenerationSegmentsRequest
|
|
40
|
+
* networkMigrationExecutionID: "STRING_VALUE", // required
|
|
41
|
+
* networkMigrationDefinitionID: "STRING_VALUE", // required
|
|
42
|
+
* filters: { // ListNetworkMigrationCodeGenerationSegmentsFilters
|
|
43
|
+
* segmentIDs: [ // ListNetworkMigrationCodeGenerationSegmentsIDsFilter
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* maxResults: Number("int"),
|
|
48
|
+
* nextToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new ListNetworkMigrationCodeGenerationSegmentsCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // ListNetworkMigrationCodeGenerationSegmentsResponse
|
|
53
|
+
* // items: [ // NetworkMigrationCodeGenerationSegmentsList
|
|
54
|
+
* // { // NetworkMigrationCodeGenerationSegment
|
|
55
|
+
* // jobID: "STRING_VALUE",
|
|
56
|
+
* // networkMigrationExecutionID: "STRING_VALUE",
|
|
57
|
+
* // networkMigrationDefinitionID: "STRING_VALUE",
|
|
58
|
+
* // segmentID: "STRING_VALUE",
|
|
59
|
+
* // segmentType: "STRING_VALUE",
|
|
60
|
+
* // logicalID: "STRING_VALUE",
|
|
61
|
+
* // mapperSegmentID: "STRING_VALUE",
|
|
62
|
+
* // artifacts: [ // NetworkMigrationCodeGenerationArtifacts
|
|
63
|
+
* // { // NetworkMigrationCodeGenerationArtifact
|
|
64
|
+
* // artifactID: "STRING_VALUE",
|
|
65
|
+
* // artifactType: "STRING_VALUE",
|
|
66
|
+
* // artifactSubType: "STRING_VALUE",
|
|
67
|
+
* // logicalID: "STRING_VALUE",
|
|
68
|
+
* // outputS3Configuration: { // S3Configuration
|
|
69
|
+
* // s3Bucket: "STRING_VALUE",
|
|
70
|
+
* // s3BucketOwner: "STRING_VALUE",
|
|
71
|
+
* // s3Key: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // checksum: { // Checksum
|
|
74
|
+
* // encryptionAlgorithm: "STRING_VALUE",
|
|
75
|
+
* // hash: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // nextToken: "STRING_VALUE",
|
|
84
|
+
* // };
|
|
85
|
+
*
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* @param ListNetworkMigrationCodeGenerationSegmentsCommandInput - {@link ListNetworkMigrationCodeGenerationSegmentsCommandInput}
|
|
89
|
+
* @returns {@link ListNetworkMigrationCodeGenerationSegmentsCommandOutput}
|
|
90
|
+
* @see {@link ListNetworkMigrationCodeGenerationSegmentsCommandInput} for command's `input` shape.
|
|
91
|
+
* @see {@link ListNetworkMigrationCodeGenerationSegmentsCommandOutput} 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 ListNetworkMigrationCodeGenerationSegments call
|
|
111
|
+
* ```javascript
|
|
112
|
+
* //
|
|
113
|
+
* const input = {
|
|
114
|
+
* networkMigrationDefinitionID: "nmd-01234567891234567",
|
|
115
|
+
* networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab"
|
|
116
|
+
* };
|
|
117
|
+
* const command = new ListNetworkMigrationCodeGenerationSegmentsCommand(input);
|
|
118
|
+
* const response = await client.send(command);
|
|
119
|
+
* /* response is
|
|
120
|
+
* {
|
|
121
|
+
* items: [
|
|
122
|
+
* {
|
|
123
|
+
* artifacts: [
|
|
124
|
+
* {
|
|
125
|
+
* artifactID: "a2345678-abcd-abcd-efab-0123456789ab",
|
|
126
|
+
* artifactSubType: "STACK",
|
|
127
|
+
* artifactType: "CDK_TYPESCRIPT",
|
|
128
|
+
* checksum: {
|
|
129
|
+
* encryptionAlgorithm: "SHA256",
|
|
130
|
+
* hash: "0123456789aAbBcCdDeEfF0123456789"
|
|
131
|
+
* },
|
|
132
|
+
* createdAt: 1735334198,
|
|
133
|
+
* logicalID: "logical-id2",
|
|
134
|
+
* outputS3Configuration: {
|
|
135
|
+
* s3Bucket: "s3_bucket",
|
|
136
|
+
* s3BucketOwner: "012345678901",
|
|
137
|
+
* s3Key: "S3KeyName"
|
|
138
|
+
* }
|
|
139
|
+
* }
|
|
140
|
+
* ],
|
|
141
|
+
* createdAt: 1735334198,
|
|
142
|
+
* jobID: "01234567-abcd-abcd-efab-0123456789ab",
|
|
143
|
+
* logicalID: "logical-id1",
|
|
144
|
+
* mapperSegmentID: "12345678-abcd-abcd-efab-0123456789ab",
|
|
145
|
+
* networkMigrationDefinitionID: "nmd-01234567891234567",
|
|
146
|
+
* networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab",
|
|
147
|
+
* segmentID: "12345678-abcd-abcd-efab-0123456789ab",
|
|
148
|
+
* segmentType: "WORKLOAD"
|
|
149
|
+
* }
|
|
150
|
+
* ],
|
|
151
|
+
* nextToken: "NextTokenId"
|
|
152
|
+
* }
|
|
153
|
+
* *\/
|
|
154
|
+
* ```
|
|
155
|
+
*
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
158
|
+
export declare class ListNetworkMigrationCodeGenerationSegmentsCommand extends ListNetworkMigrationCodeGenerationSegmentsCommand_base {
|
|
159
|
+
/** @internal type navigation helper, not in runtime. */
|
|
160
|
+
protected static __types: {
|
|
161
|
+
api: {
|
|
162
|
+
input: ListNetworkMigrationCodeGenerationSegmentsRequest;
|
|
163
|
+
output: ListNetworkMigrationCodeGenerationSegmentsResponse;
|
|
164
|
+
};
|
|
165
|
+
sdk: {
|
|
166
|
+
input: ListNetworkMigrationCodeGenerationSegmentsCommandInput;
|
|
167
|
+
output: ListNetworkMigrationCodeGenerationSegmentsCommandOutput;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
}
|