File Coverage

blib/lib/Paws/Health/EventType.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::EventType;
2 1     1   603 use Moose;
  1         4  
  1         13  
3             has Category => (is => 'ro', isa => 'Str', request_name => 'category', traits => ['NameInRequest']);
4             has Code => (is => 'ro', isa => 'Str', request_name => 'code', traits => ['NameInRequest']);
5             has Service => (is => 'ro', isa => 'Str', request_name => 'service', traits => ['NameInRequest']);
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::Health::EventType
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::Health::EventType object:
24              
25             $service_obj->Method(Att1 => { Category => $value, ..., Service => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::Health::EventType object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->Category
33              
34             =head1 DESCRIPTION
35              
36             Metadata about a type of event that is reported by AWS Health. Data
37             consists of the category (for example, C<issue>), the service (for
38             example, C<EC2>), and the event type code (for example,
39             C<AWS_EC2_SYSTEM_MAINTENANCE_EVENT>).
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 Category => Str
45              
46             A list of event type category codes (C<issue>, C<scheduledChange>, or
47             C<accountNotification>).
48              
49              
50             =head2 Code => Str
51              
52             The unique identifier for the event type. The format is
53             C<AWS_I<SERVICE>_I<DESCRIPTION> >; for example,
54             C<AWS_EC2_SYSTEM_MAINTENANCE_EVENT>.
55              
56              
57             =head2 Service => Str
58              
59             The AWS service that is affected by the event. For example, C<EC2>,
60             C<RDS>.
61              
62              
63              
64             =head1 SEE ALSO
65              
66             This class forms part of L<Paws>, describing an object used in L<Paws::Health>
67              
68             =head1 BUGS and CONTRIBUTIONS
69              
70             The source code is located here: https://github.com/pplu/aws-sdk-perl
71              
72             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
73              
74             =cut
75