@aws-sdk/client-database-migration-service 3.929.0 → 3.930.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 +56 -0
- package/dist-cjs/index.js +313 -80
- package/dist-es/DatabaseMigrationService.js +14 -0
- package/dist-es/commands/CancelMetadataModelConversionCommand.js +16 -0
- package/dist-es/commands/CancelMetadataModelCreationCommand.js +16 -0
- package/dist-es/commands/DescribeMetadataModelChildrenCommand.js +16 -0
- package/dist-es/commands/DescribeMetadataModelCommand.js +16 -0
- package/dist-es/commands/DescribeMetadataModelCreationsCommand.js +16 -0
- package/dist-es/commands/GetTargetSelectionRulesCommand.js +16 -0
- package/dist-es/commands/StartMetadataModelCreationCommand.js +16 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +4 -34
- package/dist-es/models/models_1.js +0 -4
- package/dist-es/pagination/DescribeMetadataModelChildrenPaginator.js +4 -0
- package/dist-es/pagination/DescribeMetadataModelCreationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +205 -42
- package/dist-types/DatabaseMigrationService.d.ts +49 -0
- package/dist-types/DatabaseMigrationServiceClient.d.ts +9 -2
- package/dist-types/commands/CancelMetadataModelConversionCommand.d.ts +98 -0
- package/dist-types/commands/CancelMetadataModelCreationCommand.d.ts +98 -0
- package/dist-types/commands/DescribeMetadataModelChildrenCommand.d.ts +91 -0
- package/dist-types/commands/DescribeMetadataModelCommand.d.ts +91 -0
- package/dist-types/commands/DescribeMetadataModelCreationsCommand.d.ts +107 -0
- package/dist-types/commands/DescribeReplicationSubnetGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReplicationTableStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReplicationTaskAssessmentResultsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReplicationsCommand.d.ts +2 -1
- package/dist-types/commands/GetTargetSelectionRulesCommand.d.ts +85 -0
- package/dist-types/commands/StartMetadataModelCreationCommand.d.ts +97 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +331 -843
- package/dist-types/models/models_1.d.ts +825 -7
- package/dist-types/pagination/DescribeMetadataModelChildrenPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeMetadataModelCreationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +25 -0
- package/dist-types/ts3.4/DatabaseMigrationService.d.ts +119 -0
- package/dist-types/ts3.4/DatabaseMigrationServiceClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/CancelMetadataModelConversionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CancelMetadataModelCreationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeMetadataModelChildrenCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeMetadataModelCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeMetadataModelCreationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeReplicationSubnetGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeReplicationTableStatisticsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeReplicationTaskAssessmentResultsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeReplicationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetTargetSelectionRulesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartMetadataModelCreationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +87 -151
- package/dist-types/ts3.4/models/models_1.d.ts +156 -8
- package/dist-types/ts3.4/pagination/DescribeMetadataModelChildrenPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeMetadataModelCreationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +25 -0
- package/package.json +34 -34
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
|
|
4
|
+
import { DescribeMetadataModelCreationsMessage, DescribeMetadataModelCreationsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeMetadataModelCreationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeMetadataModelCreationsCommandInput extends DescribeMetadataModelCreationsMessage {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeMetadataModelCreationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeMetadataModelCreationsCommandOutput extends DescribeMetadataModelCreationsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeMetadataModelCreationsCommand_base: {
|
|
25
|
+
new (input: DescribeMetadataModelCreationsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeMetadataModelCreationsCommandInput, DescribeMetadataModelCreationsCommandOutput, DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DescribeMetadataModelCreationsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeMetadataModelCreationsCommandInput, DescribeMetadataModelCreationsCommandOutput, DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a paginated list of metadata model creation requests for a migration project.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DatabaseMigrationServiceClient, DescribeMetadataModelCreationsCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
|
|
35
|
+
* // const { DatabaseMigrationServiceClient, DescribeMetadataModelCreationsCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
|
|
36
|
+
* // import type { DatabaseMigrationServiceClientConfig } from "@aws-sdk/client-database-migration-service";
|
|
37
|
+
* const config = {}; // type is DatabaseMigrationServiceClientConfig
|
|
38
|
+
* const client = new DatabaseMigrationServiceClient(config);
|
|
39
|
+
* const input = { // DescribeMetadataModelCreationsMessage
|
|
40
|
+
* Filters: [ // FilterList
|
|
41
|
+
* { // Filter
|
|
42
|
+
* Name: "STRING_VALUE", // required
|
|
43
|
+
* Values: [ // FilterValueList // required
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* Marker: "STRING_VALUE",
|
|
49
|
+
* MaxRecords: Number("int"),
|
|
50
|
+
* MigrationProjectIdentifier: "STRING_VALUE", // required
|
|
51
|
+
* };
|
|
52
|
+
* const command = new DescribeMetadataModelCreationsCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // DescribeMetadataModelCreationsResponse
|
|
55
|
+
* // Marker: "STRING_VALUE",
|
|
56
|
+
* // Requests: [ // SchemaConversionRequestList
|
|
57
|
+
* // { // SchemaConversionRequest
|
|
58
|
+
* // Status: "STRING_VALUE",
|
|
59
|
+
* // RequestIdentifier: "STRING_VALUE",
|
|
60
|
+
* // MigrationProjectArn: "STRING_VALUE",
|
|
61
|
+
* // Error: { // ErrorDetails Union: only one key present
|
|
62
|
+
* // defaultErrorDetails: { // DefaultErrorDetails
|
|
63
|
+
* // Message: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // },
|
|
66
|
+
* // ExportSqlDetails: { // ExportSqlDetails
|
|
67
|
+
* // S3ObjectKey: "STRING_VALUE",
|
|
68
|
+
* // ObjectURL: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* @param DescribeMetadataModelCreationsCommandInput - {@link DescribeMetadataModelCreationsCommandInput}
|
|
77
|
+
* @returns {@link DescribeMetadataModelCreationsCommandOutput}
|
|
78
|
+
* @see {@link DescribeMetadataModelCreationsCommandInput} for command's `input` shape.
|
|
79
|
+
* @see {@link DescribeMetadataModelCreationsCommandOutput} for command's `response` shape.
|
|
80
|
+
* @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link AccessDeniedFault} (client fault)
|
|
83
|
+
* <p>DMS was denied access to the endpoint. Check that the
|
|
84
|
+
* role is correctly configured.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ResourceNotFoundFault} (client fault)
|
|
87
|
+
* <p>The resource could not be found.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class DescribeMetadataModelCreationsCommand extends DescribeMetadataModelCreationsCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: DescribeMetadataModelCreationsMessage;
|
|
100
|
+
output: DescribeMetadataModelCreationsResponse;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: DescribeMetadataModelCreationsCommandInput;
|
|
104
|
+
output: DescribeMetadataModelCreationsCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
|
|
4
|
-
import { DescribeReplicationSubnetGroupsMessage, DescribeReplicationSubnetGroupsResponse } from "../models/
|
|
4
|
+
import { DescribeReplicationSubnetGroupsMessage, DescribeReplicationSubnetGroupsResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
|
|
4
|
-
import { DescribeReplicationTableStatisticsMessage, DescribeReplicationTableStatisticsResponse } from "../models/
|
|
4
|
+
import { DescribeReplicationTableStatisticsMessage, DescribeReplicationTableStatisticsResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
|
|
4
|
-
import { DescribeReplicationTaskAssessmentResultsMessage, DescribeReplicationTaskAssessmentResultsResponse } from "../models/
|
|
4
|
+
import { DescribeReplicationTaskAssessmentResultsMessage, DescribeReplicationTaskAssessmentResultsResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
|
|
4
|
-
import { DescribeReplicationsMessage
|
|
4
|
+
import { DescribeReplicationsMessage } from "../models/models_0";
|
|
5
|
+
import { DescribeReplicationsResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
|
|
4
|
+
import { GetTargetSelectionRulesMessage, GetTargetSelectionRulesResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetTargetSelectionRulesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetTargetSelectionRulesCommandInput extends GetTargetSelectionRulesMessage {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetTargetSelectionRulesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetTargetSelectionRulesCommandOutput extends GetTargetSelectionRulesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetTargetSelectionRulesCommand_base: {
|
|
25
|
+
new (input: GetTargetSelectionRulesCommandInput): import("@smithy/smithy-client").CommandImpl<GetTargetSelectionRulesCommandInput, GetTargetSelectionRulesCommandOutput, DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetTargetSelectionRulesCommandInput): import("@smithy/smithy-client").CommandImpl<GetTargetSelectionRulesCommandInput, GetTargetSelectionRulesCommandOutput, DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Converts source selection rules into their target counterparts for schema conversion operations.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DatabaseMigrationServiceClient, GetTargetSelectionRulesCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
|
|
35
|
+
* // const { DatabaseMigrationServiceClient, GetTargetSelectionRulesCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
|
|
36
|
+
* // import type { DatabaseMigrationServiceClientConfig } from "@aws-sdk/client-database-migration-service";
|
|
37
|
+
* const config = {}; // type is DatabaseMigrationServiceClientConfig
|
|
38
|
+
* const client = new DatabaseMigrationServiceClient(config);
|
|
39
|
+
* const input = { // GetTargetSelectionRulesMessage
|
|
40
|
+
* MigrationProjectIdentifier: "STRING_VALUE", // required
|
|
41
|
+
* SelectionRules: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetTargetSelectionRulesCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetTargetSelectionRulesResponse
|
|
46
|
+
* // TargetSelectionRules: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param GetTargetSelectionRulesCommandInput - {@link GetTargetSelectionRulesCommandInput}
|
|
52
|
+
* @returns {@link GetTargetSelectionRulesCommandOutput}
|
|
53
|
+
* @see {@link GetTargetSelectionRulesCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link GetTargetSelectionRulesCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedFault} (client fault)
|
|
58
|
+
* <p>DMS was denied access to the endpoint. Check that the
|
|
59
|
+
* role is correctly configured.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidResourceStateFault} (client fault)
|
|
62
|
+
* <p>The resource is in a state that prevents it from being used for database migration.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceNotFoundFault} (client fault)
|
|
65
|
+
* <p>The resource could not be found.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
69
|
+
*
|
|
70
|
+
*
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export declare class GetTargetSelectionRulesCommand extends GetTargetSelectionRulesCommand_base {
|
|
74
|
+
/** @internal type navigation helper, not in runtime. */
|
|
75
|
+
protected static __types: {
|
|
76
|
+
api: {
|
|
77
|
+
input: GetTargetSelectionRulesMessage;
|
|
78
|
+
output: GetTargetSelectionRulesResponse;
|
|
79
|
+
};
|
|
80
|
+
sdk: {
|
|
81
|
+
input: GetTargetSelectionRulesCommandInput;
|
|
82
|
+
output: GetTargetSelectionRulesCommandOutput;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
|
|
4
|
+
import { StartMetadataModelCreationMessage, StartMetadataModelCreationResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartMetadataModelCreationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartMetadataModelCreationCommandInput extends StartMetadataModelCreationMessage {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartMetadataModelCreationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartMetadataModelCreationCommandOutput extends StartMetadataModelCreationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartMetadataModelCreationCommand_base: {
|
|
25
|
+
new (input: StartMetadataModelCreationCommandInput): import("@smithy/smithy-client").CommandImpl<StartMetadataModelCreationCommandInput, StartMetadataModelCreationCommandOutput, DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StartMetadataModelCreationCommandInput): import("@smithy/smithy-client").CommandImpl<StartMetadataModelCreationCommandInput, StartMetadataModelCreationCommandOutput, DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates source metadata model of the given type with the specified properties for schema conversion operations.</p>
|
|
31
|
+
* <note>
|
|
32
|
+
* <p>This action supports only these directions: from SQL Server to Aurora PostgreSQL, or from SQL Server to RDS for PostgreSQL.</p>
|
|
33
|
+
* </note>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { DatabaseMigrationServiceClient, StartMetadataModelCreationCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import
|
|
38
|
+
* // const { DatabaseMigrationServiceClient, StartMetadataModelCreationCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import
|
|
39
|
+
* // import type { DatabaseMigrationServiceClientConfig } from "@aws-sdk/client-database-migration-service";
|
|
40
|
+
* const config = {}; // type is DatabaseMigrationServiceClientConfig
|
|
41
|
+
* const client = new DatabaseMigrationServiceClient(config);
|
|
42
|
+
* const input = { // StartMetadataModelCreationMessage
|
|
43
|
+
* MigrationProjectIdentifier: "STRING_VALUE", // required
|
|
44
|
+
* SelectionRules: "STRING_VALUE", // required
|
|
45
|
+
* MetadataModelName: "STRING_VALUE", // required
|
|
46
|
+
* Properties: { // MetadataModelProperties Union: only one key present
|
|
47
|
+
* StatementProperties: { // StatementProperties
|
|
48
|
+
* Definition: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* };
|
|
52
|
+
* const command = new StartMetadataModelCreationCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // StartMetadataModelCreationResponse
|
|
55
|
+
* // RequestIdentifier: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param StartMetadataModelCreationCommandInput - {@link StartMetadataModelCreationCommandInput}
|
|
61
|
+
* @returns {@link StartMetadataModelCreationCommandOutput}
|
|
62
|
+
* @see {@link StartMetadataModelCreationCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link StartMetadataModelCreationCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedFault} (client fault)
|
|
67
|
+
* <p>DMS was denied access to the endpoint. Check that the
|
|
68
|
+
* role is correctly configured.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceAlreadyExistsFault} (client fault)
|
|
71
|
+
* <p>The resource you are attempting to create already exists.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundFault} (client fault)
|
|
74
|
+
* <p>The resource could not be found.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceQuotaExceededFault} (client fault)
|
|
77
|
+
* <p>The quota for this resource quota has been exceeded.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link DatabaseMigrationServiceServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class StartMetadataModelCreationCommand extends StartMetadataModelCreationCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: StartMetadataModelCreationMessage;
|
|
90
|
+
output: StartMetadataModelCreationResponse;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: StartMetadataModelCreationCommandInput;
|
|
94
|
+
output: StartMetadataModelCreationCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from "./AddTagsToResourceCommand";
|
|
2
2
|
export * from "./ApplyPendingMaintenanceActionCommand";
|
|
3
3
|
export * from "./BatchStartRecommendationsCommand";
|
|
4
|
+
export * from "./CancelMetadataModelConversionCommand";
|
|
5
|
+
export * from "./CancelMetadataModelCreationCommand";
|
|
4
6
|
export * from "./CancelReplicationTaskAssessmentRunCommand";
|
|
5
7
|
export * from "./CreateDataMigrationCommand";
|
|
6
8
|
export * from "./CreateDataProviderCommand";
|
|
@@ -50,7 +52,10 @@ export * from "./DescribeFleetAdvisorSchemaObjectSummaryCommand";
|
|
|
50
52
|
export * from "./DescribeFleetAdvisorSchemasCommand";
|
|
51
53
|
export * from "./DescribeInstanceProfilesCommand";
|
|
52
54
|
export * from "./DescribeMetadataModelAssessmentsCommand";
|
|
55
|
+
export * from "./DescribeMetadataModelChildrenCommand";
|
|
56
|
+
export * from "./DescribeMetadataModelCommand";
|
|
53
57
|
export * from "./DescribeMetadataModelConversionsCommand";
|
|
58
|
+
export * from "./DescribeMetadataModelCreationsCommand";
|
|
54
59
|
export * from "./DescribeMetadataModelExportsAsScriptCommand";
|
|
55
60
|
export * from "./DescribeMetadataModelExportsToTargetCommand";
|
|
56
61
|
export * from "./DescribeMetadataModelImportsCommand";
|
|
@@ -73,6 +78,7 @@ export * from "./DescribeReplicationsCommand";
|
|
|
73
78
|
export * from "./DescribeSchemasCommand";
|
|
74
79
|
export * from "./DescribeTableStatisticsCommand";
|
|
75
80
|
export * from "./ExportMetadataModelAssessmentCommand";
|
|
81
|
+
export * from "./GetTargetSelectionRulesCommand";
|
|
76
82
|
export * from "./ImportCertificateCommand";
|
|
77
83
|
export * from "./ListTagsForResourceCommand";
|
|
78
84
|
export * from "./ModifyConversionConfigurationCommand";
|
|
@@ -97,6 +103,7 @@ export * from "./StartDataMigrationCommand";
|
|
|
97
103
|
export * from "./StartExtensionPackAssociationCommand";
|
|
98
104
|
export * from "./StartMetadataModelAssessmentCommand";
|
|
99
105
|
export * from "./StartMetadataModelConversionCommand";
|
|
106
|
+
export * from "./StartMetadataModelCreationCommand";
|
|
100
107
|
export * from "./StartMetadataModelExportAsScriptCommand";
|
|
101
108
|
export * from "./StartMetadataModelExportToTargetCommand";
|
|
102
109
|
export * from "./StartMetadataModelImportCommand";
|