amazonka-cloudfront-1.4.1: Amazon CloudFront SDK.

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

Network.AWS.CloudFront

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 '2016-01-28' 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.

InvalidErrorCode

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

Prism for InvalidErrorCode' errors.

TooManyCacheBehaviors

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

You cannot create anymore 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 do not match.

InvalidArgument

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.

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.

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.

TooManyStreamingDistributionCNAMEs

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

Prism for TooManyStreamingDistributionCNAMEs' 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 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.

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 do not 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).

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

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

CreateDistribution

GetDistributionConfig

GetDistribution

UpdateCloudFrontOriginAccessIdentity

DeleteCloudFrontOriginAccessIdentity

ListStreamingDistributions (Paginated)

GetStreamingDistributionConfig

GetCloudFrontOriginAccessIdentityConfig

CreateStreamingDistribution

CreateCloudFrontOriginAccessIdentity

ListCloudFrontOriginAccessIdentities (Paginated)

GetInvalidation

ListInvalidations (Paginated)

CreateInvalidation

GetCloudFrontOriginAccessIdentity

GetStreamingDistribution

UpdateDistribution

DeleteDistribution

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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) ((:+:) (C1 (MetaCons "Acm" PrefixI False) U1) ((:+:) (C1 (MetaCons "Cloudfront" PrefixI False) U1) (C1 (MetaCons "IAM" 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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) ((:+:) (C1 (MetaCons "Blacklist" PrefixI False) U1) ((:+:) (C1 (MetaCons "None" PrefixI False) U1) (C1 (MetaCons "Whitelist" 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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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 #

Constructors

MPVSSLV3 
MPVTLSV1 

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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) ((:+:) (C1 (MetaCons "MPVSSLV3" PrefixI False) U1) (C1 (MetaCons "MPVTLSV1" 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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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 the default cache behavior or for any of the other cache behaviors for this distribution. These are accounts that you want to allow to create signed URLs for private content.

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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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 :: Lens' ActiveTrustedSigners [Signer] Source #

A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.

atsEnabled :: Lens' ActiveTrustedSigners Bool Source #

Each active trusted signer.

atsQuantity :: Lens' ActiveTrustedSigners Int Source #

The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.

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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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 :: Lens' Aliases [Text] Source #

Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.

aQuantity :: Lens' Aliases Int Source #

The number of CNAMEs, if any, for 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 may not want users to have permission 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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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:

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 can create up to 10 cache behaviors.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 will never be used. 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.

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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) (C1 (MetaCons "CacheBehavior'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cbAllowedMethods") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AllowedMethods))) (S1 (MetaSel (Just Symbol "_cbMaxTTL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)))) ((:*:) (S1 (MetaSel (Just Symbol "_cbCompress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_cbSmoothStreaming") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_cbDefaultTTL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cbPathPattern") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_cbTargetOriginId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cbForwardedValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ForwardedValues)))) ((:*:) (S1 (MetaSel (Just Symbol "_cbTrustedSigners") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TrustedSigners)) ((:*:) (S1 (MetaSel (Just Symbol "_cbViewerProtocolPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ViewerProtocolPolicy)) (S1 (MetaSel (Just Symbol "_cbMinTTL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Integer)))))))

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

The maximum amount of time (in seconds) that an object is in a CloudFront cache 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. You can specify a value from 0 to 3,153,600,000 seconds (100 years).

cbCompress :: Lens' CacheBehavior (Maybe Bool) Source #

Whether you want CloudFront to automatically compress content for web requests that include Accept-Encoding: gzip in the request header. If so, specify true; if not, specify false. CloudFront compresses files larger than 1000 bytes and less than 1 megabyte for both Amazon S3 and custom origins. When a CloudFront edge location is unusually busy, some files might not be compressed. The value of the Content-Type header must be on the list of file types that CloudFront will compress. For the current list, see Serving Compressed Content in the Amazon CloudFront Developer Guide. If you configure CloudFront to compress content, CloudFront removes the ETag response header from the objects that it compresses. The ETag header indicates that the version in a CloudFront edge cache is identical to the version on the origin server, but after compression the two versions are no longer identical. As a result, for compressed objects, CloudFront can't use the ETag header to determine whether an expired object in the CloudFront edge cache is still the latest version.

cbSmoothStreaming :: Lens' CacheBehavior (Maybe Bool) Source #

Indicates whether you want to distribute media files in Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true; if not, specify false.

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

If you don't configure your origin to add a Cache-Control max-age directive or an Expires header, DefaultTTL is the default amount of time (in seconds) that an object is in a CloudFront cache 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. You can specify a value from 0 to 3,153,600,000 seconds (100 years).

cbPathPattern :: Lens' CacheBehavior Text Source #

The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user 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.

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, cookies and headers.

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, go to Using a Signed URL to Serve Private Content in the 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 #

Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https. If you want CloudFront to respond to an HTTP request with an HTTP status code of 301 (Moved Permanently) and the HTTPS URL, specify redirect-to-https. The viewer then resubmits the request using the HTTPS URL.

cbMinTTL :: Lens' CacheBehavior Integer Source #

The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).

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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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 :: 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 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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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 :: 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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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:

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, which you use when giving the origin access identity read permission to an object in Amazon S3.

CloudFrontOriginAccessIdentityConfig

data CloudFrontOriginAccessIdentityConfig Source #

Origin access identity configuration.

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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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 :: 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 you already sent in a previous request to create an identity, 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 #

The CloudFrontOriginAccessIdentityList type.

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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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))))))

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 #

The value you provided for the Marker request parameter.

cfoailMaxItems :: Lens' CloudFrontOriginAccessIdentityList Int Source #

The value you provided for the MaxItems request parameter.

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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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 :: 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 the whitelisted cookies, if any, that you want CloudFront to forward to your origin that is associated with this cache behavior.

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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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 :: Lens' CookieNames [Text] Source #

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

cnQuantity :: Lens' CookieNames Int Source #

The number of whitelisted cookies for this cache behavior.

CookiePreference

data CookiePreference Source #

A complex type that specifies the cookie preferences associated with this cache behavior.

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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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 :: Lens' CookiePreference (Maybe CookieNames) Source #

A complex type that specifies the whitelisted cookies, if any, that you want CloudFront to forward to your origin that is associated with this cache behavior.

cpForward :: Lens' CookiePreference ItemSelection Source #

Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. You can specify all, none or whitelist. If you choose All, CloudFront forwards all cookies regardless of how many your application uses.

CustomErrorResponse

data CustomErrorResponse Source #

A complex type that describes how you'd prefer CloudFront to respond to requests that result in either a 4xx or 5xx response. You can control whether a custom error page should be displayed, what the desired response code should be for this error page and how long should the error response be cached by CloudFront. If you don't want to specify any custom error responses, include only an empty CustomErrorResponses element. To delete all custom error responses in an existing distribution, update the distribution configuration and include only an empty CustomErrorResponses element. To add, change, or remove one or more custom error responses, update the distribution configuration and specify all of the custom error responses that you want to include in the updated distribution.

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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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 :: Lens' CustomErrorResponse (Maybe Text) Source #

