File Coverage

blib/lib/Paws/RedShift/Event.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::RedShift::Event;
2 1     1   620 use Moose;
  1     1   3  
  1         10  
  1         660  
  1         3  
  1         9  
3             has Date => (is => 'ro', isa => 'Str');
4             has EventCategories => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'EventCategory', traits => ['NameInRequest']);
5             has EventId => (is => 'ro', isa => 'Str');
6             has Message => (is => 'ro', isa => 'Str');
7             has Severity => (is => 'ro', isa => 'Str');
8             has SourceIdentifier => (is => 'ro', isa => 'Str');
9             has SourceType => (is => 'ro', isa => 'Str');
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::RedShift::Event
17              
18             =head1 USAGE
19              
20             This class represents one of two things:
21              
22             =head3 Arguments in a call to a service
23              
24             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25             Each attribute should be used as a named argument in the calls that expect this type of object.
26              
27             As an example, if Att1 is expected to be a Paws::RedShift::Event object:
28              
29             $service_obj->Method(Att1 => { Date => $value, ..., SourceType => $value });
30              
31             =head3 Results returned from an API call
32              
33             Use accessors for each attribute. If Att1 is expected to be an Paws::RedShift::Event object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->Date
37              
38             =head1 DESCRIPTION
39              
40             Describes an event.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 Date => Str
46              
47             The date and time of the event.
48              
49              
50             =head2 EventCategories => ArrayRef[Str|Undef]
51              
52             A list of the event categories.
53              
54             Values: Configuration, Management, Monitoring, Security
55              
56              
57             =head2 EventId => Str
58              
59             The identifier of the event.
60              
61              
62             =head2 Message => Str
63              
64             The text of this event.
65              
66              
67             =head2 Severity => Str
68              
69             The severity of the event.
70              
71             Values: ERROR, INFO
72              
73              
74             =head2 SourceIdentifier => Str
75              
76             The identifier for the source of the event.
77              
78              
79             =head2 SourceType => Str
80              
81             The source type for this event.
82              
83              
84              
85             =head1 SEE ALSO
86              
87             This class forms part of L<Paws>, describing an object used in L<Paws::RedShift>
88              
89             =head1 BUGS and CONTRIBUTIONS
90              
91             The source code is located here: https://github.com/pplu/aws-sdk-perl
92              
93             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
94              
95             =cut
96