amazonka-cloudfront-1.4.5: Amazon CloudFront SDK.

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

Network.AWS.CloudFront.Types

Contents

Description

 

Synopsis

Service Configuration

cloudFront :: Service #

API version 2016-09-29 of the Amazon CloudFront SDK configuration.

Errors

_TooManyOriginCustomHeaders :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for TooManyOriginCustomHeaders' errors.

_InvalidTagging :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for InvalidTagging' errors.

_InvalidErrorCode :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for InvalidErrorCode' errors.

_TooManyCacheBehaviors :: AsError a => Getting (First ServiceError) a ServiceError #

You cannot create more cache behaviors for the distribution.

_TooManyCloudFrontOriginAccessIdentities :: AsError a => Getting (First ServiceError) a ServiceError #

Processing your request would cause you to exceed the maximum number of origin access identities allowed.

_InvalidOriginAccessIdentity :: AsError a => Getting (First ServiceError) a ServiceError #

The origin access identity is not valid or doesn't exist.

_DistributionNotDisabled :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for DistributionNotDisabled' errors.

_NoSuchStreamingDistribution :: AsError a => Getting (First ServiceError) a ServiceError #

The specified streaming distribution does not exist.

_InconsistentQuantities :: AsError a => Getting (First ServiceError) a ServiceError #

The value of Quantity and the size of Items do not match.

_InvalidArgument :: AsError a => Getting (First ServiceError) a ServiceError #

The argument is invalid.

_TooManyInvalidationsInProgress :: AsError a => Getting (First ServiceError) a ServiceError #

You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects.

_InvalidWebACLId :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for InvalidWebACLId' errors.

_TooManyQueryStringParameters :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for TooManyQueryStringParameters' errors.

_TooManyDistributionCNAMEs :: AsError a => Getting (First ServiceError) a ServiceError #

Your request contains more CNAMEs than are allowed per distribution.

_NoSuchCloudFrontOriginAccessIdentity :: AsError a => Getting (First ServiceError) a ServiceError #

The specified origin access identity does not exist.

_CloudFrontOriginAccessIdentityInUse :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for CloudFrontOriginAccessIdentityInUse' errors.

_TooManyStreamingDistributions :: AsError a => Getting (First ServiceError) a ServiceError #

Processing your request would cause you to exceed the maximum number of streaming distributions allowed.

_BatchTooLarge :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for BatchTooLarge' errors.

_TooManyCookieNamesInWhiteList :: AsError a => Getting (First ServiceError) a ServiceError #

Your request contains more cookie names in the whitelist than are allowed per cache behavior.

_InvalidForwardCookies :: AsError a => Getting (First ServiceError) a ServiceError #

Your request contains forward cookies option which doesn't match with the expectation for the whitelisted list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.

_TooManyTrustedSigners :: AsError a => Getting (First ServiceError) a ServiceError #

Your request contains more trusted signers than are allowed per distribution.

_InvalidOrigin :: AsError a => Getting (First ServiceError) a ServiceError #

The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.

_NoSuchInvalidation :: AsError a => Getting (First ServiceError) a ServiceError #

The specified invalidation does not exist.

_NoSuchOrigin :: AsError a => Getting (First ServiceError) a ServiceError #

No origin exists with the specified Origin Id .

_InvalidTTLOrder :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for InvalidTTLOrder' errors.

_StreamingDistributionNotDisabled :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for StreamingDistributionNotDisabled' errors.

_TooManyHeadersInForwardedValues :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for TooManyHeadersInForwardedValues' errors.

_NoSuchResource :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for NoSuchResource' errors.

_TooManyStreamingDistributionCNAMEs :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for TooManyStreamingDistributionCNAMEs' errors.

_InvalidRequiredProtocol :: AsError a => Getting (First ServiceError) a ServiceError #

This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the RequiredProtocols element from your distribution configuration.

_TooManyDistributions :: AsError a => Getting (First ServiceError) a ServiceError #

Processing your request would cause you to exceed the maximum number of distributions allowed.

_TooManyCertificates :: AsError a => Getting (First ServiceError) a ServiceError #

You cannot create anymore custom SSL/TLS certificates.

_DistributionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError #

The caller reference you attempted to create the distribution with is associated with another distribution.

_InvalidQueryStringParameters :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for InvalidQueryStringParameters' errors.

_MissingBody :: AsError a => Getting (First ServiceError) a ServiceError #

This operation requires a body. Ensure that the body is present and the Content-Type header is set.

_IllegalUpdate :: AsError a => Getting (First ServiceError) a ServiceError #

Origin and CallerReference cannot be updated.

_InvalidIfMatchVersion :: AsError a => Getting (First ServiceError) a ServiceError #

The If-Match version is missing or not valid for the distribution.

_PreconditionFailed :: AsError a => Getting (First ServiceError) a ServiceError #

The precondition given in one or more of the request-header fields evaluated to false .

_InvalidResponseCode :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for InvalidResponseCode' errors.

_InvalidHeadersForS3Origin :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for InvalidHeadersForS3Origin' errors.

_CNAMEAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for CNAMEAlreadyExists' errors.

_TrustedSignerDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError #

One or more of your trusted signers do not exist.

_InvalidProtocolSettings :: AsError a => Getting (First ServiceError) a ServiceError #

You cannot specify SSLv3 as the minimum protocol version if you only want to support only clients that support Server Name Indication (SNI).

_CloudFrontOriginAccessIdentityAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError #

If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.

_TooManyOrigins :: AsError a => Getting (First ServiceError) a ServiceError #

You cannot create more origins for the distribution.

_InvalidRelativePath :: AsError a => Getting (First ServiceError) a ServiceError #

The relative path is too big, is not URL-encoded, or does not begin with a slash (/).

_StreamingDistributionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for StreamingDistributionAlreadyExists' errors.

_InvalidMinimumProtocolVersion :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for InvalidMinimumProtocolVersion' errors.

_InvalidViewerCertificate :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for InvalidViewerCertificate' errors.

_NoSuchDistribution :: AsError a => Getting (First ServiceError) a ServiceError #

The specified distribution does not exist.

_InvalidDefaultRootObject :: AsError a => Getting (First ServiceError) a ServiceError #

The default root object file name is too big or contains an invalid character.

_InvalidGeoRestrictionParameter :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for InvalidGeoRestrictionParameter' errors.

_InvalidLocationCode :: AsError a => Getting (First ServiceError) a ServiceError #

Prism for InvalidLocationCode' errors.

CertificateSource

data CertificateSource #

Constructors

Acm 
Cloudfront 
IAM 

Instances

Bounded CertificateSource # 
Enum CertificateSource # 
Eq CertificateSource # 
Data CertificateSource # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CertificateSource -> c CertificateSource #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CertificateSource #

toConstr :: CertificateSource -> Constr #

dataTypeOf :: CertificateSource -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CertificateSource) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CertificateSource) #

gmapT :: (forall b. Data b => b -> b) -> CertificateSource -> CertificateSource #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CertificateSource -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CertificateSource -> r #

gmapQ :: (forall d. Data d => d -> u) -> CertificateSource -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CertificateSource -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CertificateSource -> m CertificateSource #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CertificateSource -> m CertificateSource #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CertificateSource -> m CertificateSource #

Ord CertificateSource # 
Read CertificateSource # 
Show CertificateSource # 
Generic CertificateSource # 
Hashable CertificateSource # 
NFData CertificateSource # 

Methods

rnf :: CertificateSource -> () #

FromXML CertificateSource # 
ToXML CertificateSource # 
ToQuery CertificateSource # 
ToHeader CertificateSource # 
ToByteString CertificateSource # 
FromText CertificateSource # 
ToText CertificateSource # 
type Rep CertificateSource # 
type Rep CertificateSource = D1 (MetaData "CertificateSource" "Network.AWS.CloudFront.Types.Sum" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) ((:+:) (C1 (MetaCons "Acm" PrefixI False) U1) ((:+:) (C1 (MetaCons "Cloudfront" PrefixI False) U1) (C1 (MetaCons "IAM" PrefixI False) U1)))

GeoRestrictionType

data GeoRestrictionType #

Constructors

Blacklist 
None 
Whitelist 

Instances

Bounded GeoRestrictionType # 
Enum GeoRestrictionType # 
Eq GeoRestrictionType # 
Data GeoRestrictionType # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GeoRestrictionType -> c GeoRestrictionType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GeoRestrictionType #

toConstr :: GeoRestrictionType -> Constr #

dataTypeOf :: GeoRestrictionType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GeoRestrictionType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GeoRestrictionType) #

gmapT :: (forall b. Data b => b -> b) -> GeoRestrictionType -> GeoRestrictionType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GeoRestrictionType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GeoRestrictionType -> r #

gmapQ :: (forall d. Data d => d -> u) -> GeoRestrictionType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GeoRestrictionType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GeoRestrictionType -> m GeoRestrictionType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GeoRestrictionType -> m GeoRestrictionType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GeoRestrictionType -> m GeoRestrictionType #

Ord GeoRestrictionType # 
Read GeoRestrictionType # 
Show GeoRestrictionType # 
Generic GeoRestrictionType # 
Hashable GeoRestrictionType # 
NFData GeoRestrictionType # 

Methods

rnf :: GeoRestrictionType -> () #

FromXML GeoRestrictionType # 
ToXML GeoRestrictionType # 
ToQuery GeoRestrictionType # 
ToHeader GeoRestrictionType # 
ToByteString GeoRestrictionType # 
FromText GeoRestrictionType # 
ToText GeoRestrictionType # 
type Rep GeoRestrictionType # 
type Rep GeoRestrictionType = D1 (MetaData "GeoRestrictionType" "Network.AWS.CloudFront.Types.Sum" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) ((:+:) (C1 (MetaCons "Blacklist" PrefixI False) U1) ((:+:) (C1 (MetaCons "None" PrefixI False) U1) (C1 (MetaCons "Whitelist" PrefixI False) U1)))

HTTPVersion

data HTTPVersion #

Constructors

HTTP1_1 
HTTP2 

Instances

Bounded HTTPVersion # 
Enum HTTPVersion # 
Eq HTTPVersion # 
Data HTTPVersion # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HTTPVersion -> c HTTPVersion #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HTTPVersion #

toConstr :: HTTPVersion -> Constr #

dataTypeOf :: HTTPVersion -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HTTPVersion) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HTTPVersion) #

gmapT :: (forall b. Data b => b -> b) -> HTTPVersion -> HTTPVersion #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HTTPVersion -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HTTPVersion -> r #

gmapQ :: (forall d. Data d => d -> u) -> HTTPVersion -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HTTPVersion -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HTTPVersion -> m HTTPVersion #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HTTPVersion -> m HTTPVersion #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HTTPVersion -> m HTTPVersion #

Ord HTTPVersion # 
Read HTTPVersion # 
Show HTTPVersion # 
Generic HTTPVersion # 

Associated Types

type Rep HTTPVersion :: * -> * #

Hashable HTTPVersion # 
NFData HTTPVersion # 

Methods

rnf :: HTTPVersion -> () #

FromXML HTTPVersion # 
ToXML HTTPVersion # 

Methods

toXML :: HTTPVersion -> XML #

ToQuery HTTPVersion # 
ToHeader HTTPVersion # 
ToByteString HTTPVersion # 
FromText HTTPVersion # 
ToText HTTPVersion # 

Methods

toText :: HTTPVersion -> Text #

type Rep HTTPVersion # 
type Rep HTTPVersion = D1 (MetaData "HTTPVersion" "Network.AWS.CloudFront.Types.Sum" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) ((:+:) (C1 (MetaCons "HTTP1_1" PrefixI False) U1) (C1 (MetaCons "HTTP2" PrefixI False) U1))

ItemSelection

data ItemSelection #

Constructors

ISAll 
ISNone 
ISWhitelist 

Instances

Bounded ItemSelection # 
Enum ItemSelection # 
Eq ItemSelection # 
Data ItemSelection # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ItemSelection -> c ItemSelection #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ItemSelection #

toConstr :: ItemSelection -> Constr #

dataTypeOf :: ItemSelection -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ItemSelection) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ItemSelection) #

gmapT :: (forall b. Data b => b -> b) -> ItemSelection -> ItemSelection #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ItemSelection -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ItemSelection -> r #

gmapQ :: (forall d. Data d => d -> u) -> ItemSelection -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ItemSelection -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ItemSelection -> m ItemSelection #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ItemSelection -> m ItemSelection #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ItemSelection -> m ItemSelection #

Ord ItemSelection # 
Read ItemSelection # 
Show ItemSelection # 
Generic ItemSelection # 

Associated Types

type Rep ItemSelection :: * -> * #

Hashable ItemSelection # 
NFData ItemSelection # 

Methods

rnf :: ItemSelection -> () #

FromXML ItemSelection # 
ToXML ItemSelection # 

Methods

toXML :: ItemSelection -> XML #

ToQuery ItemSelection # 
ToHeader ItemSelection # 
ToByteString ItemSelection # 
FromText ItemSelection # 
ToText ItemSelection # 

Methods

toText :: ItemSelection -> Text #

type Rep ItemSelection # 
type Rep ItemSelection = D1 (MetaData "ItemSelection" "Network.AWS.CloudFront.Types.Sum" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) ((:+:) (C1 (MetaCons "ISAll" PrefixI False) U1) ((:+:) (C1 (MetaCons "ISNone" PrefixI False) U1) (C1 (MetaCons "ISWhitelist" PrefixI False) U1)))

Method

data Method #

Constructors

Delete 
Get 
Head 
Options 
Patch 
Post 
Put 

Instances

Bounded Method # 
Enum Method # 
Eq Method # 

Methods

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

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

Data Method # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Method -> c Method #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Method #

toConstr :: Method -> Constr #

dataTypeOf :: Method -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Method) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Method) #

gmapT :: (forall b. Data b => b -> b) -> Method -> Method #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Method -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Method -> r #

gmapQ :: (forall d. Data d => d -> u) -> Method -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Method -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Method -> m Method #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Method -> m Method #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Method -> m Method #

Ord Method # 
Read Method # 
Show Method # 
Generic Method # 

Associated Types

type Rep Method :: * -> * #

Methods

from :: Method -> Rep Method x #

to :: Rep Method x -> Method #

Hashable Method # 

Methods

hashWithSalt :: Int -> Method -> Int #

hash :: Method -> Int #

NFData Method # 

Methods

rnf :: Method -> () #

FromXML Method # 
ToXML Method # 

Methods

toXML :: Method -> XML #

ToQuery Method # 
ToHeader Method # 

Methods

toHeader :: HeaderName -> Method -> [Header] #

ToByteString Method # 

Methods

toBS :: Method -> ByteString #

FromText Method # 

Methods

parser :: Parser Method #

ToText Method # 

Methods

toText :: Method -> Text #

type Rep Method # 
type Rep Method = D1 (MetaData "Method" "Network.AWS.CloudFront.Types.Sum" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) ((:+:) ((:+:) (C1 (MetaCons "Delete" PrefixI False) U1) ((:+:) (C1 (MetaCons "Get" PrefixI False) U1) (C1 (MetaCons "Head" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Options" PrefixI False) U1) (C1 (MetaCons "Patch" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Post" PrefixI False) U1) (C1 (MetaCons "Put" PrefixI False) U1))))

MinimumProtocolVersion

data MinimumProtocolVersion #

Constructors

MPVSSLV3 
MPVTLSV1 

Instances

Bounded MinimumProtocolVersion # 
Enum MinimumProtocolVersion # 
Eq MinimumProtocolVersion # 
Data MinimumProtocolVersion # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MinimumProtocolVersion -> c MinimumProtocolVersion #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MinimumProtocolVersion #

toConstr :: MinimumProtocolVersion -> Constr #

dataTypeOf :: MinimumProtocolVersion -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MinimumProtocolVersion) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MinimumProtocolVersion) #

gmapT :: (forall b. Data b => b -> b) -> MinimumProtocolVersion -> MinimumProtocolVersion #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MinimumProtocolVersion -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MinimumProtocolVersion -> r #

gmapQ :: (forall d. Data d => d -> u) -> MinimumProtocolVersion -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MinimumProtocolVersion -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MinimumProtocolVersion -> m MinimumProtocolVersion #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MinimumProtocolVersion -> m MinimumProtocolVersion #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MinimumProtocolVersion -> m MinimumProtocolVersion #

Ord MinimumProtocolVersion # 
Read MinimumProtocolVersion # 
Show MinimumProtocolVersion # 
Generic MinimumProtocolVersion # 
Hashable MinimumProtocolVersion # 
NFData MinimumProtocolVersion # 

Methods

rnf :: MinimumProtocolVersion -> () #

FromXML MinimumProtocolVersion # 
ToXML MinimumProtocolVersion # 
ToQuery MinimumProtocolVersion # 
ToHeader MinimumProtocolVersion # 
ToByteString MinimumProtocolVersion # 
FromText MinimumProtocolVersion # 
ToText MinimumProtocolVersion # 
type Rep MinimumProtocolVersion # 
type Rep MinimumProtocolVersion = D1 (MetaData "MinimumProtocolVersion" "Network.AWS.CloudFront.Types.Sum" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) ((:+:) (C1 (MetaCons "MPVSSLV3" PrefixI False) U1) (C1 (MetaCons "MPVTLSV1" PrefixI False) U1))

OriginProtocolPolicy

data OriginProtocolPolicy #

Instances

Bounded OriginProtocolPolicy # 
Enum OriginProtocolPolicy # 
Eq OriginProtocolPolicy # 
Data OriginProtocolPolicy # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OriginProtocolPolicy -> c OriginProtocolPolicy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OriginProtocolPolicy #

toConstr :: OriginProtocolPolicy -> Constr #

dataTypeOf :: OriginProtocolPolicy -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c OriginProtocolPolicy) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OriginProtocolPolicy) #

gmapT :: (forall b. Data b => b -> b) -> OriginProtocolPolicy -> OriginProtocolPolicy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OriginProtocolPolicy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OriginProtocolPolicy -> r #

gmapQ :: (forall d. Data d => d -> u) -> OriginProtocolPolicy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OriginProtocolPolicy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OriginProtocolPolicy -> m OriginProtocolPolicy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OriginProtocolPolicy -> m OriginProtocolPolicy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OriginProtocolPolicy -> m OriginProtocolPolicy #

Ord OriginProtocolPolicy # 
Read OriginProtocolPolicy # 
Show OriginProtocolPolicy # 
Generic OriginProtocolPolicy # 
Hashable OriginProtocolPolicy # 
NFData OriginProtocolPolicy # 

Methods

rnf :: OriginProtocolPolicy -> () #

FromXML OriginProtocolPolicy # 
ToXML OriginProtocolPolicy # 
ToQuery OriginProtocolPolicy # 
ToHeader OriginProtocolPolicy # 
ToByteString OriginProtocolPolicy # 
FromText OriginProtocolPolicy # 
ToText OriginProtocolPolicy # 
type Rep OriginProtocolPolicy # 
type Rep OriginProtocolPolicy = D1 (MetaData "OriginProtocolPolicy" "Network.AWS.CloudFront.Types.Sum" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) ((:+:) (C1 (MetaCons "HTTPOnly" PrefixI False) U1) ((:+:) (C1 (MetaCons "HTTPSOnly" PrefixI False) U1) (C1 (MetaCons "MatchViewer" PrefixI False) U1)))

PriceClass

data PriceClass #

Instances

Bounded PriceClass # 
Enum PriceClass # 
Eq PriceClass # 
Data PriceClass # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PriceClass -> c PriceClass #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PriceClass #

toConstr :: PriceClass -> Constr #

dataTypeOf :: PriceClass -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PriceClass) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PriceClass) #

gmapT :: (forall b. Data b => b -> b) -> PriceClass -> PriceClass #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PriceClass -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PriceClass -> r #

gmapQ :: (forall d. Data d => d -> u) -> PriceClass -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PriceClass -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PriceClass -> m PriceClass #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PriceClass -> m PriceClass #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PriceClass -> m PriceClass #

Ord PriceClass # 
Read PriceClass # 
Show PriceClass # 
Generic PriceClass # 

Associated Types

type Rep PriceClass :: * -> * #

Hashable PriceClass # 
NFData PriceClass # 

Methods

rnf :: PriceClass -> () #

FromXML PriceClass # 
ToXML PriceClass # 

Methods

toXML :: PriceClass -> XML #

ToQuery PriceClass # 
ToHeader PriceClass # 
ToByteString PriceClass # 
FromText PriceClass # 
ToText PriceClass # 

Methods

toText :: PriceClass -> Text #

type Rep PriceClass # 
type Rep PriceClass = D1 (MetaData "PriceClass" "Network.AWS.CloudFront.Types.Sum" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) ((:+:) (C1 (MetaCons "PriceClass100" PrefixI False) U1) ((:+:) (C1 (MetaCons "PriceClass200" PrefixI False) U1) (C1 (MetaCons "PriceClassAll" PrefixI False) U1)))

SSLProtocol

data SSLProtocol #

Constructors

SSLV3 
TLSV1 
TLSV1_1 
TLSV1_2 

Instances

Bounded SSLProtocol # 
Enum SSLProtocol # 
Eq SSLProtocol # 
Data SSLProtocol # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SSLProtocol -> c SSLProtocol #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SSLProtocol #

toConstr :: SSLProtocol -> Constr #

dataTypeOf :: SSLProtocol -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SSLProtocol) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SSLProtocol) #

gmapT :: (forall b. Data b => b -> b) -> SSLProtocol -> SSLProtocol #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SSLProtocol -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SSLProtocol -> r #

gmapQ :: (forall d. Data d => d -> u) -> SSLProtocol -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SSLProtocol -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SSLProtocol -> m SSLProtocol #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SSLProtocol -> m SSLProtocol #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SSLProtocol -> m SSLProtocol #

Ord SSLProtocol # 
Read SSLProtocol # 
Show SSLProtocol # 
Generic SSLProtocol # 

Associated Types

type Rep SSLProtocol :: * -> * #

Hashable SSLProtocol # 
NFData SSLProtocol # 

Methods

rnf :: SSLProtocol -> () #

FromXML SSLProtocol # 
ToXML SSLProtocol # 

Methods

toXML :: SSLProtocol -> XML #

ToQuery SSLProtocol # 
ToHeader SSLProtocol # 
ToByteString SSLProtocol # 
FromText SSLProtocol # 
ToText SSLProtocol # 

Methods

toText :: SSLProtocol -> Text #

type Rep SSLProtocol # 
type Rep SSLProtocol = D1 (MetaData "SSLProtocol" "Network.AWS.CloudFront.Types.Sum" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) ((:+:) ((:+:) (C1 (MetaCons "SSLV3" PrefixI False) U1) (C1 (MetaCons "TLSV1" PrefixI False) U1)) ((:+:) (C1 (MetaCons "TLSV1_1" PrefixI False) U1) (C1 (MetaCons "TLSV1_2" PrefixI False) U1)))

SSLSupportMethod

data SSLSupportMethod #

Constructors

SNIOnly 
VIP 

Instances

Bounded SSLSupportMethod # 
Enum SSLSupportMethod # 
Eq SSLSupportMethod # 
Data SSLSupportMethod # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SSLSupportMethod -> c SSLSupportMethod #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SSLSupportMethod #

toConstr :: SSLSupportMethod -> Constr #

dataTypeOf :: SSLSupportMethod -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SSLSupportMethod) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SSLSupportMethod) #

gmapT :: (forall b. Data b => b -> b) -> SSLSupportMethod -> SSLSupportMethod #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SSLSupportMethod -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SSLSupportMethod -> r #