The path of the custom error page (for example, /custom_404.html). The path is relative to the distribution and must begin with a slash (/). If the path includes any non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not return the custom error page to the viewer.

ceResponseCode :: Lens' CustomErrorResponse (Maybe Text) Source #

The HTTP status code that you want CloudFront to return with the custom error page to the viewer. For a list of HTTP status codes that you can replace, see CloudFront Documentation.

ceErrorCachingMinTTL :: Lens' CustomErrorResponse (Maybe Integer) Source #

The minimum amount of time you want HTTP error codes to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated. You can specify a value from 0 to 31,536,000.

ceErrorCode :: Lens' CustomErrorResponse Int Source #

The 4xx or 5xx HTTP status code that you want to customize. For a list of HTTP status codes that you can customize, see CloudFront documentation.

CustomErrorResponses

data CustomErrorResponses Source #

A complex type that contains zero or more CustomErrorResponse elements.

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.4.1-Ka7B7rdKDAQ5wuKrODiOcr" 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 :: Lens' CustomErrorResponses [CustomErrorResponse] Source #

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

cerQuantity :: Lens' CustomErrorResponses Int Source #

The number of custom error responses for this distribution.

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

Methods

toXML :: CustomHeaders -> XML #

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

customHeaders Source #

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

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

chItems :: Lens' CustomHeaders [OriginCustomHeader] Source #

A complex type that contains the custom headers for this Origin.

chQuantity :: Lens' CustomHeaders Int Source #

The number of custom headers for this origin.

CustomOriginConfig

data CustomOriginConfig Source #

A customer origin.

See: customOriginConfig smart constructor.

Instances

Eq CustomOriginConfig Source # 
Data CustomOriginConfig Source # 

Methods

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

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

toConstr :: CustomOriginConfig -> Constr #

dataTypeOf :: CustomOriginConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: CustomOriginConfig -> () #

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

customOriginConfig Source #

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

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

cocOriginSSLProtocols :: Lens' CustomOriginConfig (Maybe OriginSSLProtocols) Source #

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

cocHTTPPort :: Lens' CustomOriginConfig Int Source #

The HTTP port the custom origin listens on.

cocHTTPSPort :: Lens' CustomOriginConfig Int Source #

The HTTPS port the custom origin listens on.

cocOriginProtocolPolicy :: Lens' CustomOriginConfig OriginProtocolPolicy Source #

The origin protocol policy to apply to your origin.

DefaultCacheBehavior

data DefaultCacheBehavior Source #

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

See: defaultCacheBehavior smart constructor.

Instances

Eq DefaultCacheBehavior Source # 
Data DefaultCacheBehavior Source # 

Methods

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

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

toConstr :: DefaultCacheBehavior -> Constr #

dataTypeOf :: DefaultCacheBehavior -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DefaultCacheBehavior -> () #

FromXML DefaultCacheBehavior Source # 
ToXML DefaultCacheBehavior Source # 
type Rep DefaultCacheBehavior Source # 

dcbMaxTTL :: Lens' DefaultCacheBehavior (Maybe Integer) Source #

The maximum amount of time (in seconds) that an object is in a CloudFront cache 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. You can specify a value from 0 to 3,153,600,000 seconds (100 years).

dcbCompress :: Lens' DefaultCacheBehavior (Maybe Bool) Source #

Whether you want CloudFront to automatically compress content for web requests that include Accept-Encoding: gzip in the request header. If so, specify true; if not, specify false. CloudFront compresses files larger than 1000 bytes and less than 1 megabyte for both Amazon S3 and custom origins. When a CloudFront edge location is unusually busy, some files might not be compressed. The value of the Content-Type header must be on the list of file types that CloudFront will compress. For the current list, see Serving Compressed Content in the Amazon CloudFront Developer Guide. If you configure CloudFront to compress content, CloudFront removes the ETag response header from the objects that it compresses. The ETag header indicates that the version in a CloudFront edge cache is identical to the version on the origin server, but after compression the two versions are no longer identical. As a result, for compressed objects, CloudFront can't use the ETag header to determine whether an expired object in the CloudFront edge cache is still the latest version.

dcbSmoothStreaming :: Lens' DefaultCacheBehavior (Maybe Bool) Source #

Indicates whether you want to distribute media files in Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true; if not, specify false.

dcbDefaultTTL :: Lens' DefaultCacheBehavior (Maybe Integer) Source #

If you don't configure your origin to add a Cache-Control max-age directive or an Expires header, DefaultTTL is the default amount of time (in seconds) that an object is in a CloudFront cache 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. You can specify a value from 0 to 3,153,600,000 seconds (100 years).

dcbTargetOriginId :: Lens' DefaultCacheBehavior 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.

dcbForwardedValues :: Lens' DefaultCacheBehavior ForwardedValues Source #

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

dcbTrustedSigners :: Lens' DefaultCacheBehavior 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, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.

dcbViewerProtocolPolicy :: Lens' DefaultCacheBehavior ViewerProtocolPolicy Source #

Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https. If you want CloudFront to respond to an HTTP request with an HTTP status code of 301 (Moved Permanently) and the HTTPS URL, specify redirect-to-https. The viewer then resubmits the request using the HTTPS URL.

dcbMinTTL :: Lens' DefaultCacheBehavior Integer Source #

The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).

Distribution

data Distribution Source #

A distribution.

See: distribution smart constructor.

Instances

Eq Distribution Source # 
Data Distribution Source # 

Methods

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

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

toConstr :: Distribution -> Constr #

dataTypeOf :: Distribution -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Distribution Source # 
Show Distribution Source # 
Generic Distribution Source # 

Associated Types

type Rep Distribution :: * -> * #

Hashable Distribution Source # 
NFData Distribution Source # 

Methods

rnf :: Distribution -> () #

FromXML Distribution Source # 
type Rep Distribution Source # 
type Rep Distribution = D1 (MetaData "Distribution" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) (C1 (MetaCons "Distribution'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_dStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dLastModifiedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ISO8601)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dInProgressInvalidationBatches") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_dDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dActiveTrustedSigners") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ActiveTrustedSigners)) (S1 (MetaSel (Just Symbol "_dDistributionConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DistributionConfig))))))

dId :: Lens' Distribution Text Source #

The identifier for the distribution. For example: EDFDVBD632BHDS5.

dStatus :: Lens' Distribution Text Source #

This response element indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system.

dLastModifiedTime :: Lens' Distribution UTCTime Source #

The date and time the distribution was last modified.

dInProgressInvalidationBatches :: Lens' Distribution Int Source #

The number of invalidation batches currently in progress.

