File Coverage

blib/lib/Paws/RDS/DBInstance.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             package Paws::RDS::DBInstance;
2 1     1   676 use Moose;
  1     1   7  
  1         11  
  1         959  
  1         3  
  1         13  
3             has AllocatedStorage => (is => 'ro', isa => 'Int');
4             has AutoMinorVersionUpgrade => (is => 'ro', isa => 'Bool');
5             has AvailabilityZone => (is => 'ro', isa => 'Str');
6             has BackupRetentionPeriod => (is => 'ro', isa => 'Int');
7             has CACertificateIdentifier => (is => 'ro', isa => 'Str');
8             has CharacterSetName => (is => 'ro', isa => 'Str');
9             has CopyTagsToSnapshot => (is => 'ro', isa => 'Bool');
10             has DBClusterIdentifier => (is => 'ro', isa => 'Str');
11             has DBInstanceArn => (is => 'ro', isa => 'Str');
12             has DBInstanceClass => (is => 'ro', isa => 'Str');
13             has DBInstanceIdentifier => (is => 'ro', isa => 'Str');
14             has DbInstancePort => (is => 'ro', isa => 'Int');
15             has DBInstanceStatus => (is => 'ro', isa => 'Str');
16             has DbiResourceId => (is => 'ro', isa => 'Str');
17             has DBName => (is => 'ro', isa => 'Str');
18             has DBParameterGroups => (is => 'ro', isa => 'ArrayRef[Paws::RDS::DBParameterGroupStatus]', request_name => 'DBParameterGroup', traits => ['NameInRequest']);
19             has DBSecurityGroups => (is => 'ro', isa => 'ArrayRef[Paws::RDS::DBSecurityGroupMembership]', request_name => 'DBSecurityGroup', traits => ['NameInRequest']);
20             has DBSubnetGroup => (is => 'ro', isa => 'Paws::RDS::DBSubnetGroup');
21             has DomainMemberships => (is => 'ro', isa => 'ArrayRef[Paws::RDS::DomainMembership]', request_name => 'DomainMembership', traits => ['NameInRequest']);
22             has Endpoint => (is => 'ro', isa => 'Paws::RDS::Endpoint');
23             has Engine => (is => 'ro', isa => 'Str');
24             has EngineVersion => (is => 'ro', isa => 'Str');
25             has EnhancedMonitoringResourceArn => (is => 'ro', isa => 'Str');
26             has IAMDatabaseAuthenticationEnabled => (is => 'ro', isa => 'Bool');
27             has InstanceCreateTime => (is => 'ro', isa => 'Str');
28             has Iops => (is => 'ro', isa => 'Int');
29             has KmsKeyId => (is => 'ro', isa => 'Str');
30             has LatestRestorableTime => (is => 'ro', isa => 'Str');
31             has LicenseModel => (is => 'ro', isa => 'Str');
32             has MasterUsername => (is => 'ro', isa => 'Str');
33             has MonitoringInterval => (is => 'ro', isa => 'Int');
34             has MonitoringRoleArn => (is => 'ro', isa => 'Str');
35             has MultiAZ => (is => 'ro', isa => 'Bool');
36             has OptionGroupMemberships => (is => 'ro', isa => 'ArrayRef[Paws::RDS::OptionGroupMembership]', request_name => 'OptionGroupMembership', traits => ['NameInRequest']);
37             has PendingModifiedValues => (is => 'ro', isa => 'Paws::RDS::PendingModifiedValues');
38             has PreferredBackupWindow => (is => 'ro', isa => 'Str');
39             has PreferredMaintenanceWindow => (is => 'ro', isa => 'Str');
40             has PromotionTier => (is => 'ro', isa => 'Int');
41             has PubliclyAccessible => (is => 'ro', isa => 'Bool');
42             has ReadReplicaDBClusterIdentifiers => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'ReadReplicaDBClusterIdentifier', traits => ['NameInRequest']);
43             has ReadReplicaDBInstanceIdentifiers => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'ReadReplicaDBInstanceIdentifier', traits => ['NameInRequest']);
44             has ReadReplicaSourceDBInstanceIdentifier => (is => 'ro', isa => 'Str');
45             has SecondaryAvailabilityZone => (is => 'ro', isa => 'Str');
46             has StatusInfos => (is => 'ro', isa => 'ArrayRef[Paws::RDS::DBInstanceStatusInfo]', request_name => 'DBInstanceStatusInfo', traits => ['NameInRequest']);
47             has StorageEncrypted => (is => 'ro', isa => 'Bool');
48             has StorageType => (is => 'ro', isa => 'Str');
49             has TdeCredentialArn => (is => 'ro', isa => 'Str');
50             has Timezone => (is => 'ro', isa => 'Str');
51             has VpcSecurityGroups => (is => 'ro', isa => 'ArrayRef[Paws::RDS::VpcSecurityGroupMembership]', request_name => 'VpcSecurityGroupMembership', traits => ['NameInRequest']);
52             1;
53              
54             ### main pod documentation begin ###
55              
56             =head1 NAME
57              
58             Paws::RDS::DBInstance
59              
60             =head1 USAGE
61              
62             This class represents one of two things:
63              
64             =head3 Arguments in a call to a service
65              
66             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
67             Each attribute should be used as a named argument in the calls that expect this type of object.
68              
69             As an example, if Att1 is expected to be a Paws::RDS::DBInstance object:
70              
71             $service_obj->Method(Att1 => { AllocatedStorage => $value, ..., VpcSecurityGroups => $value });
72              
73             =head3 Results returned from an API call
74              
75             Use accessors for each attribute. If Att1 is expected to be an Paws::RDS::DBInstance object:
76              
77             $result = $service_obj->Method(...);
78             $result->Att1->AllocatedStorage
79              
80             =head1 DESCRIPTION
81              
82             Contains the result of a successful invocation of the following
83             actions:
84              
85             =over
86              
87             =item *
88              
89             CreateDBInstance
90              
91             =item *
92              
93             DeleteDBInstance
94              
95             =item *
96              
97             ModifyDBInstance
98              
99             =item *
100              
101             StopDBInstance
102              
103             =item *
104              
105             StartDBInstance
106              
107             =back
108              
109             This data type is used as a response element in the DescribeDBInstances
110             action.
111              
112             =head1 ATTRIBUTES
113              
114              
115             =head2 AllocatedStorage => Int
116              
117             Specifies the allocated storage size specified in gigabytes.
118              
119              
120             =head2 AutoMinorVersionUpgrade => Bool
121              
122             Indicates that minor version patches are applied automatically.
123              
124              
125             =head2 AvailabilityZone => Str
126              
127             Specifies the name of the Availability Zone the DB instance is located
128             in.
129              
130              
131             =head2 BackupRetentionPeriod => Int
132              
133             Specifies the number of days for which automatic DB snapshots are
134             retained.
135              
136              
137             =head2 CACertificateIdentifier => Str
138              
139             The identifier of the CA certificate for this DB instance.
140              
141              
142             =head2 CharacterSetName => Str
143              
144             If present, specifies the name of the character set that this instance
145             is associated with.
146              
147              
148             =head2 CopyTagsToSnapshot => Bool
149              
150             Specifies whether tags are copied from the DB instance to snapshots of
151             the DB instance.
152              
153              
154             =head2 DBClusterIdentifier => Str
155              
156             If the DB instance is a member of a DB cluster, contains the name of
157             the DB cluster that the DB instance is a member of.
158              
159              
160             =head2 DBInstanceArn => Str
161              
162             The Amazon Resource Name (ARN) for the DB instance.
163              
164              
165             =head2 DBInstanceClass => Str
166              
167             Contains the name of the compute and memory capacity class of the DB
168             instance.
169              
170              
171             =head2 DBInstanceIdentifier => Str
172              
173             Contains a user-supplied database identifier. This identifier is the
174             unique key that identifies a DB instance.
175              
176              
177             =head2 DbInstancePort => Int
178              
179             Specifies the port that the DB instance listens on. If the DB instance
180             is part of a DB cluster, this can be a different port than the DB
181             cluster port.
182              
183              
184             =head2 DBInstanceStatus => Str
185              
186             Specifies the current state of this database.
187              
188              
189             =head2 DbiResourceId => Str
190              
191             The region-unique, immutable identifier for the DB instance. This
192             identifier is found in AWS CloudTrail log entries whenever the KMS key
193             for the DB instance is accessed.
194              
195              
196             =head2 DBName => Str
197              
198             The meaning of this parameter differs according to the database engine
199             you use. For example, this value returns MySQL, MariaDB, or PostgreSQL
200             information when returning values from CreateDBInstanceReadReplica
201             since Read Replicas are only supported for these engines.
202              
203             B<MySQL, MariaDB, SQL Server, PostgreSQL>
204              
205             Contains the name of the initial database of this instance that was
206             provided at create time, if one was specified when the DB instance was
207             created. This same name is returned for the life of the DB instance.
208              
209             Type: String
210              
211             B<Oracle>
212              
213             Contains the Oracle System ID (SID) of the created DB instance. Not
214             shown when the returned parameters do not apply to an Oracle DB
215             instance.
216              
217              
218             =head2 DBParameterGroups => ArrayRef[L<Paws::RDS::DBParameterGroupStatus>]
219              
220             Provides the list of DB parameter groups applied to this DB instance.
221              
222              
223             =head2 DBSecurityGroups => ArrayRef[L<Paws::RDS::DBSecurityGroupMembership>]
224              
225             Provides List of DB security group elements containing only
226             C<DBSecurityGroup.Name> and C<DBSecurityGroup.Status> subelements.
227              
228              
229             =head2 DBSubnetGroup => L<Paws::RDS::DBSubnetGroup>
230              
231             Specifies information on the subnet group associated with the DB
232             instance, including the name, description, and subnets in the subnet
233             group.
234              
235              
236             =head2 DomainMemberships => ArrayRef[L<Paws::RDS::DomainMembership>]
237              
238             The Active Directory Domain membership records associated with the DB
239             instance.
240              
241              
242             =head2 Endpoint => L<Paws::RDS::Endpoint>
243              
244             Specifies the connection endpoint.
245              
246              
247             =head2 Engine => Str
248              
249             Provides the name of the database engine to be used for this DB
250             instance.
251              
252              
253             =head2 EngineVersion => Str
254              
255             Indicates the database engine version.
256              
257              
258             =head2 EnhancedMonitoringResourceArn => Str
259              
260             The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream
261             that receives the Enhanced Monitoring metrics data for the DB instance.
262              
263              
264             =head2 IAMDatabaseAuthenticationEnabled => Bool
265              
266             True if mapping of AWS Identity and Access Management (IAM) accounts to
267             database accounts is enabled; otherwise false.
268              
269             IAM database authentication can be enabled for the following database
270             engines
271              
272             =over
273              
274             =item *
275              
276             For MySQL 5.6, minor version 5.6.34 or higher
277              
278             =item *
279              
280             For MySQL 5.7, minor version 5.7.16 or higher
281              
282             =item *
283              
284             Aurora 5.6 or higher. To enable IAM database authentication for Aurora,
285             see DBCluster Type.
286              
287             =back
288              
289              
290              
291             =head2 InstanceCreateTime => Str
292              
293             Provides the date and time the DB instance was created.
294              
295              
296             =head2 Iops => Int
297              
298             Specifies the Provisioned IOPS (I/O operations per second) value.
299              
300              
301             =head2 KmsKeyId => Str
302              
303             If C<StorageEncrypted> is true, the KMS key identifier for the
304             encrypted DB instance.
305              
306              
307             =head2 LatestRestorableTime => Str
308              
309             Specifies the latest time to which a database can be restored with
310             point-in-time restore.
311              
312              
313             =head2 LicenseModel => Str
314              
315             License model information for this DB instance.
316              
317              
318             =head2 MasterUsername => Str
319              
320             Contains the master username for the DB instance.
321              
322              
323             =head2 MonitoringInterval => Int
324              
325             The interval, in seconds, between points when Enhanced Monitoring
326             metrics are collected for the DB instance.
327              
328              
329             =head2 MonitoringRoleArn => Str
330              
331             The ARN for the IAM role that permits RDS to send Enhanced Monitoring
332             metrics to CloudWatch Logs.
333              
334              
335             =head2 MultiAZ => Bool
336              
337             Specifies if the DB instance is a Multi-AZ deployment.
338              
339              
340             =head2 OptionGroupMemberships => ArrayRef[L<Paws::RDS::OptionGroupMembership>]
341              
342             Provides the list of option group memberships for this DB instance.
343              
344              
345             =head2 PendingModifiedValues => L<Paws::RDS::PendingModifiedValues>
346              
347             Specifies that changes to the DB instance are pending. This element is
348             only included when changes are pending. Specific changes are identified
349             by subelements.
350              
351              
352             =head2 PreferredBackupWindow => Str
353              
354             Specifies the daily time range during which automated backups are
355             created if automated backups are enabled, as determined by the
356             C<BackupRetentionPeriod>.
357              
358              
359             =head2 PreferredMaintenanceWindow => Str
360              
361             Specifies the weekly time range during which system maintenance can
362             occur, in Universal Coordinated Time (UTC).
363              
364              
365             =head2 PromotionTier => Int
366              
367             A value that specifies the order in which an Aurora Replica is promoted
368             to the primary instance after a failure of the existing primary
369             instance. For more information, see Fault Tolerance for an Aurora DB
370             Cluster.
371              
372              
373             =head2 PubliclyAccessible => Bool
374              
375             Specifies the accessibility options for the DB instance. A value of
376             true specifies an Internet-facing instance with a publicly resolvable
377             DNS name, which resolves to a public IP address. A value of false
378             specifies an internal instance with a DNS name that resolves to a
379             private IP address.
380              
381             Default: The default behavior varies depending on whether a VPC has
382             been requested or not. The following list shows the default behavior in
383             each case.
384              
385             =over
386              
387             =item *
388              
389             B<Default VPC:>true
390              
391             =item *
392              
393             B<VPC:>false
394              
395             =back
396              
397             If no DB subnet group has been specified as part of the request and the
398             PubliclyAccessible value has not been set, the DB instance will be
399             publicly accessible. If a specific DB subnet group has been specified
400             as part of the request and the PubliclyAccessible value has not been
401             set, the DB instance will be private.
402              
403              
404             =head2 ReadReplicaDBClusterIdentifiers => ArrayRef[Str|Undef]
405              
406             Contains one or more identifiers of Aurora DB clusters that are Read
407             Replicas of this DB instance.
408              
409              
410             =head2 ReadReplicaDBInstanceIdentifiers => ArrayRef[Str|Undef]
411              
412             Contains one or more identifiers of the Read Replicas associated with
413             this DB instance.
414              
415              
416             =head2 ReadReplicaSourceDBInstanceIdentifier => Str
417              
418             Contains the identifier of the source DB instance if this DB instance
419             is a Read Replica.
420              
421              
422             =head2 SecondaryAvailabilityZone => Str
423              
424             If present, specifies the name of the secondary Availability Zone for a
425             DB instance with multi-AZ support.
426              
427              
428             =head2 StatusInfos => ArrayRef[L<Paws::RDS::DBInstanceStatusInfo>]
429              
430             The status of a Read Replica. If the instance is not a Read Replica,
431             this will be blank.
432              
433              
434             =head2 StorageEncrypted => Bool
435              
436             Specifies whether the DB instance is encrypted.
437              
438              
439             =head2 StorageType => Str
440              
441             Specifies the storage type associated with DB instance.
442              
443              
444             =head2 TdeCredentialArn => Str
445              
446             The ARN from the key store with which the instance is associated for
447             TDE encryption.
448              
449              
450             =head2 Timezone => Str
451              
452             The time zone of the DB instance. In most cases, the C<Timezone>
453             element is empty. C<Timezone> content appears only for Microsoft SQL
454             Server DB instances that were created with a time zone specified.
455              
456              
457             =head2 VpcSecurityGroups => ArrayRef[L<Paws::RDS::VpcSecurityGroupMembership>]
458              
459             Provides a list of VPC security group elements that the DB instance
460             belongs to.
461              
462              
463              
464             =head1 SEE ALSO
465              
466             This class forms part of L<Paws>, describing an object used in L<Paws::RDS>
467              
468             =head1 BUGS and CONTRIBUTIONS
469              
470             The source code is located here: https://github.com/pplu/aws-sdk-perl
471              
472             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
473              
474             =cut
475