Paws::CloudFront::CustomErrorResponses
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::CustomErrorResponses object:
$service_obj->Method(Att1 => { Items => $value, ..., Quantity => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFront::CustomErrorResponses object:
$result = $service_obj->Method(...); $result->Att1->Items
A complex type that controls:
Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
How long CloudFront caches HTTP status codes in the 4xx and 5xx range.
For more information about custom error pages, see Customizing Error Responses (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) in the Amazon CloudFront Developer Guide.
A complex type that contains a C<CustomErrorResponse> element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.
The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. If C<Quantity> is C<0>, you can omit C<Items>.
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.