File Coverage

blib/lib/Paws/RedShift/EventSubscription.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::RedShift::EventSubscription;
2 1     1   329 use Moose;
  1         2  
  1         6  
3             has CustomerAwsId => (is => 'ro', isa => 'Str');
4             has CustSubscriptionId => (is => 'ro', isa => 'Str');
5             has Enabled => (is => 'ro', isa => 'Bool');
6             has EventCategoriesList => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'EventCategory', traits => ['NameInRequest']);
7             has Severity => (is => 'ro', isa => 'Str');
8             has SnsTopicArn => (is => 'ro', isa => 'Str');
9             has SourceIdsList => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'SourceId', traits => ['NameInRequest']);
10             has SourceType => (is => 'ro', isa => 'Str');
11             has Status => (is => 'ro', isa => 'Str');
12             has SubscriptionCreationTime => (is => 'ro', isa => 'Str');
13             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::RedShift::Tag]', request_name => 'Tag', traits => ['NameInRequest']);
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::RedShift::EventSubscription
21              
22             =head1 USAGE
23              
24             This class represents one of two things:
25              
26             =head3 Arguments in a call to a service
27              
28             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29             Each attribute should be used as a named argument in the calls that expect this type of object.
30              
31             As an example, if Att1 is expected to be a Paws::RedShift::EventSubscription object:
32              
33             $service_obj->Method(Att1 => { CustomerAwsId => $value, ..., Tags => $value });
34              
35             =head3 Results returned from an API call
36              
37             Use accessors for each attribute. If Att1 is expected to be an Paws::RedShift::EventSubscription object:
38              
39             $result = $service_obj->Method(...);
40             $result->Att1->CustomerAwsId
41              
42             =head1 DESCRIPTION
43              
44             Describes event subscriptions.
45              
46             =head1 ATTRIBUTES
47              
48              
49             =head2 CustomerAwsId => Str
50              
51             The AWS customer account associated with the Amazon Redshift event
52             notification subscription.
53              
54              
55             =head2 CustSubscriptionId => Str
56              
57             The name of the Amazon Redshift event notification subscription.
58              
59              
60             =head2 Enabled => Bool
61              
62             A Boolean value indicating whether the subscription is enabled. C<true>
63             indicates the subscription is enabled.
64              
65              
66             =head2 EventCategoriesList => ArrayRef[Str|Undef]
67              
68             The list of Amazon Redshift event categories specified in the event
69             notification subscription.
70              
71             Values: Configuration, Management, Monitoring, Security
72              
73              
74             =head2 Severity => Str
75              
76             The event severity specified in the Amazon Redshift event notification
77             subscription.
78              
79             Values: ERROR, INFO
80              
81              
82             =head2 SnsTopicArn => Str
83              
84             The Amazon Resource Name (ARN) of the Amazon SNS topic used by the
85             event notification subscription.
86              
87              
88             =head2 SourceIdsList => ArrayRef[Str|Undef]
89              
90             A list of the sources that publish events to the Amazon Redshift event
91             notification subscription.
92              
93              
94             =head2 SourceType => Str
95              
96             The source type of the events returned the Amazon Redshift event
97             notification, such as cluster, or cluster-snapshot.
98              
99              
100             =head2 Status => Str
101              
102             The status of the Amazon Redshift event notification subscription.
103              
104             Constraints:
105              
106             =over
107              
108             =item *
109              
110             Can be one of the following: active | no-permission | topic-not-exist
111              
112             =item *
113              
114             The status "no-permission" indicates that Amazon Redshift no longer has
115             permission to post to the Amazon SNS topic. The status
116             "topic-not-exist" indicates that the topic was deleted after the
117             subscription was created.
118              
119             =back
120              
121              
122              
123             =head2 SubscriptionCreationTime => Str
124              
125             The date and time the Amazon Redshift event notification subscription
126             was created.
127              
128              
129             =head2 Tags => ArrayRef[L<Paws::RedShift::Tag>]
130              
131             The list of tags for the event subscription.
132              
133              
134              
135             =head1 SEE ALSO
136              
137             This class forms part of L<Paws>, describing an object used in L<Paws::RedShift>
138              
139             =head1 BUGS and CONTRIBUTIONS
140              
141             The source code is located here: https://github.com/pplu/aws-sdk-perl
142              
143             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
144              
145             =cut
146