dDomainName :: Lens' Distribution Text Source #

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

dActiveTrustedSigners :: Lens' Distribution ActiveTrustedSigners Source #

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

dDistributionConfig :: Lens' Distribution DistributionConfig Source #

The current configuration information for the distribution.

DistributionConfig

data DistributionConfig Source #

A distribution Configuration.

See: distributionConfig smart constructor.

Instances

Eq DistributionConfig Source # 
Data DistributionConfig Source # 

Methods

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

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

toConstr :: DistributionConfig -> Constr #

dataTypeOf :: DistributionConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DistributionConfig -> () #

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

dcAliases :: Lens' DistributionConfig (Maybe Aliases) Source #

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

dcDefaultRootObject :: Lens' DistributionConfig (Maybe Text) Source #

The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/index.html). Specifying a default root object avoids exposing the contents of your distribution. If you don't want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object.

dcPriceClass :: Lens' DistributionConfig (Maybe PriceClass) Source #

A complex type that contains information about price class for this distribution.

dcCustomErrorResponses :: Lens' DistributionConfig (Maybe CustomErrorResponses) Source #

A complex type that contains zero or more CustomErrorResponse elements.

dcWebACLId :: Lens' DistributionConfig (Maybe Text) Source #

(Optional) If you're using AWS WAF to filter CloudFront requests, the Id of the AWS WAF web ACL that is associated with the distribution.

dcLogging :: Lens' DistributionConfig (Maybe LoggingConfig) Source #

A complex type that controls whether access logs are written for the distribution.

dcCacheBehaviors :: Lens' DistributionConfig (Maybe CacheBehaviors) Source #

A complex type that contains zero or more CacheBehavior elements.

dcCallerReference :: Lens' DistributionConfig Text Source #

A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig 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 a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.

dcOrigins :: Lens' DistributionConfig Origins Source #

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

dcDefaultCacheBehavior :: Lens' DistributionConfig DefaultCacheBehavior Source #

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

dcComment :: Lens' DistributionConfig Text Source #

Any comments you want to include about the distribution.

dcEnabled :: Lens' DistributionConfig Bool Source #

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

DistributionList

data DistributionList Source #

A distribution list.

See: distributionList smart constructor.

Instances

Eq DistributionList Source # 
Data DistributionList Source # 

Methods

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

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

toConstr :: DistributionList -> Constr #

dataTypeOf :: DistributionList -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DistributionList -> () #

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

distributionList Source #

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

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

dlItems :: Lens' DistributionList [DistributionSummary] Source #

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

dlNextMarker :: Lens' DistributionList (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 distributions where they left off.

dlMarker :: Lens' DistributionList Text Source #

The value you provided for the Marker request parameter.

dlMaxItems :: Lens' DistributionList Int Source #

The value you provided for the MaxItems request parameter.

dlIsTruncated :: Lens' DistributionList Bool Source #

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

dlQuantity :: Lens' DistributionList Int Source #

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

DistributionSummary

data DistributionSummary Source #

A summary of the information for an Amazon CloudFront distribution.

See: distributionSummary smart constructor.

Instances

Eq DistributionSummary Source # 
Data DistributionSummary Source # 

Methods

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

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

toConstr :: DistributionSummary -> Constr #

dataTypeOf :: DistributionSummary -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DistributionSummary -> () #

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

dsId :: Lens' DistributionSummary Text Source #

The identifier for the distribution. For example: EDFDVBD632BHDS5.

dsStatus :: Lens' DistributionSummary Text Source #

This response element indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system.

dsLastModifiedTime :: Lens' DistributionSummary UTCTime Source #

The date and time the distribution was last modified.

dsDomainName :: Lens' DistributionSummary Text Source #

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

dsAliases :: Lens' DistributionSummary Aliases Source #

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

dsOrigins :: Lens' DistributionSummary Origins Source #

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

dsDefaultCacheBehavior :: Lens' DistributionSummary DefaultCacheBehavior Source #

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

dsCacheBehaviors :: Lens' DistributionSummary CacheBehaviors Source #

A complex type that contains zero or more CacheBehavior elements.

dsCustomErrorResponses :: Lens' DistributionSummary CustomErrorResponses Source #

A complex type that contains zero or more CustomErrorResponses elements.

dsComment :: Lens' DistributionSummary Text Source #

The comment originally specified when this distribution was created.

dsEnabled :: Lens' DistributionSummary Bool Source #

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

dsWebACLId :: Lens' DistributionSummary Text Source #

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

ForwardedValues

data ForwardedValues Source #

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

See: forwardedValues smart constructor.

Instances

Eq ForwardedValues Source # 
Data ForwardedValues Source # 

Methods

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

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

toConstr :: ForwardedValues -> Constr #

dataTypeOf :: ForwardedValues -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ForwardedValues -> () #

FromXML ForwardedValues Source # 
ToXML ForwardedValues Source # 

Methods

toXML :: ForwardedValues -> XML #

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

forwardedValues Source #

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

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

fvHeaders :: Lens' ForwardedValues (Maybe Headers) Source #

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

fvQueryString :: Lens' ForwardedValues Bool Source #

Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.

fvCookies :: Lens' ForwardedValues CookiePreference Source #

A complex type that specifies how CloudFront handles cookies.

GeoRestriction

data GeoRestriction Source #

A complex type that controls the countries in which your content is distributed. For more information about geo restriction, go to Customizing Error Responses in the Amazon CloudFront Developer Guide. CloudFront determines the location of your users using MaxMind GeoIP databases. For information about the accuracy of these databases, see How accurate are your GeoIP databases? on the MaxMind website.

See: geoRestriction smart constructor.

Instances

Eq GeoRestriction Source # 
Data GeoRestriction Source # 

Methods

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

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

toConstr :: GeoRestriction -> Constr #

dataTypeOf :: GeoRestriction -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GeoRestriction Source # 
Show GeoRestriction Source # 
Generic GeoRestriction Source # 

Associated Types

type Rep GeoRestriction :: * -> * #

Hashable GeoRestriction Source # 
NFData GeoRestriction Source # 

Methods

rnf :: GeoRestriction -> () #

FromXML GeoRestriction Source # 
ToXML GeoRestriction Source # 

Methods

toXML :: GeoRestriction -> XML #

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

geoRestriction Source #

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

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

grItems :: Lens' GeoRestriction [Text] Source #

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

grRestrictionType :: Lens' GeoRestriction GeoRestrictionType Source #

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

grQuantity :: Lens' GeoRestriction Int Source #

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

Headers

data Headers Source #

A complex type that specifies the headers that you want CloudFront to forward to the origin for this cache behavior. For the headers that you specify, CloudFront also caches separate versions of a given object based on the header values in viewer requests; this is known as varying on headers. For example, suppose viewer requests for logo.jpg contain a custom Product header that has a value of either Acme or Apex, and you configure CloudFront to vary on the Product header. CloudFront forwards the Product header to the origin and caches the response from the origin once for each header value.

