@aws-sdk/client-database-migration-service 3.382.0 → 3.384.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +216 -0
- package/dist-cjs/DatabaseMigrationService.js +54 -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/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 +27 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +61 -83
- package/dist-cjs/models/models_1.js +56 -0
- package/dist-cjs/pagination/DescribeDataProvidersPaginator.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 +10 -1
- package/dist-cjs/protocols/Aws_json1_1.js +1556 -124
- package/dist-es/DatabaseMigrationService.js +54 -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/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 +27 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +57 -76
- package/dist-es/models/models_1.js +50 -0
- package/dist-es/pagination/DescribeDataProvidersPaginator.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 +10 -1
- package/dist-es/protocols/Aws_json1_1.js +1647 -270
- package/dist-types/DatabaseMigrationService.d.ts +189 -0
- package/dist-types/DatabaseMigrationServiceClient.d.ts +29 -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/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 +27 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2419 -2006
- package/dist-types/models/models_1.d.ts +1322 -0
- package/dist-types/pagination/DescribeDataProvidersPaginator.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 +10 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +243 -0
- package/dist-types/ts3.4/DatabaseMigrationService.d.ts +477 -0
- package/dist-types/ts3.4/DatabaseMigrationServiceClient.d.ts +162 -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/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 +27 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +374 -236
- 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/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 +10 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +324 -0
- package/package.json +1 -1
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
|
|
5
|
+
import { CreateDataProviderMessage, CreateDataProviderResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateDataProviderCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateDataProviderCommandInput extends CreateDataProviderMessage {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateDataProviderCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateDataProviderCommandOutput extends CreateDataProviderResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates a data provider using the provided settings. A data provider stores
|
|
27
|
+
* a data store type and location information about your database. </p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { DatabaseMigrationServiceClient, CreateDataProviderCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
|
|
32
|
+
* // const { DatabaseMigrationServiceClient, CreateDataProviderCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
|
|
33
|
+
* const client = new DatabaseMigrationServiceClient(config);
|
|
34
|
+
* const input = { // CreateDataProviderMessage
|
|
35
|
+
* DataProviderName: "STRING_VALUE",
|
|
36
|
+
* Description: "STRING_VALUE",
|
|
37
|
+
* Engine: "STRING_VALUE", // required
|
|
38
|
+
* Settings: { // DataProviderSettings Union: only one key present
|
|
39
|
+
* PostgreSqlSettings: { // PostgreSqlDataProviderSettings
|
|
40
|
+
* ServerName: "STRING_VALUE",
|
|
41
|
+
* Port: Number("int"),
|
|
42
|
+
* DatabaseName: "STRING_VALUE",
|
|
43
|
+
* SslMode: "none" || "require" || "verify-ca" || "verify-full",
|
|
44
|
+
* CertificateArn: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* MySqlSettings: { // MySqlDataProviderSettings
|
|
47
|
+
* ServerName: "STRING_VALUE",
|
|
48
|
+
* Port: Number("int"),
|
|
49
|
+
* SslMode: "none" || "require" || "verify-ca" || "verify-full",
|
|
50
|
+
* CertificateArn: "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* OracleSettings: { // OracleDataProviderSettings
|
|
53
|
+
* ServerName: "STRING_VALUE",
|
|
54
|
+
* Port: Number("int"),
|
|
55
|
+
* DatabaseName: "STRING_VALUE",
|
|
56
|
+
* SslMode: "none" || "require" || "verify-ca" || "verify-full",
|
|
57
|
+
* CertificateArn: "STRING_VALUE",
|
|
58
|
+
* AsmServer: "STRING_VALUE",
|
|
59
|
+
* SecretsManagerOracleAsmSecretId: "STRING_VALUE",
|
|
60
|
+
* SecretsManagerOracleAsmAccessRoleArn: "STRING_VALUE",
|
|
61
|
+
* SecretsManagerSecurityDbEncryptionSecretId: "STRING_VALUE",
|
|
62
|
+
* SecretsManagerSecurityDbEncryptionAccessRoleArn: "STRING_VALUE",
|
|
63
|
+
* },
|
|
64
|
+
* MicrosoftSqlServerSettings: { // MicrosoftSqlServerDataProviderSettings
|
|
65
|
+
* ServerName: "STRING_VALUE",
|
|
66
|
+
* Port: Number("int"),
|
|
67
|
+
* DatabaseName: "STRING_VALUE",
|
|
68
|
+
* SslMode: "none" || "require" || "verify-ca" || "verify-full",
|
|
69
|
+
* CertificateArn: "STRING_VALUE",
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* Tags: [ // TagList
|
|
73
|
+
* { // Tag
|
|
74
|
+
* Key: "STRING_VALUE",
|
|
75
|
+
* Value: "STRING_VALUE",
|
|
76
|
+
* ResourceArn: "STRING_VALUE",
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
79
|
+
* };
|
|
80
|
+
* const command = new CreateDataProviderCommand(input);
|
|
81
|
+
* const response = await client.send(command);
|
|
82
|
+
* // { // CreateDataProviderResponse
|
|
83
|
+
* // DataProvider: { // DataProvider
|
|
84
|
+
* // DataProviderName: "STRING_VALUE",
|
|
85
|
+
* // DataProviderArn: "STRING_VALUE",
|
|
86
|
+
* // DataProviderCreationTime: new Date("TIMESTAMP"),
|
|
87
|
+
* // Description: "STRING_VALUE",
|
|
88
|
+
* // Engine: "STRING_VALUE",
|
|
89
|
+
* // Settings: { // DataProviderSettings Union: only one key present
|
|
90
|
+
* // PostgreSqlSettings: { // PostgreSqlDataProviderSettings
|
|
91
|
+
* // ServerName: "STRING_VALUE",
|
|
92
|
+
* // Port: Number("int"),
|
|
93
|
+
* // DatabaseName: "STRING_VALUE",
|
|
94
|
+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
|
|
95
|
+
* // CertificateArn: "STRING_VALUE",
|
|
96
|
+
* // },
|
|
97
|
+
* // MySqlSettings: { // MySqlDataProviderSettings
|
|
98
|
+
* // ServerName: "STRING_VALUE",
|
|
99
|
+
* // Port: Number("int"),
|
|
100
|
+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
|
|
101
|
+
* // CertificateArn: "STRING_VALUE",
|
|
102
|
+
* // },
|
|
103
|
+
* // OracleSettings: { // OracleDataProviderSettings
|
|
104
|
+
* // ServerName: "STRING_VALUE",
|
|
105
|
+
* // Port: Number("int"),
|
|
106
|
+
* // DatabaseName: "STRING_VALUE",
|
|
107
|
+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
|
|
108
|
+
* // CertificateArn: "STRING_VALUE",
|
|
109
|
+
* // AsmServer: "STRING_VALUE",
|
|
110
|
+
* // SecretsManagerOracleAsmSecretId: "STRING_VALUE",
|
|
111
|
+
* // SecretsManagerOracleAsmAccessRoleArn: "STRING_VALUE",
|
|
112
|
+
* // SecretsManagerSecurityDbEncryptionSecretId: "STRING_VALUE",
|
|
113
|
+
* // SecretsManagerSecurityDbEncryptionAccessRoleArn: "STRING_VALUE",
|
|
114
|
+
* // },
|
|
115
|
+
* // MicrosoftSqlServerSettings: { // MicrosoftSqlServerDataProviderSettings
|
|
116
|
+
* // ServerName: "STRING_VALUE",
|
|
117
|
+
* // Port: Number("int"),
|
|
118
|
+
* // DatabaseName: "STRING_VALUE",
|
|
119
|
+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
|
|
120
|
+
* // CertificateArn: "STRING_VALUE",
|
|
121
|
+
* // },
|
|
122
|
+
* // },
|
|
123
|
+
* // },
|
|
124
|
+
* // };
|
|
125
|
+
*
|
|
126
|
+
* ```
|
|
127
|
+
*
|
|
128
|
+
* @param CreateDataProviderCommandInput - {@link CreateDataProviderCommandInput}
|
|
129
|
+
* @returns {@link CreateDataProviderCommandOutput}
|
|
130
|
+
* @see {@link CreateDataProviderCommandInput} for command's `input` shape.
|
|
131
|
+
* @see {@link CreateDataProviderCommandOutput} for command's `response` shape.
|
|
132
|
+
* @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link AccessDeniedFault} (client fault)
|
|
135
|
+
* <p>DMS was denied access to the endpoint. Check that the
|
|
136
|
+
* role is correctly configured.</p>
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link ResourceAlreadyExistsFault} (client fault)
|
|
139
|
+
* <p>The resource you are attempting to create already exists.</p>
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link ResourceQuotaExceededFault} (client fault)
|
|
142
|
+
* <p>The quota for this resource quota has been exceeded.</p>
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
145
|
+
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
146
|
+
*
|
|
147
|
+
*/
|
|
148
|
+
export declare class CreateDataProviderCommand extends $Command<CreateDataProviderCommandInput, CreateDataProviderCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
|
|
149
|
+
readonly input: CreateDataProviderCommandInput;
|
|
150
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
constructor(input: CreateDataProviderCommandInput);
|
|
155
|
+
/**
|
|
156
|
+
* @internal
|
|
157
|
+
*/
|
|
158
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDataProviderCommandInput, CreateDataProviderCommandOutput>;
|
|
159
|
+
/**
|
|
160
|
+
* @internal
|
|
161
|
+
*/
|
|
162
|
+
private serialize;
|
|
163
|
+
/**
|
|
164
|
+
* @internal
|
|
165
|
+
*/
|
|
166
|
+
private deserialize;
|
|
167
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
|
|
5
|
+
import { CreateInstanceProfileMessage, CreateInstanceProfileResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateInstanceProfileCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateInstanceProfileCommandInput extends CreateInstanceProfileMessage {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateInstanceProfileCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateInstanceProfileCommandOutput extends CreateInstanceProfileResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates the instance profile using the specified parameters.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { DatabaseMigrationServiceClient, CreateInstanceProfileCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
|
|
31
|
+
* // const { DatabaseMigrationServiceClient, CreateInstanceProfileCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
|
|
32
|
+
* const client = new DatabaseMigrationServiceClient(config);
|
|
33
|
+
* const input = { // CreateInstanceProfileMessage
|
|
34
|
+
* AvailabilityZone: "STRING_VALUE",
|
|
35
|
+
* KmsKeyArn: "STRING_VALUE",
|
|
36
|
+
* PubliclyAccessible: true || false,
|
|
37
|
+
* Tags: [ // TagList
|
|
38
|
+
* { // Tag
|
|
39
|
+
* Key: "STRING_VALUE",
|
|
40
|
+
* Value: "STRING_VALUE",
|
|
41
|
+
* ResourceArn: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* NetworkType: "STRING_VALUE",
|
|
45
|
+
* InstanceProfileName: "STRING_VALUE",
|
|
46
|
+
* Description: "STRING_VALUE",
|
|
47
|
+
* SubnetGroupIdentifier: "STRING_VALUE",
|
|
48
|
+
* VpcSecurityGroups: [ // StringList
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* };
|
|
52
|
+
* const command = new CreateInstanceProfileCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // CreateInstanceProfileResponse
|
|
55
|
+
* // InstanceProfile: { // InstanceProfile
|
|
56
|
+
* // InstanceProfileArn: "STRING_VALUE",
|
|
57
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
58
|
+
* // KmsKeyArn: "STRING_VALUE",
|
|
59
|
+
* // PubliclyAccessible: true || false,
|
|
60
|
+
* // NetworkType: "STRING_VALUE",
|
|
61
|
+
* // InstanceProfileName: "STRING_VALUE",
|
|
62
|
+
* // Description: "STRING_VALUE",
|
|
63
|
+
* // InstanceProfileCreationTime: new Date("TIMESTAMP"),
|
|
64
|
+
* // SubnetGroupIdentifier: "STRING_VALUE",
|
|
65
|
+
* // VpcSecurityGroups: [ // StringList
|
|
66
|
+
* // "STRING_VALUE",
|
|
67
|
+
* // ],
|
|
68
|
+
* // },
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param CreateInstanceProfileCommandInput - {@link CreateInstanceProfileCommandInput}
|
|
74
|
+
* @returns {@link CreateInstanceProfileCommandOutput}
|
|
75
|
+
* @see {@link CreateInstanceProfileCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link CreateInstanceProfileCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedFault} (client fault)
|
|
80
|
+
* <p>DMS was denied access to the endpoint. Check that the
|
|
81
|
+
* role is correctly configured.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InvalidResourceStateFault} (client fault)
|
|
84
|
+
* <p>The resource is in a state that prevents it from being used for database migration.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link KMSKeyNotAccessibleFault} (client fault)
|
|
87
|
+
* <p>DMS cannot access the KMS key.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ResourceAlreadyExistsFault} (client fault)
|
|
90
|
+
* <p>The resource you are attempting to create already exists.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ResourceNotFoundFault} (client fault)
|
|
93
|
+
* <p>The resource could not be found.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ResourceQuotaExceededFault} (client fault)
|
|
96
|
+
* <p>The quota for this resource quota has been exceeded.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link S3AccessDeniedFault} (client fault)
|
|
99
|
+
* <p>Insufficient privileges are preventing access to an Amazon S3 object.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link S3ResourceNotFoundFault} (client fault)
|
|
102
|
+
* <p>A specified Amazon S3 bucket, bucket folder, or other object can't be
|
|
103
|
+
* found.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
107
|
+
*
|
|
108
|
+
*/
|
|
109
|
+
export declare class CreateInstanceProfileCommand extends $Command<CreateInstanceProfileCommandInput, CreateInstanceProfileCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
|
|
110
|
+
readonly input: CreateInstanceProfileCommandInput;
|
|
111
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
112
|
+
/**
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
constructor(input: CreateInstanceProfileCommandInput);
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateInstanceProfileCommandInput, CreateInstanceProfileCommandOutput>;
|
|
120
|
+
/**
|
|
121
|
+
* @internal
|
|
122
|
+
*/
|
|
123
|
+
private serialize;
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
private deserialize;
|
|
128
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
|
|
5
|
+
import { CreateMigrationProjectMessage, CreateMigrationProjectResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateMigrationProjectCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateMigrationProjectCommandInput extends CreateMigrationProjectMessage {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateMigrationProjectCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateMigrationProjectCommandOutput extends CreateMigrationProjectResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates the migration project using the specified parameters.</p>
|
|
27
|
+
* <p>You can run this action only after you create an instance profile and data providers
|
|
28
|
+
* using <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_CreateInstanceProfile.html">CreateInstanceProfile</a> and <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_CreateDataProvider.html">CreateDataProvider</a>.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { DatabaseMigrationServiceClient, CreateMigrationProjectCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
|
|
33
|
+
* // const { DatabaseMigrationServiceClient, CreateMigrationProjectCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
|
|
34
|
+
* const client = new DatabaseMigrationServiceClient(config);
|
|
35
|
+
* const input = { // CreateMigrationProjectMessage
|
|
36
|
+
* MigrationProjectName: "STRING_VALUE",
|
|
37
|
+
* SourceDataProviderDescriptors: [ // DataProviderDescriptorDefinitionList // required
|
|
38
|
+
* { // DataProviderDescriptorDefinition
|
|
39
|
+
* DataProviderIdentifier: "STRING_VALUE", // required
|
|
40
|
+
* SecretsManagerSecretId: "STRING_VALUE",
|
|
41
|
+
* SecretsManagerAccessRoleArn: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* TargetDataProviderDescriptors: [ // required
|
|
45
|
+
* {
|
|
46
|
+
* DataProviderIdentifier: "STRING_VALUE", // required
|
|
47
|
+
* SecretsManagerSecretId: "STRING_VALUE",
|
|
48
|
+
* SecretsManagerAccessRoleArn: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* InstanceProfileIdentifier: "STRING_VALUE", // required
|
|
52
|
+
* TransformationRules: "STRING_VALUE",
|
|
53
|
+
* Description: "STRING_VALUE",
|
|
54
|
+
* Tags: [ // TagList
|
|
55
|
+
* { // Tag
|
|
56
|
+
* Key: "STRING_VALUE",
|
|
57
|
+
* Value: "STRING_VALUE",
|
|
58
|
+
* ResourceArn: "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* SchemaConversionApplicationAttributes: { // SCApplicationAttributes
|
|
62
|
+
* S3BucketPath: "STRING_VALUE",
|
|
63
|
+
* S3BucketRoleArn: "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* };
|
|
66
|
+
* const command = new CreateMigrationProjectCommand(input);
|
|
67
|
+
* const response = await client.send(command);
|
|
68
|
+
* // { // CreateMigrationProjectResponse
|
|
69
|
+
* // MigrationProject: { // MigrationProject
|
|
70
|
+
* // MigrationProjectName: "STRING_VALUE",
|
|
71
|
+
* // MigrationProjectArn: "STRING_VALUE",
|
|
72
|
+
* // MigrationProjectCreationTime: new Date("TIMESTAMP"),
|
|
73
|
+
* // SourceDataProviderDescriptors: [ // DataProviderDescriptorList
|
|
74
|
+
* // { // DataProviderDescriptor
|
|
75
|
+
* // SecretsManagerSecretId: "STRING_VALUE",
|
|
76
|
+
* // SecretsManagerAccessRoleArn: "STRING_VALUE",
|
|
77
|
+
* // DataProviderName: "STRING_VALUE",
|
|
78
|
+
* // DataProviderArn: "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // TargetDataProviderDescriptors: [
|
|
82
|
+
* // {
|
|
83
|
+
* // SecretsManagerSecretId: "STRING_VALUE",
|
|
84
|
+
* // SecretsManagerAccessRoleArn: "STRING_VALUE",
|
|
85
|
+
* // DataProviderName: "STRING_VALUE",
|
|
86
|
+
* // DataProviderArn: "STRING_VALUE",
|
|
87
|
+
* // },
|
|
88
|
+
* // ],
|
|
89
|
+
* // InstanceProfileArn: "STRING_VALUE",
|
|
90
|
+
* // InstanceProfileName: "STRING_VALUE",
|
|
91
|
+
* // TransformationRules: "STRING_VALUE",
|
|
92
|
+
* // Description: "STRING_VALUE",
|
|
93
|
+
* // SchemaConversionApplicationAttributes: { // SCApplicationAttributes
|
|
94
|
+
* // S3BucketPath: "STRING_VALUE",
|
|
95
|
+
* // S3BucketRoleArn: "STRING_VALUE",
|
|
96
|
+
* // },
|
|
97
|
+
* // },
|
|
98
|
+
* // };
|
|
99
|
+
*
|
|
100
|
+
* ```
|
|
101
|
+
*
|
|
102
|
+
* @param CreateMigrationProjectCommandInput - {@link CreateMigrationProjectCommandInput}
|
|
103
|
+
* @returns {@link CreateMigrationProjectCommandOutput}
|
|
104
|
+
* @see {@link CreateMigrationProjectCommandInput} for command's `input` shape.
|
|
105
|
+
* @see {@link CreateMigrationProjectCommandOutput} for command's `response` shape.
|
|
106
|
+
* @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link AccessDeniedFault} (client fault)
|
|
109
|
+
* <p>DMS was denied access to the endpoint. Check that the
|
|
110
|
+
* role is correctly configured.</p>
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link ResourceAlreadyExistsFault} (client fault)
|
|
113
|
+
* <p>The resource you are attempting to create already exists.</p>
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link ResourceNotFoundFault} (client fault)
|
|
116
|
+
* <p>The resource could not be found.</p>
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link ResourceQuotaExceededFault} (client fault)
|
|
119
|
+
* <p>The quota for this resource quota has been exceeded.</p>
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link S3AccessDeniedFault} (client fault)
|
|
122
|
+
* <p>Insufficient privileges are preventing access to an Amazon S3 object.</p>
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link S3ResourceNotFoundFault} (client fault)
|
|
125
|
+
* <p>A specified Amazon S3 bucket, bucket folder, or other object can't be
|
|
126
|
+
* found.</p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
129
|
+
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
130
|
+
*
|
|
131
|
+
*/
|
|
132
|
+
export declare class CreateMigrationProjectCommand extends $Command<CreateMigrationProjectCommandInput, CreateMigrationProjectCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
|
|
133
|
+
readonly input: CreateMigrationProjectCommandInput;
|
|
134
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
constructor(input: CreateMigrationProjectCommandInput);
|
|
139
|
+
/**
|
|
140
|
+
* @internal
|
|
141
|
+
*/
|
|
142
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateMigrationProjectCommandInput, CreateMigrationProjectCommandOutput>;
|
|
143
|
+
/**
|
|
144
|
+
* @internal
|
|
145
|
+
*/
|
|
146
|
+
private serialize;
|
|
147
|
+
/**
|
|
148
|
+
* @internal
|
|
149
|
+
*/
|
|
150
|
+
private deserialize;
|
|
151
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
|
|
5
|
+
import { DeleteDataProviderMessage, DeleteDataProviderResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteDataProviderCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteDataProviderCommandInput extends DeleteDataProviderMessage {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteDataProviderCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteDataProviderCommandOutput extends DeleteDataProviderResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes the specified data provider.</p>
|
|
27
|
+
* <note>
|
|
28
|
+
* <p>All migration projects associated with the data provider must be deleted or modified
|
|
29
|
+
* before you can delete the data provider.</p>
|
|
30
|
+
* </note>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DatabaseMigrationServiceClient, DeleteDataProviderCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
|
|
35
|
+
* // const { DatabaseMigrationServiceClient, DeleteDataProviderCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
|
|
36
|
+
* const client = new DatabaseMigrationServiceClient(config);
|
|
37
|
+
* const input = { // DeleteDataProviderMessage
|
|
38
|
+
* DataProviderIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteDataProviderCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // DeleteDataProviderResponse
|
|
43
|
+
* // DataProvider: { // DataProvider
|
|
44
|
+
* // DataProviderName: "STRING_VALUE",
|
|
45
|
+
* // DataProviderArn: "STRING_VALUE",
|
|
46
|
+
* // DataProviderCreationTime: new Date("TIMESTAMP"),
|
|
47
|
+
* // Description: "STRING_VALUE",
|
|
48
|
+
* // Engine: "STRING_VALUE",
|
|
49
|
+
* // Settings: { // DataProviderSettings Union: only one key present
|
|
50
|
+
* // PostgreSqlSettings: { // PostgreSqlDataProviderSettings
|
|
51
|
+
* // ServerName: "STRING_VALUE",
|
|
52
|
+
* // Port: Number("int"),
|
|
53
|
+
* // DatabaseName: "STRING_VALUE",
|
|
54
|
+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
|
|
55
|
+
* // CertificateArn: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // MySqlSettings: { // MySqlDataProviderSettings
|
|
58
|
+
* // ServerName: "STRING_VALUE",
|
|
59
|
+
* // Port: Number("int"),
|
|
60
|
+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
|
|
61
|
+
* // CertificateArn: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // OracleSettings: { // OracleDataProviderSettings
|
|
64
|
+
* // ServerName: "STRING_VALUE",
|
|
65
|
+
* // Port: Number("int"),
|
|
66
|
+
* // DatabaseName: "STRING_VALUE",
|
|
67
|
+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
|
|
68
|
+
* // CertificateArn: "STRING_VALUE",
|
|
69
|
+
* // AsmServer: "STRING_VALUE",
|
|
70
|
+
* // SecretsManagerOracleAsmSecretId: "STRING_VALUE",
|
|
71
|
+
* // SecretsManagerOracleAsmAccessRoleArn: "STRING_VALUE",
|
|
72
|
+
* // SecretsManagerSecurityDbEncryptionSecretId: "STRING_VALUE",
|
|
73
|
+
* // SecretsManagerSecurityDbEncryptionAccessRoleArn: "STRING_VALUE",
|
|
74
|
+
* // },
|
|
75
|
+
* // MicrosoftSqlServerSettings: { // MicrosoftSqlServerDataProviderSettings
|
|
76
|
+
* // ServerName: "STRING_VALUE",
|
|
77
|
+
* // Port: Number("int"),
|
|
78
|
+
* // DatabaseName: "STRING_VALUE",
|
|
79
|
+
* // SslMode: "none" || "require" || "verify-ca" || "verify-full",
|
|
80
|
+
* // CertificateArn: "STRING_VALUE",
|
|
81
|
+
* // },
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // };
|
|
85
|
+
*
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* @param DeleteDataProviderCommandInput - {@link DeleteDataProviderCommandInput}
|
|
89
|
+
* @returns {@link DeleteDataProviderCommandOutput}
|
|
90
|
+
* @see {@link DeleteDataProviderCommandInput} for command's `input` shape.
|
|
91
|
+
* @see {@link DeleteDataProviderCommandOutput} for command's `response` shape.
|
|
92
|
+
* @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link AccessDeniedFault} (client fault)
|
|
95
|
+
* <p>DMS was denied access to the endpoint. Check that the
|
|
96
|
+
* role is correctly configured.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link InvalidResourceStateFault} (client fault)
|
|
99
|
+
* <p>The resource is in a state that prevents it from being used for database migration.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ResourceNotFoundFault} (client fault)
|
|
102
|
+
* <p>The resource could not be found.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
106
|
+
*
|
|
107
|
+
*/
|
|
108
|
+
export declare class DeleteDataProviderCommand extends $Command<DeleteDataProviderCommandInput, DeleteDataProviderCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
|
|
109
|
+
readonly input: DeleteDataProviderCommandInput;
|
|
110
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
111
|
+
/**
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
constructor(input: DeleteDataProviderCommandInput);
|
|
115
|
+
/**
|
|
116
|
+
* @internal
|
|
117
|
+
*/
|
|
118
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDataProviderCommandInput, DeleteDataProviderCommandOutput>;
|
|
119
|
+
/**
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
private serialize;
|
|
123
|
+
/**
|
|
124
|
+
* @internal
|
|
125
|
+
*/
|
|
126
|
+
private deserialize;
|
|
127
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
|
|
5
|
+
import { DeleteInstanceProfileMessage, DeleteInstanceProfileResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteInstanceProfileCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteInstanceProfileCommandInput extends DeleteInstanceProfileMessage {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteInstanceProfileCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteInstanceProfileCommandOutput extends DeleteInstanceProfileResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes the specified instance profile.</p>
|
|
27
|
+
* <note>
|
|
28
|
+
* <p>All migration projects associated with the instance profile must be deleted or modified
|
|
29
|
+
* before you can delete the instance profile.</p>
|
|
30
|
+
* </note>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DatabaseMigrationServiceClient, DeleteInstanceProfileCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
|
|
35
|
+
* // const { DatabaseMigrationServiceClient, DeleteInstanceProfileCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
|
|
36
|
+
* const client = new DatabaseMigrationServiceClient(config);
|
|
37
|
+
* const input = { // DeleteInstanceProfileMessage
|
|
38
|
+
* InstanceProfileIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteInstanceProfileCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // DeleteInstanceProfileResponse
|
|
43
|
+
* // InstanceProfile: { // InstanceProfile
|
|
44
|
+
* // InstanceProfileArn: "STRING_VALUE",
|
|
45
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
46
|
+
* // KmsKeyArn: "STRING_VALUE",
|
|
47
|
+
* // PubliclyAccessible: true || false,
|
|
48
|
+
* // NetworkType: "STRING_VALUE",
|
|
49
|
+
* // InstanceProfileName: "STRING_VALUE",
|
|
50
|
+
* // Description: "STRING_VALUE",
|
|
51
|
+
* // InstanceProfileCreationTime: new Date("TIMESTAMP"),
|
|
52
|
+
* // SubnetGroupIdentifier: "STRING_VALUE",
|
|
53
|
+
* // VpcSecurityGroups: [ // StringList
|
|
54
|
+
* // "STRING_VALUE",
|
|
55
|
+
* // ],
|
|
56
|
+
* // },
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param DeleteInstanceProfileCommandInput - {@link DeleteInstanceProfileCommandInput}
|
|
62
|
+
* @returns {@link DeleteInstanceProfileCommandOutput}
|
|
63
|
+
* @see {@link DeleteInstanceProfileCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link DeleteInstanceProfileCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedFault} (client fault)
|
|
68
|
+
* <p>DMS was denied access to the endpoint. Check that the
|
|
69
|
+
* role is correctly configured.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InvalidResourceStateFault} (client fault)
|
|
72
|
+
* <p>The resource is in a state that prevents it from being used for database migration.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceNotFoundFault} (client fault)
|
|
75
|
+
* <p>The resource could not be found.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
export declare class DeleteInstanceProfileCommand extends $Command<DeleteInstanceProfileCommandInput, DeleteInstanceProfileCommandOutput, DatabaseMigrationServiceClientResolvedConfig> {
|
|
82
|
+
readonly input: DeleteInstanceProfileCommandInput;
|
|
83
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
constructor(input: DeleteInstanceProfileCommandInput);
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteInstanceProfileCommandInput, DeleteInstanceProfileCommandOutput>;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
private serialize;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
private deserialize;
|
|
100
|
+
}
|