@aws-sdk/client-database-migration-service 3.382.0 → 3.385.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 +3 -3
@@ -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_StartMetadataModelImportCommand, se_StartMetadataModelImportCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class StartMetadataModelImportCommand 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, StartMetadataModelImportCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "DatabaseMigrationServiceClient";
25
+ const commandName = "StartMetadataModelImportCommand";
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_StartMetadataModelImportCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_StartMetadataModelImportCommand(output, context);
41
+ }
42
+ }
@@ -2,19 +2,25 @@ export * from "./AddTagsToResourceCommand";
2
2
  export * from "./ApplyPendingMaintenanceActionCommand";
3
3
  export * from "./BatchStartRecommendationsCommand";
4
4
  export * from "./CancelReplicationTaskAssessmentRunCommand";
5
+ export * from "./CreateDataProviderCommand";
5
6
  export * from "./CreateEndpointCommand";
6
7
  export * from "./CreateEventSubscriptionCommand";
7
8
  export * from "./CreateFleetAdvisorCollectorCommand";
9
+ export * from "./CreateInstanceProfileCommand";
10
+ export * from "./CreateMigrationProjectCommand";
8
11
  export * from "./CreateReplicationConfigCommand";
9
12
  export * from "./CreateReplicationInstanceCommand";
10
13
  export * from "./CreateReplicationSubnetGroupCommand";
11
14
  export * from "./CreateReplicationTaskCommand";
12
15
  export * from "./DeleteCertificateCommand";
13
16
  export * from "./DeleteConnectionCommand";
17
+ export * from "./DeleteDataProviderCommand";
14
18
  export * from "./DeleteEndpointCommand";
15
19
  export * from "./DeleteEventSubscriptionCommand";
16
20
  export * from "./DeleteFleetAdvisorCollectorCommand";
17
21
  export * from "./DeleteFleetAdvisorDatabasesCommand";
22
+ export * from "./DeleteInstanceProfileCommand";
23
+ export * from "./DeleteMigrationProjectCommand";
18
24
  export * from "./DeleteReplicationConfigCommand";
19
25
  export * from "./DeleteReplicationInstanceCommand";
20
26
  export * from "./DeleteReplicationSubnetGroupCommand";
@@ -24,6 +30,8 @@ export * from "./DescribeAccountAttributesCommand";
24
30
  export * from "./DescribeApplicableIndividualAssessmentsCommand";
25
31
  export * from "./DescribeCertificatesCommand";
26
32
  export * from "./DescribeConnectionsCommand";
33
+ export * from "./DescribeConversionConfigurationCommand";
34
+ export * from "./DescribeDataProvidersCommand";
27
35
  export * from "./DescribeEndpointSettingsCommand";
28
36
  export * from "./DescribeEndpointTypesCommand";
29
37
  export * from "./DescribeEndpointsCommand";
@@ -31,11 +39,19 @@ export * from "./DescribeEngineVersionsCommand";
31
39
  export * from "./DescribeEventCategoriesCommand";
32
40
  export * from "./DescribeEventSubscriptionsCommand";
33
41
  export * from "./DescribeEventsCommand";
42
+ export * from "./DescribeExtensionPackAssociationsCommand";
34
43
  export * from "./DescribeFleetAdvisorCollectorsCommand";
35
44
  export * from "./DescribeFleetAdvisorDatabasesCommand";
36
45
  export * from "./DescribeFleetAdvisorLsaAnalysisCommand";
37
46
  export * from "./DescribeFleetAdvisorSchemaObjectSummaryCommand";
38
47
  export * from "./DescribeFleetAdvisorSchemasCommand";
48
+ export * from "./DescribeInstanceProfilesCommand";
49
+ export * from "./DescribeMetadataModelAssessmentsCommand";
50
+ export * from "./DescribeMetadataModelConversionsCommand";
51
+ export * from "./DescribeMetadataModelExportsAsScriptCommand";
52
+ export * from "./DescribeMetadataModelExportsToTargetCommand";
53
+ export * from "./DescribeMetadataModelImportsCommand";
54
+ export * from "./DescribeMigrationProjectsCommand";
39
55
  export * from "./DescribeOrderableReplicationInstancesCommand";
