Skip to content

DeleteCachePolicyRequest

Source code in docs_src/capo_cloudfront/types/delete_cache_policy_request.py
class DeleteCachePolicyRequest(TypedDict, closed=True):
    id: "capo_cloudfront.types.string.string"
    """<p>The unique identifier for the cache policy that you are deleting. To get the identifier, you can use <code>ListCachePolicies</code>.</p>"""
    if_match: NotRequired["capo_cloudfront.types.string.string"]
    """<p>The version of the cache policy that you are deleting. The version is the cache policy's <code>ETag</code> value, which you can get using <code>ListCachePolicies</code>, <code>GetCachePolicy</code>, or <code>GetCachePolicyConfig</code>.</p>"""

id instance-attribute

id: string

The unique identifier for the cache policy that you are deleting. To get the identifier, you can use ListCachePolicies.

if_match instance-attribute

if_match: NotRequired[string]

The version of the cache policy that you are deleting. The version is the cache policy's ETag value, which you can get using ListCachePolicies, GetCachePolicy, or GetCachePolicyConfig.