amazonka-cloudfront-1.5.0: Amazon CloudFront SDK.

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

Network.AWS.CloudFront

Contents

Description

Amazon CloudFront is a web service that speeds up distribution of your static and dynamic web content, for example, .html, .css, .php, image, and media files, to end users. CloudFront delivers your content through a worldwide network of edge locations. When an end user requests content that you're serving with CloudFront, the user is routed to the edge location that provides the lowest latency, so content is delivered with the best possible performance. If the content is already in that edge location, CloudFront delivers it immediately. If the content is not currently in that edge location, CloudFront retrieves it from an Amazon S3 bucket or an HTTP server (for example, a web server) that you have identified as the source for the definitive version of your content.

Synopsis

Service Configuration

cloudFront :: Service Source #

API version 2017-03-25 of the Amazon CloudFront SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by CloudFront.

TooManyOriginCustomHeaders

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

Prism for TooManyOriginCustomHeaders' errors.

InvalidTagging

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

Prism for InvalidTagging' errors.

InvalidErrorCode

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

Prism for InvalidErrorCode' errors.

InvalidOriginReadTimeout

_InvalidOriginReadTimeout :: AsError a => Getting (First ServiceError) a ServiceError Source #

Prism for InvalidOriginReadTimeout' errors.

TooManyCacheBehaviors

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

You cannot create more cache behaviors for the distribution.

TooManyCloudFrontOriginAccessIdentities

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

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

InvalidOriginAccessIdentity

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

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

DistributionNotDisabled

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

Prism for DistributionNotDisabled' errors.

NoSuchStreamingDistribution

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

The specified streaming distribution does not exist.

InconsistentQuantities

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

The value of Quantity and the size of Items don't match.

InvalidArgument

InvalidOriginKeepaliveTimeout

_InvalidOriginKeepaliveTimeout :: AsError a => Getting (First ServiceError) a ServiceError Source #

Prism for InvalidOriginKeepaliveTimeout' errors.

TooManyInvalidationsInProgress

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

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

InvalidWebACLId

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

Prism for InvalidWebACLId' errors.

TooManyQueryStringParameters

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

Prism for TooManyQueryStringParameters' errors.

TooManyDistributionCNAMEs

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

Your request contains more CNAMEs than are allowed per distribution.

NoSuchCloudFrontOriginAccessIdentity

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

The specified origin access identity does not exist.

CloudFrontOriginAccessIdentityInUse

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

Prism for CloudFrontOriginAccessIdentityInUse' errors.

TooManyStreamingDistributions

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

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

BatchTooLarge

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

Prism for BatchTooLarge' errors.

TooManyCookieNamesInWhiteList

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

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

InvalidLambdaFunctionAssociation

_InvalidLambdaFunctionAssociation :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified Lambda function association is invalid.

InvalidForwardCookies

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

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

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

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

InvalidOrigin

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

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

NoSuchInvalidation

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

The specified invalidation does not exist.

NoSuchOrigin

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

No origin exists with the specified Origin Id .

InvalidTTLOrder

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

Prism for InvalidTTLOrder' errors.

StreamingDistributionNotDisabled

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

Prism for StreamingDistributionNotDisabled' errors.

TooManyHeadersInForwardedValues

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

Prism for TooManyHeadersInForwardedValues' errors.

NoSuchResource

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

Prism for NoSuchResource' errors.

TooManyStreamingDistributionCNAMEs

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

Prism for TooManyStreamingDistributionCNAMEs' errors.

ResourceInUse

_ResourceInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #

Prism for ResourceInUse' errors.

InvalidRequiredProtocol

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

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

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

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

TooManyCertificates

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

You cannot create anymore custom SSL/TLS certificates.

DistributionAlreadyExists

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

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

InvalidQueryStringParameters

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

Prism for InvalidQueryStringParameters' errors.

MissingBody

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

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

IllegalUpdate

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

