libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudFront.Types.Headers

Description

 
Synopsis

Documentation

data Headers Source #

Contains a list of HTTP header names.

See: newHeaders smart constructor.

Constructors

Headers' 

Fields

Instances

Instances details
Eq Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Methods

(==) :: Headers -> Headers -> Bool #

(/=) :: Headers -> Headers -> Bool #

Read Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Show Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Generic Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Associated Types

type Rep Headers :: Type -> Type #

Methods

from :: Headers -> Rep Headers x #

to :: Rep Headers x -> Headers #

NFData Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Methods

rnf :: Headers -> () #

Hashable Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Methods

hashWithSalt :: Int -> Headers -> Int #

hash :: Headers -> Int #

FromXML Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

ToXML Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Methods

toXML :: Headers -> XML #

type Rep Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

type Rep Headers = D1 ('MetaData "Headers" "Amazonka.CloudFront.Types.Headers" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "Headers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newHeaders Source #

Create a value of Headers with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:items:Headers', headers_items - A list of HTTP header names.

$sel:quantity:Headers', headers_quantity - The number of header names in the Items list.

headers_items :: Lens' Headers (Maybe [Text]) Source #

A list of HTTP header names.

headers_quantity :: Lens' Headers Int Source #

The number of header names in the Items list.