40
56
  export * from "./DescribePendingMaintenanceActionsCommand";
41
57
  export * from "./DescribeRecommendationLimitationsCommand";
@@ -53,10 +69,15 @@ export * from "./DescribeReplicationTasksCommand";
53
69
  export * from "./DescribeReplicationsCommand";
54
70
  export * from "./DescribeSchemasCommand";
55
71
  export * from "./DescribeTableStatisticsCommand";
72
+ export * from "./ExportMetadataModelAssessmentCommand";
56
73
  export * from "./ImportCertificateCommand";
57
74
  export * from "./ListTagsForResourceCommand";
75
+ export * from "./ModifyConversionConfigurationCommand";
76
+ export * from "./ModifyDataProviderCommand";
58
77
  export * from "./ModifyEndpointCommand";
59
78
  export * from "./ModifyEventSubscriptionCommand";
79
+ export * from "./ModifyInstanceProfileCommand";
80
+ export * from "./ModifyMigrationProjectCommand";
60
81
  export * from "./ModifyReplicationConfigCommand";
61
82
  export * from "./ModifyReplicationInstanceCommand";
62
83
  export * from "./ModifyReplicationSubnetGroupCommand";
@@ -68,6 +89,12 @@ export * from "./ReloadReplicationTablesCommand";
68
89
  export * from "./ReloadTablesCommand";
69
90
  export * from "./RemoveTagsFromResourceCommand";
70
91
  export * from "./RunFleetAdvisorLsaAnalysisCommand";
92
+ export * from "./StartExtensionPackAssociationCommand";
93
+ export * from "./StartMetadataModelAssessmentCommand";
94
+ export * from "./StartMetadataModelConversionCommand";
95
+ export * from "./StartMetadataModelExportAsScriptCommand";
96
+ export * from "./StartMetadataModelExportToTargetCommand";
97
+ export * from "./StartMetadataModelImportCommand";
71
98
  export * from "./StartRecommendationsCommand";
72
99
  export * from "./StartReplicationCommand";
73
100
  export * from "./StartReplicationTaskAssessmentCommand";
@@ -1,4 +1,4 @@
1
1
  const s = "required", t = "fn", u = "argv", v = "ref";
2
2
  const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsDualStack"] }] }, o = { [t]: "getAttr", [u]: [{ [v]: e }, "name"] }, p = [j], q = [k], r = [{ [v]: "Region" }];
