@aws-sdk/client-database-migration-service 3.1097.0 → 3.1098.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/dist-cjs/index.js +1 -1
- package/dist-types/commands/CancelMetadataModelConversionCommand.d.ts +24 -0
- package/dist-types/commands/CancelMetadataModelCreationCommand.d.ts +24 -0
- package/dist-types/commands/CreateDataProviderCommand.d.ts +25 -24
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +23 -20
- package/dist-types/commands/CreateMigrationProjectCommand.d.ts +36 -36
- package/dist-types/commands/DeleteDataProviderCommand.d.ts +18 -12
- package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +16 -10
- package/dist-types/commands/DeleteMigrationProjectCommand.d.ts +25 -19
- package/dist-types/commands/DescribeConversionConfigurationCommand.d.ts +9 -5
- package/dist-types/commands/DescribeDataProvidersCommand.d.ts +20 -17
- package/dist-types/commands/DescribeExtensionPackAssociationsCommand.d.ts +35 -13
- package/dist-types/commands/DescribeInstanceProfilesCommand.d.ts +20 -14
- package/dist-types/commands/DescribeMetadataModelAssessmentsCommand.d.ts +41 -12
- package/dist-types/commands/DescribeMetadataModelChildrenCommand.d.ts +38 -0
- package/dist-types/commands/DescribeMetadataModelCommand.d.ts +29 -0
- package/dist-types/commands/DescribeMetadataModelConversionsCommand.d.ts +42 -10
- package/dist-types/commands/DescribeMetadataModelCreationsCommand.d.ts +55 -1
- package/dist-types/commands/DescribeMetadataModelExportsAsScriptCommand.d.ts +42 -10
- package/dist-types/commands/DescribeMetadataModelExportsToTargetCommand.d.ts +38 -10
- package/dist-types/commands/DescribeMetadataModelImportsCommand.d.ts +38 -10
- package/dist-types/commands/DescribeMigrationProjectsCommand.d.ts +26 -23
- package/dist-types/commands/ExportMetadataModelAssessmentCommand.d.ts +15 -10
- package/dist-types/commands/GetTargetSelectionRulesCommand.d.ts +20 -0
- package/dist-types/commands/ModifyConversionConfigurationCommand.d.ts +9 -5
- package/dist-types/commands/ModifyDataProviderCommand.d.ts +20 -18
- package/dist-types/commands/ModifyInstanceProfileCommand.d.ts +18 -18
- package/dist-types/commands/ModifyMigrationProjectCommand.d.ts +27 -36
- package/dist-types/commands/StartExtensionPackAssociationCommand.d.ts +18 -7
- package/dist-types/commands/StartMetadataModelAssessmentCommand.d.ts +22 -10
- package/dist-types/commands/StartMetadataModelConversionCommand.d.ts +56 -6
- package/dist-types/commands/StartMetadataModelCreationCommand.d.ts +53 -2
- package/dist-types/commands/StartMetadataModelExportAsScriptCommand.d.ts +22 -9
- package/dist-types/commands/StartMetadataModelExportToTargetCommand.d.ts +25 -6
- package/dist-types/commands/StartMetadataModelImportCommand.d.ts +16 -8
- package/dist-types/models/models_0.d.ts +339 -71
- package/dist-types/models/models_1.d.ts +93 -25
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -25,6 +25,10 @@ declare const CancelMetadataModelConversionCommand_base: {
|
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* <p>Cancels a single metadata model conversion operation that was started with <code>StartMetadataModelConversion</code>.</p>
|
|
28
|
+
* <p>
|
|
29
|
+
* <b>Required permissions:</b>
|
|
30
|
+
* <code>dms:CancelMetadataModelConversion</code>. For more information, see
|
|
31
|
+
* <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsdatabasemigrationservice.html">Actions, resources, and condition keys for Database Migration Service</a>.</p>
|
|
28
32
|
* @example
|
|
29
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
34
|
* ```javascript
|
|
@@ -88,6 +92,26 @@ declare const CancelMetadataModelConversionCommand_base: {
|
|
|
88
92
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
89
93
|
*
|
|
90
94
|
*
|
|
95
|
+
* @example Cancel a metadata model conversion
|
|
96
|
+
* ```javascript
|
|
97
|
+
* // The following example cancels a metadata model conversion operation.
|
|
98
|
+
* const input = {
|
|
99
|
+
* MigrationProjectIdentifier: "arn:aws:dms:us-east-1:111122223333:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
100
|
+
* RequestIdentifier: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
|
|
101
|
+
* };
|
|
102
|
+
* const command = new CancelMetadataModelConversionCommand(input);
|
|
103
|
+
* const response = await client.send(command);
|
|
104
|
+
* /* response is
|
|
105
|
+
* {
|
|
106
|
+
* Request: {
|
|
107
|
+
* MigrationProjectArn: "arn:aws:dms:us-east-1:111122223333:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
108
|
+
* RequestIdentifier: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
|
|
109
|
+
* Status: "CANCELING"
|
|
110
|
+
* }
|
|
111
|
+
* }
|
|
112
|
+
* *\/
|
|
113
|
+
* ```
|
|
114
|
+
*
|
|
91
115
|
* @public
|
|
92
116
|
*/
|
|
93
117
|
export declare class CancelMetadataModelConversionCommand extends CancelMetadataModelConversionCommand_base {
|
|
@@ -25,6 +25,10 @@ declare const CancelMetadataModelCreationCommand_base: {
|
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* <p>Cancels a single metadata model creation operation that was started with <code>StartMetadataModelCreation</code>.</p>
|
|
28
|
+
* <p>
|
|
29
|
+
* <b>Required permissions:</b>
|
|
30
|
+
* <code>dms:CancelMetadataModelCreation</code>. For more information, see
|
|
31
|
+
* <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsdatabasemigrationservice.html">Actions, resources, and condition keys for Database Migration Service</a>.</p>
|
|
28
32
|
* @example
|
|
29
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
34
|
* ```javascript
|
|
@@ -88,6 +92,26 @@ declare const CancelMetadataModelCreationCommand_base: {
|
|
|
88
92
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
89
93
|
*
|
|
90
94
|
*
|
|
95
|
+
* @example Cancel a metadata model creation
|
|
96
|
+
* ```javascript
|
|
97
|
+
* // The following example cancels a metadata model creation operation.
|
|
98
|
+
* const input = {
|
|
99
|
+
* MigrationProjectIdentifier: "arn:aws:dms:us-east-1:111122223333:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
100
|
+
* RequestIdentifier: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
|
|
101
|
+
* };
|
|
102
|
+
* const command = new CancelMetadataModelCreationCommand(input);
|
|
103
|
+
* const response = await client.send(command);
|
|
104
|
+
* /* response is
|
|
105
|
+
* {
|
|
106
|
+
* Request: {
|
|
107
|
+
* MigrationProjectArn: "arn:aws:dms:us-east-1:111122223333:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
108
|
+
* RequestIdentifier: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
|
|
109
|
+
* Status: "CANCELING"
|
|
110
|
+
* }
|
|
111
|
+
* }
|
|
112
|
+
* *\/
|
|
113
|
+
* ```
|
|
114
|
+
*
|
|
91
115
|
* @public
|
|
92
116
|
*/
|
|
93
117
|
export declare class CancelMetadataModelCreationCommand extends CancelMetadataModelCreationCommand_base {
|
|
@@ -26,6 +26,10 @@ declare const CreateDataProviderCommand_base: {
|
|
|
26
26
|
/**
|
|
27
27
|
* <p>Creates a data provider using the provided settings. A data provider stores a data store
|
|
28
28
|
* type and location information about your database. </p>
|
|
29
|
+
* <p>
|
|
30
|
+
* <b>Required permissions:</b>
|
|
31
|
+
* <code>dms:CreateDataProvider</code>. For more information, see
|
|
32
|
+
* <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsdatabasemigrationservice.html">Actions, resources, and condition keys for Database Migration Service</a>.</p>
|
|
29
33
|
* @example
|
|
30
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
35
|
* ```javascript
|
|
@@ -289,43 +293,40 @@ declare const CreateDataProviderCommand_base: {
|
|
|
289
293
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
290
294
|
*
|
|
291
295
|
*
|
|
292
|
-
* @example Create
|
|
296
|
+
* @example Create a Microsoft SQL Server data provider
|
|
293
297
|
* ```javascript
|
|
294
|
-
* //
|
|
298
|
+
* // The following example creates a Microsoft SQL Server data provider.
|
|
295
299
|
* const input = {
|
|
296
|
-
* DataProviderName: "
|
|
297
|
-
* Description: "
|
|
300
|
+
* DataProviderName: "example-data-provider",
|
|
301
|
+
* Description: "Example data provider for documentation",
|
|
298
302
|
* Engine: "sqlserver",
|
|
299
303
|
* Settings: {
|
|
300
304
|
* MicrosoftSqlServerSettings: {
|
|
301
|
-
*
|
|
302
|
-
*
|
|
303
|
-
*
|
|
304
|
-
*
|
|
305
|
+
* CertificateArn: "arn:aws:dms:us-east-1:111122223333:cert:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
306
|
+
* DatabaseName: "ExampleDatabase",
|
|
307
|
+
* Port: 1433,
|
|
308
|
+
* ServerName: "example-source-server.us-east-1.rds.amazonaws.com",
|
|
309
|
+
* SslMode: "verify-full"
|
|
305
310
|
* }
|
|
306
|
-
* }
|
|
307
|
-
* Tags: [
|
|
308
|
-
* {
|
|
309
|
-
* Key: "access",
|
|
310
|
-
* Value: "authorizedusers"
|
|
311
|
-
* }
|
|
312
|
-
* ]
|
|
311
|
+
* }
|
|
313
312
|
* };
|
|
314
313
|
* const command = new CreateDataProviderCommand(input);
|
|
315
314
|
* const response = await client.send(command);
|
|
316
315
|
* /* response is
|
|
317
316
|
* {
|
|
318
317
|
* DataProvider: {
|
|
319
|
-
* DataProviderArn: "arn:aws:dms:us-east-1:
|
|
320
|
-
* DataProviderCreationTime: "
|
|
321
|
-
* DataProviderName: "
|
|
322
|
-
*
|
|
318
|
+
* DataProviderArn: "arn:aws:dms:us-east-1:111122223333:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
319
|
+
* DataProviderCreationTime: "2026-01-09T12:30:00.000000Z",
|
|
320
|
+
* DataProviderName: "example-data-provider",
|
|
321
|
+
* Description: "Example data provider for documentation",
|
|
322
|
+
* Engine: "sqlserver",
|
|
323
323
|
* Settings: {
|
|
324
|
-
*
|
|
325
|
-
*
|
|
326
|
-
*
|
|
327
|
-
*
|
|
328
|
-
*
|
|
324
|
+
* MicrosoftSqlServerSettings: {
|
|
325
|
+
* CertificateArn: "arn:aws:dms:us-east-1:111122223333:cert:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
326
|
+
* DatabaseName: "ExampleDatabase",
|
|
327
|
+
* Port: 1433,
|
|
328
|
+
* ServerName: "example-source-server.us-east-1.rds.amazonaws.com",
|
|
329
|
+
* SslMode: "verify-full"
|
|
329
330
|
* }
|
|
330
331
|
* }
|
|
331
332
|
* }
|
|
@@ -25,6 +25,10 @@ declare const CreateInstanceProfileCommand_base: {
|
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* <p>Creates the instance profile using the specified parameters.</p>
|
|
28
|
+
* <p>
|
|
29
|
+
* <b>Required permissions:</b>
|
|
30
|
+
* <code>dms:CreateInstanceProfile</code>. For more information, see
|
|
31
|
+
* <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsdatabasemigrationservice.html">Actions, resources, and condition keys for Database Migration Service</a>.</p>
|
|
28
32
|
* @example
|
|
29
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
34
|
* ```javascript
|
|
@@ -112,21 +116,18 @@ declare const CreateInstanceProfileCommand_base: {
|
|
|
112
116
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
113
117
|
*
|
|
114
118
|
*
|
|
115
|
-
* @example Create
|
|
119
|
+
* @example Create an instance profile
|
|
116
120
|
* ```javascript
|
|
117
|
-
* //
|
|
121
|
+
* // The following example creates an instance profile.
|
|
118
122
|
* const input = {
|
|
119
|
-
* Description: "
|
|
120
|
-
* InstanceProfileName: "
|
|
121
|
-
* KmsKeyArn: "arn:aws:kms:us-east-1:
|
|
122
|
-
* NetworkType: "
|
|
123
|
-
* PubliclyAccessible:
|
|
124
|
-
* SubnetGroupIdentifier: "
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
* Key: "access",
|
|
128
|
-
* Value: "authorizedusers"
|
|
129
|
-
* }
|
|
123
|
+
* Description: "Example instance profile for documentation",
|
|
124
|
+
* InstanceProfileName: "example-instance-profile",
|
|
125
|
+
* KmsKeyArn: "arn:aws:kms:us-east-1:111122223333:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
|
|
126
|
+
* NetworkType: "IPV4",
|
|
127
|
+
* PubliclyAccessible: false,
|
|
128
|
+
* SubnetGroupIdentifier: "example-replication-subnet-group",
|
|
129
|
+
* VpcSecurityGroups: [
|
|
130
|
+
* "sg-0123456789abcdef0"
|
|
130
131
|
* ]
|
|
131
132
|
* };
|
|
132
133
|
* const command = new CreateInstanceProfileCommand(input);
|
|
@@ -134,14 +135,16 @@ declare const CreateInstanceProfileCommand_base: {
|
|
|
134
135
|
* /* response is
|
|
135
136
|
* {
|
|
136
137
|
* InstanceProfile: {
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
138
|
+
* Description: "Example instance profile for documentation",
|
|
139
|
+
* InstanceProfileArn: "arn:aws:dms:us-east-1:111122223333:instance-profile:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
140
|
+
* InstanceProfileCreationTime: "2026-01-09T12:30:00.000000Z",
|
|
141
|
+
* InstanceProfileName: "example-instance-profile",
|
|
142
|
+
* KmsKeyArn: "arn:aws:kms:us-east-1:111122223333:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
|
|
143
|
+
* NetworkType: "IPV4",
|
|
144
|
+
* PubliclyAccessible: false,
|
|
145
|
+
* SubnetGroupIdentifier: "example-replication-subnet-group",
|
|
143
146
|
* VpcSecurityGroups: [
|
|
144
|
-
* "sg-
|
|
147
|
+
* "sg-0123456789abcdef0"
|
|
145
148
|
* ]
|
|
146
149
|
* }
|
|
147
150
|
* }
|
|
@@ -27,6 +27,10 @@ declare const CreateMigrationProjectCommand_base: {
|
|
|
27
27
|
* <p>Creates the migration project using the specified parameters.</p>
|
|
28
28
|
* <p>You can run this action only after you create an instance profile and data providers
|
|
29
29
|
* 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>
|
|
30
|
+
* <p>
|
|
31
|
+
* <b>Required permissions:</b>
|
|
32
|
+
* <code>dms:CreateMigrationProject</code>. For more information, see
|
|
33
|
+
* <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsdatabasemigrationservice.html">Actions, resources, and condition keys for Database Migration Service</a>.</p>
|
|
30
34
|
* @example
|
|
31
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
36
|
* ```javascript
|
|
@@ -135,69 +139,65 @@ declare const CreateMigrationProjectCommand_base: {
|
|
|
135
139
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
136
140
|
*
|
|
137
141
|
*
|
|
138
|
-
* @example Create
|
|
142
|
+
* @example Create a migration project
|
|
139
143
|
* ```javascript
|
|
140
|
-
* //
|
|
144
|
+
* // The following example creates a migration project.
|
|
141
145
|
* const input = {
|
|
142
|
-
* Description: "
|
|
143
|
-
* InstanceProfileIdentifier: "
|
|
144
|
-
* MigrationProjectName: "
|
|
146
|
+
* Description: "Example migration project for documentation",
|
|
147
|
+
* InstanceProfileIdentifier: "arn:aws:dms:us-east-1:111122223333:instance-profile:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
148
|
+
* MigrationProjectName: "example-migration-project",
|
|
145
149
|
* SchemaConversionApplicationAttributes: {
|
|
146
|
-
* S3BucketPath: "
|
|
147
|
-
* S3BucketRoleArn: "arn:aws:iam::
|
|
150
|
+
* S3BucketPath: "s3://amzn-s3-demo-bucket",
|
|
151
|
+
* S3BucketRoleArn: "arn:aws:iam::111122223333:role/example-s3-access-role"
|
|
148
152
|
* },
|
|
149
153
|
* SourceDataProviderDescriptors: [
|
|
150
154
|
* {
|
|
151
|
-
* DataProviderIdentifier: "arn:aws:dms:us-east-1:
|
|
152
|
-
* SecretsManagerAccessRoleArn: "arn:aws:iam::
|
|
153
|
-
* SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:
|
|
154
|
-
* }
|
|
155
|
-
* ],
|
|
156
|
-
* Tags: [
|
|
157
|
-
* {
|
|
158
|
-
* Key: "access",
|
|
159
|
-
* Value: "authorizedusers"
|
|
155
|
+
* DataProviderIdentifier: "arn:aws:dms:us-east-1:111122223333:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
156
|
+
* SecretsManagerAccessRoleArn: "arn:aws:iam::111122223333:role/example-secrets-manager-role",
|
|
157
|
+
* SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:111122223333:secret:example-source-secret-A1B2C3"
|
|
160
158
|
* }
|
|
161
159
|
* ],
|
|
162
160
|
* TargetDataProviderDescriptors: [
|
|
163
161
|
* {
|
|
164
|
-
* DataProviderIdentifier: "arn:aws:dms:us-east-1:
|
|
165
|
-
* SecretsManagerAccessRoleArn: "arn:aws:iam::
|
|
166
|
-
* SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:
|
|
162
|
+
* DataProviderIdentifier: "arn:aws:dms:us-east-1:111122223333:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
163
|
+
* SecretsManagerAccessRoleArn: "arn:aws:iam::111122223333:role/example-secrets-manager-role",
|
|
164
|
+
* SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:111122223333:secret:example-target-secret-A1B2C3"
|
|
167
165
|
* }
|
|
168
166
|
* ],
|
|
169
|
-
* TransformationRules: `{"
|
|
167
|
+
* TransformationRules: `{"rules":[{"rule-type":"transformation","rule-id":"1","rule-name":"1","rule-target":"schema","rule-action":"rename","object-locator":{"schema-name":"ExampleSchema"},"value":"TargetSchema"}]}`
|
|
170
168
|
* };
|
|
171
169
|
* const command = new CreateMigrationProjectCommand(input);
|
|
172
170
|
* const response = await client.send(command);
|
|
173
171
|
* /* response is
|
|
174
172
|
* {
|
|
175
173
|
* MigrationProject: {
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
174
|
+
* Description: "Example migration project for documentation",
|
|
175
|
+
* InstanceProfileArn: "arn:aws:dms:us-east-1:111122223333:instance-profile:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
176
|
+
* InstanceProfileName: "example-instance-profile",
|
|
177
|
+
* MigrationProjectArn: "arn:aws:dms:us-east-1:111122223333:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
178
|
+
* MigrationProjectCreationTime: "2026-01-09T12:30:00.000000Z",
|
|
179
|
+
* MigrationProjectName: "example-migration-project",
|
|
181
180
|
* SchemaConversionApplicationAttributes: {
|
|
182
|
-
* S3BucketPath: "
|
|
183
|
-
* S3BucketRoleArn: "arn:aws:iam::
|
|
181
|
+
* S3BucketPath: "s3://amzn-s3-demo-bucket",
|
|
182
|
+
* S3BucketRoleArn: "arn:aws:iam::111122223333:role/example-s3-access-role"
|
|
184
183
|
* },
|
|
185
184
|
* SourceDataProviderDescriptors: [
|
|
186
185
|
* {
|
|
187
|
-
* DataProviderArn: "arn:aws:dms:us-east-1:
|
|
188
|
-
* DataProviderName: "
|
|
189
|
-
* SecretsManagerAccessRoleArn: "arn:aws:iam::
|
|
190
|
-
* SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:
|
|
186
|
+
* DataProviderArn: "arn:aws:dms:us-east-1:111122223333:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
187
|
+
* DataProviderName: "example-data-provider",
|
|
188
|
+
* SecretsManagerAccessRoleArn: "arn:aws:iam::111122223333:role/example-secrets-manager-role",
|
|
189
|
+
* SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:111122223333:secret:example-source-secret-A1B2C3"
|
|
191
190
|
* }
|
|
192
191
|
* ],
|
|
193
192
|
* TargetDataProviderDescriptors: [
|
|
194
193
|
* {
|
|
195
|
-
* DataProviderArn: "arn:aws:dms:us-east-1:
|
|
196
|
-
* DataProviderName: "
|
|
197
|
-
* SecretsManagerAccessRoleArn: "arn:aws:iam::
|
|
198
|
-
* SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:
|
|
194
|
+
* DataProviderArn: "arn:aws:dms:us-east-1:111122223333:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
195
|
+
* DataProviderName: "example-data-provider",
|
|
196
|
+
* SecretsManagerAccessRoleArn: "arn:aws:iam::111122223333:role/example-secrets-manager-role",
|
|
197
|
+
* SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:111122223333:secret:example-target-secret-A1B2C3"
|
|
199
198
|
* }
|
|
200
|
-
* ]
|
|
199
|
+
* ],
|
|
200
|
+
* TransformationRules: `{"rules":[{"rule-type":"transformation","rule-id":"1","rule-name":"1","rule-target":"schema","rule-action":"rename","object-locator":{"schema-name":"ExampleSchema"},"value":"TargetSchema"}]}`
|
|
201
201
|
* }
|
|
202
202
|
* }
|
|
203
203
|
* *\/
|
|
@@ -25,6 +25,10 @@ declare const DeleteDataProviderCommand_base: {
|
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* <p>Deletes the specified data provider.</p>
|
|
28
|
+
* <p>
|
|
29
|
+
* <b>Required permissions:</b>
|
|
30
|
+
* <code>dms:DeleteDataProvider</code>. For more information, see
|
|
31
|
+
* <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsdatabasemigrationservice.html">Actions, resources, and condition keys for Database Migration Service</a>.</p>
|
|
28
32
|
* <note>
|
|
29
33
|
* <p>All migration projects associated with the data provider must be deleted or modified
|
|
30
34
|
* before you can delete the data provider.</p>
|
|
@@ -180,27 +184,29 @@ declare const DeleteDataProviderCommand_base: {
|
|
|
180
184
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
181
185
|
*
|
|
182
186
|
*
|
|
183
|
-
* @example Delete
|
|
187
|
+
* @example Delete a data provider
|
|
184
188
|
* ```javascript
|
|
185
|
-
* //
|
|
189
|
+
* // The following example deletes a data provider identified by its ARN.
|
|
186
190
|
* const input = {
|
|
187
|
-
* DataProviderIdentifier: "arn:aws:dms:us-east-1:
|
|
191
|
+
* DataProviderIdentifier: "arn:aws:dms:us-east-1:111122223333:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRS"
|
|
188
192
|
* };
|
|
189
193
|
* const command = new DeleteDataProviderCommand(input);
|
|
190
194
|
* const response = await client.send(command);
|
|
191
195
|
* /* response is
|
|
192
196
|
* {
|
|
193
197
|
* DataProvider: {
|
|
194
|
-
* DataProviderArn: "arn:aws:dms:us-east-1:
|
|
195
|
-
* DataProviderCreationTime: "
|
|
196
|
-
* DataProviderName: "
|
|
197
|
-
*
|
|
198
|
+
* DataProviderArn: "arn:aws:dms:us-east-1:111122223333:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
199
|
+
* DataProviderCreationTime: "2026-01-09T12:30:00.000000Z",
|
|
200
|
+
* DataProviderName: "example-data-provider",
|
|
201
|
+
* Description: "Example data provider for documentation",
|
|
202
|
+
* Engine: "sqlserver",
|
|
198
203
|
* Settings: {
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
+
* MicrosoftSqlServerSettings: {
|
|
205
|
+
* CertificateArn: "arn:aws:dms:us-east-1:111122223333:cert:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
206
|
+
* DatabaseName: "ExampleDatabase",
|
|
207
|
+
* Port: 1433,
|
|
208
|
+
* ServerName: "example-source-server.us-east-1.rds.amazonaws.com",
|
|
209
|
+
* SslMode: "verify-full"
|
|
204
210
|
* }
|
|
205
211
|
* }
|
|
206
212
|
* }
|
|
@@ -25,6 +25,10 @@ declare const DeleteInstanceProfileCommand_base: {
|
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* <p>Deletes the specified instance profile.</p>
|
|
28
|
+
* <p>
|
|
29
|
+
* <b>Required permissions:</b>
|
|
30
|
+
* <code>dms:DeleteInstanceProfile</code>. For more information, see
|
|
31
|
+
* <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsdatabasemigrationservice.html">Actions, resources, and condition keys for Database Migration Service</a>.</p>
|
|
28
32
|
* <note>
|
|
29
33
|
* <p>All migration projects associated with the instance profile must be deleted or
|
|
30
34
|
* modified before you can delete the instance profile.</p>
|
|
@@ -84,25 +88,27 @@ declare const DeleteInstanceProfileCommand_base: {
|
|
|
84
88
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
85
89
|
*
|
|
86
90
|
*
|
|
87
|
-
* @example Delete
|
|
91
|
+
* @example Delete an instance profile
|
|
88
92
|
* ```javascript
|
|
89
|
-
* //
|
|
93
|
+
* // The following example deletes an instance profile identified by its ARN.
|
|
90
94
|
* const input = {
|
|
91
|
-
* InstanceProfileIdentifier: "arn:aws:dms:us-east-1:
|
|
95
|
+
* InstanceProfileIdentifier: "arn:aws:dms:us-east-1:111122223333:instance-profile:EXAMPLEABCDEFGHIJKLMNOPQRS"
|
|
92
96
|
* };
|
|
93
97
|
* const command = new DeleteInstanceProfileCommand(input);
|
|
94
98
|
* const response = await client.send(command);
|
|
95
99
|
* /* response is
|
|
96
100
|
* {
|
|
97
101
|
* InstanceProfile: {
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
102
|
+
* Description: "Example instance profile for documentation",
|
|
103
|
+
* InstanceProfileArn: "arn:aws:dms:us-east-1:111122223333:instance-profile:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
104
|
+
* InstanceProfileCreationTime: "2026-01-09T12:30:00.000000Z",
|
|
105
|
+
* InstanceProfileName: "example-instance-profile",
|
|
106
|
+
* KmsKeyArn: "arn:aws:kms:us-east-1:111122223333:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
|
|
107
|
+
* NetworkType: "IPV4",
|
|
108
|
+
* PubliclyAccessible: false,
|
|
109
|
+
* SubnetGroupIdentifier: "example-replication-subnet-group",
|
|
104
110
|
* VpcSecurityGroups: [
|
|
105
|
-
* "sg-
|
|
111
|
+
* "sg-0123456789abcdef0"
|
|
106
112
|
* ]
|
|
107
113
|
* }
|
|
108
114
|
* }
|
|
@@ -25,6 +25,10 @@ declare const DeleteMigrationProjectCommand_base: {
|
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* <p>Deletes the specified migration project.</p>
|
|
28
|
+
* <p>
|
|
29
|
+
* <b>Required permissions:</b>
|
|
30
|
+
* <code>dms:DeleteMigrationProject</code>. For more information, see
|
|
31
|
+
* <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsdatabasemigrationservice.html">Actions, resources, and condition keys for Database Migration Service</a>.</p>
|
|
28
32
|
* <note>
|
|
29
33
|
* <p>The migration project must be closed before you can delete it.</p>
|
|
30
34
|
* </note>
|
|
@@ -98,42 +102,44 @@ declare const DeleteMigrationProjectCommand_base: {
|
|
|
98
102
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
99
103
|
*
|
|
100
104
|
*
|
|
101
|
-
* @example Delete
|
|
105
|
+
* @example Delete a migration project
|
|
102
106
|
* ```javascript
|
|
103
|
-
* //
|
|
107
|
+
* // The following example deletes a migration project identified by its ARN.
|
|
104
108
|
* const input = {
|
|
105
|
-
* MigrationProjectIdentifier: "arn:aws:dms:us-east-1:
|
|
109
|
+
* MigrationProjectIdentifier: "arn:aws:dms:us-east-1:111122223333:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRS"
|
|
106
110
|
* };
|
|
107
111
|
* const command = new DeleteMigrationProjectCommand(input);
|
|
108
112
|
* const response = await client.send(command);
|
|
109
113
|
* /* response is
|
|
110
114
|
* {
|
|
111
115
|
* MigrationProject: {
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
116
|
+
* Description: "Example migration project for documentation",
|
|
117
|
+
* InstanceProfileArn: "arn:aws:dms:us-east-1:111122223333:instance-profile:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
118
|
+
* InstanceProfileName: "example-instance-profile",
|
|
119
|
+
* MigrationProjectArn: "arn:aws:dms:us-east-1:111122223333:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
120
|
+
* MigrationProjectCreationTime: "2026-01-09T12:30:00.000000Z",
|
|
121
|
+
* MigrationProjectName: "example-migration-project",
|
|
117
122
|
* SchemaConversionApplicationAttributes: {
|
|
118
|
-
* S3BucketPath: "
|
|
119
|
-
* S3BucketRoleArn: "arn:aws:iam::
|
|
123
|
+
* S3BucketPath: "s3://amzn-s3-demo-bucket",
|
|
124
|
+
* S3BucketRoleArn: "arn:aws:iam::111122223333:role/example-s3-access-role"
|
|
120
125
|
* },
|
|
121
126
|
* SourceDataProviderDescriptors: [
|
|
122
127
|
* {
|
|
123
|
-
* DataProviderArn: "arn:aws:dms:us-east-1:
|
|
124
|
-
* DataProviderName: "
|
|
125
|
-
* SecretsManagerAccessRoleArn: "arn:aws:iam::
|
|
126
|
-
* SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:
|
|
128
|
+
* DataProviderArn: "arn:aws:dms:us-east-1:111122223333:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
129
|
+
* DataProviderName: "example-data-provider",
|
|
130
|
+
* SecretsManagerAccessRoleArn: "arn:aws:iam::111122223333:role/example-secrets-manager-role",
|
|
131
|
+
* SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:111122223333:secret:example-source-secret-A1B2C3"
|
|
127
132
|
* }
|
|
128
133
|
* ],
|
|
129
134
|
* TargetDataProviderDescriptors: [
|
|
130
135
|
* {
|
|
131
|
-
* DataProviderArn: "arn:aws:dms:us-east-1:
|
|
132
|
-
* DataProviderName: "
|
|
133
|
-
* SecretsManagerAccessRoleArn: "arn:aws:iam::
|
|
134
|
-
* SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:
|
|
136
|
+
* DataProviderArn: "arn:aws:dms:us-east-1:111122223333:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRS",
|
|
137
|
+
* DataProviderName: "example-data-provider",
|
|
138
|
+
* SecretsManagerAccessRoleArn: "arn:aws:iam::111122223333:role/example-secrets-manager-role",
|
|
139
|
+
* SecretsManagerSecretId: "arn:aws:secretsmanager:us-east-1:111122223333:secret:example-target-secret-A1B2C3"
|
|
135
140
|
* }
|
|
136
|
-
* ]
|
|
141
|
+
* ],
|
|
142
|
+
* TransformationRules: `{"rules":[{"rule-type":"transformation","rule-id":"1","rule-name":"1","rule-target":"schema","rule-action":"rename","object-locator":{"schema-name":"ExampleSchema"},"value":"TargetSchema"}]}`
|
|
137
143
|
* }
|
|
138
144
|
* }
|
|
139
145
|
* *\/
|
|
@@ -25,6 +25,10 @@ declare const DescribeConversionConfigurationCommand_base: {
|
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* <p>Returns configuration parameters for a schema conversion project.</p>
|
|
28
|
+
* <p>
|
|
29
|
+
* <b>Required permissions:</b>
|
|
30
|
+
* <code>dms:DescribeConversionConfiguration</code>. For more information, see
|
|
31
|
+
* <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsdatabasemigrationservice.html">Actions, resources, and condition keys for Database Migration Service</a>.</p>
|
|
28
32
|
* @example
|
|
29
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
34
|
* ```javascript
|
|
@@ -58,18 +62,18 @@ declare const DescribeConversionConfigurationCommand_base: {
|
|
|
58
62
|
* <p>Base exception class for all service exceptions from DatabaseMigrationService service.</p>
|
|
59
63
|
*
|
|
60
64
|
*
|
|
61
|
-
* @example
|
|
65
|
+
* @example Retrieving conversion configuration for a migration project
|
|
62
66
|
* ```javascript
|
|
63
|
-
* //
|
|
67
|
+
* // The following example retrieves the conversion configuration for a migration project.
|
|
64
68
|
* const input = {
|
|
65
|
-
* MigrationProjectIdentifier: "arn:aws:dms:us-east-1:
|
|
69
|
+
* MigrationProjectIdentifier: "arn:aws:dms:us-east-1:111122223333:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRS"
|
|
66
70
|
* };
|
|
67
71
|
* const command = new DescribeConversionConfigurationCommand(input);
|
|
68
72
|
* const response = await client.send(command);
|
|
69
73
|
* /* response is
|
|
70
74
|
* {
|
|
71
|
-
* ConversionConfiguration: `{"Common project settings":{"ShowSeverityLevelInSql":"CRITICAL"},"
|
|
72
|
-
* MigrationProjectIdentifier: "arn:aws:dms:us-east-1:
|
|
75
|
+
* ConversionConfiguration: `{"Common project settings":{"ShowSeverityLevelInSql":"CRITICAL","EnableGenAiConversion":false},"MSSQL_TO_AURORA_POSTGRESQL":{"ConvertProceduresToFunction":true,"UniqueIndexGeneration":true,"CaseSensitivityNames":false},"Conversion version":{"MSSQL_TO_AURORA_POSTGRESQL_target_engine_version":"15"}}`,
|
|
76
|
+
* MigrationProjectIdentifier: "arn:aws:dms:us-east-1:111122223333:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRS"
|
|
73
77
|
* }
|
|
74
78
|
* *\/
|
|
75
79
|
* ```
|