See: headers smart constructor.

Instances

Eq Headers Source # 

Methods

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

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

Data Headers Source # 

Methods

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

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

toConstr :: Headers -> Constr #

dataTypeOf :: Headers -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Headers Source # 
Show Headers Source # 
Generic Headers Source # 

Associated Types

type Rep Headers :: * -> * #

Methods

from :: Headers -> Rep Headers x #

to :: Rep Headers x -> Headers #

Hashable Headers Source # 

Methods

hashWithSalt :: Int -> Headers -> Int #

hash :: Headers -> Int #

NFData Headers Source # 

Methods

rnf :: Headers -> () #

FromXML Headers Source # 
ToXML Headers Source # 

Methods

toXML :: Headers -> XML #

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

headers Source #

Arguments

:: Int

hQuantity

-> Headers 

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

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

hItems :: Lens' Headers [Text] Source #

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

hQuantity :: Lens' Headers Int Source #

The number of different headers that you want CloudFront to forward to the origin and to vary on for this cache behavior. The maximum number of headers that you can specify by name is 10. If you want CloudFront to forward all headers to the origin and vary on all of them, specify 1 for Quantity and * for Name. If you don't want CloudFront to forward any additional headers to the origin or to vary on any headers, specify 0 for Quantity and omit Items.

Invalidation

data Invalidation Source #

An invalidation.

See: invalidation smart constructor.

Instances

Eq Invalidation Source # 
Data Invalidation Source # 

Methods

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

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

toConstr :: Invalidation -> Constr #

dataTypeOf :: Invalidation -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Invalidation Source # 
Show Invalidation Source # 
Generic Invalidation Source # 

Associated Types

type Rep Invalidation :: * -> * #

Hashable Invalidation Source # 
NFData Invalidation Source # 

Methods

rnf :: Invalidation -> () #

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

invalidation Source #

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

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

iId :: Lens' Invalidation Text Source #

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

iStatus :: Lens' Invalidation Text Source #

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

iCreateTime :: Lens' Invalidation UTCTime Source #

The date and time the invalidation request was first made.

iInvalidationBatch :: Lens' Invalidation InvalidationBatch Source #

The current invalidation information for the batch request.

InvalidationBatch

data InvalidationBatch Source #

An invalidation batch.

See: invalidationBatch smart constructor.

Instances

Eq InvalidationBatch Source # 
Data InvalidationBatch Source # 

Methods

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

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

toConstr :: InvalidationBatch -> Constr #

dataTypeOf :: InvalidationBatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Read InvalidationBatch Source # 
Show InvalidationBatch Source # 
Generic InvalidationBatch Source # 
Hashable InvalidationBatch Source # 
NFData InvalidationBatch Source # 

Methods

rnf :: InvalidationBatch -> () #

