@aws-sdk/client-mgn 3.1008.0 → 3.1010.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/README.md +201 -46
  2. package/dist-cjs/index.js +537 -0
  3. package/dist-cjs/schemas/schemas_0.js +848 -35
  4. package/dist-es/Mgn.js +76 -0
  5. package/dist-es/commands/CreateNetworkMigrationDefinitionCommand.js +16 -0
  6. package/dist-es/commands/DeleteNetworkMigrationDefinitionCommand.js +16 -0
  7. package/dist-es/commands/GetNetworkMigrationDefinitionCommand.js +16 -0
  8. package/dist-es/commands/GetNetworkMigrationMapperSegmentConstructCommand.js +16 -0
  9. package/dist-es/commands/ListImportFileEnrichmentsCommand.js +16 -0
  10. package/dist-es/commands/ListNetworkMigrationAnalysesCommand.js +16 -0
  11. package/dist-es/commands/ListNetworkMigrationAnalysisResultsCommand.js +16 -0
  12. package/dist-es/commands/ListNetworkMigrationCodeGenerationSegmentsCommand.js +16 -0
  13. package/dist-es/commands/ListNetworkMigrationCodeGenerationsCommand.js +16 -0
  14. package/dist-es/commands/ListNetworkMigrationDefinitionsCommand.js +16 -0
  15. package/dist-es/commands/ListNetworkMigrationDeployedStacksCommand.js +16 -0
  16. package/dist-es/commands/ListNetworkMigrationDeploymentsCommand.js +16 -0
  17. package/dist-es/commands/ListNetworkMigrationExecutionsCommand.js +16 -0
  18. package/dist-es/commands/ListNetworkMigrationMapperSegmentConstructsCommand.js +16 -0
  19. package/dist-es/commands/ListNetworkMigrationMapperSegmentsCommand.js +16 -0
  20. package/dist-es/commands/ListNetworkMigrationMappingUpdatesCommand.js +16 -0
  21. package/dist-es/commands/ListNetworkMigrationMappingsCommand.js +16 -0
  22. package/dist-es/commands/StartImportFileEnrichmentCommand.js +16 -0
  23. package/dist-es/commands/StartNetworkMigrationAnalysisCommand.js +16 -0
  24. package/dist-es/commands/StartNetworkMigrationCodeGenerationCommand.js +16 -0
  25. package/dist-es/commands/StartNetworkMigrationDeploymentCommand.js +16 -0
  26. package/dist-es/commands/StartNetworkMigrationMappingCommand.js +16 -0
  27. package/dist-es/commands/StartNetworkMigrationMappingUpdateCommand.js +16 -0
  28. package/dist-es/commands/UpdateNetworkMigrationDefinitionCommand.js +16 -0
  29. package/dist-es/commands/UpdateNetworkMigrationMapperSegmentCommand.js +16 -0
  30. package/dist-es/commands/index.js +25 -0
  31. package/dist-es/models/enums.js +114 -0
  32. package/dist-es/pagination/ListImportFileEnrichmentsPaginator.js +4 -0
  33. package/dist-es/pagination/ListNetworkMigrationAnalysesPaginator.js +4 -0
  34. package/dist-es/pagination/ListNetworkMigrationAnalysisResultsPaginator.js +4 -0
  35. package/dist-es/pagination/ListNetworkMigrationCodeGenerationSegmentsPaginator.js +4 -0
  36. package/dist-es/pagination/ListNetworkMigrationCodeGenerationsPaginator.js +4 -0
  37. package/dist-es/pagination/ListNetworkMigrationDefinitionsPaginator.js +4 -0
  38. package/dist-es/pagination/ListNetworkMigrationDeployedStacksPaginator.js +4 -0
  39. package/dist-es/pagination/ListNetworkMigrationDeploymentsPaginator.js +4 -0
  40. package/dist-es/pagination/ListNetworkMigrationExecutionsPaginator.js +4 -0
  41. package/dist-es/pagination/ListNetworkMigrationMapperSegmentConstructsPaginator.js +4 -0
  42. package/dist-es/pagination/ListNetworkMigrationMapperSegmentsPaginator.js +4 -0
  43. package/dist-es/pagination/ListNetworkMigrationMappingUpdatesPaginator.js +4 -0
  44. package/dist-es/pagination/ListNetworkMigrationMappingsPaginator.js +4 -0
  45. package/dist-es/pagination/index.js +13 -0
  46. package/dist-es/schemas/schemas_0.js +840 -29
  47. package/dist-types/Mgn.d.ts +268 -0
  48. package/dist-types/MgnClient.d.ts +27 -2
  49. package/dist-types/commands/CreateNetworkMigrationDefinitionCommand.d.ts +198 -0
  50. package/dist-types/commands/DeleteNetworkMigrationDefinitionCommand.d.ts +94 -0
  51. package/dist-types/commands/GetNetworkMigrationDefinitionCommand.d.ts +150 -0
  52. package/dist-types/commands/GetNetworkMigrationMapperSegmentConstructCommand.d.ts +128 -0
  53. package/dist-types/commands/ListImportFileEnrichmentsCommand.d.ts +135 -0
  54. package/dist-types/commands/ListNetworkMigrationAnalysesCommand.d.ts +132 -0
  55. package/dist-types/commands/ListNetworkMigrationAnalysisResultsCommand.d.ts +146 -0
  56. package/dist-types/commands/ListNetworkMigrationCodeGenerationSegmentsCommand.d.ts +170 -0
  57. package/dist-types/commands/ListNetworkMigrationCodeGenerationsCommand.d.ts +138 -0
  58. package/dist-types/commands/ListNetworkMigrationDefinitionsCommand.d.ts +123 -0
  59. package/dist-types/commands/ListNetworkMigrationDeployedStacksCommand.d.ts +131 -0
  60. package/dist-types/commands/ListNetworkMigrationDeploymentsCommand.d.ts +132 -0
  61. package/dist-types/commands/ListNetworkMigrationExecutionsCommand.d.ts +131 -0
  62. package/dist-types/commands/ListNetworkMigrationMapperSegmentConstructsCommand.d.ts +173 -0
  63. package/dist-types/commands/ListNetworkMigrationMapperSegmentsCommand.d.ts +163 -0
  64. package/dist-types/commands/ListNetworkMigrationMappingUpdatesCommand.d.ts +132 -0
  65. package/dist-types/commands/ListNetworkMigrationMappingsCommand.d.ts +132 -0
  66. package/dist-types/commands/StartImportFileEnrichmentCommand.d.ts +125 -0
  67. package/dist-types/commands/StartNetworkMigrationAnalysisCommand.d.ts +109 -0
  68. package/dist-types/commands/StartNetworkMigrationCodeGenerationCommand.d.ts +112 -0
  69. package/dist-types/commands/StartNetworkMigrationDeploymentCommand.d.ts +109 -0
  70. package/dist-types/commands/StartNetworkMigrationMappingCommand.d.ts +110 -0
  71. package/dist-types/commands/StartNetworkMigrationMappingUpdateCommand.d.ts +156 -0
  72. package/dist-types/commands/UpdateNetworkMigrationDefinitionCommand.d.ts +199 -0
  73. package/dist-types/commands/UpdateNetworkMigrationMapperSegmentCommand.d.ts +148 -0
  74. package/dist-types/commands/index.d.ts +25 -0
  75. package/dist-types/models/enums.d.ts +282 -0
  76. package/dist-types/models/models_0.d.ts +2137 -22
  77. package/dist-types/pagination/ListImportFileEnrichmentsPaginator.d.ts +7 -0
  78. package/dist-types/pagination/ListNetworkMigrationAnalysesPaginator.d.ts +7 -0
  79. package/dist-types/pagination/ListNetworkMigrationAnalysisResultsPaginator.d.ts +7 -0
  80. package/dist-types/pagination/ListNetworkMigrationCodeGenerationSegmentsPaginator.d.ts +7 -0
  81. package/dist-types/pagination/ListNetworkMigrationCodeGenerationsPaginator.d.ts +7 -0
  82. package/dist-types/pagination/ListNetworkMigrationDefinitionsPaginator.d.ts +7 -0
  83. package/dist-types/pagination/ListNetworkMigrationDeployedStacksPaginator.d.ts +7 -0
  84. package/dist-types/pagination/ListNetworkMigrationDeploymentsPaginator.d.ts +7 -0
  85. package/dist-types/pagination/ListNetworkMigrationExecutionsPaginator.d.ts +7 -0
  86. package/dist-types/pagination/ListNetworkMigrationMapperSegmentConstructsPaginator.d.ts +7 -0
  87. package/dist-types/pagination/ListNetworkMigrationMapperSegmentsPaginator.d.ts +7 -0
  88. package/dist-types/pagination/ListNetworkMigrationMappingUpdatesPaginator.d.ts +7 -0
  89. package/dist-types/pagination/ListNetworkMigrationMappingsPaginator.d.ts +7 -0
  90. package/dist-types/pagination/index.d.ts +13 -0
  91. package/dist-types/schemas/schemas_0.d.ts +116 -0
  92. package/dist-types/ts3.4/Mgn.d.ts +584 -0
  93. package/dist-types/ts3.4/MgnClient.d.ts +150 -0
  94. package/dist-types/ts3.4/commands/CreateNetworkMigrationDefinitionCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/DeleteNetworkMigrationDefinitionCommand.d.ts +51 -0
  96. package/dist-types/ts3.4/commands/GetNetworkMigrationDefinitionCommand.d.ts +51 -0
  97. package/dist-types/ts3.4/commands/GetNetworkMigrationMapperSegmentConstructCommand.d.ts +51 -0
  98. package/dist-types/ts3.4/commands/ListImportFileEnrichmentsCommand.d.ts +51 -0
  99. package/dist-types/ts3.4/commands/ListNetworkMigrationAnalysesCommand.d.ts +51 -0
  100. package/dist-types/ts3.4/commands/ListNetworkMigrationAnalysisResultsCommand.d.ts +51 -0
  101. package/dist-types/ts3.4/commands/ListNetworkMigrationCodeGenerationSegmentsCommand.d.ts +51 -0
  102. package/dist-types/ts3.4/commands/ListNetworkMigrationCodeGenerationsCommand.d.ts +51 -0
  103. package/dist-types/ts3.4/commands/ListNetworkMigrationDefinitionsCommand.d.ts +51 -0
  104. package/dist-types/ts3.4/commands/ListNetworkMigrationDeployedStacksCommand.d.ts +51 -0
  105. package/dist-types/ts3.4/commands/ListNetworkMigrationDeploymentsCommand.d.ts +51 -0
  106. package/dist-types/ts3.4/commands/ListNetworkMigrationExecutionsCommand.d.ts +51 -0
  107. package/dist-types/ts3.4/commands/ListNetworkMigrationMapperSegmentConstructsCommand.d.ts +51 -0
  108. package/dist-types/ts3.4/commands/ListNetworkMigrationMapperSegmentsCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/ListNetworkMigrationMappingUpdatesCommand.d.ts +51 -0
  110. package/dist-types/ts3.4/commands/ListNetworkMigrationMappingsCommand.d.ts +51 -0
  111. package/dist-types/ts3.4/commands/StartImportFileEnrichmentCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/StartNetworkMigrationAnalysisCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/StartNetworkMigrationCodeGenerationCommand.d.ts +51 -0
  114. package/dist-types/ts3.4/commands/StartNetworkMigrationDeploymentCommand.d.ts +51 -0
  115. package/dist-types/ts3.4/commands/StartNetworkMigrationMappingCommand.d.ts +51 -0
  116. package/dist-types/ts3.4/commands/StartNetworkMigrationMappingUpdateCommand.d.ts +51 -0
  117. package/dist-types/ts3.4/commands/UpdateNetworkMigrationDefinitionCommand.d.ts +51 -0
  118. package/dist-types/ts3.4/commands/UpdateNetworkMigrationMapperSegmentCommand.d.ts +51 -0
  119. package/dist-types/ts3.4/commands/index.d.ts +25 -0
  120. package/dist-types/ts3.4/models/enums.d.ts +155 -0
  121. package/dist-types/ts3.4/models/models_0.d.ts +544 -0
  122. package/dist-types/ts3.4/pagination/ListImportFileEnrichmentsPaginator.d.ts +11 -0
  123. package/dist-types/ts3.4/pagination/ListNetworkMigrationAnalysesPaginator.d.ts +11 -0
  124. package/dist-types/ts3.4/pagination/ListNetworkMigrationAnalysisResultsPaginator.d.ts +11 -0
  125. package/dist-types/ts3.4/pagination/ListNetworkMigrationCodeGenerationSegmentsPaginator.d.ts +11 -0
  126. package/dist-types/ts3.4/pagination/ListNetworkMigrationCodeGenerationsPaginator.d.ts +11 -0
  127. package/dist-types/ts3.4/pagination/ListNetworkMigrationDefinitionsPaginator.d.ts +11 -0
  128. package/dist-types/ts3.4/pagination/ListNetworkMigrationDeployedStacksPaginator.d.ts +11 -0
  129. package/dist-types/ts3.4/pagination/ListNetworkMigrationDeploymentsPaginator.d.ts +11 -0
  130. package/dist-types/ts3.4/pagination/ListNetworkMigrationExecutionsPaginator.d.ts +11 -0
  131. package/dist-types/ts3.4/pagination/ListNetworkMigrationMapperSegmentConstructsPaginator.d.ts +11 -0
  132. package/dist-types/ts3.4/pagination/ListNetworkMigrationMapperSegmentsPaginator.d.ts +11 -0
  133. package/dist-types/ts3.4/pagination/ListNetworkMigrationMappingUpdatesPaginator.d.ts +11 -0
  134. package/dist-types/ts3.4/pagination/ListNetworkMigrationMappingsPaginator.d.ts +11 -0
  135. package/dist-types/ts3.4/pagination/index.d.ts +13 -0
  136. package/dist-types/ts3.4/schemas/schemas_0.d.ts +116 -0
  137. package/package.json +33 -33
