@aws-sdk/client-database-migration-service 3.382.0 → 3.384.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 (220) hide show
  1. package/README.md +216 -0
  2. package/dist-cjs/DatabaseMigrationService.js +54 -0
  3. package/dist-cjs/commands/CreateDataProviderCommand.js +46 -0
  4. package/dist-cjs/commands/CreateInstanceProfileCommand.js +46 -0
  5. package/dist-cjs/commands/CreateMigrationProjectCommand.js +46 -0
  6. package/dist-cjs/commands/DeleteDataProviderCommand.js +46 -0
  7. package/dist-cjs/commands/DeleteInstanceProfileCommand.js +46 -0
  8. package/dist-cjs/commands/DeleteMigrationProjectCommand.js +46 -0
  9. package/dist-cjs/commands/DescribeConversionConfigurationCommand.js +46 -0
  10. package/dist-cjs/commands/DescribeDataProvidersCommand.js +46 -0
  11. package/dist-cjs/commands/DescribeExtensionPackAssociationsCommand.js +46 -0
  12. package/dist-cjs/commands/DescribeInstanceProfilesCommand.js +46 -0
  13. package/dist-cjs/commands/DescribeMetadataModelAssessmentsCommand.js +46 -0
  14. package/dist-cjs/commands/DescribeMetadataModelConversionsCommand.js +46 -0
  15. package/dist-cjs/commands/DescribeMetadataModelExportsAsScriptCommand.js +46 -0
  16. package/dist-cjs/commands/DescribeMetadataModelExportsToTargetCommand.js +46 -0
  17. package/dist-cjs/commands/DescribeMetadataModelImportsCommand.js +46 -0
  18. package/dist-cjs/commands/DescribeMigrationProjectsCommand.js +46 -0
  19. package/dist-cjs/commands/ExportMetadataModelAssessmentCommand.js +46 -0
  20. package/dist-cjs/commands/ModifyConversionConfigurationCommand.js +46 -0
  21. package/dist-cjs/commands/ModifyDataProviderCommand.js +46 -0
  22. package/dist-cjs/commands/ModifyInstanceProfileCommand.js +46 -0
  23. package/dist-cjs/commands/ModifyMigrationProjectCommand.js +46 -0
  24. package/dist-cjs/commands/StartExtensionPackAssociationCommand.js +46 -0
  25. package/dist-cjs/commands/StartMetadataModelAssessmentCommand.js +46 -0
  26. package/dist-cjs/commands/StartMetadataModelConversionCommand.js +46 -0
  27. package/dist-cjs/commands/StartMetadataModelExportAsScriptCommand.js +46 -0
  28. package/dist-cjs/commands/StartMetadataModelExportToTargetCommand.js +46 -0
  29. package/dist-cjs/commands/StartMetadataModelImportCommand.js +46 -0
  30. package/dist-cjs/commands/index.js +27 -0
  31. package/dist-cjs/endpoint/ruleset.js +1 -1
  32. package/dist-cjs/models/index.js +1 -0
  33. package/dist-cjs/models/models_0.js +61 -83
  34. package/dist-cjs/models/models_1.js +56 -0
  35. package/dist-cjs/pagination/DescribeDataProvidersPaginator.js +29 -0
  36. package/dist-cjs/pagination/DescribeExtensionPackAssociationsPaginator.js +29 -0
  37. package/dist-cjs/pagination/DescribeInstanceProfilesPaginator.js +29 -0
  38. package/dist-cjs/pagination/DescribeMetadataModelAssessmentsPaginator.js +29 -0
  39. package/dist-cjs/pagination/DescribeMetadataModelConversionsPaginator.js +29 -0
  40. package/dist-cjs/pagination/DescribeMetadataModelExportsAsScriptPaginator.js +29 -0
  41. package/dist-cjs/pagination/DescribeMetadataModelExportsToTargetPaginator.js +29 -0
  42. package/dist-cjs/pagination/DescribeMetadataModelImportsPaginator.js +29 -0
  43. package/dist-cjs/pagination/DescribeMigrationProjectsPaginator.js +29 -0
  44. package/dist-cjs/pagination/index.js +10 -1
  45. package/dist-cjs/protocols/Aws_json1_1.js +1556 -124
  46. package/dist-es/DatabaseMigrationService.js +54 -0
  47. package/dist-es/commands/CreateDataProviderCommand.js +42 -0
  48. package/dist-es/commands/CreateInstanceProfileCommand.js +42 -0
  49. package/dist-es/commands/CreateMigrationProjectCommand.js +42 -0
  50. package/dist-es/commands/DeleteDataProviderCommand.js +42 -0
  51. package/dist-es/commands/DeleteInstanceProfileCommand.js +42 -0
  52. package/dist-es/commands/DeleteMigrationProjectCommand.js +42 -0
  53. package/dist-es/commands/DescribeConversionConfigurationCommand.js +42 -0
  54. package/dist-es/commands/DescribeDataProvidersCommand.js +42 -0
  55. package/dist-es/commands/DescribeExtensionPackAssociationsCommand.js +42 -0
  56. package/dist-es/commands/DescribeInstanceProfilesCommand.js +42 -0
  57. package/dist-es/commands/DescribeMetadataModelAssessmentsCommand.js +42 -0
  58. package/dist-es/commands/DescribeMetadataModelConversionsCommand.js +42 -0
  59. package/dist-es/commands/DescribeMetadataModelExportsAsScriptCommand.js +42 -0
  60. package/dist-es/commands/DescribeMetadataModelExportsToTargetCommand.js +42 -0
  61. package/dist-es/commands/DescribeMetadataModelImportsCommand.js +42 -0
  62. package/dist-es/commands/DescribeMigrationProjectsCommand.js +42 -0
  63. package/dist-es/commands/ExportMetadataModelAssessmentCommand.js +42 -0
  64. package/dist-es/commands/ModifyConversionConfigurationCommand.js +42 -0
  65. package/dist-es/commands/ModifyDataProviderCommand.js +42 -0
  66. package/dist-es/commands/ModifyInstanceProfileCommand.js +42 -0
  67. package/dist-es/commands/ModifyMigrationProjectCommand.js +42 -0
  68. package/dist-es/commands/StartExtensionPackAssociationCommand.js +42 -0
  69. package/dist-es/commands/StartMetadataModelAssessmentCommand.js +42 -0
  70. package/dist-es/commands/StartMetadataModelConversionCommand.js +42 -0
  71. package/dist-es/commands/StartMetadataModelExportAsScriptCommand.js +42 -0
  72. package/dist-es/commands/StartMetadataModelExportToTargetCommand.js +42 -0
  73. package/dist-es/commands/StartMetadataModelImportCommand.js +42 -0
  74. package/dist-es/commands/index.js +27 -0
  75. package/dist-es/endpoint/ruleset.js +1 -1
  76. package/dist-es/models/index.js +1 -0
  77. package/dist-es/models/models_0.js +57 -76
  78. package/dist-es/models/models_1.js +50 -0
  79. package/dist-es/pagination/DescribeDataProvidersPaginator.js +25 -0
  80. package/dist-es/pagination/DescribeExtensionPackAssociationsPaginator.js +25 -0
  81. package/dist-es/pagination/DescribeInstanceProfilesPaginator.js +25 -0
  82. package/dist-es/pagination/DescribeMetadataModelAssessmentsPaginator.js +25 -0
  83. package/dist-es/pagination/DescribeMetadataModelConversionsPaginator.js +25 -0
  84. package/dist-es/pagination/DescribeMetadataModelExportsAsScriptPaginator.js +25 -0
  85. package/dist-es/pagination/DescribeMetadataModelExportsToTargetPaginator.js +25 -0
  86. package/dist-es/pagination/DescribeMetadataModelImportsPaginator.js +25 -0
  87. package/dist-es/pagination/DescribeMigrationProjectsPaginator.js +25 -0
  88. package/dist-es/pagination/index.js +10 -1
  89. package/dist-es/protocols/Aws_json1_1.js +1647 -270
  90. package/dist-types/DatabaseMigrationService.d.ts +189 -0
  91. package/dist-types/DatabaseMigrationServiceClient.d.ts +29 -2
  92. package/dist-types/commands/CreateDataProviderCommand.d.ts +167 -0
  93. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +128 -0
  94. package/dist-types/commands/CreateMigrationProjectCommand.d.ts +151 -0
  95. package/dist-types/commands/DeleteDataProviderCommand.d.ts +127 -0
  96. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +100 -0
  97. package/dist-types/commands/DeleteMigrationProjectCommand.d.ts +114 -0
  98. package/dist-types/commands/DescribeConversionConfigurationCommand.d.ts +77 -0
  99. package/dist-types/commands/DescribeDataProvidersCommand.d.ts +132 -0
  100. package/dist-types/commands/DescribeExtensionPackAssociationsCommand.d.ts +102 -0
  101. package/dist-types/commands/DescribeInstanceProfilesCommand.d.ts +105 -0
  102. package/dist-types/commands/DescribeMetadataModelAssessmentsCommand.d.ts +102 -0
  103. package/dist-types/commands/DescribeMetadataModelConversionsCommand.d.ts +102 -0
  104. package/dist-types/commands/DescribeMetadataModelExportsAsScriptCommand.d.ts +102 -0
  105. package/dist-types/commands/DescribeMetadataModelExportsToTargetCommand.d.ts +102 -0
  106. package/dist-types/commands/DescribeMetadataModelImportsCommand.d.ts +102 -0
  107. package/dist-types/commands/DescribeMigrationProjectsCommand.d.ts +120 -0
  108. package/dist-types/commands/ExportMetadataModelAssessmentCommand.d.ts +89 -0
  109. package/dist-types/commands/ModifyConversionConfigurationCommand.d.ts +80 -0
  110. package/dist-types/commands/ModifyDataProviderCommand.d.ts +164 -0
  111. package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +1 -1
  112. package/dist-types/commands/ModifyInstanceProfileCommand.d.ts +120 -0
  113. package/dist-types/commands/ModifyMigrationProjectCommand.d.ts +143 -0
  114. package/dist-types/commands/ModifyReplicationConfigCommand.d.ts +1 -1
  115. package/dist-types/commands/ModifyReplicationInstanceCommand.d.ts +1 -1
  116. package/dist-types/commands/ModifyReplicationSubnetGroupCommand.d.ts +1 -1
  117. package/dist-types/commands/ModifyReplicationTaskCommand.d.ts +1 -1
  118. package/dist-types/commands/MoveReplicationTaskCommand.d.ts +1 -1
  119. package/dist-types/commands/RebootReplicationInstanceCommand.d.ts +1 -1
  120. package/dist-types/commands/RefreshSchemasCommand.d.ts +1 -1
  121. package/dist-types/commands/ReloadReplicationTablesCommand.d.ts +1 -1
  122. package/dist-types/commands/ReloadTablesCommand.d.ts +1 -1
  123. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
  124. package/dist-types/commands/RunFleetAdvisorLsaAnalysisCommand.d.ts +1 -1
  125. package/dist-types/commands/StartExtensionPackAssociationCommand.d.ts +102 -0
  126. package/dist-types/commands/StartMetadataModelAssessmentCommand.d.ts +103 -0
  127. package/dist-types/commands/StartMetadataModelConversionCommand.d.ts +100 -0
  128. package/dist-types/commands/StartMetadataModelExportAsScriptCommand.d.ts +102 -0
  129. package/dist-types/commands/StartMetadataModelExportToTargetCommand.d.ts +101 -0
  130. package/dist-types/commands/StartMetadataModelImportCommand.d.ts +103 -0
  131. package/dist-types/commands/StartRecommendationsCommand.d.ts +1 -1
  132. package/dist-types/commands/StartReplicationCommand.d.ts +1 -1
  133. package/dist-types/commands/StartReplicationTaskAssessmentCommand.d.ts +1 -1
  134. package/dist-types/commands/StartReplicationTaskAssessmentRunCommand.d.ts +1 -1
  135. package/dist-types/commands/StartReplicationTaskCommand.d.ts +1 -1
  136. package/dist-types/commands/StopReplicationCommand.d.ts +1 -1
  137. package/dist-types/commands/StopReplicationTaskCommand.d.ts +1 -1
  138. package/dist-types/commands/TestConnectionCommand.d.ts +1 -1
  139. package/dist-types/commands/UpdateSubscriptionsToEventBridgeCommand.d.ts +1 -1
  140. package/dist-types/commands/index.d.ts +27 -0
  141. package/dist-types/models/index.d.ts +1 -0
  142. package/dist-types/models/models_0.d.ts +2419 -2006
  143. package/dist-types/models/models_1.d.ts +1322 -0
  144. package/dist-types/pagination/DescribeDataProvidersPaginator.d.ts +7 -0
  145. package/dist-types/pagination/DescribeExtensionPackAssociationsPaginator.d.ts +7 -0
  146. package/dist-types/pagination/DescribeInstanceProfilesPaginator.d.ts +7 -0
  147. package/dist-types/pagination/DescribeMetadataModelAssessmentsPaginator.d.ts +7 -0
  148. package/dist-types/pagination/DescribeMetadataModelConversionsPaginator.d.ts +7 -0
  149. package/dist-types/pagination/DescribeMetadataModelExportsAsScriptPaginator.d.ts +7 -0
  150. package/dist-types/pagination/DescribeMetadataModelExportsToTargetPaginator.d.ts +7 -0
  151. package/dist-types/pagination/DescribeMetadataModelImportsPaginator.d.ts +7 -0
  152. package/dist-types/pagination/DescribeMigrationProjectsPaginator.d.ts +7 -0
  153. package/dist-types/pagination/index.d.ts +10 -1
  154. package/dist-types/protocols/Aws_json1_1.d.ts +243 -0
  155. package/dist-types/ts3.4/DatabaseMigrationService.d.ts +477 -0
  156. package/dist-types/ts3.4/DatabaseMigrationServiceClient.d.ts +162 -0
  157. package/dist-types/ts3.4/commands/CreateDataProviderCommand.d.ts +39 -0
  158. package/dist-types/ts3.4/commands/CreateInstanceProfileCommand.d.ts +42 -0
  159. package/dist-types/ts3.4/commands/CreateMigrationProjectCommand.d.ts +42 -0
  160. package/dist-types/ts3.4/commands/DeleteDataProviderCommand.d.ts +39 -0
  161. package/dist-types/ts3.4/commands/DeleteInstanceProfileCommand.d.ts +42 -0
  162. package/dist-types/ts3.4/commands/DeleteMigrationProjectCommand.d.ts +42 -0
  163. package/dist-types/ts3.4/commands/DescribeConversionConfigurationCommand.d.ts +42 -0
  164. package/dist-types/ts3.4/commands/DescribeDataProvidersCommand.d.ts +42 -0
  165. package/dist-types/ts3.4/commands/DescribeExtensionPackAssociationsCommand.d.ts +42 -0
  166. package/dist-types/ts3.4/commands/DescribeInstanceProfilesCommand.d.ts +42 -0
  167. package/dist-types/ts3.4/commands/DescribeMetadataModelAssessmentsCommand.d.ts +42 -0
  168. package/dist-types/ts3.4/commands/DescribeMetadataModelConversionsCommand.d.ts +42 -0
  169. package/dist-types/ts3.4/commands/DescribeMetadataModelExportsAsScriptCommand.d.ts +42 -0
  170. package/dist-types/ts3.4/commands/DescribeMetadataModelExportsToTargetCommand.d.ts +42 -0
  171. package/dist-types/ts3.4/commands/DescribeMetadataModelImportsCommand.d.ts +42 -0
  172. package/dist-types/ts3.4/commands/DescribeMigrationProjectsCommand.d.ts +42 -0
  173. package/dist-types/ts3.4/commands/ExportMetadataModelAssessmentCommand.d.ts +42 -0
  174. package/dist-types/ts3.4/commands/ModifyConversionConfigurationCommand.d.ts +42 -0
  175. package/dist-types/ts3.4/commands/ModifyDataProviderCommand.d.ts +39 -0
  176. package/dist-types/ts3.4/commands/ModifyEventSubscriptionCommand.d.ts +1 -1
  177. package/dist-types/ts3.4/commands/ModifyInstanceProfileCommand.d.ts +42 -0
  178. package/dist-types/ts3.4/commands/ModifyMigrationProjectCommand.d.ts +42 -0
  179. package/dist-types/ts3.4/commands/ModifyReplicationConfigCommand.d.ts +1 -1
  180. package/dist-types/ts3.4/commands/ModifyReplicationInstanceCommand.d.ts +1 -1
  181. package/dist-types/ts3.4/commands/ModifyReplicationSubnetGroupCommand.d.ts +1 -1
  182. package/dist-types/ts3.4/commands/ModifyReplicationTaskCommand.d.ts +1 -1
  183. package/dist-types/ts3.4/commands/MoveReplicationTaskCommand.d.ts +1 -1
  184. package/dist-types/ts3.4/commands/RebootReplicationInstanceCommand.d.ts +1 -1
  185. package/dist-types/ts3.4/commands/RefreshSchemasCommand.d.ts +1 -1
  186. package/dist-types/ts3.4/commands/ReloadReplicationTablesCommand.d.ts +1 -1
  187. package/dist-types/ts3.4/commands/ReloadTablesCommand.d.ts +1 -1
  188. package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
  189. package/dist-types/ts3.4/commands/RunFleetAdvisorLsaAnalysisCommand.d.ts +1 -1
  190. package/dist-types/ts3.4/commands/StartExtensionPackAssociationCommand.d.ts +42 -0
  191. package/dist-types/ts3.4/commands/StartMetadataModelAssessmentCommand.d.ts +42 -0
  192. package/dist-types/ts3.4/commands/StartMetadataModelConversionCommand.d.ts +42 -0
  193. package/dist-types/ts3.4/commands/StartMetadataModelExportAsScriptCommand.d.ts +42 -0
  194. package/dist-types/ts3.4/commands/StartMetadataModelExportToTargetCommand.d.ts +42 -0
  195. package/dist-types/ts3.4/commands/StartMetadataModelImportCommand.d.ts +42 -0
  196. package/dist-types/ts3.4/commands/StartRecommendationsCommand.d.ts +1 -1
  197. package/dist-types/ts3.4/commands/StartReplicationCommand.d.ts +1 -1
  198. package/dist-types/ts3.4/commands/StartReplicationTaskAssessmentCommand.d.ts +1 -1
  199. package/dist-types/ts3.4/commands/StartReplicationTaskAssessmentRunCommand.d.ts +1 -1
  200. package/dist-types/ts3.4/commands/StartReplicationTaskCommand.d.ts +1 -1
  201. package/dist-types/ts3.4/commands/StopReplicationCommand.d.ts +1 -1
  202. package/dist-types/ts3.4/commands/StopReplicationTaskCommand.d.ts +1 -1
  203. package/dist-types/ts3.4/commands/TestConnectionCommand.d.ts +1 -1
  204. package/dist-types/ts3.4/commands/UpdateSubscriptionsToEventBridgeCommand.d.ts +1 -1
  205. package/dist-types/ts3.4/commands/index.d.ts +27 -0
  206. package/dist-types/ts3.4/models/index.d.ts +1 -0
  207. package/dist-types/ts3.4/models/models_0.d.ts +374 -236
  208. package/dist-types/ts3.4/models/models_1.d.ts +312 -0
  209. package/dist-types/ts3.4/pagination/DescribeDataProvidersPaginator.d.ts +11 -0
  210. package/dist-types/ts3.4/pagination/DescribeExtensionPackAssociationsPaginator.d.ts +11 -0
  211. package/dist-types/ts3.4/pagination/DescribeInstanceProfilesPaginator.d.ts +11 -0
  212. package/dist-types/ts3.4/pagination/DescribeMetadataModelAssessmentsPaginator.d.ts +11 -0
  213. package/dist-types/ts3.4/pagination/DescribeMetadataModelConversionsPaginator.d.ts +11 -0
  214. package/dist-types/ts3.4/pagination/DescribeMetadataModelExportsAsScriptPaginator.d.ts +11 -0
  215. package/dist-types/ts3.4/pagination/DescribeMetadataModelExportsToTargetPaginator.d.ts +11 -0
  216. package/dist-types/ts3.4/pagination/DescribeMetadataModelImportsPaginator.d.ts +11 -0
  217. package/dist-types/ts3.4/pagination/DescribeMigrationProjectsPaginator.d.ts +11 -0
  218. package/dist-types/ts3.4/pagination/index.d.ts +10 -1
  219. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +324 -0
  220. package/package.json +1 -1
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_DescribeMetadataModelConversionsCommand, se_DescribeMetadataModelConversionsCommand, } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class DescribeMetadataModelConversionsCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeMetadataModelConversionsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "DatabaseMigrationServiceClient";
25
+ const commandName = "DescribeMetadataModelConversionsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DescribeMetadataModelConversionsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DescribeMetadataModelConversionsCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_DescribeMetadataModelExportsAsScriptCommand, se_DescribeMetadataModelExportsAsScriptCommand, } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class DescribeMetadataModelExportsAsScriptCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeMetadataModelExportsAsScriptCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "DatabaseMigrationServiceClient";
25
+ const commandName = "DescribeMetadataModelExportsAsScriptCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DescribeMetadataModelExportsAsScriptCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DescribeMetadataModelExportsAsScriptCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_DescribeMetadataModelExportsToTargetCommand, se_DescribeMetadataModelExportsToTargetCommand, } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class DescribeMetadataModelExportsToTargetCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeMetadataModelExportsToTargetCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "DatabaseMigrationServiceClient";
25
+ const commandName = "DescribeMetadataModelExportsToTargetCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DescribeMetadataModelExportsToTargetCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DescribeMetadataModelExportsToTargetCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_DescribeMetadataModelImportsCommand, se_DescribeMetadataModelImportsCommand, } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class DescribeMetadataModelImportsCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeMetadataModelImportsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "DatabaseMigrationServiceClient";
25
+ const commandName = "DescribeMetadataModelImportsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DescribeMetadataModelImportsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DescribeMetadataModelImportsCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_DescribeMigrationProjectsCommand, se_DescribeMigrationProjectsCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class DescribeMigrationProjectsCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeMigrationProjectsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "DatabaseMigrationServiceClient";
25
+ const commandName = "DescribeMigrationProjectsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DescribeMigrationProjectsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DescribeMigrationProjectsCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_ExportMetadataModelAssessmentCommand, se_ExportMetadataModelAssessmentCommand, } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class ExportMetadataModelAssessmentCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ExportMetadataModelAssessmentCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "DatabaseMigrationServiceClient";
25
+ const commandName = "ExportMetadataModelAssessmentCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_ExportMetadataModelAssessmentCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_ExportMetadataModelAssessmentCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_ModifyConversionConfigurationCommand, se_ModifyConversionConfigurationCommand, } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class ModifyConversionConfigurationCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ModifyConversionConfigurationCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "DatabaseMigrationServiceClient";
25
+ const commandName = "ModifyConversionConfigurationCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_ModifyConversionConfigurationCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_ModifyConversionConfigurationCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_ModifyDataProviderCommand, se_ModifyDataProviderCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class ModifyDataProviderCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ModifyDataProviderCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "DatabaseMigrationServiceClient";
25
+ const commandName = "ModifyDataProviderCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_ModifyDataProviderCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_ModifyDataProviderCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_ModifyInstanceProfileCommand, se_ModifyInstanceProfileCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class ModifyInstanceProfileCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ModifyInstanceProfileCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "DatabaseMigrationServiceClient";
25
+ const commandName = "ModifyInstanceProfileCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_ModifyInstanceProfileCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_ModifyInstanceProfileCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_ModifyMigrationProjectCommand, se_ModifyMigrationProjectCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class ModifyMigrationProjectCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ModifyMigrationProjectCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "DatabaseMigrationServiceClient";
25
+ const commandName = "ModifyMigrationProjectCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_ModifyMigrationProjectCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_ModifyMigrationProjectCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_StartExtensionPackAssociationCommand, se_StartExtensionPackAssociationCommand, } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class StartExtensionPackAssociationCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, StartExtensionPackAssociationCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "DatabaseMigrationServiceClient";
25
+ const commandName = "StartExtensionPackAssociationCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_StartExtensionPackAssociationCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_StartExtensionPackAssociationCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_StartMetadataModelAssessmentCommand, se_StartMetadataModelAssessmentCommand, } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class StartMetadataModelAssessmentCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, StartMetadataModelAssessmentCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "DatabaseMigrationServiceClient";
25
+ const commandName = "StartMetadataModelAssessmentCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_StartMetadataModelAssessmentCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_StartMetadataModelAssessmentCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_StartMetadataModelConversionCommand, se_StartMetadataModelConversionCommand, } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class StartMetadataModelConversionCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, StartMetadataModelConversionCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "DatabaseMigrationServiceClient";
25
+ const commandName = "StartMetadataModelConversionCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_StartMetadataModelConversionCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_StartMetadataModelConversionCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_StartMetadataModelExportAsScriptCommand, se_StartMetadataModelExportAsScriptCommand, } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class StartMetadataModelExportAsScriptCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, StartMetadataModelExportAsScriptCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "DatabaseMigrationServiceClient";
25
+ const commandName = "StartMetadataModelExportAsScriptCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_StartMetadataModelExportAsScriptCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_StartMetadataModelExportAsScriptCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_StartMetadataModelExportToTargetCommand, se_StartMetadataModelExportToTargetCommand, } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class StartMetadataModelExportToTargetCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, StartMetadataModelExportToTargetCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "DatabaseMigrationServiceClient";
25
+ const commandName = "StartMetadataModelExportToTargetCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_StartMetadataModelExportToTargetCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_StartMetadataModelExportToTargetCommand(output, context);
41
+ }
42
+ }