blib/lib/Paws/CloudWatchEvents/Archive.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CloudWatchEvents::Archive;
3 use Moose;
4 has ArchiveName => (is => 'ro', isa => 'Str');
5 has CreationTime => (is => 'ro', isa => 'Str');
6 has EventCount => (is => 'ro', isa => 'Int');
7 has EventSourceArn => (is => 'ro', isa => 'Str');
8 has RetentionDays => (is => 'ro', isa => 'Int');
9 has SizeBytes => (is => 'ro', isa => 'Int');
10 has State => (is => 'ro', isa => 'Str');
11 has StateReason => (is => 'ro', isa => 'Str');
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::CloudWatchEvents::Archive
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::CloudWatchEvents::Archive object:
31  
32 $service_obj->Method(Att1 => { ArchiveName => $value, ..., StateReason => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatchEvents::Archive object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->ArchiveName
40  
41 =head1 DESCRIPTION
42  
43 An C<Archive> object that contains details about an archive.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 ArchiveName => Str
49  
50 The name of the archive.
51  
52  
53 =head2 CreationTime => Str
54  
55 The time stamp for the time that the archive was created.
56  
57  
58 =head2 EventCount => Int
59  
60 The number of events in the archive.
61  
62  
63 =head2 EventSourceArn => Str
64  
65 The ARN of the event bus associated with the archive. Only events from
66 this event bus are sent to the archive.
67  
68  
69 =head2 RetentionDays => Int
70  
71 The number of days to retain events in the archive before they are
72 deleted.
73  
74  
75 =head2 SizeBytes => Int
76  
77 The size of the archive, in bytes.
78  
79  
80 =head2 State => Str
81  
82 The current state of the archive.
83  
84  
85 =head2 StateReason => Str
86  
87 A description for the reason that the archive is in the current state.
88  
89  
90  
91 =head1 SEE ALSO
92  
93 This class forms part of L<Paws>, describing an object used in L<Paws::CloudWatchEvents>
94  
95 =head1 BUGS and CONTRIBUTIONS
96  
97 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
98  
99 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
100  
101 =cut
102