AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.DatabaseMigrationService.AmazonDatabaseMigrationServiceRequest
      Amazon.DatabaseMigrationService.Model.StartMetadataModelExportToTargetRequest

Namespace: Amazon.DatabaseMigrationService.Model
Assembly: AWSSDK.DatabaseMigrationService.dll
Version: 3.x.y.z

Syntax

C#
public class StartMetadataModelExportToTargetRequest : AmazonDatabaseMigrationServiceRequest
         IAmazonWebServiceRequest

The StartMetadataModelExportToTargetRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property MigrationProjectIdentifier System.String

Gets and sets the property MigrationProjectIdentifier.

The migration project name or Amazon Resource Name (ARN).

Public Property 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.

Public Property SelectionRules System.String

Gets and sets the property SelectionRules.

A value that specifies the database objects to export.

Examples

Applies converted database objects to your target database.

Start Metadata Model Export To Target


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;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5