File Coverage

blib/lib/Paws/DMS/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::DMS::EventSubscription;
2 1     1   552 use Moose;
  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 SnsTopicArn => (is => 'ro', isa => 'Str');
8             has SourceIdsList => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'SourceId', traits => ['NameInRequest']);
9             has SourceType => (is => 'ro', isa => 'Str');
10             has Status => (is => 'ro', isa => 'Str');
11             has SubscriptionCreationTime => (is => 'ro', isa => 'Str');
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::DMS::EventSubscription
19              
20             =head1 USAGE
21              
22             This class represents one of two things:
23              
24             =head3 Arguments in a call to a service
25              
26             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27             Each attribute should be used as a named argument in the calls that expect this type of object.
28              
29             As an example, if Att1 is expected to be a Paws::DMS::EventSubscription object:
30              
31             $service_obj->Method(Att1 => { CustomerAwsId => $value, ..., SubscriptionCreationTime => $value });
32              
33             =head3 Results returned from an API call
34              
35             Use accessors for each attribute. If Att1 is expected to be an Paws::DMS::EventSubscription object:
36              
37             $result = $service_obj->Method(...);
38             $result->Att1->CustomerAwsId
39              
40             =head1 DESCRIPTION
41              
42             This class has no description
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 CustomerAwsId => Str
48              
49             The AWS customer account associated with the AWS DMS event notification
50             subscription.
51              
52              
53             =head2 CustSubscriptionId => Str
54              
55             The AWS DMS event notification subscription Id.
56              
57              
58             =head2 Enabled => Bool
59              
60             Boolean value that indicates if the event subscription is enabled.
61              
62              
63             =head2 EventCategoriesList => ArrayRef[Str|Undef]
64              
65             A lists of event categories.
66              
67              
68             =head2 SnsTopicArn => Str
69              
70             The topic ARN of the AWS DMS event notification subscription.
71              
72              
73             =head2 SourceIdsList => ArrayRef[Str|Undef]
74              
75             A list of source Ids for the event subscription.
76              
77              
78             =head2 SourceType => Str
79              
80             The type of AWS DMS resource that generates events.
81              
82             Valid values: replication-instance | replication-server |
83             security-group | migration-task
84              
85              
86             =head2 Status => Str
87              
88             The status of the AWS DMS event notification subscription.
89              
90             Constraints:
91              
92             Can be one of the following: creating | modifying | deleting | active |
93             no-permission | topic-not-exist
94              
95             The status "no-permission" indicates that AWS DMS no longer has
96             permission to post to the SNS topic. The status "topic-not-exist"
97             indicates that the topic was deleted after the subscription was
98             created.
99              
100              
101             =head2 SubscriptionCreationTime => Str
102              
103             The time the RDS event notification subscription was created.
104              
105              
106              
107             =head1 SEE ALSO
108              
109             This class forms part of L<Paws>, describing an object used in L<Paws::DMS>
110              
111             =head1 BUGS and CONTRIBUTIONS
112              
113             The source code is located here: https://github.com/pplu/aws-sdk-perl
114              
115             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
116              
117             =cut
118