@aws-sdk/client-database-migration-service 3.379.1 → 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.
- package/README.md +224 -0
- package/dist-cjs/DatabaseMigrationService.js +56 -0
- package/dist-cjs/commands/CreateDataProviderCommand.js +46 -0
- package/dist-cjs/commands/CreateInstanceProfileCommand.js +46 -0
- package/dist-cjs/commands/CreateMigrationProjectCommand.js +46 -0
- package/dist-cjs/commands/DeleteDataProviderCommand.js +46 -0
- package/dist-cjs/commands/DeleteInstanceProfileCommand.js +46 -0
- package/dist-cjs/commands/DeleteMigrationProjectCommand.js +46 -0
- package/dist-cjs/commands/DescribeConversionConfigurationCommand.js +46 -0
- package/dist-cjs/commands/DescribeDataProvidersCommand.js +46 -0
- package/dist-cjs/commands/DescribeEngineVersionsCommand.js +46 -0
- package/dist-cjs/commands/DescribeExtensionPackAssociationsCommand.js +46 -0
- package/dist-cjs/commands/DescribeInstanceProfilesCommand.js +46 -0
- package/dist-cjs/commands/DescribeMetadataModelAssessmentsCommand.js +46 -0
- package/dist-cjs/commands/DescribeMetadataModelConversionsCommand.js +46 -0
- package/dist-cjs/commands/DescribeMetadataModelExportsAsScriptCommand.js +46 -0
- package/dist-cjs/commands/DescribeMetadataModelExportsToTargetCommand.js +46 -0
- package/dist-cjs/commands/DescribeMetadataModelImportsCommand.js +46 -0
- package/dist-cjs/commands/DescribeMigrationProjectsCommand.js +46 -0
- package/dist-cjs/commands/ExportMetadataModelAssessmentCommand.js +46 -0
- package/dist-cjs/commands/ModifyConversionConfigurationCommand.js +46 -0
- package/dist-cjs/commands/ModifyDataProviderCommand.js +46 -0
- package/dist-cjs/commands/ModifyInstanceProfileCommand.js +46 -0
- package/dist-cjs/commands/ModifyMigrationProjectCommand.js +46 -0
- package/dist-cjs/commands/StartExtensionPackAssociationCommand.js +46 -0
- package/dist-cjs/commands/StartMetadataModelAssessmentCommand.js +46 -0
- package/dist-cjs/commands/StartMetadataModelConversionCommand.js +46 -0
- package/dist-cjs/commands/StartMetadataModelExportAsScriptCommand.js +46 -0
- package/dist-cjs/commands/StartMetadataModelExportToTargetCommand.js +46 -0
- package/dist-cjs/commands/StartMetadataModelImportCommand.js +46 -0
- package/dist-cjs/commands/index.js +28 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +65 -87
- package/dist-cjs/models/models_1.js +56 -0
- package/dist-cjs/pagination/DescribeDataProvidersPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeEngineVersionsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeExtensionPackAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeInstanceProfilesPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeMetadataModelAssessmentsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeMetadataModelConversionsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeMetadataModelExportsAsScriptPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeMetadataModelExportsToTargetPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeMetadataModelImportsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeMigrationProjectsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +11 -1
- package/dist-cjs/protocols/Aws_json1_1.js +1601 -109
- package/dist-es/DatabaseMigrationService.js +56 -0
- package/dist-es/commands/CreateDataProviderCommand.js +42 -0
- package/dist-es/commands/CreateInstanceProfileCommand.js +42 -0
- package/dist-es/commands/CreateMigrationProjectCommand.js +42 -0
- package/dist-es/commands/DeleteDataProviderCommand.js +42 -0
- package/dist-es/commands/DeleteInstanceProfileCommand.js +42 -0
- package/dist-es/commands/DeleteMigrationProjectCommand.js +42 -0
- package/dist-es/commands/DescribeConversionConfigurationCommand.js +42 -0
- package/dist-es/commands/DescribeDataProvidersCommand.js +42 -0
- package/dist-es/commands/DescribeEngineVersionsCommand.js +42 -0
- package/dist-es/commands/DescribeExtensionPackAssociationsCommand.js +42 -0
- package/dist-es/commands/DescribeInstanceProfilesCommand.js +42 -0
- package/dist-es/commands/DescribeMetadataModelAssessmentsCommand.js +42 -0
- package/dist-es/commands/DescribeMetadataModelConversionsCommand.js +42 -0
- package/dist-es/commands/DescribeMetadataModelExportsAsScriptCommand.js +42 -0
- package/dist-es/commands/DescribeMetadataModelExportsToTargetCommand.js +42 -0
- package/dist-es/commands/DescribeMetadataModelImportsCommand.js +42 -0
- package/dist-es/commands/DescribeMigrationProjectsCommand.js +42 -0
- package/dist-es/commands/ExportMetadataModelAssessmentCommand.js +42 -0
- package/dist-es/commands/ModifyConversionConfigurationCommand.js +42 -0
- package/dist-es/commands/ModifyDataProviderCommand.js +42 -0
- package/dist-es/commands/ModifyInstanceProfileCommand.js +42 -0
- package/dist-es/commands/ModifyMigrationProjectCommand.js +42 -0
- package/dist-es/commands/StartExtensionPackAssociationCommand.js +42 -0
- package/dist-es/commands/StartMetadataModelAssessmentCommand.js +42 -0
- package/dist-es/commands/StartMetadataModelConversionCommand.js +42 -0
- package/dist-es/commands/StartMetadataModelExportAsScriptCommand.js +42 -0
- package/dist-es/commands/StartMetadataModelExportToTargetCommand.js +42 -0
- package/dist-es/commands/StartMetadataModelImportCommand.js +42 -0
- package/dist-es/commands/index.js +28 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +61 -80
- package/dist-es/models/models_1.js +50 -0
- package/dist-es/pagination/DescribeDataProvidersPaginator.js +25 -0
- package/dist-es/pagination/DescribeEngineVersionsPaginator.js +25 -0
- package/dist-es/pagination/DescribeExtensionPackAssociationsPaginator.js +25 -0
- package/dist-es/pagination/DescribeInstanceProfilesPaginator.js +25 -0
- package/dist-es/pagination/DescribeMetadataModelAssessmentsPaginator.js +25 -0
- package/dist-es/pagination/DescribeMetadataModelConversionsPaginator.js +25 -0
- package/dist-es/pagination/DescribeMetadataModelExportsAsScriptPaginator.js +25 -0
- package/dist-es/pagination/DescribeMetadataModelExportsToTargetPaginator.js +25 -0
- package/dist-es/pagination/DescribeMetadataModelImportsPaginator.js +25 -0
- package/dist-es/pagination/DescribeMigrationProjectsPaginator.js +25 -0
- package/dist-es/pagination/index.js +11 -1
- package/dist-es/protocols/Aws_json1_1.js +1539 -104
- package/dist-types/DatabaseMigrationService.d.ts +196 -0
- package/dist-types/DatabaseMigrationServiceClient.d.ts +30 -2
- package/dist-types/commands/CreateDataProviderCommand.d.ts +167 -0
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +128 -0
- package/dist-types/commands/CreateMigrationProjectCommand.d.ts +151 -0
- package/dist-types/commands/DeleteDataProviderCommand.d.ts +127 -0
- package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +100 -0
- package/dist-types/commands/DeleteMigrationProjectCommand.d.ts +114 -0
- package/dist-types/commands/DescribeConversionConfigurationCommand.d.ts +77 -0
- package/dist-types/commands/DescribeDataProvidersCommand.d.ts +132 -0
- package/dist-types/commands/DescribeEngineVersionsCommand.d.ts +88 -0
- package/dist-types/commands/DescribeExtensionPackAssociationsCommand.d.ts +102 -0
- package/dist-types/commands/DescribeInstanceProfilesCommand.d.ts +105 -0
- package/dist-types/commands/DescribeMetadataModelAssessmentsCommand.d.ts +102 -0
- package/dist-types/commands/DescribeMetadataModelConversionsCommand.d.ts +102 -0
- package/dist-types/commands/DescribeMetadataModelExportsAsScriptCommand.d.ts +102 -0
- package/dist-types/commands/DescribeMetadataModelExportsToTargetCommand.d.ts +102 -0
- package/dist-types/commands/DescribeMetadataModelImportsCommand.d.ts +102 -0
- package/dist-types/commands/DescribeMigrationProjectsCommand.d.ts +120 -0
- package/dist-types/commands/ExportMetadataModelAssessmentCommand.d.ts +89 -0
- package/dist-types/commands/ModifyConversionConfigurationCommand.d.ts +80 -0
- package/dist-types/commands/ModifyDataProviderCommand.d.ts +164 -0
- package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceProfileCommand.d.ts +120 -0
- package/dist-types/commands/ModifyMigrationProjectCommand.d.ts +143 -0
- package/dist-types/commands/ModifyReplicationConfigCommand.d.ts +1 -1
- package/dist-types/commands/ModifyReplicationInstanceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyReplicationSubnetGroupCommand.d.ts +1 -1
- package/dist-types/commands/ModifyReplicationTaskCommand.d.ts +1 -1
- package/dist-types/commands/MoveReplicationTaskCommand.d.ts +1 -1
- package/dist-types/commands/RebootReplicationInstanceCommand.d.ts +1 -1
- package/dist-types/commands/RefreshSchemasCommand.d.ts +1 -1
- package/dist-types/commands/ReloadReplicationTablesCommand.d.ts +1 -1
- package/dist-types/commands/ReloadTablesCommand.d.ts +1 -1
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
- package/dist-types/commands/RunFleetAdvisorLsaAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/StartExtensionPackAssociationCommand.d.ts +102 -0
- package/dist-types/commands/StartMetadataModelAssessmentCommand.d.ts +103 -0
- package/dist-types/commands/StartMetadataModelConversionCommand.d.ts +100 -0
- package/dist-types/commands/StartMetadataModelExportAsScriptCommand.d.ts +102 -0
- package/dist-types/commands/StartMetadataModelExportToTargetCommand.d.ts +101 -0
- package/dist-types/commands/StartMetadataModelImportCommand.d.ts +103 -0
- package/dist-types/commands/StartRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/StartReplicationCommand.d.ts +1 -1
- package/dist-types/commands/StartReplicationTaskAssessmentCommand.d.ts +1 -1
- package/dist-types/commands/StartReplicationTaskAssessmentRunCommand.d.ts +1 -1
- package/dist-types/commands/StartReplicationTaskCommand.d.ts +1 -1
- package/dist-types/commands/StopReplicationCommand.d.ts +1 -1
- package/dist-types/commands/StopReplicationTaskCommand.d.ts +1 -1
- package/dist-types/commands/TestConnectionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSubscriptionsToEventBridgeCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +28 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2691 -1072
- package/dist-types/models/models_1.d.ts +1322 -0
- package/dist-types/pagination/DescribeDataProvidersPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeEngineVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeExtensionPackAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeInstanceProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeMetadataModelAssessmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeMetadataModelConversionsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeMetadataModelExportsAsScriptPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeMetadataModelExportsToTargetPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeMetadataModelImportsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeMigrationProjectsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +11 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +252 -0
- package/dist-types/ts3.4/DatabaseMigrationService.d.ts +494 -0
- package/dist-types/ts3.4/DatabaseMigrationServiceClient.d.ts +168 -0
- package/dist-types/ts3.4/commands/CreateDataProviderCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateInstanceProfileCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateMigrationProjectCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteDataProviderCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteInstanceProfileCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteMigrationProjectCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeConversionConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeDataProvidersCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeEngineVersionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeExtensionPackAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeInstanceProfilesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeMetadataModelAssessmentsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeMetadataModelConversionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeMetadataModelExportsAsScriptCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeMetadataModelExportsToTargetCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeMetadataModelImportsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeMigrationProjectsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ExportMetadataModelAssessmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ModifyConversionConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ModifyDataProviderCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ModifyEventSubscriptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceProfileCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ModifyMigrationProjectCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ModifyReplicationConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyReplicationInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyReplicationSubnetGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyReplicationTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MoveReplicationTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RebootReplicationInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RefreshSchemasCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReloadReplicationTablesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReloadTablesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RunFleetAdvisorLsaAnalysisCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartExtensionPackAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartMetadataModelAssessmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartMetadataModelConversionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartMetadataModelExportAsScriptCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartMetadataModelExportToTargetCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartMetadataModelImportCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartRecommendationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartReplicationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartReplicationTaskAssessmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartReplicationTaskAssessmentRunCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartReplicationTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopReplicationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopReplicationTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TestConnectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSubscriptionsToEventBridgeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +28 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +398 -242
- package/dist-types/ts3.4/models/models_1.d.ts +312 -0
- package/dist-types/ts3.4/pagination/DescribeDataProvidersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeEngineVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeExtensionPackAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeInstanceProfilesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeMetadataModelAssessmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeMetadataModelConversionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeMetadataModelExportsAsScriptPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeMetadataModelExportsToTargetPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeMetadataModelImportsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeMigrationProjectsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +11 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +336 -0
- package/package.json +5 -5
|
@@ -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
|
+
}
|
|
@@ -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,17 +30,28 @@ 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";
|
|
38
|
+
export * from "./DescribeEngineVersionsCommand";
|
|
30
39
|
export * from "./DescribeEventCategoriesCommand";
|
|
31
40
|
export * from "./DescribeEventSubscriptionsCommand";
|
|
32
41
|
export * from "./DescribeEventsCommand";
|
|
42
|
+
export * from "./DescribeExtensionPackAssociationsCommand";
|
|
33
43
|
export * from "./DescribeFleetAdvisorCollectorsCommand";
|
|
34
44
|
export * from "./DescribeFleetAdvisorDatabasesCommand";
|
|
35
45
|
export * from "./DescribeFleetAdvisorLsaAnalysisCommand";
|
|
36
46
|
export * from "./DescribeFleetAdvisorSchemaObjectSummaryCommand";
|
|
37
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";
|
|
38
55
|
export * from "./DescribeOrderableReplicationInstancesCommand";
|
|
39
56
|
export * from "./DescribePendingMaintenanceActionsCommand";
|
|
40
57
|
export * from "./DescribeRecommendationLimitationsCommand";
|
|
@@ -52,10 +69,15 @@ export * from "./DescribeReplicationTasksCommand";
|
|
|
52
69
|
export * from "./DescribeReplicationsCommand";
|
|
53
70
|
export * from "./DescribeSchemasCommand";
|
|
54
71
|
export * from "./DescribeTableStatisticsCommand";
|
|
72
|
+
export * from "./ExportMetadataModelAssessmentCommand";
|
|
55
73
|
export * from "./ImportCertificateCommand";
|
|
56
74
|
export * from "./ListTagsForResourceCommand";
|
|
75
|
+
export * from "./ModifyConversionConfigurationCommand";
|
|
76
|
+
export * from "./ModifyDataProviderCommand";
|
|
57
77
|
export * from "./ModifyEndpointCommand";
|
|
58
78
|
export * from "./ModifyEventSubscriptionCommand";
|
|
79
|
+
export * from "./ModifyInstanceProfileCommand";
|
|
80
|
+
export * from "./ModifyMigrationProjectCommand";
|
|
59
81
|
export * from "./ModifyReplicationConfigCommand";
|
|
60
82
|
export * from "./ModifyReplicationInstanceCommand";
|
|
61
83
|
export * from "./ModifyReplicationSubnetGroupCommand";
|
|
@@ -67,6 +89,12 @@ export * from "./ReloadReplicationTablesCommand";
|
|
|
67
89
|
export * from "./ReloadTablesCommand";
|
|
68
90
|
export * from "./RemoveTagsFromResourceCommand";
|
|
69
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";
|
|
70
98
|
export * from "./StartRecommendationsCommand";
|
|
71
99
|
export * from "./StartReplicationCommand";
|
|
72
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 }, {
|
|
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;
|
package/dist-es/models/index.js
CHANGED
|
@@ -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({
|
|
@@ -392,9 +406,21 @@ export const EndpointSettingTypeValue = {
|
|
|
392
406
|
INTEGER: "integer",
|
|
393
407
|
STRING: "string",
|
|
394
408
|
};
|
|
409
|
+
export const ReleaseStatusValues = {
|
|
410
|
+
BETA: "beta",
|
|
411
|
+
PROD: "prod",
|
|
412
|
+
};
|
|
395
413
|
export const SourceType = {
|
|
396
414
|
replication_instance: "replication-instance",
|
|
397
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 = {}));
|
|
398
424
|
export const CollectorStatus = {
|
|
399
425
|
ACTIVE: "ACTIVE",
|
|
400
426
|
UNREGISTERED: "UNREGISTERED",
|
|
@@ -404,15 +430,15 @@ export const VersionStatus = {
|
|
|
404
430
|
UNSUPPORTED: "UNSUPPORTED",
|
|
405
431
|
UP_TO_DATE: "UP_TO_DATE",
|
|
406
432
|
};
|
|
407
|
-
export const ReleaseStatusValues = {
|
|
408
|
-
BETA: "beta",
|
|
409
|
-
PROD: "prod",
|
|
410
|
-
};
|
|
411
433
|
export const RefreshSchemasStatusTypeValue = {
|
|
412
434
|
FAILED: "failed",
|
|
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 { DescribeEngineVersionsCommand, } from "../commands/DescribeEngineVersionsCommand";
|
|
2
|
+
import { DatabaseMigrationServiceClient } from "../DatabaseMigrationServiceClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new DescribeEngineVersionsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateDescribeEngineVersions(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
|
+
}
|