File Coverage

blib/lib/Paws/RDS/EventSubscription.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::RDS::EventSubscription;
2 1     1   441 use Moose;
  1     1   3  
  1         8  
  1         488  
  1         2  
  1         8  
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 EventSubscriptionArn => (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             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::RDS::EventSubscription
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::RDS::EventSubscription object:
31              
32             $service_obj->Method(Att1 => { CustomerAwsId => $value, ..., SubscriptionCreationTime => $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::RDS::EventSubscription object:
37              
38             $result = $service_obj->Method(...);
39             $result->Att1->CustomerAwsId
40              
41             =head1 DESCRIPTION
42              
43             Contains the results of a successful invocation of the
44             DescribeEventSubscriptions action.
45              
46             =head1 ATTRIBUTES
47              
48              
49             =head2 CustomerAwsId => Str
50              
51             The AWS customer account associated with the RDS event notification
52             subscription.
53              
54              
55             =head2 CustSubscriptionId => Str
56              
57             The RDS event notification subscription Id.
58              
59              
60             =head2 Enabled => Bool
61              
62             A Boolean value indicating if the subscription is enabled. True
63             indicates the subscription is enabled.
64              
65              
66             =head2 EventCategoriesList => ArrayRef[Str|Undef]
67              
68             A list of event categories for the RDS event notification subscription.
69              
70              
71             =head2 EventSubscriptionArn => Str
72              
73             The Amazon Resource Name (ARN) for the event subscription.
74              
75              
76             =head2 SnsTopicArn => Str
77              
78             The topic ARN of the RDS event notification subscription.
79              
80              
81             =head2 SourceIdsList => ArrayRef[Str|Undef]
82              
83             A list of source IDs for the RDS event notification subscription.
84              
85              
86             =head2 SourceType => Str
87              
88             The source type for the RDS event notification subscription.
89              
90              
91             =head2 Status => Str
92              
93             The status of the RDS event notification subscription.
94              
95             Constraints:
96              
97             Can be one of the following: creating | modifying | deleting | active |
98             no-permission | topic-not-exist
99              
100             The status "no-permission" indicates that RDS no longer has permission
101             to post to the SNS topic. The status "topic-not-exist" indicates that
102             the topic was deleted after the subscription was created.
103              
104              
105             =head2 SubscriptionCreationTime => Str
106              
107             The time the RDS event notification subscription was created.
108              
109              
110              
111             =head1 SEE ALSO
112              
113             This class forms part of L<Paws>, describing an object used in L<Paws::RDS>
114              
115             =head1 BUGS and CONTRIBUTIONS
116              
117             The source code is located here: https://github.com/pplu/aws-sdk-perl
118              
119             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
120              
121             =cut
122