Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
Contains a list of HTTP header names.
See: newHeaders
smart constructor.
Instances
Eq Headers Source # | |
Read Headers Source # | |
Show Headers Source # | |
Generic Headers Source # | |
NFData Headers Source # | |
Defined in Amazonka.CloudFront.Types.Headers | |
Hashable Headers Source # | |
Defined in Amazonka.CloudFront.Types.Headers | |
FromXML Headers Source # | |
ToXML Headers Source # | |
Defined in Amazonka.CloudFront.Types.Headers | |
type Rep Headers Source # | |
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))) |
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.