Origin and CallerReference cannot be updated.

InvalidIfMatchVersion

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

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

PreconditionFailed

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

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

InvalidResponseCode

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

Prism for InvalidResponseCode' errors.

InvalidHeadersForS3Origin

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

Prism for InvalidHeadersForS3Origin' errors.

CNAMEAlreadyExists

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

Prism for CNAMEAlreadyExists' errors.

TrustedSignerDoesNotExist

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

One or more of your trusted signers don't exist.

InvalidProtocolSettings

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

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

TooManyLambdaFunctionAssociations

_TooManyLambdaFunctionAssociations :: AsError a => Getting (First ServiceError) a ServiceError Source #

Your request contains more Lambda function associations than are allowed per distribution.

CloudFrontOriginAccessIdentityAlreadyExists

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

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

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

You cannot create more origins for the distribution.

InvalidRelativePath

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

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

StreamingDistributionAlreadyExists

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

Prism for StreamingDistributionAlreadyExists' errors.

InvalidMinimumProtocolVersion

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

Prism for InvalidMinimumProtocolVersion' errors.

AccessDenied

InvalidViewerCertificate

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

Prism for InvalidViewerCertificate' errors.

NoSuchDistribution

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

The specified distribution does not exist.

InvalidDefaultRootObject

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

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

TooManyDistributionsWithLambdaAssociations

_TooManyDistributionsWithLambdaAssociations :: AsError a => Getting (First ServiceError) a ServiceError Source #

Processing your request would cause the maximum number of distributions with Lambda function associations per owner to be exceeded.

InvalidGeoRestrictionParameter

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

Prism for InvalidGeoRestrictionParameter' errors.

InvalidLocationCode

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

Prism for InvalidLocationCode' errors.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

StreamingDistributionDeployed

streamingDistributionDeployed :: Wait GetStreamingDistribution Source #

Polls GetStreamingDistribution every 60 seconds until a successful state is reached. An error is returned after 25 failed checks.

DistributionDeployed

distributionDeployed :: Wait GetDistribution Source #

Polls GetDistribution every 60 seconds until a successful state is reached. An error is returned after 25 failed checks.

InvalidationCompleted

invalidationCompleted :: Wait GetInvalidation Source #

Polls GetInvalidation every 20 seconds until a successful state is reached. An error is returned after 60 failed checks.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

DeleteStreamingDistribution

UpdateStreamingDistribution

ListTagsForResource

CreateDistributionWithTags

CreateDistribution

GetDistributionConfig

CreateStreamingDistributionWithTags

DeleteServiceLinkedRole

GetDistribution

UpdateCloudFrontOriginAccessIdentity

DeleteCloudFrontOriginAccessIdentity

ListStreamingDistributions (Paginated)

GetStreamingDistributionConfig

GetCloudFrontOriginAccessIdentityConfig

CreateStreamingDistribution

CreateCloudFrontOriginAccessIdentity

ListCloudFrontOriginAccessIdentities (Paginated)

GetInvalidation

ListInvalidations (Paginated)

CreateInvalidation

GetCloudFrontOriginAccessIdentity

TagResource

GetStreamingDistribution

UpdateDistribution

DeleteDistribution

UntagResource

ListDistributionsByWebACLId

ListDistributions (Paginated)

Types

CertificateSource

data CertificateSource Source #

Constructors

Acm 
Cloudfront 
IAM 

Instances

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

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 Source # 
Read CertificateSource Source # 
Show CertificateSource Source # 
Generic CertificateSource Source # 
Hashable CertificateSource Source # 
NFData CertificateSource Source # 

Methods

rnf :: CertificateSource -> () #

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

EventType

data EventType Source #

Instances

Bounded EventType Source # 
Enum EventType Source # 
Eq EventType Source # 
Data EventType Source # 

Methods

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

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

toConstr :: EventType -> Constr #

