/AWS1/CL_FNTCUSTOMERRORRSPS¶
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 in the Amazon CloudFront Developer Guide.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_quantity TYPE /AWS1/FNTINTEGER /AWS1/FNTINTEGER¶
The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. If
Quantityis0, you can omitItems.
Optional arguments:¶
it_items TYPE /AWS1/CL_FNTCUSTOMERRORRSP=>TT_CUSTOMERRORRESPONSELIST TT_CUSTOMERRORRESPONSELIST¶
A complex type that contains a
CustomErrorResponseelement for each HTTP status code for which you want to specify a custom error page and/or a caching duration.
Queryable Attributes¶
Quantity¶
The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. If
Quantityis0, you can omitItems.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_QUANTITY() |
Getter for QUANTITY, with configurable default |
ASK_QUANTITY() |
Getter for QUANTITY w/ exceptions if field has no value |
HAS_QUANTITY() |
Determine if QUANTITY has a value |
Items¶
A complex type that contains a
CustomErrorResponseelement for each HTTP status code for which you want to specify a custom error page and/or a caching duration.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ITEMS() |
Getter for ITEMS, with configurable default |
ASK_ITEMS() |
Getter for ITEMS w/ exceptions if field has no value |
HAS_ITEMS() |
Determine if ITEMS has a value |