Paws::CloudFront::CachedMethods
This class represents one of two things:
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::CloudFront::CachedMethods object:
$service_obj->Method(Att1 => { Items => $value, ..., Quantity => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFront::CachedMethods object:
$result = $service_obj->Method(...); $result->Att1->Items
A complex type that controls whether CloudFront caches the response to requests using the specified HTTP methods. There are two choices:
CloudFront caches responses to GET and HEAD requests.
GET
HEAD
CloudFront caches responses to GET, HEAD, and OPTIONS requests.
OPTIONS
If you pick the second choice for your Amazon S3 Origin, you may need to forward Access-Control-Request-Method, Access-Control-Request-Headers, and Origin headers for the responses to be cached correctly.
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
The number of HTTP methods for which you want CloudFront to cache responses. Valid values are C<2> (for caching responses to C<GET> and C<HEAD> requests) and C<3> (for caching responses to C<GET>, C<HEAD>, and C<OPTIONS> requests).
This class forms part of Paws, describing an object used in Paws::CloudFront
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.