Skip to content

CustomErrorResponses

Source code in docs_src/capo_cloudfront/types/custom_error_responses.py
class CustomErrorResponses(TypedDict, closed=True):
    quantity: "capo_cloudfront.types.integer.integer"
    """<p>The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. If <code>Quantity</code> is <code>0</code>, you can omit <code>Items</code>.</p>"""
    items: NotRequired[
        "capo_cloudfront.types.custom_error_response_list.CustomErrorResponseList"
    ]
    """<p>A complex type that contains a <code>CustomErrorResponse</code> element for each HTTP status code for which you want to specify a custom error page and/or a caching duration. </p>"""

items instance-attribute

items: NotRequired[CustomErrorResponseList]

A complex type that contains a CustomErrorResponse element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.

quantity instance-attribute

quantity: integer

The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. If Quantity is 0, you can omit Items.