dataTypeOf :: EventType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord EventType Source # 
Read EventType Source # 
Show EventType Source # 
Generic EventType Source # 

Associated Types

type Rep EventType :: * -> * #

Hashable EventType Source # 
NFData EventType Source # 

Methods

rnf :: EventType -> () #

FromXML EventType Source # 
ToXML EventType Source # 

Methods

toXML :: EventType -> XML #

ToQuery EventType Source # 
ToHeader EventType Source # 
ToByteString EventType Source # 

Methods

toBS :: EventType -> ByteString #

FromText EventType Source # 
ToText EventType Source # 

Methods

toText :: EventType -> Text #

type Rep EventType Source # 
type Rep EventType = D1 (MetaData "EventType" "Network.AWS.CloudFront.Types.Sum" "amazonka-cloudfront-1.5.0-Dxb5BZwkJKgBNtTmWcA8zz" False) ((:+:) ((:+:) (C1 (MetaCons "OriginRequest" PrefixI False) U1) (C1 (MetaCons "OriginResponse" PrefixI False) U1)) ((:+:) (C1 (MetaCons "ViewerRequest" PrefixI False) U1) (C1 (MetaCons "ViewerResponse" PrefixI False) U1)))

GeoRestrictionType

data GeoRestrictionType Source #

Constructors

Blacklist 
None 
Whitelist 

Instances

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

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 Source # 
Read GeoRestrictionType Source # 
Show GeoRestrictionType Source # 
Generic GeoRestrictionType Source # 
Hashable GeoRestrictionType Source # 
NFData GeoRestrictionType Source # 

Methods

rnf :: GeoRestrictionType -> () #

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

HTTPVersion

data HTTPVersion Source #

Constructors

HTTP1_1 
HTTP2 

Instances

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

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 Source # 
Read HTTPVersion Source # 
Show HTTPVersion Source # 
Generic HTTPVersion Source # 

Associated Types

type Rep HTTPVersion :: * -> * #

Hashable HTTPVersion Source # 
NFData HTTPVersion Source # 

Methods

rnf :: HTTPVersion -> () #

FromXML HTTPVersion Source # 
ToXML HTTPVersion Source # 

Methods

toXML :: HTTPVersion -> XML #

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

Methods

toText :: HTTPVersion -> Text #

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

ItemSelection

data ItemSelection Source #

Constructors

ISAll 
ISNone 
ISWhitelist 

Instances

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

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 Source # 
Read ItemSelection Source # 
Show ItemSelection Source # 
Generic ItemSelection Source # 

Associated Types

type Rep ItemSelection :: * -> * #

Hashable ItemSelection Source # 
NFData ItemSelection Source # 

Methods

rnf :: ItemSelection -> () #

FromXML ItemSelection Source # 
ToXML ItemSelection Source # 

Methods

toXML :: ItemSelection -> XML #

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

Methods

toText :: ItemSelection -> Text #

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

Method

data Method Source #

Constructors

Delete 
Get 
Head 
Options 
Patch 
Post 
Put 

Instances

Bounded Method Source # 
Enum Method Source # 
Eq Method Source # 

Methods

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

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

Data Method Source # 

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 Source # 
Read Method Source # 
Show Method Source # 
Generic Method Source # 

Associated Types

type Rep Method :: * -> * #

Methods

from :: Method -> Rep Method x #

to :: Rep Method x -> Method #

Hashable Method Source # 

Methods

hashWithSalt :: Int -> Method -> Int #

hash :: Method -> Int #

NFData Method Source # 

Methods

rnf :: Method -> () #

FromXML Method Source # 
ToXML Method Source # 

Methods

toXML :: Method -> XML #

ToQuery Method Source # 
ToHeader Method Source # 

Methods

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

ToByteString Method Source # 

Methods

toBS :: Method -> ByteString #

FromText Method Source # 

Methods

parser :: Parser Method #

ToText Method Source # 

Methods

toText :: Method -> Text #

