You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudFront::Types::DeleteCachePolicyRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DeleteCachePolicyRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  id: "string", # required
  if_match: "string",
}

Instance Attribute Summary collapse

Instance Attribute Details

#id ⇒ String

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

Returns:

  • (String) —

    The unique identifier for the cache policy that you are deleting.

#if_match ⇒ 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.

Returns:

  • (String) —

    The version of the cache policy that you are deleting.