-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon CloudFront SDK.
--
@package amazonka-cloudfront
@version 0.0.3
module Network.AWS.CloudFront.Types
-- | Version 2014-05-31 of the Amazon CloudFront service.
data CloudFront
data RESTError :: *
ns :: Text
data CloudFrontOriginAccessIdentityList
-- | CloudFrontOriginAccessIdentityList constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
cloudFrontOriginAccessIdentityList :: Text -> Int -> Bool -> Int -> CloudFrontOriginAccessIdentityList
-- | 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.
cfoailIsTruncated :: Lens' CloudFrontOriginAccessIdentityList Bool
-- | A complex type that contains one CloudFrontOriginAccessIdentitySummary
-- element for each origin access identity that was created by the
-- current AWS account.
cfoailItems :: Lens' CloudFrontOriginAccessIdentityList [CloudFrontOriginAccessIdentitySummary]
-- | The value you provided for the Marker request parameter.
cfoailMarker :: Lens' CloudFrontOriginAccessIdentityList Text
-- | The value you provided for the MaxItems request parameter.
cfoailMaxItems :: Lens' CloudFrontOriginAccessIdentityList Int
-- | 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.
cfoailNextMarker :: Lens' CloudFrontOriginAccessIdentityList (Maybe Text)
-- | The number of CloudFront origin access identities that were created by
-- the current AWS account.
cfoailQuantity :: Lens' CloudFrontOriginAccessIdentityList Int
data Invalidation
-- | Invalidation constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
invalidation :: Text -> Text -> UTCTime -> InvalidationBatch -> Invalidation
-- | The date and time the invalidation request was first made.
iCreateTime :: Lens' Invalidation UTCTime
-- | The identifier for the invalidation request. For example:
-- IDFDVBD632BHDS5.
iId :: Lens' Invalidation Text
-- | The current invalidation information for the batch request.
iInvalidationBatch :: Lens' Invalidation InvalidationBatch
-- | The status of the invalidation request. When the invalidation batch is
-- finished, the status is Completed.
iStatus :: Lens' Invalidation Text
data SSLSupportMethod
-- | sni-only
SniOnly :: SSLSupportMethod
-- | vip
Vip :: SSLSupportMethod
data AllowedMethods
-- | AllowedMethods constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
allowedMethods :: Int -> AllowedMethods
-- | A complex type that contains the HTTP methods that you want CloudFront
-- to process and forward to your origin.
amItems :: Lens' AllowedMethods [Method]
-- | The number of HTTP methods that you want CloudFront to forward to your
-- origin. Valid values are 2 (for GET and HEAD requests) and 7 (for
-- DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT requests).
amQuantity :: Lens' AllowedMethods Int
data CloudFrontOriginAccessIdentityConfig
-- | CloudFrontOriginAccessIdentityConfig constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
cloudFrontOriginAccessIdentityConfig :: Text -> Text -> CloudFrontOriginAccessIdentityConfig
-- | 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.
cfoaicCallerReference :: Lens' CloudFrontOriginAccessIdentityConfig Text
-- | Any comments you want to include about the origin access identity.
cfoaicComment :: Lens' CloudFrontOriginAccessIdentityConfig Text
data Origin
-- | Origin constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
origin :: Text -> Text -> Origin
-- | A complex type that contains information about a custom origin. If the
-- origin is an Amazon S3 bucket, use the S3OriginConfig element instead.
oCustomOriginConfig :: Lens' Origin (Maybe CustomOriginConfig)
-- | 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.
oDomainName :: Lens' Origin Text
-- | 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.
oId :: Lens' Origin Text
-- | A complex type that contains information about the Amazon S3 origin.
-- If the origin is a custom origin, use the CustomOriginConfig element
-- instead.
oS3OriginConfig :: Lens' Origin (Maybe S3OriginConfig)
data ViewerProtocolPolicy
-- | allow-all
AllowAll :: ViewerProtocolPolicy
-- | https-only
HttpsOnly :: ViewerProtocolPolicy
-- | redirect-to-https
RedirectToHttps :: ViewerProtocolPolicy
data StreamingDistributionList
-- | StreamingDistributionList constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
streamingDistributionList :: Text -> Int -> Bool -> Int -> StreamingDistributionList
-- | 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.
sdlIsTruncated :: Lens' StreamingDistributionList Bool
-- | A complex type that contains one StreamingDistributionSummary element
-- for each distribution that was created by the current AWS account.
sdlItems :: Lens' StreamingDistributionList [StreamingDistributionSummary]
-- | The value you provided for the Marker request parameter.
sdlMarker :: Lens' StreamingDistributionList Text
-- | The value you provided for the MaxItems request parameter.
sdlMaxItems :: Lens' StreamingDistributionList Int
-- | 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.
sdlNextMarker :: Lens' StreamingDistributionList (Maybe Text)
-- | The number of streaming distributions that were created by the current
-- AWS account.
sdlQuantity :: Lens' StreamingDistributionList Int
data StreamingDistributionConfig
-- | StreamingDistributionConfig constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
streamingDistributionConfig :: Text -> S3Origin -> Aliases -> Text -> StreamingLoggingConfig -> TrustedSigners -> PriceClass -> Bool -> StreamingDistributionConfig
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this streaming distribution.
sdcAliases :: Lens' StreamingDistributionConfig Aliases
-- | 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.
sdcCallerReference :: Lens' StreamingDistributionConfig Text
-- | Any comments you want to include about the streaming distribution.
sdcComment :: Lens' StreamingDistributionConfig Text
-- | Whether the streaming distribution is enabled to accept end user
-- requests for content.
sdcEnabled :: Lens' StreamingDistributionConfig Bool
-- | A complex type that controls whether access logs are written for the
-- streaming distribution.
sdcLogging :: Lens' StreamingDistributionConfig StreamingLoggingConfig
-- | A complex type that contains information about price class for this
-- streaming distribution.
sdcPriceClass :: Lens' StreamingDistributionConfig PriceClass
-- | A complex type that contains information about the Amazon S3 bucket
-- from which you want CloudFront to get your media files for
-- distribution.
sdcS3Origin :: Lens' StreamingDistributionConfig S3Origin
-- | 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.
sdcTrustedSigners :: Lens' StreamingDistributionConfig TrustedSigners
data Signer
-- | Signer constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
signer :: Signer
-- | 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.
sAwsAccountNumber :: Lens' Signer (Maybe Text)
-- | A complex type that lists the active CloudFront key pairs, if any,
-- that are associated with AwsAccountNumber.
sKeyPairIds :: Lens' Signer (Maybe KeyPairIds)
data CookiePreference
-- | CookiePreference constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
cookiePreference :: ItemSelection -> CookiePreference
-- | 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.
cpForward :: Lens' CookiePreference ItemSelection
-- | 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.
cpWhitelistedNames :: Lens' CookiePreference (Maybe CookieNames)
data OriginProtocolPolicy
-- | http-only
HttpOnly :: OriginProtocolPolicy
-- | match-viewer
MatchViewer :: OriginProtocolPolicy
data Distribution
-- | Distribution constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
distribution :: Text -> Text -> UTCTime -> Int -> Text -> ActiveTrustedSigners -> DistributionConfig -> Distribution
-- | 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.
dActiveTrustedSigners :: Lens' Distribution ActiveTrustedSigners
-- | The current configuration information for the distribution.
dDistributionConfig :: Lens' Distribution DistributionConfig
-- | The domain name corresponding to the distribution. For example:
-- d604721fxaaqy9.cloudfront.net.
dDomainName :: Lens' Distribution Text
-- | The identifier for the distribution. For example: EDFDVBD632BHDS5.
dId :: Lens' Distribution Text
-- | The number of invalidation batches currently in progress.
dInProgressInvalidationBatches :: Lens' Distribution Int
-- | The date and time the distribution was last modified.
dLastModifiedTime :: Lens' Distribution UTCTime
-- | 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.
dStatus :: Lens' Distribution Text
data CloudFrontOriginAccessIdentitySummary
-- | CloudFrontOriginAccessIdentitySummary constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
cloudFrontOriginAccessIdentitySummary :: Text -> Text -> Text -> CloudFrontOriginAccessIdentitySummary
-- | The comment for this origin access identity, as originally specified
-- when created.
cfoaisComment :: Lens' CloudFrontOriginAccessIdentitySummary Text
-- | The ID for the origin access identity. For example: E74FTE3AJFJ256A.
cfoaisId :: Lens' CloudFrontOriginAccessIdentitySummary Text
-- | The Amazon S3 canonical user ID for the origin access identity, which
-- you use when giving the origin access identity read permission to an
-- object in Amazon S3.
cfoaisS3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentitySummary Text
data StreamingDistributionSummary
-- | StreamingDistributionSummary constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
streamingDistributionSummary :: Text -> Text -> UTCTime -> Text -> S3Origin -> Aliases -> TrustedSigners -> Text -> PriceClass -> Bool -> StreamingDistributionSummary
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this streaming distribution.
sdsAliases :: Lens' StreamingDistributionSummary Aliases
-- | The comment originally specified when this distribution was created.
sdsComment :: Lens' StreamingDistributionSummary Text
-- | The domain name corresponding to the distribution. For example:
-- d604721fxaaqy9.cloudfront.net.
sdsDomainName :: Lens' StreamingDistributionSummary Text
-- | Whether the distribution is enabled to accept end user requests for
-- content.
sdsEnabled :: Lens' StreamingDistributionSummary Bool
-- | The identifier for the distribution. For example: EDFDVBD632BHDS5.
sdsId :: Lens' StreamingDistributionSummary Text
-- | The date and time the distribution was last modified.
sdsLastModifiedTime :: Lens' StreamingDistributionSummary UTCTime
sdsPriceClass :: Lens' StreamingDistributionSummary PriceClass
-- | A complex type that contains information about the Amazon S3 bucket
-- from which you want CloudFront to get your media files for
-- distribution.
sdsS3Origin :: Lens' StreamingDistributionSummary S3Origin
-- | Indicates the current status of the distribution. When the status is
-- Deployed, the distribution's information is fully propagated
-- throughout the Amazon CloudFront system.
sdsStatus :: Lens' StreamingDistributionSummary Text
-- | 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.
sdsTrustedSigners :: Lens' StreamingDistributionSummary TrustedSigners
data CustomOriginConfig
-- | CustomOriginConfig constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
customOriginConfig :: Int -> Int -> OriginProtocolPolicy -> CustomOriginConfig
-- | The HTTP port the custom origin listens on.
cocHTTPPort :: Lens' CustomOriginConfig Int
-- | The HTTPS port the custom origin listens on.
cocHTTPSPort :: Lens' CustomOriginConfig Int
-- | The origin protocol policy to apply to your origin.
cocOriginProtocolPolicy :: Lens' CustomOriginConfig OriginProtocolPolicy
data Aliases
-- | Aliases constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
aliases :: Int -> Aliases
-- | Optional: A complex type that contains CNAME elements, if any, for
-- this distribution. If Quantity is 0, you can omit Items.
aItems :: Lens' Aliases [Text]
-- | The number of CNAMEs, if any, for this distribution.
aQuantity :: Lens' Aliases Int
data InvalidationBatch
-- | InvalidationBatch constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
invalidationBatch :: Paths -> Text -> InvalidationBatch
-- | 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.
ibCallerReference :: Lens' InvalidationBatch Text
-- | 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.orgrfc/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.
ibPaths :: Lens' InvalidationBatch Paths
data InvalidationSummary
-- | InvalidationSummary constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
invalidationSummary :: Text -> UTCTime -> Text -> InvalidationSummary
isCreateTime :: Lens' InvalidationSummary UTCTime
-- | The unique ID for an invalidation request.
isId :: Lens' InvalidationSummary Text
-- | The status of an invalidation request.
isStatus :: Lens' InvalidationSummary Text
data DistributionConfig
-- | DistributionConfig constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
distributionConfig :: Text -> Aliases -> Text -> Origins -> DefaultCacheBehavior -> CacheBehaviors -> Text -> LoggingConfig -> PriceClass -> Bool -> DistributionConfig
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this distribution.
dcAliases :: Lens' DistributionConfig Aliases
-- | A complex type that contains zero or more CacheBehavior elements.
dcCacheBehaviors :: Lens' DistributionConfig CacheBehaviors
-- | 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.
dcCallerReference :: Lens' DistributionConfig Text
-- | Any comments you want to include about the distribution.
dcComment :: Lens' DistributionConfig Text
-- | A complex type that contains zero or more CustomErrorResponse
-- elements.
dcCustomErrorResponses :: Lens' DistributionConfig (Maybe CustomErrorResponses)
-- | 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.
dcDefaultCacheBehavior :: Lens' DistributionConfig DefaultCacheBehavior
-- | 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.comindex.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.
dcDefaultRootObject :: Lens' DistributionConfig Text
-- | Whether the distribution is enabled to accept end user requests for
-- content.
dcEnabled :: Lens' DistributionConfig Bool
-- | A complex type that controls whether access logs are written for the
-- distribution.
dcLogging :: Lens' DistributionConfig LoggingConfig
-- | A complex type that contains information about origins for this
-- distribution.
dcOrigins :: Lens' DistributionConfig Origins
-- | A complex type that contains information about price class for this
-- distribution.
dcPriceClass :: Lens' DistributionConfig PriceClass
dcRestrictions :: Lens' DistributionConfig (Maybe Restrictions)
dcViewerCertificate :: Lens' DistributionConfig (Maybe ViewerCertificate)
data CacheBehavior
-- | CacheBehavior constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
cacheBehavior :: Text -> Text -> ForwardedValues -> TrustedSigners -> ViewerProtocolPolicy -> Integer -> CacheBehavior
cbAllowedMethods :: Lens' CacheBehavior (Maybe AllowedMethods)
-- | A complex type that specifies how CloudFront handles query strings,
-- cookies and headers.
cbForwardedValues :: Lens' CacheBehavior ForwardedValues
-- | 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).
cbMinTTL :: Lens' CacheBehavior Integer
-- | 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.
cbPathPattern :: Lens' CacheBehavior Text
-- | 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.
cbSmoothStreaming :: Lens' CacheBehavior (Maybe Bool)
-- | 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.
cbTargetOriginId :: Lens' CacheBehavior Text
-- | 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.
cbTrustedSigners :: Lens' CacheBehavior TrustedSigners
-- | 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.
cbViewerProtocolPolicy :: Lens' CacheBehavior ViewerProtocolPolicy
data DistributionList
-- | DistributionList constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
distributionList :: Text -> Int -> Bool -> Int -> DistributionList
-- | 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.
dlIsTruncated :: Lens' DistributionList Bool
-- | A complex type that contains one DistributionSummary element for each
-- distribution that was created by the current AWS account.
dlItems :: Lens' DistributionList [DistributionSummary]
-- | The value you provided for the Marker request parameter.
dlMarker :: Lens' DistributionList Text
-- | The value you provided for the MaxItems request parameter.
dlMaxItems :: Lens' DistributionList Int
-- | 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.
dlNextMarker :: Lens' DistributionList (Maybe Text)
-- | The number of distributions that were created by the current AWS
-- account.
dlQuantity :: Lens' DistributionList Int
data KeyPairIds
-- | KeyPairIds constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
keyPairIds :: Int -> KeyPairIds
-- | A complex type that lists the active CloudFront key pairs, if any,
-- that are associated with AwsAccountNumber.
kpiItems :: Lens' KeyPairIds [Text]
-- | The number of active CloudFront key pairs for AwsAccountNumber.
kpiQuantity :: Lens' KeyPairIds Int
data PriceClass
-- | PriceClass_100
PriceClass100 :: PriceClass
-- | PriceClass_200
PriceClass200 :: PriceClass
-- | PriceClass_All
PriceClassAll :: PriceClass
data CustomErrorResponses
-- | CustomErrorResponses constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
customErrorResponses :: Int -> CustomErrorResponses
-- | Optional: A complex type that contains custom error responses for this
-- distribution. If Quantity is 0, you can omit Items.
cerItems :: Lens' CustomErrorResponses [CustomErrorResponse]
-- | The number of custom error responses for this distribution.
cerQuantity :: Lens' CustomErrorResponses Int
data S3OriginConfig
-- | S3OriginConfig constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
s3OriginConfig :: Text -> S3OriginConfig
-- | 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-identitycloudfrontId where Id is the value that
-- CloudFront returned in the Id element when you created the origin
-- access identity.
socOriginAccessIdentity :: Lens' S3OriginConfig Text
data GeoRestriction
-- | GeoRestriction constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
geoRestriction :: GeoRestrictionType -> Int -> GeoRestriction
-- | 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.
grItems :: Lens' GeoRestriction [Text]
-- | 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.
grQuantity :: Lens' GeoRestriction Int
-- | 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.
grRestrictionType :: Lens' GeoRestriction GeoRestrictionType
data S3Origin
-- | S3Origin constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
s3Origin :: Text -> Text -> S3Origin
-- | The DNS name of the S3 origin.
soDomainName :: Lens' S3Origin Text
-- | Your S3 origin's origin access identity.
soOriginAccessIdentity :: Lens' S3Origin Text
data Headers
-- | Headers constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
headers :: Int -> Headers
-- | 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.
hItems :: Lens' Headers [Text]
-- | 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.
hQuantity :: Lens' Headers Int
data ViewerCertificate
-- | ViewerCertificate constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
viewerCertificate :: ViewerCertificate
-- | 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 IAMCertificateId.
vcCloudFrontDefaultCertificate :: Lens' ViewerCertificate (Maybe Bool)
-- | 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 or CloudFrontDefaultCertificate.
vcIAMCertificateId :: Lens' ViewerCertificate (Maybe Text)
-- | 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.
vcSSLSupportMethod :: Lens' ViewerCertificate (Maybe SSLSupportMethod)
data Restrictions
-- | Restrictions constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
restrictions :: GeoRestriction -> Restrictions
rGeoRestriction :: Lens' Restrictions GeoRestriction
data Origins
-- | Origins constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
origins :: Int -> NonEmpty Origin -> Origins
-- | A complex type that contains origins for this distribution.
oItems :: Lens' Origins (NonEmpty Origin)
-- | The number of origins for this distribution.
oQuantity :: Lens' Origins Int
data Method
-- | DELETE
Delete' :: Method
-- | GET
Get :: Method
-- | HEAD
Head' :: Method
-- | OPTIONS
Options :: Method
-- | PATCH
Patch :: Method
-- | POST
Post :: Method
-- | PUT
Put :: Method
data ForwardedValues
-- | ForwardedValues constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
forwardedValues :: Bool -> CookiePreference -> ForwardedValues
-- | A complex type that specifies how CloudFront handles cookies.
fvCookies :: Lens' ForwardedValues CookiePreference
-- | A complex type that specifies the Headers, if any, that you want
-- CloudFront to vary upon for this cache behavior.
fvHeaders :: Lens' ForwardedValues (Maybe Headers)
-- | 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.
fvQueryString :: Lens' ForwardedValues Bool
data TrustedSigners
-- | TrustedSigners constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
trustedSigners :: Bool -> Int -> TrustedSigners
-- | Specifies whether you want to require end users to use signed URLs to
-- access the files specified by PathPattern and TargetOriginId.
tsEnabled :: Lens' TrustedSigners Bool
-- | Optional: A complex type that contains trusted signers for this cache
-- behavior. If Quantity is 0, you can omit Items.
tsItems :: Lens' TrustedSigners [Text]
-- | The number of trusted signers for this cache behavior.
tsQuantity :: Lens' TrustedSigners Int
data ItemSelection
-- | all
All :: ItemSelection
-- | none
None :: ItemSelection
-- | whitelist
Whitelist :: ItemSelection
data StreamingLoggingConfig
-- | StreamingLoggingConfig constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
streamingLoggingConfig :: Bool -> Text -> Text -> StreamingLoggingConfig
-- | The Amazon S3 bucket to store the access logs in, for example,
-- myawslogbucket.s3.amazonaws.com.
slcBucket :: Lens' StreamingLoggingConfig Text
-- | 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.
slcEnabled :: Lens' StreamingLoggingConfig Bool
-- | 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.
slcPrefix :: Lens' StreamingLoggingConfig Text
data CookieNames
-- | CookieNames constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
cookieNames :: Int -> CookieNames
-- | Optional: A complex type that contains whitelisted cookies for this
-- cache behavior. If Quantity is 0, you can omit Items.
cnItems :: Lens' CookieNames [Text]
-- | The number of whitelisted cookies for this cache behavior.
cnQuantity :: Lens' CookieNames Int
data CustomErrorResponse
-- | CustomErrorResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
customErrorResponse :: Int -> CustomErrorResponse
-- | 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.
cerErrorCachingMinTTL :: Lens' CustomErrorResponse (Maybe Integer)
-- | 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.
cerErrorCode :: Lens' CustomErrorResponse Int
-- | 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.
cerResponseCode :: Lens' CustomErrorResponse (Maybe Text)
-- | 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.orgrfc/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.
cerResponsePagePath :: Lens' CustomErrorResponse (Maybe Text)
data CacheBehaviors
-- | CacheBehaviors constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
cacheBehaviors :: Int -> CacheBehaviors
-- | Optional: A complex type that contains cache behaviors for this
-- distribution. If Quantity is 0, you can omit Items.
cbItems :: Lens' CacheBehaviors [CacheBehavior]
-- | The number of cache behaviors for this distribution.
cbQuantity :: Lens' CacheBehaviors Int
data DefaultCacheBehavior
-- | DefaultCacheBehavior constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
defaultCacheBehavior :: Text -> ForwardedValues -> TrustedSigners -> ViewerProtocolPolicy -> Integer -> DefaultCacheBehavior
dcbAllowedMethods :: Lens' DefaultCacheBehavior (Maybe AllowedMethods)
-- | A complex type that specifies how CloudFront handles query strings,
-- cookies and headers.
dcbForwardedValues :: Lens' DefaultCacheBehavior ForwardedValues
-- | 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).
dcbMinTTL :: Lens' DefaultCacheBehavior Integer
-- | 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.
dcbSmoothStreaming :: Lens' DefaultCacheBehavior (Maybe Bool)
-- | 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.
dcbTargetOriginId :: Lens' DefaultCacheBehavior Text
-- | 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.
dcbTrustedSigners :: Lens' DefaultCacheBehavior TrustedSigners
-- | 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.
dcbViewerProtocolPolicy :: Lens' DefaultCacheBehavior ViewerProtocolPolicy
data InvalidationList
-- | InvalidationList constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
invalidationList :: Text -> Int -> Bool -> Int -> InvalidationList
-- | 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.
ilIsTruncated :: Lens' InvalidationList Bool
-- | A complex type that contains one InvalidationSummary element for each
-- invalidation batch that was created by the current AWS account.
ilItems :: Lens' InvalidationList [InvalidationSummary]
-- | The value you provided for the Marker request parameter.
ilMarker :: Lens' InvalidationList Text
-- | The value you provided for the MaxItems request parameter.
ilMaxItems :: Lens' InvalidationList Int
-- | 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.
ilNextMarker :: Lens' InvalidationList (Maybe Text)
-- | The number of invalidation batches that were created by the current
-- AWS account.
ilQuantity :: Lens' InvalidationList Int
data StreamingDistribution
-- | StreamingDistribution constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
streamingDistribution :: Text -> Text -> Text -> ActiveTrustedSigners -> StreamingDistributionConfig -> StreamingDistribution
-- | 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.
sdActiveTrustedSigners :: Lens' StreamingDistribution ActiveTrustedSigners
-- | The domain name corresponding to the streaming distribution. For
-- example: s5c39gqb8ow64r.cloudfront.net.
sdDomainName :: Lens' StreamingDistribution Text
-- | The identifier for the streaming distribution. For example:
-- EGTXBD79H29TRA8.
sdId :: Lens' StreamingDistribution Text
-- | The date and time the distribution was last modified.
sdLastModifiedTime :: Lens' StreamingDistribution (Maybe UTCTime)
-- | The current status of the streaming distribution. When the status is
-- Deployed, the distribution's information is fully propagated
-- throughout the Amazon CloudFront system.
sdStatus :: Lens' StreamingDistribution Text
-- | The current configuration information for the streaming distribution.
sdStreamingDistributionConfig :: Lens' StreamingDistribution StreamingDistributionConfig
data Paths
-- | Paths constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
paths :: Int -> Paths
-- | A complex type that contains a list of the objects that you want to
-- invalidate.
pItems :: Lens' Paths [Text]
-- | The number of objects that you want to invalidate.
pQuantity :: Lens' Paths Int
data CloudFrontOriginAccessIdentity
-- | CloudFrontOriginAccessIdentity constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
cloudFrontOriginAccessIdentity :: Text -> Text -> CloudFrontOriginAccessIdentity
-- | The current configuration information for the identity.
cfoaiCloudFrontOriginAccessIdentityConfig :: Lens' CloudFrontOriginAccessIdentity (Maybe CloudFrontOriginAccessIdentityConfig)
-- | The ID for the origin access identity. For example: E74FTE3AJFJ256A.
cfoaiId :: Lens' CloudFrontOriginAccessIdentity Text
-- | The Amazon S3 canonical user ID for the origin access identity, which
-- you use when giving the origin access identity read permission to an
-- object in Amazon S3.
cfoaiS3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentity Text
data ActiveTrustedSigners
-- | ActiveTrustedSigners constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
activeTrustedSigners :: Bool -> Int -> ActiveTrustedSigners
-- | Each active trusted signer.
atsEnabled :: Lens' ActiveTrustedSigners Bool
-- | 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.
atsItems :: Lens' ActiveTrustedSigners [Signer]
-- | 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.
atsQuantity :: Lens' ActiveTrustedSigners Int
data DistributionSummary
-- | DistributionSummary constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
distributionSummary :: Text -> Text -> UTCTime -> Text -> Aliases -> Origins -> DefaultCacheBehavior -> CacheBehaviors -> CustomErrorResponses -> Text -> PriceClass -> Bool -> ViewerCertificate -> Restrictions -> DistributionSummary
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this distribution.
dsAliases :: Lens' DistributionSummary Aliases
-- | A complex type that contains zero or more CacheBehavior elements.
dsCacheBehaviors :: Lens' DistributionSummary CacheBehaviors
-- | The comment originally specified when this distribution was created.
dsComment :: Lens' DistributionSummary Text
-- | A complex type that contains zero or more CustomErrorResponses
-- elements.
dsCustomErrorResponses :: Lens' DistributionSummary CustomErrorResponses
-- | 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.
dsDefaultCacheBehavior :: Lens' DistributionSummary DefaultCacheBehavior
-- | The domain name corresponding to the distribution. For example:
-- d604721fxaaqy9.cloudfront.net.
dsDomainName :: Lens' DistributionSummary Text
-- | Whether the distribution is enabled to accept end user requests for
-- content.
dsEnabled :: Lens' DistributionSummary Bool
-- | The identifier for the distribution. For example: EDFDVBD632BHDS5.
dsId :: Lens' DistributionSummary Text
-- | The date and time the distribution was last modified.
dsLastModifiedTime :: Lens' DistributionSummary UTCTime
-- | A complex type that contains information about origins for this
-- distribution.
dsOrigins :: Lens' DistributionSummary Origins
dsPriceClass :: Lens' DistributionSummary PriceClass
dsRestrictions :: Lens' DistributionSummary Restrictions
-- | 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.
dsStatus :: Lens' DistributionSummary Text
dsViewerCertificate :: Lens' DistributionSummary ViewerCertificate
data GeoRestrictionType
-- | blacklist
GRTBlacklist :: GeoRestrictionType
-- | none
GRTNone :: GeoRestrictionType
-- | whitelist
GRTWhitelist :: GeoRestrictionType
data LoggingConfig
-- | LoggingConfig constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
loggingConfig :: Bool -> Bool -> Text -> Text -> LoggingConfig
-- | The Amazon S3 bucket to store the access logs in, for example,
-- myawslogbucket.s3.amazonaws.com.
lcBucket :: Lens' LoggingConfig Text
-- | 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.
lcEnabled :: Lens' LoggingConfig Bool
-- | Specifies whether you want CloudFront to include cookies in access
-- logs, specify true for IncludeCookies. If you choose to include
-- cookies in logs, CloudFront logs all cookies regardless of how you
-- configure the cache behaviors for this distribution. If you do not
-- want to include cookies when you create a distribution or if you want
-- to disable include cookies for an existing distribution, specify false
-- for IncludeCookies.
lcIncludeCookies :: Lens' LoggingConfig Bool
-- | 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.
lcPrefix :: Lens' LoggingConfig Text
instance Eq SSLSupportMethod
instance Ord SSLSupportMethod
instance Show SSLSupportMethod
instance Generic SSLSupportMethod
instance Enum SSLSupportMethod
instance Eq CloudFrontOriginAccessIdentityConfig
instance Ord CloudFrontOriginAccessIdentityConfig
instance Show CloudFrontOriginAccessIdentityConfig
instance Eq ViewerProtocolPolicy
instance Ord ViewerProtocolPolicy
instance Show ViewerProtocolPolicy
instance Generic ViewerProtocolPolicy
instance Enum ViewerProtocolPolicy
instance Eq OriginProtocolPolicy
instance Ord OriginProtocolPolicy
instance Show OriginProtocolPolicy
instance Generic OriginProtocolPolicy
instance Enum OriginProtocolPolicy
instance Eq CloudFrontOriginAccessIdentitySummary
instance Ord CloudFrontOriginAccessIdentitySummary
instance Show CloudFrontOriginAccessIdentitySummary
instance Eq CloudFrontOriginAccessIdentityList
instance Show CloudFrontOriginAccessIdentityList
instance Eq CustomOriginConfig
instance Show CustomOriginConfig
instance Eq Aliases
instance Ord Aliases
instance Show Aliases
instance Eq InvalidationSummary
instance Ord InvalidationSummary
instance Show InvalidationSummary
instance Eq KeyPairIds
instance Ord KeyPairIds
instance Show KeyPairIds
instance Eq Signer
instance Show Signer
instance Eq PriceClass
instance Ord PriceClass
instance Show PriceClass
instance Generic PriceClass
instance Enum PriceClass
instance Eq S3OriginConfig
instance Ord S3OriginConfig
instance Show S3OriginConfig
instance Monoid S3OriginConfig
instance IsString S3OriginConfig
instance Eq Origin
instance Show Origin
instance Eq S3Origin
instance Ord S3Origin
instance Show S3Origin
instance Eq Headers
instance Ord Headers
instance Show Headers
instance Eq ViewerCertificate
instance Show ViewerCertificate
instance Eq Origins
instance Show Origins
instance Eq Method
instance Ord Method
instance Show Method
instance Generic Method
instance Enum Method
instance Eq AllowedMethods
instance Show AllowedMethods
instance Eq TrustedSigners
instance Ord TrustedSigners
instance Show TrustedSigners
instance Eq StreamingDistributionSummary
instance Show StreamingDistributionSummary
instance Eq StreamingDistributionList
instance Show StreamingDistributionList
instance Eq ItemSelection
instance Ord ItemSelection
instance Show ItemSelection
instance Generic ItemSelection
instance Enum ItemSelection
instance Eq StreamingLoggingConfig
instance Ord StreamingLoggingConfig
instance Show StreamingLoggingConfig
instance Eq StreamingDistributionConfig
instance Show StreamingDistributionConfig
instance Eq CookieNames
instance Ord CookieNames
instance Show CookieNames
instance Eq CookiePreference
instance Show CookiePreference
instance Eq ForwardedValues
instance Show ForwardedValues
instance Eq CacheBehavior
instance Show CacheBehavior
instance Eq CustomErrorResponse
instance Ord CustomErrorResponse
instance Show CustomErrorResponse
instance Eq CustomErrorResponses
instance Show CustomErrorResponses
instance Eq CacheBehaviors
instance Show CacheBehaviors
instance Eq DefaultCacheBehavior
instance Show DefaultCacheBehavior
instance Eq InvalidationList
instance Show InvalidationList
instance Eq Paths
instance Ord Paths
instance Show Paths
instance Eq InvalidationBatch
instance Show InvalidationBatch
instance Eq Invalidation
instance Show Invalidation
instance Eq CloudFrontOriginAccessIdentity
instance Show CloudFrontOriginAccessIdentity
instance Eq ActiveTrustedSigners
instance Show ActiveTrustedSigners
instance Eq StreamingDistribution
instance Show StreamingDistribution
instance Eq GeoRestrictionType
instance Ord GeoRestrictionType
instance Show GeoRestrictionType
instance Generic GeoRestrictionType
instance Enum GeoRestrictionType
instance Eq GeoRestriction
instance Show GeoRestriction
instance Eq Restrictions
instance Show Restrictions
instance Eq DistributionSummary
instance Show DistributionSummary
instance Eq DistributionList
instance Show DistributionList
instance Eq LoggingConfig
instance Ord LoggingConfig
instance Show LoggingConfig
instance Eq DistributionConfig
instance Show DistributionConfig
instance Eq Distribution
instance Show Distribution
instance Datatype D1SSLSupportMethod
instance Constructor C1_0SSLSupportMethod
instance Constructor C1_1SSLSupportMethod
instance Datatype D1ViewerProtocolPolicy
instance Constructor C1_0ViewerProtocolPolicy
instance Constructor C1_1ViewerProtocolPolicy
instance Constructor C1_2ViewerProtocolPolicy
instance Datatype D1OriginProtocolPolicy
instance Constructor C1_0OriginProtocolPolicy
instance Constructor C1_1OriginProtocolPolicy
instance Datatype D1PriceClass
instance Constructor C1_0PriceClass
instance Constructor C1_1PriceClass
instance Constructor C1_2PriceClass
instance Datatype D1Method
instance Constructor C1_0Method
instance Constructor C1_1Method
instance Constructor C1_2Method
instance Constructor C1_3Method
instance Constructor C1_4Method
instance Constructor C1_5Method
instance Constructor C1_6Method
instance Datatype D1ItemSelection
instance Constructor C1_0ItemSelection
instance Constructor C1_1ItemSelection
instance Constructor C1_2ItemSelection
instance Datatype D1GeoRestrictionType
instance Constructor C1_0GeoRestrictionType
instance Constructor C1_1GeoRestrictionType
instance Constructor C1_2GeoRestrictionType
instance ToXML LoggingConfig
instance FromXML LoggingConfig
instance ToXML GeoRestrictionType
instance FromXML GeoRestrictionType
instance ToQuery GeoRestrictionType
instance ToHeader GeoRestrictionType
instance ToByteString GeoRestrictionType
instance ToText GeoRestrictionType
instance FromText GeoRestrictionType
instance Hashable GeoRestrictionType
instance ToXML DistributionSummary
instance FromXML DistributionSummary
instance ToXML ActiveTrustedSigners
instance FromXML ActiveTrustedSigners
instance ToXML CloudFrontOriginAccessIdentity
instance ToXMLRoot CloudFrontOriginAccessIdentity
instance FromXML CloudFrontOriginAccessIdentity
instance ToXML Paths
instance FromXML Paths
instance ToXML StreamingDistribution
instance ToXMLRoot StreamingDistribution
instance FromXML StreamingDistribution
instance ToXML InvalidationList
instance FromXML InvalidationList
instance ToXML DefaultCacheBehavior
instance FromXML DefaultCacheBehavior
instance ToXML CacheBehaviors
instance FromXML CacheBehaviors
instance ToXML CustomErrorResponse
instance FromXML CustomErrorResponse
instance ToXML CookieNames
instance FromXML CookieNames
instance ToXML StreamingLoggingConfig
instance FromXML StreamingLoggingConfig
instance ToXML ItemSelection
instance FromXML ItemSelection
instance ToQuery ItemSelection
instance ToHeader ItemSelection
instance ToByteString ItemSelection
instance ToText ItemSelection
instance FromText ItemSelection
instance Hashable ItemSelection
instance ToXML TrustedSigners
instance FromXML TrustedSigners
instance ToXML ForwardedValues
instance FromXML ForwardedValues
instance ToXML Method
instance FromXML Method
instance ToQuery Method
instance ToHeader Method
instance ToByteString Method
instance ToText Method
instance FromText Method
instance Hashable Method
instance ToXML Origins
instance FromXML Origins
instance ToXML Restrictions
instance FromXML Restrictions
instance ToXML ViewerCertificate
instance FromXML ViewerCertificate
instance ToXML Headers
instance FromXML Headers
instance ToXML S3Origin
instance FromXML S3Origin
instance ToXML GeoRestriction
instance FromXML GeoRestriction
instance ToXML S3OriginConfig
instance FromXML S3OriginConfig
instance ToXML CustomErrorResponses
instance FromXML CustomErrorResponses
instance ToXML PriceClass
instance FromXML PriceClass
instance ToQuery PriceClass
instance ToHeader PriceClass
instance ToByteString PriceClass
instance ToText PriceClass
instance FromText PriceClass
instance Hashable PriceClass
instance ToXML KeyPairIds
instance FromXML KeyPairIds
instance ToXML DistributionList
instance FromXML DistributionList
instance ToXML CacheBehavior
instance FromXML CacheBehavior
instance ToXML DistributionConfig
instance FromXML DistributionConfig
instance ToXML InvalidationSummary
instance FromXML InvalidationSummary
instance ToXML InvalidationBatch
instance FromXML InvalidationBatch
instance ToXML Aliases
instance FromXML Aliases
instance ToXML CustomOriginConfig
instance FromXML CustomOriginConfig
instance ToXML StreamingDistributionSummary
instance FromXML StreamingDistributionSummary
instance ToXML CloudFrontOriginAccessIdentitySummary
instance FromXML CloudFrontOriginAccessIdentitySummary
instance ToXML Distribution
instance ToXMLRoot Distribution
instance FromXML Distribution
instance ToXML OriginProtocolPolicy
instance FromXML OriginProtocolPolicy
instance ToQuery OriginProtocolPolicy
instance ToHeader OriginProtocolPolicy
instance ToByteString OriginProtocolPolicy
instance ToText OriginProtocolPolicy
instance FromText OriginProtocolPolicy
instance Hashable OriginProtocolPolicy
instance ToXML CookiePreference
instance FromXML CookiePreference
instance ToXML Signer
instance FromXML Signer
instance ToXML StreamingDistributionConfig
instance FromXML StreamingDistributionConfig
instance ToXML StreamingDistributionList
instance FromXML StreamingDistributionList
instance ToXML ViewerProtocolPolicy
instance FromXML ViewerProtocolPolicy
instance ToQuery ViewerProtocolPolicy
instance ToHeader ViewerProtocolPolicy
instance ToByteString ViewerProtocolPolicy
instance ToText ViewerProtocolPolicy
instance FromText ViewerProtocolPolicy
instance Hashable ViewerProtocolPolicy
instance ToXML Origin
instance FromXML Origin
instance ToXML CloudFrontOriginAccessIdentityConfig
instance FromXML CloudFrontOriginAccessIdentityConfig
instance ToXML AllowedMethods
instance FromXML AllowedMethods
instance ToXML SSLSupportMethod
instance FromXML SSLSupportMethod
instance ToQuery SSLSupportMethod
instance ToHeader SSLSupportMethod
instance ToByteString SSLSupportMethod
instance ToText SSLSupportMethod
instance FromText SSLSupportMethod
instance Hashable SSLSupportMethod
instance ToXML Invalidation
instance ToXMLRoot Invalidation
instance FromXML Invalidation
instance ToXML CloudFrontOriginAccessIdentityList
instance FromXML CloudFrontOriginAccessIdentityList
instance AWSService CloudFront
-- | Update an origin access identity.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/UpdateCloudFrontOriginAccessIdentity.html
module Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity
data UpdateCloudFrontOriginAccessIdentity
-- | UpdateCloudFrontOriginAccessIdentity constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
updateCloudFrontOriginAccessIdentity :: CloudFrontOriginAccessIdentityConfig -> Text -> UpdateCloudFrontOriginAccessIdentity
-- | The identity's configuration information.
ucfoaiCloudFrontOriginAccessIdentityConfig :: Lens' UpdateCloudFrontOriginAccessIdentity CloudFrontOriginAccessIdentityConfig
-- | The identity's id.
ucfoaiId :: Lens' UpdateCloudFrontOriginAccessIdentity Text
-- | The value of the ETag header you received when retrieving the
-- identity's configuration. For example: E2QWRUHAPOMQZL.
ucfoaiIfMatch :: Lens' UpdateCloudFrontOriginAccessIdentity (Maybe Text)
data UpdateCloudFrontOriginAccessIdentityResponse
-- | UpdateCloudFrontOriginAccessIdentityResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
updateCloudFrontOriginAccessIdentityResponse :: UpdateCloudFrontOriginAccessIdentityResponse
-- | The origin access identity's information.
ucfoairCloudFrontOriginAccessIdentity :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity)
-- | The current version of the configuration. For example: E2QWRUHAPOMQZL.
ucfoairETag :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe Text)
instance Eq UpdateCloudFrontOriginAccessIdentity
instance Show UpdateCloudFrontOriginAccessIdentity
instance Eq UpdateCloudFrontOriginAccessIdentityResponse
instance Show UpdateCloudFrontOriginAccessIdentityResponse
instance AWSRequest UpdateCloudFrontOriginAccessIdentity
instance ToXML UpdateCloudFrontOriginAccessIdentity
instance ToXMLRoot UpdateCloudFrontOriginAccessIdentity
instance ToHeaders UpdateCloudFrontOriginAccessIdentity
instance ToQuery UpdateCloudFrontOriginAccessIdentity
instance ToPath UpdateCloudFrontOriginAccessIdentity
-- | Update a distribution.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/UpdateDistribution.html
module Network.AWS.CloudFront.UpdateDistribution
data UpdateDistribution
-- | UpdateDistribution constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
updateDistribution :: DistributionConfig -> Text -> UpdateDistribution
-- | The distribution's configuration information.
udDistributionConfig :: Lens' UpdateDistribution DistributionConfig
-- | The distribution's id.
udId :: Lens' UpdateDistribution Text
-- | The value of the ETag header you received when retrieving the
-- distribution's configuration. For example: E2QWRUHAPOMQZL.
udIfMatch :: Lens' UpdateDistribution (Maybe Text)
data UpdateDistributionResponse
-- | UpdateDistributionResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
updateDistributionResponse :: UpdateDistributionResponse
-- | The distribution's information.
udrDistribution :: Lens' UpdateDistributionResponse (Maybe Distribution)
-- | The current version of the configuration. For example: E2QWRUHAPOMQZL.
udrETag :: Lens' UpdateDistributionResponse (Maybe Text)
instance Eq UpdateDistribution
instance Show UpdateDistribution
instance Eq UpdateDistributionResponse
instance Show UpdateDistributionResponse
instance AWSRequest UpdateDistribution
instance ToXML UpdateDistribution
instance ToXMLRoot UpdateDistribution
instance ToHeaders UpdateDistribution
instance ToQuery UpdateDistribution
instance ToPath UpdateDistribution
-- | Update a streaming distribution.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/UpdateStreamingDistribution.html
module Network.AWS.CloudFront.UpdateStreamingDistribution
data UpdateStreamingDistribution
-- | UpdateStreamingDistribution constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
updateStreamingDistribution :: StreamingDistributionConfig -> Text -> UpdateStreamingDistribution
-- | The streaming distribution's id.
usdId :: Lens' UpdateStreamingDistribution Text
-- | The value of the ETag header you received when retrieving the
-- streaming distribution's configuration. For example: E2QWRUHAPOMQZL.
usdIfMatch :: Lens' UpdateStreamingDistribution (Maybe Text)
-- | The streaming distribution's configuration information.
usdStreamingDistributionConfig :: Lens' UpdateStreamingDistribution StreamingDistributionConfig
data UpdateStreamingDistributionResponse
-- | UpdateStreamingDistributionResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
updateStreamingDistributionResponse :: UpdateStreamingDistributionResponse
-- | The current version of the configuration. For example: E2QWRUHAPOMQZL.
usdrETag :: Lens' UpdateStreamingDistributionResponse (Maybe Text)
-- | The streaming distribution's information.
usdrStreamingDistribution :: Lens' UpdateStreamingDistributionResponse (Maybe StreamingDistribution)
instance Eq UpdateStreamingDistribution
instance Show UpdateStreamingDistribution
instance Eq UpdateStreamingDistributionResponse
instance Show UpdateStreamingDistributionResponse
instance AWSRequest UpdateStreamingDistribution
instance ToXML UpdateStreamingDistribution
instance ToXMLRoot UpdateStreamingDistribution
instance ToHeaders UpdateStreamingDistribution
instance ToQuery UpdateStreamingDistribution
instance ToPath UpdateStreamingDistribution
-- | List streaming distributions.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/ListStreamingDistributions.html
module Network.AWS.CloudFront.ListStreamingDistributions
data ListStreamingDistributions
-- | ListStreamingDistributions constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
listStreamingDistributions :: ListStreamingDistributions
-- | Use this when paginating results to indicate where to begin in your
-- list of streaming distributions. The results include distributions in
-- the list that occur after the marker. To get the next page of results,
-- set the Marker to the value of the NextMarker from the current page's
-- response (which is also the ID of the last distribution on that page).
lsdMarker :: Lens' ListStreamingDistributions (Maybe Text)
-- | The maximum number of streaming distributions you want in the response
-- body.
lsdMaxItems :: Lens' ListStreamingDistributions (Maybe Text)
data ListStreamingDistributionsResponse
-- | ListStreamingDistributionsResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
listStreamingDistributionsResponse :: StreamingDistributionList -> ListStreamingDistributionsResponse
-- | The StreamingDistributionList type.
lsdrStreamingDistributionList :: Lens' ListStreamingDistributionsResponse StreamingDistributionList
instance Eq ListStreamingDistributions
instance Ord ListStreamingDistributions
instance Show ListStreamingDistributions
instance Eq ListStreamingDistributionsResponse
instance Show ListStreamingDistributionsResponse
instance AWSPager ListStreamingDistributions
instance FromXML ListStreamingDistributionsResponse
instance AWSRequest ListStreamingDistributions
instance ToXML ListStreamingDistributions
instance ToXMLRoot ListStreamingDistributions
instance ToHeaders ListStreamingDistributions
instance ToQuery ListStreamingDistributions
instance ToPath ListStreamingDistributions
-- | List invalidation batches.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/ListInvalidations.html
module Network.AWS.CloudFront.ListInvalidations
data ListInvalidations
-- | ListInvalidations constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
listInvalidations :: Text -> ListInvalidations
-- | The distribution's id.
liDistributionId :: Lens' ListInvalidations Text
-- | Use this parameter when paginating results to indicate where to begin
-- in your list of invalidation batches. Because the results are returned
-- in decreasing order from most recent to oldest, the most recent
-- results are on the first page, the second page will contain earlier
-- results, and so on. To get the next page of results, set the Marker to
-- the value of the NextMarker from the current page's response. This
-- value is the same as the ID of the last invalidation batch on that
-- page.
liMarker :: Lens' ListInvalidations (Maybe Text)
-- | The maximum number of invalidation batches you want in the response
-- body.
liMaxItems :: Lens' ListInvalidations (Maybe Text)
data ListInvalidationsResponse
-- | ListInvalidationsResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
listInvalidationsResponse :: InvalidationList -> ListInvalidationsResponse
-- | Information about invalidation batches.
lirInvalidationList :: Lens' ListInvalidationsResponse InvalidationList
instance Eq ListInvalidations
instance Ord ListInvalidations
instance Show ListInvalidations
instance Eq ListInvalidationsResponse
instance Show ListInvalidationsResponse
instance AWSPager ListInvalidations
instance FromXML ListInvalidationsResponse
instance AWSRequest ListInvalidations
instance ToXML ListInvalidations
instance ToXMLRoot ListInvalidations
instance ToHeaders ListInvalidations
instance ToQuery ListInvalidations
instance ToPath ListInvalidations
-- | List distributions.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/ListDistributions.html
module Network.AWS.CloudFront.ListDistributions
data ListDistributions
-- | ListDistributions constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
listDistributions :: ListDistributions
-- | Use this when paginating results to indicate where to begin in your
-- list of distributions. The results include distributions in the list
-- that occur after the marker. To get the next page of results, set the
-- Marker to the value of the NextMarker from the current page's response
-- (which is also the ID of the last distribution on that page).
ldMarker :: Lens' ListDistributions (Maybe Text)
-- | The maximum number of distributions you want in the response body.
ldMaxItems :: Lens' ListDistributions (Maybe Text)
data ListDistributionsResponse
-- | ListDistributionsResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
listDistributionsResponse :: DistributionList -> ListDistributionsResponse
-- | The DistributionList type.
ldrDistributionList :: Lens' ListDistributionsResponse DistributionList
instance Eq ListDistributions
instance Ord ListDistributions
instance Show ListDistributions
instance Eq ListDistributionsResponse
instance Show ListDistributionsResponse
instance AWSPager ListDistributions
instance FromXML ListDistributionsResponse
instance AWSRequest ListDistributions
instance ToXML ListDistributions
instance ToXMLRoot ListDistributions
instance ToHeaders ListDistributions
instance ToQuery ListDistributions
instance ToPath ListDistributions
-- | List origin access identities.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/ListCloudFrontOriginAccessIdentities.html
module Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities
data ListCloudFrontOriginAccessIdentities
-- | ListCloudFrontOriginAccessIdentities constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
listCloudFrontOriginAccessIdentities :: ListCloudFrontOriginAccessIdentities
-- | Use this when paginating results to indicate where to begin in your
-- list of origin access identities. The results include identities in
-- the list that occur after the marker. To get the next page of results,
-- set the Marker to the value of the NextMarker from the current page's
-- response (which is also the ID of the last identity on that page).
lcfoaiMarker :: Lens' ListCloudFrontOriginAccessIdentities (Maybe Text)
-- | The maximum number of origin access identities you want in the
-- response body.
lcfoaiMaxItems :: Lens' ListCloudFrontOriginAccessIdentities (Maybe Text)
data ListCloudFrontOriginAccessIdentitiesResponse
-- | ListCloudFrontOriginAccessIdentitiesResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
listCloudFrontOriginAccessIdentitiesResponse :: CloudFrontOriginAccessIdentityList -> ListCloudFrontOriginAccessIdentitiesResponse
-- | The CloudFrontOriginAccessIdentityList type.
lcfoairCloudFrontOriginAccessIdentityList :: Lens' ListCloudFrontOriginAccessIdentitiesResponse CloudFrontOriginAccessIdentityList
instance Eq ListCloudFrontOriginAccessIdentities
instance Ord ListCloudFrontOriginAccessIdentities
instance Show ListCloudFrontOriginAccessIdentities
instance Eq ListCloudFrontOriginAccessIdentitiesResponse
instance Show ListCloudFrontOriginAccessIdentitiesResponse
instance AWSPager ListCloudFrontOriginAccessIdentities
instance FromXML ListCloudFrontOriginAccessIdentitiesResponse
instance AWSRequest ListCloudFrontOriginAccessIdentities
instance ToXML ListCloudFrontOriginAccessIdentities
instance ToXMLRoot ListCloudFrontOriginAccessIdentities
instance ToHeaders ListCloudFrontOriginAccessIdentities
instance ToQuery ListCloudFrontOriginAccessIdentities
instance ToPath ListCloudFrontOriginAccessIdentities
-- | Get the configuration information about a streaming distribution.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/GetStreamingDistributionConfig.html
module Network.AWS.CloudFront.GetStreamingDistributionConfig
data GetStreamingDistributionConfig
-- | GetStreamingDistributionConfig constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getStreamingDistributionConfig :: Text -> GetStreamingDistributionConfig
-- | The streaming distribution's id.
gsdcId :: Lens' GetStreamingDistributionConfig Text
data GetStreamingDistributionConfigResponse
-- | GetStreamingDistributionConfigResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getStreamingDistributionConfigResponse :: GetStreamingDistributionConfigResponse
-- | The current version of the configuration. For example: E2QWRUHAPOMQZL.
gsdcrETag :: Lens' GetStreamingDistributionConfigResponse (Maybe Text)
-- | The streaming distribution's configuration information.
gsdcrStreamingDistributionConfig :: Lens' GetStreamingDistributionConfigResponse (Maybe StreamingDistributionConfig)
instance Eq GetStreamingDistributionConfig
instance Ord GetStreamingDistributionConfig
instance Show GetStreamingDistributionConfig
instance Monoid GetStreamingDistributionConfig
instance IsString GetStreamingDistributionConfig
instance Eq GetStreamingDistributionConfigResponse
instance Show GetStreamingDistributionConfigResponse
instance AWSRequest GetStreamingDistributionConfig
instance ToXML GetStreamingDistributionConfig
instance ToXMLRoot GetStreamingDistributionConfig
instance ToHeaders GetStreamingDistributionConfig
instance ToQuery GetStreamingDistributionConfig
instance ToPath GetStreamingDistributionConfig
-- | Get the information about a streaming distribution.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/GetStreamingDistribution.html
module Network.AWS.CloudFront.GetStreamingDistribution
data GetStreamingDistribution
-- | GetStreamingDistribution constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getStreamingDistribution :: Text -> GetStreamingDistribution
-- | The streaming distribution's id.
gsdId :: Lens' GetStreamingDistribution Text
data GetStreamingDistributionResponse
-- | GetStreamingDistributionResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getStreamingDistributionResponse :: GetStreamingDistributionResponse
-- | The current version of the streaming distribution's information. For
-- example: E2QWRUHAPOMQZL.
gsdrETag :: Lens' GetStreamingDistributionResponse (Maybe Text)
-- | The streaming distribution's information.
gsdrStreamingDistribution :: Lens' GetStreamingDistributionResponse (Maybe StreamingDistribution)
instance Eq GetStreamingDistribution
instance Ord GetStreamingDistribution
instance Show GetStreamingDistribution
instance Monoid GetStreamingDistribution
instance IsString GetStreamingDistribution
instance Eq GetStreamingDistributionResponse
instance Show GetStreamingDistributionResponse
instance AWSRequest GetStreamingDistribution
instance ToXML GetStreamingDistribution
instance ToXMLRoot GetStreamingDistribution
instance ToHeaders GetStreamingDistribution
instance ToQuery GetStreamingDistribution
instance ToPath GetStreamingDistribution
-- | Get the information about an invalidation.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/GetInvalidation.html
module Network.AWS.CloudFront.GetInvalidation
data GetInvalidation
-- | GetInvalidation constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getInvalidation :: Text -> Text -> GetInvalidation
-- | The distribution's id.
giDistributionId :: Lens' GetInvalidation Text
-- | The invalidation's id.
giId :: Lens' GetInvalidation Text
data GetInvalidationResponse
-- | GetInvalidationResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getInvalidationResponse :: GetInvalidationResponse
-- | The invalidation's information.
girInvalidation :: Lens' GetInvalidationResponse (Maybe Invalidation)
instance Eq GetInvalidation
instance Ord GetInvalidation
instance Show GetInvalidation
instance Eq GetInvalidationResponse
instance Show GetInvalidationResponse
instance FromXML GetInvalidationResponse
instance AWSRequest GetInvalidation
instance ToXML GetInvalidation
instance ToXMLRoot GetInvalidation
instance ToHeaders GetInvalidation
instance ToQuery GetInvalidation
instance ToPath GetInvalidation
-- | Get the configuration information about a distribution.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/GetDistributionConfig.html
module Network.AWS.CloudFront.GetDistributionConfig
data GetDistributionConfig
-- | GetDistributionConfig constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getDistributionConfig :: Text -> GetDistributionConfig
-- | The distribution's id.
gdcId :: Lens' GetDistributionConfig Text
data GetDistributionConfigResponse
-- | GetDistributionConfigResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getDistributionConfigResponse :: GetDistributionConfigResponse
-- | The distribution's configuration information.
gdcrDistributionConfig :: Lens' GetDistributionConfigResponse (Maybe DistributionConfig)
-- | The current version of the configuration. For example: E2QWRUHAPOMQZL.
gdcrETag :: Lens' GetDistributionConfigResponse (Maybe Text)
instance Eq GetDistributionConfig
instance Ord GetDistributionConfig
instance Show GetDistributionConfig
instance Monoid GetDistributionConfig
instance IsString GetDistributionConfig
instance Eq GetDistributionConfigResponse
instance Show GetDistributionConfigResponse
instance AWSRequest GetDistributionConfig
instance ToXML GetDistributionConfig
instance ToXMLRoot GetDistributionConfig
instance ToHeaders GetDistributionConfig
instance ToQuery GetDistributionConfig
instance ToPath GetDistributionConfig
-- | Get the information about a distribution.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/GetDistribution.html
module Network.AWS.CloudFront.GetDistribution
data GetDistribution
-- | GetDistribution constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getDistribution :: Text -> GetDistribution
-- | The distribution's id.
gdId :: Lens' GetDistribution Text
data GetDistributionResponse
-- | GetDistributionResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getDistributionResponse :: GetDistributionResponse
-- | The distribution's information.
gdrDistribution :: Lens' GetDistributionResponse (Maybe Distribution)
-- | The current version of the distribution's information. For example:
-- E2QWRUHAPOMQZL.
gdrETag :: Lens' GetDistributionResponse (Maybe Text)
instance Eq GetDistribution
instance Ord GetDistribution
instance Show GetDistribution
instance Monoid GetDistribution
instance IsString GetDistribution
instance Eq GetDistributionResponse
instance Show GetDistributionResponse
instance AWSRequest GetDistribution
instance ToXML GetDistribution
instance ToXMLRoot GetDistribution
instance ToHeaders GetDistribution
instance ToQuery GetDistribution
instance ToPath GetDistribution
-- | Get the configuration information about an origin access identity.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/GetCloudFrontOriginAccessIdentityConfig.html
module Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig
data GetCloudFrontOriginAccessIdentityConfig
-- | GetCloudFrontOriginAccessIdentityConfig constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getCloudFrontOriginAccessIdentityConfig :: Text -> GetCloudFrontOriginAccessIdentityConfig
-- | The identity's id.
gcfoaicId :: Lens' GetCloudFrontOriginAccessIdentityConfig Text
data GetCloudFrontOriginAccessIdentityConfigResponse
-- | GetCloudFrontOriginAccessIdentityConfigResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getCloudFrontOriginAccessIdentityConfigResponse :: GetCloudFrontOriginAccessIdentityConfigResponse
-- | The origin access identity's configuration information.
gcfoaicrCloudFrontOriginAccessIdentityConfig :: Lens' GetCloudFrontOriginAccessIdentityConfigResponse (Maybe CloudFrontOriginAccessIdentityConfig)
-- | The current version of the configuration. For example: E2QWRUHAPOMQZL.
gcfoaicrETag :: Lens' GetCloudFrontOriginAccessIdentityConfigResponse (Maybe Text)
instance Eq GetCloudFrontOriginAccessIdentityConfig
instance Ord GetCloudFrontOriginAccessIdentityConfig
instance Show GetCloudFrontOriginAccessIdentityConfig
instance Monoid GetCloudFrontOriginAccessIdentityConfig
instance IsString GetCloudFrontOriginAccessIdentityConfig
instance Eq GetCloudFrontOriginAccessIdentityConfigResponse
instance Show GetCloudFrontOriginAccessIdentityConfigResponse
instance AWSRequest GetCloudFrontOriginAccessIdentityConfig
instance ToXML GetCloudFrontOriginAccessIdentityConfig
instance ToXMLRoot GetCloudFrontOriginAccessIdentityConfig
instance ToHeaders GetCloudFrontOriginAccessIdentityConfig
instance ToQuery GetCloudFrontOriginAccessIdentityConfig
instance ToPath GetCloudFrontOriginAccessIdentityConfig
-- | Get the information about an origin access identity.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/GetCloudFrontOriginAccessIdentity.html
module Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity
data GetCloudFrontOriginAccessIdentity
-- | GetCloudFrontOriginAccessIdentity constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getCloudFrontOriginAccessIdentity :: Text -> GetCloudFrontOriginAccessIdentity
-- | The identity's id.
gcfoaiId :: Lens' GetCloudFrontOriginAccessIdentity Text
data GetCloudFrontOriginAccessIdentityResponse
-- | GetCloudFrontOriginAccessIdentityResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getCloudFrontOriginAccessIdentityResponse :: GetCloudFrontOriginAccessIdentityResponse
-- | The origin access identity's information.
gcfoairCloudFrontOriginAccessIdentity :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity)
-- | The current version of the origin access identity's information. For
-- example: E2QWRUHAPOMQZL.
gcfoairETag :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe Text)
instance Eq GetCloudFrontOriginAccessIdentity
instance Ord GetCloudFrontOriginAccessIdentity
instance Show GetCloudFrontOriginAccessIdentity
instance Monoid GetCloudFrontOriginAccessIdentity
instance IsString GetCloudFrontOriginAccessIdentity
instance Eq GetCloudFrontOriginAccessIdentityResponse
instance Show GetCloudFrontOriginAccessIdentityResponse
instance AWSRequest GetCloudFrontOriginAccessIdentity
instance ToXML GetCloudFrontOriginAccessIdentity
instance ToXMLRoot GetCloudFrontOriginAccessIdentity
instance ToHeaders GetCloudFrontOriginAccessIdentity
instance ToQuery GetCloudFrontOriginAccessIdentity
instance ToPath GetCloudFrontOriginAccessIdentity
-- | Delete a streaming distribution.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/DeleteStreamingDistribution.html
module Network.AWS.CloudFront.DeleteStreamingDistribution
data DeleteStreamingDistribution
-- | DeleteStreamingDistribution constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
deleteStreamingDistribution :: Text -> DeleteStreamingDistribution
-- | The distribution id.
dsdId :: Lens' DeleteStreamingDistribution Text
-- | The value of the ETag header you received when you disabled the
-- streaming distribution. For example: E2QWRUHAPOMQZL.
dsdIfMatch :: Lens' DeleteStreamingDistribution (Maybe Text)
data DeleteStreamingDistributionResponse
-- | DeleteStreamingDistributionResponse constructor.
deleteStreamingDistributionResponse :: DeleteStreamingDistributionResponse
instance Eq DeleteStreamingDistribution
instance Ord DeleteStreamingDistribution
instance Show DeleteStreamingDistribution
instance Eq DeleteStreamingDistributionResponse
instance Ord DeleteStreamingDistributionResponse
instance Show DeleteStreamingDistributionResponse
instance Generic DeleteStreamingDistributionResponse
instance Datatype D1DeleteStreamingDistributionResponse
instance Constructor C1_0DeleteStreamingDistributionResponse
instance AWSRequest DeleteStreamingDistribution
instance ToXML DeleteStreamingDistribution
instance ToXMLRoot DeleteStreamingDistribution
instance ToHeaders DeleteStreamingDistribution
instance ToQuery DeleteStreamingDistribution
instance ToPath DeleteStreamingDistribution
-- | Delete a distribution.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/DeleteDistribution.html
module Network.AWS.CloudFront.DeleteDistribution
data DeleteDistribution
-- | DeleteDistribution constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
deleteDistribution :: Text -> DeleteDistribution
-- | The distribution id.
ddId :: Lens' DeleteDistribution Text
-- | The value of the ETag header you received when you disabled the
-- distribution. For example: E2QWRUHAPOMQZL.
ddIfMatch :: Lens' DeleteDistribution (Maybe Text)
data DeleteDistributionResponse
-- | DeleteDistributionResponse constructor.
deleteDistributionResponse :: DeleteDistributionResponse
instance Eq DeleteDistribution
instance Ord DeleteDistribution
instance Show DeleteDistribution
instance Eq DeleteDistributionResponse
instance Ord DeleteDistributionResponse
instance Show DeleteDistributionResponse
instance Generic DeleteDistributionResponse
instance Datatype D1DeleteDistributionResponse
instance Constructor C1_0DeleteDistributionResponse
instance AWSRequest DeleteDistribution
instance ToXML DeleteDistribution
instance ToXMLRoot DeleteDistribution
instance ToHeaders DeleteDistribution
instance ToQuery DeleteDistribution
instance ToPath DeleteDistribution
-- | Delete an origin access identity.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/DeleteCloudFrontOriginAccessIdentity.html
module Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity
data DeleteCloudFrontOriginAccessIdentity
-- | DeleteCloudFrontOriginAccessIdentity constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
deleteCloudFrontOriginAccessIdentity :: Text -> DeleteCloudFrontOriginAccessIdentity
-- | The origin access identity's id.
dcfoaiId :: Lens' DeleteCloudFrontOriginAccessIdentity Text
-- | The value of the ETag header you received from a previous GET or PUT
-- request. For example: E2QWRUHAPOMQZL.
dcfoaiIfMatch :: Lens' DeleteCloudFrontOriginAccessIdentity (Maybe Text)
data DeleteCloudFrontOriginAccessIdentityResponse
-- | DeleteCloudFrontOriginAccessIdentityResponse constructor.
deleteCloudFrontOriginAccessIdentityResponse :: DeleteCloudFrontOriginAccessIdentityResponse
instance Eq DeleteCloudFrontOriginAccessIdentity
instance Ord DeleteCloudFrontOriginAccessIdentity
instance Show DeleteCloudFrontOriginAccessIdentity
instance Eq DeleteCloudFrontOriginAccessIdentityResponse
instance Ord DeleteCloudFrontOriginAccessIdentityResponse
instance Show DeleteCloudFrontOriginAccessIdentityResponse
instance Generic DeleteCloudFrontOriginAccessIdentityResponse
instance Datatype D1DeleteCloudFrontOriginAccessIdentityResponse
instance Constructor C1_0DeleteCloudFrontOriginAccessIdentityResponse
instance AWSRequest DeleteCloudFrontOriginAccessIdentity
instance ToXML DeleteCloudFrontOriginAccessIdentity
instance ToXMLRoot DeleteCloudFrontOriginAccessIdentity
instance ToHeaders DeleteCloudFrontOriginAccessIdentity
instance ToQuery DeleteCloudFrontOriginAccessIdentity
instance ToPath DeleteCloudFrontOriginAccessIdentity
-- | Create a new streaming distribution.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/CreateStreamingDistribution.html
module Network.AWS.CloudFront.CreateStreamingDistribution
data CreateStreamingDistribution
-- | CreateStreamingDistribution constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createStreamingDistribution :: StreamingDistributionConfig -> CreateStreamingDistribution
-- | The streaming distribution's configuration information.
csdStreamingDistributionConfig :: Lens' CreateStreamingDistribution StreamingDistributionConfig
data CreateStreamingDistributionResponse
-- | CreateStreamingDistributionResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createStreamingDistributionResponse :: CreateStreamingDistributionResponse
-- | The current version of the streaming distribution created.
csdrETag :: Lens' CreateStreamingDistributionResponse (Maybe Text)
-- | The fully qualified URI of the new streaming distribution resource
-- just created. For example:
-- https://cloudfront.amazonaws.com/2010-11-01/streaming-distribution/EGTXBD79H29TRA8.
csdrLocation :: Lens' CreateStreamingDistributionResponse (Maybe Text)
-- | The streaming distribution's information.
csdrStreamingDistribution :: Lens' CreateStreamingDistributionResponse (Maybe StreamingDistribution)
instance Eq CreateStreamingDistribution
instance Show CreateStreamingDistribution
instance Eq CreateStreamingDistributionResponse
instance Show CreateStreamingDistributionResponse
instance AWSRequest CreateStreamingDistribution
instance ToXML CreateStreamingDistribution
instance ToXMLRoot CreateStreamingDistribution
instance ToHeaders CreateStreamingDistribution
instance ToQuery CreateStreamingDistribution
instance ToPath CreateStreamingDistribution
-- | Create a new invalidation.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/CreateInvalidation.html
module Network.AWS.CloudFront.CreateInvalidation
data CreateInvalidation
-- | CreateInvalidation constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createInvalidation :: Text -> InvalidationBatch -> CreateInvalidation
-- | The distribution's id.
ciDistributionId :: Lens' CreateInvalidation Text
-- | The batch information for the invalidation.
ciInvalidationBatch :: Lens' CreateInvalidation InvalidationBatch
data CreateInvalidationResponse
-- | CreateInvalidationResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createInvalidationResponse :: CreateInvalidationResponse
-- | The invalidation's information.
cirInvalidation :: Lens' CreateInvalidationResponse (Maybe Invalidation)
-- | The fully qualified URI of the distribution and invalidation batch
-- request, including the Invalidation ID.
cirLocation :: Lens' CreateInvalidationResponse (Maybe Text)
instance Eq CreateInvalidation
instance Show CreateInvalidation
instance Eq CreateInvalidationResponse
instance Show CreateInvalidationResponse
instance AWSRequest CreateInvalidation
instance ToXML CreateInvalidation
instance ToXMLRoot CreateInvalidation
instance ToHeaders CreateInvalidation
instance ToQuery CreateInvalidation
instance ToPath CreateInvalidation
-- | Create a new distribution.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/CreateDistribution.html
module Network.AWS.CloudFront.CreateDistribution
data CreateDistribution
-- | CreateDistribution constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createDistribution :: DistributionConfig -> CreateDistribution
-- | The distribution's configuration information.
cdDistributionConfig :: Lens' CreateDistribution DistributionConfig
data CreateDistributionResponse
-- | CreateDistributionResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createDistributionResponse :: CreateDistributionResponse
-- | The distribution's information.
cdrDistribution :: Lens' CreateDistributionResponse (Maybe Distribution)
-- | The current version of the distribution created.
cdrETag :: Lens' CreateDistributionResponse (Maybe Text)
-- | The fully qualified URI of the new distribution resource just created.
-- For example:
-- https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5.
cdrLocation :: Lens' CreateDistributionResponse (Maybe Text)
instance Eq CreateDistribution
instance Show CreateDistribution
instance Eq CreateDistributionResponse
instance Show CreateDistributionResponse
instance AWSRequest CreateDistribution
instance ToXML CreateDistribution
instance ToXMLRoot CreateDistribution
instance ToHeaders CreateDistribution
instance ToQuery CreateDistribution
instance ToPath CreateDistribution
-- | Create a new origin access identity.
--
--
-- http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/CreateCloudFrontOriginAccessIdentity.html
module Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity
data CreateCloudFrontOriginAccessIdentity
-- | CreateCloudFrontOriginAccessIdentity constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createCloudFrontOriginAccessIdentity :: CloudFrontOriginAccessIdentityConfig -> CreateCloudFrontOriginAccessIdentity
-- | The origin access identity's configuration information.
ccfoaiCloudFrontOriginAccessIdentityConfig :: Lens' CreateCloudFrontOriginAccessIdentity CloudFrontOriginAccessIdentityConfig
data CreateCloudFrontOriginAccessIdentityResponse
-- | CreateCloudFrontOriginAccessIdentityResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createCloudFrontOriginAccessIdentityResponse :: CreateCloudFrontOriginAccessIdentityResponse
-- | The origin access identity's information.
ccfoairCloudFrontOriginAccessIdentity :: Lens' CreateCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity)
-- | The current version of the origin access identity created.
ccfoairETag :: Lens' CreateCloudFrontOriginAccessIdentityResponse (Maybe Text)
-- | The fully qualified URI of the new origin access identity just
-- created. For example:
-- https://cloudfront.amazonaws.com/2010-11-01/origin-access-identity/cloudfront/E74FTE3AJFJ256A.
ccfoairLocation :: Lens' CreateCloudFrontOriginAccessIdentityResponse (Maybe Text)
instance Eq CreateCloudFrontOriginAccessIdentity
instance Show CreateCloudFrontOriginAccessIdentity
instance Eq CreateCloudFrontOriginAccessIdentityResponse
instance Show CreateCloudFrontOriginAccessIdentityResponse
instance AWSRequest CreateCloudFrontOriginAccessIdentity
instance ToXML CreateCloudFrontOriginAccessIdentity
instance ToXMLRoot CreateCloudFrontOriginAccessIdentity
instance ToHeaders CreateCloudFrontOriginAccessIdentity
instance ToQuery CreateCloudFrontOriginAccessIdentity
instance ToPath CreateCloudFrontOriginAccessIdentity
-- | 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.
module Network.AWS.CloudFront