![]() |
![]()
| ![]() |
![]()
NAMEPaws::DMS::ModifyReplicationTask - Arguments for method ModifyReplicationTask on Paws::DMS DESCRIPTIONThis class represents the parameters used for calling the method ModifyReplicationTask on the AWS Database Migration Service service. Use the attributes of this class as arguments to method ModifyReplicationTask. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyReplicationTask. SYNOPSISmy $dms = Paws->service('DMS'); my $ModifyReplicationTaskResponse = $dms->ModifyReplicationTask( ReplicationTaskArn => 'MyString', CdcStartPosition => 'MyString', # OPTIONAL CdcStartTime => '1970-01-01T01:00:00', # OPTIONAL CdcStopPosition => 'MyString', # OPTIONAL MigrationType => 'full-load', # OPTIONAL ReplicationTaskIdentifier => 'MyString', # OPTIONAL ReplicationTaskSettings => 'MyString', # OPTIONAL TableMappings => 'MyString', # OPTIONAL TaskData => 'MyString', # OPTIONAL ); # Results: my $ReplicationTask = $ModifyReplicationTaskResponse->ReplicationTask; # Returns a L<Paws::DMS::ModifyReplicationTaskResponse> 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/ModifyReplicationTask> ATTRIBUTESCdcStartPosition => StrIndicates 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). CdcStartTime => StrIndicates 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” CdcStopPosition => StrIndicates 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 “ MigrationType => StrThe migration type. Valid values: "full-load" | "cdc" | "full-load-and-cdc" Valid values are: "full-load", "cdc", "full-load-and-cdc" REQUIRED ReplicationTaskArn => StrThe Amazon Resource Name (ARN) of the replication task. ReplicationTaskIdentifier => StrThe replication task identifier. Constraints:
ReplicationTaskSettings => StrJSON file that contains settings for the task, such as task metadata settings. TableMappings => StrWhen using the AWS CLI or boto3, provide the path of the JSON file that contains the table mappings. Precede the path with "file://". For example, "--table-mappings file://mappingfile.json". When working with the DMS API, provide the JSON as the parameter value. TaskData => StrSupplemental 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. SEE ALSOThis class forms part of Paws, documenting arguments for method ModifyReplicationTask in Paws::DMS BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|