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

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CloudFront::UpdateRealtimeLogConfig;
3 use Moose;
4 has ARN => (is => 'ro', isa => 'Str');
5 has EndPoints => (is => 'ro', isa => 'ArrayRef[Paws::CloudFront::EndPoint]');
6 has Fields => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'Field', traits => ['NameInRequest']);
7 has Name => (is => 'ro', isa => 'Str');
8 has SamplingRate => (is => 'ro', isa => 'Int');
9  
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateRealtimeLogConfig');
14 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2020-05-31/realtime-log-config/');
15 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT');
16 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudFront::UpdateRealtimeLogConfigResult');
17 class_has _result_key => (isa => 'Str', is => 'ro');
18 class_has _top_level_element => (isa => 'Str', is => 'ro', default => 'UpdateRealtimeLogConfigRequest');
19 class_has _top_level_namespace => (isa => 'Str', is => 'ro', default => 'http://cloudfront.amazonaws.com/doc/2020-05-31/');
20 1;
21  
22 ### main pod documentation begin ###
23  
24 =head1 NAME
25  
26 Paws::CloudFront::UpdateRealtimeLogConfig - Arguments for method UpdateRealtimeLogConfig on L<Paws::CloudFront>
27  
28 =head1 DESCRIPTION
29  
30 This class represents the parameters used for calling the method UpdateRealtimeLogConfig2020_05_31 on the
31 L<Amazon CloudFront|Paws::CloudFront> service. Use the attributes of this class
32 as arguments to method UpdateRealtimeLogConfig2020_05_31.
33  
34 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateRealtimeLogConfig2020_05_31.
35  
36 =head1 SYNOPSIS
37  
38 my $cloudfront = Paws->service('CloudFront');
39 my $UpdateRealtimeLogConfigResult = $cloudfront->UpdateRealtimeLogConfig(
40 ARN => 'Mystring', # OPTIONAL
41 EndPoints => [
42 {
43 StreamType => 'Mystring',
44 KinesisStreamConfig => {
45 RoleARN => 'Mystring',
46 StreamARN => 'Mystring',
47  
48 }, # OPTIONAL
49 },
50 ...
51 ], # OPTIONAL
52 Fields => [ 'Mystring', ... ], # OPTIONAL
53 Name => 'Mystring', # OPTIONAL
54 SamplingRate => 1, # OPTIONAL
55 );
56  
57 # Results:
58 my $RealtimeLogConfig = $UpdateRealtimeLogConfigResult->RealtimeLogConfig;
59  
60 # Returns a L<Paws::CloudFront::UpdateRealtimeLogConfigResult> object.
61  
62 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
63 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/cloudfront/UpdateRealtimeLogConfig>
64  
65 =head1 ATTRIBUTES
66  
67  
68 =head2 ARN => Str
69  
70 The Amazon Resource Name (ARN) for this real-time log configuration.
71  
72  
73  
74 =head2 EndPoints => ArrayRef[L<Paws::CloudFront::EndPoint>]
75  
76 Contains information about the Amazon Kinesis data stream where you are
77 sending real-time log data.
78  
79  
80  
81 =head2 Fields => ArrayRef[Str|Undef]
82  
83 A list of fields to include in each real-time log record.
84  
85 For more information about fields, see Real-time log configuration
86 fields
87 (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields)
88 in the I<Amazon CloudFront Developer Guide>.
89  
90  
91  
92 =head2 Name => Str
93  
94 The name for this real-time log configuration.
95  
96  
97  
98 =head2 SamplingRate => Int
99  
100 The sampling rate for this real-time log configuration. The sampling
101 rate determines the percentage of viewer requests that are represented
102 in the real-time log data. You must provide an integer between 1 and
103 100, inclusive.
104  
105  
106  
107  
108 =head1 SEE ALSO
109  
110 This class forms part of L<Paws>, documenting arguments for method UpdateRealtimeLogConfig2020_05_31 in L<Paws::CloudFront>
111  
112 =head1 BUGS and CONTRIBUTIONS
113  
114 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
115  
116 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
117  
118 =cut
119