« blib/lib/Paws/CloudFront/CachePolicyCookiesConfig.pm
↑ Summary
blib/lib/Paws/CloudFront/CachePolicyList.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CloudFront::CachePolicyHeadersConfig; | ||
| 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::CachePolicyHeadersConfig | ||
| 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::CachePolicyHeadersConfig 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::CachePolicyHeadersConfig 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 the cache key and automatically included in | ||
| 39 | requests that CloudFront sends to the origin. | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 B<REQUIRED> HeaderBehavior => Str | ||
| 45 | |||
| 46 | Determines whether any HTTP headers are included in the cache key and | ||
| 47 | automatically included in requests that CloudFront sends to the origin. | ||
| 48 | Valid values are: | ||
| 49 | |||
| 50 | =over | ||
| 51 | |||
| 52 | =item * | ||
| 53 | |||
| 54 | C<none> E<ndash> HTTP headers are not included in the cache key and are | ||
| 55 | not automatically included in requests that CloudFront sends to the | ||
| 56 | origin. Even when this field is set to C<none>, any headers that are | ||
| 57 | listed in an C<OriginRequestPolicy> I<are> included in origin requests. | ||
| 58 | |||
| 59 | =item * | ||
| 60 | |||
| 61 | C<whitelist> E<ndash> The HTTP headers that are listed in the | ||
| 62 | C<Headers> type are included in the cache key and are automatically | ||
| 63 | included in requests that CloudFront sends to the origin. | ||
| 64 | |||
| 65 | =back | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 Headers => L<Paws::CloudFront::Headers> | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head1 SEE ALSO | ||
| 76 | |||
| 77 | This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront> | ||
| 78 | |||
| 79 | =head1 BUGS and CONTRIBUTIONS | ||
| 80 | |||
| 81 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 82 | |||
| 83 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 84 | |||
| 85 | =cut | ||
| 86 |