NAME

Paws::CloudFront::CachedMethods

USAGE

This class represents one of two things:

Arguments in a call to a service

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  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFront::CachedMethods object:

$result = $service_obj->Method(...);
$result->Att1->Items

DESCRIPTION

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. - CloudFront caches responses to GET, HEAD, and OPTIONS requests. If you pick the second choice for your 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.

ATTRIBUTES

REQUIRED Items => ArrayRef[Str]

A complex type that contains the HTTP methods that you want CloudFront
to cache responses to.

REQUIRED Quantity => Int

The number of HTTP methods for which you want CloudFront to cache
responses. Valid values are 2 (for caching responses to GET and HEAD
requests) and 3 (for caching responses to GET, HEAD, and OPTIONS
requests).

SEE ALSO

This class forms part of Paws, describing an object used in Paws::CloudFront

BUGS and CONTRIBUTIONS

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