@@ -0,0 +1,156 @@
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 { StartNetworkMigrationMappingUpdateRequest, StartNetworkMigrationMappingUpdateResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartNetworkMigrationMappingUpdateCommand}.
14
+ */
15
+ export interface StartNetworkMigrationMappingUpdateCommandInput extends StartNetworkMigrationMappingUpdateRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartNetworkMigrationMappingUpdateCommand}.
21
+ */
22
+ export interface StartNetworkMigrationMappingUpdateCommandOutput extends StartNetworkMigrationMappingUpdateResponse, __MetadataBearer {
23
+ }
24
+ declare const StartNetworkMigrationMappingUpdateCommand_base: {
25
+ new (input: StartNetworkMigrationMappingUpdateCommandInput): import("@smithy/smithy-client").CommandImpl<StartNetworkMigrationMappingUpdateCommandInput, StartNetworkMigrationMappingUpdateCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartNetworkMigrationMappingUpdateCommandInput): import("@smithy/smithy-client").CommandImpl<StartNetworkMigrationMappingUpdateCommandInput, StartNetworkMigrationMappingUpdateCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Starts a job to apply customer modifications to network migration mappings, such as changing properties.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MgnClient, StartNetworkMigrationMappingUpdateCommand } from "@aws-sdk/client-mgn"; // ES Modules import
35
+ * // const { MgnClient, StartNetworkMigrationMappingUpdateCommand } = 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 = { // StartNetworkMigrationMappingUpdateRequest
40
+ * networkMigrationExecutionID: "STRING_VALUE", // required
41
+ * networkMigrationDefinitionID: "STRING_VALUE", // required
42
+ * constructs: [ // StartNetworkMigrationMappingUpdateConstructs
43
+ * { // StartNetworkMigrationMappingUpdateConstruct
44
+ * segmentID: "STRING_VALUE", // required
45
+ * constructID: "STRING_VALUE", // required
46
+ * constructType: "STRING_VALUE", // required
47
+ * operation: { // OperationUnion Union: only one key present
48
+ * update: { // UpdateOperation
49
+ * properties: { // ConstructProperties
50
+ * "<keys>": "STRING_VALUE",
51
+ * },
52
+ * },
53
+ * },
54
+ * },
55
+ * ],
56
+ * segments: [ // StartNetworkMigrationMappingUpdateSegments
57
+ * { // StartNetworkMigrationMappingUpdateSegment
58
+ * segmentID: "STRING_VALUE", // required
59
+ * targetAccount: "STRING_VALUE",
60
+ * scopeTags: { // ScopeTagsMap
61
+ * "<keys>": "STRING_VALUE",
62
+ * },
63
+ * },
64
+ * ],
65
+ * };
66
+ * const command = new StartNetworkMigrationMappingUpdateCommand(input);
67
+ * const response = await client.send(command);
68
+ * // { // StartNetworkMigrationMappingUpdateResponse
69
+ * // jobID: "STRING_VALUE",
70
+ * // };
71
+ *
72
+ * ```
73
+ *
74
+ * @param StartNetworkMigrationMappingUpdateCommandInput - {@link StartNetworkMigrationMappingUpdateCommandInput}
75
+ * @returns {@link StartNetworkMigrationMappingUpdateCommandOutput}
76
+ * @see {@link StartNetworkMigrationMappingUpdateCommandInput} for command's `input` shape.
77
+ * @see {@link StartNetworkMigrationMappingUpdateCommandOutput} 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 ConflictException} (client fault)
84
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
85
+ *
86
+ * @throws {@link ResourceNotFoundException} (client fault)
87
+ * <p>Resource not found exception.</p>
88
+ *
89
+ * @throws {@link ServiceQuotaExceededException} (client fault)
90
+ * <p>The request could not be completed because its exceeded the service quota.</p>
91
+ *
92
+ * @throws {@link ThrottlingException} (client fault)
93
+ * <p>Reached throttling quota exception.</p>
94
+ *
95
+ * @throws {@link ValidationException} (client fault)
96
+ * <p>Validate exception.</p>
97
+ *
98
+ * @throws {@link MgnServiceException}
99
+ * <p>Base exception class for all service exceptions from Mgn service.</p>
100
+ *
101
+ *
102
+ * @example Sample StartNetworkMigrationMappingUpdate call
103
+ * ```javascript
104
+ * //
105
+ * const input = {
106
+ * constructs: [
107
+ * {
108
+ * constructID: "abc45678-abcd-abcd-efab-012345678abc",
109
+ * constructType: "AWS::EC2::VPC",
110
+ * operation: {
111
+ * update: {
112
+ * properties: {
113
+ * CidrBlock: "10.31.0.0/22"
114
+ * }
115
+ * }
116
+ * },
117
+ * segmentID: "12345678-abcd-abcd-efab-0123456789ab"
118
+ * }
119
+ * ],
120
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
121
+ * networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab",
122
+ * segments: [
123
+ * {
124
+ * scopeTags: {
125
+ * key1: "val1",
126
+ * key2: "val2"
127
+ * },
128
+ * segmentID: "12345678-abcd-abcd-efab-0123456789ab",
129
+ * targetAccount: "234567890123"
130
+ * }
131
+ * ]
132
+ * };
133
+ * const command = new StartNetworkMigrationMappingUpdateCommand(input);
134
+ * const response = await client.send(command);
135
+ * /* response is
136
+ * {
137
+ * jobID: "01234567-abcd-abcd-efab-0123456789ab"
138
+ * }
139
+ * *\/
140
+ * ```
141
+ *
142
+ * @public
143
+ */
144
+ export declare class StartNetworkMigrationMappingUpdateCommand extends StartNetworkMigrationMappingUpdateCommand_base {
145
+ /** @internal type navigation helper, not in runtime. */
146
+ protected static __types: {
147
+ api: {
148
+ input: StartNetworkMigrationMappingUpdateRequest;
149
+ output: StartNetworkMigrationMappingUpdateResponse;
150
+ };
151
+ sdk: {
152
+ input: StartNetworkMigrationMappingUpdateCommandInput;
153
+ output: StartNetworkMigrationMappingUpdateCommandOutput;
154
+ };
155
+ };
156
+ }
@@ -0,0 +1,199 @@
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 { NetworkMigrationDefinition, UpdateNetworkMigrationDefinitionRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateNetworkMigrationDefinitionCommand}.
14
+ */
15
+ export interface UpdateNetworkMigrationDefinitionCommandInput extends UpdateNetworkMigrationDefinitionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateNetworkMigrationDefinitionCommand}.
21
+ */
22
+ export interface UpdateNetworkMigrationDefinitionCommandOutput extends NetworkMigrationDefinition, __MetadataBearer {
23
+ }
24
+ declare const UpdateNetworkMigrationDefinitionCommand_base: {
25
+ new (input: UpdateNetworkMigrationDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateNetworkMigrationDefinitionCommandInput, UpdateNetworkMigrationDefinitionCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateNetworkMigrationDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateNetworkMigrationDefinitionCommandInput, UpdateNetworkMigrationDefinitionCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates an existing network migration definition with new source or target configurations.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MgnClient, UpdateNetworkMigrationDefinitionCommand } from "@aws-sdk/client-mgn"; // ES Modules import
35
+ * // const { MgnClient, UpdateNetworkMigrationDefinitionCommand } = 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 = { // UpdateNetworkMigrationDefinitionRequest
40
+ * networkMigrationDefinitionID: "STRING_VALUE", // required
41
+ * name: "STRING_VALUE",
42
+ * description: "STRING_VALUE",
43
+ * sourceConfigurations: [ // SourceConfigurationList
44
+ * { // SourceConfiguration
45
+ * sourceEnvironment: "STRING_VALUE", // required
46
+ * sourceS3Configuration: { // SourceS3Configuration
47
+ * s3Bucket: "STRING_VALUE", // required
48
+ * s3BucketOwner: "STRING_VALUE", // required
49
+ * s3Key: "STRING_VALUE", // required
50
+ * },
51
+ * },
52
+ * ],
53
+ * targetS3Configuration: { // TargetS3ConfigurationUpdate
54
+ * s3Bucket: "STRING_VALUE",
55
+ * s3BucketOwner: "STRING_VALUE",
56
+ * },
57
+ * targetNetwork: { // TargetNetworkUpdate
58
+ * topology: "STRING_VALUE",
59
+ * inboundCidr: "STRING_VALUE",
60
+ * outboundCidr: "STRING_VALUE",
61
+ * inspectionCidr: "STRING_VALUE",
62
+ * },
63
+ * targetDeployment: "STRING_VALUE",
64
+ * scopeTags: { // ScopeTagsMap
65
+ * "<keys>": "STRING_VALUE",
66
+ * },
67
+ * };
68
+ * const command = new UpdateNetworkMigrationDefinitionCommand(input);
69
+ * const response = await client.send(command);
70
+ * // { // NetworkMigrationDefinition
71
+ * // arn: "STRING_VALUE",
72
+ * // networkMigrationDefinitionID: "STRING_VALUE",
73
+ * // name: "STRING_VALUE",
74
+ * // description: "STRING_VALUE",
75
+ * // sourceConfigurations: [ // SourceConfigurationList
76
+ * // { // SourceConfiguration
77
+ * // sourceEnvironment: "STRING_VALUE", // required
78
+ * // sourceS3Configuration: { // SourceS3Configuration
79
+ * // s3Bucket: "STRING_VALUE", // required
80
+ * // s3BucketOwner: "STRING_VALUE", // required
81
+ * // s3Key: "STRING_VALUE", // required
82
+ * // },
83
+ * // },
84
+ * // ],
85
+ * // targetS3Configuration: { // TargetS3Configuration
86
+ * // s3Bucket: "STRING_VALUE", // required
87
+ * // s3BucketOwner: "STRING_VALUE", // required
88
+ * // },
89
+ * // targetNetwork: { // TargetNetwork
90
+ * // topology: "STRING_VALUE", // required
91
+ * // inboundCidr: "STRING_VALUE",
92
+ * // outboundCidr: "STRING_VALUE",
93
+ * // inspectionCidr: "STRING_VALUE",
94
+ * // },
95
+ * // targetDeployment: "STRING_VALUE",
96
+ * // createdAt: new Date("TIMESTAMP"),
97
+ * // updatedAt: new Date("TIMESTAMP"),
98
+ * // tags: { // TagsMap
99
+ * // "<keys>": "STRING_VALUE",
100
+ * // },
101
+ * // scopeTags: { // ScopeTagsMap
102
+ * // "<keys>": "STRING_VALUE",
103
+ * // },
104
+ * // };
105
+ *
106
+ * ```
107
+ *
108
+ * @param UpdateNetworkMigrationDefinitionCommandInput - {@link UpdateNetworkMigrationDefinitionCommandInput}
109
+ * @returns {@link UpdateNetworkMigrationDefinitionCommandOutput}
110
+ * @see {@link UpdateNetworkMigrationDefinitionCommandInput} for command's `input` shape.
111
+ * @see {@link UpdateNetworkMigrationDefinitionCommandOutput} for command's `response` shape.
112
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
113
+ *
114
+ * @throws {@link AccessDeniedException} (client fault)
115
+ * <p>Operating denied due to a file permission or access check error.</p>
116
+ *
117
+ * @throws {@link ResourceNotFoundException} (client fault)
118
+ * <p>Resource not found exception.</p>
119
+ *
120
+ * @throws {@link ValidationException} (client fault)
121
+ * <p>Validate exception.</p>
122
+ *
123
+ * @throws {@link MgnServiceException}
124
+ * <p>Base exception class for all service exceptions from Mgn service.</p>
125
+ *
126
+ *
127
+ * @example Sample UpdateNetworkMigrationDefinition call
128
+ * ```javascript
129
+ * //
130
+ * const input = {
131
+ * description: "network 1 description",
132
+ * name: "network1",
133
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
134
+ * sourceConfigurations: [
135
+ * {
136
+ * sourceEnvironment: "NSX",
137
+ * sourceS3Configuration: {
138
+ * s3Bucket: "source_bucket",
139
+ * s3BucketOwner: "012345678901",
140
+ * s3Key: "source_key"
141
+ * }
142
+ * }
143
+ * ],
144
+ * targetNetwork: {
145
+ * inboundCidr: "192.168.1.0/24",
146
+ * topology: "ISOLATED_VPC"
147
+ * },
148
+ * targetS3Configuration: {
149
+ * s3Bucket: "target_bucket",
150
+ * s3BucketOwner: "012345678901"
151
+ * }
152
+ * };
153
+ * const command = new UpdateNetworkMigrationDefinitionCommand(input);
154
+ * const response = await client.send(command);
155
+ * /* response is
156
+ * {
157
+ * createdAt: 1735334198,
158
+ * description: "network 1 description",
159
+ * name: "network1",
160
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
161
+ * sourceConfigurations: [
162
+ * {
163
+ * sourceEnvironment: "NSX",
164
+ * sourceS3Configuration: {
165
+ * s3Bucket: "source_bucket",
166
+ * s3BucketOwner: "012345678901",
167
+ * s3Key: "source_key"
168
+ * }
169
+ * }
170
+ * ],
171
+ * tags: { /* empty *\/ },
172
+ * targetNetwork: {
173
+ * inboundCidr: "192.168.1.0/24",
174
+ * topology: "ISOLATED_VPC"
175
+ * },
176
+ * targetS3Configuration: {
177
+ * s3Bucket: "target_bucket",
178
+ * s3BucketOwner: "012345678901"
179
+ * },
180
+ * updatedAt: 1735680998
181
+ * }
182
+ * *\/
183
+ * ```
184
+ *
185
+ * @public
186
+ */
187
+ export declare class UpdateNetworkMigrationDefinitionCommand extends UpdateNetworkMigrationDefinitionCommand_base {
188
+ /** @internal type navigation helper, not in runtime. */
189
+ protected static __types: {
190
+ api: {
191
+ input: UpdateNetworkMigrationDefinitionRequest;
192
+ output: NetworkMigrationDefinition;
193
+ };
194
+ sdk: {
195
+ input: UpdateNetworkMigrationDefinitionCommandInput;
196
+ output: UpdateNetworkMigrationDefinitionCommandOutput;
197
+ };
198
+ };
199
+ }
@@ -0,0 +1,148 @@
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 { NetworkMigrationMapperSegment, UpdateNetworkMigrationMapperSegmentRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateNetworkMigrationMapperSegmentCommand}.
14
+ */
15
+ export interface UpdateNetworkMigrationMapperSegmentCommandInput extends UpdateNetworkMigrationMapperSegmentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateNetworkMigrationMapperSegmentCommand}.
21
+ */
22
+ export interface UpdateNetworkMigrationMapperSegmentCommandOutput extends NetworkMigrationMapperSegment, __MetadataBearer {
23
+ }
24
+ declare const UpdateNetworkMigrationMapperSegmentCommand_base: {
25
+ new (input: UpdateNetworkMigrationMapperSegmentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateNetworkMigrationMapperSegmentCommandInput, UpdateNetworkMigrationMapperSegmentCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateNetworkMigrationMapperSegmentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateNetworkMigrationMapperSegmentCommandInput, UpdateNetworkMigrationMapperSegmentCommandOutput, MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates a mapper segment's configuration, such as changing its scope tags.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MgnClient, UpdateNetworkMigrationMapperSegmentCommand } from "@aws-sdk/client-mgn"; // ES Modules import
35
+ * // const { MgnClient, UpdateNetworkMigrationMapperSegmentCommand } = 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 = { // UpdateNetworkMigrationMapperSegmentRequest
40
+ * networkMigrationDefinitionID: "STRING_VALUE", // required
41
+ * networkMigrationExecutionID: "STRING_VALUE", // required
42
+ * segmentID: "STRING_VALUE", // required
43
+ * scopeTags: { // ScopeTagsMap
44
+ * "<keys>": "STRING_VALUE",
45
+ * },
46
+ * };
47
+ * const command = new UpdateNetworkMigrationMapperSegmentCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // NetworkMigrationMapperSegment
50
+ * // jobID: "STRING_VALUE",
51
+ * // networkMigrationExecutionID: "STRING_VALUE",
52
+ * // networkMigrationDefinitionID: "STRING_VALUE",
53
+ * // segmentID: "STRING_VALUE",
54
+ * // segmentType: "STRING_VALUE",
55
+ * // name: "STRING_VALUE",
56
+ * // description: "STRING_VALUE",
57
+ * // logicalID: "STRING_VALUE",
58
+ * // checksum: { // Checksum
59
+ * // encryptionAlgorithm: "STRING_VALUE",
60
+ * // hash: "STRING_VALUE",
61
+ * // },
62
+ * // outputS3Configuration: { // S3Configuration
63
+ * // s3Bucket: "STRING_VALUE",
64
+ * // s3BucketOwner: "STRING_VALUE",
65
+ * // s3Key: "STRING_VALUE",
66
+ * // },
67
+ * // createdAt: new Date("TIMESTAMP"),
68
+ * // updatedAt: new Date("TIMESTAMP"),
69
+ * // scopeTags: { // ScopeTagsMap
70
+ * // "<keys>": "STRING_VALUE",
71
+ * // },
72
+ * // targetAccount: "STRING_VALUE",
73
+ * // referencedSegments: [ // referencedSegmentsList
74
+ * // "STRING_VALUE",
75
+ * // ],
76
+ * // };
77
+ *
78
+ * ```
79
+ *
80
+ * @param UpdateNetworkMigrationMapperSegmentCommandInput - {@link UpdateNetworkMigrationMapperSegmentCommandInput}
81
+ * @returns {@link UpdateNetworkMigrationMapperSegmentCommandOutput}
82
+ * @see {@link UpdateNetworkMigrationMapperSegmentCommandInput} for command's `input` shape.
83
+ * @see {@link UpdateNetworkMigrationMapperSegmentCommandOutput} for command's `response` shape.
84
+ * @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
85
+ *
86
+ * @throws {@link AccessDeniedException} (client fault)
87
+ * <p>Operating denied due to a file permission or access check error.</p>
88
+ *
89
+ * @throws {@link ResourceNotFoundException} (client fault)
90
+ * <p>Resource not found exception.</p>
91
+ *
92
+ * @throws {@link ValidationException} (client fault)
93
+ * <p>Validate exception.</p>
94
+ *
95
+ * @throws {@link MgnServiceException}
96
+ * <p>Base exception class for all service exceptions from Mgn service.</p>
97
+ *
98
+ *
99
+ * @example Sample UpdateNetworkMigrationMapperSegment call
100
+ * ```javascript
101
+ * //
102
+ * const input = {
103
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
104
+ * networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab",
105
+ * segmentID: "12345678-abcd-abcd-efab-0123456789ab"
106
+ * };
107
+ * const command = new UpdateNetworkMigrationMapperSegmentCommand(input);
108
+ * const response = await client.send(command);
109
+ * /* response is
110
+ * {
111
+ * checksum: {
112
+ * encryptionAlgorithm: "SHA256",
113
+ * hash: "0123456789aAbBcCdDeEfF0123456789"
114
+ * },
115
+ * createdAt: 1735334198,
116
+ * description: "Segment description",
117
+ * jobID: "01234567-abcd-abcd-efab-0123456789ab",
118
+ * logicalID: "logical-id1",
119
+ * name: "SegmentName",
120
+ * networkMigrationDefinitionID: "nmd-01234567891234567",
121
+ * networkMigrationExecutionID: "01234567-abcd-abcd-abcd-0123456789ab",
122
+ * outputS3Configuration: {
123
+ * s3Bucket: "s3_bucket",
124
+ * s3BucketOwner: "012345678901",
125
+ * s3Key: "S3KeyName"
126
+ * },
127
+ * segmentID: "12345678-abcd-abcd-efab-0123456789ab",
128
+ * segmentType: "WORKLOAD",
129
+ * updatedAt: 1735334198
130
+ * }
131
+ * *\/
132
+ * ```
133
+ *
134
+ * @public
135
+ */
136
+ export declare class UpdateNetworkMigrationMapperSegmentCommand extends UpdateNetworkMigrationMapperSegmentCommand_base {
137
+ /** @internal type navigation helper, not in runtime. */
138
+ protected static __types: {
139
+ api: {
140
+ input: UpdateNetworkMigrationMapperSegmentRequest;
141
+ output: NetworkMigrationMapperSegment;
142
+ };
143
+ sdk: {
144
+ input: UpdateNetworkMigrationMapperSegmentCommandInput;
145
+ output: UpdateNetworkMigrationMapperSegmentCommandOutput;
146
+ };
147
+ };
148
+ }
@@ -6,12 +6,14 @@ export * from "./ChangeServerLifeCycleStateCommand";
6
6
  export * from "./CreateApplicationCommand";
7
7
  export * from "./CreateConnectorCommand";
8
8
  export * from "./CreateLaunchConfigurationTemplateCommand";
9
+ export * from "./CreateNetworkMigrationDefinitionCommand";
9
10
  export * from "./CreateReplicationConfigurationTemplateCommand";
10
11
  export * from "./CreateWaveCommand";
11
12
  export * from "./DeleteApplicationCommand";
12
13
  export * from "./DeleteConnectorCommand";
13
14
  export * from "./DeleteJobCommand";
14
15
  export * from "./DeleteLaunchConfigurationTemplateCommand";
16
+ export * from "./DeleteNetworkMigrationDefinitionCommand";
15
17
  export * from "./DeleteReplicationConfigurationTemplateCommand";
16
18
  export * from "./DeleteSourceServerCommand";
17
19
  export * from "./DeleteVcenterClientCommand";
@@ -27,6 +29,8 @@ export * from "./DisassociateSourceServersCommand";
27
29
  export * from "./DisconnectFromServiceCommand";
28
30
  export * from "./FinalizeCutoverCommand";
29
31
  export * from "./GetLaunchConfigurationCommand";
32
+ export * from "./GetNetworkMigrationDefinitionCommand";
33
+ export * from "./GetNetworkMigrationMapperSegmentConstructCommand";
30
34
  export * from "./GetReplicationConfigurationCommand";
31
35
  export * from "./InitializeServiceCommand";
32
36
  export * from "./ListApplicationsCommand";
@@ -34,8 +38,21 @@ export * from "./ListConnectorsCommand";
34
38
  export * from "./ListExportErrorsCommand";
35
39
  export * from "./ListExportsCommand";
36
40
  export * from "./ListImportErrorsCommand";
41
+ export * from "./ListImportFileEnrichmentsCommand";
37
42
  export * from "./ListImportsCommand";
38
43
  export * from "./ListManagedAccountsCommand";
44
+ export * from "./ListNetworkMigrationAnalysesCommand";
45
+ export * from "./ListNetworkMigrationAnalysisResultsCommand";
46
+ export * from "./ListNetworkMigrationCodeGenerationSegmentsCommand";
47
+ export * from "./ListNetworkMigrationCodeGenerationsCommand";
48
+ export * from "./ListNetworkMigrationDefinitionsCommand";
49
+ export * from "./ListNetworkMigrationDeployedStacksCommand";
50
+ export * from "./ListNetworkMigrationDeploymentsCommand";
51
+ export * from "./ListNetworkMigrationExecutionsCommand";
52
+ export * from "./ListNetworkMigrationMapperSegmentConstructsCommand";
53
+ export * from "./ListNetworkMigrationMapperSegmentsCommand";
54
+ export * from "./ListNetworkMigrationMappingUpdatesCommand";
55
+ export * from "./ListNetworkMigrationMappingsCommand";
39
56
  export * from "./ListSourceServerActionsCommand";
40
57
  export * from "./ListTagsForResourceCommand";
41
58
  export * from "./ListTemplateActionsCommand";
@@ -51,6 +68,12 @@ export * from "./RetryDataReplicationCommand";
51
68
  export * from "./StartCutoverCommand";
52
69
  export * from "./StartExportCommand";
53
70
  export * from "./StartImportCommand";
71
+ export * from "./StartImportFileEnrichmentCommand";
72
+ export * from "./StartNetworkMigrationAnalysisCommand";
73
+ export * from "./StartNetworkMigrationCodeGenerationCommand";
74
+ export * from "./StartNetworkMigrationDeploymentCommand";
75
+ export * from "./StartNetworkMigrationMappingCommand";
76
+ export * from "./StartNetworkMigrationMappingUpdateCommand";
54
77
  export * from "./StartReplicationCommand";
55
78
  export * from "./StartTestCommand";
56
79
  export * from "./StopReplicationCommand";
@@ -63,6 +86,8 @@ export * from "./UpdateApplicationCommand";
63
86
  export * from "./UpdateConnectorCommand";
64
87
  export * from "./UpdateLaunchConfigurationCommand";
65
88
  export * from "./UpdateLaunchConfigurationTemplateCommand";
89
+ export * from "./UpdateNetworkMigrationDefinitionCommand";
90
+ export * from "./UpdateNetworkMigrationMapperSegmentCommand";
66
91
  export * from "./UpdateReplicationConfigurationCommand";
67
92
  export * from "./UpdateReplicationConfigurationTemplateCommand";
68
93
  export * from "./UpdateSourceServerCommand";