File Coverage

blib/lib/Paws/Health/Event.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::Health::Event;
2 1     1   742 use Moose;
  1         5  
  1         14  
3             has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
4             has AvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'availabilityZone', traits => ['NameInRequest']);
5             has EndTime => (is => 'ro', isa => 'Str', request_name => 'endTime', traits => ['NameInRequest']);
6             has EventTypeCategory => (is => 'ro', isa => 'Str', request_name => 'eventTypeCategory', traits => ['NameInRequest']);
7             has EventTypeCode => (is => 'ro', isa => 'Str', request_name => 'eventTypeCode', traits => ['NameInRequest']);
8             has LastUpdatedTime => (is => 'ro', isa => 'Str', request_name => 'lastUpdatedTime', traits => ['NameInRequest']);
9             has Region => (is => 'ro', isa => 'Str', request_name => 'region', traits => ['NameInRequest']);
10             has Service => (is => 'ro', isa => 'Str', request_name => 'service', traits => ['NameInRequest']);
11             has StartTime => (is => 'ro', isa => 'Str', request_name => 'startTime', traits => ['NameInRequest']);
12             has StatusCode => (is => 'ro', isa => 'Str', request_name => 'statusCode', traits => ['NameInRequest']);
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::Health::Event
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::Health::Event object:
31              
32             $service_obj->Method(Att1 => { Arn => $value, ..., StatusCode => $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::Health::Event object:
37              
38             $result = $service_obj->Method(...);
39             $result->Att1->Arn
40              
41             =head1 DESCRIPTION
42              
43             Summary information about an event, returned by the DescribeEvents
44             operation. The DescribeEventDetails operation also returns this
45             information, as well as the EventDescription and additional event
46             metadata.
47              
48             =head1 ATTRIBUTES
49              
50              
51             =head2 Arn => Str
52              
53             The unique identifier for the event. Format:
54             C<arn:aws:health:I<event-region>::event/I<EVENT_TYPE_PLUS_ID> >.
55             Example: C<arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331>
56              
57              
58             =head2 AvailabilityZone => Str
59              
60             The AWS Availability Zone of the event. For example, us-east-1a.
61              
62              
63             =head2 EndTime => Str
64              
65             The date and time that the event ended.
66              
67              
68             =head2 EventTypeCategory => Str
69              
70             The
71              
72              
73             =head2 EventTypeCode => Str
74              
75             The unique identifier for the event type. The format is
76             C<AWS_I<SERVICE>_I<DESCRIPTION> >; for example,
77             C<AWS_EC2_SYSTEM_MAINTENANCE_EVENT>.
78              
79              
80             =head2 LastUpdatedTime => Str
81              
82             The most recent date and time that the event was updated.
83              
84              
85             =head2 Region => Str
86              
87             The AWS region name of the event.
88              
89              
90             =head2 Service => Str
91              
92             The AWS service that is affected by the event. For example, C<EC2>,
93             C<RDS>.
94              
95              
96             =head2 StartTime => Str
97              
98             The date and time that the event began.
99              
100              
101             =head2 StatusCode => Str
102              
103             The most recent status of the event. Possible values are C<open>,
104             C<closed>, and C<upcoming>.
105              
106              
107              
108             =head1 SEE ALSO
109              
110             This class forms part of L<Paws>, describing an object used in L<Paws::Health>
111              
112             =head1 BUGS and CONTRIBUTIONS
113              
114             The source code is located here: https://github.com/pplu/aws-sdk-perl
115              
116             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
117              
118             =cut
119