File Coverage

blib/lib/Paws/DMS/CreateReplicationTask.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::DMS::CreateReplicationTask;
3 1     1   654 use Moose;
  1         3  
  1         8  
4             has CdcStartTime => (is => 'ro', isa => 'Str');
5             has MigrationType => (is => 'ro', isa => 'Str', required => 1);
6             has ReplicationInstanceArn => (is => 'ro', isa => 'Str', required => 1);
7             has ReplicationTaskIdentifier => (is => 'ro', isa => 'Str', required => 1);
8             has ReplicationTaskSettings => (is => 'ro', isa => 'Str');
9             has SourceEndpointArn => (is => 'ro', isa => 'Str', required => 1);
10             has TableMappings => (is => 'ro', isa => 'Str', required => 1);
11             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::DMS::Tag]');
12             has TargetEndpointArn => (is => 'ro', isa => 'Str', required => 1);
13              
14 1     1   7040 use MooseX::ClassAttribute;
  1         3  
  1         8  
15              
16             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateReplicationTask');
17             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DMS::CreateReplicationTaskResponse');
18             class_has _result_key => (isa => 'Str', is => 'ro');
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::DMS::CreateReplicationTask - Arguments for method CreateReplicationTask on Paws::DMS
26              
27             =head1 DESCRIPTION
28              
29             This class represents the parameters used for calling the method CreateReplicationTask on the
30             AWS Database Migration Service service. Use the attributes of this class
31             as arguments to method CreateReplicationTask.
32              
33             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateReplicationTask.
34              
35             As an example:
36              
37             $service_obj->CreateReplicationTask(Att1 => $value1, Att2 => $value2, ...);
38              
39             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.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 CdcStartTime => Str
45              
46             The start time for the Change Data Capture (CDC) operation.
47              
48              
49              
50             =head2 B<REQUIRED> MigrationType => Str
51              
52             The migration type.
53              
54             Valid values are: C<"full-load">, C<"cdc">, C<"full-load-and-cdc">
55              
56             =head2 B<REQUIRED> ReplicationInstanceArn => Str
57              
58             The Amazon Resource Name (ARN) of the replication instance.
59              
60              
61              
62             =head2 B<REQUIRED> ReplicationTaskIdentifier => Str
63              
64             The replication task identifier.
65              
66             Constraints:
67              
68             =over
69              
70             =item *
71              
72             Must contain from 1 to 255 alphanumeric characters or hyphens.
73              
74             =item *
75              
76             First character must be a letter.
77              
78             =item *
79              
80             Cannot end with a hyphen or contain two consecutive hyphens.
81              
82             =back
83              
84              
85              
86              
87             =head2 ReplicationTaskSettings => Str
88              
89             Settings for the task, such as target metadata settings. For a complete
90             list of task settings, see Task Settings for AWS Database Migration
91             Service Tasks.
92              
93              
94              
95             =head2 B<REQUIRED> SourceEndpointArn => Str
96              
97             The Amazon Resource Name (ARN) string that uniquely identifies the
98             endpoint.
99              
100              
101              
102             =head2 B<REQUIRED> TableMappings => Str
103              
104             When using the AWS CLI or boto3, provide the path of the JSON file that
105             contains the table mappings. Precede the path with "file://". When
106             working with the DMS API, provide the JSON as the parameter value.
107              
108             For example, --table-mappings file://mappingfile.json
109              
110              
111              
112             =head2 Tags => ArrayRef[L<Paws::DMS::Tag>]
113              
114             Tags to be added to the replication instance.
115              
116              
117              
118             =head2 B<REQUIRED> TargetEndpointArn => Str
119              
120             The Amazon Resource Name (ARN) string that uniquely identifies the
121             endpoint.
122              
123              
124              
125              
126             =head1 SEE ALSO
127              
128             This class forms part of L<Paws>, documenting arguments for method CreateReplicationTask in L<Paws::DMS>
129              
130             =head1 BUGS and CONTRIBUTIONS
131              
132             The source code is located here: https://github.com/pplu/aws-sdk-perl
133              
134             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
135              
136             =cut
137