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