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

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 9 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::OriginRequestPolicyConfig;
3 use Moose;
4 has Comment => (is => 'ro', isa => 'Str');
5 has CookiesConfig => (is => 'ro', isa => 'Paws::CloudFront::OriginRequestPolicyCookiesConfig', required => 1);
6 has HeadersConfig => (is => 'ro', isa => 'Paws::CloudFront::OriginRequestPolicyHeadersConfig', required => 1);
7 has Name => (is => 'ro', isa => 'Str', required => 1);
8 has QueryStringsConfig => (is => 'ro', isa => 'Paws::CloudFront::OriginRequestPolicyQueryStringsConfig', required => 1);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::CloudFront::OriginRequestPolicyConfig
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::OriginRequestPolicyConfig object:
28  
29 $service_obj->Method(Att1 => { Comment => $value, ..., QueryStringsConfig => $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::OriginRequestPolicyConfig object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->Comment
37  
38 =head1 DESCRIPTION
39  
40 An origin request policy configuration.
41  
42 This configuration determines the values that CloudFront includes in
43 requests that it sends to the origin. Each request that CloudFront
44 sends to the origin includes the following:
45  
46 =over
47  
48 =item *
49  
50 The request body and the URL path (without the domain name) from the
51 viewer request.
52  
53 =item *
54  
55 The headers that CloudFront automatically includes in every origin
56 request, including C<Host>, C<User-Agent>, and C<X-Amz-Cf-Id>.
57  
58 =item *
59  
60 All HTTP headers, cookies, and URL query strings that are specified in
61 the cache policy or the origin request policy. These can include items
62 from the viewer request and, in the case of headers, additional ones
63 that are added by CloudFront.
64  
65 =back
66  
67 CloudFront sends a request when it canE<rsquo>t find an object in its
68 cache that matches the request. If you want to send values to the
69 origin and also include them in the cache key, use C<CachePolicy>.
70  
71 =head1 ATTRIBUTES
72  
73  
74 =head2 Comment => Str
75  
76 A comment to describe the origin request policy. The comment cannot be
77 longer than 128 characters.
78  
79  
80 =head2 B<REQUIRED> CookiesConfig => L<Paws::CloudFront::OriginRequestPolicyCookiesConfig>
81  
82 The cookies from viewer requests to include in origin requests.
83  
84  
85 =head2 B<REQUIRED> HeadersConfig => L<Paws::CloudFront::OriginRequestPolicyHeadersConfig>
86  
87 The HTTP headers to include in origin requests. These can include
88 headers from viewer requests and additional headers added by
89 CloudFront.
90  
91  
92 =head2 B<REQUIRED> Name => Str
93  
94 A unique name to identify the origin request policy.
95  
96  
97 =head2 B<REQUIRED> QueryStringsConfig => L<Paws::CloudFront::OriginRequestPolicyQueryStringsConfig>
98  
99 The URL query strings from viewer requests to include in origin
100 requests.
101  
102  
103  
104 =head1 SEE ALSO
105  
106 This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront>
107  
108 =head1 BUGS and CONTRIBUTIONS
109  
110 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
111  
112 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
113  
114 =cut
115