Skip to content

UpdateCachePolicyRequest

Source code in docs_src/capo_cloudfront/types/update_cache_policy_request.py
class UpdateCachePolicyRequest(TypedDict, closed=True):
    cache_policy_config: "capo_cloudfront.types.cache_policy_config.CachePolicyConfig"
    """<p>A cache policy configuration.</p>"""
    id: "capo_cloudfront.types.string.string"
    """<p>The unique identifier for the cache policy that you are updating. The identifier is returned in a cache behavior's <code>CachePolicyId</code> field in the response to <code>GetDistributionConfig</code>.</p>"""
    if_match: NotRequired["capo_cloudfront.types.string.string"]
    """<p>The version of the cache policy that you are updating. The version is returned in the cache policy's <code>ETag</code> field in the response to <code>GetCachePolicyConfig</code>.</p>"""

cache_policy_config instance-attribute

cache_policy_config: CachePolicyConfig

A cache policy configuration.

id instance-attribute

id: string

The unique identifier for the cache policy that you are updating. The identifier is returned in a cache behavior's CachePolicyId field in the response to GetDistributionConfig.

if_match instance-attribute

if_match: NotRequired[string]

The version of the cache policy that you are updating. The version is returned in the cache policy's ETag field in the response to GetCachePolicyConfig.