line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::RDS::DBCluster; |
2
|
1
|
|
|
1
|
|
626
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
30
|
|
3
|
|
|
|
|
|
|
has AllocatedStorage => (is => 'ro', isa => 'Int'); |
4
|
|
|
|
|
|
|
has AssociatedRoles => (is => 'ro', isa => 'ArrayRef[Paws::RDS::DBClusterRole]', request_name => 'DBClusterRole', traits => ['NameInRequest']); |
5
|
|
|
|
|
|
|
has AvailabilityZones => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'AvailabilityZone', traits => ['NameInRequest']); |
6
|
|
|
|
|
|
|
has BackupRetentionPeriod => (is => 'ro', isa => 'Int'); |
7
|
|
|
|
|
|
|
has CharacterSetName => (is => 'ro', isa => 'Str'); |
8
|
|
|
|
|
|
|
has CloneGroupId => (is => 'ro', isa => 'Str'); |
9
|
|
|
|
|
|
|
has ClusterCreateTime => (is => 'ro', isa => 'Str'); |
10
|
|
|
|
|
|
|
has DatabaseName => (is => 'ro', isa => 'Str'); |
11
|
|
|
|
|
|
|
has DBClusterArn => (is => 'ro', isa => 'Str'); |
12
|
|
|
|
|
|
|
has DBClusterIdentifier => (is => 'ro', isa => 'Str'); |
13
|
|
|
|
|
|
|
has DBClusterMembers => (is => 'ro', isa => 'ArrayRef[Paws::RDS::DBClusterMember]', request_name => 'DBClusterMember', traits => ['NameInRequest']); |
14
|
|
|
|
|
|
|
has DBClusterOptionGroupMemberships => (is => 'ro', isa => 'ArrayRef[Paws::RDS::DBClusterOptionGroupStatus]', request_name => 'DBClusterOptionGroup', traits => ['NameInRequest']); |
15
|
|
|
|
|
|
|
has DBClusterParameterGroup => (is => 'ro', isa => 'Str'); |
16
|
|
|
|
|
|
|
has DbClusterResourceId => (is => 'ro', isa => 'Str'); |
17
|
|
|
|
|
|
|
has DBSubnetGroup => (is => 'ro', isa => 'Str'); |
18
|
|
|
|
|
|
|
has EarliestRestorableTime => (is => 'ro', isa => 'Str'); |
19
|
|
|
|
|
|
|
has Endpoint => (is => 'ro', isa => 'Str'); |
20
|
|
|
|
|
|
|
has Engine => (is => 'ro', isa => 'Str'); |
21
|
|
|
|
|
|
|
has EngineVersion => (is => 'ro', isa => 'Str'); |
22
|
|
|
|
|
|
|
has HostedZoneId => (is => 'ro', isa => 'Str'); |
23
|
|
|
|
|
|
|
has IAMDatabaseAuthenticationEnabled => (is => 'ro', isa => 'Bool'); |
24
|
|
|
|
|
|
|
has KmsKeyId => (is => 'ro', isa => 'Str'); |
25
|
|
|
|
|
|
|
has LatestRestorableTime => (is => 'ro', isa => 'Str'); |
26
|
|
|
|
|
|
|
has MasterUsername => (is => 'ro', isa => 'Str'); |
27
|
|
|
|
|
|
|
has MultiAZ => (is => 'ro', isa => 'Bool'); |
28
|
|
|
|
|
|
|
has PercentProgress => (is => 'ro', isa => 'Str'); |
29
|
|
|
|
|
|
|
has Port => (is => 'ro', isa => 'Int'); |
30
|
|
|
|
|
|
|
has PreferredBackupWindow => (is => 'ro', isa => 'Str'); |
31
|
|
|
|
|
|
|
has PreferredMaintenanceWindow => (is => 'ro', isa => 'Str'); |
32
|
|
|
|
|
|
|
has ReaderEndpoint => (is => 'ro', isa => 'Str'); |
33
|
|
|
|
|
|
|
has ReadReplicaIdentifiers => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'ReadReplicaIdentifier', traits => ['NameInRequest']); |
34
|
|
|
|
|
|
|
has ReplicationSourceIdentifier => (is => 'ro', isa => 'Str'); |
35
|
|
|
|
|
|
|
has Status => (is => 'ro', isa => 'Str'); |
36
|
|
|
|
|
|
|
has StorageEncrypted => (is => 'ro', isa => 'Bool'); |
37
|
|
|
|
|
|
|
has VpcSecurityGroups => (is => 'ro', isa => 'ArrayRef[Paws::RDS::VpcSecurityGroupMembership]', request_name => 'VpcSecurityGroupMembership', traits => ['NameInRequest']); |
38
|
|
|
|
|
|
|
1; |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
### main pod documentation begin ### |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 NAME |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Paws::RDS::DBCluster |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 USAGE |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
This class represents one of two things: |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
53
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::RDS::DBCluster object: |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { AllocatedStorage => $value, ..., VpcSecurityGroups => $value }); |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head3 Results returned from an API call |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::RDS::DBCluster object: |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
64
|
|
|
|
|
|
|
$result->Att1->AllocatedStorage |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head1 DESCRIPTION |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
Contains the result of a successful invocation of the following |
69
|
|
|
|
|
|
|
actions: |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=over |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=item * |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
CreateDBCluster |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=item * |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
DeleteDBCluster |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=item * |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
FailoverDBCluster |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=item * |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
ModifyDBCluster |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=item * |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
RestoreDBClusterFromSnapshot |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=item * |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
RestoreDBClusterToPointInTime |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=back |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
This data type is used as a response element in the DescribeDBClusters |
100
|
|
|
|
|
|
|
action. |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head2 AllocatedStorage => Int |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
For all database engines except Amazon Aurora, C<AllocatedStorage> |
108
|
|
|
|
|
|
|
specifies the allocated storage size in gigabytes (GB). For Aurora, |
109
|
|
|
|
|
|
|
C<AllocatedStorage> always returns 1, because Aurora DB cluster storage |
110
|
|
|
|
|
|
|
size is not fixed, but instead automatically adjusts as needed. |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=head2 AssociatedRoles => ArrayRef[L<Paws::RDS::DBClusterRole>] |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
Provides a list of the AWS Identity and Access Management (IAM) roles |
116
|
|
|
|
|
|
|
that are associated with the DB cluster. IAM roles that are associated |
117
|
|
|
|
|
|
|
with a DB cluster grant permission for the DB cluster to access other |
118
|
|
|
|
|
|
|
AWS services on your behalf. |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=head2 AvailabilityZones => ArrayRef[Str|Undef] |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
Provides the list of EC2 Availability Zones that instances in the DB |
124
|
|
|
|
|
|
|
cluster can be created in. |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=head2 BackupRetentionPeriod => Int |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
Specifies the number of days for which automatic DB snapshots are |
130
|
|
|
|
|
|
|
retained. |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=head2 CharacterSetName => Str |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
If present, specifies the name of the character set that this cluster |
136
|
|
|
|
|
|
|
is associated with. |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=head2 CloneGroupId => Str |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
Identifies the clone group to which the DB cluster is associated. |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
=head2 ClusterCreateTime => Str |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
Specifies the time when the DB cluster was created, in Universal |
147
|
|
|
|
|
|
|
Coordinated Time (UTC). |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
=head2 DatabaseName => Str |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
Contains the name of the initial database of this DB cluster that was |
153
|
|
|
|
|
|
|
provided at create time, if one was specified when the DB cluster was |
154
|
|
|
|
|
|
|
created. This same name is returned for the life of the DB cluster. |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
=head2 DBClusterArn => Str |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
The Amazon Resource Name (ARN) for the DB cluster. |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=head2 DBClusterIdentifier => Str |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
Contains a user-supplied DB cluster identifier. This identifier is the |
165
|
|
|
|
|
|
|
unique key that identifies a DB cluster. |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
=head2 DBClusterMembers => ArrayRef[L<Paws::RDS::DBClusterMember>] |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
Provides the list of instances that make up the DB cluster. |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
=head2 DBClusterOptionGroupMemberships => ArrayRef[L<Paws::RDS::DBClusterOptionGroupStatus>] |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
Provides the list of option group memberships for this DB cluster. |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
=head2 DBClusterParameterGroup => Str |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
Specifies the name of the DB cluster parameter group for the DB |
181
|
|
|
|
|
|
|
cluster. |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
=head2 DbClusterResourceId => Str |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
The region-unique, immutable identifier for the DB cluster. This |
187
|
|
|
|
|
|
|
identifier is found in AWS CloudTrail log entries whenever the KMS key |
188
|
|
|
|
|
|
|
for the DB cluster is accessed. |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
=head2 DBSubnetGroup => Str |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
Specifies information on the subnet group associated with the DB |
194
|
|
|
|
|
|
|
cluster, including the name, description, and subnets in the subnet |
195
|
|
|
|
|
|
|
group. |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
=head2 EarliestRestorableTime => Str |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
Specifies the earliest time to which a database can be restored with |
201
|
|
|
|
|
|
|
point-in-time restore. |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
=head2 Endpoint => Str |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
Specifies the connection endpoint for the primary instance of the DB |
207
|
|
|
|
|
|
|
cluster. |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
=head2 Engine => Str |
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
Provides the name of the database engine to be used for this DB |
213
|
|
|
|
|
|
|
cluster. |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
=head2 EngineVersion => Str |
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
Indicates the database engine version. |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
=head2 HostedZoneId => Str |
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
Specifies the ID that Amazon Route 53 assigns when you create a hosted |
224
|
|
|
|
|
|
|
zone. |
225
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
=head2 IAMDatabaseAuthenticationEnabled => Bool |
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
True if mapping of AWS Identity and Access Management (IAM) accounts to |
230
|
|
|
|
|
|
|
database accounts is enabled; otherwise false. |
231
|
|
|
|
|
|
|
|
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
=head2 KmsKeyId => Str |
234
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
If C<StorageEncrypted> is true, the KMS key identifier for the |
236
|
|
|
|
|
|
|
encrypted DB cluster. |
237
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
=head2 LatestRestorableTime => Str |
240
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
Specifies the latest time to which a database can be restored with |
242
|
|
|
|
|
|
|
point-in-time restore. |
243
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
|
245
|
|
|
|
|
|
|
=head2 MasterUsername => Str |
246
|
|
|
|
|
|
|
|
247
|
|
|
|
|
|
|
Contains the master username for the DB cluster. |
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
=head2 MultiAZ => Bool |
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
Specifies whether the DB cluster has instances in multiple Availability |
253
|
|
|
|
|
|
|
Zones. |
254
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
=head2 PercentProgress => Str |
257
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
Specifies the progress of the operation as a percentage. |
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
=head2 Port => Int |
262
|
|
|
|
|
|
|
|
263
|
|
|
|
|
|
|
Specifies the port that the database engine is listening on. |
264
|
|
|
|
|
|
|
|
265
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
=head2 PreferredBackupWindow => Str |
267
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
Specifies the daily time range during which automated backups are |
269
|
|
|
|
|
|
|
created if automated backups are enabled, as determined by the |
270
|
|
|
|
|
|
|
C<BackupRetentionPeriod>. |
271
|
|
|
|
|
|
|
|
272
|
|
|
|
|
|
|
|
273
|
|
|
|
|
|
|
=head2 PreferredMaintenanceWindow => Str |
274
|
|
|
|
|
|
|
|
275
|
|
|
|
|
|
|
Specifies the weekly time range during which system maintenance can |
276
|
|
|
|
|
|
|
occur, in Universal Coordinated Time (UTC). |
277
|
|
|
|
|
|
|
|
278
|
|
|
|
|
|
|
|
279
|
|
|
|
|
|
|
=head2 ReaderEndpoint => Str |
280
|
|
|
|
|
|
|
|
281
|
|
|
|
|
|
|
The reader endpoint for the DB cluster. The reader endpoint for a DB |
282
|
|
|
|
|
|
|
cluster load-balances connections across the Aurora Replicas that are |
283
|
|
|
|
|
|
|
available in a DB cluster. As clients request new connections to the |
284
|
|
|
|
|
|
|
reader endpoint, Aurora distributes the connection requests among the |
285
|
|
|
|
|
|
|
Aurora Replicas in the DB cluster. This functionality can help balance |
286
|
|
|
|
|
|
|
your read workload across multiple Aurora Replicas in your DB cluster. |
287
|
|
|
|
|
|
|
|
288
|
|
|
|
|
|
|
If a failover occurs, and the Aurora Replica that you are connected to |
289
|
|
|
|
|
|
|
is promoted to be the primary instance, your connection will be |
290
|
|
|
|
|
|
|
dropped. To continue sending your read workload to other Aurora |
291
|
|
|
|
|
|
|
Replicas in the cluster, you can then reconnect to the reader endpoint. |
292
|
|
|
|
|
|
|
|
293
|
|
|
|
|
|
|
|
294
|
|
|
|
|
|
|
=head2 ReadReplicaIdentifiers => ArrayRef[Str|Undef] |
295
|
|
|
|
|
|
|
|
296
|
|
|
|
|
|
|
Contains one or more identifiers of the Read Replicas associated with |
297
|
|
|
|
|
|
|
this DB cluster. |
298
|
|
|
|
|
|
|
|
299
|
|
|
|
|
|
|
|
300
|
|
|
|
|
|
|
=head2 ReplicationSourceIdentifier => Str |
301
|
|
|
|
|
|
|
|
302
|
|
|
|
|
|
|
Contains the identifier of the source DB cluster if this DB cluster is |
303
|
|
|
|
|
|
|
a Read Replica. |
304
|
|
|
|
|
|
|
|
305
|
|
|
|
|
|
|
|
306
|
|
|
|
|
|
|
=head2 Status => Str |
307
|
|
|
|
|
|
|
|
308
|
|
|
|
|
|
|
Specifies the current state of this DB cluster. |
309
|
|
|
|
|
|
|
|
310
|
|
|
|
|
|
|
|
311
|
|
|
|
|
|
|
=head2 StorageEncrypted => Bool |
312
|
|
|
|
|
|
|
|
313
|
|
|
|
|
|
|
Specifies whether the DB cluster is encrypted. |
314
|
|
|
|
|
|
|
|
315
|
|
|
|
|
|
|
|
316
|
|
|
|
|
|
|
=head2 VpcSecurityGroups => ArrayRef[L<Paws::RDS::VpcSecurityGroupMembership>] |
317
|
|
|
|
|
|
|
|
318
|
|
|
|
|
|
|
Provides a list of VPC security groups that the DB cluster belongs to. |
319
|
|
|
|
|
|
|
|
320
|
|
|
|
|
|
|
|
321
|
|
|
|
|
|
|
|
322
|
|
|
|
|
|
|
=head1 SEE ALSO |
323
|
|
|
|
|
|
|
|
324
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::RDS> |
325
|
|
|
|
|
|
|
|
326
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
327
|
|
|
|
|
|
|
|
328
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
329
|
|
|
|
|
|
|
|
330
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
331
|
|
|
|
|
|
|
|
332
|
|
|
|
|
|
|
=cut |
333
|
|
|
|
|
|
|
|