Class: Aws::CloudFront::Types::Headers

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

Overview

Note:

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

{
  quantity: 1, # required
  items: ["string"],
}

Contains a list of HTTP header names.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#itemsArray<String>

A list of HTTP header names.

Returns:

  • (Array<String>)


6646
6647
6648
6649
6650
6651
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 6646

class Headers < Struct.new(
  :quantity,
  :items)
  SENSITIVE = []
  include Aws::Structure
end

#quantityInteger

The number of header names in the Items list.

Returns:

  • (Integer)


6646
6647
6648
6649
6650
6651
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 6646

class Headers < Struct.new(
  :quantity,
  :items)
  SENSITIVE = []
  include Aws::Structure
end