File Coverage

blib/lib/Paws/SES/SNSDestination.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::SES::SNSDestination;
2 1     1   522 use Moose;
  1         3  
  1         11  
3             has TopicARN => (is => 'ro', isa => 'Str', required => 1);
4             1;
5              
6             ### main pod documentation begin ###
7              
8             =head1 NAME
9              
10             Paws::SES::SNSDestination
11              
12             =head1 USAGE
13              
14             This class represents one of two things:
15              
16             =head3 Arguments in a call to a service
17              
18             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
19             Each attribute should be used as a named argument in the calls that expect this type of object.
20              
21             As an example, if Att1 is expected to be a Paws::SES::SNSDestination object:
22              
23             $service_obj->Method(Att1 => { TopicARN => $value, ..., TopicARN => $value });
24              
25             =head3 Results returned from an API call
26              
27             Use accessors for each attribute. If Att1 is expected to be an Paws::SES::SNSDestination object:
28              
29             $result = $service_obj->Method(...);
30             $result->Att1->TopicARN
31              
32             =head1 DESCRIPTION
33              
34             Contains the topic ARN associated with an Amazon Simple Notification
35             Service (Amazon SNS) event destination.
36              
37             Event destinations, such as Amazon SNS, are associated with
38             configuration sets, which enable you to publish email sending events.
39             For information about using configuration sets, see the I< Amazon SES
40             Developer Guide.>
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 B<REQUIRED> TopicARN => Str
46              
47             The ARN of the Amazon SNS topic that email sending events will be
48             published to. An example of an Amazon SNS topic ARN is
49             C<arn:aws:sns:us-west-2:123456789012:MyTopic>. For more information
50             about Amazon SNS topics, see the I< Amazon SNS Developer Guide.>
51              
52              
53              
54             =head1 SEE ALSO
55              
56             This class forms part of L<Paws>, describing an object used in L<Paws::SES>
57              
58             =head1 BUGS and CONTRIBUTIONS
59              
60             The source code is located here: https://github.com/pplu/aws-sdk-perl
61              
62             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
63              
64             =cut
65