type Rep Method Source # 
type Rep Method = D1 (MetaData "Method" "Network.AWS.CloudFront.Types.Sum" "amazonka-cloudfront-1.5.0-Dxb5BZwkJKgBNtTmWcA8zz" 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 Source #

Instances

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

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 Source # 
Read MinimumProtocolVersion Source # 
Show MinimumProtocolVersion Source # 
Generic MinimumProtocolVersion Source # 
Hashable MinimumProtocolVersion Source # 
NFData MinimumProtocolVersion Source # 

Methods

rnf :: MinimumProtocolVersion -> () #

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

OriginProtocolPolicy

data OriginProtocolPolicy Source #

Instances

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

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 Source # 
Read OriginProtocolPolicy Source # 
Show OriginProtocolPolicy Source # 
Generic OriginProtocolPolicy Source # 
Hashable OriginProtocolPolicy Source # 
NFData OriginProtocolPolicy Source # 

Methods

rnf :: OriginProtocolPolicy -> () #

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

PriceClass

data PriceClass Source #

Instances

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

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 Source # 
Read PriceClass Source # 
Show PriceClass Source # 
Generic PriceClass Source # 

Associated Types

type Rep PriceClass :: * -> * #

Hashable PriceClass Source # 
NFData PriceClass Source # 

Methods

rnf :: PriceClass -> () #

FromXML PriceClass Source # 
ToXML PriceClass Source # 

Methods

toXML :: PriceClass -> XML #

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

Methods

toText :: PriceClass -> Text #

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

SSLProtocol

data SSLProtocol Source #

Constructors

SSLV3 
TLSV1 
TLSV1_1 
TLSV1_2 

Instances

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

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 Source # 
Read SSLProtocol Source # 
Show SSLProtocol Source # 
Generic SSLProtocol Source # 

Associated Types

type Rep SSLProtocol :: * -> * #

Hashable SSLProtocol Source # 
NFData SSLProtocol Source # 

Methods

rnf :: SSLProtocol -> () #

FromXML SSLProtocol Source # 
ToXML SSLProtocol Source # 

Methods

toXML :: SSLProtocol -> XML #

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

Methods

toText :: SSLProtocol -> Text #

type Rep SSLProtocol Source # 
type Rep SSLProtocol = D1 (MetaData "SSLProtocol" "Network.AWS.CloudFront.Types.Sum" "amazonka-cloudfront-1.5.0-Dxb5BZwkJKgBNtTmWcA8zz" 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 Source #

Constructors

SNIOnly 
VIP 

Instances

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

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 Source # 
Read SSLSupportMethod Source # 
Show SSLSupportMethod Source # 
Generic SSLSupportMethod Source # 
Hashable SSLSupportMethod Source # 
NFData SSLSupportMethod Source # 

Methods

rnf :: SSLSupportMethod -> () #

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

ViewerProtocolPolicy

data ViewerProtocolPolicy Source #

Instances

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

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 Source # 
Read ViewerProtocolPolicy Source # 
Show ViewerProtocolPolicy Source # 
Generic ViewerProtocolPolicy Source # 
Hashable ViewerProtocolPolicy Source # 
NFData ViewerProtocolPolicy Source # 

Methods

rnf :: ViewerProtocolPolicy -> () #

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

ActiveTrustedSigners

data ActiveTrustedSigners Source #

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 Source # 
Data ActiveTrustedSigners Source # 

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 Source # 
Show ActiveTrustedSigners Source # 
Generic ActiveTrustedSigners Source # 
Hashable ActiveTrustedSigners Source # 
NFData ActiveTrustedSigners Source # 

Methods

rnf :: ActiveTrustedSigners -> () #

FromXML ActiveTrustedSigners Source # 
type Rep ActiveTrustedSigners Source # 
type Rep ActiveTrustedSigners = D1 (MetaData "ActiveTrustedSigners" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.5.0-Dxb5BZwkJKgBNtTmWcA8zz" 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 DecidedStrict) (Rec0 Int)))))

activeTrustedSigners Source #

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] Source #

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 Source #

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 Source #

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 Source #

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

See: aliases smart constructor.

Instances

Eq Aliases Source # 

Methods

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

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

Data Aliases Source # 

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 Source # 
Show Aliases Source # 
Generic Aliases Source # 

Associated Types

type Rep Aliases :: * -> * #

Methods

from :: Aliases -> Rep Aliases x #

to :: Rep Aliases x -> Aliases #

Hashable Aliases Source # 

Methods

hashWithSalt :: Int -> Aliases -> Int #

hash :: Aliases -> Int #

NFData Aliases Source # 

Methods

rnf :: Aliases -> () #

FromXML Aliases Source # 
ToXML Aliases Source # 

Methods

toXML :: Aliases -> XML #

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

aliases Source #

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] Source #

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

aQuantity :: Lens' Aliases Int Source #

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

AllowedMethods

data AllowedMethods Source #

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 Source # 
Data AllowedMethods Source # 

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 Source # 
Show AllowedMethods Source # 
Generic AllowedMethods Source # 

Associated Types

type Rep AllowedMethods :: * -> * #

Hashable AllowedMethods Source # 
NFData AllowedMethods Source # 

Methods

rnf :: AllowedMethods -> () #

FromXML AllowedMethods Source # 
ToXML AllowedMethods Source # 

Methods

toXML :: AllowedMethods -> XML #

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

allowedMethods Source #

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 Source #

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] Source #

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

