blib/lib/Paws/S3/LoggingEnabled.pm

filter: Statementstmt 100% 7 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 8 / 8 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/S3/ListPartsOutput.pm ↑ Summary blib/lib/Paws/S3/Metadata.pm »
1 # Generated by default/object.tt
2 package Paws::S3::LoggingEnabled;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has TargetBucket => (is => 'ro', isa => 'Str', required => 1);
5 1 has TargetGrants => (is => 'ro', isa => 'ArrayRef[Paws::S3::TargetGrant]', request_name => 'Grant', traits => ['NameInRequest']);
6 1 has TargetPrefix => (is => 'ro', isa => 'Str', required => 1);
7  
8 1 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::S3::LoggingEnabled
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::S3::LoggingEnabled object:
26  
27 $service_obj->Method(Att1 => { TargetBucket => $value, ..., TargetPrefix => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::S3::LoggingEnabled object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->TargetBucket
35  
36 =head1 DESCRIPTION
37  
38 Describes where logs are stored and the prefix that Amazon S3 assigns
39 to all log object keys for a bucket. For more information, see PUT
40 Bucket logging
41 (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html)
42 in the I<Amazon S3 API Reference>.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 B<REQUIRED> TargetBucket => Str
48  
49 Specifies the bucket where you want Amazon S3 to store server access
50 logs. You can have your logs delivered to any bucket that you own,
51 including the same bucket that is being logged. You can also configure
52 multiple buckets to deliver their logs to the same target bucket. In
53 this case, you should choose a different C<TargetPrefix> for each
54 source bucket so that the delivered log files can be distinguished by
55 key.
56  
57  
58 =head2 TargetGrants => ArrayRef[L<Paws::S3::TargetGrant>]
59  
60 Container for granting information.
61  
62  
63 =head2 B<REQUIRED> TargetPrefix => Str
64  
65 A prefix for all log object keys. If you store log files from multiple
66 Amazon S3 buckets in a single bucket, you can use a prefix to
67 distinguish which log files came from which bucket.
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  
« blib/lib/Paws/S3/ListPartsOutput.pm ↑ Summary blib/lib/Paws/S3/Metadata.pm »