gmapQ :: (forall d. Data d => d -> u) -> SSLSupportMethod -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SSLSupportMethod -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SSLSupportMethod -> m SSLSupportMethod #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SSLSupportMethod -> m SSLSupportMethod #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SSLSupportMethod -> m SSLSupportMethod #

Ord SSLSupportMethod # 
Read SSLSupportMethod # 
Show SSLSupportMethod # 
Generic SSLSupportMethod # 
Hashable SSLSupportMethod # 
NFData SSLSupportMethod # 

Methods

rnf :: SSLSupportMethod -> () #

FromXML SSLSupportMethod # 
ToXML SSLSupportMethod # 
ToQuery SSLSupportMethod # 
ToHeader SSLSupportMethod # 
ToByteString SSLSupportMethod # 
FromText SSLSupportMethod # 
ToText SSLSupportMethod # 
type Rep SSLSupportMethod # 
type Rep SSLSupportMethod = D1 (MetaData "SSLSupportMethod" "Network.AWS.CloudFront.Types.Sum" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) ((:+:) (C1 (MetaCons "SNIOnly" PrefixI False) U1) (C1 (MetaCons "VIP" PrefixI False) U1))

ViewerProtocolPolicy

data ViewerProtocolPolicy #

Instances

Bounded ViewerProtocolPolicy # 
Enum ViewerProtocolPolicy # 
Eq ViewerProtocolPolicy # 
Data ViewerProtocolPolicy # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ViewerProtocolPolicy -> c ViewerProtocolPolicy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ViewerProtocolPolicy #

toConstr :: ViewerProtocolPolicy -> Constr #

dataTypeOf :: ViewerProtocolPolicy -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ViewerProtocolPolicy) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ViewerProtocolPolicy) #

gmapT :: (forall b. Data b => b -> b) -> ViewerProtocolPolicy -> ViewerProtocolPolicy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ViewerProtocolPolicy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ViewerProtocolPolicy -> r #

gmapQ :: (forall d. Data d => d -> u) -> ViewerProtocolPolicy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ViewerProtocolPolicy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ViewerProtocolPolicy -> m ViewerProtocolPolicy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ViewerProtocolPolicy -> m ViewerProtocolPolicy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ViewerProtocolPolicy -> m ViewerProtocolPolicy #

Ord ViewerProtocolPolicy # 
Read ViewerProtocolPolicy # 
Show ViewerProtocolPolicy # 
Generic ViewerProtocolPolicy # 
Hashable ViewerProtocolPolicy # 
NFData ViewerProtocolPolicy # 

Methods

rnf :: ViewerProtocolPolicy -> () #

FromXML ViewerProtocolPolicy # 
ToXML ViewerProtocolPolicy # 
ToQuery ViewerProtocolPolicy # 
ToHeader ViewerProtocolPolicy # 
ToByteString ViewerProtocolPolicy # 
FromText ViewerProtocolPolicy # 
ToText ViewerProtocolPolicy # 
type Rep ViewerProtocolPolicy # 
type Rep ViewerProtocolPolicy = D1 (MetaData "ViewerProtocolPolicy" "Network.AWS.CloudFront.Types.Sum" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) ((:+:) (C1 (MetaCons "VPPAllowAll" PrefixI False) U1) ((:+:) (C1 (MetaCons "VPPHTTPSOnly" PrefixI False) U1) (C1 (MetaCons "VPPRedirectToHTTPS" PrefixI False) U1)))

ActiveTrustedSigners

data ActiveTrustedSigners #

A complex type that lists the AWS accounts, if any, that you included in the TrustedSigners complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.

The Signer complex type lists the AWS account number of the trusted signer or self if the signer is the AWS account that created the distribution. The Signer element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's AWS account. If no KeyPairId element appears for a Signer , that signer can't create signed URLs.

For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide .

See: activeTrustedSigners smart constructor.

Instances

Eq ActiveTrustedSigners # 
Data ActiveTrustedSigners # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ActiveTrustedSigners -> c ActiveTrustedSigners #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ActiveTrustedSigners #

toConstr :: ActiveTrustedSigners -> Constr #

dataTypeOf :: ActiveTrustedSigners -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ActiveTrustedSigners) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ActiveTrustedSigners) #

gmapT :: (forall b. Data b => b -> b) -> ActiveTrustedSigners -> ActiveTrustedSigners #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ActiveTrustedSigners -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ActiveTrustedSigners -> r #

gmapQ :: (forall d. Data d => d -> u) -> ActiveTrustedSigners -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ActiveTrustedSigners -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ActiveTrustedSigners -> m ActiveTrustedSigners #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ActiveTrustedSigners -> m ActiveTrustedSigners #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ActiveTrustedSigners -> m ActiveTrustedSigners #

Read ActiveTrustedSigners # 
Show ActiveTrustedSigners # 
Generic ActiveTrustedSigners # 
Hashable ActiveTrustedSigners # 
NFData ActiveTrustedSigners # 

Methods

rnf :: ActiveTrustedSigners -> () #

FromXML ActiveTrustedSigners # 
type Rep ActiveTrustedSigners # 
type Rep ActiveTrustedSigners = D1 (MetaData "ActiveTrustedSigners" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "ActiveTrustedSigners'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_atsItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Signer]))) ((:*:) (S1 (MetaSel (Just Symbol "_atsEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_atsQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

activeTrustedSigners #

Creates a value of ActiveTrustedSigners with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • atsItems - A complex type that contains one Signer complex type for each trusted signer that is specified in the TrustedSigners complex type. For more information, see ActiveTrustedSigners .
  • atsEnabled - Enabled is true if any of the AWS accounts listed in the TrustedSigners complex type for this RTMP distribution have active CloudFront key pairs. If not, Enabled is false . For more information, see ActiveTrustedSigners .
  • atsQuantity - A complex type that contains one Signer complex type for each trusted signer specified in the TrustedSigners complex type. For more information, see ActiveTrustedSigners .

atsItems :: Lens' ActiveTrustedSigners [Signer] #

A complex type that contains one Signer complex type for each trusted signer that is specified in the TrustedSigners complex type. For more information, see ActiveTrustedSigners .

atsEnabled :: Lens' ActiveTrustedSigners Bool #

Enabled is true if any of the AWS accounts listed in the TrustedSigners complex type for this RTMP distribution have active CloudFront key pairs. If not, Enabled is false . For more information, see ActiveTrustedSigners .

atsQuantity :: Lens' ActiveTrustedSigners Int #

A complex type that contains one Signer complex type for each trusted signer specified in the TrustedSigners complex type. For more information, see ActiveTrustedSigners .

Aliases

data Aliases #

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

See: aliases smart constructor.

Instances

Eq Aliases # 

Methods

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

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

Data Aliases # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Aliases -> c Aliases #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Aliases #

toConstr :: Aliases -> Constr #

dataTypeOf :: Aliases -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Aliases) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Aliases) #

gmapT :: (forall b. Data b => b -> b) -> Aliases -> Aliases #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Aliases -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Aliases -> r #

gmapQ :: (forall d. Data d => d -> u) -> Aliases -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Aliases -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Aliases -> m Aliases #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Aliases -> m Aliases #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Aliases -> m Aliases #

Read Aliases # 
Show Aliases # 
Generic Aliases # 

Associated Types

type Rep Aliases :: * -> * #

Methods

from :: Aliases -> Rep Aliases x #

to :: Rep Aliases x -> Aliases #

Hashable Aliases # 

Methods

hashWithSalt :: Int -> Aliases -> Int #

hash :: Aliases -> Int #

NFData Aliases # 

Methods

rnf :: Aliases -> () #

FromXML Aliases # 
ToXML Aliases # 

Methods

toXML :: Aliases -> XML #

type Rep Aliases # 
type Rep Aliases = D1 (MetaData "Aliases" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "Aliases'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_aQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

aliases #

Arguments

:: Int

aQuantity

-> Aliases 

Creates a value of Aliases with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • aItems - A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.
  • aQuantity - The number of CNAME aliases, if any, that you want to associate with this distribution.

aItems :: Lens' Aliases [Text] #

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

aQuantity :: Lens' Aliases Int #

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

AllowedMethods

data AllowedMethods #

A complex type that controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin. There are three choices:

  • CloudFront forwards only GET and HEAD requests.
  • CloudFront forwards only GET , HEAD , and OPTIONS requests.
  • CloudFront forwards GET, HEAD, OPTIONS, PUT, PATCH, POST , and DELETE requests.

If you pick the third choice, you may need to restrict access to your Amazon S3 bucket or to your custom origin so users can't perform operations that you don't want them to. For example, you might not want users to have permissions to delete objects from your origin.

See: allowedMethods smart constructor.

Instances

Eq AllowedMethods # 
Data AllowedMethods # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AllowedMethods -> c AllowedMethods #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AllowedMethods #

toConstr :: AllowedMethods -> Constr #

dataTypeOf :: AllowedMethods -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AllowedMethods) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AllowedMethods) #

gmapT :: (forall b. Data b => b -> b) -> AllowedMethods -> AllowedMethods #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AllowedMethods -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AllowedMethods -> r #

gmapQ :: (forall d. Data d => d -> u) -> AllowedMethods -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AllowedMethods -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AllowedMethods -> m AllowedMethods #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AllowedMethods -> m AllowedMethods #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AllowedMethods -> m AllowedMethods #

Read AllowedMethods # 
Show AllowedMethods # 
Generic AllowedMethods # 

Associated Types

type Rep AllowedMethods :: * -> * #

Hashable AllowedMethods # 
NFData AllowedMethods # 

Methods

rnf :: AllowedMethods -> () #

FromXML AllowedMethods # 
ToXML AllowedMethods # 

Methods

toXML :: AllowedMethods -> XML #

type Rep AllowedMethods # 
type Rep AllowedMethods = D1 (MetaData "AllowedMethods" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "AllowedMethods'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_amCachedMethods") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CachedMethods))) ((:*:) (S1 (MetaSel (Just Symbol "_amQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_amItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Method])))))

allowedMethods #

Creates a value of AllowedMethods with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • amCachedMethods - Undocumented member.
  • amQuantity - The number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (for GET and HEAD requests), 3 (for GET , HEAD , and OPTIONS requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST , and DELETE requests).
  • amItems - A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.

amQuantity :: Lens' AllowedMethods Int #

The number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (for GET and HEAD requests), 3 (for GET , HEAD , and OPTIONS requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST , and DELETE requests).

amItems :: Lens' AllowedMethods [Method] #

A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.

CacheBehavior

data CacheBehavior #

A complex type that describes how CloudFront processes requests.

You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin is never used.

For the current limit on the number of cache behaviors that you can add to a distribution, see Amazon CloudFront Limits in the AWS General Reference .

If you don't want to specify any cache behaviors, include only an empty CacheBehaviors element. Don't include an empty CacheBehavior element, or CloudFront returns a MalformedXML error.

To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element.

To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.

For more information about cache behaviors, see Cache Behaviors in the Amazon CloudFront Developer Guide .

See: cacheBehavior smart constructor.

Instances

Eq CacheBehavior # 
Data CacheBehavior # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CacheBehavior -> c CacheBehavior #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CacheBehavior #

toConstr :: CacheBehavior -> Constr #

dataTypeOf :: CacheBehavior -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CacheBehavior) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CacheBehavior) #

gmapT :: (forall b. Data b => b -> b) -> CacheBehavior -> CacheBehavior #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CacheBehavior -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CacheBehavior -> r #

gmapQ :: (forall d. Data d => d -> u) -> CacheBehavior -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CacheBehavior -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CacheBehavior -> m CacheBehavior #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CacheBehavior -> m CacheBehavior #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CacheBehavior -> m CacheBehavior #

Read CacheBehavior # 
Show CacheBehavior # 
Generic CacheBehavior # 

Associated Types

type Rep CacheBehavior :: * -> * #

Hashable CacheBehavior # 
NFData CacheBehavior # 

Methods

rnf :: CacheBehavior -> () #

FromXML CacheBehavior # 
ToXML CacheBehavior # 

Methods

toXML :: CacheBehavior -> XML #

type Rep CacheBehavior # 
type Rep CacheBehavior = D1 (MetaData "CacheBehavior" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "CacheBehavior'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cbAllowedMethods") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AllowedMethods))) (S1 (MetaSel (Just Symbol "_cbMaxTTL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)))) ((:*:) (S1 (MetaSel (Just Symbol "_cbCompress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_cbSmoothStreaming") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_cbDefaultTTL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cbPathPattern") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_cbTargetOriginId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cbForwardedValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ForwardedValues)))) ((:*:) (S1 (MetaSel (Just Symbol "_cbTrustedSigners") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TrustedSigners)) ((:*:) (S1 (MetaSel (Just Symbol "_cbViewerProtocolPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ViewerProtocolPolicy)) (S1 (MetaSel (Just Symbol "_cbMinTTL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Integer)))))))

cacheBehavior #

