blib/lib/Paws/SNS/Subscription.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/SNS/SubscribeResponse.pm ↑ Summary blib/lib/Paws/SNS/SubscriptionAttributesMap.pm »
1 # Generated by default/object.tt
2 package Paws::SNS::Subscription;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has Endpoint => (is => 'ro', isa => 'Str');
5 1 has Owner => (is => 'ro', isa => 'Str');
6 1 has Protocol => (is => 'ro', isa => 'Str');
7 1 has SubscriptionArn => (is => 'ro', isa => 'Str');
8 1 has TopicArn => (is => 'ro', isa => 'Str');
9  
10 1 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::SNS::Subscription
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::SNS::Subscription object:
28  
29 $service_obj->Method(Att1 => { Endpoint => $value, ..., TopicArn => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::SNS::Subscription object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->Endpoint
37  
38 =head1 DESCRIPTION
39  
40 A wrapper type for the attributes of an Amazon SNS subscription.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 Endpoint => Str
46  
47 The subscription's endpoint (format depends on the protocol).
48  
49  
50 =head2 Owner => Str
51  
52 The subscription's owner.
53  
54  
55 =head2 Protocol => Str
56  
57 The subscription's protocol.
58  
59  
60 =head2 SubscriptionArn => Str
61  
62 The subscription's ARN.
63  
64  
65 =head2 TopicArn => Str
66  
67 The ARN of the subscription's topic.
68  
69  
70  
71 =head1 SEE ALSO
72  
73 This class forms part of L<Paws>, describing an object used in L<Paws::SNS>
74  
75 =head1 BUGS and CONTRIBUTIONS
76  
77 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
78  
79 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
80  
81 =cut
82  
« blib/lib/Paws/SNS/SubscribeResponse.pm ↑ Summary blib/lib/Paws/SNS/SubscriptionAttributesMap.pm »