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.Origins

Description

 
Synopsis

Documentation

data Origins Source #

Contains information about the origins for this distribution.

See: newOrigins smart constructor.

Constructors

Origins' 

Fields

Instances

Instances details
Eq Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

Methods

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

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

Read Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

Show Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

Generic Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

Associated Types

type Rep Origins :: Type -> Type #

Methods

from :: Origins -> Rep Origins x #

to :: Rep Origins x -> Origins #

NFData Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

Methods

rnf :: Origins -> () #

Hashable Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

Methods

hashWithSalt :: Int -> Origins -> Int #

hash :: Origins -> Int #

FromXML Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

ToXML Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

Methods

toXML :: Origins -> XML #

type Rep Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

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

newOrigins Source #

Create a value of Origins 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:quantity:Origins', origins_quantity - The number of origins for this distribution.

$sel:items:Origins', origins_items - A list of origins.

origins_quantity :: Lens' Origins Int Source #

The number of origins for this distribution.