blib/lib/Paws/DocDB/EventSubscription.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::DocDB::EventSubscription;
3 use Moose;
4 has CustomerAwsId => (is => 'ro', isa => 'Str');
5 has CustSubscriptionId => (is => 'ro', isa => 'Str');
6 has Enabled => (is => 'ro', isa => 'Bool');
7 has EventCategoriesList => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'EventCategory', traits => ['NameInRequest']);
8 has EventSubscriptionArn => (is => 'ro', isa => 'Str');
9 has SnsTopicArn => (is => 'ro', isa => 'Str');
10 has SourceIdsList => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'SourceId', traits => ['NameInRequest']);
11 has SourceType => (is => 'ro', isa => 'Str');
12 has Status => (is => 'ro', isa => 'Str');
13 has SubscriptionCreationTime => (is => 'ro', isa => 'Str');
14  
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::DocDB::EventSubscription
22  
23 =head1 USAGE
24  
25 This class represents one of two things:
26  
27 =head3 Arguments in a call to a service
28  
29 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
30 Each attribute should be used as a named argument in the calls that expect this type of object.
31  
32 As an example, if Att1 is expected to be a Paws::DocDB::EventSubscription object:
33  
34 $service_obj->Method(Att1 => { CustomerAwsId => $value, ..., SubscriptionCreationTime => $value });
35  
36 =head3 Results returned from an API call
37  
38 Use accessors for each attribute. If Att1 is expected to be an Paws::DocDB::EventSubscription object:
39  
40 $result = $service_obj->Method(...);
41 $result->Att1->CustomerAwsId
42  
43 =head1 DESCRIPTION
44  
45 Detailed information about an event to which you have subscribed.
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 CustomerAwsId => Str
51  
52 The Amazon Web Services customer account that is associated with the
53 Amazon DocumentDB event notification subscription.
54  
55  
56 =head2 CustSubscriptionId => Str
57  
58 The Amazon DocumentDB event notification subscription ID.
59  
60  
61 =head2 Enabled => Bool
62  
63 A Boolean value indicating whether the subscription is enabled. A value
64 of C<true> indicates that the subscription is enabled.
65  
66  
67 =head2 EventCategoriesList => ArrayRef[Str|Undef]
68  
69 A list of event categories for the Amazon DocumentDB event notification
70 subscription.
71  
72  
73 =head2 EventSubscriptionArn => Str
74  
75 The Amazon Resource Name (ARN) for the event subscription.
76  
77  
78 =head2 SnsTopicArn => Str
79  
80 The topic ARN of the Amazon DocumentDB event notification subscription.
81  
82  
83 =head2 SourceIdsList => ArrayRef[Str|Undef]
84  
85 A list of source IDs for the Amazon DocumentDB event notification
86 subscription.
87  
88  
89 =head2 SourceType => Str
90  
91 The source type for the Amazon DocumentDB event notification
92 subscription.
93  
94  
95 =head2 Status => Str
96  
97 The status of the Amazon DocumentDB event notification subscription.
98  
99 Constraints:
100  
101 Can be one of the following: C<creating>, C<modifying>, C<deleting>,
102 C<active>, C<no-permission>, C<topic-not-exist>
103  
104 The C<no-permission> status indicates that Amazon DocumentDB no longer
105 has permission to post to the SNS topic. The C<topic-not-exist> status
106 indicates that the topic was deleted after the subscription was
107 created.
108  
109  
110 =head2 SubscriptionCreationTime => Str
111  
112 The time at which the Amazon DocumentDB event notification subscription
113 was created.
114  
115  
116  
117 =head1 SEE ALSO
118  
119 This class forms part of L<Paws>, describing an object used in L<Paws::DocDB>
120  
121 =head1 BUGS and CONTRIBUTIONS
122  
123 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
124  
125 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
126  
127 =cut
128