File Coverage

blib/lib/Paws/SNS/Topic.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::SNS::Topic;
2 1     1   802 use Moose;
  1     1   3  
  1         11  
  1         660  
  1         2  
  1         35  
3             has TopicArn => (is => 'ro', isa => 'Str');
4             1;
5              
6             ### main pod documentation begin ###
7              
8             =head1 NAME
9              
10             Paws::SNS::Topic
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::SNS::Topic 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::SNS::Topic object:
28              
29             $result = $service_obj->Method(...);
30             $result->Att1->TopicArn
31              
32             =head1 DESCRIPTION
33              
34             A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve
35             a topic's attributes, use C<GetTopicAttributes>.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 TopicArn => Str
41              
42             The topic's ARN.
43              
44              
45              
46             =head1 SEE ALSO
47              
48             This class forms part of L<Paws>, describing an object used in L<Paws::SNS>
49              
50             =head1 BUGS and CONTRIBUTIONS
51              
52             The source code is located here: https://github.com/pplu/aws-sdk-perl
53              
54             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
55              
56             =cut
57