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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudfront/types.rb

Overview

Note:

When making an API call, you may pass DeleteCachePolicyRequest data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

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

Returns:

  • (String)


3769
3770
3771
3772
3773
3774
# File 'lib/aws-sdk-cloudfront/types.rb', line 3769

class DeleteCachePolicyRequest < Struct.new(
  :id,
  :if_match)
  SENSITIVE = []
  include Aws::Structure
end

#if_matchString

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)


3769
3770
3771
3772
3773
3774
# File 'lib/aws-sdk-cloudfront/types.rb', line 3769

class DeleteCachePolicyRequest < Struct.new(
  :id,
  :if_match)
  SENSITIVE = []
  include Aws::Structure
end