CacheBehavior

data CacheBehavior Source #

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 Source # 
Data CacheBehavior Source # 

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 Source # 
Show CacheBehavior Source # 
Generic CacheBehavior Source # 

Associated Types

type Rep CacheBehavior :: * -> * #

Hashable CacheBehavior Source # 
NFData CacheBehavior Source # 

Methods

rnf :: CacheBehavior -> () #

FromXML CacheBehavior Source # 
ToXML CacheBehavior Source # 

Methods

toXML :: CacheBehavior -> XML #

type Rep CacheBehavior Source # 
type Rep CacheBehavior = D1 (MetaData "CacheBehavior" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.5.0-Dxb5BZwkJKgBNtTmWcA8zz" False) (C1 (MetaCons "CacheBehavior'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cbAllowedMethods") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AllowedMethods))) ((:*:) (S1 (MetaSel (Just Symbol "_cbLambdaFunctionAssociations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LambdaFunctionAssociations))) (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 Source #

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.
  • cbLambdaFunctionAssociations - A complex type that contains zero or more Lambda function associations for a cache behavior.
  • 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 ).

cbLambdaFunctionAssociations :: Lens' CacheBehavior (Maybe LambdaFunctionAssociations) Source #

A complex type that contains zero or more Lambda function associations for a cache behavior.

cbMaxTTL :: Lens' CacheBehavior (Maybe Integer) Source #

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) Source #

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) Source #

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) Source #

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 Source #

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 Source #

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 Source #

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

cbTrustedSigners :: Lens' CacheBehavior TrustedSigners Source #

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 Source #

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 Source #

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 Source #

A complex type that contains zero or more CacheBehavior elements.

See: cacheBehaviors smart constructor.

Instances

Eq CacheBehaviors Source # 
Data CacheBehaviors Source # 

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 Source # 
Show CacheBehaviors Source # 
Generic CacheBehaviors Source # 

Associated Types

type Rep CacheBehaviors :: * -> * #

Hashable CacheBehaviors Source # 
NFData CacheBehaviors Source # 

Methods

rnf :: CacheBehaviors -> () #

FromXML CacheBehaviors Source # 
ToXML CacheBehaviors Source # 

Methods

toXML :: CacheBehaviors -> XML #

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

cacheBehaviors Source #

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] Source #

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