3
- const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, n], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://dms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: f, [u]: ["aws-us-gov", o] }], endpoint: { url: "https://dms.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: ["aws-iso", o] }], endpoint: { url: "https://dms.{Region}.c2s.ic.gov", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: ["aws-iso-b", o] }], endpoint: { url: "https://dms.{Region}.sc2s.sgov.gov", properties: l, headers: l }, type: d }, { endpoint: { url: "https://dms-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [n], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://dms.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://dms.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
3
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, n], type: b, rules: [{ endpoint: { url: "https://dms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [t]: f, [u]: ["aws-us-gov", o] }], endpoint: { url: "https://dms.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: ["aws-iso", o] }], endpoint: { url: "https://dms.{Region}.c2s.ic.gov", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: ["aws-iso-b", o] }], endpoint: { url: "https://dms.{Region}.sc2s.sgov.gov", properties: l, headers: l }, type: d }, { endpoint: { url: "https://dms-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [n], type: b, rules: [{ endpoint: { url: "https://dms.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://dms.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -1 +1,2 @@
1
1
  export * from "./models_0";
2
+ export * from "./models_1";
@@ -36,6 +36,51 @@ export class InvalidResourceStateFault extends __BaseException {
36
36
  Object.setPrototypeOf(this, InvalidResourceStateFault.prototype);
37
37
  }
38
38
  }
39
+ export const DmsSslModeValue = {
40
+ NONE: "none",
41
+ REQUIRE: "require",
42
+ VERIFY_CA: "verify-ca",
43
+ VERIFY_FULL: "verify-full",
44
+ };
45
+ export var DataProviderSettings;
46
+ (function (DataProviderSettings) {
47
+ DataProviderSettings.visit = (value, visitor) => {
48
+ if (value.PostgreSqlSettings !== undefined)
49
+ return visitor.PostgreSqlSettings(value.PostgreSqlSettings);
50
+ if (value.MySqlSettings !== undefined)
51
+ return visitor.MySqlSettings(value.MySqlSettings);
52
+ if (value.OracleSettings !== undefined)
53
+ return visitor.OracleSettings(value.OracleSettings);
54
+ if (value.MicrosoftSqlServerSettings !== undefined)
55
+ return visitor.MicrosoftSqlServerSettings(value.MicrosoftSqlServerSettings);
56
+ return visitor._(value.$unknown[0], value.$unknown[1]);
57
+ };
58
+ })(DataProviderSettings || (DataProviderSettings = {}));
59
+ export class ResourceAlreadyExistsFault extends __BaseException {
60
+ constructor(opts) {
61
+ super({
62
+ name: "ResourceAlreadyExistsFault",
63
+ $fault: "client",
64
+ ...opts,
65
+ });
66
+ this.name = "ResourceAlreadyExistsFault";
67
+ this.$fault = "client";
68
+ Object.setPrototypeOf(this, ResourceAlreadyExistsFault.prototype);
69
+ this.resourceArn = opts.resourceArn;
70
+ }
71
+ }
72
+ export class ResourceQuotaExceededFault extends __BaseException {
73
+ constructor(opts) {
74
+ super({
75
+ name: "ResourceQuotaExceededFault",
76
+ $fault: "client",
77
+ ...opts,
78
+ });
79
+ this.name = "ResourceQuotaExceededFault";
80
+ this.$fault = "client";
81
+ Object.setPrototypeOf(this, ResourceQuotaExceededFault.prototype);
82
+ }
83
+ }
39
84
  export const NestingLevelValue = {
40
85
  NONE: "none",
41
86
  ONE: "one",
@@ -158,12 +203,6 @@ export const ParquetVersionValue = {
158
203
  PARQUET_1_0: "parquet-1-0",
159
204
  PARQUET_2_0: "parquet-2-0",
160
205
  };
161
- export const DmsSslModeValue = {
162
- NONE: "none",
163
- REQUIRE: "require",
164
- VERIFY_CA: "verify-ca",
165
- VERIFY_FULL: "verify-full",
166
- };
167
206
  export class KMSKeyNotAccessibleFault extends __BaseException {
168
207
  constructor(opts) {
169
208
  super({
@@ -176,31 +215,6 @@ export class KMSKeyNotAccessibleFault extends __BaseException {
176
215
  Object.setPrototypeOf(this, KMSKeyNotAccessibleFault.prototype);
177
216
  }
178
217
  }
179
- export class ResourceAlreadyExistsFault extends __BaseException {
180
- constructor(opts) {
181
- super({
182
- name: "ResourceAlreadyExistsFault",
183
- $fault: "client",
184
- ...opts,
185
- });
186
- this.name = "ResourceAlreadyExistsFault";
187
- this.$fault = "client";
188
- Object.setPrototypeOf(this, ResourceAlreadyExistsFault.prototype);
189
- this.resourceArn = opts.resourceArn;
190
- }
191
- }
192
- export class ResourceQuotaExceededFault extends __BaseException {
193
- constructor(opts) {
194
- super({
195
- name: "ResourceQuotaExceededFault",
196
- $fault: "client",
197
- ...opts,
198
- });
199
- this.name = "ResourceQuotaExceededFault";
200
- this.$fault = "client";
201
- Object.setPrototypeOf(this, ResourceQuotaExceededFault.prototype);
202
- }
203
- }
204
218
  export class S3AccessDeniedFault extends __BaseException {
205
219
  constructor(opts) {
206
220
  super({
@@ -399,6 +413,14 @@ export const ReleaseStatusValues = {
399
413
  export const SourceType = {
400
414
  replication_instance: "replication-instance",
401
415
  };
416
+ export var ErrorDetails;
417
+ (function (ErrorDetails) {
418
+ ErrorDetails.visit = (value, visitor) => {
419
+ if (value.defaultErrorDetails !== undefined)
420
+ return visitor.defaultErrorDetails(value.defaultErrorDetails);
421
+ return visitor._(value.$unknown[0], value.$unknown[1]);
422
+ };
423
+ })(ErrorDetails || (ErrorDetails = {}));
402
424
  export const CollectorStatus = {
403
425
  ACTIVE: "ACTIVE",
404
426
  UNREGISTERED: "UNREGISTERED",
@@ -413,6 +435,10 @@ export const RefreshSchemasStatusTypeValue = {
413
435
  REFRESHING: "refreshing",
414
436
  SUCCESSFUL: "successful",
415
437
  };
438
+ export const AssessmentReportType = {
439
+ CSV: "csv",
440
+ PDF: "pdf",
441
+ };
416
442
  export class InvalidCertificateFault extends __BaseException {
417
443
  constructor(opts) {
418
444
  super({
@@ -425,51 +451,6 @@ export class InvalidCertificateFault extends __BaseException {
425
451
  Object.setPrototypeOf(this, InvalidCertificateFault.prototype);
426
452
  }
427
453
  }
428
- export class UpgradeDependencyFailureFault extends __BaseException {
429
- constructor(opts) {
430
- super({
431
- name: "UpgradeDependencyFailureFault",
432
- $fault: "client",
433
- ...opts,
434
- });
435
- this.name = "UpgradeDependencyFailureFault";
436
- this.$fault = "client";
437
- Object.setPrototypeOf(this, UpgradeDependencyFailureFault.prototype);
438
- }
439
- }
440
- export class SubnetAlreadyInUse extends __BaseException {
441
- constructor(opts) {
442
- super({
443
- name: "SubnetAlreadyInUse",
444
- $fault: "client",
445
- ...opts,
446
- });
447
- this.name = "SubnetAlreadyInUse";
448
- this.$fault = "client";
449
- Object.setPrototypeOf(this, SubnetAlreadyInUse.prototype);
450
- }
451
- }
452
- export const ReloadOptionValue = {
453
- DATA_RELOAD: "data-reload",
454
- VALIDATE_ONLY: "validate-only",
455
- };
456
- export const StartReplicationTaskTypeValue = {
457
- RELOAD_TARGET: "reload-target",
458
- RESUME_PROCESSING: "resume-processing",
459
- START_REPLICATION: "start-replication",
460
- };
461
- export class KMSFault extends __BaseException {
462
- constructor(opts) {
463
- super({
464
- name: "KMSFault",
465
- $fault: "client",
466
- ...opts,
467
- });
468
- this.name = "KMSFault";
469
- this.$fault = "client";
470
- Object.setPrototypeOf(this, KMSFault.prototype);
471
- }
472
- }
473
454
  export const DocDbSettingsFilterSensitiveLog = (obj) => ({
474
455
  ...obj,
475
456
  ...(obj.Password && { Password: SENSITIVE_STRING }),
@@ -0,0 +1,50 @@
1
+ import { DatabaseMigrationServiceServiceException as __BaseException } from "./DatabaseMigrationServiceServiceException";
2
+ export class UpgradeDependencyFailureFault extends __BaseException {
3
+ constructor(opts) {
4
+ super({
5
+ name: "UpgradeDependencyFailureFault",
6
+ $fault: "client",
7
+ ...opts,
8
+ });
9
+ this.name = "UpgradeDependencyFailureFault";
10
+ this.$fault = "client";
11
+ Object.setPrototypeOf(this, UpgradeDependencyFailureFault.prototype);
12
+ }
13
+ }
14
+ export class SubnetAlreadyInUse extends __BaseException {
15
+ constructor(opts) {
16
+ super({
17
+ name: "SubnetAlreadyInUse",
18
+ $fault: "client",
19
+ ...opts,
20
+ });
21
+ this.name = "SubnetAlreadyInUse";
22
+ this.$fault = "client";
23
+ Object.setPrototypeOf(this, SubnetAlreadyInUse.prototype);
24
+ }
25
+ }
26
+ export const ReloadOptionValue = {
27
+ DATA_RELOAD: "data-reload",
28
+ VALIDATE_ONLY: "validate-only",
29
+ };
30
+ export const OriginTypeValue = {
31
+ SOURCE: "SOURCE",
32
+ TARGET: "TARGET",
33
+ };
34
+ export const StartReplicationTaskTypeValue = {
35
+ RELOAD_TARGET: "reload-target",
36
+ RESUME_PROCESSING: "resume-processing",
37
+ START_REPLICATION: "start-replication",
38
+ };
39
+ export class KMSFault extends __BaseException {
40
+ constructor(opts) {
41
+ super({
42
+ name: "KMSFault",
43
+ $fault: "client",
44
+ ...opts,
45
+ });
46
+ this.name = "KMSFault";
47
+ this.$fault = "client";
48
+ Object.setPrototypeOf(this, KMSFault.prototype);
49
+ }
50
+ }
@@ -0,0 +1,25 @@
1
+ import { DescribeDataProvidersCommand, } from "../commands/DescribeDataProvidersCommand";
2
+ import { DatabaseMigrationServiceClient } from "../DatabaseMigrationServiceClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new DescribeDataProvidersCommand(input), ...args);
5
+ };
6
+ export async function* paginateDescribeDataProviders(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.Marker = token;
12
+ input["MaxRecords"] = config.pageSize;
13
+ if (config.client instanceof DatabaseMigrationServiceClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected DatabaseMigrationService | DatabaseMigrationServiceClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.Marker;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { DescribeExtensionPackAssociationsCommand, } from "../commands/DescribeExtensionPackAssociationsCommand";
2
+ import { DatabaseMigrationServiceClient } from "../DatabaseMigrationServiceClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new DescribeExtensionPackAssociationsCommand(input), ...args);
5
+ };
6
+ export async function* paginateDescribeExtensionPackAssociations(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.Marker = token;
12
+ input["MaxRecords"] = config.pageSize;
13
+ if (config.client instanceof DatabaseMigrationServiceClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected DatabaseMigrationService | DatabaseMigrationServiceClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.Marker;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { DescribeInstanceProfilesCommand, } from "../commands/DescribeInstanceProfilesCommand";
2
+ import { DatabaseMigrationServiceClient } from "../DatabaseMigrationServiceClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new DescribeInstanceProfilesCommand(input), ...args);
5
+ };
6
+ export async function* paginateDescribeInstanceProfiles(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.Marker = token;
12
+ input["MaxRecords"] = config.pageSize;
13
+ if (config.client instanceof DatabaseMigrationServiceClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected DatabaseMigrationService | DatabaseMigrationServiceClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.Marker;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { DescribeMetadataModelAssessmentsCommand, } from "../commands/DescribeMetadataModelAssessmentsCommand";
2
+ import { DatabaseMigrationServiceClient } from "../DatabaseMigrationServiceClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new DescribeMetadataModelAssessmentsCommand(input), ...args);
5
+ };
6
+ export async function* paginateDescribeMetadataModelAssessments(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.Marker = token;
12
+ input["MaxRecords"] = config.pageSize;
13
+ if (config.client instanceof DatabaseMigrationServiceClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected DatabaseMigrationService | DatabaseMigrationServiceClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.Marker;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { DescribeMetadataModelConversionsCommand, } from "../commands/DescribeMetadataModelConversionsCommand";
2
+ import { DatabaseMigrationServiceClient } from "../DatabaseMigrationServiceClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new DescribeMetadataModelConversionsCommand(input), ...args);
5
+ };
6
+ export async function* paginateDescribeMetadataModelConversions(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.Marker = token;
12
+ input["MaxRecords"] = config.pageSize;
13
+ if (config.client instanceof DatabaseMigrationServiceClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected DatabaseMigrationService | DatabaseMigrationServiceClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.Marker;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { DescribeMetadataModelExportsAsScriptCommand, } from "../commands/DescribeMetadataModelExportsAsScriptCommand";
2
+ import { DatabaseMigrationServiceClient } from "../DatabaseMigrationServiceClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new DescribeMetadataModelExportsAsScriptCommand(input), ...args);
5
+ };
6
+ export async function* paginateDescribeMetadataModelExportsAsScript(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.Marker = token;
12
+ input["MaxRecords"] = config.pageSize;
13
+ if (config.client instanceof DatabaseMigrationServiceClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected DatabaseMigrationService | DatabaseMigrationServiceClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.Marker;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { DescribeMetadataModelExportsToTargetCommand, } from "../commands/DescribeMetadataModelExportsToTargetCommand";
2
+ import { DatabaseMigrationServiceClient } from "../DatabaseMigrationServiceClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new DescribeMetadataModelExportsToTargetCommand(input), ...args);
5
+ };
6
+ export async function* paginateDescribeMetadataModelExportsToTarget(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.Marker = token;
12
+ input["MaxRecords"] = config.pageSize;
13
+ if (config.client instanceof DatabaseMigrationServiceClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected DatabaseMigrationService | DatabaseMigrationServiceClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.Marker;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { DescribeMetadataModelImportsCommand, } from "../commands/DescribeMetadataModelImportsCommand";
2
+ import { DatabaseMigrationServiceClient } from "../DatabaseMigrationServiceClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new DescribeMetadataModelImportsCommand(input), ...args);
5
+ };
6
+ export async function* paginateDescribeMetadataModelImports(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.Marker = token;
12
+ input["MaxRecords"] = config.pageSize;
13
+ if (config.client instanceof DatabaseMigrationServiceClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected DatabaseMigrationService | DatabaseMigrationServiceClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.Marker;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { DescribeMigrationProjectsCommand, } from "../commands/DescribeMigrationProjectsCommand";
2
+ import { DatabaseMigrationServiceClient } from "../DatabaseMigrationServiceClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new DescribeMigrationProjectsCommand(input), ...args);
5
+ };
6
+ export async function* paginateDescribeMigrationProjects(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.Marker = token;
12
+ input["MaxRecords"] = config.pageSize;
13
+ if (config.client instanceof DatabaseMigrationServiceClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected DatabaseMigrationService | DatabaseMigrationServiceClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.Marker;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -1,18 +1,27 @@
1
1
  export * from "./DescribeApplicableIndividualAssessmentsPaginator";
2
2
  export * from "./DescribeCertificatesPaginator";
3
3
  export * from "./DescribeConnectionsPaginator";
4
+ export * from "./DescribeDataProvidersPaginator";
4
5
  export * from "./DescribeEndpointSettingsPaginator";
5
6
  export * from "./DescribeEndpointTypesPaginator";
6
7
  export * from "./DescribeEndpointsPaginator";
7
8
  export * from "./DescribeEngineVersionsPaginator";
8
9
  export * from "./DescribeEventSubscriptionsPaginator";
9
10
  export * from "./DescribeEventsPaginator";
10
- export * from "./DescribeFleetAdvisorCollectorsPaginator";
11
11
  export * from "./Interfaces";
12
+ export * from "./DescribeExtensionPackAssociationsPaginator";
13
+ export * from "./DescribeFleetAdvisorCollectorsPaginator";
12
14
  export * from "./DescribeFleetAdvisorDatabasesPaginator";
13
15
  export * from "./DescribeFleetAdvisorLsaAnalysisPaginator";
14
16
  export * from "./DescribeFleetAdvisorSchemaObjectSummaryPaginator";
15
17
  export * from "./DescribeFleetAdvisorSchemasPaginator";
18
+ export * from "./DescribeInstanceProfilesPaginator";
19
+ export * from "./DescribeMetadataModelAssessmentsPaginator";
20
+ export * from "./DescribeMetadataModelConversionsPaginator";
21
+ export * from "./DescribeMetadataModelExportsAsScriptPaginator";
22
+ export * from "./DescribeMetadataModelExportsToTargetPaginator";
23
+ export * from "./DescribeMetadataModelImportsPaginator";
24
+ export * from "./DescribeMigrationProjectsPaginator";
16
25
  export * from "./DescribeOrderableReplicationInstancesPaginator";
17
26
  export * from "./DescribePendingMaintenanceActionsPaginator";
18
27
  export * from "./DescribeRecommendationLimitationsPaginator";