amazonka-cloudfront-2.0: Amazon CloudFront SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFront.Types.Aliases

Description

 
Synopsis

Documentation

data Aliases Source #

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

See: newAliases smart constructor.

Constructors

Aliases' 

Fields

  • items :: Maybe [Text]

    A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.

  • quantity :: Int

    The number of CNAME aliases, if any, that you want to associate with this distribution.

Instances

Instances details
FromXML Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

ToXML Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

Methods

toXML :: Aliases -> XML #

Generic Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

Associated Types

type Rep Aliases :: Type -> Type #

Methods

from :: Aliases -> Rep Aliases x #

to :: Rep Aliases x -> Aliases #

Read Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

Show Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

NFData Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

Methods

rnf :: Aliases -> () #

Eq Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

Methods

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

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

Hashable Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

Methods

hashWithSalt :: Int -> Aliases -> Int #

hash :: Aliases -> Int #

type Rep Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

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

newAliases Source #

Create a value of Aliases 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:Aliases', aliases_items - A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.

$sel:quantity:Aliases', aliases_quantity - The number of CNAME aliases, if any, that you want to associate with this distribution.

aliases_items :: Lens' Aliases (Maybe [Text]) Source #

A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.

aliases_quantity :: Lens' Aliases Int Source #

The number of CNAME aliases, if any, that you want to associate with this distribution.