Creates a value of CacheBehavior with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cbAllowedMethods - Undocumented member.
  • cbMaxTTL - The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as Cache-Control max-age , Cache-Control s-maxage , and Expires to objects. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide .
  • cbCompress - Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide .
  • cbSmoothStreaming - Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true ; if not, specify false . If you specify true for SmoothStreaming , you can still distribute other content using this cache behavior if the content matches the value of PathPattern .
  • cbDefaultTTL - The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as Cache-Control max-age , Cache-Control s-maxage , and Expires to objects. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide .
  • cbPathPattern - The pattern (for example, images/*.jpg ) that specifies which requests to apply the behavior to. When CloudFront receives a viewer request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior. For more information, see Path Pattern in the Amazon CloudFront Developer Guide .
  • cbTargetOriginId - The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.
  • cbForwardedValues - A complex type that specifies how CloudFront handles query strings and cookies.
  • cbTrustedSigners - A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled , and specify the applicable values for Quantity and Items . For more information, see Serving Private Content through CloudFront in the Amazon Amazon CloudFront Developer Guide . If you don't want to require signed URLs in requests for objects that match PathPattern , specify false for Enabled and 0 for Quantity . Omit Items . To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false ), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.
  • cbViewerProtocolPolicy - The protocol that viewers can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern . You can specify the following options: * allow-all : Viewers can use HTTP or HTTPS. * redirect-to-https : If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL. * https-only : If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden). For more information about requiring the HTTPS protocol, see Using an HTTPS Connection to Access Your Objects in the Amazon CloudFront Developer Guide .
  • cbMinTTL - The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon Amazon CloudFront Developer Guide . You must specify 0 for MinTTL if you configure CloudFront to forward all headers to your origin (under Headers , if you specify 1 for Quantity and * for Name ).

cbMaxTTL :: Lens' CacheBehavior (Maybe Integer) #

The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as Cache-Control max-age , Cache-Control s-maxage , and Expires to objects. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide .

cbCompress :: Lens' CacheBehavior (Maybe Bool) #

Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide .

cbSmoothStreaming :: Lens' CacheBehavior (Maybe Bool) #

Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true ; if not, specify false . If you specify true for SmoothStreaming , you can still distribute other content using this cache behavior if the content matches the value of PathPattern .

cbDefaultTTL :: Lens' CacheBehavior (Maybe Integer) #

The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as Cache-Control max-age , Cache-Control s-maxage , and Expires to objects. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide .

cbPathPattern :: Lens' CacheBehavior Text #

The pattern (for example, images/*.jpg ) that specifies which requests to apply the behavior to. When CloudFront receives a viewer request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior. For more information, see Path Pattern in the Amazon CloudFront Developer Guide .

cbTargetOriginId :: Lens' CacheBehavior Text #

The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.

cbForwardedValues :: Lens' CacheBehavior ForwardedValues #

A complex type that specifies how CloudFront handles query strings and cookies.

cbTrustedSigners :: Lens' CacheBehavior TrustedSigners #

A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled , and specify the applicable values for Quantity and Items . For more information, see Serving Private Content through CloudFront in the Amazon Amazon CloudFront Developer Guide . If you don't want to require signed URLs in requests for objects that match PathPattern , specify false for Enabled and 0 for Quantity . Omit Items . To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false ), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.

cbViewerProtocolPolicy :: Lens' CacheBehavior ViewerProtocolPolicy #

The protocol that viewers can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern . You can specify the following options: * allow-all : Viewers can use HTTP or HTTPS. * redirect-to-https : If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL. * https-only : If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden). For more information about requiring the HTTPS protocol, see Using an HTTPS Connection to Access Your Objects in the Amazon CloudFront Developer Guide .

cbMinTTL :: Lens' CacheBehavior Integer #

The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon Amazon CloudFront Developer Guide . You must specify 0 for MinTTL if you configure CloudFront to forward all headers to your origin (under Headers , if you specify 1 for Quantity and * for Name ).

CacheBehaviors

data CacheBehaviors #

A complex type that contains zero or more CacheBehavior elements.

See: cacheBehaviors smart constructor.

Instances

Eq CacheBehaviors # 
Data CacheBehaviors # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CacheBehaviors -> c CacheBehaviors #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CacheBehaviors #

toConstr :: CacheBehaviors -> Constr #

dataTypeOf :: CacheBehaviors -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CacheBehaviors) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CacheBehaviors) #

gmapT :: (forall b. Data b => b -> b) -> CacheBehaviors -> CacheBehaviors #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CacheBehaviors -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CacheBehaviors -> r #

gmapQ :: (forall d. Data d => d -> u) -> CacheBehaviors -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CacheBehaviors -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CacheBehaviors -> m CacheBehaviors #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CacheBehaviors -> m CacheBehaviors #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CacheBehaviors -> m CacheBehaviors #

Read CacheBehaviors # 
Show CacheBehaviors # 
Generic CacheBehaviors # 

Associated Types

type Rep CacheBehaviors :: * -> * #

Hashable CacheBehaviors # 
NFData CacheBehaviors # 

Methods

rnf :: CacheBehaviors -> () #

FromXML CacheBehaviors # 
ToXML CacheBehaviors # 

Methods

toXML :: CacheBehaviors -> XML #

type Rep CacheBehaviors # 
type Rep CacheBehaviors = D1 (MetaData "CacheBehaviors" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "CacheBehaviors'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cbItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CacheBehavior]))) (S1 (MetaSel (Just Symbol "_cbQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

cacheBehaviors #

Creates a value of CacheBehaviors with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cbItems - Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0 , you can omit Items .
  • cbQuantity - The number of cache behaviors for this distribution.

cbItems :: Lens' CacheBehaviors [CacheBehavior] #

Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0 , you can omit Items .

cbQuantity :: Lens' CacheBehaviors Int #

The number of cache behaviors for this distribution.

CachedMethods

data CachedMethods #

A complex type that controls whether CloudFront caches the response to requests using the specified HTTP methods. There are two choices:

  • CloudFront caches responses to GET and HEAD requests.
  • CloudFront caches responses to GET , HEAD , and OPTIONS requests.

If you pick the second choice for your Amazon S3 Origin, you may need to forward Access-Control-Request-Method, Access-Control-Request-Headers, and Origin headers for the responses to be cached correctly.

See: cachedMethods smart constructor.

Instances

Eq CachedMethods # 
Data CachedMethods # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CachedMethods -> c CachedMethods #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CachedMethods #

toConstr :: CachedMethods -> Constr #

dataTypeOf :: CachedMethods -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CachedMethods) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CachedMethods) #

gmapT :: (forall b. Data b => b -> b) -> CachedMethods -> CachedMethods #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CachedMethods -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CachedMethods -> r #

gmapQ :: (forall d. Data d => d -> u) -> CachedMethods -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CachedMethods -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CachedMethods -> m CachedMethods #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CachedMethods -> m CachedMethods #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CachedMethods -> m CachedMethods #

Read CachedMethods # 
Show CachedMethods # 
Generic CachedMethods # 

Associated Types

type Rep CachedMethods :: * -> * #

Hashable CachedMethods # 
NFData CachedMethods # 

Methods

rnf :: CachedMethods -> () #

FromXML CachedMethods # 
ToXML CachedMethods # 

Methods

toXML :: CachedMethods -> XML #

type Rep CachedMethods # 
type Rep CachedMethods = D1 (MetaData "CachedMethods" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "CachedMethods'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cmQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_cmItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Method]))))

cachedMethods #

Creates a value of CachedMethods with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cmQuantity - The number of HTTP methods for which you want CloudFront to cache responses. Valid values are 2 (for caching responses to GET and HEAD requests) and 3 (for caching responses to GET , HEAD , and OPTIONS requests).
  • cmItems - A complex type that contains the HTTP methods that you want CloudFront to cache responses to.

cmQuantity :: Lens' CachedMethods Int #

The number of HTTP methods for which you want CloudFront to cache responses. Valid values are 2 (for caching responses to GET and HEAD requests) and 3 (for caching responses to GET , HEAD , and OPTIONS requests).

cmItems :: Lens' CachedMethods [Method] #

A complex type that contains the HTTP methods that you want CloudFront to cache responses to.

CloudFrontOriginAccessIdentity

data CloudFrontOriginAccessIdentity #

CloudFront origin access identity.

See: cloudFrontOriginAccessIdentity smart constructor.

Instances

Eq CloudFrontOriginAccessIdentity # 
Data CloudFrontOriginAccessIdentity # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CloudFrontOriginAccessIdentity -> c CloudFrontOriginAccessIdentity #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CloudFrontOriginAccessIdentity #

toConstr :: CloudFrontOriginAccessIdentity -> Constr #

dataTypeOf :: CloudFrontOriginAccessIdentity -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CloudFrontOriginAccessIdentity) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CloudFrontOriginAccessIdentity) #

gmapT :: (forall b. Data b => b -> b) -> CloudFrontOriginAccessIdentity -> CloudFrontOriginAccessIdentity #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CloudFrontOriginAccessIdentity -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CloudFrontOriginAccessIdentity -> r #

gmapQ :: (forall d. Data d => d -> u) -> CloudFrontOriginAccessIdentity -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CloudFrontOriginAccessIdentity -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CloudFrontOriginAccessIdentity -> m CloudFrontOriginAccessIdentity #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CloudFrontOriginAccessIdentity -> m CloudFrontOriginAccessIdentity #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CloudFrontOriginAccessIdentity -> m CloudFrontOriginAccessIdentity #

Read CloudFrontOriginAccessIdentity # 
Show CloudFrontOriginAccessIdentity # 
Generic CloudFrontOriginAccessIdentity # 
Hashable CloudFrontOriginAccessIdentity # 
NFData CloudFrontOriginAccessIdentity # 
FromXML CloudFrontOriginAccessIdentity # 
type Rep CloudFrontOriginAccessIdentity # 
type Rep CloudFrontOriginAccessIdentity = D1 (MetaData "CloudFrontOriginAccessIdentity" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "CloudFrontOriginAccessIdentity'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cfoaiCloudFrontOriginAccessIdentityConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CloudFrontOriginAccessIdentityConfig))) ((:*:) (S1 (MetaSel (Just Symbol "_cfoaiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cfoaiS3CanonicalUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

cloudFrontOriginAccessIdentity #

Creates a value of CloudFrontOriginAccessIdentity with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cfoaiCloudFrontOriginAccessIdentityConfig - The current configuration information for the identity.
  • cfoaiId - The ID for the origin access identity. For example: E74FTE3AJFJ256A .
  • cfoaiS3CanonicalUserId - The Amazon S3 canonical user ID for the origin access identity, used when giving the origin access identity read permission to an object in Amazon S3.

cfoaiId :: Lens' CloudFrontOriginAccessIdentity Text #

The ID for the origin access identity. For example: E74FTE3AJFJ256A .

cfoaiS3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentity Text #

The Amazon S3 canonical user ID for the origin access identity, used when giving the origin access identity read permission to an object in Amazon S3.

CloudFrontOriginAccessIdentityConfig

data CloudFrontOriginAccessIdentityConfig #

Origin access identity configuration. Send a GET request to the /CloudFront API version CloudFrontidentity ID/config resource.

See: cloudFrontOriginAccessIdentityConfig smart constructor.

Instances

Eq CloudFrontOriginAccessIdentityConfig # 
Data CloudFrontOriginAccessIdentityConfig # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CloudFrontOriginAccessIdentityConfig -> c CloudFrontOriginAccessIdentityConfig #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CloudFrontOriginAccessIdentityConfig #

toConstr :: CloudFrontOriginAccessIdentityConfig -> Constr #

dataTypeOf :: CloudFrontOriginAccessIdentityConfig -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CloudFrontOriginAccessIdentityConfig) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CloudFrontOriginAccessIdentityConfig) #

gmapT :: (forall b. Data b => b -> b) -> CloudFrontOriginAccessIdentityConfig -> CloudFrontOriginAccessIdentityConfig #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CloudFrontOriginAccessIdentityConfig -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CloudFrontOriginAccessIdentityConfig -> r #

gmapQ :: (forall d. Data d => d -> u) -> CloudFrontOriginAccessIdentityConfig -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CloudFrontOriginAccessIdentityConfig -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CloudFrontOriginAccessIdentityConfig -> m CloudFrontOriginAccessIdentityConfig #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CloudFrontOriginAccessIdentityConfig -> m CloudFrontOriginAccessIdentityConfig #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CloudFrontOriginAccessIdentityConfig -> m CloudFrontOriginAccessIdentityConfig #

Read CloudFrontOriginAccessIdentityConfig # 
Show CloudFrontOriginAccessIdentityConfig # 
Generic CloudFrontOriginAccessIdentityConfig # 
Hashable CloudFrontOriginAccessIdentityConfig # 
NFData CloudFrontOriginAccessIdentityConfig # 
FromXML CloudFrontOriginAccessIdentityConfig # 
ToXML CloudFrontOriginAccessIdentityConfig # 
type Rep CloudFrontOriginAccessIdentityConfig # 
type Rep CloudFrontOriginAccessIdentityConfig = D1 (MetaData "CloudFrontOriginAccessIdentityConfig" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "CloudFrontOriginAccessIdentityConfig'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cfoaicCallerReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cfoaicComment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

cloudFrontOriginAccessIdentityConfig #

Creates a value of CloudFrontOriginAccessIdentityConfig with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cfoaicCallerReference - A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value already sent in a previous identity request, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity, but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.
  • cfoaicComment - Any comments you want to include about the origin access identity.

cfoaicCallerReference :: Lens' CloudFrontOriginAccessIdentityConfig Text #

A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value already sent in a previous identity request, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity, but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.

cfoaicComment :: Lens' CloudFrontOriginAccessIdentityConfig Text #

Any comments you want to include about the origin access identity.

CloudFrontOriginAccessIdentityList

data CloudFrontOriginAccessIdentityList #

Lists the origin access identities for CloudFront.Send a GET request to the /CloudFront API version origin-access-identitycloudfront resource. The response includes a CloudFrontOriginAccessIdentityList element with zero or more CloudFrontOriginAccessIdentitySummary child elements. By default, your entire list of origin access identities is returned in one single page. If the list is long, you can paginate it using the MaxItems and Marker parameters.

See: cloudFrontOriginAccessIdentityList smart constructor.

Instances

Eq CloudFrontOriginAccessIdentityList # 
Data CloudFrontOriginAccessIdentityList # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CloudFrontOriginAccessIdentityList -> c CloudFrontOriginAccessIdentityList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CloudFrontOriginAccessIdentityList #

toConstr :: CloudFrontOriginAccessIdentityList -> Constr #

dataTypeOf :: CloudFrontOriginAccessIdentityList -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CloudFrontOriginAccessIdentityList) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CloudFrontOriginAccessIdentityList) #

gmapT :: (forall b. Data b => b -> b) -> CloudFrontOriginAccessIdentityList -> CloudFrontOriginAccessIdentityList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CloudFrontOriginAccessIdentityList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CloudFrontOriginAccessIdentityList -> r #

gmapQ :: (forall d. Data d => d -> u) -> CloudFrontOriginAccessIdentityList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CloudFrontOriginAccessIdentityList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CloudFrontOriginAccessIdentityList -> m CloudFrontOriginAccessIdentityList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CloudFrontOriginAccessIdentityList -> m CloudFrontOriginAccessIdentityList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CloudFrontOriginAccessIdentityList -> m CloudFrontOriginAccessIdentityList #

Read CloudFrontOriginAccessIdentityList # 
Show CloudFrontOriginAccessIdentityList # 
Generic CloudFrontOriginAccessIdentityList # 
Hashable CloudFrontOriginAccessIdentityList # 
NFData CloudFrontOriginAccessIdentityList # 
FromXML CloudFrontOriginAccessIdentityList # 
type Rep CloudFrontOriginAccessIdentityList # 
type Rep CloudFrontOriginAccessIdentityList = D1 (MetaData "CloudFrontOriginAccessIdentityList" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "CloudFrontOriginAccessIdentityList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cfoailItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CloudFrontOriginAccessIdentitySummary]))) ((:*:) (S1 (MetaSel (Just Symbol "_cfoailNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cfoailMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cfoailMaxItems") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) ((:*:) (S1 (MetaSel (Just Symbol "_cfoailIsTruncated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_cfoailQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))))

cloudFrontOriginAccessIdentityList #

Creates a value of CloudFrontOriginAccessIdentityList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cfoailItems - A complex type that contains one CloudFrontOriginAccessIdentitySummary element for each origin access identity that was created by the current AWS account.
  • cfoailNextMarker - If IsTruncated is true , this element is present and contains the value you can use for the Marker request parameter to continue listing your origin access identities where they left off.
  • cfoailMarker - Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last identity on that page).
  • cfoailMaxItems - The maximum number of origin access identities you want in the response body.
  • cfoailIsTruncated - A flag that indicates whether more origin access identities remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more items in the list.
  • cfoailQuantity - The number of CloudFront origin access identities that were created by the current AWS account.

cfoailItems :: Lens' CloudFrontOriginAccessIdentityList [CloudFrontOriginAccessIdentitySummary] #

A complex type that contains one CloudFrontOriginAccessIdentitySummary element for each origin access identity that was created by the current AWS account.

cfoailNextMarker :: Lens' CloudFrontOriginAccessIdentityList (Maybe Text) #

If IsTruncated is true , this element is present and contains the value you can use for the Marker request parameter to continue listing your origin access identities where they left off.

cfoailMarker :: Lens' CloudFrontOriginAccessIdentityList Text #

Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last identity on that page).

cfoailMaxItems :: Lens' CloudFrontOriginAccessIdentityList Int #

The maximum number of origin access identities you want in the response body.

cfoailIsTruncated :: Lens' CloudFrontOriginAccessIdentityList Bool #

A flag that indicates whether more origin access identities remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more items in the list.

cfoailQuantity :: Lens' CloudFrontOriginAccessIdentityList Int #

The number of CloudFront origin access identities that were created by the current AWS account.

CloudFrontOriginAccessIdentitySummary

data CloudFrontOriginAccessIdentitySummary #

Summary of the information about a CloudFront origin access identity.

See: cloudFrontOriginAccessIdentitySummary smart constructor.

Instances

Eq CloudFrontOriginAccessIdentitySummary # 
Data CloudFrontOriginAccessIdentitySummary # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CloudFrontOriginAccessIdentitySummary -> c CloudFrontOriginAccessIdentitySummary #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CloudFrontOriginAccessIdentitySummary #

toConstr :: CloudFrontOriginAccessIdentitySummary -> Constr #

dataTypeOf :: CloudFrontOriginAccessIdentitySummary -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CloudFrontOriginAccessIdentitySummary) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CloudFrontOriginAccessIdentitySummary) #

gmapT :: (forall b. Data b => b -> b) -> CloudFrontOriginAccessIdentitySummary -> CloudFrontOriginAccessIdentitySummary #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CloudFrontOriginAccessIdentitySummary -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CloudFrontOriginAccessIdentitySummary -> r #

gmapQ :: (forall d. Data d => d -> u) -> CloudFrontOriginAccessIdentitySummary -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CloudFrontOriginAccessIdentitySummary -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CloudFrontOriginAccessIdentitySummary -> m CloudFrontOriginAccessIdentitySummary #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CloudFrontOriginAccessIdentitySummary -> m CloudFrontOriginAccessIdentitySummary #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CloudFrontOriginAccessIdentitySummary -> m CloudFrontOriginAccessIdentitySummary #

Read CloudFrontOriginAccessIdentitySummary # 
Show CloudFrontOriginAccessIdentitySummary # 
Generic CloudFrontOriginAccessIdentitySummary # 
Hashable CloudFrontOriginAccessIdentitySummary # 
NFData CloudFrontOriginAccessIdentitySummary # 
FromXML CloudFrontOriginAccessIdentitySummary # 
type Rep CloudFrontOriginAccessIdentitySummary # 
type Rep CloudFrontOriginAccessIdentitySummary = D1 (MetaData "CloudFrontOriginAccessIdentitySummary" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "CloudFrontOriginAccessIdentitySummary'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cfoaisId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_cfoaisS3CanonicalUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cfoaisComment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

cloudFrontOriginAccessIdentitySummary #

Creates a value of CloudFrontOriginAccessIdentitySummary with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cfoaisId - The ID for the origin access identity. For example: E74FTE3AJFJ256A .
  • cfoaisS3CanonicalUserId - The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.
  • cfoaisComment - The comment for this origin access identity, as originally specified when created.

cfoaisId :: Lens' CloudFrontOriginAccessIdentitySummary Text #

The ID for the origin access identity. For example: E74FTE3AJFJ256A .

cfoaisS3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentitySummary Text #

The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

cfoaisComment :: Lens' CloudFrontOriginAccessIdentitySummary Text #

The comment for this origin access identity, as originally specified when created.

CookieNames

data CookieNames #

A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide .

See: cookieNames smart constructor.

Instances

Eq CookieNames # 
Data CookieNames # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CookieNames -> c CookieNames #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CookieNames #

toConstr :: CookieNames -> Constr #

dataTypeOf :: CookieNames -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CookieNames) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CookieNames) #

gmapT :: (forall b. Data b => b -> b) -> CookieNames -> CookieNames #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CookieNames -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CookieNames -> r #

gmapQ :: (forall d. Data d => d -> u) -> CookieNames -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CookieNames -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CookieNames -> m CookieNames #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CookieNames -> m CookieNames #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CookieNames -> m CookieNames #

Read CookieNames # 
Show CookieNames # 
Generic CookieNames # 

Associated Types

type Rep CookieNames :: * -> * #

Hashable CookieNames # 
NFData CookieNames # 

Methods

rnf :: CookieNames -> () #

FromXML CookieNames # 
ToXML CookieNames # 

Methods

toXML :: CookieNames -> XML #

type Rep CookieNames # 
type Rep CookieNames = D1 (MetaData "CookieNames" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "CookieNames'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cnItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_cnQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

cookieNames #

Arguments

:: Int

cnQuantity

-> CookieNames 

Creates a value of CookieNames with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cnItems - A complex type that contains one Name element for each cookie that you want CloudFront to forward to the origin for this cache behavior.
  • cnQuantity - The number of different cookies that you want CloudFront to forward to the origin for this cache behavior.

cnItems :: Lens' CookieNames [Text] #

A complex type that contains one Name element for each cookie that you want CloudFront to forward to the origin for this cache behavior.

cnQuantity :: Lens' CookieNames Int #

The number of different cookies that you want CloudFront to forward to the origin for this cache behavior.

CookiePreference

data CookiePreference #

A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide .

See: cookiePreference smart constructor.

Instances

Eq CookiePreference # 
Data CookiePreference # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CookiePreference -> c CookiePreference #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CookiePreference #

toConstr :: CookiePreference -> Constr #

dataTypeOf :: CookiePreference -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CookiePreference) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CookiePreference) #

gmapT :: (forall b. Data b => b -> b) -> CookiePreference -> CookiePreference #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CookiePreference -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CookiePreference -> r #

gmapQ :: (forall d. Data d => d -> u) -> CookiePreference -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CookiePreference -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CookiePreference -> m CookiePreference #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CookiePreference -> m CookiePreference #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CookiePreference -> m CookiePreference #

Read CookiePreference # 
Show CookiePreference # 
Generic CookiePreference # 
Hashable CookiePreference # 
NFData CookiePreference # 

Methods

rnf :: CookiePreference -> () #

FromXML CookiePreference # 
ToXML CookiePreference # 
type Rep CookiePreference # 
type Rep CookiePreference = D1 (MetaData "CookiePreference" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "CookiePreference'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cpWhitelistedNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CookieNames))) (S1 (MetaSel (Just Symbol "_cpForward") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ItemSelection))))

cookiePreference #

Creates a value of CookiePreference with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cpWhitelistedNames - Required if you specify whitelist for the value of Forward: . A complex type that specifies how many different cookies you want CloudFront to forward to the origin for this cache behavior and, if you want to forward selected cookies, the names of those cookies. If you specify all or none for the value of Forward , omit WhitelistedNames . If you change the value of Forward from whitelist to all or none and you don't delete the WhitelistedNames element and its child elements, CloudFront deletes them automatically. For the current limit on the number of cookie names that you can whitelist for each cache behavior, see Amazon CloudFront Limits in the AWS General Reference .
  • cpForward - Specifies which cookies to forward to the origin for this cache behavior: all, none, or the list of cookies specified in the WhitelistedNames complex type. Amazon S3 doesn't process cookies. When the cache behavior is forwarding requests to an Amazon S3 origin, specify none for the Forward element.

cpWhitelistedNames :: Lens' CookiePreference (Maybe CookieNames) #

Required if you specify whitelist for the value of Forward: . A complex type that specifies how many different cookies you want CloudFront to forward to the origin for this cache behavior and, if you want to forward selected cookies, the names of those cookies. If you specify all or none for the value of Forward , omit WhitelistedNames . If you change the value of Forward from whitelist to all or none and you don't delete the WhitelistedNames element and its child elements, CloudFront deletes them automatically. For the current limit on the number of cookie names that you can whitelist for each cache behavior, see Amazon CloudFront Limits in the AWS General Reference .

cpForward :: Lens' CookiePreference ItemSelection #

Specifies which cookies to forward to the origin for this cache behavior: all, none, or the list of cookies specified in the WhitelistedNames complex type. Amazon S3 doesn't process cookies. When the cache behavior is forwarding requests to an Amazon S3 origin, specify none for the Forward element.

CustomErrorResponse

data CustomErrorResponse #

A complex type that controls:

  • Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
  • How long CloudFront caches HTTP status codes in the 4xx and 5xx range.

For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide .

See: customErrorResponse smart constructor.

Instances

Eq CustomErrorResponse # 
Data CustomErrorResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CustomErrorResponse -> c CustomErrorResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CustomErrorResponse #

toConstr :: CustomErrorResponse -> Constr #

dataTypeOf :: CustomErrorResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CustomErrorResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CustomErrorResponse) #

gmapT :: (forall b. Data b => b -> b) -> CustomErrorResponse -> CustomErrorResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CustomErrorResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CustomErrorResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CustomErrorResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CustomErrorResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CustomErrorResponse -> m CustomErrorResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CustomErrorResponse -> m CustomErrorResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CustomErrorResponse -> m CustomErrorResponse #

Read CustomErrorResponse # 
Show CustomErrorResponse # 
Generic CustomErrorResponse # 
Hashable CustomErrorResponse # 
NFData CustomErrorResponse # 

Methods

rnf :: CustomErrorResponse -> () #

FromXML CustomErrorResponse # 
ToXML CustomErrorResponse # 
type Rep CustomErrorResponse # 
type Rep CustomErrorResponse = D1 (MetaData "CustomErrorResponse" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "CustomErrorResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ceResponsePagePath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ceResponseCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ceErrorCachingMinTTL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) (S1 (MetaSel (Just Symbol "_ceErrorCode") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

customErrorResponse #

Creates a value of CustomErrorResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ceResponsePagePath - The path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ErrorCode , for example, 4xx-errors403-forbidden.html . If you want to store your objects and your custom error pages in different locations, your distribution must include a cache behavior for which the following is true: * The value of PathPattern matches the path to your custom error messages. For example, suppose you saved custom error pages for 4xx errors in an Amazon S3 bucket in a directory named /4xx-errors . Your distribution must include a cache behavior for which the path pattern routes requests for your custom error pages to that location, for example, 4xx-errors* . * The value of TargetOriginId specifies the value of the ID element for the origin that contains your custom error pages. If you specify a value for ResponsePagePath , you must also specify a value for ResponseCode . If you don't want to specify a value, include an empty element, ResponsePagePath , in the XML document. We recommend that you store custom error pages in an Amazon S3 bucket. If you store custom error pages on an HTTP server and the server starts to return 5xx errors, CloudFront can't get the files that you want to return to viewers because the origin server is unavailable.
  • ceResponseCode - The HTTP status code that you want CloudFront to return to the viewer along with the custom error page. There are a variety of reasons that you might want CloudFront to return a status code different from the status code that your origin returned to CloudFront, for example: * Some Internet devices (some firewalls and corporate proxies, for example) intercept HTTP 4xx and 5xx and prevent the response from being returned to the viewer. If you substitute 200 , the response typically won't be intercepted. * If you don't care about distinguishing among different client errors or server errors, you can specify 400 or 500 as the ResponseCode for all 4xx or 5xx errors. * You might want to return a 200 status code (OK) and static website so your customers don't know that your website is down. If you specify a value for ResponseCode , you must also specify a value for ResponsePagePath . If you don't want to specify a value, include an empty element, ResponseCode , in the XML document.
  • ceErrorCachingMinTTL - The minimum amount of time, in seconds, that you want CloudFront to cache the HTTP status code specified in ErrorCode . When this time period has elapsed, CloudFront queries your origin to see whether the problem that caused the error has been resolved and the requested object is now available. If you don't want to specify a value, include an empty element, ErrorCachingMinTTL , in the XML document. For more information, see Customizing Error Responses in the Amazon CloudFront Developer Guide .
  • ceErrorCode - The HTTP status code for which you want to specify a custom error page and/or a caching duration.

ceResponsePagePath :: Lens' CustomErrorResponse (Maybe Text) #

The path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ErrorCode , for example, 4xx-errors403-forbidden.html . If you want to store your objects and your custom error pages in different locations, your distribution must include a cache behavior for which the following is true: * The value of PathPattern matches the path to your custom error messages. For example, suppose you saved custom error pages for 4xx errors in an Amazon S3 bucket in a directory named /4xx-errors . Your distribution must include a cache behavior for which the path pattern routes requests for your custom error pages to that location, for example, 4xx-errors* . * The value of TargetOriginId specifies the value of the ID element for the origin that contains your custom error pages. If you specify a value for ResponsePagePath , you must also specify a value for ResponseCode . If you don't want to specify a value, include an empty element, ResponsePagePath , in the XML document. We recommend that you store custom error pages in an Amazon S3 bucket. If you store custom error pages on an HTTP server and the server starts to return 5xx errors, CloudFront can't get the files that you want to return to viewers because the origin server is unavailable.

ceResponseCode :: Lens' CustomErrorResponse (Maybe Text) #

The HTTP status code that you want CloudFront to return to the viewer along with the custom error page. There are a variety of reasons that you might want CloudFront to return a status code different from the status code that your origin returned to CloudFront, for example: * Some Internet devices (some firewalls and corporate proxies, for example) intercept HTTP 4xx and 5xx and prevent the response from being returned to the viewer. If you substitute 200 , the response typically won't be intercepted. * If you don't care about distinguishing among different client errors or server errors, you can specify 400 or 500 as the ResponseCode for all 4xx or 5xx errors. * You might want to return a 200 status code (OK) and static website so your customers don't know that your website is down. If you specify a value for ResponseCode , you must also specify a value for ResponsePagePath . If you don't want to specify a value, include an empty element, ResponseCode , in the XML document.

ceErrorCachingMinTTL :: Lens' CustomErrorResponse (Maybe Integer) #

The minimum amount of time, in seconds, that you want CloudFront to cache the HTTP status code specified in ErrorCode . When this time period has elapsed, CloudFront queries your origin to see whether the problem that caused the error has been resolved and the requested object is now available. If you don't want to specify a value, include an empty element, ErrorCachingMinTTL , in the XML document. For more information, see Customizing Error Responses in the Amazon CloudFront Developer Guide .

ceErrorCode :: Lens' CustomErrorResponse Int #

The HTTP status code for which you want to specify a custom error page and/or a caching duration.

CustomErrorResponses

data CustomErrorResponses #

A complex type that controls:

  • Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
  • How long CloudFront caches HTTP status codes in the 4xx and 5xx range.

For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide .

See: customErrorResponses smart constructor.

Instances

Eq CustomErrorResponses # 
Data CustomErrorResponses # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CustomErrorResponses -> c CustomErrorResponses #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CustomErrorResponses #

toConstr :: CustomErrorResponses -> Constr #

dataTypeOf :: CustomErrorResponses -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CustomErrorResponses) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CustomErrorResponses) #

gmapT :: (forall b. Data b => b -> b) -> CustomErrorResponses -> CustomErrorResponses #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CustomErrorResponses -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CustomErrorResponses -> r #

gmapQ :: (forall d. Data d => d -> u) -> CustomErrorResponses -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CustomErrorResponses -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CustomErrorResponses -> m CustomErrorResponses #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CustomErrorResponses -> m CustomErrorResponses #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CustomErrorResponses -> m CustomErrorResponses #

Read CustomErrorResponses # 
Show CustomErrorResponses # 
Generic CustomErrorResponses # 
Hashable CustomErrorResponses # 
NFData CustomErrorResponses # 

Methods

rnf :: CustomErrorResponses -> () #

FromXML CustomErrorResponses # 
ToXML CustomErrorResponses # 
type Rep CustomErrorResponses # 
type Rep CustomErrorResponses = D1 (MetaData "CustomErrorResponses" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "CustomErrorResponses'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cerItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CustomErrorResponse]))) (S1 (MetaSel (Just Symbol "_cerQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

customErrorResponses #

Creates a value of CustomErrorResponses with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cerItems - A complex type that contains a CustomErrorResponse element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.
  • cerQuantity - The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. If Quantity is 0 , you can omit Items .

cerItems :: Lens' CustomErrorResponses [CustomErrorResponse] #

A complex type that contains a CustomErrorResponse element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.

cerQuantity :: Lens' CustomErrorResponses Int #

The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. If Quantity is 0 , you can omit Items .

CustomHeaders

data CustomHeaders #

A complex type that contains the list of Custom Headers for each origin.

See: customHeaders smart constructor.

Instances

Eq CustomHeaders # 
Data CustomHeaders # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CustomHeaders -> c CustomHeaders #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CustomHeaders #

toConstr :: CustomHeaders -> Constr #

dataTypeOf :: CustomHeaders -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CustomHeaders) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CustomHeaders) #

gmapT :: (forall b. Data b => b -> b) -> CustomHeaders -> CustomHeaders #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CustomHeaders -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CustomHeaders -> r #

gmapQ :: (forall d. Data d => d -> u) -> CustomHeaders -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CustomHeaders -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CustomHeaders -> m CustomHeaders #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CustomHeaders -> m CustomHeaders #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CustomHeaders -> m CustomHeaders #

Read CustomHeaders # 
Show CustomHeaders # 
Generic CustomHeaders # 

Associated Types

type Rep CustomHeaders :: * -> * #

Hashable CustomHeaders # 
NFData CustomHeaders # 

Methods

rnf :: CustomHeaders -> () #

FromXML CustomHeaders # 
ToXML CustomHeaders # 

Methods

toXML :: CustomHeaders -> XML #

type Rep CustomHeaders # 
type Rep CustomHeaders = D1 (MetaData "CustomHeaders" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "CustomHeaders'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_chItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [OriginCustomHeader]))) (S1 (MetaSel (Just Symbol "_chQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

customHeaders #

Creates a value of CustomHeaders with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • chItems - Optional : A list that contains one OriginCustomHeader element for each custom header that you want CloudFront to forward to the origin. If Quantity is 0 , omit Items .
  • chQuantity - The number of custom headers, if any, for this distribution.

chItems :: Lens' CustomHeaders [OriginCustomHeader] #

Optional : A list that contains one OriginCustomHeader element for each custom header that you want CloudFront to forward to the origin. If Quantity is 0 , omit Items .

chQuantity :: Lens' CustomHeaders Int #

The number of custom headers, if any, for this distribution.

CustomOriginConfig

data CustomOriginConfig #

A customer origin.

See: customOriginConfig smart constructor.

Instances

Eq CustomOriginConfig # 
Data CustomOriginConfig # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CustomOriginConfig -> c CustomOriginConfig #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CustomOriginConfig #

toConstr :: CustomOriginConfig -> Constr #

dataTypeOf :: CustomOriginConfig -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CustomOriginConfig) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CustomOriginConfig) #

gmapT :: (forall b. Data b => b -> b) -> CustomOriginConfig -> CustomOriginConfig #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CustomOriginConfig -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CustomOriginConfig -> r #

gmapQ :: (forall d. Data d => d -> u) -> CustomOriginConfig -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CustomOriginConfig -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CustomOriginConfig -> m CustomOriginConfig #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CustomOriginConfig -> m CustomOriginConfig #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CustomOriginConfig -> m CustomOriginConfig #

Read CustomOriginConfig # 
Show CustomOriginConfig # 
Generic CustomOriginConfig # 
Hashable CustomOriginConfig # 
NFData CustomOriginConfig # 

Methods

rnf :: CustomOriginConfig -> () #

FromXML CustomOriginConfig # 
ToXML CustomOriginConfig # 
type Rep CustomOriginConfig # 
type Rep CustomOriginConfig = D1 (MetaData "CustomOriginConfig" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "CustomOriginConfig'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cocOriginSSLProtocols") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OriginSSLProtocols))) (S1 (MetaSel (Just Symbol "_cocHTTPPort") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))) ((:*:) (S1 (MetaSel (Just Symbol "_cocHTTPSPort") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_cocOriginProtocolPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OriginProtocolPolicy)))))

customOriginConfig #

Creates a value of CustomOriginConfig with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cocOriginSSLProtocols :: Lens' CustomOriginConfig (Maybe OriginSSLProtocols) #

The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.

cocHTTPPort :: Lens' CustomOriginConfig Int #

The HTTP port the custom origin listens on.

cocHTTPSPort :: Lens' CustomOriginConfig Int #

The HTTPS port the custom origin listens on.

cocOriginProtocolPolicy :: Lens' CustomOriginConfig OriginProtocolPolicy #

The origin protocol policy to apply to your origin.

DefaultCacheBehavior

data DefaultCacheBehavior #

A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

See: defaultCacheBehavior smart constructor.

Instances

Eq DefaultCacheBehavior # 
Data DefaultCacheBehavior # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DefaultCacheBehavior -> c DefaultCacheBehavior #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DefaultCacheBehavior #

toConstr :: DefaultCacheBehavior -> Constr #

dataTypeOf :: DefaultCacheBehavior -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DefaultCacheBehavior) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DefaultCacheBehavior) #

gmapT :: (forall b. Data b => b -> b) -> DefaultCacheBehavior -> DefaultCacheBehavior #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DefaultCacheBehavior -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DefaultCacheBehavior -> r #

gmapQ :: (forall d. Data d => d -> u) -> DefaultCacheBehavior -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DefaultCacheBehavior -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DefaultCacheBehavior -> m DefaultCacheBehavior #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DefaultCacheBehavior -> m DefaultCacheBehavior #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DefaultCacheBehavior -> m DefaultCacheBehavior #

Read DefaultCacheBehavior # 
Show DefaultCacheBehavior # 
Generic DefaultCacheBehavior # 
Hashable DefaultCacheBehavior # 
NFData DefaultCacheBehavior # 

Methods

rnf :: DefaultCacheBehavior -> () #

FromXML DefaultCacheBehavior # 
ToXML DefaultCacheBehavior # 
type Rep DefaultCacheBehavior # 

defaultCacheBehavior #

Creates a value of DefaultCacheBehavior with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dcbAllowedMethods - Undocumented member.
  • dcbMaxTTL - Undocumented member.
  • dcbCompress - Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true ; if not, specify false . For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide .
  • dcbSmoothStreaming - Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true ; if not, specify false . If you specify true for SmoothStreaming , you can still distribute other content using this cache behavior if the content matches the value of PathPattern .
  • dcbDefaultTTL - The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as Cache-Control max-age , Cache-Control s-maxage , and Expires to objects. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide .
  • dcbTargetOriginId - The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.
  • dcbForwardedValues - A complex type that specifies how CloudFront handles query strings and cookies.
  • dcbTrustedSigners - A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled , and specify the applicable values for Quantity and Items . For more information, see Serving Private Content through CloudFront in the Amazon Amazon CloudFront Developer Guide . If you don't want to require signed URLs in requests for objects that match PathPattern , specify false for Enabled and 0 for Quantity . Omit Items . To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false ), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.
  • dcbViewerProtocolPolicy - The protocol that viewers can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern . You can specify the following options: * allow-all : Viewers can use HTTP or HTTPS. * redirect-to-https : If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL. * https-only : If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden). For more information about requiring the HTTPS protocol, see Using an HTTPS Connection to Access Your Objects in the Amazon CloudFront Developer Guide .
  • dcbMinTTL - The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon Amazon CloudFront Developer Guide . You must specify 0 for MinTTL if you configure CloudFront to forward all headers to your origin (under Headers , if you specify 1 for Quantity and * for Name ).

dcbCompress :: Lens' DefaultCacheBehavior (Maybe Bool) #

Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true ; if not, specify false . For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide .

dcbSmoothStreaming :: Lens' DefaultCacheBehavior (Maybe Bool) #

Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true ; if not, specify false . If you specify true for SmoothStreaming , you can still distribute other content using this cache behavior if the content matches the value of PathPattern .

dcbDefaultTTL :: Lens' DefaultCacheBehavior (Maybe Integer) #

The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as Cache-Control max-age , Cache-Control s-maxage , and Expires to objects. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide .

dcbTargetOriginId :: Lens' DefaultCacheBehavior Text #

The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.

dcbForwardedValues :: Lens' DefaultCacheBehavior ForwardedValues #

A complex type that specifies how CloudFront handles query strings and cookies.

dcbTrustedSigners :: Lens' DefaultCacheBehavior TrustedSigners #

A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled , and specify the applicable values for Quantity and Items . For more information, see Serving Private Content through CloudFront in the Amazon Amazon CloudFront Developer Guide . If you don't want to require signed URLs in requests for objects that match PathPattern , specify false for Enabled and 0 for Quantity . Omit Items . To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false ), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.

dcbViewerProtocolPolicy :: Lens' DefaultCacheBehavior ViewerProtocolPolicy #

The protocol that viewers can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern . You can specify the following options: * allow-all : Viewers can use HTTP or HTTPS. * redirect-to-https : If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL. * https-only : If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden). For more information about requiring the HTTPS protocol, see Using an HTTPS Connection to Access Your Objects in the Amazon CloudFront Developer Guide .

dcbMinTTL :: Lens' DefaultCacheBehavior Integer #

The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon Amazon CloudFront Developer Guide . You must specify 0 for MinTTL if you configure CloudFront to forward all headers to your origin (under Headers , if you specify 1 for Quantity and * for Name ).

Distribution

data Distribution #

The distribution's information.

See: distribution smart constructor.

Instances

Eq Distribution # 
Data Distribution # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Distribution -> c Distribution #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Distribution #

toConstr :: Distribution -> Constr #

dataTypeOf :: Distribution -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Distribution) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Distribution) #

gmapT :: (forall b. Data b => b -> b) -> Distribution -> Distribution #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Distribution -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Distribution -> r #

gmapQ :: (forall d. Data d => d -> u) -> Distribution -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Distribution -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Distribution -> m Distribution #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Distribution -> m Distribution #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Distribution -> m Distribution #

Read Distribution # 
Show Distribution # 
Generic Distribution # 

Associated Types

type Rep Distribution :: * -> * #

Hashable Distribution # 
NFData Distribution # 

Methods

rnf :: Distribution -> () #

FromXML Distribution # 
type Rep Distribution # 

distribution #

Creates a value of Distribution with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dId - The identifier for the distribution. For example: EDFDVBD632BHDS5 .
  • dARN - The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5 , where 123456789012 is your AWS account ID.
  • dStatus - This response element indicates the current status of the distribution. When the status is Deployed , the distribution's information is fully propagated to all CloudFront edge locations.
  • dLastModifiedTime - The date and time the distribution was last modified.
  • dInProgressInvalidationBatches - The number of invalidation batches currently in progress.
  • dDomainName - The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net .
  • dActiveTrustedSigners - CloudFront automatically adds this element to the response only if you've set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer's AWS account. If no KeyPairId element appears for a Signer , that signer can't create working signed URLs.
  • dDistributionConfig - The current configuration information for the distribution. Send a GET request to the /CloudFront API version distribution IDconfig resource.

dId :: Lens' Distribution Text #

The identifier for the distribution. For example: EDFDVBD632BHDS5 .

dARN :: Lens' Distribution Text #

The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5 , where 123456789012 is your AWS account ID.

dStatus :: Lens' Distribution Text #

This response element indicates the current status of the distribution. When the status is Deployed , the distribution's information is fully propagated to all CloudFront edge locations.

dLastModifiedTime :: Lens' Distribution UTCTime #

The date and time the distribution was last modified.

dInProgressInvalidationBatches :: Lens' Distribution Int #

The number of invalidation batches currently in progress.

dDomainName :: Lens' Distribution Text #

The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net .

dActiveTrustedSigners :: Lens' Distribution ActiveTrustedSigners #

CloudFront automatically adds this element to the response only if you've set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer's AWS account. If no KeyPairId element appears for a Signer , that signer can't create working signed URLs.

dDistributionConfig :: Lens' Distribution DistributionConfig #

The current configuration information for the distribution. Send a GET request to the /CloudFront API version distribution IDconfig resource.

DistributionConfig

data DistributionConfig #

A distribution configuration.

See: distributionConfig smart constructor.

Instances

Eq DistributionConfig # 
Data DistributionConfig # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DistributionConfig -> c DistributionConfig #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DistributionConfig #

toConstr :: DistributionConfig -> Constr #

dataTypeOf :: DistributionConfig -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DistributionConfig) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DistributionConfig) #

gmapT :: (forall b. Data b => b -> b) -> DistributionConfig -> DistributionConfig #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DistributionConfig -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DistributionConfig -> r #

gmapQ :: (forall d. Data d => d -> u) -> DistributionConfig -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DistributionConfig -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DistributionConfig -> m DistributionConfig #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DistributionConfig -> m DistributionConfig #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DistributionConfig -> m DistributionConfig #

Read DistributionConfig # 
Show DistributionConfig # 
Generic DistributionConfig # 
Hashable DistributionConfig # 
NFData DistributionConfig # 

Methods

rnf :: DistributionConfig -> () #

FromXML DistributionConfig # 
ToXML DistributionConfig # 
type Rep DistributionConfig # 
type Rep DistributionConfig = D1 (MetaData "DistributionConfig" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "DistributionConfig'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dcHTTPVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HTTPVersion))) (S1 (MetaSel (Just Symbol "_dcAliases") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Aliases)))) ((:*:) (S1 (MetaSel (Just Symbol "_dcDefaultRootObject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dcPriceClass") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PriceClass))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dcCustomErrorResponses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CustomErrorResponses))) (S1 (MetaSel (Just Symbol "_dcWebACLId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dcViewerCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ViewerCertificate))) (S1 (MetaSel (Just Symbol "_dcRestrictions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Restrictions)))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dcLogging") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LoggingConfig))) (S1 (MetaSel (Just Symbol "_dcCacheBehaviors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CacheBehaviors)))) ((:*:) (S1 (MetaSel (Just Symbol "_dcIsIPV6Enabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_dcCallerReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dcOrigins") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Origins)) (S1 (MetaSel (Just Symbol "_dcDefaultCacheBehavior") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DefaultCacheBehavior))) ((:*:) (S1 (MetaSel (Just Symbol "_dcComment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dcEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)))))))

distributionConfig #

Creates a value of DistributionConfig with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dcHTTPVersion - (Optional) Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP2 automatically use an earlier HTTP version. For viewers and CloudFront to use HTTP2, viewers must support TLS 1.2 or later, and must support Server Name Identification (SNI). In general, configuring CloudFront to communicate with viewers using HTTP2 reduces latency. You can improve performance by optimizing for HTTP2. For more information, do an Internet search for "http/2 optimization."
  • dcAliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
  • dcDefaultRootObject - The object that you want CloudFront to request from your origin (for example, index.html ) when a viewer requests the root URL for your distribution (http://www.example.com ) instead of an object in your distribution (http://www.example.com/product-description.html ). Specifying a default root object avoids exposing the contents of your distribution. Specify only the object name, for example, index.html . Do not add a / before the object name. If you don't want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object. For more information about the default root object, see Creating a Default Root Object in the Amazon CloudFront Developer Guide .
  • dcPriceClass - The price class that corresponds with the maximum price that you want to pay for CloudFront service. If you specify PriceClass_All , CloudFront responds to requests for your objects from all CloudFront edge locations. If you specify a price class other than PriceClass_All , CloudFront serves your objects from the CloudFront edge location that has the lowest latency among the edge locations in your price class. Viewers who are in or near regions that are excluded from your specified price class may encounter slower performance. For more information about price classes, see Choosing the Price Class for a CloudFront Distribution in the Amazon CloudFront Developer Guide . For information about CloudFront pricing, including how price classes map to CloudFront regions, see Amazon CloudFront Pricing .
  • dcCustomErrorResponses - A complex type that controls the following: * Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer. * How long CloudFront caches HTTP status codes in the 4xx and 5xx range. For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide .
  • dcWebACLId - A unique identifier that specifies the AWS WAF web ACL, if any, to associate with this distribution. AWS WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about AWS WAF, see the AWS WAF Developer Guide .
  • dcViewerCertificate - Undocumented member.
  • dcRestrictions - Undocumented member.
  • dcLogging - A complex type that controls whether access logs are written for the distribution. For more information about logging, see Access Logs in the Amazon CloudFront Developer Guide .
  • dcCacheBehaviors - A complex type that contains zero or more CacheBehavior elements.
  • dcIsIPV6Enabled - If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your distribution, specify true . If you specify false , CloudFront responds to IPv6 DNS requests with the DNS response code NOERROR and with no IP addresses. This allows viewers to submit a second request, for an IPv4 address for your distribution. In general, you should enable IPv6 if you have users on IPv6 networks who want to access your content. However, if you're using signed URLs or signed cookies to restrict access to your content, and if you're using a custom policy that includes the IpAddress parameter to restrict the IP addresses that can access your content, do not enable IPv6. If you want to restrict access to some content by IP address and not restrict access to other content (or restrict access but not by IP address), you can create two distributions. For more information, see Creating a Signed URL Using a Custom Policy in the Amazon CloudFront Developer Guide . If you're using an Amazon Route 53 alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true: * You enable IPv6 for the distribution * You're using alternate domain names in the URLs for your objects For more information, see Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name in the Amazon Route 53 Developer Guide . If you created a CNAME resource record set, either with Amazon Route 53 or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request.
  • dcCallerReference - A unique value (for example, a date-time stamp) that ensures that the request can't be replayed. If the value of CallerReference is new (regardless of the content of the DistributionConfig object), CloudFront creates a new distribution. If CallerReference is a value you already sent in a previous request to create a distribution, and if the content of the DistributionConfig is identical to the original request (ignoring white space), CloudFront returns the same the response that it returned to the original request. If CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.
  • dcOrigins - A complex type that contains information about origins for this distribution.
  • dcDefaultCacheBehavior - A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.
  • dcComment - Any comments you want to include about the distribution. If you don't want to specify a comment, include an empty Comment element. To delete an existing comment, update the distribution configuration and include an empty Comment element. To add or change a comment, update the distribution configuration and specify the new comment.
  • dcEnabled - Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution, or if you want to disable logging for an existing distribution, specify false for Enabled , and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix , the values are automatically deleted.

dcHTTPVersion :: Lens' DistributionConfig (Maybe HTTPVersion) #

(Optional) Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP2 automatically use an earlier HTTP version. For viewers and CloudFront to use HTTP2, viewers must support TLS 1.2 or later, and must support Server Name Identification (SNI). In general, configuring CloudFront to communicate with viewers using HTTP2 reduces latency. You can improve performance by optimizing for HTTP2. For more information, do an Internet search for "http/2 optimization."

dcAliases :: Lens' DistributionConfig (Maybe Aliases) #

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

dcDefaultRootObject :: Lens' DistributionConfig (Maybe Text) #

The object that you want CloudFront to request from your origin (for example, index.html ) when a viewer requests the root URL for your distribution (http://www.example.com ) instead of an object in your distribution (http://www.example.com/product-description.html ). Specifying a default root object avoids exposing the contents of your distribution. Specify only the object name, for example, index.html . Do not add a / before the object name. If you don't want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object. For more information about the default root object, see Creating a Default Root Object in the Amazon CloudFront Developer Guide .

dcPriceClass :: Lens' DistributionConfig (Maybe PriceClass) #

The price class that corresponds with the maximum price that you want to pay for CloudFront service. If you specify PriceClass_All , CloudFront responds to requests for your objects from all CloudFront edge locations. If you specify a price class other than PriceClass_All , CloudFront serves your objects from the CloudFront edge location that has the lowest latency among the edge locations in your price class. Viewers who are in or near regions that are excluded from your specified price class may encounter slower performance. For more information about price classes, see Choosing the Price Class for a CloudFront Distribution in the Amazon CloudFront Developer Guide . For information about CloudFront pricing, including how price classes map to CloudFront regions, see Amazon CloudFront Pricing .

dcCustomErrorResponses :: Lens' DistributionConfig (Maybe CustomErrorResponses) #

A complex type that controls the following: * Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer. * How long CloudFront caches HTTP status codes in the 4xx and 5xx range. For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide .

dcWebACLId :: Lens' DistributionConfig (Maybe Text) #

A unique identifier that specifies the AWS WAF web ACL, if any, to associate with this distribution. AWS WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about AWS WAF, see the AWS WAF Developer Guide .

dcLogging :: Lens' DistributionConfig (Maybe LoggingConfig) #

A complex type that controls whether access logs are written for the distribution. For more information about logging, see Access Logs in the Amazon CloudFront Developer Guide .

dcCacheBehaviors :: Lens' DistributionConfig (Maybe CacheBehaviors) #

A complex type that contains zero or more CacheBehavior elements.

dcIsIPV6Enabled :: Lens' DistributionConfig (Maybe Bool) #

If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your distribution, specify true . If you specify false , CloudFront responds to IPv6 DNS requests with the DNS response code NOERROR and with no IP addresses. This allows viewers to submit a second request, for an IPv4 address for your distribution. In general, you should enable IPv6 if you have users on IPv6 networks who want to access your content. However, if you're using signed URLs or signed cookies to restrict access to your content, and if you're using a custom policy that includes the IpAddress parameter to restrict the IP addresses that can access your content, do not enable IPv6. If you want to restrict access to some content by IP address and not restrict access to other content (or restrict access but not by IP address), you can create two distributions. For more information, see Creating a Signed URL Using a Custom Policy in the Amazon CloudFront Developer Guide . If you're using an Amazon Route 53 alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true: * You enable IPv6 for the distribution * You're using alternate domain names in the URLs for your objects For more information, see Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name in the Amazon Route 53 Developer Guide . If you created a CNAME resource record set, either with Amazon Route 53 or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request.

dcCallerReference :: Lens' DistributionConfig Text #

A unique value (for example, a date-time stamp) that ensures that the request can't be replayed. If the value of CallerReference is new (regardless of the content of the DistributionConfig object), CloudFront creates a new distribution. If CallerReference is a value you already sent in a previous request to create a distribution, and if the content of the DistributionConfig is identical to the original request (ignoring white space), CloudFront returns the same the response that it returned to the original request. If CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.

dcOrigins :: Lens' DistributionConfig Origins #

A complex type that contains information about origins for this distribution.

dcDefaultCacheBehavior :: Lens' DistributionConfig DefaultCacheBehavior #

A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

dcComment :: Lens' DistributionConfig Text #

Any comments you want to include about the distribution. If you don't want to specify a comment, include an empty Comment element. To delete an existing comment, update the distribution configuration and include an empty Comment element. To add or change a comment, update the distribution configuration and specify the new comment.

dcEnabled :: Lens' DistributionConfig Bool #

Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution, or if you want to disable logging for an existing distribution, specify false for Enabled , and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix , the values are automatically deleted.

DistributionConfigWithTags

data DistributionConfigWithTags #

A distribution Configuration and a list of tags to be associated with the distribution.

See: distributionConfigWithTags smart constructor.

Instances

Eq DistributionConfigWithTags # 
Data DistributionConfigWithTags # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DistributionConfigWithTags -> c DistributionConfigWithTags #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DistributionConfigWithTags #

toConstr :: DistributionConfigWithTags -> Constr #

dataTypeOf :: DistributionConfigWithTags -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DistributionConfigWithTags) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DistributionConfigWithTags) #

gmapT :: (forall b. Data b => b -> b) -> DistributionConfigWithTags -> DistributionConfigWithTags #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DistributionConfigWithTags -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DistributionConfigWithTags -> r #

gmapQ :: (forall d. Data d => d -> u) -> DistributionConfigWithTags -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DistributionConfigWithTags -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DistributionConfigWithTags -> m DistributionConfigWithTags #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DistributionConfigWithTags -> m DistributionConfigWithTags #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DistributionConfigWithTags -> m DistributionConfigWithTags #

Read DistributionConfigWithTags # 
Show DistributionConfigWithTags # 
Generic DistributionConfigWithTags # 
Hashable DistributionConfigWithTags # 
NFData DistributionConfigWithTags # 
ToXML DistributionConfigWithTags # 
type Rep DistributionConfigWithTags # 
type Rep DistributionConfigWithTags = D1 (MetaData "DistributionConfigWithTags" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "DistributionConfigWithTags'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dcwtDistributionConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DistributionConfig)) (S1 (MetaSel (Just Symbol "_dcwtTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Tags))))

distributionConfigWithTags #

Creates a value of DistributionConfigWithTags with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dcwtTags :: Lens' DistributionConfigWithTags Tags #

A complex type that contains zero or more Tag elements.

DistributionList

data DistributionList #

A distribution list.

See: distributionList smart constructor.

Instances

Eq DistributionList # 
Data DistributionList # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DistributionList -> c DistributionList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DistributionList #

toConstr :: DistributionList -> Constr #

dataTypeOf :: DistributionList -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DistributionList) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DistributionList) #

gmapT :: (forall b. Data b => b -> b) -> DistributionList -> DistributionList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DistributionList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DistributionList -> r #

gmapQ :: (forall d. Data d => d -> u) -> DistributionList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DistributionList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DistributionList -> m DistributionList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DistributionList -> m DistributionList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DistributionList -> m DistributionList #

Read DistributionList # 
Show DistributionList # 
Generic DistributionList # 
Hashable DistributionList # 
NFData DistributionList # 

Methods

rnf :: DistributionList -> () #

FromXML DistributionList # 
type Rep DistributionList # 
type Rep DistributionList = D1 (MetaData "DistributionList" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "DistributionList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dlItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DistributionSummary]))) ((:*:) (S1 (MetaSel (Just Symbol "_dlNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dlMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dlMaxItems") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) ((:*:) (S1 (MetaSel (Just Symbol "_dlIsTruncated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_dlQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))))

distributionList #

Creates a value of DistributionList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dlItems - A complex type that contains one DistributionSummary element for each distribution that was created by the current AWS account.
  • dlNextMarker - If IsTruncated is true , this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.
  • dlMarker - The value you provided for the Marker request parameter.
  • dlMaxItems - The value you provided for the MaxItems request parameter.
  • dlIsTruncated - A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.
  • dlQuantity - The number of distributions that were created by the current AWS account.

dlItems :: Lens' DistributionList [DistributionSummary] #

A complex type that contains one DistributionSummary element for each distribution that was created by the current AWS account.

dlNextMarker :: Lens' DistributionList (Maybe Text) #

If IsTruncated is true , this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.

dlMarker :: Lens' DistributionList Text #

The value you provided for the Marker request parameter.

dlMaxItems :: Lens' DistributionList Int #

The value you provided for the MaxItems request parameter.

dlIsTruncated :: Lens' DistributionList Bool #

A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

dlQuantity :: Lens' DistributionList Int #

The number of distributions that were created by the current AWS account.

DistributionSummary

data DistributionSummary #

A summary of the information about a CloudFront distribution.

See: distributionSummary smart constructor.

Instances

Eq DistributionSummary # 
Data DistributionSummary # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DistributionSummary -> c DistributionSummary #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DistributionSummary #

toConstr :: DistributionSummary -> Constr #

dataTypeOf :: DistributionSummary -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DistributionSummary) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DistributionSummary) #

gmapT :: (forall b. Data b => b -> b) -> DistributionSummary -> DistributionSummary #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DistributionSummary -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DistributionSummary -> r #

gmapQ :: (forall d. Data d => d -> u) -> DistributionSummary -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DistributionSummary -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DistributionSummary -> m DistributionSummary #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DistributionSummary -> m DistributionSummary #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DistributionSummary -> m DistributionSummary #

Read DistributionSummary # 
Show DistributionSummary # 
Generic DistributionSummary # 
Hashable DistributionSummary # 
NFData DistributionSummary # 

Methods

rnf :: DistributionSummary -> () #

FromXML DistributionSummary # 
type Rep DistributionSummary # 
type Rep DistributionSummary = D1 (MetaData "DistributionSummary" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "DistributionSummary'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dsLastModifiedTime") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 ISO8601)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dsDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dsAliases") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Aliases))) ((:*:) (S1 (MetaSel (Just Symbol "_dsOrigins") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Origins)) ((:*:) (S1 (MetaSel (Just Symbol "_dsDefaultCacheBehavior") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DefaultCacheBehavior)) (S1 (MetaSel (Just Symbol "_dsCacheBehaviors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CacheBehaviors)))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dsCustomErrorResponses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CustomErrorResponses)) (S1 (MetaSel (Just Symbol "_dsComment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dsPriceClass") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PriceClass)) (S1 (MetaSel (Just Symbol "_dsEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dsViewerCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ViewerCertificate)) (S1 (MetaSel (Just Symbol "_dsRestrictions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Restrictions))) ((:*:) (S1 (MetaSel (Just Symbol "_dsWebACLId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_dsHTTPVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 HTTPVersion)) (S1 (MetaSel (Just Symbol "_dsIsIPV6Enabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))))))))

distributionSummary #

Creates a value of DistributionSummary with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dsId - The identifier for the distribution. For example: EDFDVBD632BHDS5 .
  • dsARN - The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5 , where 123456789012 is your AWS account ID.
  • dsStatus - The current status of the distribution. When the status is Deployed , the distribution's information is propagated to all CloudFront edge locations.
  • dsLastModifiedTime - The date and time the distribution was last modified.
  • dsDomainName - The domain name that corresponds to the distribution. For example: d604721fxaaqy9.cloudfront.net .
  • dsAliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
  • dsOrigins - A complex type that contains information about origins for this distribution.
  • dsDefaultCacheBehavior - A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.
  • dsCacheBehaviors - A complex type that contains zero or more CacheBehavior elements.
  • dsCustomErrorResponses - A complex type that contains zero or more CustomErrorResponses elements.
  • dsComment - The comment originally specified when this distribution was created.
  • dsPriceClass - Undocumented member.
  • dsEnabled - Whether the distribution is enabled to accept user requests for content.
  • dsViewerCertificate - Undocumented member.
  • dsRestrictions - Undocumented member.
  • dsWebACLId - The Web ACL Id (if any) associated with the distribution.
  • dsHTTPVersion - Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2 . Viewers that don't support HTTP/2 will automatically use an earlier version.
  • dsIsIPV6Enabled - Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.

dsId :: Lens' DistributionSummary Text #

The identifier for the distribution. For example: EDFDVBD632BHDS5 .

dsARN :: Lens' DistributionSummary Text #

The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5 , where 123456789012 is your AWS account ID.

dsStatus :: Lens' DistributionSummary Text #

The current status of the distribution. When the status is Deployed , the distribution's information is propagated to all CloudFront edge locations.

dsLastModifiedTime :: Lens' DistributionSummary UTCTime #

The date and time the distribution was last modified.

dsDomainName :: Lens' DistributionSummary Text #

The domain name that corresponds to the distribution. For example: d604721fxaaqy9.cloudfront.net .

dsAliases :: Lens' DistributionSummary Aliases #

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

dsOrigins :: Lens' DistributionSummary Origins #

A complex type that contains information about origins for this distribution.

dsDefaultCacheBehavior :: Lens' DistributionSummary DefaultCacheBehavior #

A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

dsCacheBehaviors :: Lens' DistributionSummary CacheBehaviors #

A complex type that contains zero or more CacheBehavior elements.

dsCustomErrorResponses :: Lens' DistributionSummary CustomErrorResponses #

A complex type that contains zero or more CustomErrorResponses elements.

dsComment :: Lens' DistributionSummary Text #

The comment originally specified when this distribution was created.

dsEnabled :: Lens' DistributionSummary Bool #

Whether the distribution is enabled to accept user requests for content.

dsWebACLId :: Lens' DistributionSummary Text #

The Web ACL Id (if any) associated with the distribution.

dsHTTPVersion :: Lens' DistributionSummary HTTPVersion #

Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2 . Viewers that don't support HTTP/2 will automatically use an earlier version.

dsIsIPV6Enabled :: Lens' DistributionSummary Bool #

Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.

ForwardedValues

data ForwardedValues #

A complex type that specifies how CloudFront handles query strings and cookies.

See: forwardedValues smart constructor.

Instances

Eq ForwardedValues # 
Data ForwardedValues # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ForwardedValues -> c ForwardedValues #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ForwardedValues #

toConstr :: ForwardedValues -> Constr #

dataTypeOf :: ForwardedValues -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ForwardedValues) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ForwardedValues) #

gmapT :: (forall b. Data b => b -> b) -> ForwardedValues -> ForwardedValues #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ForwardedValues -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ForwardedValues -> r #

gmapQ :: (forall d. Data d => d -> u) -> ForwardedValues -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ForwardedValues -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ForwardedValues -> m ForwardedValues #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ForwardedValues -> m ForwardedValues #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ForwardedValues -> m ForwardedValues #

Read ForwardedValues # 
Show ForwardedValues # 
Generic ForwardedValues # 
Hashable ForwardedValues # 
NFData ForwardedValues # 

Methods

rnf :: ForwardedValues -> () #

FromXML ForwardedValues # 
ToXML ForwardedValues # 

Methods

toXML :: ForwardedValues -> XML #

type Rep ForwardedValues # 
type Rep ForwardedValues = D1 (MetaData "ForwardedValues" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "ForwardedValues'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_fvQueryStringCacheKeys") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe QueryStringCacheKeys))) (S1 (MetaSel (Just Symbol "_fvHeaders") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Headers)))) ((:*:) (S1 (MetaSel (Just Symbol "_fvQueryString") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_fvCookies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CookiePreference)))))

forwardedValues #

Creates a value of ForwardedValues with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • fvQueryStringCacheKeys - A complex type that contains information about the query string parameters that you want CloudFront to use for caching for this cache behavior.
  • fvHeaders - A complex type that specifies the Headers , if any, that you want CloudFront to vary upon for this cache behavior.
  • fvQueryString - Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior and cache based on the query string parameters. CloudFront behavior depends on the value of QueryString and on the values that you specify for QueryStringCacheKeys , if any: If you specify true for QueryString and you don't specify any values for QueryStringCacheKeys , CloudFront forwards all query string parameters to the origin and caches based on all query string parameters. Depending on how many query string parameters and values you have, this can adversely affect performance because CloudFront must forward more requests to the origin. If you specify true for QueryString and you specify one or more values for QueryStringCacheKeys , CloudFront forwards all query string parameters to the origin, but it only caches based on the query string parameters that you specify. If you specify false for QueryString , CloudFront doesn't forward any query string parameters to the origin, and doesn't cache based on query string parameters. For more information, see Configuring CloudFront to Cache Based on Query String Parameters in the Amazon CloudFront Developer Guide .
  • fvCookies - A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide .

fvQueryStringCacheKeys :: Lens' ForwardedValues (Maybe QueryStringCacheKeys) #

A complex type that contains information about the query string parameters that you want CloudFront to use for caching for this cache behavior.

fvHeaders :: Lens' ForwardedValues (Maybe Headers) #

A complex type that specifies the Headers , if any, that you want CloudFront to vary upon for this cache behavior.

fvQueryString :: Lens' ForwardedValues Bool #

Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior and cache based on the query string parameters. CloudFront behavior depends on the value of QueryString and on the values that you specify for QueryStringCacheKeys , if any: If you specify true for QueryString and you don't specify any values for QueryStringCacheKeys , CloudFront forwards all query string parameters to the origin and caches based on all query string parameters. Depending on how many query string parameters and values you have, this can adversely affect performance because CloudFront must forward more requests to the origin. If you specify true for QueryString and you specify one or more values for QueryStringCacheKeys , CloudFront forwards all query string parameters to the origin, but it only caches based on the query string parameters that you specify. If you specify false for QueryString , CloudFront doesn't forward any query string parameters to the origin, and doesn't cache based on query string parameters. For more information, see Configuring CloudFront to Cache Based on Query String Parameters in the Amazon CloudFront Developer Guide .

fvCookies :: Lens' ForwardedValues CookiePreference #

A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide .

GeoRestriction

data GeoRestriction #

A complex type that controls the countries in which your content is distributed. CloudFront determines the location of your users using MaxMind GeoIP databases.

See: geoRestriction smart constructor.

Instances

Eq GeoRestriction # 
Data GeoRestriction # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GeoRestriction -> c GeoRestriction #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GeoRestriction #

toConstr :: GeoRestriction -> Constr #

dataTypeOf :: GeoRestriction -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GeoRestriction) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GeoRestriction) #

gmapT :: (forall b. Data b => b -> b) -> GeoRestriction -> GeoRestriction #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GeoRestriction -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GeoRestriction -> r #

gmapQ :: (forall d. Data d => d -> u) -> GeoRestriction -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GeoRestriction -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GeoRestriction -> m GeoRestriction #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GeoRestriction -> m GeoRestriction #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GeoRestriction -> m GeoRestriction #

Read GeoRestriction # 
Show GeoRestriction # 
Generic GeoRestriction # 

Associated Types

type Rep GeoRestriction :: * -> * #

Hashable GeoRestriction # 
NFData GeoRestriction # 

Methods

rnf :: GeoRestriction -> () #

FromXML GeoRestriction # 
ToXML GeoRestriction # 

Methods

toXML :: GeoRestriction -> XML #

type Rep GeoRestriction # 
type Rep GeoRestriction = D1 (MetaData "GeoRestriction" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "GeoRestriction'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_grItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_grRestrictionType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GeoRestrictionType)) (S1 (MetaSel (Just Symbol "_grQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

geoRestriction #

Creates a value of GeoRestriction with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • grItems - A complex type that contains a Location element for each country in which you want CloudFront either to distribute your content (whitelist ) or not distribute your content (blacklist ). The Location element is a two-letter, uppercase country code for a country that you want to include in your blacklist or whitelist . Include one Location element for each country. CloudFront and MaxMind both use ISO 3166 country codes. For the current list of countries and the corresponding codes, see ISO 3166-1-alpha-2 code on the International Organization for Standardization website. You can also refer to the country list in the CloudFront console, which includes both country names and codes.
  • grRestrictionType - The method that you want to use to restrict distribution of your content by country: * none : No geo restriction is enabled, meaning access to content is not restricted by client geo location. * blacklist : The Location elements specify the countries in which you do not want CloudFront to distribute your content. * whitelist : The Location elements specify the countries in which you want CloudFront to distribute your content.
  • grQuantity - When geo restriction is enabled , this is the number of countries in your whitelist or blacklist . Otherwise, when it is not enabled, Quantity is 0 , and you can omit Items .

grItems :: Lens' GeoRestriction [Text] #

A complex type that contains a Location element for each country in which you want CloudFront either to distribute your content (whitelist ) or not distribute your content (blacklist ). The Location element is a two-letter, uppercase country code for a country that you want to include in your blacklist or whitelist . Include one Location element for each country. CloudFront and MaxMind both use ISO 3166 country codes. For the current list of countries and the corresponding codes, see ISO 3166-1-alpha-2 code on the International Organization for Standardization website. You can also refer to the country list in the CloudFront console, which includes both country names and codes.

grRestrictionType :: Lens' GeoRestriction GeoRestrictionType #

The method that you want to use to restrict distribution of your content by country: * none : No geo restriction is enabled, meaning access to content is not restricted by client geo location. * blacklist : The Location elements specify the countries in which you do not want CloudFront to distribute your content. * whitelist : The Location elements specify the countries in which you want CloudFront to distribute your content.

grQuantity :: Lens' GeoRestriction Int #

When geo restriction is enabled , this is the number of countries in your whitelist or blacklist . Otherwise, when it is not enabled, Quantity is 0 , and you can omit Items .

Headers

data Headers #

A complex type that specifies the headers that you want CloudFront to forward to the origin for this cache behavior.

For the headers that you specify, CloudFront also caches separate versions of a specified object based on the header values in viewer requests. For example, suppose viewer requests for logo.jpg contain a custom Product header that has a value of either Acme or Apex , and you configure CloudFront to cache your content based on values in the Product header. CloudFront forwards the Product header to the origin and caches the response from the origin once for each header value. For more information about caching based on header values, see How CloudFront Forwards and Caches Headers in the Amazon CloudFront Developer Guide .

See: headers smart constructor.

Instances

Eq Headers # 

Methods

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

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

Data Headers # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Headers -> c Headers #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Headers #

toConstr :: Headers -> Constr #

dataTypeOf :: Headers -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Headers) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Headers) #

gmapT :: (forall b. Data b => b -> b) -> Headers -> Headers #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Headers -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Headers -> r #

gmapQ :: (forall d. Data d => d -> u) -> Headers -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Headers -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Headers -> m Headers #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Headers -> m Headers #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Headers -> m Headers #

Read Headers # 
Show Headers # 
Generic Headers # 

Associated Types

type Rep Headers :: * -> * #

Methods

from :: Headers -> Rep Headers x #

to :: Rep Headers x -> Headers #

Hashable Headers # 

Methods

hashWithSalt :: Int -> Headers -> Int #

hash :: Headers -> Int #

NFData Headers # 

Methods

rnf :: Headers -> () #

FromXML Headers # 
ToXML Headers # 

Methods

toXML :: Headers -> XML #

type Rep Headers # 
type Rep Headers = D1 (MetaData "Headers" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "Headers'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_hItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_hQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

headers #

Arguments

:: Int

hQuantity

-> Headers 

Creates a value of Headers with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • hItems - A complex type that contains one Name element for each header that you want CloudFront to forward to the origin and to vary on for this cache behavior. If Quantity is 0 , omit Items .
  • hQuantity - The number of different headers that you want CloudFront to forward to the origin for this cache behavior. You can configure each cache behavior in a web distribution to do one of the following: * Forward all headers to your origin : Specify 1 for Quantity and * for Name . Important: If you configure CloudFront to forward all headers to your origin, CloudFront doesn't cache the objects associated with this cache behavior. Instead, it sends every request to the origin. * Forward a whitelist of headers you specify : Specify the number of headers that you want to forward, and specify the header names in Name elements. CloudFront caches your objects based on the values in all of the specified headers. CloudFront also forwards the headers that it forwards by default, but it caches your objects based only on the headers that you specify. * Forward only the default headers : Specify 0 for Quantity and omit Items . In this configuration, CloudFront doesn't cache based on the values in the request headers.

hItems :: Lens' Headers [Text] #

A complex type that contains one Name element for each header that you want CloudFront to forward to the origin and to vary on for this cache behavior. If Quantity is 0 , omit Items .

hQuantity :: Lens' Headers Int #

The number of different headers that you want CloudFront to forward to the origin for this cache behavior. You can configure each cache behavior in a web distribution to do one of the following: * Forward all headers to your origin : Specify 1 for Quantity and * for Name . Important: If you configure CloudFront to forward all headers to your origin, CloudFront doesn't cache the objects associated with this cache behavior. Instead, it sends every request to the origin. * Forward a whitelist of headers you specify : Specify the number of headers that you want to forward, and specify the header names in Name elements. CloudFront caches your objects based on the values in all of the specified headers. CloudFront also forwards the headers that it forwards by default, but it caches your objects based only on the headers that you specify. * Forward only the default headers : Specify 0 for Quantity and omit Items . In this configuration, CloudFront doesn't cache based on the values in the request headers.

Invalidation

data Invalidation #

An invalidation.

See: invalidation smart constructor.

Instances

Eq Invalidation # 
Data Invalidation # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Invalidation -> c Invalidation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Invalidation #

toConstr :: Invalidation -> Constr #

dataTypeOf :: Invalidation -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Invalidation) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Invalidation) #

gmapT :: (forall b. Data b => b -> b) -> Invalidation -> Invalidation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Invalidation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Invalidation -> r #

gmapQ :: (forall d. Data d => d -> u) -> Invalidation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Invalidation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Invalidation -> m Invalidation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Invalidation -> m Invalidation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Invalidation -> m Invalidation #

Read Invalidation # 
Show Invalidation # 
Generic Invalidation # 

Associated Types

type Rep Invalidation :: * -> * #

Hashable Invalidation # 
NFData Invalidation # 

Methods

rnf :: Invalidation -> () #

FromXML Invalidation # 
type Rep Invalidation # 
type Rep Invalidation = D1 (MetaData "Invalidation" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "Invalidation'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_iId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_iStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_iCreateTime") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 ISO8601)) (S1 (MetaSel (Just Symbol "_iInvalidationBatch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InvalidationBatch)))))

invalidation #

Creates a value of Invalidation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • iId - The identifier for the invalidation request. For example: IDFDVBD632BHDS5 .
  • iStatus - The status of the invalidation request. When the invalidation batch is finished, the status is Completed .
  • iCreateTime - The date and time the invalidation request was first made.
  • iInvalidationBatch - The current invalidation information for the batch request.

iId :: Lens' Invalidation Text #

The identifier for the invalidation request. For example: IDFDVBD632BHDS5 .

iStatus :: Lens' Invalidation Text #

The status of the invalidation request. When the invalidation batch is finished, the status is Completed .

iCreateTime :: Lens' Invalidation UTCTime #

The date and time the invalidation request was first made.

iInvalidationBatch :: Lens' Invalidation InvalidationBatch #

The current invalidation information for the batch request.

InvalidationBatch

data InvalidationBatch #

An invalidation batch.

See: invalidationBatch smart constructor.

Instances

Eq InvalidationBatch # 
Data InvalidationBatch # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InvalidationBatch -> c InvalidationBatch #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InvalidationBatch #

toConstr :: InvalidationBatch -> Constr #

dataTypeOf :: InvalidationBatch -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InvalidationBatch) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InvalidationBatch) #

gmapT :: (forall b. Data b => b -> b) -> InvalidationBatch -> InvalidationBatch #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InvalidationBatch -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InvalidationBatch -> r #

gmapQ :: (forall d. Data d => d -> u) -> InvalidationBatch -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InvalidationBatch -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InvalidationBatch -> m InvalidationBatch #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InvalidationBatch -> m InvalidationBatch #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InvalidationBatch -> m InvalidationBatch #

Read InvalidationBatch # 
Show InvalidationBatch # 
Generic InvalidationBatch # 
Hashable InvalidationBatch # 
NFData InvalidationBatch # 

Methods

rnf :: InvalidationBatch -> () #

FromXML InvalidationBatch # 
ToXML InvalidationBatch # 
type Rep InvalidationBatch # 
type Rep InvalidationBatch = D1 (MetaData "InvalidationBatch" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "InvalidationBatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ibPaths") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Paths)) (S1 (MetaSel (Just Symbol "_ibCallerReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

invalidationBatch #

Creates a value of InvalidationBatch with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ibPaths - A complex type that contains information about the objects that you want to invalidate. For more information, see Specifying the Objects to Invalidate in the Amazon CloudFront Developer Guide .
  • ibCallerReference - A value that you specify to uniquely identify an invalidation request. CloudFront uses the value to prevent you from accidentally resubmitting an identical request. Whenever you create a new invalidation request, you must specify a new value for CallerReference and change other values in the request as applicable. One way to ensure that the value of CallerReference is unique is to use a timestamp , for example, 20120301090000 . If you make a second invalidation request with the same value for CallerReference , and if the rest of the request is the same, CloudFront doesn't create a new invalidation request. Instead, CloudFront returns information about the invalidation request that you previously created with the same CallerReference . If CallerReference is a value you already sent in a previous invalidation batch request but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.

ibPaths :: Lens' InvalidationBatch Paths #

A complex type that contains information about the objects that you want to invalidate. For more information, see Specifying the Objects to Invalidate in the Amazon CloudFront Developer Guide .

ibCallerReference :: Lens' InvalidationBatch Text #

A value that you specify to uniquely identify an invalidation request. CloudFront uses the value to prevent you from accidentally resubmitting an identical request. Whenever you create a new invalidation request, you must specify a new value for CallerReference and change other values in the request as applicable. One way to ensure that the value of CallerReference is unique is to use a timestamp , for example, 20120301090000 . If you make a second invalidation request with the same value for CallerReference , and if the rest of the request is the same, CloudFront doesn't create a new invalidation request. Instead, CloudFront returns information about the invalidation request that you previously created with the same CallerReference . If CallerReference is a value you already sent in a previous invalidation batch request but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.

InvalidationList

data InvalidationList #

The InvalidationList complex type describes the list of invalidation objects. For more information about invalidation, see Invalidating Objects (Web Distributions Only) in the Amazon CloudFront Developer Guide .

See: invalidationList smart constructor.

Instances

Eq InvalidationList # 
Data InvalidationList # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InvalidationList -> c InvalidationList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InvalidationList #

toConstr :: InvalidationList -> Constr #

dataTypeOf :: InvalidationList -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InvalidationList) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InvalidationList) #

gmapT :: (forall b. Data b => b -> b) -> InvalidationList -> InvalidationList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InvalidationList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InvalidationList -> r #

gmapQ :: (forall d. Data d => d -> u) -> InvalidationList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InvalidationList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InvalidationList -> m InvalidationList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InvalidationList -> m InvalidationList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InvalidationList -> m InvalidationList #

Read InvalidationList # 
Show InvalidationList # 
Generic InvalidationList # 
Hashable InvalidationList # 
NFData InvalidationList # 

Methods

rnf :: InvalidationList -> () #

FromXML InvalidationList # 
type Rep InvalidationList # 
type Rep InvalidationList = D1 (MetaData "InvalidationList" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "InvalidationList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ilItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InvalidationSummary]))) ((:*:) (S1 (MetaSel (Just Symbol "_ilNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ilMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ilMaxItems") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) ((:*:) (S1 (MetaSel (Just Symbol "_ilIsTruncated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_ilQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))))

invalidationList #

Creates a value of InvalidationList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ilItems - A complex type that contains one InvalidationSummary element for each invalidation batch created by the current AWS account.
  • ilNextMarker - If IsTruncated is true , this element is present and contains the value that you can use for the Marker request parameter to continue listing your invalidation batches where they left off.
  • ilMarker - The value that you provided for the Marker request parameter.
  • ilMaxItems - The value that you provided for the MaxItems request parameter.
  • ilIsTruncated - A flag that indicates whether more invalidation batch requests remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more invalidation batches in the list.
  • ilQuantity - The number of invalidation batches that were created by the current AWS account.

ilItems :: Lens' InvalidationList [InvalidationSummary] #

A complex type that contains one InvalidationSummary element for each invalidation batch created by the current AWS account.

ilNextMarker :: Lens' InvalidationList (Maybe Text) #

If IsTruncated is true , this element is present and contains the value that you can use for the Marker request parameter to continue listing your invalidation batches where they left off.

ilMarker :: Lens' InvalidationList Text #

The value that you provided for the Marker request parameter.

ilMaxItems :: Lens' InvalidationList Int #

The value that you provided for the MaxItems request parameter.

ilIsTruncated :: Lens' InvalidationList Bool #

A flag that indicates whether more invalidation batch requests remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more invalidation batches in the list.

ilQuantity :: Lens' InvalidationList Int #

The number of invalidation batches that were created by the current AWS account.

InvalidationSummary

data InvalidationSummary #

A summary of an invalidation request.

See: invalidationSummary smart constructor.

Instances

Eq InvalidationSummary # 
Data InvalidationSummary # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InvalidationSummary -> c InvalidationSummary #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InvalidationSummary #

toConstr :: InvalidationSummary -> Constr #

dataTypeOf :: InvalidationSummary -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InvalidationSummary) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InvalidationSummary) #

gmapT :: (forall b. Data b => b -> b) -> InvalidationSummary -> InvalidationSummary #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InvalidationSummary -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InvalidationSummary -> r #

gmapQ :: (forall d. Data d => d -> u) -> InvalidationSummary -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InvalidationSummary -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InvalidationSummary -> m InvalidationSummary #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InvalidationSummary -> m InvalidationSummary #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InvalidationSummary -> m InvalidationSummary #

Read InvalidationSummary # 
Show InvalidationSummary # 
Generic InvalidationSummary # 
Hashable InvalidationSummary # 
NFData InvalidationSummary # 

Methods

rnf :: InvalidationSummary -> () #

FromXML InvalidationSummary # 
type Rep InvalidationSummary # 
type Rep InvalidationSummary = D1 (MetaData "InvalidationSummary" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "InvalidationSummary'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_isId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_isCreateTime") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 ISO8601)) (S1 (MetaSel (Just Symbol "_isStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

invalidationSummary #

Creates a value of InvalidationSummary with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • isId - The unique ID for an invalidation request.
  • isCreateTime - Undocumented member.
  • isStatus - The status of an invalidation request.

isId :: Lens' InvalidationSummary Text #

The unique ID for an invalidation request.

isStatus :: Lens' InvalidationSummary Text #

The status of an invalidation request.

KeyPairIds

data KeyPairIds #

A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber .

For more information, see ActiveTrustedSigners .

See: keyPairIds smart constructor.

Instances

Eq KeyPairIds # 
Data KeyPairIds # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> KeyPairIds -> c KeyPairIds #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c KeyPairIds #

toConstr :: KeyPairIds -> Constr #

dataTypeOf :: KeyPairIds -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c KeyPairIds) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c KeyPairIds) #

gmapT :: (forall b. Data b => b -> b) -> KeyPairIds -> KeyPairIds #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> KeyPairIds -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> KeyPairIds -> r #

gmapQ :: (forall d. Data d => d -> u) -> KeyPairIds -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> KeyPairIds -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> KeyPairIds -> m KeyPairIds #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyPairIds -> m KeyPairIds #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyPairIds -> m KeyPairIds #

Read KeyPairIds # 
Show KeyPairIds # 
Generic KeyPairIds # 

Associated Types

type Rep KeyPairIds :: * -> * #

Hashable KeyPairIds # 
NFData KeyPairIds # 

Methods

rnf :: KeyPairIds -> () #

FromXML KeyPairIds # 
type Rep KeyPairIds # 
type Rep KeyPairIds = D1 (MetaData "KeyPairIds" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "KeyPairIds'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_kpiItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_kpiQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

keyPairIds #

Arguments

:: Int

kpiQuantity

-> KeyPairIds 

Creates a value of KeyPairIds with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • kpiItems - A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber . For more information, see ActiveTrustedSigners .
  • kpiQuantity - The number of active CloudFront key pairs for AwsAccountNumber . For more information, see ActiveTrustedSigners .

kpiItems :: Lens' KeyPairIds [Text] #

A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber . For more information, see ActiveTrustedSigners .

kpiQuantity :: Lens' KeyPairIds Int #

The number of active CloudFront key pairs for AwsAccountNumber . For more information, see ActiveTrustedSigners .

LoggingConfig

data LoggingConfig #

A complex type that controls whether access logs are written for the distribution.

See: loggingConfig smart constructor.

Instances

Eq LoggingConfig # 
Data LoggingConfig # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LoggingConfig -> c LoggingConfig #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LoggingConfig #

toConstr :: LoggingConfig -> Constr #

dataTypeOf :: LoggingConfig -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c LoggingConfig) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LoggingConfig) #

gmapT :: (forall b. Data b => b -> b) -> LoggingConfig -> LoggingConfig #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LoggingConfig -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LoggingConfig -> r #

gmapQ :: (forall d. Data d => d -> u) -> LoggingConfig -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LoggingConfig -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LoggingConfig -> m LoggingConfig #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LoggingConfig -> m LoggingConfig #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LoggingConfig -> m LoggingConfig #

Read LoggingConfig # 
Show LoggingConfig # 
Generic LoggingConfig # 

Associated Types

type Rep LoggingConfig :: * -> * #

Hashable LoggingConfig # 
NFData LoggingConfig # 

Methods

rnf :: LoggingConfig -> () #

FromXML LoggingConfig # 
ToXML LoggingConfig # 

Methods

toXML :: LoggingConfig -> XML #

type Rep LoggingConfig # 
type Rep LoggingConfig = D1 (MetaData "LoggingConfig" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "LoggingConfig'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lcEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_lcIncludeCookies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_lcBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_lcPrefix") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

loggingConfig #

Creates a value of LoggingConfig with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lcEnabled - Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled , and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket , prefix , and IncludeCookies , the values are automatically deleted.
  • lcIncludeCookies - Specifies whether you want CloudFront to include cookies in access logs, specify true for IncludeCookies . If you choose to include cookies in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for this distribution. If you do not want to include cookies when you create a distribution or if you want to disable include cookies for an existing distribution, specify false for IncludeCookies .
  • lcBucket - The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com .
  • lcPrefix - An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/ . If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.

lcEnabled :: Lens' LoggingConfig Bool #

Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled , and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket , prefix , and IncludeCookies , the values are automatically deleted.

lcIncludeCookies :: Lens' LoggingConfig Bool #

Specifies whether you want CloudFront to include cookies in access logs, specify true for IncludeCookies . If you choose to include cookies in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for this distribution. If you do not want to include cookies when you create a distribution or if you want to disable include cookies for an existing distribution, specify false for IncludeCookies .

lcBucket :: Lens' LoggingConfig Text #

The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com .

lcPrefix :: Lens' LoggingConfig Text #

An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/ . If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.

Origin

data Origin #

A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files. You must create at least one origin.

For the current limit on the number of origins that you can create for a distribution, see Amazon CloudFront Limits in the AWS General Reference .

See: origin smart constructor.

Instances

Eq Origin # 

Methods

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

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

Data Origin # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Origin -> c Origin #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Origin #

toConstr :: Origin -> Constr #

dataTypeOf :: Origin -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Origin) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Origin) #

gmapT :: (forall b. Data b => b -> b) -> Origin -> Origin #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Origin -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Origin -> r #

gmapQ :: (forall d. Data d => d -> u) -> Origin -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Origin -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Origin -> m Origin #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Origin -> m Origin #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Origin -> m Origin #

Read Origin # 
Show Origin # 
Generic Origin # 

Associated Types

type Rep Origin :: * -> * #

Methods

from :: Origin -> Rep Origin x #

to :: Rep Origin x -> Origin #

Hashable Origin # 

Methods

hashWithSalt :: Int -> Origin -> Int #

hash :: Origin -> Int #

NFData Origin # 

Methods

rnf :: Origin -> () #

FromXML Origin # 
ToXML Origin # 

Methods

toXML :: Origin -> XML #

type Rep Origin # 

origin #

Arguments

:: Text

oId

-> Text

oDomainName

-> Origin 

Creates a value of Origin with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • oCustomHeaders - A complex type that contains names and values for the custom headers that you want.
  • oCustomOriginConfig - A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.
  • oS3OriginConfig - A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.
  • oOriginPath - An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin. When you include the OriginPath element, specify the directory name, beginning with a / . CloudFront appends the directory name to the value of DomainName , for example, example.com/production . Do not include a / at the end of the directory name. For example, suppose you've specified the following values for your distribution: * DomainName : An Amazon S3 bucket named myawsbucket . * OriginPath : /production * CNAME : example.com When a user enters example.com/index.html in a browser, CloudFront sends a request to Amazon S3 for myawsbucketproductionindex.html . When a user enters example.comacmeindex.html in a browser, CloudFront sends a request to Amazon S3 for myawsbucketproductionacme/index.html .
  • oId - A unique identifier for the origin. The value of Id must be unique within the distribution. When you specify the value of TargetOriginId for the default cache behavior or for another cache behavior, you indicate the origin to which you want the cache behavior to route requests by specifying the value of the Id element for that origin. When a request matches the path pattern for that cache behavior, CloudFront routes the request to the specified origin. For more information, see Cache Behavior Settings in the Amazon CloudFront Developer Guide .
  • oDomainName - Amazon S3 origins : The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com . Constraints for Amazon S3 origins: * If you configured Amazon S3 Transfer Acceleration for your bucket, do not specify the s3-accelerate endpoint for DomainName . * The bucket name must be between 3 and 63 characters long (inclusive). * The bucket name must contain only lowercase characters, numbers, periods, underscores, and dashes. * The bucket name must not contain adjacent periods. Custom Origins : The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com . Constraints for custom origins: * DomainName must be a valid DNS name that contains only a-z, A-Z, 0-9, dot (.), hyphen (-), or underscore (_) characters. * The name cannot exceed 128 characters.

oCustomHeaders :: Lens' Origin (Maybe CustomHeaders) #

A complex type that contains names and values for the custom headers that you want.

oCustomOriginConfig :: Lens' Origin (Maybe CustomOriginConfig) #

A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.

oS3OriginConfig :: Lens' Origin (Maybe S3OriginConfig) #

A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.

oOriginPath :: Lens' Origin (Maybe Text) #

An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin. When you include the OriginPath element, specify the directory name, beginning with a / . CloudFront appends the directory name to the value of DomainName , for example, example.com/production . Do not include a / at the end of the directory name. For example, suppose you've specified the following values for your distribution: * DomainName : An Amazon S3 bucket named myawsbucket . * OriginPath : /production * CNAME : example.com When a user enters example.com/index.html in a browser, CloudFront sends a request to Amazon S3 for myawsbucketproductionindex.html . When a user enters example.comacmeindex.html in a browser, CloudFront sends a request to Amazon S3 for myawsbucketproductionacme/index.html .

oId :: Lens' Origin Text #

A unique identifier for the origin. The value of Id must be unique within the distribution. When you specify the value of TargetOriginId for the default cache behavior or for another cache behavior, you indicate the origin to which you want the cache behavior to route requests by specifying the value of the Id element for that origin. When a request matches the path pattern for that cache behavior, CloudFront routes the request to the specified origin. For more information, see Cache Behavior Settings in the Amazon CloudFront Developer Guide .

oDomainName :: Lens' Origin Text #

Amazon S3 origins : The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com . Constraints for Amazon S3 origins: * If you configured Amazon S3 Transfer Acceleration for your bucket, do not specify the s3-accelerate endpoint for DomainName . * The bucket name must be between 3 and 63 characters long (inclusive). * The bucket name must contain only lowercase characters, numbers, periods, underscores, and dashes. * The bucket name must not contain adjacent periods. Custom Origins : The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com . Constraints for custom origins: * DomainName must be a valid DNS name that contains only a-z, A-Z, 0-9, dot (.), hyphen (-), or underscore (_) characters. * The name cannot exceed 128 characters.

OriginCustomHeader

data OriginCustomHeader #

A complex type that contains HeaderName and HeaderValue elements, if any, for this distribution.

See: originCustomHeader smart constructor.

Instances

Eq OriginCustomHeader # 
Data OriginCustomHeader # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OriginCustomHeader -> c OriginCustomHeader #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OriginCustomHeader #

toConstr :: OriginCustomHeader -> Constr #

dataTypeOf :: OriginCustomHeader -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c OriginCustomHeader) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OriginCustomHeader) #

gmapT :: (forall b. Data b => b -> b) -> OriginCustomHeader -> OriginCustomHeader #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OriginCustomHeader -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OriginCustomHeader -> r #

gmapQ :: (forall d. Data d => d -> u) -> OriginCustomHeader -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OriginCustomHeader -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OriginCustomHeader -> m OriginCustomHeader #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OriginCustomHeader -> m OriginCustomHeader #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OriginCustomHeader -> m OriginCustomHeader #

Read OriginCustomHeader # 
Show OriginCustomHeader # 
Generic OriginCustomHeader # 
Hashable OriginCustomHeader # 
NFData OriginCustomHeader # 

Methods

rnf :: OriginCustomHeader -> () #

FromXML OriginCustomHeader # 
ToXML OriginCustomHeader # 
type Rep OriginCustomHeader # 
type Rep OriginCustomHeader = D1 (MetaData "OriginCustomHeader" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "OriginCustomHeader'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ochHeaderName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ochHeaderValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

originCustomHeader #

Creates a value of OriginCustomHeader with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ochHeaderName :: Lens' OriginCustomHeader Text #

The name of a header that you want CloudFront to forward to your origin. For more information, see Forwarding Custom Headers to Your Origin (Web Distributions Only) in the Amazon Amazon CloudFront Developer Guide .

ochHeaderValue :: Lens' OriginCustomHeader Text #

The value for the header that you specified in the HeaderName field.

OriginSSLProtocols

data OriginSSLProtocols #

A complex type that contains information about the SSL/TLS protocols that CloudFront can use when establishing an HTTPS connection with your origin.

See: originSSLProtocols smart constructor.

Instances

Eq OriginSSLProtocols # 
Data OriginSSLProtocols # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OriginSSLProtocols -> c OriginSSLProtocols #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OriginSSLProtocols #

toConstr :: OriginSSLProtocols -> Constr #

dataTypeOf :: OriginSSLProtocols -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c OriginSSLProtocols) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OriginSSLProtocols) #

gmapT :: (forall b. Data b => b -> b) -> OriginSSLProtocols -> OriginSSLProtocols #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OriginSSLProtocols -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OriginSSLProtocols -> r #

gmapQ :: (forall d. Data d => d -> u) -> OriginSSLProtocols -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OriginSSLProtocols -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OriginSSLProtocols -> m OriginSSLProtocols #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OriginSSLProtocols -> m OriginSSLProtocols #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OriginSSLProtocols -> m OriginSSLProtocols #

Read OriginSSLProtocols # 
Show OriginSSLProtocols # 
Generic OriginSSLProtocols # 
Hashable OriginSSLProtocols # 
NFData OriginSSLProtocols # 

Methods

rnf :: OriginSSLProtocols -> () #

FromXML OriginSSLProtocols # 
ToXML OriginSSLProtocols # 
type Rep OriginSSLProtocols # 
type Rep OriginSSLProtocols = D1 (MetaData "OriginSSLProtocols" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "OriginSSLProtocols'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ospQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_ospItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [SSLProtocol]))))

originSSLProtocols #

Creates a value of OriginSSLProtocols with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ospQuantity - The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.
  • ospItems - A list that contains allowed SSL/TLS protocols for this distribution.

ospQuantity :: Lens' OriginSSLProtocols Int #

The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.

ospItems :: Lens' OriginSSLProtocols [SSLProtocol] #

A list that contains allowed SSL/TLS protocols for this distribution.

Origins

data Origins #

A complex type that contains information about origins for this distribution.

See: origins smart constructor.

Instances

Eq Origins # 

Methods

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

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

Data Origins # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Origins -> c Origins #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Origins #

toConstr :: Origins -> Constr #

dataTypeOf :: Origins -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Origins) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Origins) #

gmapT :: (forall b. Data b => b -> b) -> Origins -> Origins #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Origins -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Origins -> r #

gmapQ :: (forall d. Data d => d -> u) -> Origins -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Origins -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Origins -> m Origins #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Origins -> m Origins #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Origins -> m Origins #

Read Origins # 
Show Origins # 
Generic Origins # 

Associated Types

type Rep Origins :: * -> * #

Methods

from :: Origins -> Rep Origins x #

to :: Rep Origins x -> Origins #

Hashable Origins # 

Methods

hashWithSalt :: Int -> Origins -> Int #

hash :: Origins -> Int #

NFData Origins # 

Methods

rnf :: Origins -> () #

FromXML Origins # 
ToXML Origins # 

Methods

toXML :: Origins -> XML #

type Rep Origins # 
type Rep Origins = D1 (MetaData "Origins" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "Origins'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_oItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Origin)))) (S1 (MetaSel (Just Symbol "_oQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

origins #

Arguments

:: Int

oQuantity

-> Origins 

Creates a value of Origins with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • oItems - A complex type that contains origins for this distribution.
  • oQuantity - The number of origins for this distribution.

oItems :: Lens' Origins (Maybe (NonEmpty Origin)) #

A complex type that contains origins for this distribution.

oQuantity :: Lens' Origins Int #

The number of origins for this distribution.

Paths

data Paths #

A complex type that contains information about the objects that you want to invalidate. For more information, see Specifying the Objects to Invalidate in the Amazon CloudFront Developer Guide .

See: paths smart constructor.

Instances

Eq Paths # 

Methods

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

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

Data Paths # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Paths -> c Paths #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Paths #

toConstr :: Paths -> Constr #

dataTypeOf :: Paths -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Paths) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Paths) #

gmapT :: (forall b. Data b => b -> b) -> Paths -> Paths #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Paths -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Paths -> r #

gmapQ :: (forall d. Data d => d -> u) -> Paths -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Paths -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Paths -> m Paths #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Paths -> m Paths #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Paths -> m Paths #

Read Paths # 
Show Paths # 

Methods

showsPrec :: Int -> Paths -> ShowS #

show :: Paths -> String #

showList :: [Paths] -> ShowS #

Generic Paths # 

Associated Types

type Rep Paths :: * -> * #

Methods

from :: Paths -> Rep Paths x #

to :: Rep Paths x -> Paths #

Hashable Paths # 

Methods

hashWithSalt :: Int -> Paths -> Int #

hash :: Paths -> Int #

NFData Paths # 

Methods

rnf :: Paths -> () #

FromXML Paths # 

Methods

parseXML :: [Node] -> Either String Paths #

ToXML Paths # 

Methods

toXML :: Paths -> XML #

type Rep Paths # 
type Rep Paths = D1 (MetaData "Paths" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "Paths'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_pQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

paths #

Arguments

:: Int

pQuantity

-> Paths 

Creates a value of Paths with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • pItems - A complex type that contains a list of the paths that you want to invalidate.
  • pQuantity - The number of objects that you want to invalidate.

pItems :: Lens' Paths [Text] #

A complex type that contains a list of the paths that you want to invalidate.

pQuantity :: Lens' Paths Int #

The number of objects that you want to invalidate.

QueryStringCacheKeys

data QueryStringCacheKeys #

See: queryStringCacheKeys smart constructor.

Instances

Eq QueryStringCacheKeys # 
Data QueryStringCacheKeys # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QueryStringCacheKeys -> c QueryStringCacheKeys #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QueryStringCacheKeys #

toConstr :: QueryStringCacheKeys -> Constr #

dataTypeOf :: QueryStringCacheKeys -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c QueryStringCacheKeys) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QueryStringCacheKeys) #

gmapT :: (forall b. Data b => b -> b) -> QueryStringCacheKeys -> QueryStringCacheKeys #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QueryStringCacheKeys -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QueryStringCacheKeys -> r #

gmapQ :: (forall d. Data d => d -> u) -> QueryStringCacheKeys -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QueryStringCacheKeys -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QueryStringCacheKeys -> m QueryStringCacheKeys #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryStringCacheKeys -> m QueryStringCacheKeys #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryStringCacheKeys -> m QueryStringCacheKeys #

Read QueryStringCacheKeys # 
Show QueryStringCacheKeys # 
Generic QueryStringCacheKeys # 
Hashable QueryStringCacheKeys # 
NFData QueryStringCacheKeys # 

Methods

rnf :: QueryStringCacheKeys -> () #

FromXML QueryStringCacheKeys # 
ToXML QueryStringCacheKeys # 
type Rep QueryStringCacheKeys # 
type Rep QueryStringCacheKeys = D1 (MetaData "QueryStringCacheKeys" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "QueryStringCacheKeys'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_qsckItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_qsckQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

queryStringCacheKeys #

Creates a value of QueryStringCacheKeys with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • qsckItems - (Optional) A list that contains the query string parameters that you want CloudFront to use as a basis for caching for this cache behavior. If Quantity is 0, you can omit Items .
  • qsckQuantity - The number of whitelisted query string parameters for this cache behavior.

qsckItems :: Lens' QueryStringCacheKeys [Text] #

(Optional) A list that contains the query string parameters that you want CloudFront to use as a basis for caching for this cache behavior. If Quantity is 0, you can omit Items .

qsckQuantity :: Lens' QueryStringCacheKeys Int #

The number of whitelisted query string parameters for this cache behavior.

Restrictions

data Restrictions #

A complex type that identifies ways in which you want to restrict distribution of your content.

See: restrictions smart constructor.

Instances

Eq Restrictions # 
Data Restrictions # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Restrictions -> c Restrictions #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Restrictions #

toConstr :: Restrictions -> Constr #

dataTypeOf :: Restrictions -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Restrictions) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Restrictions) #

gmapT :: (forall b. Data b => b -> b) -> Restrictions -> Restrictions #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Restrictions -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Restrictions -> r #

gmapQ :: (forall d. Data d => d -> u) -> Restrictions -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Restrictions -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Restrictions -> m Restrictions #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Restrictions -> m Restrictions #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Restrictions -> m Restrictions #

Read Restrictions # 
Show Restrictions # 
Generic Restrictions # 

Associated Types

type Rep Restrictions :: * -> * #

Hashable Restrictions # 
NFData Restrictions # 

Methods

rnf :: Restrictions -> () #

FromXML Restrictions # 
ToXML Restrictions # 

Methods

toXML :: Restrictions -> XML #

type Rep Restrictions # 
type Rep Restrictions = D1 (MetaData "Restrictions" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" True) (C1 (MetaCons "Restrictions'" PrefixI True) (S1 (MetaSel (Just Symbol "_rGeoRestriction") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 GeoRestriction)))

restrictions #

Creates a value of Restrictions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

S3Origin

data S3Origin #

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

See: s3Origin smart constructor.

Instances

Eq S3Origin # 
Data S3Origin # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> S3Origin -> c S3Origin #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c S3Origin #

toConstr :: S3Origin -> Constr #

dataTypeOf :: S3Origin -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c S3Origin) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c S3Origin) #

gmapT :: (forall b. Data b => b -> b) -> S3Origin -> S3Origin #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> S3Origin -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> S3Origin -> r #

gmapQ :: (forall d. Data d => d -> u) -> S3Origin -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> S3Origin -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> S3Origin -> m S3Origin #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> S3Origin -> m S3Origin #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> S3Origin -> m S3Origin #

Read S3Origin # 
Show S3Origin # 
Generic S3Origin # 

Associated Types

type Rep S3Origin :: * -> * #

Methods

from :: S3Origin -> Rep S3Origin x #

to :: Rep S3Origin x -> S3Origin #

Hashable S3Origin # 

Methods

hashWithSalt :: Int -> S3Origin -> Int #

hash :: S3Origin -> Int #

NFData S3Origin # 

Methods

rnf :: S3Origin -> () #

FromXML S3Origin # 
ToXML S3Origin # 

Methods

toXML :: S3Origin -> XML #

type Rep S3Origin # 
type Rep S3Origin = D1 (MetaData "S3Origin" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "S3Origin'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_soDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_soOriginAccessIdentity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

s3Origin #

Creates a value of S3Origin with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • soDomainName - The DNS name of the Amazon S3 origin.
  • soOriginAccessIdentity - The CloudFront origin access identity to associate with the RTMP distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity. For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon Amazon CloudFront Developer Guide .

soDomainName :: Lens' S3Origin Text #

The DNS name of the Amazon S3 origin.

soOriginAccessIdentity :: Lens' S3Origin Text #

The CloudFront origin access identity to associate with the RTMP distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity. For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon Amazon CloudFront Developer Guide .

S3OriginConfig

data S3OriginConfig #

A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.

See: s3OriginConfig smart constructor.

Instances

Eq S3OriginConfig # 
Data S3OriginConfig # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> S3OriginConfig -> c S3OriginConfig #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c S3OriginConfig #

toConstr :: S3OriginConfig -> Constr #

dataTypeOf :: S3OriginConfig -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c S3OriginConfig) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c S3OriginConfig) #

gmapT :: (forall b. Data b => b -> b) -> S3OriginConfig -> S3OriginConfig #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> S3OriginConfig -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> S3OriginConfig -> r #

gmapQ :: (forall d. Data d => d -> u) -> S3OriginConfig -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> S3OriginConfig -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> S3OriginConfig -> m S3OriginConfig #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> S3OriginConfig -> m S3OriginConfig #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> S3OriginConfig -> m S3OriginConfig #

Read S3OriginConfig # 
Show S3OriginConfig # 
Generic S3OriginConfig # 

Associated Types

type Rep S3OriginConfig :: * -> * #

Hashable S3OriginConfig # 
NFData S3OriginConfig # 

Methods

rnf :: S3OriginConfig -> () #

FromXML S3OriginConfig # 
ToXML S3OriginConfig # 

Methods

toXML :: S3OriginConfig -> XML #

type Rep S3OriginConfig # 
type Rep S3OriginConfig = D1 (MetaData "S3OriginConfig" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" True) (C1 (MetaCons "S3OriginConfig'" PrefixI True) (S1 (MetaSel (Just Symbol "_socOriginAccessIdentity") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

s3OriginConfig #

Creates a value of S3OriginConfig with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • socOriginAccessIdentity - The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that viewers can only access objects in an Amazon S3 bucket through CloudFront. The format of the value is: origin-access-identityCloudFrontID-of-origin-access-identity where ID-of-origin-access-identity is the value that CloudFront returned in the ID element when you created the origin access identity. If you want viewers to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity. For more information about the origin access identity, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide .

socOriginAccessIdentity :: Lens' S3OriginConfig Text #

The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that viewers can only access objects in an Amazon S3 bucket through CloudFront. The format of the value is: origin-access-identityCloudFrontID-of-origin-access-identity where ID-of-origin-access-identity is the value that CloudFront returned in the ID element when you created the origin access identity. If you want viewers to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity. For more information about the origin access identity, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide .

Signer

data Signer #

A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.

See: signer smart constructor.

Instances

Eq Signer # 

Methods

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

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

Data Signer # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Signer -> c Signer #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Signer #

toConstr :: Signer -> Constr #

dataTypeOf :: Signer -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Signer) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Signer) #

gmapT :: (forall b. Data b => b -> b) -> Signer -> Signer #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Signer -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Signer -> r #

gmapQ :: (forall d. Data d => d -> u) -> Signer -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Signer -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Signer -> m Signer #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Signer -> m Signer #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Signer -> m Signer #

Read Signer # 
Show Signer # 
Generic Signer # 

Associated Types

type Rep Signer :: * -> * #

Methods

from :: Signer -> Rep Signer x #

to :: Rep Signer x -> Signer #

Hashable Signer # 

Methods

hashWithSalt :: Int -> Signer -> Int #

hash :: Signer -> Int #

NFData Signer # 

Methods

rnf :: Signer -> () #

FromXML Signer # 
type Rep Signer # 
type Rep Signer = D1 (MetaData "Signer" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "Signer'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sAWSAccountNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sKeyPairIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe KeyPairIds)))))

signer :: Signer #

Creates a value of Signer with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • sAWSAccountNumber - An AWS account that is included in the TrustedSigners complex type for this RTMP distribution. Valid values include: * self , which is the AWS account used to create the distribution. * An AWS account number.
  • sKeyPairIds - A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber .

sAWSAccountNumber :: Lens' Signer (Maybe Text) #

An AWS account that is included in the TrustedSigners complex type for this RTMP distribution. Valid values include: * self , which is the AWS account used to create the distribution. * An AWS account number.

sKeyPairIds :: Lens' Signer (Maybe KeyPairIds) #

A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber .

StreamingDistribution

data StreamingDistribution #

A streaming distribution.

See: streamingDistribution smart constructor.

Instances

Eq StreamingDistribution # 
Data StreamingDistribution # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StreamingDistribution -> c StreamingDistribution #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StreamingDistribution #

toConstr :: StreamingDistribution -> Constr #

dataTypeOf :: StreamingDistribution -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StreamingDistribution) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StreamingDistribution) #

gmapT :: (forall b. Data b => b -> b) -> StreamingDistribution -> StreamingDistribution #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StreamingDistribution -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StreamingDistribution -> r #

gmapQ :: (forall d. Data d => d -> u) -> StreamingDistribution -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StreamingDistribution -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StreamingDistribution -> m StreamingDistribution #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingDistribution -> m StreamingDistribution #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingDistribution -> m StreamingDistribution #

Read StreamingDistribution # 
Show StreamingDistribution # 
Generic StreamingDistribution # 
Hashable StreamingDistribution # 
NFData StreamingDistribution # 

Methods

rnf :: StreamingDistribution -> () #

FromXML StreamingDistribution # 
type Rep StreamingDistribution # 

streamingDistribution #

Creates a value of StreamingDistribution with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • sdLastModifiedTime - The date and time that the distribution was last modified.
  • sdId - The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE .
  • sdARN - Undocumented member.
  • sdStatus - The current status of the RTMP distribution. When the status is Deployed , the distribution's information is propagated to all CloudFront edge locations.
  • sdDomainName - The domain name that corresponds to the streaming distribution. For example: s5c39gqb8ow64r.cloudfront.net .
  • sdActiveTrustedSigners - A complex type that lists the AWS accounts, if any, that you included in the TrustedSigners complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content. The Signer complex type lists the AWS account number of the trusted signer or self if the signer is the AWS account that created the distribution. The Signer element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's AWS account. If no KeyPairId element appears for a Signer , that signer can't create signed URLs. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide .
  • sdStreamingDistributionConfig - The current configuration information for the RTMP distribution.

sdLastModifiedTime :: Lens' StreamingDistribution (Maybe UTCTime) #

The date and time that the distribution was last modified.

sdId :: Lens' StreamingDistribution Text #

The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE .

sdARN :: Lens' StreamingDistribution Text #

Undocumented member.

sdStatus :: Lens' StreamingDistribution Text #

The current status of the RTMP distribution. When the status is Deployed , the distribution's information is propagated to all CloudFront edge locations.

sdDomainName :: Lens' StreamingDistribution Text #

The domain name that corresponds to the streaming distribution. For example: s5c39gqb8ow64r.cloudfront.net .

sdActiveTrustedSigners :: Lens' StreamingDistribution ActiveTrustedSigners #

A complex type that lists the AWS accounts, if any, that you included in the TrustedSigners complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content. The Signer complex type lists the AWS account number of the trusted signer or self if the signer is the AWS account that created the distribution. The Signer element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's AWS account. If no KeyPairId element appears for a Signer , that signer can't create signed URLs. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide .

sdStreamingDistributionConfig :: Lens' StreamingDistribution StreamingDistributionConfig #

The current configuration information for the RTMP distribution.

StreamingDistributionConfig

data StreamingDistributionConfig #

The RTMP distribution's configuration information.

See: streamingDistributionConfig smart constructor.

Instances

Eq StreamingDistributionConfig # 
Data StreamingDistributionConfig # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StreamingDistributionConfig -> c StreamingDistributionConfig #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StreamingDistributionConfig #

toConstr :: StreamingDistributionConfig -> Constr #

dataTypeOf :: StreamingDistributionConfig -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StreamingDistributionConfig) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StreamingDistributionConfig) #

gmapT :: (forall b. Data b => b -> b) -> StreamingDistributionConfig -> StreamingDistributionConfig #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StreamingDistributionConfig -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StreamingDistributionConfig -> r #

gmapQ :: (forall d. Data d => d -> u) -> StreamingDistributionConfig -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StreamingDistributionConfig -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StreamingDistributionConfig -> m StreamingDistributionConfig #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingDistributionConfig -> m StreamingDistributionConfig #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingDistributionConfig -> m StreamingDistributionConfig #

Read StreamingDistributionConfig # 
Show StreamingDistributionConfig # 
Generic StreamingDistributionConfig # 
Hashable StreamingDistributionConfig # 
NFData StreamingDistributionConfig # 
FromXML StreamingDistributionConfig # 
ToXML StreamingDistributionConfig # 
type Rep StreamingDistributionConfig # 

streamingDistributionConfig #

Creates a value of StreamingDistributionConfig with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • sdcAliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
  • sdcPriceClass - A complex type that contains information about price class for this streaming distribution.
  • sdcLogging - A complex type that controls whether access logs are written for the streaming distribution.
  • sdcCallerReference - A unique number that ensures that the request can't be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value that you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value that you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.
  • sdcS3Origin - A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
  • sdcComment - Any comments you want to include about the streaming distribution.
  • sdcTrustedSigners - A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide .
  • sdcEnabled - Whether the streaming distribution is enabled to accept user requests for content.

sdcAliases :: Lens' StreamingDistributionConfig (Maybe Aliases) #

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

sdcPriceClass :: Lens' StreamingDistributionConfig (Maybe PriceClass) #

A complex type that contains information about price class for this streaming distribution.

sdcLogging :: Lens' StreamingDistributionConfig (Maybe StreamingLoggingConfig) #

A complex type that controls whether access logs are written for the streaming distribution.

sdcCallerReference :: Lens' StreamingDistributionConfig Text #

A unique number that ensures that the request can't be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value that you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value that you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.

sdcS3Origin :: Lens' StreamingDistributionConfig S3Origin #

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

sdcComment :: Lens' StreamingDistributionConfig Text #

Any comments you want to include about the streaming distribution.

sdcTrustedSigners :: Lens' StreamingDistributionConfig TrustedSigners #

A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide .

sdcEnabled :: Lens' StreamingDistributionConfig Bool #

Whether the streaming distribution is enabled to accept user requests for content.

StreamingDistributionConfigWithTags

data StreamingDistributionConfigWithTags #

A streaming distribution Configuration and a list of tags to be associated with the streaming distribution.

See: streamingDistributionConfigWithTags smart constructor.

Instances

Eq StreamingDistributionConfigWithTags # 
Data StreamingDistributionConfigWithTags # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StreamingDistributionConfigWithTags -> c StreamingDistributionConfigWithTags #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StreamingDistributionConfigWithTags #

toConstr :: StreamingDistributionConfigWithTags -> Constr #

dataTypeOf :: StreamingDistributionConfigWithTags -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StreamingDistributionConfigWithTags) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StreamingDistributionConfigWithTags) #

gmapT :: (forall b. Data b => b -> b) -> StreamingDistributionConfigWithTags -> StreamingDistributionConfigWithTags #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StreamingDistributionConfigWithTags -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StreamingDistributionConfigWithTags -> r #

gmapQ :: (forall d. Data d => d -> u) -> StreamingDistributionConfigWithTags -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StreamingDistributionConfigWithTags -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StreamingDistributionConfigWithTags -> m StreamingDistributionConfigWithTags #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingDistributionConfigWithTags -> m StreamingDistributionConfigWithTags #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingDistributionConfigWithTags -> m StreamingDistributionConfigWithTags #

Read StreamingDistributionConfigWithTags # 
Show StreamingDistributionConfigWithTags # 
Generic StreamingDistributionConfigWithTags # 
Hashable StreamingDistributionConfigWithTags # 
NFData StreamingDistributionConfigWithTags # 
ToXML StreamingDistributionConfigWithTags # 
type Rep StreamingDistributionConfigWithTags # 
type Rep StreamingDistributionConfigWithTags = D1 (MetaData "StreamingDistributionConfigWithTags" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "StreamingDistributionConfigWithTags'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sdcwtStreamingDistributionConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StreamingDistributionConfig)) (S1 (MetaSel (Just Symbol "_sdcwtTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Tags))))

streamingDistributionConfigWithTags #

Creates a value of StreamingDistributionConfigWithTags with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sdcwtTags :: Lens' StreamingDistributionConfigWithTags Tags #

A complex type that contains zero or more Tag elements.

StreamingDistributionList

data StreamingDistributionList #

A streaming distribution list.

See: streamingDistributionList smart constructor.

Instances

Eq StreamingDistributionList # 
Data StreamingDistributionList # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StreamingDistributionList -> c StreamingDistributionList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StreamingDistributionList #

toConstr :: StreamingDistributionList -> Constr #

dataTypeOf :: StreamingDistributionList -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StreamingDistributionList) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StreamingDistributionList) #

gmapT :: (forall b. Data b => b -> b) -> StreamingDistributionList -> StreamingDistributionList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StreamingDistributionList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StreamingDistributionList -> r #

gmapQ :: (forall d. Data d => d -> u) -> StreamingDistributionList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StreamingDistributionList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StreamingDistributionList -> m StreamingDistributionList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingDistributionList -> m StreamingDistributionList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingDistributionList -> m StreamingDistributionList #

Read StreamingDistributionList # 
Show StreamingDistributionList # 
Generic StreamingDistributionList # 
Hashable StreamingDistributionList # 
NFData StreamingDistributionList # 
FromXML StreamingDistributionList # 
type Rep StreamingDistributionList # 
type Rep StreamingDistributionList = D1 (MetaData "StreamingDistributionList" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "StreamingDistributionList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sdlItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StreamingDistributionSummary]))) ((:*:) (S1 (MetaSel (Just Symbol "_sdlNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sdlMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_sdlMaxItems") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) ((:*:) (S1 (MetaSel (Just Symbol "_sdlIsTruncated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_sdlQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))))

streamingDistributionList #

Creates a value of StreamingDistributionList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • sdlItems - A complex type that contains one StreamingDistributionSummary element for each distribution that was created by the current AWS account.
  • sdlNextMarker - If IsTruncated is true , this element is present and contains the value you can use for the Marker request parameter to continue listing your RTMP distributions where they left off.
  • sdlMarker - The value you provided for the Marker request parameter.
  • sdlMaxItems - The value you provided for the MaxItems request parameter.
  • sdlIsTruncated - A flag that indicates whether more streaming distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.
  • sdlQuantity - The number of streaming distributions that were created by the current AWS account.

sdlItems :: Lens' StreamingDistributionList [StreamingDistributionSummary] #

A complex type that contains one StreamingDistributionSummary element for each distribution that was created by the current AWS account.

sdlNextMarker :: Lens' StreamingDistributionList (Maybe Text) #

If IsTruncated is true , this element is present and contains the value you can use for the Marker request parameter to continue listing your RTMP distributions where they left off.

sdlMarker :: Lens' StreamingDistributionList Text #

The value you provided for the Marker request parameter.

sdlMaxItems :: Lens' StreamingDistributionList Int #

The value you provided for the MaxItems request parameter.

sdlIsTruncated :: Lens' StreamingDistributionList Bool #

A flag that indicates whether more streaming distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

sdlQuantity :: Lens' StreamingDistributionList Int #

The number of streaming distributions that were created by the current AWS account.

StreamingDistributionSummary

data StreamingDistributionSummary #

A summary of the information for an Amazon CloudFront streaming distribution.

See: streamingDistributionSummary smart constructor.

Instances

Eq StreamingDistributionSummary # 
Data StreamingDistributionSummary # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StreamingDistributionSummary -> c StreamingDistributionSummary #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StreamingDistributionSummary #

toConstr :: StreamingDistributionSummary -> Constr #

dataTypeOf :: StreamingDistributionSummary -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StreamingDistributionSummary) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StreamingDistributionSummary) #

gmapT :: (forall b. Data b => b -> b) -> StreamingDistributionSummary -> StreamingDistributionSummary #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StreamingDistributionSummary -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StreamingDistributionSummary -> r #

gmapQ :: (forall d. Data d => d -> u) -> StreamingDistributionSummary -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StreamingDistributionSummary -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StreamingDistributionSummary -> m StreamingDistributionSummary #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingDistributionSummary -> m StreamingDistributionSummary #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingDistributionSummary -> m StreamingDistributionSummary #

Read StreamingDistributionSummary # 
Show StreamingDistributionSummary # 
Generic StreamingDistributionSummary # 
Hashable StreamingDistributionSummary # 
NFData StreamingDistributionSummary # 
FromXML StreamingDistributionSummary # 
type Rep StreamingDistributionSummary # 

streamingDistributionSummary #

Creates a value of StreamingDistributionSummary with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • sdsId - The identifier for the distribution. For example: EDFDVBD632BHDS5 .
  • sdsARN - The ARN (Amazon Resource Name) for the streaming distribution. For example: arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5 , where 123456789012 is your AWS account ID.
  • sdsStatus - Indicates the current status of the distribution. When the status is Deployed , the distribution's information is fully propagated throughout the Amazon CloudFront system.
  • sdsLastModifiedTime - The date and time the distribution was last modified.
  • sdsDomainName - The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net .
  • sdsS3Origin - A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
  • sdsAliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
  • sdsTrustedSigners - A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled , and specify the applicable values for Quantity and Items .If you don't want to require signed URLs in requests for objects that match PathPattern , specify false for Enabled and 0 for Quantity . Omit Items . To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false ), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.
  • sdsComment - The comment originally specified when this distribution was created.
  • sdsPriceClass - Undocumented member.
  • sdsEnabled - Whether the distribution is enabled to accept end user requests for content.

sdsId :: Lens' StreamingDistributionSummary Text #

The identifier for the distribution. For example: EDFDVBD632BHDS5 .

sdsARN :: Lens' StreamingDistributionSummary Text #

The ARN (Amazon Resource Name) for the streaming distribution. For example: arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5 , where 123456789012 is your AWS account ID.

sdsStatus :: Lens' StreamingDistributionSummary Text #

Indicates the current status of the distribution. When the status is Deployed , the distribution's information is fully propagated throughout the Amazon CloudFront system.

sdsLastModifiedTime :: Lens' StreamingDistributionSummary UTCTime #

The date and time the distribution was last modified.

sdsDomainName :: Lens' StreamingDistributionSummary Text #

The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net .

sdsS3Origin :: Lens' StreamingDistributionSummary S3Origin #

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

sdsAliases :: Lens' StreamingDistributionSummary Aliases #

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

sdsTrustedSigners :: Lens' StreamingDistributionSummary TrustedSigners #

A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled , and specify the applicable values for Quantity and Items .If you don't want to require signed URLs in requests for objects that match PathPattern , specify false for Enabled and 0 for Quantity . Omit Items . To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false ), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.

sdsComment :: Lens' StreamingDistributionSummary Text #

The comment originally specified when this distribution was created.

sdsEnabled :: Lens' StreamingDistributionSummary Bool #

Whether the distribution is enabled to accept end user requests for content.

StreamingLoggingConfig

data StreamingLoggingConfig #

A complex type that controls whether access logs are written for this streaming distribution.

See: streamingLoggingConfig smart constructor.

Instances

Eq StreamingLoggingConfig # 
Data StreamingLoggingConfig # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StreamingLoggingConfig -> c StreamingLoggingConfig #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StreamingLoggingConfig #

toConstr :: StreamingLoggingConfig -> Constr #

dataTypeOf :: StreamingLoggingConfig -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StreamingLoggingConfig) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StreamingLoggingConfig) #

gmapT :: (forall b. Data b => b -> b) -> StreamingLoggingConfig -> StreamingLoggingConfig #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StreamingLoggingConfig -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StreamingLoggingConfig -> r #

gmapQ :: (forall d. Data d => d -> u) -> StreamingLoggingConfig -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StreamingLoggingConfig -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StreamingLoggingConfig -> m StreamingLoggingConfig #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingLoggingConfig -> m StreamingLoggingConfig #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingLoggingConfig -> m StreamingLoggingConfig #

Read StreamingLoggingConfig # 
Show StreamingLoggingConfig # 
Generic StreamingLoggingConfig # 
Hashable StreamingLoggingConfig # 
NFData StreamingLoggingConfig # 

Methods

rnf :: StreamingLoggingConfig -> () #

FromXML StreamingLoggingConfig # 
ToXML StreamingLoggingConfig # 
type Rep StreamingLoggingConfig # 
type Rep StreamingLoggingConfig = D1 (MetaData "StreamingLoggingConfig" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "StreamingLoggingConfig'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_slcEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) ((:*:) (S1 (MetaSel (Just Symbol "_slcBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_slcPrefix") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

streamingLoggingConfig #

Creates a value of StreamingLoggingConfig with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • slcEnabled - Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a streaming distribution or if you want to disable logging for an existing streaming distribution, specify false for Enabled , and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix , the values are automatically deleted.
  • slcBucket - The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com .
  • slcPrefix - An optional string that you want CloudFront to prefix to the access log filenames for this streaming distribution, for example, myprefix/ . If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.

slcEnabled :: Lens' StreamingLoggingConfig Bool #

Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a streaming distribution or if you want to disable logging for an existing streaming distribution, specify false for Enabled , and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix , the values are automatically deleted.

slcBucket :: Lens' StreamingLoggingConfig Text #

The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com .

slcPrefix :: Lens' StreamingLoggingConfig Text #

An optional string that you want CloudFront to prefix to the access log filenames for this streaming distribution, for example, myprefix/ . If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.

Tag

data Tag #

A complex type that contains Tag key and Tag value.

See: tag smart constructor.

Instances

Eq Tag # 

Methods

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

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

Data Tag # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Tag -> c Tag #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Tag #

toConstr :: Tag -> Constr #

dataTypeOf :: Tag -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Tag) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Tag) #

gmapT :: (forall b. Data b => b -> b) -> Tag -> Tag #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Tag -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Tag -> r #

gmapQ :: (forall d. Data d => d -> u) -> Tag -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Tag -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Tag -> m Tag #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Tag -> m Tag #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Tag -> m Tag #

Read Tag # 
Show Tag # 

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag # 

Associated Types

type Rep Tag :: * -> * #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Hashable Tag # 

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

NFData Tag # 

Methods

rnf :: Tag -> () #

FromXML Tag # 

Methods

parseXML :: [Node] -> Either String Tag #

ToXML Tag # 

Methods

toXML :: Tag -> XML #

type Rep Tag # 
type Rep Tag = D1 (MetaData "Tag" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "Tag'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tagValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tagKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

tag #

Arguments

:: Text

tagKey

-> Tag 

Creates a value of Tag with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • tagValue - A string that contains an optional Tag value. The string length should be between 0 and 256 characters. Valid characters include a-z , A-Z , 0-9 , space, and the special characters _ - . : / = + @ .
  • tagKey - A string that contains Tag key. The string length should be between 1 and 128 characters. Valid characters include a-z , A-Z , 0-9 , space, and the special characters _ - . : / = + @ .

tagValue :: Lens' Tag (Maybe Text) #

A string that contains an optional Tag value. The string length should be between 0 and 256 characters. Valid characters include a-z , A-Z , 0-9 , space, and the special characters _ - . : / = + @ .

tagKey :: Lens' Tag Text #

A string that contains Tag key. The string length should be between 1 and 128 characters. Valid characters include a-z , A-Z , 0-9 , space, and the special characters _ - . : / = + @ .

TagKeys

data TagKeys #

A complex type that contains zero or more Tag elements.

See: tagKeys smart constructor.

Instances

Eq TagKeys # 

Methods

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

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

Data TagKeys # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TagKeys -> c TagKeys #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TagKeys #

toConstr :: TagKeys -> Constr #

dataTypeOf :: TagKeys -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TagKeys) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TagKeys) #

gmapT :: (forall b. Data b => b -> b) -> TagKeys -> TagKeys #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TagKeys -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TagKeys -> r #

gmapQ :: (forall d. Data d => d -> u) -> TagKeys -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TagKeys -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TagKeys -> m TagKeys #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TagKeys -> m TagKeys #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TagKeys -> m TagKeys #

Read TagKeys # 
Show TagKeys # 
Generic TagKeys # 

Associated Types

type Rep TagKeys :: * -> * #

Methods

from :: TagKeys -> Rep TagKeys x #

to :: Rep TagKeys x -> TagKeys #

Hashable TagKeys # 

Methods

hashWithSalt :: Int -> TagKeys -> Int #

hash :: TagKeys -> Int #

NFData TagKeys # 

Methods

rnf :: TagKeys -> () #

ToXML TagKeys # 

Methods

toXML :: TagKeys -> XML #

type Rep TagKeys # 
type Rep TagKeys = D1 (MetaData "TagKeys" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" True) (C1 (MetaCons "TagKeys'" PrefixI True) (S1 (MetaSel (Just Symbol "_tkItems") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

tagKeys :: TagKeys #

Creates a value of TagKeys with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • tkItems - A complex type that contains Tag key elements.

tkItems :: Lens' TagKeys [Text] #

A complex type that contains Tag key elements.

Tags

data Tags #

A complex type that contains zero or more Tag elements.

See: tags smart constructor.

Instances

Eq Tags # 

Methods

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

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

Data Tags # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Tags -> c Tags #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Tags #

toConstr :: Tags -> Constr #

dataTypeOf :: Tags -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Tags) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Tags) #

gmapT :: (forall b. Data b => b -> b) -> Tags -> Tags #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Tags -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Tags -> r #

gmapQ :: (forall d. Data d => d -> u) -> Tags -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Tags -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Tags -> m Tags #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Tags -> m Tags #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Tags -> m Tags #

Read Tags # 
Show Tags # 

Methods

showsPrec :: Int -> Tags -> ShowS #

show :: Tags -> String #

showList :: [Tags] -> ShowS #

Generic Tags # 

Associated Types

type Rep Tags :: * -> * #

Methods

from :: Tags -> Rep Tags x #

to :: Rep Tags x -> Tags #

Hashable Tags # 

Methods

hashWithSalt :: Int -> Tags -> Int #

hash :: Tags -> Int #

NFData Tags # 

Methods

rnf :: Tags -> () #

FromXML Tags # 

Methods

parseXML :: [Node] -> Either String Tags #

ToXML Tags # 

Methods

toXML :: Tags -> XML #

type Rep Tags # 
type Rep Tags = D1 (MetaData "Tags" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" True) (C1 (MetaCons "Tags'" PrefixI True) (S1 (MetaSel (Just Symbol "_tItems") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Tag]))))

tags :: Tags #

Creates a value of Tags with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • tItems - A complex type that contains Tag elements.

tItems :: Lens' Tags [Tag] #

A complex type that contains Tag elements.

TrustedSigners

data TrustedSigners #

A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content.

If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled , and specify the applicable values for Quantity and Items . For more information, see Serving Private Content through CloudFront in the Amazon Amazon CloudFront Developer Guide .

If you don't want to require signed URLs in requests for objects that match PathPattern , specify false for Enabled and 0 for Quantity . Omit Items .

To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false ), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.

For more information about updating the distribution configuration, see DistributionConfig .

See: trustedSigners smart constructor.

Instances

Eq TrustedSigners # 
Data TrustedSigners # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TrustedSigners -> c TrustedSigners #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TrustedSigners #

toConstr :: TrustedSigners -> Constr #

dataTypeOf :: TrustedSigners -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TrustedSigners) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TrustedSigners) #

gmapT :: (forall b. Data b => b -> b) -> TrustedSigners -> TrustedSigners #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TrustedSigners -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TrustedSigners -> r #

gmapQ :: (forall d. Data d => d -> u) -> TrustedSigners -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TrustedSigners -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TrustedSigners -> m TrustedSigners #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TrustedSigners -> m TrustedSigners #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TrustedSigners -> m TrustedSigners #

Read TrustedSigners # 
Show TrustedSigners # 
Generic TrustedSigners # 

Associated Types

type Rep TrustedSigners :: * -> * #

Hashable TrustedSigners # 
NFData TrustedSigners # 

Methods

rnf :: TrustedSigners -> () #

FromXML TrustedSigners # 
ToXML TrustedSigners # 

Methods

toXML :: TrustedSigners -> XML #

type Rep TrustedSigners # 
type Rep TrustedSigners = D1 (MetaData "TrustedSigners" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "TrustedSigners'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tsItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_tsEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_tsQuantity") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

trustedSigners #

Creates a value of TrustedSigners with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • tsItems - Optional : A complex type that contains trusted signers for this cache behavior. If Quantity is 0 , you can omit Items .
  • tsEnabled - Specifies whether you want to require viewers to use signed URLs to access the files specified by PathPattern and TargetOriginId .
  • tsQuantity - The number of trusted signers for this cache behavior.

tsItems :: Lens' TrustedSigners [Text] #

Optional : A complex type that contains trusted signers for this cache behavior. If Quantity is 0 , you can omit Items .

tsEnabled :: Lens' TrustedSigners Bool #

Specifies whether you want to require viewers to use signed URLs to access the files specified by PathPattern and TargetOriginId .

tsQuantity :: Lens' TrustedSigners Int #

The number of trusted signers for this cache behavior.

ViewerCertificate

data ViewerCertificate #

A complex type that specifies the following:

  • Which SSL/TLS certificate to use when viewers request objects using HTTPS
  • Whether you want CloudFront to use dedicated IP addresses or SNI when you're using alternate domain names in your object names
  • The minimum protocol version that you want CloudFront to use when communicating with viewers

For more information, see Using an HTTPS Connection to Access Your Objects in the Amazon Amazon CloudFront Developer Guide .

See: viewerCertificate smart constructor.

Instances

Eq ViewerCertificate # 
Data ViewerCertificate # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ViewerCertificate -> c ViewerCertificate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ViewerCertificate #

toConstr :: ViewerCertificate -> Constr #

dataTypeOf :: ViewerCertificate -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ViewerCertificate) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ViewerCertificate) #

gmapT :: (forall b. Data b => b -> b) -> ViewerCertificate -> ViewerCertificate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ViewerCertificate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ViewerCertificate -> r #

gmapQ :: (forall d. Data d => d -> u) -> ViewerCertificate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ViewerCertificate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ViewerCertificate -> m ViewerCertificate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ViewerCertificate -> m ViewerCertificate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ViewerCertificate -> m ViewerCertificate #

Read ViewerCertificate # 
Show ViewerCertificate # 
Generic ViewerCertificate # 
Hashable ViewerCertificate # 
NFData ViewerCertificate # 

Methods

rnf :: ViewerCertificate -> () #

FromXML ViewerCertificate # 
ToXML ViewerCertificate # 
type Rep ViewerCertificate # 
type Rep ViewerCertificate = D1 (MetaData "ViewerCertificate" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "ViewerCertificate'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_vcSSLSupportMethod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SSLSupportMethod))) ((:*:) (S1 (MetaSel (Just Symbol "_vcACMCertificateARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_vcCertificateSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CertificateSource))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_vcMinimumProtocolVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MinimumProtocolVersion))) (S1 (MetaSel (Just Symbol "_vcCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_vcIAMCertificateId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_vcCloudFrontDefaultCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))))

viewerCertificate :: ViewerCertificate #

Creates a value of ViewerCertificate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • vcSSLSupportMethod - If you specify a value for ACMCertificateArn or for IAMCertificateId , you must also specify how you want CloudFront to serve HTTPS requests: using a method that works for all clients or one that works for most clients: * vip : CloudFront uses dedicated IP addresses for your content and can respond to HTTPS requests from any viewer. However, you must request permission to use this feature, and you incur additional monthly charges. * sni-only : CloudFront can respond to HTTPS requests from viewers that support Server Name Indication (SNI). All modern browsers support SNI, but some browsers still in use don't support SNI. If some of your users' browsers don't support SNI, we recommend that you do one of the following: * Use the vip option (dedicated IP addresses) instead of sni-only . * Use the CloudFront SSLTLS certificate instead of a custom certificate. This requires that you use the CloudFront domain name of your distribution in the URLs for your objects, for example, @https:d111111abcdef8.cloudfront.netlogo.png . * If you can control which browser your users use, upgrade the browser to one that supports SNI. * Use HTTP instead of HTTPS. Do not specify a value for SSLSupportMethod if you specified CloudFrontDefaultCertificatetrueCloudFrontDefaultCertificate@ . For more information, see Using Alternate Domain Names and HTTPS in the Amazon CloudFront Developer Guide .
  • vcACMCertificateARN - If you want viewers to use HTTPS to request your objects and you're using an alternate domain name in your object URLs (for example, https://example.com/logo.jpg) , specify the ACM certificate ARN of the custom viewer certificate for this distribution. Specify either this value, IAMCertificateId , or CloudFrontDefaultCertificate .
  • vcCertificateSource -
  • vcMinimumProtocolVersion - Specify the minimum version of the SSLTLS protocol that you want CloudFront to use for HTTPS connections between viewers and CloudFront: SSLv3 or TLSv1 . CloudFront serves your objects only to viewers that support SSLTLS version that you specify and later versions. The TLSv1 protocol is more secure, so we recommend that you specify SSLv3 only if your users are using browsers or devices that don't support TLSv1 . Note the following: * If you specify CloudFrontDefaultCertificatetrueCloudFrontDefaultCertificate, the minimum SSL protocol version is TLSv1 and can't be changed. * If you're using a custom certificate (if you specify a value for ACMCertificateArn or for IAMCertificateId ) and if you're using SNI (if you specify sni-only for SSLSupportMethod ), you must specify TLSv1 for MinimumProtocolVersion .
  • vcCertificate - Include one of these values to specify the following: * Whether you want viewers to use HTTP or HTTPS to request your objects. * If you want viewers to use HTTPS, whether you're using an alternate domain name such as example.com or the CloudFront domain name for your distribution, such as d111111abcdef8.cloudfront.net . * If you're using an alternate domain name, whether AWS Certificate Manager (ACM) provided the certificate, or you purchased a certificate from a third-party certificate authority and imported it into ACM or uploaded it to the IAM certificate store. You must specify one (and only one) of the three values. Do not specify false for CloudFrontDefaultCertificate . If you want viewers to use HTTP to request your objects : Specify the following value: CloudFrontDefaultCertificatetrueCloudFrontDefaultCertificate In addition, specify allow-all for ViewerProtocolPolicy for all of your cache behaviors. If you want viewers to use HTTPS to request your objects : Choose the type of certificate that you want to use based on whether you're using an alternate domain name for your objects or the CloudFront domain name: * If you're using an alternate domain name, such as example.com : Specify one of the following values, depending on whether ACM provided your certificate or you purchased your certificate from third-party certificate authority: * ACMCertificateArnARN for ACM SSL/TLS certificateACMCertificateArn where ARN for ACM SSLTLS certificate is the ARN for the ACM SSLTLS certificate that you want to use for this distribution. * IAMCertificateIdIAM certificate IDIAMCertificateId where IAM certificate ID is the ID that IAM returned when you added the certificate to the IAM certificate store. If you specify ACMCertificateArn or IAMCertificateId , you must also specify a value for SSLSupportMethod . If you choose to use an ACM certificate or a certificate in the IAM certificate store, we recommend that you use only an alternate domain name in your object URLs (https://example.com/logo.jpg ). If you use the domain name that is associated with your CloudFront distribution (https://d111111abcdef8.cloudfront.net/logo.jpg ) and the viewer supports SNI , then CloudFront behaves normally. However, if the browser does not support SNI, the user's experience depends on the value that you choose for SSLSupportMethod : * vip : The viewer displays a warning because there is a mismatch between the CloudFront domain name and the domain name in your SSLTLS certificate. * sni-only : CloudFront drops the connection with the browser without returning the object. * If you're using the CloudFront domain name for your distribution, such as d111111abcdef8.cloudfront.net : Specify the following value: CloudFrontDefaultCertificatetrueCloudFrontDefaultCertificate If you want viewers to use HTTPS, you must also specify one of the following values in your cache behaviors: * ViewerProtocolPolicyhttps-onlyViewerProtocolPolicy * ViewerProtocolPolicyredirect-to-httpsViewerProtocolPolicy You can also optionally require that CloudFront use HTTPS to communicate with your origin by specifying one of the following values for the applicable origins: * OriginProtocolPolicyhttps-onlyOriginProtocolPolicy * OriginProtocolPolicymatch-viewerOriginProtocolPolicy For more information, see <http:docs.aws.amazon.comAmazonCloudFrontlatestDeveloperGuideSecureConnections.html#CNAMEsAndHTTPS Using Alternate Domain Names and HTTPS> in the Amazon CloudFront Developer Guide/ .
  • vcIAMCertificateId - If you want viewers to use HTTPS to request your objects and you're using an alternate domain name in your object URLs (for example, https://example.com/logo.jpg) , specify the IAM certificate identifier of the custom viewer certificate for this distribution. Specify either this value, ACMCertificateArn , or CloudFrontDefaultCertificate .
  • vcCloudFrontDefaultCertificate - If you want viewers to use HTTPS to request your objects and you're using the CloudFront domain name of your distribution in your object URLs (for example, https://d111111abcdef8.cloudfront.net/logo.jpg ), set to true . Omit this value if you are setting an ACMCertificateArn or IAMCertificateId .

vcSSLSupportMethod :: Lens' ViewerCertificate (Maybe SSLSupportMethod) #

If you specify a value for ACMCertificateArn or for IAMCertificateId , you must also specify how you want CloudFront to serve HTTPS requests: using a method that works for all clients or one that works for most clients: * vip : CloudFront uses dedicated IP addresses for your content and can respond to HTTPS requests from any viewer. However, you must request permission to use this feature, and you incur additional monthly charges. * sni-only : CloudFront can respond to HTTPS requests from viewers that support Server Name Indication (SNI). All modern browsers support SNI, but some browsers still in use don't support SNI. If some of your users' browsers don't support SNI, we recommend that you do one of the following: * Use the vip option (dedicated IP addresses) instead of sni-only . * Use the CloudFront SSLTLS certificate instead of a custom certificate. This requires that you use the CloudFront domain name of your distribution in the URLs for your objects, for example, @https:d111111abcdef8.cloudfront.netlogo.png . * If you can control which browser your users use, upgrade the browser to one that supports SNI. * Use HTTP instead of HTTPS. Do not specify a value for SSLSupportMethod if you specified CloudFrontDefaultCertificatetrueCloudFrontDefaultCertificate@ . For more information, see Using Alternate Domain Names and HTTPS in the Amazon CloudFront Developer Guide .

vcACMCertificateARN :: Lens' ViewerCertificate (Maybe Text) #

If you want viewers to use HTTPS to request your objects and you're using an alternate domain name in your object URLs (for example, https://example.com/logo.jpg) , specify the ACM certificate ARN of the custom viewer certificate for this distribution. Specify either this value, IAMCertificateId , or CloudFrontDefaultCertificate .

vcMinimumProtocolVersion :: Lens' ViewerCertificate (Maybe MinimumProtocolVersion) #

Specify the minimum version of the SSLTLS protocol that you want CloudFront to use for HTTPS connections between viewers and CloudFront: SSLv3 or TLSv1 . CloudFront serves your objects only to viewers that support SSLTLS version that you specify and later versions. The TLSv1 protocol is more secure, so we recommend that you specify SSLv3 only if your users are using browsers or devices that don't support TLSv1 . Note the following: * If you specify CloudFrontDefaultCertificatetrueCloudFrontDefaultCertificate, the minimum SSL protocol version is TLSv1 and can't be changed. * If you're using a custom certificate (if you specify a value for ACMCertificateArn or for IAMCertificateId ) and if you're using SNI (if you specify sni-only for SSLSupportMethod ), you must specify TLSv1 for MinimumProtocolVersion .

vcCertificate :: Lens' ViewerCertificate (Maybe Text) #

Include one of these values to specify the following: * Whether you want viewers to use HTTP or HTTPS to request your objects. * If you want viewers to use HTTPS, whether you're using an alternate domain name such as example.com or the CloudFront domain name for your distribution, such as d111111abcdef8.cloudfront.net . * If you're using an alternate domain name, whether AWS Certificate Manager (ACM) provided the certificate, or you purchased a certificate from a third-party certificate authority and imported it into ACM or uploaded it to the IAM certificate store. You must specify one (and only one) of the three values. Do not specify false for CloudFrontDefaultCertificate . If you want viewers to use HTTP to request your objects : Specify the following value: CloudFrontDefaultCertificatetrueCloudFrontDefaultCertificate In addition, specify allow-all for ViewerProtocolPolicy for all of your cache behaviors. If you want viewers to use HTTPS to request your objects : Choose the type of certificate that you want to use based on whether you're using an alternate domain name for your objects or the CloudFront domain name: * If you're using an alternate domain name, such as example.com : Specify one of the following values, depending on whether ACM provided your certificate or you purchased your certificate from third-party certificate authority: * ACMCertificateArnARN for ACM SSL/TLS certificateACMCertificateArn where ARN for ACM SSLTLS certificate is the ARN for the ACM SSLTLS certificate that you want to use for this distribution. * IAMCertificateIdIAM certificate IDIAMCertificateId where IAM certificate ID is the ID that IAM returned when you added the certificate to the IAM certificate store. If you specify ACMCertificateArn or IAMCertificateId , you must also specify a value for SSLSupportMethod . If you choose to use an ACM certificate or a certificate in the IAM certificate store, we recommend that you use only an alternate domain name in your object URLs (https://example.com/logo.jpg ). If you use the domain name that is associated with your CloudFront distribution (https://d111111abcdef8.cloudfront.net/logo.jpg ) and the viewer supports SNI , then CloudFront behaves normally. However, if the browser does not support SNI, the user's experience depends on the value that you choose for SSLSupportMethod : * vip : The viewer displays a warning because there is a mismatch between the CloudFront domain name and the domain name in your SSLTLS certificate. * sni-only : CloudFront drops the connection with the browser without returning the object. * If you're using the CloudFront domain name for your distribution, such as d111111abcdef8.cloudfront.net : Specify the following value: CloudFrontDefaultCertificatetrueCloudFrontDefaultCertificate If you want viewers to use HTTPS, you must also specify one of the following values in your cache behaviors: * ViewerProtocolPolicyhttps-onlyViewerProtocolPolicy * ViewerProtocolPolicyredirect-to-httpsViewerProtocolPolicy You can also optionally require that CloudFront use HTTPS to communicate with your origin by specifying one of the following values for the applicable origins: * OriginProtocolPolicyhttps-onlyOriginProtocolPolicy * OriginProtocolPolicymatch-viewerOriginProtocolPolicy For more information, see <http:docs.aws.amazon.comAmazonCloudFrontlatestDeveloperGuideSecureConnections.html#CNAMEsAndHTTPS Using Alternate Domain Names and HTTPS> in the Amazon CloudFront Developer Guide/ .

vcIAMCertificateId :: Lens' ViewerCertificate (Maybe Text) #

If you want viewers to use HTTPS to request your objects and you're using an alternate domain name in your object URLs (for example, https://example.com/logo.jpg) , specify the IAM certificate identifier of the custom viewer certificate for this distribution. Specify either this value, ACMCertificateArn , or CloudFrontDefaultCertificate .

vcCloudFrontDefaultCertificate :: Lens' ViewerCertificate (Maybe Bool) #

If you want viewers to use HTTPS to request your objects and you're using the CloudFront domain name of your distribution in your object URLs (for example, https://d111111abcdef8.cloudfront.net/logo.jpg ), set to true . Omit this value if you are setting an ACMCertificateArn or IAMCertificateId .