blib/lib/Paws/CloudFront/StreamingLoggingConfig.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 7 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CloudFront::StreamingLoggingConfig;
3 use Moose;
4 has Bucket => (is => 'ro', isa => 'Str', required => 1);
5 has Enabled => (is => 'ro', isa => 'Bool', required => 1);
6 has Prefix => (is => 'ro', isa => 'Str', required => 1);
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::CloudFront::StreamingLoggingConfig
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::CloudFront::StreamingLoggingConfig object:
26  
27 $service_obj->Method(Att1 => { Bucket => $value, ..., Prefix => $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::CloudFront::StreamingLoggingConfig object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->Bucket
35  
36 =head1 DESCRIPTION
37  
38 A complex type that controls whether access logs are written for this
39 streaming distribution.
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 B<REQUIRED> Bucket => Str
45  
46 The Amazon S3 bucket to store the access logs in, for example,
47 C<myawslogbucket.s3.amazonaws.com>.
48  
49  
50 =head2 B<REQUIRED> Enabled => Bool
51  
52 Specifies whether you want CloudFront to save access logs to an Amazon
53 S3 bucket. If you don't want to enable logging when you create a
54 streaming distribution or if you want to disable logging for an
55 existing streaming distribution, specify C<false> for C<Enabled>, and
56 specify C<empty Bucket> and C<Prefix> elements. If you specify C<false>
57 for C<Enabled> but you specify values for C<Bucket> and C<Prefix>, the
58 values are automatically deleted.
59  
60  
61 =head2 B<REQUIRED> Prefix => Str
62  
63 An optional string that you want CloudFront to prefix to the access log
64 filenames for this streaming distribution, for example, C<myprefix/>.
65 If you want to enable logging, but you don't want to specify a prefix,
66 you still must include an empty C<Prefix> element in the C<Logging>
67 element.
68  
69  
70  
71 =head1 SEE ALSO
72  
73 This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront>
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