cbQuantity :: Lens' CacheBehaviors Int Source #

The number of cache behaviors for this distribution.

CachedMethods

data CachedMethods Source #

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 Source # 
Data CachedMethods Source # 

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 Source # 
Show CachedMethods Source # 
Generic CachedMethods Source # 

Associated Types

type Rep CachedMethods :: * -> * #

Hashable CachedMethods Source # 
NFData CachedMethods Source # 

Methods

rnf :: CachedMethods -> () #

FromXML CachedMethods Source # 
ToXML CachedMethods Source # 

Methods

toXML :: CachedMethods -> XML #

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

cachedMethods Source #

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 Source #

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] Source #

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

CloudFrontOriginAccessIdentity

data CloudFrontOriginAccessIdentity Source #

CloudFront origin access identity.

See: cloudFrontOriginAccessIdentity smart constructor.

Instances

Eq CloudFrontOriginAccessIdentity Source # 
Data CloudFrontOriginAccessIdentity Source # 

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 Source # 
Show CloudFrontOriginAccessIdentity Source # 
Generic CloudFrontOriginAccessIdentity Source # 
Hashable CloudFrontOriginAccessIdentity Source # 
NFData CloudFrontOriginAccessIdentity Source # 
FromXML CloudFrontOriginAccessIdentity Source # 
type Rep CloudFrontOriginAccessIdentity Source # 
type Rep CloudFrontOriginAccessIdentity = D1 (MetaData "CloudFrontOriginAccessIdentity" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.5.0-Dxb5BZwkJKgBNtTmWcA8zz" 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 Source #

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 Source #

The ID for the origin access identity, for example, E74FTE3AJFJ256A .

cfoaiS3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentity Text Source #

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 Source #

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

See: cloudFrontOriginAccessIdentityConfig smart constructor.

Instances

Eq CloudFrontOriginAccessIdentityConfig Source # 
Data CloudFrontOriginAccessIdentityConfig Source # 

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 Source # 
Show CloudFrontOriginAccessIdentityConfig Source # 
Generic CloudFrontOriginAccessIdentityConfig Source # 
Hashable CloudFrontOriginAccessIdentityConfig Source # 
NFData CloudFrontOriginAccessIdentityConfig Source # 
FromXML CloudFrontOriginAccessIdentityConfig Source # 
ToXML CloudFrontOriginAccessIdentityConfig Source # 
type Rep CloudFrontOriginAccessIdentityConfig Source # 
type Rep CloudFrontOriginAccessIdentityConfig = D1 (MetaData "CloudFrontOriginAccessIdentityConfig" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.5.0-Dxb5BZwkJKgBNtTmWcA8zz" 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 Source #

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 Source #

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 Source #

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

CloudFrontOriginAccessIdentityList

data CloudFrontOriginAccessIdentityList Source #

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 Source # 
Data CloudFrontOriginAccessIdentityList Source # 

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 Source # 
Show CloudFrontOriginAccessIdentityList Source # 
Generic CloudFrontOriginAccessIdentityList Source # 
Hashable CloudFrontOriginAccessIdentityList Source # 
NFData CloudFrontOriginAccessIdentityList Source # 
FromXML CloudFrontOriginAccessIdentityList Source # 
type Rep CloudFrontOriginAccessIdentityList Source # 
type Rep CloudFrontOriginAccessIdentityList = D1 (MetaData "CloudFrontOriginAccessIdentityList" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.5.0-Dxb5BZwkJKgBNtTmWcA8zz" 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 DecidedStrict) (Rec0 Int)) ((:*:) (S1 (MetaSel (Just Symbol "_cfoailIsTruncated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_cfoailQuantity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))

cloudFrontOriginAccessIdentityList Source #

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] Source #

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) Source #

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 Source #

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 Source #

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

cfoailIsTruncated :: Lens' CloudFrontOriginAccessIdentityList Bool Source #

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 Source #

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

CloudFrontOriginAccessIdentitySummary

data CloudFrontOriginAccessIdentitySummary Source #

Summary of the information about a CloudFront origin access identity.

See: cloudFrontOriginAccessIdentitySummary smart constructor.

Instances

Eq CloudFrontOriginAccessIdentitySummary Source # 
Data CloudFrontOriginAccessIdentitySummary Source # 

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 Source # 
Show CloudFrontOriginAccessIdentitySummary Source # 
Generic CloudFrontOriginAccessIdentitySummary Source # 
Hashable CloudFrontOriginAccessIdentitySummary Source # 
NFData CloudFrontOriginAccessIdentitySummary Source # 
FromXML CloudFrontOriginAccessIdentitySummary Source # 
type Rep CloudFrontOriginAccessIdentitySummary Source # 
type Rep CloudFrontOriginAccessIdentitySummary = D1 (MetaData "CloudFrontOriginAccessIdentitySummary" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.5.0-Dxb5BZwkJKgBNtTmWcA8zz" 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 Source #

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 Source #

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

cfoaisS3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentitySummary Text Source #

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 Source #

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

CookieNames

data CookieNames Source #

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 Source # 
Data CookieNames Source # 

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 Source # 
Show CookieNames Source # 
Generic CookieNames Source # 

Associated Types

type Rep CookieNames :: * -> * #

Hashable CookieNames Source # 
NFData CookieNames Source # 

Methods

rnf :: CookieNames -> () #

FromXML CookieNames Source # 
ToXML CookieNames Source # 

Methods

toXML :: CookieNames -> XML #

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

cookieNames Source #

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] Source #

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 Source #

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

CookiePreference

data CookiePreference Source #

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 Source # 
Data CookiePreference Source # 

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 Source # 
Show CookiePreference Source # 
Generic CookiePreference Source # 
Hashable CookiePreference Source # 
NFData CookiePreference Source # 

Methods

rnf :: CookiePreference -> () #

FromXML CookiePreference Source # 
ToXML CookiePreference Source # 
type Rep CookiePreference Source # 
type Rep CookiePreference = D1 (MetaData "CookiePreference" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.5.0-Dxb5BZwkJKgBNtTmWcA8zz" 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 Source #

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) Source #

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 Source #

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 Source #

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 Source # 
Data CustomErrorResponse Source # 

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 Source # 
Show CustomErrorResponse Source # 
Generic CustomErrorResponse Source # 
Hashable CustomErrorResponse Source # 
NFData CustomErrorResponse Source # 

Methods

rnf :: CustomErrorResponse -> () #

FromXML CustomErrorResponse Source # 
ToXML CustomErrorResponse Source # 
type Rep CustomErrorResponse Source # 
type Rep CustomErrorResponse = D1 (MetaData "CustomErrorResponse" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.5.0-Dxb5BZwkJKgBNtTmWcA8zz" 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 DecidedStrict) (Rec0 Int)))))

customErrorResponse Source #

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) Source #

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) Source #

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) Source #

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 Source #

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

CustomErrorResponses

data CustomErrorResponses Source #

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 Source # 
Data CustomErrorResponses Source # 

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 Source # 
Show CustomErrorResponses Source # 
Generic CustomErrorResponses Source # 
Hashable CustomErrorResponses Source # 
NFData CustomErrorResponses Source # 

Methods

rnf :: CustomErrorResponses -> () #

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

customErrorResponses Source #

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] Source #

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 Source #

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 Source #

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

See: customHeaders smart constructor.

Instances

Eq CustomHeaders Source # 
Data CustomHeaders Source # 

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 Source # 
Show CustomHeaders Source # 
Generic CustomHeaders Source # 

Associated Types

type Rep CustomHeaders :: * -> * #

Hashable CustomHeaders Source # 
NFData CustomHeaders Source # 

Methods

rnf :: CustomHeaders -> () #

FromXML CustomHeaders Source #