Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can click “Customize cookies” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To continue without accepting these cookies, click “Continue without accepting.” To make more detailed choices or learn more, click “Customize cookies.”

Skip to content

/AWS1/CL_DMG=>CREATEDATAMIGRATION()

About CreateDataMigration

Creates a data migration using the provided settings.

Method Signature

IMPORTING

Required arguments:

IV_MIGRATIONPROJECTID TYPE /AWS1/DMGSTRING /AWS1/DMGSTRING

An identifier for the migration project.

IV_DATAMIGRATIONTYPE TYPE /AWS1/DMGMIGRATIONTYPEVALUE /AWS1/DMGMIGRATIONTYPEVALUE

Specifies if the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.

IV_SERVICEACCESSROLEARN TYPE /AWS1/DMGSTRING /AWS1/DMGSTRING

The Amazon Resource Name (ARN) for the service access role that you want to use to create the data migration.

Optional arguments:

IV_DATAMIGRATIONNAME TYPE /AWS1/DMGSTRING /AWS1/DMGSTRING

A user-friendly name for the data migration. Data migration names have the following constraints:

  • Must begin with a letter, and can only contain ASCII letters, digits, and hyphens.

  • Can't end with a hyphen or contain two consecutive hyphens.

  • Length must be from 1 to 255 characters.

IV_ENABLECLOUDWATCHLOGS TYPE /AWS1/DMGBOOLEANOPTIONAL /AWS1/DMGBOOLEANOPTIONAL

Specifies whether to enable CloudWatch logs for the data migration.

IT_SOURCEDATASETTINGS TYPE /AWS1/CL_DMGSOURCEDATASETTING=>TT_SOURCEDATASETTINGS TT_SOURCEDATASETTINGS

Specifies information about the source data provider.

IT_TARGETDATASETTINGS TYPE /AWS1/CL_DMGTARGETDATASETTING=>TT_TARGETDATASETTINGS TT_TARGETDATASETTINGS

Specifies information about the target data provider.

IV_NUMBEROFJOBS TYPE /AWS1/DMGINTEGEROPTIONAL /AWS1/DMGINTEGEROPTIONAL

The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.

IT_TAGS TYPE /AWS1/CL_DMGTAG=>TT_TAGLIST TT_TAGLIST

One or more tags to be assigned to the data migration.

IV_SELECTIONRULES TYPE /AWS1/DMGSECRETSTRING /AWS1/DMGSECRETSTRING

An optional JSON string specifying what tables, views, and schemas to include or exclude from the migration.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DMGCREDATAMIGRATION01 /AWS1/CL_DMGCREDATAMIGRATION01

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC