File Coverage

blib/lib/Paws/OpsWorksCM/Backup.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::OpsWorksCM::Backup;
2 1     1   319 use Moose;
  1         3  
  1         7  
3             has BackupArn => (is => 'ro', isa => 'Str');
4             has BackupId => (is => 'ro', isa => 'Str');
5             has BackupType => (is => 'ro', isa => 'Str');
6             has CreatedAt => (is => 'ro', isa => 'Str');
7             has Description => (is => 'ro', isa => 'Str');
8             has Engine => (is => 'ro', isa => 'Str');
9             has EngineModel => (is => 'ro', isa => 'Str');
10             has EngineVersion => (is => 'ro', isa => 'Str');
11             has InstanceProfileArn => (is => 'ro', isa => 'Str');
12             has InstanceType => (is => 'ro', isa => 'Str');
13             has KeyPair => (is => 'ro', isa => 'Str');
14             has PreferredBackupWindow => (is => 'ro', isa => 'Str');
15             has PreferredMaintenanceWindow => (is => 'ro', isa => 'Str');
16             has S3DataSize => (is => 'ro', isa => 'Int');
17             has S3DataUrl => (is => 'ro', isa => 'Str');
18             has S3LogUrl => (is => 'ro', isa => 'Str');
19             has SecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
20             has ServerName => (is => 'ro', isa => 'Str');
21             has ServiceRoleArn => (is => 'ro', isa => 'Str');
22             has Status => (is => 'ro', isa => 'Str');
23             has StatusDescription => (is => 'ro', isa => 'Str');
24             has SubnetIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
25             has ToolsVersion => (is => 'ro', isa => 'Str');
26             has UserArn => (is => 'ro', isa => 'Str');
27             1;
28              
29             ### main pod documentation begin ###
30              
31             =head1 NAME
32              
33             Paws::OpsWorksCM::Backup
34              
35             =head1 USAGE
36              
37             This class represents one of two things:
38              
39             =head3 Arguments in a call to a service
40              
41             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
42             Each attribute should be used as a named argument in the calls that expect this type of object.
43              
44             As an example, if Att1 is expected to be a Paws::OpsWorksCM::Backup object:
45              
46             $service_obj->Method(Att1 => { BackupArn => $value, ..., UserArn => $value });
47              
48             =head3 Results returned from an API call
49              
50             Use accessors for each attribute. If Att1 is expected to be an Paws::OpsWorksCM::Backup object:
51              
52             $result = $service_obj->Method(...);
53             $result->Att1->BackupArn
54              
55             =head1 DESCRIPTION
56              
57             Describes a single backup.
58              
59             =head1 ATTRIBUTES
60              
61              
62             =head2 BackupArn => Str
63              
64             The ARN of the backup.
65              
66              
67             =head2 BackupId => Str
68              
69             The generated ID of the backup. Example:
70             C<myServerName-yyyyMMddHHmmssSSS>
71              
72              
73             =head2 BackupType => Str
74              
75             The backup type. Valid values are C<automated> or C<manual>.
76              
77              
78             =head2 CreatedAt => Str
79              
80             The time stamp when the backup was created in the database. Example:
81             C<2016-07-29T13:38:47.520Z>
82              
83              
84             =head2 Description => Str
85              
86             A user-provided description for a manual backup. This field is empty
87             for automated backups.
88              
89              
90             =head2 Engine => Str
91              
92             The engine type that is obtained from the server when the backup is
93             created.
94              
95              
96             =head2 EngineModel => Str
97              
98             The engine model that is obtained from the server when the backup is
99             created.
100              
101              
102             =head2 EngineVersion => Str
103              
104             The engine version that is obtained from the server when the backup is
105             created.
106              
107              
108             =head2 InstanceProfileArn => Str
109              
110             The EC2 instance profile ARN that is obtained from the server when the
111             backup is created. Because this value is stored, you are not required
112             to provide the InstanceProfileArn again if you restore a backup.
113              
114              
115             =head2 InstanceType => Str
116              
117             The instance type that is obtained from the server when the backup is
118             created.
119              
120              
121             =head2 KeyPair => Str
122              
123             The key pair that is obtained from the server when the backup is
124             created.
125              
126              
127             =head2 PreferredBackupWindow => Str
128              
129             The preferred backup period that is obtained from the server when the
130             backup is created.
131              
132              
133             =head2 PreferredMaintenanceWindow => Str
134              
135             The preferred maintenance period that is obtained from the server when
136             the backup is created.
137              
138              
139             =head2 S3DataSize => Int
140              
141             This field is deprecated and is no longer used.
142              
143              
144             =head2 S3DataUrl => Str
145              
146             This field is deprecated and is no longer used.
147              
148              
149             =head2 S3LogUrl => Str
150              
151             The Amazon S3 URL of the backup's log file.
152              
153              
154             =head2 SecurityGroupIds => ArrayRef[Str|Undef]
155              
156             The security group IDs that are obtained from the server when the
157             backup is created.
158              
159              
160             =head2 ServerName => Str
161              
162             The name of the server from which the backup was made.
163              
164              
165             =head2 ServiceRoleArn => Str
166              
167             The service role ARN that is obtained from the server when the backup
168             is created.
169              
170              
171             =head2 Status => Str
172              
173             The status of a backup while in progress.
174              
175              
176             =head2 StatusDescription => Str
177              
178             An informational message about backup status.
179              
180              
181             =head2 SubnetIds => ArrayRef[Str|Undef]
182              
183             The subnet IDs that are obtained from the server when the backup is
184             created.
185              
186              
187             =head2 ToolsVersion => Str
188              
189             The version of AWS OpsWorks for Chef Automate-specific tools that is
190             obtained from the server when the backup is created.
191              
192              
193             =head2 UserArn => Str
194              
195             The IAM user ARN of the requester for manual backups. This field is
196             empty for automated backups.
197              
198              
199              
200             =head1 SEE ALSO
201              
202             This class forms part of L<Paws>, describing an object used in L<Paws::OpsWorksCM>
203              
204             =head1 BUGS and CONTRIBUTIONS
205              
206             The source code is located here: https://github.com/pplu/aws-sdk-perl
207              
208             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
209              
210             =cut
211