blib/lib/Paws/PinpointEmail/SnsDestination.pm untested

filter: Statementstmt 0.0% 0 / 4 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 5 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::PinpointEmail::SnsDestination;
3 use Moose;
4 has TopicArn => (is => 'ro', isa => 'Str', required => 1);
5  
6 1;
7  
8 ### main pod documentation begin ###
9  
10 =head1 NAME
11  
12 Paws::PinpointEmail::SnsDestination
13  
14 =head1 USAGE
15  
16 This class represents one of two things:
17  
18 =head3 Arguments in a call to a service
19  
20 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21 Each attribute should be used as a named argument in the calls that expect this type of object.
22  
23 As an example, if Att1 is expected to be a Paws::PinpointEmail::SnsDestination object:
24  
25 $service_obj->Method(Att1 => { TopicArn => $value, ..., TopicArn => $value });
26  
27 =head3 Results returned from an API call
28  
29 Use accessors for each attribute. If Att1 is expected to be an Paws::PinpointEmail::SnsDestination object:
30  
31 $result = $service_obj->Method(...);
32 $result->Att1->TopicArn
33  
34 =head1 DESCRIPTION
35  
36 An object that defines an Amazon SNS destination for email events. You
37 can use Amazon SNS to send notification when certain email events
38 occur.
39  
40 =head1 ATTRIBUTES
41  
42  
43 =head2 B<REQUIRED> TopicArn => Str
44  
45 The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to
46 publish email events to. For more information about Amazon SNS topics,
47 see the Amazon SNS Developer Guide
48 (https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html).
49  
50  
51  
52 =head1 SEE ALSO
53  
54 This class forms part of L<Paws>, describing an object used in L<Paws::PinpointEmail>
55  
56 =head1 BUGS and CONTRIBUTIONS
57  
58 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
59  
60 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
61  
62 =cut
63