blib/lib/Paws/SMS/ReplicationJob.pm untested

filter: Statementstmt 0.0% 0 / 39 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 40 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::SMS::ReplicationJob;
3 use Moose;
4 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
5 has Encrypted => (is => 'ro', isa => 'Bool', request_name => 'encrypted', traits => ['NameInRequest']);
6 has Frequency => (is => 'ro', isa => 'Int', request_name => 'frequency', traits => ['NameInRequest']);
7 has KmsKeyId => (is => 'ro', isa => 'Str', request_name => 'kmsKeyId', traits => ['NameInRequest']);
8 has LatestAmiId => (is => 'ro', isa => 'Str', request_name => 'latestAmiId', traits => ['NameInRequest']);
9 has LicenseType => (is => 'ro', isa => 'Str', request_name => 'licenseType', traits => ['NameInRequest']);
10 has NextReplicationRunStartTime => (is => 'ro', isa => 'Str', request_name => 'nextReplicationRunStartTime', traits => ['NameInRequest']);
11 has NumberOfRecentAmisToKeep => (is => 'ro', isa => 'Int', request_name => 'numberOfRecentAmisToKeep', traits => ['NameInRequest']);
12 has ReplicationJobId => (is => 'ro', isa => 'Str', request_name => 'replicationJobId', traits => ['NameInRequest']);
13 has ReplicationRunList => (is => 'ro', isa => 'ArrayRef[Paws::SMS::ReplicationRun]', request_name => 'replicationRunList', traits => ['NameInRequest']);
14 has RoleName => (is => 'ro', isa => 'Str', request_name => 'roleName', traits => ['NameInRequest']);
15 has RunOnce => (is => 'ro', isa => 'Bool', request_name => 'runOnce', traits => ['NameInRequest']);
16 has SeedReplicationTime => (is => 'ro', isa => 'Str', request_name => 'seedReplicationTime', traits => ['NameInRequest']);
17 has ServerId => (is => 'ro', isa => 'Str', request_name => 'serverId', traits => ['NameInRequest']);
18 has ServerType => (is => 'ro', isa => 'Str', request_name => 'serverType', traits => ['NameInRequest']);
19 has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']);
20 has StatusMessage => (is => 'ro', isa => 'Str', request_name => 'statusMessage', traits => ['NameInRequest']);
21 has VmServer => (is => 'ro', isa => 'Paws::SMS::VmServer', request_name => 'vmServer', traits => ['NameInRequest']);
22  
23 1;
24  
25 ### main pod documentation begin ###
26  
27 =head1 NAME
28  
29 Paws::SMS::ReplicationJob
30  
31 =head1 USAGE
32  
33 This class represents one of two things:
34  
35 =head3 Arguments in a call to a service
36  
37 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
38 Each attribute should be used as a named argument in the calls that expect this type of object.
39  
40 As an example, if Att1 is expected to be a Paws::SMS::ReplicationJob object:
41  
42 $service_obj->Method(Att1 => { Description => $value, ..., VmServer => $value });
43  
44 =head3 Results returned from an API call
45  
46 Use accessors for each attribute. If Att1 is expected to be an Paws::SMS::ReplicationJob object:
47  
48 $result = $service_obj->Method(...);
49 $result->Att1->Description
50  
51 =head1 DESCRIPTION
52  
53 Represents a replication job.
54  
55 =head1 ATTRIBUTES
56  
57  
58 =head2 Description => Str
59  
60 The description of the replication job.
61  
62  
63 =head2 Encrypted => Bool
64  
65 Indicates whether the replication job should produce encrypted AMIs.
66  
67  
68 =head2 Frequency => Int
69  
70 The time between consecutive replication runs, in hours.
71  
72  
73 =head2 KmsKeyId => Str
74  
75 The ID of the KMS key for replication jobs that produce encrypted AMIs.
76 This value can be any of the following:
77  
78 =over
79  
80 =item *
81  
82 KMS key ID
83  
84 =item *
85  
86 KMS key alias
87  
88 =item *
89  
90 ARN referring to the KMS key ID
91  
92 =item *
93  
94 ARN referring to the KMS key alias
95  
96 =back
97  
98 If encrypted is enabled but a KMS key ID is not specified, the
99 customer's default KMS key for Amazon EBS is used.
100  
101  
102 =head2 LatestAmiId => Str
103  
104 The ID of the latest Amazon Machine Image (AMI).
105  
106  
107 =head2 LicenseType => Str
108  
109 The license type to be used for the AMI created by a successful
110 replication run.
111  
112  
113 =head2 NextReplicationRunStartTime => Str
114  
115 The start time of the next replication run.
116  
117  
118 =head2 NumberOfRecentAmisToKeep => Int
119  
120 The number of recent AMIs to keep in the customer's account for a
121 replication job. By default, the value is set to zero, meaning that all
122 AMIs are kept.
123  
124  
125 =head2 ReplicationJobId => Str
126  
127 The ID of the replication job.
128  
129  
130 =head2 ReplicationRunList => ArrayRef[L<Paws::SMS::ReplicationRun>]
131  
132 Information about the replication runs.
133  
134  
135 =head2 RoleName => Str
136  
137 The name of the IAM role to be used by AWS SMS.
138  
139  
140 =head2 RunOnce => Bool
141  
142 Indicates whether to run the replication job one time.
143  
144  
145 =head2 SeedReplicationTime => Str
146  
147 The seed replication time.
148  
149  
150 =head2 ServerId => Str
151  
152 The ID of the server.
153  
154  
155 =head2 ServerType => Str
156  
157 The type of server.
158  
159  
160 =head2 State => Str
161  
162 The state of the replication job.
163  
164  
165 =head2 StatusMessage => Str
166  
167 The description of the current status of the replication job.
168  
169  
170 =head2 VmServer => L<Paws::SMS::VmServer>
171  
172 Information about the VM server.
173  
174  
175  
176 =head1 SEE ALSO
177  
178 This class forms part of L<Paws>, describing an object used in L<Paws::SMS>
179  
180 =head1 BUGS and CONTRIBUTIONS
181  
182 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
183  
184 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
185  
186 =cut
187