blib/lib/Paws/DMS/MySQLSettings.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::DMS::MySQLSettings;
3 use Moose;
4 has AfterConnectScript => (is => 'ro', isa => 'Str');
5 has CleanSourceMetadataOnMismatch => (is => 'ro', isa => 'Bool');
6 has DatabaseName => (is => 'ro', isa => 'Str');
7 has EventsPollInterval => (is => 'ro', isa => 'Int');
8 has MaxFileSize => (is => 'ro', isa => 'Int');
9 has ParallelLoadThreads => (is => 'ro', isa => 'Int');
10 has Password => (is => 'ro', isa => 'Str');
11 has Port => (is => 'ro', isa => 'Int');
12 has SecretsManagerAccessRoleArn => (is => 'ro', isa => 'Str');
13 has SecretsManagerSecretId => (is => 'ro', isa => 'Str');
14 has ServerName => (is => 'ro', isa => 'Str');
15 has ServerTimezone => (is => 'ro', isa => 'Str');
16 has TargetDbType => (is => 'ro', isa => 'Str');
17 has Username => (is => 'ro', isa => 'Str');
18  
19 1;
20  
21 ### main pod documentation begin ###
22  
23 =head1 NAME
24  
25 Paws::DMS::MySQLSettings
26  
27 =head1 USAGE
28  
29 This class represents one of two things:
30  
31 =head3 Arguments in a call to a service
32  
33 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
34 Each attribute should be used as a named argument in the calls that expect this type of object.
35  
36 As an example, if Att1 is expected to be a Paws::DMS::MySQLSettings object:
37  
38 $service_obj->Method(Att1 => { AfterConnectScript => $value, ..., Username => $value });
39  
40 =head3 Results returned from an API call
41  
42 Use accessors for each attribute. If Att1 is expected to be an Paws::DMS::MySQLSettings object:
43  
44 $result = $service_obj->Method(...);
45 $result->Att1->AfterConnectScript
46  
47 =head1 DESCRIPTION
48  
49 Provides information that defines a MySQL endpoint.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 AfterConnectScript => Str
55  
56 Specifies a script to run immediately after AWS DMS connects to the
57 endpoint. The migration task continues running regardless if the SQL
58 statement succeeds or fails.
59  
60  
61 =head2 CleanSourceMetadataOnMismatch => Bool
62  
63 Adjusts the behavior of DMS when migrating from an SQL Server source
64 database that is hosted as part of an Always On availability group
65 cluster. If you need DMS to poll all the nodes in the Always On cluster
66 for transaction backups, set this attribute to C<false>.
67  
68  
69 =head2 DatabaseName => Str
70  
71 Database name for the endpoint.
72  
73  
74 =head2 EventsPollInterval => Int
75  
76 Specifies how often to check the binary log for new changes/events when
77 the database is idle.
78  
79 Example: C<eventsPollInterval=5;>
80  
81 In the example, AWS DMS checks for changes in the binary logs every
82 five seconds.
83  
84  
85 =head2 MaxFileSize => Int
86  
87 Specifies the maximum size (in KB) of any .csv file used to transfer
88 data to a MySQL-compatible database.
89  
90 Example: C<maxFileSize=512>
91  
92  
93 =head2 ParallelLoadThreads => Int
94  
95 Improves performance when loading data into the MySQL-compatible target
96 database. Specifies how many threads to use to load the data into the
97 MySQL-compatible target database. Setting a large number of threads can
98 have an adverse effect on database performance, because a separate
99 connection is required for each thread.
100  
101 Example: C<parallelLoadThreads=1>
102  
103  
104 =head2 Password => Str
105  
106 Endpoint connection password.
107  
108  
109 =head2 Port => Int
110  
111 Endpoint TCP port.
112  
113  
114 =head2 SecretsManagerAccessRoleArn => Str
115  
116 The full Amazon Resource Name (ARN) of the IAM role that specifies AWS
117 DMS as the trusted entity and grants the required permissions to access
118 the value in C<SecretsManagerSecret>. C<SecretsManagerSecret> has the
119 value of the AWS Secrets Manager secret that allows access to the MySQL
120 endpoint.
121  
122 You can specify one of two sets of values for these permissions. You
123 can specify the values for this setting and C<SecretsManagerSecretId>.
124 Or you can specify clear-text values for C<UserName>, C<Password>,
125 C<ServerName>, and C<Port>. You can't specify both. For more
126 information on creating this C<SecretsManagerSecret> and the
127 C<SecretsManagerAccessRoleArn> and C<SecretsManagerSecretId> required
128 to access it, see Using secrets to access AWS Database Migration
129 Service resources
130 (https://docs.aws.amazon.com/https:/docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#security-iam-secretsmanager)
131 in the I<AWS Database Migration Service User Guide>.
132  
133  
134 =head2 SecretsManagerSecretId => Str
135  
136 The full ARN, partial ARN, or friendly name of the
137 C<SecretsManagerSecret> that contains the MySQL endpoint connection
138 details.
139  
140  
141 =head2 ServerName => Str
142  
143 Fully qualified domain name of the endpoint.
144  
145  
146 =head2 ServerTimezone => Str
147  
148 Specifies the time zone for the source MySQL database.
149  
150 Example: C<serverTimezone=US/Pacific;>
151  
152 Note: Do not enclose time zones in single quotes.
153  
154  
155 =head2 TargetDbType => Str
156  
157 Specifies where to migrate source tables on the target, either to a
158 single database or multiple databases.
159  
160 Example: C<targetDbType=MULTIPLE_DATABASES>
161  
162  
163 =head2 Username => Str
164  
165 Endpoint connection user name.
166  
167  
168  
169 =head1 SEE ALSO
170  
171 This class forms part of L<Paws>, describing an object used in L<Paws::DMS>
172  
173 =head1 BUGS and CONTRIBUTIONS
174  
175 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
176  
177 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
178  
179 =cut
180