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