blib/lib/Paws/CloudFront/RealtimeLogConfig.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::CloudFront::RealtimeLogConfig;
3 use Moose;
4 has ARN => (is => 'ro', isa => 'Str', required => 1);
5 has EndPoints => (is => 'ro', isa => 'ArrayRef[Paws::CloudFront::EndPoint]', required => 1);
6 has Fields => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'Field', traits => ['NameInRequest'], required => 1);
7 has Name => (is => 'ro', isa => 'Str', required => 1);
8 has SamplingRate => (is => 'ro', isa => 'Int', required => 1);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::CloudFront::RealtimeLogConfig
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::CloudFront::RealtimeLogConfig object:
28  
29 $service_obj->Method(Att1 => { ARN => $value, ..., SamplingRate => $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::CloudFront::RealtimeLogConfig object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->ARN
37  
38 =head1 DESCRIPTION
39  
40 A real-time log configuration.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 B<REQUIRED> ARN => Str
46  
47 The Amazon Resource Name (ARN) of this real-time log configuration.
48  
49  
50 =head2 B<REQUIRED> EndPoints => ArrayRef[L<Paws::CloudFront::EndPoint>]
51  
52 Contains information about the Amazon Kinesis data stream where you are
53 sending real-time log data for this real-time log configuration.
54  
55  
56 =head2 B<REQUIRED> Fields => ArrayRef[Str|Undef]
57  
58 A list of fields that are included in each real-time log record. In an
59 API response, the fields are provided in the same order in which they
60 are sent to the Amazon Kinesis data stream.
61  
62 For more information about fields, see Real-time log configuration
63 fields
64 (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields)
65 in the I<Amazon CloudFront Developer Guide>.
66  
67  
68 =head2 B<REQUIRED> Name => Str
69  
70 The unique name of this real-time log configuration.
71  
72  
73 =head2 B<REQUIRED> SamplingRate => Int
74  
75 The sampling rate for this real-time log configuration. The sampling
76 rate determines the percentage of viewer requests that are represented
77 in the real-time log data. The sampling rate is an integer between 1
78 and 100, inclusive.
79  
80  
81  
82 =head1 SEE ALSO
83  
84 This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront>
85  
86 =head1 BUGS and CONTRIBUTIONS
87  
88 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
89  
90 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
91  
92 =cut
93