blib/lib/Paws/S3/TopicConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::S3::TopicConfiguration;
3 use Moose;
4 has Events => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'Event', traits => ['NameInRequest'], required => 1);
5 has Filter => (is => 'ro', isa => 'Paws::S3::NotificationConfigurationFilter');
6 has Id => (is => 'ro', isa => 'Str');
7 has TopicArn => (is => 'ro', isa => 'Str', request_name => 'Topic', traits => ['NameInRequest'], required => 1);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::S3::TopicConfiguration
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::S3::TopicConfiguration object:
27  
28 $service_obj->Method(Att1 => { Events => $value, ..., TopicArn => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::S3::TopicConfiguration object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->Events
36  
37 =head1 DESCRIPTION
38  
39 A container for specifying the configuration for publication of
40 messages to an Amazon Simple Notification Service (Amazon SNS) topic
41 when Amazon S3 detects specified events.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 B<REQUIRED> Events => ArrayRef[Str|Undef]
47  
48 The Amazon S3 bucket event about which to send notifications. For more
49 information, see Supported Event Types
50 (https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html)
51 in the I<Amazon S3 User Guide>.
52  
53  
54 =head2 Filter => L<Paws::S3::NotificationConfigurationFilter>
55  
56  
57  
58  
59 =head2 Id => Str
60  
61  
62  
63  
64 =head2 B<REQUIRED> TopicArn => Str
65  
66 The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon
67 S3 publishes a message when it detects events of the specified type.
68  
69  
70  
71 =head1 SEE ALSO
72  
73 This class forms part of L<Paws>, describing an object used in L<Paws::S3>
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