GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::DMS::CreateReplicationTask(3) User Contributed Perl Documentation Paws::DMS::CreateReplicationTask(3)

Paws::DMS::CreateReplicationTask - Arguments for method CreateReplicationTask on Paws::DMS

This class represents the parameters used for calling the method CreateReplicationTask on the AWS Database Migration Service service. Use the attributes of this class as arguments to method CreateReplicationTask.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateReplicationTask.

    my $dms = Paws->service('DMS');
    # Create replication task
    # Creates a replication task using the specified parameters.
    my $CreateReplicationTaskResponse = $dms->CreateReplicationTask(
      'CdcStartTime'           => '2016-12-14T18:25:43Z',
      'MigrationType'          => 'full-load',
      'ReplicationInstanceArn' =>
        'arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ',
      'ReplicationTaskIdentifier' => 'task1',
      'ReplicationTaskSettings'   => '',
      'SourceEndpointArn'         =>
'arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE',
      'TableMappings' => 'file://mappingfile.json',
      'Tags'          => [
        {
          'Key'   => 'Acount',
          'Value' => 24352226
        }
      ],
      'TargetEndpointArn' =>
        'arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E'
    );
    # Results:
    my $ReplicationTask = $CreateReplicationTaskResponse->ReplicationTask;
    # Returns a L<Paws::DMS::CreateReplicationTaskResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/dms/CreateReplicationTask>

Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime to specify when you want a CDC operation to start. Specifying both values results in an error.

The value can be in date, checkpoint, or LSN/SCN format.

Date Example: --cdc-start-position “2018-03-08T12:12:12”

Checkpoint Example: --cdc-start-position "checkpoint:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93"

LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”

When you use this task setting with a source PostgreSQL database, a logical replication slot should already be created and associated with the source endpoint. You can verify this by setting the "slotName" extra connection attribute to the name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source for AWS DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html#CHAP_Source.PostgreSQL.ConnectionAttrib).

Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime or CdcStartPosition to specify when you want a CDC operation to start. Specifying both values results in an error.

Timestamp Example: --cdc-start-time “2018-03-08T12:12:12”

Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.

Server time example: --cdc-stop-position “server_time:2018-02-09T12:12:12”

Commit time example: --cdc-stop-position “commit_time: 2018-02-09T12:12:12 “

REQUIRED MigrationType => Str

The migration type. Valid values: "full-load" | "cdc" | "full-load-and-cdc"

Valid values are: "full-load", "cdc", "full-load-and-cdc"

REQUIRED ReplicationInstanceArn => Str

The Amazon Resource Name (ARN) of a replication instance.

REQUIRED ReplicationTaskIdentifier => Str

An identifier for the replication task.

Constraints:

  • Must contain 1-255 alphanumeric characters or hyphens.
  • First character must be a letter.
  • Cannot end with a hyphen or contain two consecutive hyphens.

Overall settings for the task, in JSON format. For more information, see Specifying Task Settings for AWS Database Migration Service Tasks (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.html) in the AWS Database Migration User Guide.

A friendly name for the resource identifier at the end of the "EndpointArn" response parameter that is returned in the created "Endpoint" object. The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such as "Example-App-ARN1". For example, this value might result in the "EndpointArn" value "arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1". If you don't specify a "ResourceIdentifier" value, AWS DMS generates a default identifier value for the end of "EndpointArn".

REQUIRED SourceEndpointArn => Str

An Amazon Resource Name (ARN) that uniquely identifies the source endpoint.

REQUIRED TableMappings => Str

The table mappings for the task, in JSON format. For more information, see Using Table Mapping to Specify Task Settings (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.html) in the AWS Database Migration Service User Guide.

One or more tags to be assigned to the replication task.

REQUIRED TargetEndpointArn => Str

An Amazon Resource Name (ARN) that uniquely identifies the target endpoint.

Supplemental information that the task requires to migrate the data for certain source and target endpoints. For more information, see Specifying Supplemental Data for Task Settings (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.TaskData.html) in the AWS Database Migration Service User Guide.

This class forms part of Paws, documenting arguments for method CreateReplicationTask in Paws::DMS

The source code is located here: <https://github.com/pplu/aws-sdk-perl>

Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.