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

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 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::OriginRequestPolicyHeadersConfig;
3 use Moose;
4 has HeaderBehavior => (is => 'ro', isa => 'Str', required => 1);
5 has Headers => (is => 'ro', isa => 'Paws::CloudFront::Headers');
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::CloudFront::OriginRequestPolicyHeadersConfig
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::CloudFront::OriginRequestPolicyHeadersConfig object:
25  
26 $service_obj->Method(Att1 => { HeaderBehavior => $value, ..., Headers => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFront::OriginRequestPolicyHeadersConfig object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->HeaderBehavior
34  
35 =head1 DESCRIPTION
36  
37 An object that determines whether any HTTP headers (and if so, which
38 headers) are included in requests that CloudFront sends to the origin.
39  
40 =head1 ATTRIBUTES
41  
42  
43 =head2 B<REQUIRED> HeaderBehavior => Str
44  
45 Determines whether any HTTP headers are included in requests that
46 CloudFront sends to the origin. Valid values are:
47  
48 =over
49  
50 =item *
51  
52 C<none> E<ndash> HTTP headers are not included in requests that
53 CloudFront sends to the origin. Even when this field is set to C<none>,
54 any headers that are listed in a C<CachePolicy> I<are> included in
55 origin requests.
56  
57 =item *
58  
59 C<whitelist> E<ndash> The HTTP headers that are listed in the
60 C<Headers> type are included in requests that CloudFront sends to the
61 origin.
62  
63 =item *
64  
65 C<allViewer> E<ndash> All HTTP headers in viewer requests are included
66 in requests that CloudFront sends to the origin.
67  
68 =item *
69  
70 C<allViewerAndWhitelistCloudFront> E<ndash> All HTTP headers in viewer
71 requests and the additional CloudFront headers that are listed in the
72 C<Headers> type are included in requests that CloudFront sends to the
73 origin. The additional headers are added by CloudFront.
74  
75 =back
76  
77  
78  
79 =head2 Headers => L<Paws::CloudFront::Headers>
80  
81  
82  
83  
84  
85 =head1 SEE ALSO
86  
87 This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront>
88  
89 =head1 BUGS and CONTRIBUTIONS
90  
91 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
92  
93 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
94  
95 =cut
96