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

Description

 
Synopsis

Documentation

data StatusCodes Source #

A complex data type for the status codes that you specify that, when returned by a primary origin, trigger CloudFront to failover to a second origin.

See: newStatusCodes smart constructor.

Constructors

StatusCodes' 

Fields

Instances

Instances details
Eq StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

Read StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

Show StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

Generic StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

Associated Types

type Rep StatusCodes :: Type -> Type #

NFData StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

Methods

rnf :: StatusCodes -> () #

Hashable StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

FromXML StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

ToXML StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

Methods

toXML :: StatusCodes -> XML #

type Rep StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

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

newStatusCodes Source #

Create a value of StatusCodes 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:StatusCodes', statusCodes_quantity - The number of status codes.

$sel:items:StatusCodes', statusCodes_items - The items (status codes) for an origin group.

statusCodes_quantity :: Lens' StatusCodes Int Source #

The number of status codes.

statusCodes_items :: Lens' StatusCodes (NonEmpty Int) Source #

The items (status codes) for an origin group.