AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the StartMetadataModelExportToTarget operation. Applies converted database objects to your target database.
Namespace: Amazon.DatabaseMigrationService.Model
Assembly: AWSSDK.DatabaseMigrationService.dll
Version: 3.x.y.z
public class StartMetadataModelExportToTargetRequest : AmazonDatabaseMigrationServiceRequest IAmazonWebServiceRequest
The StartMetadataModelExportToTargetRequest type exposes the following members
Name | Description | |
---|---|---|
StartMetadataModelExportToTargetRequest() |
Name | Type | Description | |
---|---|---|---|
MigrationProjectIdentifier | System.String |
Gets and sets the property MigrationProjectIdentifier. The migration project name or Amazon Resource Name (ARN). |
|
OverwriteExtensionPack | System.Boolean |
Gets and sets the property OverwriteExtensionPack. Whether to overwrite the migration project extension pack. An extension pack is an add-on module that emulates functions present in a source database that are required when converting objects to the target database. |
|
SelectionRules | System.String |
Gets and sets the property SelectionRules. A value that specifies the database objects to export. |
Applies converted database objects to your target database.
var client = new AmazonDatabaseMigrationServiceClient(); var response = client.StartMetadataModelExportToTarget(new StartMetadataModelExportToTargetRequest { MigrationProjectIdentifier = "arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345", OverwriteExtensionPack = true, SelectionRules = "{\"rules\": [{\"rule-type\": \"selection\",\"rule-id\": \"1\",\"rule-name\": \"1\",\"object-locator\": {\"server-name\": \"aurora-pg.cluster-a1b2c3d4e5f6.us-east-1.rds.amazonaws.com\", \"schema-name\": \"schema1\", \"table-name\": \"Cities\"},\"rule-action\": \"explicit\"} ]}" }); string requestIdentifier = response.RequestIdentifier;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5