@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.
- 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,138 @@
|
|
|
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 { ListNetworkMigrationCodeGenerationsRequest, ListNetworkMigrationCodeGenerationsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListNetworkMigrationCodeGenerationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListNetworkMigrationCodeGenerationsCommandInput extends ListNetworkMigrationCodeGenerationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListNetworkMigrationCodeGenerationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListNetworkMigrationCodeGenerationsCommandOutput extends ListNetworkMigrationCodeGenerationsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListNetworkMigrationCodeGenerationsCommand_base: {
|
|
25
|
+
new (input: ListNetworkMigrationCodeGenerationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationCodeGenerationsCommandInput, ListNetworkMigrationCodeGenerationsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListNetworkMigrationCodeGenerationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationCodeGenerationsCommandInput, ListNetworkMigrationCodeGenerationsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists network migration code generation jobs, which convert network mappings into infrastructure-as-code templates.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MgnClient, ListNetworkMigrationCodeGenerationsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
35
|
+
* // const { MgnClient, ListNetworkMigrationCodeGenerationsCommand } = 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 = { // ListNetworkMigrationCodeGenerationsRequest
|
|
40
|
+
* networkMigrationExecutionID: "STRING_VALUE", // required
|
|
41
|
+
* networkMigrationDefinitionID: "STRING_VALUE", // required
|
|
42
|
+
* filters: { // ListNetworkMigrationCodeGenerationsFilters
|
|
43
|
+
* jobIDs: [ // ListNetworkMigrationCodeGenerationsIDsFilter
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* maxResults: Number("int"),
|
|
48
|
+
* nextToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new ListNetworkMigrationCodeGenerationsCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // ListNetworkMigrationCodeGenerationsResponse
|
|
53
|
+
* // items: [ // NetworkMigrationCodeGenerationsList
|
|
54
|
+
* // { // NetworkMigrationCodeGenerationJobDetails
|
|
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
|
+
* // codeGenerationOutputFormatStatusDetailsMap: { // CodeGenerationOutputFormatStatusDetailsMap
|
|
63
|
+
* // "<keys>": { // CodeGenerationOutputFormatStatusDetails
|
|
64
|
+
* // status: "STRING_VALUE",
|
|
65
|
+
* // statusDetailList: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // },
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // nextToken: "STRING_VALUE",
|
|
71
|
+
* // };
|
|
72
|
+
*
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @param ListNetworkMigrationCodeGenerationsCommandInput - {@link ListNetworkMigrationCodeGenerationsCommandInput}
|
|
76
|
+
* @returns {@link ListNetworkMigrationCodeGenerationsCommandOutput}
|
|
77
|
+
* @see {@link ListNetworkMigrationCodeGenerationsCommandInput} for command's `input` shape.
|
|
78
|
+
* @see {@link ListNetworkMigrationCodeGenerationsCommandOutput} for command's `response` shape.
|
|
79
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
82
|
+
* <p>Operating denied due to a file permission or access check error.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
85
|
+
* <p>Resource not found exception.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
88
|
+
* <p>Reached throttling quota exception.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ValidationException} (client fault)
|
|
91
|
+
* <p>Validate exception.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link MgnServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from Mgn service.</p>
|
|
95
|
+
*
|
|
96
|
+
*
|
|
97
|
+
* @example Sample ListNetworkMigrationCodeGenerations call
|
|
98
|
+
* ```javascript
|
|
99
|
+
* //
|
|
100
|
+
* const input = {
|
|
101
|
+
* networkMigrationDefinitionID: "nmd-01234567891234567",
|
|
102
|
+
* networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab"
|
|
103
|
+
* };
|
|
104
|
+
* const command = new ListNetworkMigrationCodeGenerationsCommand(input);
|
|
105
|
+
* const response = await client.send(command);
|
|
106
|
+
* /* response is
|
|
107
|
+
* {
|
|
108
|
+
* items: [
|
|
109
|
+
* {
|
|
110
|
+
* createdAt: 1735334198,
|
|
111
|
+
* endedAt: 1735334258,
|
|
112
|
+
* jobID: "01234567-abcd-abcd-efab-0123456789ab",
|
|
113
|
+
* networkMigrationDefinitionID: "nmd-01234567891234567",
|
|
114
|
+
* networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab",
|
|
115
|
+
* status: "SUCCEEDED",
|
|
116
|
+
* statusDetails: "Job status details"
|
|
117
|
+
* }
|
|
118
|
+
* ],
|
|
119
|
+
* nextToken: "NextTokenId"
|
|
120
|
+
* }
|
|
121
|
+
* *\/
|
|
122
|
+
* ```
|
|
123
|
+
*
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
export declare class ListNetworkMigrationCodeGenerationsCommand extends ListNetworkMigrationCodeGenerationsCommand_base {
|
|
127
|
+
/** @internal type navigation helper, not in runtime. */
|
|
128
|
+
protected static __types: {
|
|
129
|
+
api: {
|
|
130
|
+
input: ListNetworkMigrationCodeGenerationsRequest;
|
|
131
|
+
output: ListNetworkMigrationCodeGenerationsResponse;
|
|
132
|
+
};
|
|
133
|
+
sdk: {
|
|
134
|
+
input: ListNetworkMigrationCodeGenerationsCommandInput;
|
|
135
|
+
output: ListNetworkMigrationCodeGenerationsCommandOutput;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
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 { ListNetworkMigrationDefinitionsRequest, ListNetworkMigrationDefinitionsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListNetworkMigrationDefinitionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListNetworkMigrationDefinitionsCommandInput extends ListNetworkMigrationDefinitionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListNetworkMigrationDefinitionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListNetworkMigrationDefinitionsCommandOutput extends ListNetworkMigrationDefinitionsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListNetworkMigrationDefinitionsCommand_base: {
|
|
25
|
+
new (input: ListNetworkMigrationDefinitionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationDefinitionsCommandInput, ListNetworkMigrationDefinitionsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListNetworkMigrationDefinitionsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationDefinitionsCommandInput, ListNetworkMigrationDefinitionsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all network migration definitions in the account, with optional filtering.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MgnClient, ListNetworkMigrationDefinitionsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
35
|
+
* // const { MgnClient, ListNetworkMigrationDefinitionsCommand } = 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 = { // ListNetworkMigrationDefinitionsRequest
|
|
40
|
+
* filters: { // ListNetworkMigrationDefinitionsRequestFilters
|
|
41
|
+
* networkMigrationDefinitionIDs: [ // NetworkMigrationDefintionsIDsFilter
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* nextToken: "STRING_VALUE",
|
|
46
|
+
* maxResults: Number("int"),
|
|
47
|
+
* };
|
|
48
|
+
* const command = new ListNetworkMigrationDefinitionsCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // ListNetworkMigrationDefinitionsResponse
|
|
51
|
+
* // items: [ // NetworkMigrationDefinitionSummariesList
|
|
52
|
+
* // { // NetworkMigrationDefinitionSummary
|
|
53
|
+
* // networkMigrationDefinitionID: "STRING_VALUE",
|
|
54
|
+
* // name: "STRING_VALUE",
|
|
55
|
+
* // sourceEnvironment: "STRING_VALUE",
|
|
56
|
+
* // arn: "STRING_VALUE",
|
|
57
|
+
* // tags: { // TagsMap
|
|
58
|
+
* // "<keys>": "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // scopeTags: { // ScopeTagsMap
|
|
61
|
+
* // "<keys>": "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // nextToken: "STRING_VALUE",
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param ListNetworkMigrationDefinitionsCommandInput - {@link ListNetworkMigrationDefinitionsCommandInput}
|
|
71
|
+
* @returns {@link ListNetworkMigrationDefinitionsCommandOutput}
|
|
72
|
+
* @see {@link ListNetworkMigrationDefinitionsCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link ListNetworkMigrationDefinitionsCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
77
|
+
* <p>Operating denied due to a file permission or access check error.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link MgnServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from Mgn service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @example Sample ListNetworkMigrationDefinitions call
|
|
84
|
+
* ```javascript
|
|
85
|
+
* //
|
|
86
|
+
* const input = {
|
|
87
|
+
* filters: {
|
|
88
|
+
* networkMigrationDefinitionIDs: [
|
|
89
|
+
* "nmd-01234567891234567"
|
|
90
|
+
* ]
|
|
91
|
+
* }
|
|
92
|
+
* };
|
|
93
|
+
* const command = new ListNetworkMigrationDefinitionsCommand(input);
|
|
94
|
+
* const response = await client.send(command);
|
|
95
|
+
* /* response is
|
|
96
|
+
* {
|
|
97
|
+
* items: [
|
|
98
|
+
* {
|
|
99
|
+
* name: "network1",
|
|
100
|
+
* networkMigrationDefinitionID: "nmd-01234567891234567",
|
|
101
|
+
* sourceEnvironment: "NSX"
|
|
102
|
+
* }
|
|
103
|
+
* ],
|
|
104
|
+
* nextToken: "NextTokenId"
|
|
105
|
+
* }
|
|
106
|
+
* *\/
|
|
107
|
+
* ```
|
|
108
|
+
*
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class ListNetworkMigrationDefinitionsCommand extends ListNetworkMigrationDefinitionsCommand_base {
|
|
112
|
+
/** @internal type navigation helper, not in runtime. */
|
|
113
|
+
protected static __types: {
|
|
114
|
+
api: {
|
|
115
|
+
input: ListNetworkMigrationDefinitionsRequest;
|
|
116
|
+
output: ListNetworkMigrationDefinitionsResponse;
|
|
117
|
+
};
|
|
118
|
+
sdk: {
|
|
119
|
+
input: ListNetworkMigrationDefinitionsCommandInput;
|
|
120
|
+
output: ListNetworkMigrationDefinitionsCommandOutput;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
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 { ListNetworkMigrationDeployedStacksRequest, ListNetworkMigrationDeployedStacksResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListNetworkMigrationDeployedStacksCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListNetworkMigrationDeployedStacksCommandInput extends ListNetworkMigrationDeployedStacksRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListNetworkMigrationDeployedStacksCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListNetworkMigrationDeployedStacksCommandOutput extends ListNetworkMigrationDeployedStacksResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListNetworkMigrationDeployedStacksCommand_base: {
|
|
25
|
+
new (input: ListNetworkMigrationDeployedStacksCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationDeployedStacksCommandInput, ListNetworkMigrationDeployedStacksCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListNetworkMigrationDeployedStacksCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationDeployedStacksCommandInput, ListNetworkMigrationDeployedStacksCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists CloudFormation stacks that have been deployed as part of the network 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, ListNetworkMigrationDeployedStacksCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
35
|
+
* // const { MgnClient, ListNetworkMigrationDeployedStacksCommand } = 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 = { // ListNetworkMigrationDeployedStacksRequest
|
|
40
|
+
* networkMigrationExecutionID: "STRING_VALUE", // required
|
|
41
|
+
* networkMigrationDefinitionID: "STRING_VALUE", // required
|
|
42
|
+
* maxResults: Number("int"),
|
|
43
|
+
* nextToken: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListNetworkMigrationDeployedStacksCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListNetworkMigrationDeployedStacksResponse
|
|
48
|
+
* // items: [ // NetworkMigrationDeployedStacksList
|
|
49
|
+
* // { // NetworkMigrationDeployedStackDetails
|
|
50
|
+
* // status: "STRING_VALUE",
|
|
51
|
+
* // stackPhysicalID: "STRING_VALUE",
|
|
52
|
+
* // stackLogicalID: "STRING_VALUE",
|
|
53
|
+
* // segmentID: "STRING_VALUE",
|
|
54
|
+
* // targetAccount: "STRING_VALUE",
|
|
55
|
+
* // failedResources: [ // NetworkMigrationFailedResourcesList
|
|
56
|
+
* // { // NetworkMigrationFailedResourceDetails
|
|
57
|
+
* // logicalID: "STRING_VALUE",
|
|
58
|
+
* // status: "STRING_VALUE",
|
|
59
|
+
* // statusReason: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // nextToken: "STRING_VALUE",
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param ListNetworkMigrationDeployedStacksCommandInput - {@link ListNetworkMigrationDeployedStacksCommandInput}
|
|
70
|
+
* @returns {@link ListNetworkMigrationDeployedStacksCommandOutput}
|
|
71
|
+
* @see {@link ListNetworkMigrationDeployedStacksCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link ListNetworkMigrationDeployedStacksCommandOutput} 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 ListNetworkMigrationDeployedStacks call
|
|
92
|
+
* ```javascript
|
|
93
|
+
* //
|
|
94
|
+
* const input = {
|
|
95
|
+
* networkMigrationDefinitionID: "nmd-01234567891234567",
|
|
96
|
+
* networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab"
|
|
97
|
+
* };
|
|
98
|
+
* const command = new ListNetworkMigrationDeployedStacksCommand(input);
|
|
99
|
+
* const response = await client.send(command);
|
|
100
|
+
* /* response is
|
|
101
|
+
* {
|
|
102
|
+
* items: [
|
|
103
|
+
* {
|
|
104
|
+
* failedResources: [],
|
|
105
|
+
* segmentID: "12345678-abcd-abcd-efab-0123456789ab",
|
|
106
|
+
* stackLogicalID: "logical-id1",
|
|
107
|
+
* stackPhysicalID: "arn:aws:cloudformation:us-east-1:012345678901:stack/ExampleStack/b2345678-abcd-abcd-efab-0123456789ab",
|
|
108
|
+
* status: "CREATE_STARTED",
|
|
109
|
+
* targetAccount: "234567890123"
|
|
110
|
+
* }
|
|
111
|
+
* ],
|
|
112
|
+
* nextToken: "NextTokenId"
|
|
113
|
+
* }
|
|
114
|
+
* *\/
|
|
115
|
+
* ```
|
|
116
|
+
*
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
export declare class ListNetworkMigrationDeployedStacksCommand extends ListNetworkMigrationDeployedStacksCommand_base {
|
|
120
|
+
/** @internal type navigation helper, not in runtime. */
|
|
121
|
+
protected static __types: {
|
|
122
|
+
api: {
|
|
123
|
+
input: ListNetworkMigrationDeployedStacksRequest;
|
|
124
|
+
output: ListNetworkMigrationDeployedStacksResponse;
|
|
125
|
+
};
|
|
126
|
+
sdk: {
|
|
127
|
+
input: ListNetworkMigrationDeployedStacksCommandInput;
|
|
128
|
+
output: ListNetworkMigrationDeployedStacksCommandOutput;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
}
|
|
@@ -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 { ListNetworkMigrationDeployerJobResponse, ListNetworkMigrationDeploymentsRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListNetworkMigrationDeploymentsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListNetworkMigrationDeploymentsCommandInput extends ListNetworkMigrationDeploymentsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListNetworkMigrationDeploymentsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListNetworkMigrationDeploymentsCommandOutput extends ListNetworkMigrationDeployerJobResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListNetworkMigrationDeploymentsCommand_base: {
|
|
25
|
+
new (input: ListNetworkMigrationDeploymentsCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationDeploymentsCommandInput, ListNetworkMigrationDeploymentsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListNetworkMigrationDeploymentsCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationDeploymentsCommandInput, ListNetworkMigrationDeploymentsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists network migration deployment jobs and their current status.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MgnClient, ListNetworkMigrationDeploymentsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
35
|
+
* // const { MgnClient, ListNetworkMigrationDeploymentsCommand } = 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 = { // ListNetworkMigrationDeploymentsRequest
|
|
40
|
+
* networkMigrationExecutionID: "STRING_VALUE", // required
|
|
41
|
+
* networkMigrationDefinitionID: "STRING_VALUE", // required
|
|
42
|
+
* filters: { // ListNetworkMigrationDeployerJobFilters
|
|
43
|
+
* jobIDs: [ // ListNetworkMigrationDeployerJobIDsFilters
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* maxResults: Number("int"),
|
|
48
|
+
* nextToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new ListNetworkMigrationDeploymentsCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // ListNetworkMigrationDeployerJobResponse
|
|
53
|
+
* // items: [ // NetworkMigrationDeployerJobList
|
|
54
|
+
* // { // NetworkMigrationDeployerJobDetails
|
|
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 ListNetworkMigrationDeploymentsCommandInput - {@link ListNetworkMigrationDeploymentsCommandInput}
|
|
70
|
+
* @returns {@link ListNetworkMigrationDeploymentsCommandOutput}
|
|
71
|
+
* @see {@link ListNetworkMigrationDeploymentsCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link ListNetworkMigrationDeploymentsCommandOutput} 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 ListNetworkMigrationDeployments call
|
|
92
|
+
* ```javascript
|
|
93
|
+
* //
|
|
94
|
+
* const input = {
|
|
95
|
+
* networkMigrationDefinitionID: "nmd-01234567891234567",
|
|
96
|
+
* networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab"
|
|
97
|
+
* };
|
|
98
|
+
* const command = new ListNetworkMigrationDeploymentsCommand(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 ListNetworkMigrationDeploymentsCommand extends ListNetworkMigrationDeploymentsCommand_base {
|
|
121
|
+
/** @internal type navigation helper, not in runtime. */
|
|
122
|
+
protected static __types: {
|
|
123
|
+
api: {
|
|
124
|
+
input: ListNetworkMigrationDeploymentsRequest;
|
|
125
|
+
output: ListNetworkMigrationDeployerJobResponse;
|
|
126
|
+
};
|
|
127
|
+
sdk: {
|
|
128
|
+
input: ListNetworkMigrationDeploymentsCommandInput;
|
|
129
|
+
output: ListNetworkMigrationDeploymentsCommandOutput;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
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 { ListNetworkMigrationExecutionsRequest, ListNetworkMigrationExecutionsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListNetworkMigrationExecutionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListNetworkMigrationExecutionsCommandInput extends ListNetworkMigrationExecutionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListNetworkMigrationExecutionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListNetworkMigrationExecutionsCommandOutput extends ListNetworkMigrationExecutionsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListNetworkMigrationExecutionsCommand_base: {
|
|
25
|
+
new (input: ListNetworkMigrationExecutionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationExecutionsCommandInput, ListNetworkMigrationExecutionsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListNetworkMigrationExecutionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListNetworkMigrationExecutionsCommandInput, ListNetworkMigrationExecutionsCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists network migration execution instances for a given definition, showing the status and progress of each execution.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MgnClient, ListNetworkMigrationExecutionsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
35
|
+
* // const { MgnClient, ListNetworkMigrationExecutionsCommand } = 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 = { // ListNetworkMigrationExecutionsRequest
|
|
40
|
+
* networkMigrationDefinitionID: "STRING_VALUE", // required
|
|
41
|
+
* filters: { // ListNetworkMigrationExecutionRequestFilters
|
|
42
|
+
* networkMigrationExecutionIDs: [ // NetworkMigrationExecutionIDsFilter
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* networkMigrationExecutionStatuses: [ // NetworkMigrationExecutionStatusesFilter
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* nextToken: "STRING_VALUE",
|
|
50
|
+
* maxResults: Number("int"),
|
|
51
|
+
* };
|
|
52
|
+
* const command = new ListNetworkMigrationExecutionsCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // ListNetworkMigrationExecutionsResponse
|
|
55
|
+
* // items: [ // NetworkMigrationExecutionsList
|
|
56
|
+
* // { // NetworkMigrationExecution
|
|
57
|
+
* // networkMigrationDefinitionID: "STRING_VALUE",
|
|
58
|
+
* // networkMigrationExecutionID: "STRING_VALUE",
|
|
59
|
+
* // status: "STRING_VALUE",
|
|
60
|
+
* // stage: "STRING_VALUE",
|
|
61
|
+
* // activity: "STRING_VALUE",
|
|
62
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
63
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
64
|
+
* // tags: { // TagsMap
|
|
65
|
+
* // "<keys>": "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // nextToken: "STRING_VALUE",
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param ListNetworkMigrationExecutionsCommandInput - {@link ListNetworkMigrationExecutionsCommandInput}
|
|
75
|
+
* @returns {@link ListNetworkMigrationExecutionsCommandOutput}
|
|
76
|
+
* @see {@link ListNetworkMigrationExecutionsCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link ListNetworkMigrationExecutionsCommandOutput} for command's `response` shape.
|
|
78
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
81
|
+
* <p>Operating denied due to a file permission or access check error.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* <p>Resource not found exception.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link MgnServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from Mgn service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @example Sample ListNetworkMigrationExecutions call
|
|
91
|
+
* ```javascript
|
|
92
|
+
* //
|
|
93
|
+
* const input = {
|
|
94
|
+
* networkMigrationDefinitionID: "nmd-01234567891234567"
|
|
95
|
+
* };
|
|
96
|
+
* const command = new ListNetworkMigrationExecutionsCommand(input);
|
|
97
|
+
* const response = await client.send(command);
|
|
98
|
+
* /* response is
|
|
99
|
+
* {
|
|
100
|
+
* items: [
|
|
101
|
+
* {
|
|
102
|
+
* activity: "CODE_GENERATION",
|
|
103
|
+
* createdAt: 1735334198,
|
|
104
|
+
* networkMigrationDefinitionID: "nmd-01234567891234567",
|
|
105
|
+
* networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab",
|
|
106
|
+
* stage: "CODE_GENERATION",
|
|
107
|
+
* status: "SUCCEEDED",
|
|
108
|
+
* tags: { /* empty *\/ },
|
|
109
|
+
* updatedAt: 1735334198
|
|
110
|
+
* }
|
|
111
|
+
* ],
|
|
112
|
+
* nextToken: "NextTokenId"
|
|
113
|
+
* }
|
|
114
|
+
* *\/
|
|
115
|
+
* ```
|
|
116
|
+
*
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
export declare class ListNetworkMigrationExecutionsCommand extends ListNetworkMigrationExecutionsCommand_base {
|
|
120
|
+
/** @internal type navigation helper, not in runtime. */
|
|
121
|
+
protected static __types: {
|
|
122
|
+
api: {
|
|
123
|
+
input: ListNetworkMigrationExecutionsRequest;
|
|
124
|
+
output: ListNetworkMigrationExecutionsResponse;
|
|
125
|
+
};
|
|
126
|
+
sdk: {
|
|
127
|
+
input: ListNetworkMigrationExecutionsCommandInput;
|
|
128
|
+
output: ListNetworkMigrationExecutionsCommandOutput;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
}
|