Skip to content

UpdateResponseHeadersPolicyRequest

Source code in docs_src/capo_cloudfront/types/update_response_headers_policy_request.py
class UpdateResponseHeadersPolicyRequest(TypedDict, closed=True):
    response_headers_policy_config: "capo_cloudfront.types.response_headers_policy_config.ResponseHeadersPolicyConfig"
    """<p>A response headers policy configuration.</p>"""
    id: "capo_cloudfront.types.string.string"
    """<p>The identifier for the response headers policy that you are updating.</p>"""
    if_match: NotRequired["capo_cloudfront.types.string.string"]
    """<p>The version of the response headers policy that you are updating.</p> <p>The version is returned in the cache policy's <code>ETag</code> field in the response to <code>GetResponseHeadersPolicyConfig</code>.</p>"""

id instance-attribute

id: string

The identifier for the response headers policy that you are updating.

if_match instance-attribute

if_match: NotRequired[string]

The version of the response headers policy that you are updating.

The version is returned in the cache policy's ETag field in the response to GetResponseHeadersPolicyConfig.

response_headers_policy_config instance-attribute

response_headers_policy_config: ResponseHeadersPolicyConfig

A response headers policy configuration.