File Coverage

blib/lib/Paws/CloudFront/ForwardedValues.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::CloudFront::ForwardedValues;
2 1     1   523 use Moose;
  1         3  
  1         9  
3             has Cookies => (is => 'ro', isa => 'Paws::CloudFront::CookiePreference', required => 1);
4             has Headers => (is => 'ro', isa => 'Paws::CloudFront::Headers');
5             has QueryString => (is => 'ro', isa => 'Bool', required => 1);
6             has QueryStringCacheKeys => (is => 'ro', isa => 'Paws::CloudFront::QueryStringCacheKeys');
7             1;
8              
9             ### main pod documentation begin ###
10              
11             =head1 NAME
12              
13             Paws::CloudFront::ForwardedValues
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::ForwardedValues object:
25              
26             $service_obj->Method(Att1 => { Cookies => $value, ..., QueryStringCacheKeys => $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::ForwardedValues object:
31              
32             $result = $service_obj->Method(...);
33             $result->Att1->Cookies
34              
35             =head1 DESCRIPTION
36              
37             A complex type that specifies how CloudFront handles query strings and
38             cookies.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 B<REQUIRED> Cookies => L<Paws::CloudFront::CookiePreference>
44              
45             A complex type that specifies whether you want CloudFront to forward
46             cookies to the origin and, if so, which ones. For more information
47             about forwarding cookies to the origin, see How CloudFront Forwards,
48             Caches, and Logs Cookies in the I<Amazon CloudFront Developer Guide>.
49              
50              
51             =head2 Headers => L<Paws::CloudFront::Headers>
52              
53             A complex type that specifies the C<Headers>, if any, that you want
54             CloudFront to vary upon for this cache behavior.
55              
56              
57             =head2 B<REQUIRED> QueryString => Bool
58              
59             Indicates whether you want CloudFront to forward query strings to the
60             origin that is associated with this cache behavior and cache based on
61             the query string parameters. CloudFront behavior depends on the value
62             of C<QueryString> and on the values that you specify for
63             C<QueryStringCacheKeys>, if any:
64              
65             If you specify true for C<QueryString> and you don't specify any values
66             for C<QueryStringCacheKeys>, CloudFront forwards all query string
67             parameters to the origin and caches based on all query string
68             parameters. Depending on how many query string parameters and values
69             you have, this can adversely affect performance because CloudFront must
70             forward more requests to the origin.
71              
72             If you specify true for C<QueryString> and you specify one or more
73             values for C<QueryStringCacheKeys>, CloudFront forwards all query
74             string parameters to the origin, but it only caches based on the query
75             string parameters that you specify.
76              
77             If you specify false for C<QueryString>, CloudFront doesn't forward any
78             query string parameters to the origin, and doesn't cache based on query
79             string parameters.
80              
81             For more information, see Configuring CloudFront to Cache Based on
82             Query String Parameters in the I<Amazon CloudFront Developer Guide>.
83              
84              
85             =head2 QueryStringCacheKeys => L<Paws::CloudFront::QueryStringCacheKeys>
86              
87             A complex type that contains information about the query string
88             parameters that you want CloudFront to use for caching for this cache
89             behavior.
90              
91              
92              
93             =head1 SEE ALSO
94              
95             This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront>
96              
97             =head1 BUGS and CONTRIBUTIONS
98              
99             The source code is located here: https://github.com/pplu/aws-sdk-perl
100              
101             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
102              
103             =cut
104