FromXML InvalidationBatch Source # 
ToXML InvalidationBatch Source # 
type Rep InvalidationBatch Source # 
type Rep InvalidationBatch = D1 (MetaData "InvalidationBatch" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) (C1 (MetaCons "InvalidationBatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ibPaths") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Paths)) (S1 (MetaSel (Just Symbol "_ibCallerReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

invalidationBatch Source #

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

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

ibPaths :: Lens' InvalidationBatch Paths Source #

The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.

ibCallerReference :: Lens' InvalidationBatch Text Source #

A unique name that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, 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 a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.

InvalidationList

data InvalidationList Source #

An invalidation list.

See: invalidationList smart constructor.

Instances

Eq InvalidationList Source # 
Data InvalidationList Source # 

Methods

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

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

toConstr :: InvalidationList -> Constr #

dataTypeOf :: InvalidationList -> DataType #

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

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

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

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

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

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

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

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

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

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

Read InvalidationList Source # 
Show InvalidationList Source # 
Generic InvalidationList Source # 
Hashable InvalidationList Source # 
NFData InvalidationList Source # 

Methods

rnf :: InvalidationList -> () #

FromXML InvalidationList Source # 
type Rep InvalidationList Source # 
type Rep InvalidationList = D1 (MetaData "InvalidationList" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) (C1 (MetaCons "InvalidationList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ilItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InvalidationSummary]))) ((:*:) (S1 (MetaSel (Just Symbol "_ilNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ilMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ilMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) ((:*:) (S1 (MetaSel (Just Symbol "_ilIsTruncated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_ilQuantity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))

invalidationList Source #

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

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

ilItems :: Lens' InvalidationList [InvalidationSummary] Source #

A complex type that contains one InvalidationSummary element for each invalidation batch that was created by the current AWS account.

ilNextMarker :: Lens' InvalidationList (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 invalidation batches where they left off.

ilMarker :: Lens' InvalidationList Text Source #

The value you provided for the Marker request parameter.

ilMaxItems :: Lens' InvalidationList Int Source #

The value you provided for the MaxItems request parameter.

ilIsTruncated :: Lens' InvalidationList Bool Source #

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

ilQuantity :: Lens' InvalidationList Int Source #

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

InvalidationSummary

data InvalidationSummary Source #

Summary of an invalidation request.

See: invalidationSummary smart constructor.

Instances

Eq InvalidationSummary Source # 
Data InvalidationSummary Source # 

Methods

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

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

toConstr :: InvalidationSummary -> Constr #

dataTypeOf :: InvalidationSummary -> DataType #

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

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

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

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

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

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

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

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

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

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

Read InvalidationSummary Source # 
Show InvalidationSummary Source # 
Generic InvalidationSummary Source # 
Hashable InvalidationSummary Source # 
NFData InvalidationSummary Source # 

Methods

rnf :: InvalidationSummary -> () #

FromXML InvalidationSummary Source # 
type Rep InvalidationSummary Source # 
type Rep InvalidationSummary = D1 (MetaData "InvalidationSummary" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) (C1 (MetaCons "InvalidationSummary'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_isId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_isCreateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ISO8601)) (S1 (MetaSel (Just Symbol "_isStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

invalidationSummary Source #

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

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

isId :: Lens' InvalidationSummary Text Source #

The unique ID for an invalidation request.

isStatus :: Lens' InvalidationSummary Text Source #

The status of an invalidation request.

KeyPairIds

data KeyPairIds Source #

A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.

See: keyPairIds smart constructor.

Instances

Eq KeyPairIds Source # 
Data KeyPairIds Source # 

Methods

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

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

toConstr :: KeyPairIds -> Constr #

dataTypeOf :: KeyPairIds -> DataType #

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

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

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

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

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

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

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

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

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

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

Read KeyPairIds Source # 
Show KeyPairIds Source # 
Generic KeyPairIds Source # 

Associated Types

type Rep KeyPairIds :: * -> * #

Hashable KeyPairIds Source # 
NFData KeyPairIds Source # 

Methods

rnf :: KeyPairIds -> () #

FromXML KeyPairIds Source # 
type Rep KeyPairIds Source # 
type Rep KeyPairIds = D1 (MetaData "KeyPairIds" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) (C1 (MetaCons "KeyPairIds'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_kpiItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_kpiQuantity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

keyPairIds Source #

Arguments

:: Int

kpiQuantity

-> KeyPairIds 

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

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

kpiItems :: Lens' KeyPairIds [Text] Source #

A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.

kpiQuantity :: Lens' KeyPairIds Int Source #

The number of active CloudFront key pairs for AwsAccountNumber.

LoggingConfig

data LoggingConfig Source #

A complex type that controls whether access logs are written for the distribution.

See: loggingConfig smart constructor.

Instances

Eq LoggingConfig Source # 
Data LoggingConfig Source # 

Methods

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

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

toConstr :: LoggingConfig -> Constr #

dataTypeOf :: LoggingConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Read LoggingConfig Source # 
Show LoggingConfig Source # 
Generic LoggingConfig Source # 

Associated Types

type Rep LoggingConfig :: * -> * #

Hashable LoggingConfig Source # 
NFData LoggingConfig Source # 

Methods

rnf :: LoggingConfig -> () #

FromXML LoggingConfig Source # 
ToXML LoggingConfig Source # 

Methods

toXML :: LoggingConfig -> XML #

type Rep LoggingConfig Source # 
type Rep LoggingConfig = D1 (MetaData "LoggingConfig" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) (C1 (MetaCons "LoggingConfig'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lcEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_lcIncludeCookies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_lcBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_lcPrefix") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

loggingConfig Source #

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

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

lcEnabled :: Lens' LoggingConfig Bool Source #

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

lcIncludeCookies :: Lens' LoggingConfig Bool Source #

Specifies whether you want CloudFront to include cookies in access logs, specify true for IncludeCookies. If you choose to include cookies in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for this distribution. If you do not want to include cookies when you create a distribution or if you want to disable include cookies for an existing distribution, specify false for IncludeCookies.

lcBucket :: Lens' LoggingConfig Text Source #

The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

lcPrefix :: Lens' LoggingConfig Text Source #

An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.

Origin

data Origin Source #

A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.

See: origin smart constructor.

Instances

Eq Origin Source # 

Methods

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

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

Data Origin Source # 

Methods

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

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

toConstr :: Origin -> Constr #

dataTypeOf :: Origin -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Origin Source # 
Show Origin Source # 
Generic Origin Source # 

Associated Types

type Rep Origin :: * -> * #

Methods

from :: Origin -> Rep Origin x #

to :: Rep Origin x -> Origin #

Hashable Origin Source # 

Methods

hashWithSalt :: Int -> Origin -> Int #

hash :: Origin -> Int #

NFData Origin Source # 

Methods

rnf :: Origin -> () #

FromXML Origin Source # 
ToXML Origin Source # 

Methods

toXML :: Origin -> XML #

type Rep Origin Source # 

origin Source #

Arguments

:: Text

oId

-> Text

oDomainName

-> Origin 

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

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

oCustomHeaders :: Lens' Origin (Maybe CustomHeaders) Source #

A complex type that contains information about the custom headers associated with this Origin.

oCustomOriginConfig :: Lens' Origin (Maybe CustomOriginConfig) Source #

A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.

oS3OriginConfig :: Lens' Origin (Maybe S3OriginConfig) Source #

A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.

oOriginPath :: Lens' Origin (Maybe Text) Source #

An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin. When you include the OriginPath element, specify the directory name, beginning with a /. CloudFront appends the directory name to the value of DomainName.

oId :: Lens' Origin Text Source #

A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.

oDomainName :: Lens' Origin Text Source #

Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.

OriginCustomHeader

data OriginCustomHeader Source #

A complex type that contains information related to a Header

See: originCustomHeader smart constructor.

Instances

Eq OriginCustomHeader Source # 
Data OriginCustomHeader Source # 

Methods

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

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

toConstr :: OriginCustomHeader -> Constr #

dataTypeOf :: OriginCustomHeader -> DataType #

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

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

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

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

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

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

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

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

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

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

Read OriginCustomHeader Source # 
Show OriginCustomHeader Source # 
Generic OriginCustomHeader Source # 
Hashable OriginCustomHeader Source # 
NFData OriginCustomHeader Source # 

Methods

rnf :: OriginCustomHeader -> () #

FromXML OriginCustomHeader Source # 
ToXML OriginCustomHeader Source # 
type Rep OriginCustomHeader Source # 
type Rep OriginCustomHeader = D1 (MetaData "OriginCustomHeader" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) (C1 (MetaCons "OriginCustomHeader'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ochHeaderName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ochHeaderValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

originCustomHeader Source #

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

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

OriginSSLProtocols

data OriginSSLProtocols Source #

A complex type that contains the list of SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.

See: originSSLProtocols smart constructor.

Instances

Eq OriginSSLProtocols Source # 
Data OriginSSLProtocols Source # 

Methods

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

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

toConstr :: OriginSSLProtocols -> Constr #

dataTypeOf :: OriginSSLProtocols -> DataType #

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

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

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

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

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

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

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

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

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

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

Read OriginSSLProtocols Source # 
Show OriginSSLProtocols Source # 
Generic OriginSSLProtocols Source # 
Hashable OriginSSLProtocols Source # 
NFData OriginSSLProtocols Source # 

Methods

rnf :: OriginSSLProtocols -> () #

FromXML OriginSSLProtocols Source # 
ToXML OriginSSLProtocols Source # 
type Rep OriginSSLProtocols Source # 
type Rep OriginSSLProtocols = D1 (MetaData "OriginSSLProtocols" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) (C1 (MetaCons "OriginSSLProtocols'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ospQuantity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_ospItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [SSLProtocol]))))

originSSLProtocols Source #

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

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

ospQuantity :: Lens' OriginSSLProtocols Int Source #

The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.

ospItems :: Lens' OriginSSLProtocols [SSLProtocol] Source #

A complex type that contains one SslProtocol element for each SSL/TLS protocol that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.

Origins

data Origins Source #

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

See: origins smart constructor.

Instances

Eq Origins Source # 

Methods

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

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

Data Origins Source # 

Methods

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

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

toConstr :: Origins -> Constr #

dataTypeOf :: Origins -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Origins Source # 
Show Origins Source # 
Generic Origins Source # 

Associated Types

type Rep Origins :: * -> * #

Methods

from :: Origins -> Rep Origins x #

to :: Rep Origins x -> Origins #

Hashable Origins Source # 

Methods

hashWithSalt :: Int -> Origins -> Int #

hash :: Origins -> Int #

NFData Origins Source # 

Methods

rnf :: Origins -> () #

FromXML Origins Source # 
ToXML Origins Source # 

Methods

toXML :: Origins -> XML #

type Rep Origins Source # 
type Rep Origins = D1 (MetaData "Origins" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) (C1 (MetaCons "Origins'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_oItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Origin)))) (S1 (MetaSel (Just Symbol "_oQuantity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

origins Source #

Arguments

:: Int

oQuantity

-> Origins 

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

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

oItems :: Lens' Origins (Maybe (NonEmpty Origin)) Source #

A complex type that contains origins for this distribution.

oQuantity :: Lens' Origins Int Source #

The number of origins for this distribution.

Paths

data Paths Source #

A complex type that contains information about the objects that you want to invalidate.

See: paths smart constructor.

Instances

Eq Paths Source # 

Methods

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

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

Data Paths Source # 

Methods

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

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

toConstr :: Paths -> Constr #

dataTypeOf :: Paths -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Paths Source # 
Show Paths Source # 

Methods

showsPrec :: Int -> Paths -> ShowS #

show :: Paths -> String #

showList :: [Paths] -> ShowS #

Generic Paths Source # 

Associated Types

type Rep Paths :: * -> * #

Methods

from :: Paths -> Rep Paths x #

to :: Rep Paths x -> Paths #

Hashable Paths Source # 

Methods

hashWithSalt :: Int -> Paths -> Int #

hash :: Paths -> Int #

NFData Paths Source # 

Methods

rnf :: Paths -> () #

FromXML Paths Source # 

Methods

parseXML :: [Node] -> Either String Paths #

ToXML Paths Source # 

Methods

toXML :: Paths -> XML #

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

paths Source #

Arguments

:: Int

pQuantity

-> Paths 

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

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

pItems :: Lens' Paths [Text] Source #

A complex type that contains a list of the objects that you want to invalidate.

pQuantity :: Lens' Paths Int Source #

The number of objects that you want to invalidate.

Restrictions

data Restrictions Source #

A complex type that identifies ways in which you want to restrict distribution of your content.

See: restrictions smart constructor.

Instances

Eq Restrictions Source # 
Data Restrictions Source # 

Methods

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

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

toConstr :: Restrictions -> Constr #

dataTypeOf :: Restrictions -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Restrictions Source # 
Show Restrictions Source # 
Generic Restrictions Source # 

Associated Types

type Rep Restrictions :: * -> * #

Hashable Restrictions Source # 
NFData Restrictions Source # 

Methods

rnf :: Restrictions -> () #

FromXML Restrictions Source # 
ToXML Restrictions Source # 

Methods

toXML :: Restrictions -> XML #

type Rep Restrictions Source # 
type Rep Restrictions = D1 (MetaData "Restrictions" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" True) (C1 (MetaCons "Restrictions'" PrefixI True) (S1 (MetaSel (Just Symbol "_rGeoRestriction") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 GeoRestriction)))

restrictions Source #

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

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

S3Origin

data S3Origin Source #

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

See: s3Origin smart constructor.

Instances

Eq S3Origin Source # 
Data S3Origin Source # 

Methods

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

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

toConstr :: S3Origin -> Constr #

dataTypeOf :: S3Origin -> DataType #

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

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

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

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

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

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

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

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

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

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

Read S3Origin Source # 
Show S3Origin Source # 
Generic S3Origin Source # 

Associated Types

type Rep S3Origin :: * -> * #

Methods

from :: S3Origin -> Rep S3Origin x #

to :: Rep S3Origin x -> S3Origin #

Hashable S3Origin Source # 

Methods

hashWithSalt :: Int -> S3Origin -> Int #

hash :: S3Origin -> Int #

NFData S3Origin Source # 

Methods

rnf :: S3Origin -> () #

FromXML S3Origin Source # 
ToXML S3Origin Source # 

Methods

toXML :: S3Origin -> XML #

type Rep S3Origin Source # 
type Rep S3Origin = D1 (MetaData "S3Origin" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) (C1 (MetaCons "S3Origin'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_soDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_soOriginAccessIdentity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

s3Origin Source #

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

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

soDomainName :: Lens' S3Origin Text Source #

The DNS name of the S3 origin.

soOriginAccessIdentity :: Lens' S3Origin Text Source #

Your S3 origin's origin access identity.

S3OriginConfig

data S3OriginConfig Source #

A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.

See: s3OriginConfig smart constructor.

Instances

Eq S3OriginConfig Source # 
Data S3OriginConfig Source # 

Methods

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

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

toConstr :: S3OriginConfig -> Constr #

dataTypeOf :: S3OriginConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Read S3OriginConfig Source # 
Show S3OriginConfig Source # 
Generic S3OriginConfig Source # 

Associated Types

type Rep S3OriginConfig :: * -> * #

Hashable S3OriginConfig Source # 
NFData S3OriginConfig Source # 

Methods

rnf :: S3OriginConfig -> () #

FromXML S3OriginConfig Source # 
ToXML S3OriginConfig Source # 

Methods

toXML :: S3OriginConfig -> XML #

type Rep S3OriginConfig Source # 
type Rep S3OriginConfig = D1 (MetaData "S3OriginConfig" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" True) (C1 (MetaCons "S3OriginConfig'" PrefixI True) (S1 (MetaSel (Just Symbol "_socOriginAccessIdentity") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

s3OriginConfig Source #

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

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

socOriginAccessIdentity :: Lens' S3OriginConfig Text Source #

The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity. Use the format origin-access-identity/cloudfront/Id where Id is the value that CloudFront returned in the Id element when you created the origin access identity.

Signer

data Signer Source #

A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.

See: signer smart constructor.

Instances

Eq Signer Source # 

Methods

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

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

Data Signer Source # 

Methods

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

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

toConstr :: Signer -> Constr #

dataTypeOf :: Signer -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Signer Source # 
Show Signer Source # 
Generic Signer Source # 

Associated Types

type Rep Signer :: * -> * #

Methods

from :: Signer -> Rep Signer x #

to :: Rep Signer x -> Signer #

Hashable Signer Source # 

Methods

hashWithSalt :: Int -> Signer -> Int #

hash :: Signer -> Int #

NFData Signer Source # 

Methods

rnf :: Signer -> () #

FromXML Signer Source # 
type Rep Signer Source # 
type Rep Signer = D1 (MetaData "Signer" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) (C1 (MetaCons "Signer'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sAWSAccountNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sKeyPairIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe KeyPairIds)))))

signer :: Signer Source #

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

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

sAWSAccountNumber :: Lens' Signer (Maybe Text) Source #

Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.

sKeyPairIds :: Lens' Signer (Maybe KeyPairIds) Source #

A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.

StreamingDistribution

data StreamingDistribution Source #

A streaming distribution.

See: streamingDistribution smart constructor.

Instances

Eq StreamingDistribution Source # 
Data StreamingDistribution Source # 

Methods

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

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

toConstr :: StreamingDistribution -> Constr #

dataTypeOf :: StreamingDistribution -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StreamingDistribution Source # 
Show StreamingDistribution Source # 
Generic StreamingDistribution Source # 
Hashable StreamingDistribution Source # 
NFData StreamingDistribution Source # 

Methods

rnf :: StreamingDistribution -> () #

FromXML StreamingDistribution Source # 
type Rep StreamingDistribution Source # 
type Rep StreamingDistribution = D1 (MetaData "StreamingDistribution" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) (C1 (MetaCons "StreamingDistribution'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sdLastModifiedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) ((:*:) (S1 (MetaSel (Just Symbol "_sdId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_sdStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_sdDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_sdActiveTrustedSigners") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ActiveTrustedSigners)) (S1 (MetaSel (Just Symbol "_sdStreamingDistributionConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StreamingDistributionConfig))))))

sdLastModifiedTime :: Lens' StreamingDistribution (Maybe UTCTime) Source #

The date and time the distribution was last modified.

sdId :: Lens' StreamingDistribution Text Source #

The identifier for the streaming distribution. For example: EGTXBD79H29TRA8.

sdStatus :: Lens' StreamingDistribution Text Source #

The current status of the streaming distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system.

sdDomainName :: Lens' StreamingDistribution Text Source #

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

sdActiveTrustedSigners :: Lens' StreamingDistribution ActiveTrustedSigners Source #

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

sdStreamingDistributionConfig :: Lens' StreamingDistribution StreamingDistributionConfig Source #

The current configuration information for the streaming distribution.

StreamingDistributionConfig

data StreamingDistributionConfig Source #

The configuration for the streaming distribution.

See: streamingDistributionConfig smart constructor.

Instances

Eq StreamingDistributionConfig Source # 
Data StreamingDistributionConfig Source # 

Methods

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

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

toConstr :: StreamingDistributionConfig -> Constr #

dataTypeOf :: StreamingDistributionConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StreamingDistributionConfig Source # 
Show StreamingDistributionConfig Source # 
Generic StreamingDistributionConfig Source # 
Hashable StreamingDistributionConfig Source # 
NFData StreamingDistributionConfig Source # 
FromXML StreamingDistributionConfig Source # 
ToXML StreamingDistributionConfig Source # 
type Rep StreamingDistributionConfig Source # 

sdcAliases :: Lens' StreamingDistributionConfig (Maybe Aliases) Source #

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

sdcPriceClass :: Lens' StreamingDistributionConfig (Maybe PriceClass) Source #

A complex type that contains information about price class for this streaming distribution.

sdcLogging :: Lens' StreamingDistributionConfig (Maybe StreamingLoggingConfig) Source #

A complex type that controls whether access logs are written for the streaming distribution.

sdcCallerReference :: Lens' StreamingDistributionConfig Text Source #

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

sdcS3Origin :: Lens' StreamingDistributionConfig S3Origin Source #

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

sdcComment :: Lens' StreamingDistributionConfig Text Source #

Any comments you want to include about the streaming distribution.

sdcTrustedSigners :: Lens' StreamingDistributionConfig 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, go to Using a Signed URL to Serve Private Content in the 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.

sdcEnabled :: Lens' StreamingDistributionConfig Bool Source #

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

StreamingDistributionList

data StreamingDistributionList Source #

A streaming distribution list.

See: streamingDistributionList smart constructor.

Instances

Eq StreamingDistributionList Source # 
Data StreamingDistributionList Source # 

Methods

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

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

toConstr :: StreamingDistributionList -> Constr #

dataTypeOf :: StreamingDistributionList -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StreamingDistributionList Source # 
Show StreamingDistributionList Source # 
Generic StreamingDistributionList Source # 
Hashable StreamingDistributionList Source # 
NFData StreamingDistributionList Source # 
FromXML StreamingDistributionList Source # 
type Rep StreamingDistributionList Source # 
type Rep StreamingDistributionList = D1 (MetaData "StreamingDistributionList" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) (C1 (MetaCons "StreamingDistributionList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sdlItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StreamingDistributionSummary]))) ((:*:) (S1 (MetaSel (Just Symbol "_sdlNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sdlMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_sdlMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) ((:*:) (S1 (MetaSel (Just Symbol "_sdlIsTruncated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_sdlQuantity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))

streamingDistributionList Source #

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

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

sdlItems :: Lens' StreamingDistributionList [StreamingDistributionSummary] Source #

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

sdlNextMarker :: Lens' StreamingDistributionList (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 streaming distributions where they left off.

sdlMarker :: Lens' StreamingDistributionList Text Source #

The value you provided for the Marker request parameter.

sdlMaxItems :: Lens' StreamingDistributionList Int Source #

The value you provided for the MaxItems request parameter.

sdlIsTruncated :: Lens' StreamingDistributionList Bool Source #

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

sdlQuantity :: Lens' StreamingDistributionList Int Source #

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

StreamingDistributionSummary

data StreamingDistributionSummary Source #

A summary of the information for an Amazon CloudFront streaming distribution.

See: streamingDistributionSummary smart constructor.

Instances

Eq StreamingDistributionSummary Source # 
Data StreamingDistributionSummary Source # 

Methods

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

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

toConstr :: StreamingDistributionSummary -> Constr #

dataTypeOf :: StreamingDistributionSummary -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StreamingDistributionSummary Source # 
Show StreamingDistributionSummary Source # 
Generic StreamingDistributionSummary Source # 
Hashable StreamingDistributionSummary Source # 
NFData StreamingDistributionSummary Source # 
FromXML StreamingDistributionSummary Source # 
type Rep StreamingDistributionSummary Source # 

sdsId :: Lens' StreamingDistributionSummary Text Source #

The identifier for the distribution. For example: EDFDVBD632BHDS5.

sdsStatus :: Lens' StreamingDistributionSummary Text Source #

Indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system.

sdsLastModifiedTime :: Lens' StreamingDistributionSummary UTCTime Source #

The date and time the distribution was last modified.

sdsDomainName :: Lens' StreamingDistributionSummary Text Source #

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

sdsS3Origin :: Lens' StreamingDistributionSummary S3Origin Source #

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

sdsAliases :: Lens' StreamingDistributionSummary Aliases Source #

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

sdsTrustedSigners :: Lens' StreamingDistributionSummary 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, go to Using a Signed URL to Serve Private Content in the 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.

sdsComment :: Lens' StreamingDistributionSummary Text Source #

The comment originally specified when this distribution was created.

sdsEnabled :: Lens' StreamingDistributionSummary Bool Source #

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

StreamingLoggingConfig

data StreamingLoggingConfig Source #

A complex type that controls whether access logs are written for this streaming distribution.

See: streamingLoggingConfig smart constructor.

Instances

Eq StreamingLoggingConfig Source # 
Data StreamingLoggingConfig Source # 

Methods

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

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

toConstr :: StreamingLoggingConfig -> Constr #

dataTypeOf :: StreamingLoggingConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StreamingLoggingConfig Source # 
Show StreamingLoggingConfig Source # 
Generic StreamingLoggingConfig Source # 
Hashable StreamingLoggingConfig Source # 
NFData StreamingLoggingConfig Source # 

Methods

rnf :: StreamingLoggingConfig -> () #

FromXML StreamingLoggingConfig Source # 
ToXML StreamingLoggingConfig Source # 
type Rep StreamingLoggingConfig Source # 
type Rep StreamingLoggingConfig = D1 (MetaData "StreamingLoggingConfig" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) (C1 (MetaCons "StreamingLoggingConfig'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_slcEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) ((:*:) (S1 (MetaSel (Just Symbol "_slcBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_slcPrefix") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

streamingLoggingConfig Source #

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

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

slcEnabled :: Lens' StreamingLoggingConfig Bool Source #

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

slcBucket :: Lens' StreamingLoggingConfig Text Source #

The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

slcPrefix :: Lens' StreamingLoggingConfig Text Source #

An optional string that you want CloudFront to prefix to the access log filenames for this streaming distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.

TrustedSigners

data 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, go to Using a Signed URL to Serve Private Content in the 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.

See: trustedSigners smart constructor.

Instances

Eq TrustedSigners Source # 
Data TrustedSigners Source # 

Methods

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

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

toConstr :: TrustedSigners -> Constr #

dataTypeOf :: TrustedSigners -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TrustedSigners Source # 
Show TrustedSigners Source # 
Generic TrustedSigners Source # 

Associated Types

type Rep TrustedSigners :: * -> * #

Hashable TrustedSigners Source # 
NFData TrustedSigners Source # 

Methods

rnf :: TrustedSigners -> () #

FromXML TrustedSigners Source # 
ToXML TrustedSigners Source # 

Methods

toXML :: TrustedSigners -> XML #

type Rep TrustedSigners Source # 
type Rep TrustedSigners = D1 (MetaData "TrustedSigners" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) (C1 (MetaCons "TrustedSigners'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tsItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_tsEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_tsQuantity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

trustedSigners Source #

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

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

tsItems :: Lens' TrustedSigners [Text] Source #

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

tsEnabled :: Lens' TrustedSigners Bool Source #

Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.

tsQuantity :: Lens' TrustedSigners Int Source #

The number of trusted signers for this cache behavior.

ViewerCertificate

data ViewerCertificate Source #

A complex type that contains information about viewer certificates for this distribution.

See: viewerCertificate smart constructor.

Instances

Eq ViewerCertificate Source # 
Data ViewerCertificate Source # 

Methods

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

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

toConstr :: ViewerCertificate -> Constr #

dataTypeOf :: ViewerCertificate -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ViewerCertificate Source # 
Show ViewerCertificate Source # 
Generic ViewerCertificate Source # 
Hashable ViewerCertificate Source # 
NFData ViewerCertificate Source # 

Methods

rnf :: ViewerCertificate -> () #

FromXML ViewerCertificate Source # 
ToXML ViewerCertificate Source # 
type Rep ViewerCertificate Source # 
type Rep ViewerCertificate = D1 (MetaData "ViewerCertificate" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) (C1 (MetaCons "ViewerCertificate'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_vcSSLSupportMethod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SSLSupportMethod))) ((:*:) (S1 (MetaSel (Just Symbol "_vcACMCertificateARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_vcCertificateSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CertificateSource))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_vcMinimumProtocolVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MinimumProtocolVersion))) (S1 (MetaSel (Just Symbol "_vcCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_vcIAMCertificateId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_vcCloudFrontDefaultCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))))

viewerCertificate :: ViewerCertificate Source #

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

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

vcSSLSupportMethod :: Lens' ViewerCertificate (Maybe SSLSupportMethod) Source #

If you specify a value for IAMCertificateId, you must also specify how you want CloudFront to serve HTTPS requests. Valid values are vip and sni-only. If you specify vip, CloudFront uses dedicated IP addresses for your content and can respond to HTTPS requests from any viewer. However, you must request permission to use this feature, and you incur additional monthly charges. If you specify sni-only, CloudFront can only respond to HTTPS requests from viewers that support Server Name Indication (SNI). All modern browsers support SNI, but some browsers still in use don't support SNI. Do not specify a value for SSLSupportMethod if you specified true for CloudFrontDefaultCertificate.

vcACMCertificateARN :: Lens' ViewerCertificate (Maybe Text) Source #

If you want viewers to use HTTPS to request your objects and you're using an alternate domain name in your object URLs (for example, https://example.com/logo.jpg), specify the ACM certificate ARN of the custom viewer certificate for this distribution. Specify either this value, IAMCertificateId, or CloudFrontDefaultCertificate.

vcCertificateSource :: Lens' ViewerCertificate (Maybe CertificateSource) Source #

Note: this field is deprecated. Please use one of [ACMCertificateArn, IAMCertificateId, CloudFrontDefaultCertificate].

vcMinimumProtocolVersion :: Lens' ViewerCertificate (Maybe MinimumProtocolVersion) Source #

Specify the minimum version of the SSL protocol that you want CloudFront to use, SSLv3 or TLSv1, for HTTPS connections. CloudFront will serve your objects only to browsers or devices that support at least the SSL version that you specify. The TLSv1 protocol is more secure, so we recommend that you specify SSLv3 only if your users are using browsers or devices that don't support TLSv1. If you're using a custom certificate (if you specify a value for IAMCertificateId) and if you're using dedicated IP (if you specify vip for SSLSupportMethod), you can choose SSLv3 or TLSv1 as the MinimumProtocolVersion. If you're using a custom certificate (if you specify a value for IAMCertificateId) and if you're using SNI (if you specify sni-only for SSLSupportMethod), you must specify TLSv1 for MinimumProtocolVersion.

vcCertificate :: Lens' ViewerCertificate (Maybe Text) Source #

Note: this field is deprecated. Please use one of [ACMCertificateArn, IAMCertificateId, CloudFrontDefaultCertificate].

vcIAMCertificateId :: Lens' ViewerCertificate (Maybe Text) Source #

If you want viewers to use HTTPS to request your objects and you're using an alternate domain name in your object URLs (for example, https://example.com/logo.jpg), specify the IAM certificate identifier of the custom viewer certificate for this distribution. Specify either this value, ACMCertificateArn, or CloudFrontDefaultCertificate.

vcCloudFrontDefaultCertificate :: Lens' ViewerCertificate (Maybe Bool) Source #

If you want viewers to use HTTPS to request your objects and you're using the CloudFront domain name of your distribution in your object URLs (for example, https://d111111abcdef8.cloudfront.net/logo.jpg), set to true. Omit this value if you are setting an ACMCertificateArn or IAMCertificateId.