Class: Aws::CloudFront::Types::DeleteResponseHeadersPolicyRequest

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 DeleteResponseHeadersPolicyRequest data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

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

To get the identifier, you can use `ListResponseHeadersPolicies`.

Returns:

  • (String)

4332
4333
4334
4335
4336
4337
# File 'lib/aws-sdk-cloudfront/types.rb', line 4332

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

#if_matchString

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

The version is the response headers policy’s `ETag` value, which you can get using `ListResponseHeadersPolicies`, `GetResponseHeadersPolicy`, or `GetResponseHeadersPolicyConfig`.

Returns:

  • (String)

4332
4333
4334
4335
4336
4337
# File 'lib/aws-sdk-cloudfront/types.rb', line 4332

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