The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

use Moose;
has CdcStartPosition => (is => 'ro', isa => 'Str');
has CdcStartTime => (is => 'ro', isa => 'Str');
has CdcStopPosition => (is => 'ro', isa => 'Str');
has ReplicationTaskArn => (is => 'ro', isa => 'Str', required => 1);
has StartReplicationTaskType => (is => 'ro', isa => 'Str', required => 1);
class_has _api_call => (isa => 'Str', is => 'ro', default => 'StartReplicationTask');
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DMS::StartReplicationTaskResponse');
class_has _result_key => (isa => 'Str', is => 'ro');
1;
### main pod documentation begin ###
=head1 NAME
Paws::DMS::StartReplicationTask - Arguments for method StartReplicationTask on L<Paws::DMS>
=head1 DESCRIPTION
This class represents the parameters used for calling the method StartReplicationTask on the
L<AWS Database Migration Service|Paws::DMS> service. Use the attributes of this class
as arguments to method StartReplicationTask.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartReplicationTask.
=head1 SYNOPSIS
my $dms = Paws->service('DMS');
# Start replication task
# Starts the replication task.
my $StartReplicationTaskResponse = $dms->StartReplicationTask(
'CdcStartTime' => '2016-12-14T13:33:20Z',
'ReplicationTaskArn' =>
'arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ',
'StartReplicationTaskType' => 'start-replication'
);
# Results:
my $ReplicationTask = $StartReplicationTaskResponse->ReplicationTask;
# Returns a L<Paws::DMS::StartReplicationTaskResponse> 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.
=head1 ATTRIBUTES
=head2 CdcStartPosition => Str
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 E<ldquo>2018-03-08T12:12:12E<rdquo>
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
E<ldquo>mysql-bin-changelog.000024:373E<rdquo>
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 C<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
=head2 CdcStartTime => Str
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 E<ldquo>2018-03-08T12:12:12E<rdquo>
=head2 CdcStopPosition => Str
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
E<ldquo>server_time:2018-02-09T12:12:12E<rdquo>
Commit time example: --cdc-stop-position E<ldquo>commit_time:
2018-02-09T12:12:12 E<ldquo>
=head2 B<REQUIRED> ReplicationTaskArn => Str
The Amazon Resource Name (ARN) of the replication task to be started.
=head2 B<REQUIRED> StartReplicationTaskType => Str
A type of replication task.
Valid values are: C<"start-replication">, C<"resume-processing">, C<"reload-target">
=head1 SEE ALSO
This class forms part of L<Paws>, documenting arguments for method StartReplicationTask in L<Paws::DMS>
=head1 BUGS and CONTRIBUTIONS
The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
=cut