-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon CloudFront SDK.
--
-- Derived from API version 2020-05-31 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- The types from this library are intended to be used with
-- amazonka, which provides mechanisms for specifying AuthN/AuthZ
-- information, sending requests, and receiving responses.
--
-- It is recommended to use generic lenses or optics from packages such
-- as generic-lens or optics to modify optional fields and
-- deconstruct responses.
--
-- Generated lenses can be found in Amazonka.CloudFront.Lens and
-- are suitable for use with a lens package such as lens or
-- lens-family-core.
--
-- See Amazonka.CloudFront and the AWS documentation to get
-- started.
@package amazonka-cloudfront
@version 2.0
module Amazonka.CloudFront.Types.Aliases
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this distribution.
--
-- See: newAliases smart constructor.
data Aliases
Aliases' :: Maybe [Text] -> Int -> Aliases
-- | A complex type that contains the CNAME aliases, if any, that you want
-- to associate with this distribution.
[$sel:items:Aliases'] :: Aliases -> Maybe [Text]
-- | The number of CNAME aliases, if any, that you want to associate with
-- this distribution.
[$sel:quantity:Aliases'] :: Aliases -> Int
-- | Create a value of Aliases with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:Aliases', aliases_items - A complex type that
-- contains the CNAME aliases, if any, that you want to associate with
-- this distribution.
--
-- $sel:quantity:Aliases', aliases_quantity - The number of
-- CNAME aliases, if any, that you want to associate with this
-- distribution.
newAliases :: Int -> Aliases
-- | A complex type that contains the CNAME aliases, if any, that you want
-- to associate with this distribution.
aliases_items :: Lens' Aliases (Maybe [Text])
-- | The number of CNAME aliases, if any, that you want to associate with
-- this distribution.
aliases_quantity :: Lens' Aliases Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.Aliases.Aliases
instance GHC.Show.Show Amazonka.CloudFront.Types.Aliases.Aliases
instance GHC.Read.Read Amazonka.CloudFront.Types.Aliases.Aliases
instance GHC.Classes.Eq Amazonka.CloudFront.Types.Aliases.Aliases
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.Aliases.Aliases
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.Aliases.Aliases
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.Aliases.Aliases
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.Aliases.Aliases
module Amazonka.CloudFront.Types.CachePolicyCookieBehavior
newtype CachePolicyCookieBehavior
CachePolicyCookieBehavior' :: Text -> CachePolicyCookieBehavior
[fromCachePolicyCookieBehavior] :: CachePolicyCookieBehavior -> Text
pattern CachePolicyCookieBehavior_All :: CachePolicyCookieBehavior
pattern CachePolicyCookieBehavior_AllExcept :: CachePolicyCookieBehavior
pattern CachePolicyCookieBehavior_None :: CachePolicyCookieBehavior
pattern CachePolicyCookieBehavior_Whitelist :: CachePolicyCookieBehavior
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.CachePolicyCookieBehavior.CachePolicyCookieBehavior
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CachePolicyCookieBehavior.CachePolicyCookieBehavior
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.CachePolicyCookieBehavior.CachePolicyCookieBehavior
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.CachePolicyCookieBehavior.CachePolicyCookieBehavior
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.CachePolicyCookieBehavior.CachePolicyCookieBehavior
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.CachePolicyCookieBehavior.CachePolicyCookieBehavior
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.CachePolicyCookieBehavior.CachePolicyCookieBehavior
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.CachePolicyCookieBehavior.CachePolicyCookieBehavior
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.CachePolicyCookieBehavior.CachePolicyCookieBehavior
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.CachePolicyCookieBehavior.CachePolicyCookieBehavior
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.CachePolicyCookieBehavior.CachePolicyCookieBehavior
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.CachePolicyCookieBehavior.CachePolicyCookieBehavior
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CachePolicyCookieBehavior.CachePolicyCookieBehavior
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CachePolicyCookieBehavior.CachePolicyCookieBehavior
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CachePolicyCookieBehavior.CachePolicyCookieBehavior
instance GHC.Classes.Ord Amazonka.CloudFront.Types.CachePolicyCookieBehavior.CachePolicyCookieBehavior
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CachePolicyCookieBehavior.CachePolicyCookieBehavior
instance GHC.Read.Read Amazonka.CloudFront.Types.CachePolicyCookieBehavior.CachePolicyCookieBehavior
instance GHC.Show.Show Amazonka.CloudFront.Types.CachePolicyCookieBehavior.CachePolicyCookieBehavior
module Amazonka.CloudFront.Types.CachePolicyHeaderBehavior
newtype CachePolicyHeaderBehavior
CachePolicyHeaderBehavior' :: Text -> CachePolicyHeaderBehavior
[fromCachePolicyHeaderBehavior] :: CachePolicyHeaderBehavior -> Text
pattern CachePolicyHeaderBehavior_None :: CachePolicyHeaderBehavior
pattern CachePolicyHeaderBehavior_Whitelist :: CachePolicyHeaderBehavior
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.CachePolicyHeaderBehavior.CachePolicyHeaderBehavior
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CachePolicyHeaderBehavior.CachePolicyHeaderBehavior
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.CachePolicyHeaderBehavior.CachePolicyHeaderBehavior
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.CachePolicyHeaderBehavior.CachePolicyHeaderBehavior
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.CachePolicyHeaderBehavior.CachePolicyHeaderBehavior
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.CachePolicyHeaderBehavior.CachePolicyHeaderBehavior
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.CachePolicyHeaderBehavior.CachePolicyHeaderBehavior
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.CachePolicyHeaderBehavior.CachePolicyHeaderBehavior
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.CachePolicyHeaderBehavior.CachePolicyHeaderBehavior
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.CachePolicyHeaderBehavior.CachePolicyHeaderBehavior
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.CachePolicyHeaderBehavior.CachePolicyHeaderBehavior
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.CachePolicyHeaderBehavior.CachePolicyHeaderBehavior
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CachePolicyHeaderBehavior.CachePolicyHeaderBehavior
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CachePolicyHeaderBehavior.CachePolicyHeaderBehavior
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CachePolicyHeaderBehavior.CachePolicyHeaderBehavior
instance GHC.Classes.Ord Amazonka.CloudFront.Types.CachePolicyHeaderBehavior.CachePolicyHeaderBehavior
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CachePolicyHeaderBehavior.CachePolicyHeaderBehavior
instance GHC.Read.Read Amazonka.CloudFront.Types.CachePolicyHeaderBehavior.CachePolicyHeaderBehavior
instance GHC.Show.Show Amazonka.CloudFront.Types.CachePolicyHeaderBehavior.CachePolicyHeaderBehavior
module Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior
newtype CachePolicyQueryStringBehavior
CachePolicyQueryStringBehavior' :: Text -> CachePolicyQueryStringBehavior
[fromCachePolicyQueryStringBehavior] :: CachePolicyQueryStringBehavior -> Text
pattern CachePolicyQueryStringBehavior_All :: CachePolicyQueryStringBehavior
pattern CachePolicyQueryStringBehavior_AllExcept :: CachePolicyQueryStringBehavior
pattern CachePolicyQueryStringBehavior_None :: CachePolicyQueryStringBehavior
pattern CachePolicyQueryStringBehavior_Whitelist :: CachePolicyQueryStringBehavior
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior.CachePolicyQueryStringBehavior
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior.CachePolicyQueryStringBehavior
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior.CachePolicyQueryStringBehavior
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior.CachePolicyQueryStringBehavior
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior.CachePolicyQueryStringBehavior
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior.CachePolicyQueryStringBehavior
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior.CachePolicyQueryStringBehavior
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior.CachePolicyQueryStringBehavior
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior.CachePolicyQueryStringBehavior
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior.CachePolicyQueryStringBehavior
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior.CachePolicyQueryStringBehavior
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior.CachePolicyQueryStringBehavior
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior.CachePolicyQueryStringBehavior
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior.CachePolicyQueryStringBehavior
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior.CachePolicyQueryStringBehavior
instance GHC.Classes.Ord Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior.CachePolicyQueryStringBehavior
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior.CachePolicyQueryStringBehavior
instance GHC.Read.Read Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior.CachePolicyQueryStringBehavior
instance GHC.Show.Show Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior.CachePolicyQueryStringBehavior
module Amazonka.CloudFront.Types.CachePolicyType
newtype CachePolicyType
CachePolicyType' :: Text -> CachePolicyType
[fromCachePolicyType] :: CachePolicyType -> Text
pattern CachePolicyType_Custom :: CachePolicyType
pattern CachePolicyType_Managed :: CachePolicyType
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.CachePolicyType.CachePolicyType
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CachePolicyType.CachePolicyType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.CachePolicyType.CachePolicyType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.CachePolicyType.CachePolicyType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.CachePolicyType.CachePolicyType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.CachePolicyType.CachePolicyType
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.CachePolicyType.CachePolicyType
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.CachePolicyType.CachePolicyType
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.CachePolicyType.CachePolicyType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.CachePolicyType.CachePolicyType
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.CachePolicyType.CachePolicyType
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.CachePolicyType.CachePolicyType
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CachePolicyType.CachePolicyType
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CachePolicyType.CachePolicyType
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CachePolicyType.CachePolicyType
instance GHC.Classes.Ord Amazonka.CloudFront.Types.CachePolicyType.CachePolicyType
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CachePolicyType.CachePolicyType
instance GHC.Read.Read Amazonka.CloudFront.Types.CachePolicyType.CachePolicyType
instance GHC.Show.Show Amazonka.CloudFront.Types.CachePolicyType.CachePolicyType
module Amazonka.CloudFront.Types.CertificateSource
newtype CertificateSource
CertificateSource' :: Text -> CertificateSource
[fromCertificateSource] :: CertificateSource -> Text
pattern CertificateSource_Acm :: CertificateSource
pattern CertificateSource_Cloudfront :: CertificateSource
pattern CertificateSource_Iam :: CertificateSource
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.CertificateSource.CertificateSource
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CertificateSource.CertificateSource
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.CertificateSource.CertificateSource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.CertificateSource.CertificateSource
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.CertificateSource.CertificateSource
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.CertificateSource.CertificateSource
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.CertificateSource.CertificateSource
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.CertificateSource.CertificateSource
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.CertificateSource.CertificateSource
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.CertificateSource.CertificateSource
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.CertificateSource.CertificateSource
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.CertificateSource.CertificateSource
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CertificateSource.CertificateSource
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CertificateSource.CertificateSource
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CertificateSource.CertificateSource
instance GHC.Classes.Ord Amazonka.CloudFront.Types.CertificateSource.CertificateSource
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CertificateSource.CertificateSource
instance GHC.Read.Read Amazonka.CloudFront.Types.CertificateSource.CertificateSource
instance GHC.Show.Show Amazonka.CloudFront.Types.CertificateSource.CertificateSource
module Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig
-- | Origin access identity configuration. Send a GET request to
-- the /CloudFront API
-- version/CloudFront/identity ID/config resource.
--
-- See: newCloudFrontOriginAccessIdentityConfig smart
-- constructor.
data CloudFrontOriginAccessIdentityConfig
CloudFrontOriginAccessIdentityConfig' :: Text -> Text -> CloudFrontOriginAccessIdentityConfig
-- | A unique value (for example, a date-time stamp) that ensures that the
-- request can't be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the CloudFrontOriginAccessIdentityConfig object),
-- a new origin access identity is created.
--
-- If the CallerReference is a value already sent in a previous
-- identity request, and the content of the
-- CloudFrontOriginAccessIdentityConfig is identical to the
-- original request (ignoring white space), the response includes the
-- same information returned to the original request.
--
-- If the CallerReference is a value you already sent in a
-- previous request to create an identity, but the content of the
-- CloudFrontOriginAccessIdentityConfig is different from the
-- original request, CloudFront returns a
-- CloudFrontOriginAccessIdentityAlreadyExists error.
[$sel:callerReference:CloudFrontOriginAccessIdentityConfig'] :: CloudFrontOriginAccessIdentityConfig -> Text
-- | A comment to describe the origin access identity. The comment cannot
-- be longer than 128 characters.
[$sel:comment:CloudFrontOriginAccessIdentityConfig'] :: CloudFrontOriginAccessIdentityConfig -> Text
-- | Create a value of CloudFrontOriginAccessIdentityConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:callerReference:CloudFrontOriginAccessIdentityConfig',
-- cloudFrontOriginAccessIdentityConfig_callerReference - A unique
-- value (for example, a date-time stamp) that ensures that the request
-- can't be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the CloudFrontOriginAccessIdentityConfig object),
-- a new origin access identity is created.
--
-- If the CallerReference is a value already sent in a previous
-- identity request, and the content of the
-- CloudFrontOriginAccessIdentityConfig is identical to the
-- original request (ignoring white space), the response includes the
-- same information returned to the original request.
--
-- If the CallerReference is a value you already sent in a
-- previous request to create an identity, but the content of the
-- CloudFrontOriginAccessIdentityConfig is different from the
-- original request, CloudFront returns a
-- CloudFrontOriginAccessIdentityAlreadyExists error.
--
-- $sel:comment:CloudFrontOriginAccessIdentityConfig',
-- cloudFrontOriginAccessIdentityConfig_comment - A comment to
-- describe the origin access identity. The comment cannot be longer than
-- 128 characters.
newCloudFrontOriginAccessIdentityConfig :: Text -> Text -> CloudFrontOriginAccessIdentityConfig
-- | A unique value (for example, a date-time stamp) that ensures that the
-- request can't be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the CloudFrontOriginAccessIdentityConfig object),
-- a new origin access identity is created.
--
-- If the CallerReference is a value already sent in a previous
-- identity request, and the content of the
-- CloudFrontOriginAccessIdentityConfig is identical to the
-- original request (ignoring white space), the response includes the
-- same information returned to the original request.
--
-- If the CallerReference is a value you already sent in a
-- previous request to create an identity, but the content of the
-- CloudFrontOriginAccessIdentityConfig is different from the
-- original request, CloudFront returns a
-- CloudFrontOriginAccessIdentityAlreadyExists error.
cloudFrontOriginAccessIdentityConfig_callerReference :: Lens' CloudFrontOriginAccessIdentityConfig Text
-- | A comment to describe the origin access identity. The comment cannot
-- be longer than 128 characters.
cloudFrontOriginAccessIdentityConfig_comment :: Lens' CloudFrontOriginAccessIdentityConfig Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig.CloudFrontOriginAccessIdentityConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig.CloudFrontOriginAccessIdentityConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig.CloudFrontOriginAccessIdentityConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig.CloudFrontOriginAccessIdentityConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig.CloudFrontOriginAccessIdentityConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig.CloudFrontOriginAccessIdentityConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig.CloudFrontOriginAccessIdentityConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig.CloudFrontOriginAccessIdentityConfig
module Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity
-- | CloudFront origin access identity.
--
-- See: newCloudFrontOriginAccessIdentity smart
-- constructor.
data CloudFrontOriginAccessIdentity
CloudFrontOriginAccessIdentity' :: Maybe CloudFrontOriginAccessIdentityConfig -> Text -> Text -> CloudFrontOriginAccessIdentity
-- | The current configuration information for the identity.
[$sel:cloudFrontOriginAccessIdentityConfig:CloudFrontOriginAccessIdentity'] :: CloudFrontOriginAccessIdentity -> Maybe CloudFrontOriginAccessIdentityConfig
-- | The ID for the origin access identity, for example,
-- E74FTE3AJFJ256A.
[$sel:id:CloudFrontOriginAccessIdentity'] :: CloudFrontOriginAccessIdentity -> Text
-- | The Amazon S3 canonical user ID for the origin access identity, used
-- when giving the origin access identity read permission to an object in
-- Amazon S3.
[$sel:s3CanonicalUserId:CloudFrontOriginAccessIdentity'] :: CloudFrontOriginAccessIdentity -> Text
-- | Create a value of CloudFrontOriginAccessIdentity with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:cloudFrontOriginAccessIdentityConfig:CloudFrontOriginAccessIdentity',
-- cloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig
-- - The current configuration information for the identity.
--
-- $sel:id:CloudFrontOriginAccessIdentity',
-- cloudFrontOriginAccessIdentity_id - The ID for the origin
-- access identity, for example, E74FTE3AJFJ256A.
--
-- $sel:s3CanonicalUserId:CloudFrontOriginAccessIdentity',
-- cloudFrontOriginAccessIdentity_s3CanonicalUserId - The Amazon
-- S3 canonical user ID for the origin access identity, used when giving
-- the origin access identity read permission to an object in Amazon S3.
newCloudFrontOriginAccessIdentity :: Text -> Text -> CloudFrontOriginAccessIdentity
-- | The current configuration information for the identity.
cloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig :: Lens' CloudFrontOriginAccessIdentity (Maybe CloudFrontOriginAccessIdentityConfig)
-- | The ID for the origin access identity, for example,
-- E74FTE3AJFJ256A.
cloudFrontOriginAccessIdentity_id :: Lens' CloudFrontOriginAccessIdentity Text
-- | The Amazon S3 canonical user ID for the origin access identity, used
-- when giving the origin access identity read permission to an object in
-- Amazon S3.
cloudFrontOriginAccessIdentity_s3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentity Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentity
instance GHC.Show.Show Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentity
instance GHC.Read.Read Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentity
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentity
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentity
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentity
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentity
module Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary
-- | Summary of the information about a CloudFront origin access identity.
--
-- See: newCloudFrontOriginAccessIdentitySummary smart
-- constructor.
data CloudFrontOriginAccessIdentitySummary
CloudFrontOriginAccessIdentitySummary' :: Text -> Text -> Text -> CloudFrontOriginAccessIdentitySummary
-- | The ID for the origin access identity. For example:
-- E74FTE3AJFJ256A.
[$sel:id:CloudFrontOriginAccessIdentitySummary'] :: 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.
[$sel:s3CanonicalUserId:CloudFrontOriginAccessIdentitySummary'] :: CloudFrontOriginAccessIdentitySummary -> Text
-- | The comment for this origin access identity, as originally specified
-- when created.
[$sel:comment:CloudFrontOriginAccessIdentitySummary'] :: CloudFrontOriginAccessIdentitySummary -> Text
-- | Create a value of CloudFrontOriginAccessIdentitySummary with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:CloudFrontOriginAccessIdentitySummary',
-- cloudFrontOriginAccessIdentitySummary_id - The ID for the
-- origin access identity. For example: E74FTE3AJFJ256A.
--
-- $sel:s3CanonicalUserId:CloudFrontOriginAccessIdentitySummary',
-- cloudFrontOriginAccessIdentitySummary_s3CanonicalUserId - 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.
--
-- $sel:comment:CloudFrontOriginAccessIdentitySummary',
-- cloudFrontOriginAccessIdentitySummary_comment - The comment for
-- this origin access identity, as originally specified when created.
newCloudFrontOriginAccessIdentitySummary :: Text -> Text -> Text -> CloudFrontOriginAccessIdentitySummary
-- | The ID for the origin access identity. For example:
-- E74FTE3AJFJ256A.
cloudFrontOriginAccessIdentitySummary_id :: 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.
cloudFrontOriginAccessIdentitySummary_s3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentitySummary Text
-- | The comment for this origin access identity, as originally specified
-- when created.
cloudFrontOriginAccessIdentitySummary_comment :: Lens' CloudFrontOriginAccessIdentitySummary Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary.CloudFrontOriginAccessIdentitySummary
instance GHC.Show.Show Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary.CloudFrontOriginAccessIdentitySummary
instance GHC.Read.Read Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary.CloudFrontOriginAccessIdentitySummary
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary.CloudFrontOriginAccessIdentitySummary
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary.CloudFrontOriginAccessIdentitySummary
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary.CloudFrontOriginAccessIdentitySummary
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary.CloudFrontOriginAccessIdentitySummary
module Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList
-- | Lists the origin access identities for CloudFront.Send a GET
-- request to the /CloudFront API
-- version/origin-access-identity/cloudfront resource.
-- The response includes a CloudFrontOriginAccessIdentityList
-- element with zero or more
-- CloudFrontOriginAccessIdentitySummary child elements. By
-- default, your entire list of origin access identities is returned in
-- one single page. If the list is long, you can paginate it using the
-- MaxItems and Marker parameters.
--
-- See: newCloudFrontOriginAccessIdentityList smart
-- constructor.
data CloudFrontOriginAccessIdentityList
CloudFrontOriginAccessIdentityList' :: Maybe [CloudFrontOriginAccessIdentitySummary] -> Maybe Text -> Text -> Int -> Bool -> Int -> CloudFrontOriginAccessIdentityList
-- | A complex type that contains one
-- CloudFrontOriginAccessIdentitySummary element for each origin
-- access identity that was created by the current Amazon Web Services
-- account.
[$sel:items:CloudFrontOriginAccessIdentityList'] :: CloudFrontOriginAccessIdentityList -> Maybe [CloudFrontOriginAccessIdentitySummary]
-- | 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.
[$sel:nextMarker:CloudFrontOriginAccessIdentityList'] :: CloudFrontOriginAccessIdentityList -> Maybe Text
-- | Use this when paginating results to indicate where to begin in your
-- list of origin access identities. The results include identities in
-- the list that occur after the marker. To get the next page of results,
-- set the Marker to the value of the NextMarker from
-- the current page's response (which is also the ID of the last identity
-- on that page).
[$sel:marker:CloudFrontOriginAccessIdentityList'] :: CloudFrontOriginAccessIdentityList -> Text
-- | The maximum number of origin access identities you want in the
-- response body.
[$sel:maxItems:CloudFrontOriginAccessIdentityList'] :: CloudFrontOriginAccessIdentityList -> Int
-- | 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.
[$sel:isTruncated:CloudFrontOriginAccessIdentityList'] :: CloudFrontOriginAccessIdentityList -> Bool
-- | The number of CloudFront origin access identities that were created by
-- the current Amazon Web Services account.
[$sel:quantity:CloudFrontOriginAccessIdentityList'] :: CloudFrontOriginAccessIdentityList -> Int
-- | Create a value of CloudFrontOriginAccessIdentityList with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:CloudFrontOriginAccessIdentityList',
-- cloudFrontOriginAccessIdentityList_items - A complex type that
-- contains one CloudFrontOriginAccessIdentitySummary element
-- for each origin access identity that was created by the current Amazon
-- Web Services account.
--
-- $sel:nextMarker:CloudFrontOriginAccessIdentityList',
-- cloudFrontOriginAccessIdentityList_nextMarker - 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.
--
-- $sel:marker:CloudFrontOriginAccessIdentityList',
-- cloudFrontOriginAccessIdentityList_marker - 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).
--
-- $sel:maxItems:CloudFrontOriginAccessIdentityList',
-- cloudFrontOriginAccessIdentityList_maxItems - The maximum
-- number of origin access identities you want in the response body.
--
-- $sel:isTruncated:CloudFrontOriginAccessIdentityList',
-- cloudFrontOriginAccessIdentityList_isTruncated - 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.
--
-- $sel:quantity:CloudFrontOriginAccessIdentityList',
-- cloudFrontOriginAccessIdentityList_quantity - The number of
-- CloudFront origin access identities that were created by the current
-- Amazon Web Services account.
newCloudFrontOriginAccessIdentityList :: Text -> Int -> Bool -> Int -> CloudFrontOriginAccessIdentityList
-- | A complex type that contains one
-- CloudFrontOriginAccessIdentitySummary element for each origin
-- access identity that was created by the current Amazon Web Services
-- account.
cloudFrontOriginAccessIdentityList_items :: Lens' CloudFrontOriginAccessIdentityList (Maybe [CloudFrontOriginAccessIdentitySummary])
-- | 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.
cloudFrontOriginAccessIdentityList_nextMarker :: Lens' CloudFrontOriginAccessIdentityList (Maybe Text)
-- | Use this when paginating results to indicate where to begin in your
-- list of origin access identities. The results include identities in
-- the list that occur after the marker. To get the next page of results,
-- set the Marker to the value of the NextMarker from
-- the current page's response (which is also the ID of the last identity
-- on that page).
cloudFrontOriginAccessIdentityList_marker :: Lens' CloudFrontOriginAccessIdentityList Text
-- | The maximum number of origin access identities you want in the
-- response body.
cloudFrontOriginAccessIdentityList_maxItems :: Lens' CloudFrontOriginAccessIdentityList Int
-- | 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.
cloudFrontOriginAccessIdentityList_isTruncated :: Lens' CloudFrontOriginAccessIdentityList Bool
-- | The number of CloudFront origin access identities that were created by
-- the current Amazon Web Services account.
cloudFrontOriginAccessIdentityList_quantity :: Lens' CloudFrontOriginAccessIdentityList Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList.CloudFrontOriginAccessIdentityList
instance GHC.Show.Show Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList.CloudFrontOriginAccessIdentityList
instance GHC.Read.Read Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList.CloudFrontOriginAccessIdentityList
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList.CloudFrontOriginAccessIdentityList
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList.CloudFrontOriginAccessIdentityList
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList.CloudFrontOriginAccessIdentityList
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList.CloudFrontOriginAccessIdentityList
module Amazonka.CloudFront.Types.ConflictingAlias
-- | An alias (also called a CNAME) and the CloudFront distribution and
-- Amazon Web Services account ID that it's associated with. The
-- distribution and account IDs are partially hidden, which allows you to
-- identify the distributions and accounts that you own, but helps to
-- protect the information of ones that you don't own.
--
-- See: newConflictingAlias smart constructor.
data ConflictingAlias
ConflictingAlias' :: Maybe Text -> Maybe Text -> Maybe Text -> ConflictingAlias
-- | The (partially hidden) ID of the Amazon Web Services account that owns
-- the distribution that's associated with the alias.
[$sel:accountId:ConflictingAlias'] :: ConflictingAlias -> Maybe Text
-- | An alias (also called a CNAME).
[$sel:alias:ConflictingAlias'] :: ConflictingAlias -> Maybe Text
-- | The (partially hidden) ID of the CloudFront distribution associated
-- with the alias.
[$sel:distributionId:ConflictingAlias'] :: ConflictingAlias -> Maybe Text
-- | Create a value of ConflictingAlias with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountId:ConflictingAlias',
-- conflictingAlias_accountId - The (partially hidden) ID of the
-- Amazon Web Services account that owns the distribution that's
-- associated with the alias.
--
-- $sel:alias:ConflictingAlias', conflictingAlias_alias -
-- An alias (also called a CNAME).
--
-- $sel:distributionId:ConflictingAlias',
-- conflictingAlias_distributionId - The (partially hidden) ID of
-- the CloudFront distribution associated with the alias.
newConflictingAlias :: ConflictingAlias
-- | The (partially hidden) ID of the Amazon Web Services account that owns
-- the distribution that's associated with the alias.
conflictingAlias_accountId :: Lens' ConflictingAlias (Maybe Text)
-- | An alias (also called a CNAME).
conflictingAlias_alias :: Lens' ConflictingAlias (Maybe Text)
-- | The (partially hidden) ID of the CloudFront distribution associated
-- with the alias.
conflictingAlias_distributionId :: Lens' ConflictingAlias (Maybe Text)
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ConflictingAlias.ConflictingAlias
instance GHC.Show.Show Amazonka.CloudFront.Types.ConflictingAlias.ConflictingAlias
instance GHC.Read.Read Amazonka.CloudFront.Types.ConflictingAlias.ConflictingAlias
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ConflictingAlias.ConflictingAlias
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ConflictingAlias.ConflictingAlias
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ConflictingAlias.ConflictingAlias
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ConflictingAlias.ConflictingAlias
module Amazonka.CloudFront.Types.ConflictingAliasesList
-- | A list of aliases (also called CNAMEs) and the CloudFront
-- distributions and Amazon Web Services accounts that they are
-- associated with. In the list, the distribution and account IDs are
-- partially hidden, which allows you to identify the distributions and
-- accounts that you own, but helps to protect the information of ones
-- that you don't own.
--
-- See: newConflictingAliasesList smart constructor.
data ConflictingAliasesList
ConflictingAliasesList' :: Maybe [ConflictingAlias] -> Maybe Int -> Maybe Text -> Maybe Int -> ConflictingAliasesList
-- | Contains the conflicting aliases in the list.
[$sel:items:ConflictingAliasesList'] :: ConflictingAliasesList -> Maybe [ConflictingAlias]
-- | The maximum number of conflicting aliases requested.
[$sel:maxItems:ConflictingAliasesList'] :: ConflictingAliasesList -> Maybe Int
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- conflicting aliases where you left off.
[$sel:nextMarker:ConflictingAliasesList'] :: ConflictingAliasesList -> Maybe Text
-- | The number of conflicting aliases returned in the response.
[$sel:quantity:ConflictingAliasesList'] :: ConflictingAliasesList -> Maybe Int
-- | Create a value of ConflictingAliasesList with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ConflictingAliasesList',
-- conflictingAliasesList_items - Contains the conflicting aliases
-- in the list.
--
-- $sel:maxItems:ConflictingAliasesList',
-- conflictingAliasesList_maxItems - The maximum number of
-- conflicting aliases requested.
--
-- $sel:nextMarker:ConflictingAliasesList',
-- conflictingAliasesList_nextMarker - If there are more items in
-- the list than are in this response, this element is present. It
-- contains the value that you should use in the Marker field of
-- a subsequent request to continue listing conflicting aliases where you
-- left off.
--
-- $sel:quantity:ConflictingAliasesList',
-- conflictingAliasesList_quantity - The number of conflicting
-- aliases returned in the response.
newConflictingAliasesList :: ConflictingAliasesList
-- | Contains the conflicting aliases in the list.
conflictingAliasesList_items :: Lens' ConflictingAliasesList (Maybe [ConflictingAlias])
-- | The maximum number of conflicting aliases requested.
conflictingAliasesList_maxItems :: Lens' ConflictingAliasesList (Maybe Int)
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- conflicting aliases where you left off.
conflictingAliasesList_nextMarker :: Lens' ConflictingAliasesList (Maybe Text)
-- | The number of conflicting aliases returned in the response.
conflictingAliasesList_quantity :: Lens' ConflictingAliasesList (Maybe Int)
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ConflictingAliasesList.ConflictingAliasesList
instance GHC.Show.Show Amazonka.CloudFront.Types.ConflictingAliasesList.ConflictingAliasesList
instance GHC.Read.Read Amazonka.CloudFront.Types.ConflictingAliasesList.ConflictingAliasesList
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ConflictingAliasesList.ConflictingAliasesList
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ConflictingAliasesList.ConflictingAliasesList
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ConflictingAliasesList.ConflictingAliasesList
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ConflictingAliasesList.ConflictingAliasesList
module Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType
newtype ContinuousDeploymentPolicyType
ContinuousDeploymentPolicyType' :: Text -> ContinuousDeploymentPolicyType
[fromContinuousDeploymentPolicyType] :: ContinuousDeploymentPolicyType -> Text
pattern ContinuousDeploymentPolicyType_SingleHeader :: ContinuousDeploymentPolicyType
pattern ContinuousDeploymentPolicyType_SingleWeight :: ContinuousDeploymentPolicyType
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType.ContinuousDeploymentPolicyType
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType.ContinuousDeploymentPolicyType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType.ContinuousDeploymentPolicyType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType.ContinuousDeploymentPolicyType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType.ContinuousDeploymentPolicyType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType.ContinuousDeploymentPolicyType
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType.ContinuousDeploymentPolicyType
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType.ContinuousDeploymentPolicyType
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType.ContinuousDeploymentPolicyType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType.ContinuousDeploymentPolicyType
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType.ContinuousDeploymentPolicyType
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType.ContinuousDeploymentPolicyType
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType.ContinuousDeploymentPolicyType
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType.ContinuousDeploymentPolicyType
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType.ContinuousDeploymentPolicyType
instance GHC.Classes.Ord Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType.ContinuousDeploymentPolicyType
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType.ContinuousDeploymentPolicyType
instance GHC.Read.Read Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType.ContinuousDeploymentPolicyType
instance GHC.Show.Show Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType.ContinuousDeploymentPolicyType
module Amazonka.CloudFront.Types.ContinuousDeploymentSingleHeaderConfig
-- | This configuration determines which HTTP requests are sent to the
-- staging distribution. If the HTTP request contains a header and value
-- that matches what you specify here, the request is sent to the staging
-- distribution. Otherwise the request is sent to the primary
-- distribution.
--
-- See: newContinuousDeploymentSingleHeaderConfig smart
-- constructor.
data ContinuousDeploymentSingleHeaderConfig
ContinuousDeploymentSingleHeaderConfig' :: Text -> Text -> ContinuousDeploymentSingleHeaderConfig
-- | The request header name that you want CloudFront to send to your
-- staging distribution. The header must contain the prefix
-- aws-cf-cd-.
[$sel:header:ContinuousDeploymentSingleHeaderConfig'] :: ContinuousDeploymentSingleHeaderConfig -> Text
-- | The request header value.
[$sel:value:ContinuousDeploymentSingleHeaderConfig'] :: ContinuousDeploymentSingleHeaderConfig -> Text
-- | Create a value of ContinuousDeploymentSingleHeaderConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:header:ContinuousDeploymentSingleHeaderConfig',
-- continuousDeploymentSingleHeaderConfig_header - The request
-- header name that you want CloudFront to send to your staging
-- distribution. The header must contain the prefix aws-cf-cd-.
--
-- $sel:value:ContinuousDeploymentSingleHeaderConfig',
-- continuousDeploymentSingleHeaderConfig_value - The request
-- header value.
newContinuousDeploymentSingleHeaderConfig :: Text -> Text -> ContinuousDeploymentSingleHeaderConfig
-- | The request header name that you want CloudFront to send to your
-- staging distribution. The header must contain the prefix
-- aws-cf-cd-.
continuousDeploymentSingleHeaderConfig_header :: Lens' ContinuousDeploymentSingleHeaderConfig Text
-- | The request header value.
continuousDeploymentSingleHeaderConfig_value :: Lens' ContinuousDeploymentSingleHeaderConfig Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ContinuousDeploymentSingleHeaderConfig.ContinuousDeploymentSingleHeaderConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.ContinuousDeploymentSingleHeaderConfig.ContinuousDeploymentSingleHeaderConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.ContinuousDeploymentSingleHeaderConfig.ContinuousDeploymentSingleHeaderConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ContinuousDeploymentSingleHeaderConfig.ContinuousDeploymentSingleHeaderConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ContinuousDeploymentSingleHeaderConfig.ContinuousDeploymentSingleHeaderConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ContinuousDeploymentSingleHeaderConfig.ContinuousDeploymentSingleHeaderConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ContinuousDeploymentSingleHeaderConfig.ContinuousDeploymentSingleHeaderConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ContinuousDeploymentSingleHeaderConfig.ContinuousDeploymentSingleHeaderConfig
module Amazonka.CloudFront.Types.CookieNames
-- | Contains a list of cookie names.
--
-- See: newCookieNames smart constructor.
data CookieNames
CookieNames' :: Maybe [Text] -> Int -> CookieNames
-- | A list of cookie names.
[$sel:items:CookieNames'] :: CookieNames -> Maybe [Text]
-- | The number of cookie names in the Items list.
[$sel:quantity:CookieNames'] :: CookieNames -> Int
-- | Create a value of CookieNames with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:CookieNames', cookieNames_items - A list of
-- cookie names.
--
-- $sel:quantity:CookieNames', cookieNames_quantity - The
-- number of cookie names in the Items list.
newCookieNames :: Int -> CookieNames
-- | A list of cookie names.
cookieNames_items :: Lens' CookieNames (Maybe [Text])
-- | The number of cookie names in the Items list.
cookieNames_quantity :: Lens' CookieNames Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CookieNames.CookieNames
instance GHC.Show.Show Amazonka.CloudFront.Types.CookieNames.CookieNames
instance GHC.Read.Read Amazonka.CloudFront.Types.CookieNames.CookieNames
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CookieNames.CookieNames
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CookieNames.CookieNames
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CookieNames.CookieNames
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CookieNames.CookieNames
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.CookieNames.CookieNames
module Amazonka.CloudFront.Types.CachePolicyCookiesConfig
-- | An object that determines whether any cookies in viewer requests (and
-- if so, which cookies) are included in the cache key and automatically
-- included in requests that CloudFront sends to the origin.
--
-- See: newCachePolicyCookiesConfig smart constructor.
data CachePolicyCookiesConfig
CachePolicyCookiesConfig' :: Maybe CookieNames -> CachePolicyCookieBehavior -> CachePolicyCookiesConfig
[$sel:cookies:CachePolicyCookiesConfig'] :: CachePolicyCookiesConfig -> Maybe CookieNames
-- | Determines whether any cookies in viewer requests are included in the
-- cache key and automatically included in requests that CloudFront sends
-- to the origin. Valid values are:
--
--
-- - none – Cookies in viewer requests are not included in the
-- cache key and are not automatically included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any cookies that are listed in an
-- OriginRequestPolicy are included in origin
-- requests.
-- - whitelist – The cookies in viewer requests that are
-- listed in the CookieNames type are included in the cache key
-- and automatically included in requests that CloudFront sends to the
-- origin.
-- - allExcept – All cookies in viewer requests that are
-- not listed in the CookieNames type are included
-- in the cache key and automatically included in requests that
-- CloudFront sends to the origin.
-- - all – All cookies in viewer requests are included in the
-- cache key and are automatically included in requests that CloudFront
-- sends to the origin.
--
[$sel:cookieBehavior:CachePolicyCookiesConfig'] :: CachePolicyCookiesConfig -> CachePolicyCookieBehavior
-- | Create a value of CachePolicyCookiesConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cookies:CachePolicyCookiesConfig',
-- cachePolicyCookiesConfig_cookies - Undocumented member.
--
-- $sel:cookieBehavior:CachePolicyCookiesConfig',
-- cachePolicyCookiesConfig_cookieBehavior - Determines whether
-- any cookies in viewer requests are included in the cache key and
-- automatically included in requests that CloudFront sends to the
-- origin. Valid values are:
--
--
-- - none – Cookies in viewer requests are not included in the
-- cache key and are not automatically included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any cookies that are listed in an
-- OriginRequestPolicy are included in origin
-- requests.
-- - whitelist – The cookies in viewer requests that are
-- listed in the CookieNames type are included in the cache key
-- and automatically included in requests that CloudFront sends to the
-- origin.
-- - allExcept – All cookies in viewer requests that are
-- not listed in the CookieNames type are included
-- in the cache key and automatically included in requests that
-- CloudFront sends to the origin.
-- - all – All cookies in viewer requests are included in the
-- cache key and are automatically included in requests that CloudFront
-- sends to the origin.
--
newCachePolicyCookiesConfig :: CachePolicyCookieBehavior -> CachePolicyCookiesConfig
-- | Undocumented member.
cachePolicyCookiesConfig_cookies :: Lens' CachePolicyCookiesConfig (Maybe CookieNames)
-- | Determines whether any cookies in viewer requests are included in the
-- cache key and automatically included in requests that CloudFront sends
-- to the origin. Valid values are:
--
--
-- - none – Cookies in viewer requests are not included in the
-- cache key and are not automatically included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any cookies that are listed in an
-- OriginRequestPolicy are included in origin
-- requests.
-- - whitelist – The cookies in viewer requests that are
-- listed in the CookieNames type are included in the cache key
-- and automatically included in requests that CloudFront sends to the
-- origin.
-- - allExcept – All cookies in viewer requests that are
-- not listed in the CookieNames type are included
-- in the cache key and automatically included in requests that
-- CloudFront sends to the origin.
-- - all – All cookies in viewer requests are included in the
-- cache key and are automatically included in requests that CloudFront
-- sends to the origin.
--
cachePolicyCookiesConfig_cookieBehavior :: Lens' CachePolicyCookiesConfig CachePolicyCookieBehavior
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CachePolicyCookiesConfig.CachePolicyCookiesConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.CachePolicyCookiesConfig.CachePolicyCookiesConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.CachePolicyCookiesConfig.CachePolicyCookiesConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CachePolicyCookiesConfig.CachePolicyCookiesConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CachePolicyCookiesConfig.CachePolicyCookiesConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CachePolicyCookiesConfig.CachePolicyCookiesConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CachePolicyCookiesConfig.CachePolicyCookiesConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.CachePolicyCookiesConfig.CachePolicyCookiesConfig
module Amazonka.CloudFront.Types.CustomErrorResponse
-- | A complex type that controls:
--
--
-- - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx
-- range with custom error messages before returning the response to the
-- viewer.
-- - How long CloudFront caches HTTP status codes in the 4xx and 5xx
-- range.
--
--
-- For more information about custom error pages, see Customizing
-- Error Responses in the Amazon CloudFront Developer Guide.
--
-- See: newCustomErrorResponse smart constructor.
data CustomErrorResponse
CustomErrorResponse' :: Maybe Integer -> Maybe Text -> Maybe Text -> Int -> CustomErrorResponse
-- | The minimum amount of time, in seconds, that you want CloudFront to
-- cache the HTTP status code specified in ErrorCode. When this
-- time period has elapsed, CloudFront queries your origin to see whether
-- the problem that caused the error has been resolved and the requested
-- object is now available.
--
-- For more information, see Customizing Error Responses in the
-- Amazon CloudFront Developer Guide.
[$sel:errorCachingMinTTL:CustomErrorResponse'] :: CustomErrorResponse -> Maybe Integer
-- | The HTTP status code that you want CloudFront to return to the viewer
-- along with the custom error page. There are a variety of reasons that
-- you might want CloudFront to return a status code different from the
-- status code that your origin returned to CloudFront, for example:
--
--
-- - Some Internet devices (some firewalls and corporate proxies, for
-- example) intercept HTTP 4xx and 5xx and prevent the response from
-- being returned to the viewer. If you substitute 200, the
-- response typically won't be intercepted.
-- - If you don't care about distinguishing among different client
-- errors or server errors, you can specify 400 or 500
-- as the ResponseCode for all 4xx or 5xx errors.
-- - You might want to return a 200 status code (OK) and
-- static website so your customers don't know that your website is
-- down.
--
--
-- If you specify a value for ResponseCode, you must also
-- specify a value for ResponsePagePath.
[$sel:responseCode:CustomErrorResponse'] :: CustomErrorResponse -> Maybe Text
-- | The path to the custom error page that you want CloudFront to return
-- to a viewer when your origin returns the HTTP status code specified by
-- ErrorCode, for example,
-- /4xx-errors/403-forbidden.html. If you want to store your
-- objects and your custom error pages in different locations, your
-- distribution must include a cache behavior for which the following is
-- true:
--
--
-- - The value of PathPattern matches the path to your custom
-- error messages. For example, suppose you saved custom error pages for
-- 4xx errors in an Amazon S3 bucket in a directory named
-- /4xx-errors. Your distribution must include a cache behavior
-- for which the path pattern routes requests for your custom error pages
-- to that location, for example, /4xx-errors/*.
-- - The value of TargetOriginId specifies the value of the
-- ID element for the origin that contains your custom error
-- pages.
--
--
-- If you specify a value for ResponsePagePath, you must also
-- specify a value for ResponseCode.
--
-- We recommend that you store custom error pages in an Amazon S3 bucket.
-- If you store custom error pages on an HTTP server and the server
-- starts to return 5xx errors, CloudFront can't get the files that you
-- want to return to viewers because the origin server is unavailable.
[$sel:responsePagePath:CustomErrorResponse'] :: CustomErrorResponse -> Maybe Text
-- | The HTTP status code for which you want to specify a custom error page
-- and/or a caching duration.
[$sel:errorCode:CustomErrorResponse'] :: CustomErrorResponse -> Int
-- | Create a value of CustomErrorResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:errorCachingMinTTL:CustomErrorResponse',
-- customErrorResponse_errorCachingMinTTL - The minimum amount of
-- time, in seconds, that you want CloudFront to cache the HTTP status
-- code specified in ErrorCode. When this time period has
-- elapsed, CloudFront queries your origin to see whether the problem
-- that caused the error has been resolved and the requested object is
-- now available.
--
-- For more information, see Customizing Error Responses in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:responseCode:CustomErrorResponse',
-- customErrorResponse_responseCode - The HTTP status code that
-- you want CloudFront to return to the viewer along with the custom
-- error page. There are a variety of reasons that you might want
-- CloudFront to return a status code different from the status code that
-- your origin returned to CloudFront, for example:
--
--
-- - Some Internet devices (some firewalls and corporate proxies, for
-- example) intercept HTTP 4xx and 5xx and prevent the response from
-- being returned to the viewer. If you substitute 200, the
-- response typically won't be intercepted.
-- - If you don't care about distinguishing among different client
-- errors or server errors, you can specify 400 or 500
-- as the ResponseCode for all 4xx or 5xx errors.
-- - You might want to return a 200 status code (OK) and
-- static website so your customers don't know that your website is
-- down.
--
--
-- If you specify a value for ResponseCode, you must also
-- specify a value for ResponsePagePath.
--
-- $sel:responsePagePath:CustomErrorResponse',
-- customErrorResponse_responsePagePath - The path to the custom
-- error page that you want CloudFront to return to a viewer when your
-- origin returns the HTTP status code specified by ErrorCode,
-- for example, /4xx-errors/403-forbidden.html. If you want to
-- store your objects and your custom error pages in different locations,
-- your distribution must include a cache behavior for which the
-- following is true:
--
--
-- - The value of PathPattern matches the path to your custom
-- error messages. For example, suppose you saved custom error pages for
-- 4xx errors in an Amazon S3 bucket in a directory named
-- /4xx-errors. Your distribution must include a cache behavior
-- for which the path pattern routes requests for your custom error pages
-- to that location, for example, /4xx-errors/*.
-- - The value of TargetOriginId specifies the value of the
-- ID element for the origin that contains your custom error
-- pages.
--
--
-- If you specify a value for ResponsePagePath, you must also
-- specify a value for ResponseCode.
--
-- We recommend that you store custom error pages in an Amazon S3 bucket.
-- If you store custom error pages on an HTTP server and the server
-- starts to return 5xx errors, CloudFront can't get the files that you
-- want to return to viewers because the origin server is unavailable.
--
-- $sel:errorCode:CustomErrorResponse',
-- customErrorResponse_errorCode - The HTTP status code for which
-- you want to specify a custom error page and/or a caching duration.
newCustomErrorResponse :: Int -> CustomErrorResponse
-- | The minimum amount of time, in seconds, that you want CloudFront to
-- cache the HTTP status code specified in ErrorCode. When this
-- time period has elapsed, CloudFront queries your origin to see whether
-- the problem that caused the error has been resolved and the requested
-- object is now available.
--
-- For more information, see Customizing Error Responses in the
-- Amazon CloudFront Developer Guide.
customErrorResponse_errorCachingMinTTL :: Lens' CustomErrorResponse (Maybe Integer)
-- | The HTTP status code that you want CloudFront to return to the viewer
-- along with the custom error page. There are a variety of reasons that
-- you might want CloudFront to return a status code different from the
-- status code that your origin returned to CloudFront, for example:
--
--
-- - Some Internet devices (some firewalls and corporate proxies, for
-- example) intercept HTTP 4xx and 5xx and prevent the response from
-- being returned to the viewer. If you substitute 200, the
-- response typically won't be intercepted.
-- - If you don't care about distinguishing among different client
-- errors or server errors, you can specify 400 or 500
-- as the ResponseCode for all 4xx or 5xx errors.
-- - You might want to return a 200 status code (OK) and
-- static website so your customers don't know that your website is
-- down.
--
--
-- If you specify a value for ResponseCode, you must also
-- specify a value for ResponsePagePath.
customErrorResponse_responseCode :: Lens' CustomErrorResponse (Maybe Text)
-- | The path to the custom error page that you want CloudFront to return
-- to a viewer when your origin returns the HTTP status code specified by
-- ErrorCode, for example,
-- /4xx-errors/403-forbidden.html. If you want to store your
-- objects and your custom error pages in different locations, your
-- distribution must include a cache behavior for which the following is
-- true:
--
--
-- - The value of PathPattern matches the path to your custom
-- error messages. For example, suppose you saved custom error pages for
-- 4xx errors in an Amazon S3 bucket in a directory named
-- /4xx-errors. Your distribution must include a cache behavior
-- for which the path pattern routes requests for your custom error pages
-- to that location, for example, /4xx-errors/*.
-- - The value of TargetOriginId specifies the value of the
-- ID element for the origin that contains your custom error
-- pages.
--
--
-- If you specify a value for ResponsePagePath, you must also
-- specify a value for ResponseCode.
--
-- We recommend that you store custom error pages in an Amazon S3 bucket.
-- If you store custom error pages on an HTTP server and the server
-- starts to return 5xx errors, CloudFront can't get the files that you
-- want to return to viewers because the origin server is unavailable.
customErrorResponse_responsePagePath :: Lens' CustomErrorResponse (Maybe Text)
-- | The HTTP status code for which you want to specify a custom error page
-- and/or a caching duration.
customErrorResponse_errorCode :: Lens' CustomErrorResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CustomErrorResponse.CustomErrorResponse
instance GHC.Show.Show Amazonka.CloudFront.Types.CustomErrorResponse.CustomErrorResponse
instance GHC.Read.Read Amazonka.CloudFront.Types.CustomErrorResponse.CustomErrorResponse
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CustomErrorResponse.CustomErrorResponse
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CustomErrorResponse.CustomErrorResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CustomErrorResponse.CustomErrorResponse
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CustomErrorResponse.CustomErrorResponse
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.CustomErrorResponse.CustomErrorResponse
module Amazonka.CloudFront.Types.CustomErrorResponses
-- | A complex type that controls:
--
--
-- - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx
-- range with custom error messages before returning the response to the
-- viewer.
-- - How long CloudFront caches HTTP status codes in the 4xx and 5xx
-- range.
--
--
-- For more information about custom error pages, see Customizing
-- Error Responses in the Amazon CloudFront Developer Guide.
--
-- See: newCustomErrorResponses smart constructor.
data CustomErrorResponses
CustomErrorResponses' :: Maybe [CustomErrorResponse] -> Int -> CustomErrorResponses
-- | A complex type that contains a CustomErrorResponse element
-- for each HTTP status code for which you want to specify a custom error
-- page and/or a caching duration.
[$sel:items:CustomErrorResponses'] :: CustomErrorResponses -> Maybe [CustomErrorResponse]
-- | The number of HTTP status codes for which you want to specify a custom
-- error page and/or a caching duration. If Quantity is
-- 0, you can omit Items.
[$sel:quantity:CustomErrorResponses'] :: CustomErrorResponses -> Int
-- | Create a value of CustomErrorResponses with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:CustomErrorResponses',
-- customErrorResponses_items - A complex type that contains a
-- CustomErrorResponse element for each HTTP status code for
-- which you want to specify a custom error page and/or a caching
-- duration.
--
-- $sel:quantity:CustomErrorResponses',
-- customErrorResponses_quantity - The number of HTTP status codes
-- for which you want to specify a custom error page and/or a caching
-- duration. If Quantity is 0, you can omit
-- Items.
newCustomErrorResponses :: Int -> CustomErrorResponses
-- | A complex type that contains a CustomErrorResponse element
-- for each HTTP status code for which you want to specify a custom error
-- page and/or a caching duration.
customErrorResponses_items :: Lens' CustomErrorResponses (Maybe [CustomErrorResponse])
-- | The number of HTTP status codes for which you want to specify a custom
-- error page and/or a caching duration. If Quantity is
-- 0, you can omit Items.
customErrorResponses_quantity :: Lens' CustomErrorResponses Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CustomErrorResponses.CustomErrorResponses
instance GHC.Show.Show Amazonka.CloudFront.Types.CustomErrorResponses.CustomErrorResponses
instance GHC.Read.Read Amazonka.CloudFront.Types.CustomErrorResponses.CustomErrorResponses
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CustomErrorResponses.CustomErrorResponses
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CustomErrorResponses.CustomErrorResponses
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CustomErrorResponses.CustomErrorResponses
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CustomErrorResponses.CustomErrorResponses
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.CustomErrorResponses.CustomErrorResponses
module Amazonka.CloudFront.Types.DistributionIdList
-- | A list of distribution IDs.
--
-- See: newDistributionIdList smart constructor.
data DistributionIdList
DistributionIdList' :: Maybe [Text] -> Maybe Text -> Text -> Int -> Bool -> Int -> DistributionIdList
-- | Contains the distribution IDs in the list.
[$sel:items:DistributionIdList'] :: DistributionIdList -> Maybe [Text]
-- | Contains the value that you should use in the Marker field of
-- a subsequent request to continue listing distribution IDs where you
-- left off.
[$sel:nextMarker:DistributionIdList'] :: DistributionIdList -> Maybe Text
-- | The value provided in the Marker request field.
[$sel:marker:DistributionIdList'] :: DistributionIdList -> Text
-- | The maximum number of distribution IDs requested.
[$sel:maxItems:DistributionIdList'] :: DistributionIdList -> Int
-- | A flag that indicates whether more distribution IDs remain to be
-- listed. If your results were truncated, you can make a subsequent
-- request using the Marker request field to retrieve more
-- distribution IDs in the list.
[$sel:isTruncated:DistributionIdList'] :: DistributionIdList -> Bool
-- | The total number of distribution IDs returned in the response.
[$sel:quantity:DistributionIdList'] :: DistributionIdList -> Int
-- | Create a value of DistributionIdList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:DistributionIdList', distributionIdList_items
-- - Contains the distribution IDs in the list.
--
-- $sel:nextMarker:DistributionIdList',
-- distributionIdList_nextMarker - Contains the value that you
-- should use in the Marker field of a subsequent request to
-- continue listing distribution IDs where you left off.
--
-- $sel:marker:DistributionIdList',
-- distributionIdList_marker - The value provided in the
-- Marker request field.
--
-- $sel:maxItems:DistributionIdList',
-- distributionIdList_maxItems - The maximum number of
-- distribution IDs requested.
--
-- $sel:isTruncated:DistributionIdList',
-- distributionIdList_isTruncated - A flag that indicates whether
-- more distribution IDs remain to be listed. If your results were
-- truncated, you can make a subsequent request using the Marker
-- request field to retrieve more distribution IDs in the list.
--
-- $sel:quantity:DistributionIdList',
-- distributionIdList_quantity - The total number of distribution
-- IDs returned in the response.
newDistributionIdList :: Text -> Int -> Bool -> Int -> DistributionIdList
-- | Contains the distribution IDs in the list.
distributionIdList_items :: Lens' DistributionIdList (Maybe [Text])
-- | Contains the value that you should use in the Marker field of
-- a subsequent request to continue listing distribution IDs where you
-- left off.
distributionIdList_nextMarker :: Lens' DistributionIdList (Maybe Text)
-- | The value provided in the Marker request field.
distributionIdList_marker :: Lens' DistributionIdList Text
-- | The maximum number of distribution IDs requested.
distributionIdList_maxItems :: Lens' DistributionIdList Int
-- | A flag that indicates whether more distribution IDs remain to be
-- listed. If your results were truncated, you can make a subsequent
-- request using the Marker request field to retrieve more
-- distribution IDs in the list.
distributionIdList_isTruncated :: Lens' DistributionIdList Bool
-- | The total number of distribution IDs returned in the response.
distributionIdList_quantity :: Lens' DistributionIdList Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.DistributionIdList.DistributionIdList
instance GHC.Show.Show Amazonka.CloudFront.Types.DistributionIdList.DistributionIdList
instance GHC.Read.Read Amazonka.CloudFront.Types.DistributionIdList.DistributionIdList
instance GHC.Classes.Eq Amazonka.CloudFront.Types.DistributionIdList.DistributionIdList
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.DistributionIdList.DistributionIdList
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.DistributionIdList.DistributionIdList
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.DistributionIdList.DistributionIdList
module Amazonka.CloudFront.Types.EventType
newtype EventType
EventType' :: Text -> EventType
[fromEventType] :: EventType -> Text
pattern EventType_Origin_request :: EventType
pattern EventType_Origin_response :: EventType
pattern EventType_Viewer_request :: EventType
pattern EventType_Viewer_response :: EventType
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.EventType.EventType
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.EventType.EventType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.EventType.EventType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.EventType.EventType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.EventType.EventType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.EventType.EventType
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.EventType.EventType
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.EventType.EventType
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.EventType.EventType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.EventType.EventType
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.EventType.EventType
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.EventType.EventType
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.EventType.EventType
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.EventType.EventType
instance GHC.Generics.Generic Amazonka.CloudFront.Types.EventType.EventType
instance GHC.Classes.Ord Amazonka.CloudFront.Types.EventType.EventType
instance GHC.Classes.Eq Amazonka.CloudFront.Types.EventType.EventType
instance GHC.Read.Read Amazonka.CloudFront.Types.EventType.EventType
instance GHC.Show.Show Amazonka.CloudFront.Types.EventType.EventType
module Amazonka.CloudFront.Types.FieldPatterns
-- | A complex data type that includes the field patterns to match for
-- field-level encryption.
--
-- See: newFieldPatterns smart constructor.
data FieldPatterns
FieldPatterns' :: Maybe [Text] -> Int -> FieldPatterns
-- | An array of the field-level encryption field patterns.
[$sel:items:FieldPatterns'] :: FieldPatterns -> Maybe [Text]
-- | The number of field-level encryption field patterns.
[$sel:quantity:FieldPatterns'] :: FieldPatterns -> Int
-- | Create a value of FieldPatterns with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:FieldPatterns', fieldPatterns_items - An
-- array of the field-level encryption field patterns.
--
-- $sel:quantity:FieldPatterns', fieldPatterns_quantity -
-- The number of field-level encryption field patterns.
newFieldPatterns :: Int -> FieldPatterns
-- | An array of the field-level encryption field patterns.
fieldPatterns_items :: Lens' FieldPatterns (Maybe [Text])
-- | The number of field-level encryption field patterns.
fieldPatterns_quantity :: Lens' FieldPatterns Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.FieldPatterns.FieldPatterns
instance GHC.Show.Show Amazonka.CloudFront.Types.FieldPatterns.FieldPatterns
instance GHC.Read.Read Amazonka.CloudFront.Types.FieldPatterns.FieldPatterns
instance GHC.Classes.Eq Amazonka.CloudFront.Types.FieldPatterns.FieldPatterns
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.FieldPatterns.FieldPatterns
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.FieldPatterns.FieldPatterns
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.FieldPatterns.FieldPatterns
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.FieldPatterns.FieldPatterns
module Amazonka.CloudFront.Types.EncryptionEntity
-- | Complex data type for field-level encryption profiles that includes
-- the encryption key and field pattern specifications.
--
-- See: newEncryptionEntity smart constructor.
data EncryptionEntity
EncryptionEntity' :: Text -> Text -> FieldPatterns -> EncryptionEntity
-- | The public key associated with a set of field-level encryption
-- patterns, to be used when encrypting the fields that match the
-- patterns.
[$sel:publicKeyId:EncryptionEntity'] :: EncryptionEntity -> Text
-- | The provider associated with the public key being used for encryption.
-- This value must also be provided with the private key for applications
-- to be able to decrypt data.
[$sel:providerId:EncryptionEntity'] :: EncryptionEntity -> Text
-- | Field patterns in a field-level encryption content type profile
-- specify the fields that you want to be encrypted. You can provide the
-- full field name, or any beginning characters followed by a wildcard
-- (*). You can't overlap field patterns. For example, you can't have
-- both ABC* and AB*. Note that field patterns are case-sensitive.
[$sel:fieldPatterns:EncryptionEntity'] :: EncryptionEntity -> FieldPatterns
-- | Create a value of EncryptionEntity with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:publicKeyId:EncryptionEntity',
-- encryptionEntity_publicKeyId - The public key associated with a
-- set of field-level encryption patterns, to be used when encrypting the
-- fields that match the patterns.
--
-- $sel:providerId:EncryptionEntity',
-- encryptionEntity_providerId - The provider associated with the
-- public key being used for encryption. This value must also be provided
-- with the private key for applications to be able to decrypt data.
--
-- $sel:fieldPatterns:EncryptionEntity',
-- encryptionEntity_fieldPatterns - Field patterns in a
-- field-level encryption content type profile specify the fields that
-- you want to be encrypted. You can provide the full field name, or any
-- beginning characters followed by a wildcard (*). You can't overlap
-- field patterns. For example, you can't have both ABC* and AB*. Note
-- that field patterns are case-sensitive.
newEncryptionEntity :: Text -> Text -> FieldPatterns -> EncryptionEntity
-- | The public key associated with a set of field-level encryption
-- patterns, to be used when encrypting the fields that match the
-- patterns.
encryptionEntity_publicKeyId :: Lens' EncryptionEntity Text
-- | The provider associated with the public key being used for encryption.
-- This value must also be provided with the private key for applications
-- to be able to decrypt data.
encryptionEntity_providerId :: Lens' EncryptionEntity Text
-- | Field patterns in a field-level encryption content type profile
-- specify the fields that you want to be encrypted. You can provide the
-- full field name, or any beginning characters followed by a wildcard
-- (*). You can't overlap field patterns. For example, you can't have
-- both ABC* and AB*. Note that field patterns are case-sensitive.
encryptionEntity_fieldPatterns :: Lens' EncryptionEntity FieldPatterns
instance GHC.Generics.Generic Amazonka.CloudFront.Types.EncryptionEntity.EncryptionEntity
instance GHC.Show.Show Amazonka.CloudFront.Types.EncryptionEntity.EncryptionEntity
instance GHC.Read.Read Amazonka.CloudFront.Types.EncryptionEntity.EncryptionEntity
instance GHC.Classes.Eq Amazonka.CloudFront.Types.EncryptionEntity.EncryptionEntity
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.EncryptionEntity.EncryptionEntity
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.EncryptionEntity.EncryptionEntity
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.EncryptionEntity.EncryptionEntity
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.EncryptionEntity.EncryptionEntity
module Amazonka.CloudFront.Types.EncryptionEntities
-- | Complex data type for field-level encryption profiles that includes
-- all of the encryption entities.
--
-- See: newEncryptionEntities smart constructor.
data EncryptionEntities
EncryptionEntities' :: Maybe [EncryptionEntity] -> Int -> EncryptionEntities
-- | An array of field patterns in a field-level encryption content
-- type-profile mapping.
[$sel:items:EncryptionEntities'] :: EncryptionEntities -> Maybe [EncryptionEntity]
-- | Number of field pattern items in a field-level encryption content
-- type-profile mapping.
[$sel:quantity:EncryptionEntities'] :: EncryptionEntities -> Int
-- | Create a value of EncryptionEntities with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:EncryptionEntities', encryptionEntities_items
-- - An array of field patterns in a field-level encryption content
-- type-profile mapping.
--
-- $sel:quantity:EncryptionEntities',
-- encryptionEntities_quantity - Number of field pattern items in
-- a field-level encryption content type-profile mapping.
newEncryptionEntities :: Int -> EncryptionEntities
-- | An array of field patterns in a field-level encryption content
-- type-profile mapping.
encryptionEntities_items :: Lens' EncryptionEntities (Maybe [EncryptionEntity])
-- | Number of field pattern items in a field-level encryption content
-- type-profile mapping.
encryptionEntities_quantity :: Lens' EncryptionEntities Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.EncryptionEntities.EncryptionEntities
instance GHC.Show.Show Amazonka.CloudFront.Types.EncryptionEntities.EncryptionEntities
instance GHC.Read.Read Amazonka.CloudFront.Types.EncryptionEntities.EncryptionEntities
instance GHC.Classes.Eq Amazonka.CloudFront.Types.EncryptionEntities.EncryptionEntities
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.EncryptionEntities.EncryptionEntities
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.EncryptionEntities.EncryptionEntities
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.EncryptionEntities.EncryptionEntities
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.EncryptionEntities.EncryptionEntities
module Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary
-- | The field-level encryption profile summary.
--
-- See: newFieldLevelEncryptionProfileSummary smart
-- constructor.
data FieldLevelEncryptionProfileSummary
FieldLevelEncryptionProfileSummary' :: Maybe Text -> Text -> ISO8601 -> Text -> EncryptionEntities -> FieldLevelEncryptionProfileSummary
-- | An optional comment for the field-level encryption profile summary.
-- The comment cannot be longer than 128 characters.
[$sel:comment:FieldLevelEncryptionProfileSummary'] :: FieldLevelEncryptionProfileSummary -> Maybe Text
-- | ID for the field-level encryption profile summary.
[$sel:id:FieldLevelEncryptionProfileSummary'] :: FieldLevelEncryptionProfileSummary -> Text
-- | The time when the the field-level encryption profile summary was last
-- updated.
[$sel:lastModifiedTime:FieldLevelEncryptionProfileSummary'] :: FieldLevelEncryptionProfileSummary -> ISO8601
-- | Name for the field-level encryption profile summary.
[$sel:name:FieldLevelEncryptionProfileSummary'] :: FieldLevelEncryptionProfileSummary -> Text
-- | A complex data type of encryption entities for the field-level
-- encryption profile that include the public key ID, provider, and field
-- patterns for specifying which fields to encrypt with this key.
[$sel:encryptionEntities:FieldLevelEncryptionProfileSummary'] :: FieldLevelEncryptionProfileSummary -> EncryptionEntities
-- | Create a value of FieldLevelEncryptionProfileSummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:FieldLevelEncryptionProfileSummary',
-- fieldLevelEncryptionProfileSummary_comment - An optional
-- comment for the field-level encryption profile summary. The comment
-- cannot be longer than 128 characters.
--
-- $sel:id:FieldLevelEncryptionProfileSummary',
-- fieldLevelEncryptionProfileSummary_id - ID for the field-level
-- encryption profile summary.
--
-- $sel:lastModifiedTime:FieldLevelEncryptionProfileSummary',
-- fieldLevelEncryptionProfileSummary_lastModifiedTime - The time
-- when the the field-level encryption profile summary was last updated.
--
-- $sel:name:FieldLevelEncryptionProfileSummary',
-- fieldLevelEncryptionProfileSummary_name - Name for the
-- field-level encryption profile summary.
--
-- $sel:encryptionEntities:FieldLevelEncryptionProfileSummary',
-- fieldLevelEncryptionProfileSummary_encryptionEntities - A
-- complex data type of encryption entities for the field-level
-- encryption profile that include the public key ID, provider, and field
-- patterns for specifying which fields to encrypt with this key.
newFieldLevelEncryptionProfileSummary :: Text -> UTCTime -> Text -> EncryptionEntities -> FieldLevelEncryptionProfileSummary
-- | An optional comment for the field-level encryption profile summary.
-- The comment cannot be longer than 128 characters.
fieldLevelEncryptionProfileSummary_comment :: Lens' FieldLevelEncryptionProfileSummary (Maybe Text)
-- | ID for the field-level encryption profile summary.
fieldLevelEncryptionProfileSummary_id :: Lens' FieldLevelEncryptionProfileSummary Text
-- | The time when the the field-level encryption profile summary was last
-- updated.
fieldLevelEncryptionProfileSummary_lastModifiedTime :: Lens' FieldLevelEncryptionProfileSummary UTCTime
-- | Name for the field-level encryption profile summary.
fieldLevelEncryptionProfileSummary_name :: Lens' FieldLevelEncryptionProfileSummary Text
-- | A complex data type of encryption entities for the field-level
-- encryption profile that include the public key ID, provider, and field
-- patterns for specifying which fields to encrypt with this key.
fieldLevelEncryptionProfileSummary_encryptionEntities :: Lens' FieldLevelEncryptionProfileSummary EncryptionEntities
instance GHC.Generics.Generic Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary.FieldLevelEncryptionProfileSummary
instance GHC.Show.Show Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary.FieldLevelEncryptionProfileSummary
instance GHC.Read.Read Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary.FieldLevelEncryptionProfileSummary
instance GHC.Classes.Eq Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary.FieldLevelEncryptionProfileSummary
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary.FieldLevelEncryptionProfileSummary
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary.FieldLevelEncryptionProfileSummary
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary.FieldLevelEncryptionProfileSummary
module Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList
-- | List of field-level encryption profiles.
--
-- See: newFieldLevelEncryptionProfileList smart
-- constructor.
data FieldLevelEncryptionProfileList
FieldLevelEncryptionProfileList' :: Maybe [FieldLevelEncryptionProfileSummary] -> Maybe Text -> Int -> Int -> FieldLevelEncryptionProfileList
-- | The field-level encryption profile items.
[$sel:items:FieldLevelEncryptionProfileList'] :: FieldLevelEncryptionProfileList -> Maybe [FieldLevelEncryptionProfileSummary]
-- | If there are more elements to be listed, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your profiles where you left off.
[$sel:nextMarker:FieldLevelEncryptionProfileList'] :: FieldLevelEncryptionProfileList -> Maybe Text
-- | The maximum number of field-level encryption profiles you want in the
-- response body.
[$sel:maxItems:FieldLevelEncryptionProfileList'] :: FieldLevelEncryptionProfileList -> Int
-- | The number of field-level encryption profiles.
[$sel:quantity:FieldLevelEncryptionProfileList'] :: FieldLevelEncryptionProfileList -> Int
-- | Create a value of FieldLevelEncryptionProfileList with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:FieldLevelEncryptionProfileList',
-- fieldLevelEncryptionProfileList_items - The field-level
-- encryption profile items.
--
-- $sel:nextMarker:FieldLevelEncryptionProfileList',
-- fieldLevelEncryptionProfileList_nextMarker - If there are more
-- elements to be listed, this element is present and contains the value
-- that you can use for the Marker request parameter to continue
-- listing your profiles where you left off.
--
-- $sel:maxItems:FieldLevelEncryptionProfileList',
-- fieldLevelEncryptionProfileList_maxItems - The maximum number
-- of field-level encryption profiles you want in the response body.
--
-- $sel:quantity:FieldLevelEncryptionProfileList',
-- fieldLevelEncryptionProfileList_quantity - The number of
-- field-level encryption profiles.
newFieldLevelEncryptionProfileList :: Int -> Int -> FieldLevelEncryptionProfileList
-- | The field-level encryption profile items.
fieldLevelEncryptionProfileList_items :: Lens' FieldLevelEncryptionProfileList (Maybe [FieldLevelEncryptionProfileSummary])
-- | If there are more elements to be listed, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your profiles where you left off.
fieldLevelEncryptionProfileList_nextMarker :: Lens' FieldLevelEncryptionProfileList (Maybe Text)
-- | The maximum number of field-level encryption profiles you want in the
-- response body.
fieldLevelEncryptionProfileList_maxItems :: Lens' FieldLevelEncryptionProfileList Int
-- | The number of field-level encryption profiles.
fieldLevelEncryptionProfileList_quantity :: Lens' FieldLevelEncryptionProfileList Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList.FieldLevelEncryptionProfileList
instance GHC.Show.Show Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList.FieldLevelEncryptionProfileList
instance GHC.Read.Read Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList.FieldLevelEncryptionProfileList
instance GHC.Classes.Eq Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList.FieldLevelEncryptionProfileList
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList.FieldLevelEncryptionProfileList
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList.FieldLevelEncryptionProfileList
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList.FieldLevelEncryptionProfileList
module Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig
-- | A complex data type of profiles for the field-level encryption.
--
-- See: newFieldLevelEncryptionProfileConfig smart
-- constructor.
data FieldLevelEncryptionProfileConfig
FieldLevelEncryptionProfileConfig' :: Maybe Text -> Text -> Text -> EncryptionEntities -> FieldLevelEncryptionProfileConfig
-- | An optional comment for the field-level encryption profile. The
-- comment cannot be longer than 128 characters.
[$sel:comment:FieldLevelEncryptionProfileConfig'] :: FieldLevelEncryptionProfileConfig -> Maybe Text
-- | Profile name for the field-level encryption profile.
[$sel:name:FieldLevelEncryptionProfileConfig'] :: FieldLevelEncryptionProfileConfig -> Text
-- | A unique number that ensures that the request can't be replayed.
[$sel:callerReference:FieldLevelEncryptionProfileConfig'] :: FieldLevelEncryptionProfileConfig -> Text
-- | A complex data type of encryption entities for the field-level
-- encryption profile that include the public key ID, provider, and field
-- patterns for specifying which fields to encrypt with this key.
[$sel:encryptionEntities:FieldLevelEncryptionProfileConfig'] :: FieldLevelEncryptionProfileConfig -> EncryptionEntities
-- | Create a value of FieldLevelEncryptionProfileConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:FieldLevelEncryptionProfileConfig',
-- fieldLevelEncryptionProfileConfig_comment - An optional comment
-- for the field-level encryption profile. The comment cannot be longer
-- than 128 characters.
--
-- $sel:name:FieldLevelEncryptionProfileConfig',
-- fieldLevelEncryptionProfileConfig_name - Profile name for the
-- field-level encryption profile.
--
-- $sel:callerReference:FieldLevelEncryptionProfileConfig',
-- fieldLevelEncryptionProfileConfig_callerReference - A unique
-- number that ensures that the request can't be replayed.
--
-- $sel:encryptionEntities:FieldLevelEncryptionProfileConfig',
-- fieldLevelEncryptionProfileConfig_encryptionEntities - A
-- complex data type of encryption entities for the field-level
-- encryption profile that include the public key ID, provider, and field
-- patterns for specifying which fields to encrypt with this key.
newFieldLevelEncryptionProfileConfig :: Text -> Text -> EncryptionEntities -> FieldLevelEncryptionProfileConfig
-- | An optional comment for the field-level encryption profile. The
-- comment cannot be longer than 128 characters.
fieldLevelEncryptionProfileConfig_comment :: Lens' FieldLevelEncryptionProfileConfig (Maybe Text)
-- | Profile name for the field-level encryption profile.
fieldLevelEncryptionProfileConfig_name :: Lens' FieldLevelEncryptionProfileConfig Text
-- | A unique number that ensures that the request can't be replayed.
fieldLevelEncryptionProfileConfig_callerReference :: Lens' FieldLevelEncryptionProfileConfig Text
-- | A complex data type of encryption entities for the field-level
-- encryption profile that include the public key ID, provider, and field
-- patterns for specifying which fields to encrypt with this key.
fieldLevelEncryptionProfileConfig_encryptionEntities :: Lens' FieldLevelEncryptionProfileConfig EncryptionEntities
instance GHC.Generics.Generic Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig.FieldLevelEncryptionProfileConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig.FieldLevelEncryptionProfileConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig.FieldLevelEncryptionProfileConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig.FieldLevelEncryptionProfileConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig.FieldLevelEncryptionProfileConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig.FieldLevelEncryptionProfileConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig.FieldLevelEncryptionProfileConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig.FieldLevelEncryptionProfileConfig
module Amazonka.CloudFront.Types.FieldLevelEncryptionProfile
-- | A complex data type for field-level encryption profiles.
--
-- See: newFieldLevelEncryptionProfile smart constructor.
data FieldLevelEncryptionProfile
FieldLevelEncryptionProfile' :: Text -> ISO8601 -> FieldLevelEncryptionProfileConfig -> FieldLevelEncryptionProfile
-- | The ID for a field-level encryption profile configuration which
-- includes a set of profiles that specify certain selected data fields
-- to be encrypted by specific public keys.
[$sel:id:FieldLevelEncryptionProfile'] :: FieldLevelEncryptionProfile -> Text
-- | The last time the field-level encryption profile was updated.
[$sel:lastModifiedTime:FieldLevelEncryptionProfile'] :: FieldLevelEncryptionProfile -> ISO8601
-- | A complex data type that includes the profile name and the encryption
-- entities for the field-level encryption profile.
[$sel:fieldLevelEncryptionProfileConfig:FieldLevelEncryptionProfile'] :: FieldLevelEncryptionProfile -> FieldLevelEncryptionProfileConfig
-- | Create a value of FieldLevelEncryptionProfile with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:FieldLevelEncryptionProfile',
-- fieldLevelEncryptionProfile_id - The ID for a field-level
-- encryption profile configuration which includes a set of profiles that
-- specify certain selected data fields to be encrypted by specific
-- public keys.
--
-- $sel:lastModifiedTime:FieldLevelEncryptionProfile',
-- fieldLevelEncryptionProfile_lastModifiedTime - The last time
-- the field-level encryption profile was updated.
--
--
-- $sel:fieldLevelEncryptionProfileConfig:FieldLevelEncryptionProfile',
-- fieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig -
-- A complex data type that includes the profile name and the encryption
-- entities for the field-level encryption profile.
newFieldLevelEncryptionProfile :: Text -> UTCTime -> FieldLevelEncryptionProfileConfig -> FieldLevelEncryptionProfile
-- | The ID for a field-level encryption profile configuration which
-- includes a set of profiles that specify certain selected data fields
-- to be encrypted by specific public keys.
fieldLevelEncryptionProfile_id :: Lens' FieldLevelEncryptionProfile Text
-- | The last time the field-level encryption profile was updated.
fieldLevelEncryptionProfile_lastModifiedTime :: Lens' FieldLevelEncryptionProfile UTCTime
-- | A complex data type that includes the profile name and the encryption
-- entities for the field-level encryption profile.
fieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig :: Lens' FieldLevelEncryptionProfile FieldLevelEncryptionProfileConfig
instance GHC.Generics.Generic Amazonka.CloudFront.Types.FieldLevelEncryptionProfile.FieldLevelEncryptionProfile
instance GHC.Show.Show Amazonka.CloudFront.Types.FieldLevelEncryptionProfile.FieldLevelEncryptionProfile
instance GHC.Read.Read Amazonka.CloudFront.Types.FieldLevelEncryptionProfile.FieldLevelEncryptionProfile
instance GHC.Classes.Eq Amazonka.CloudFront.Types.FieldLevelEncryptionProfile.FieldLevelEncryptionProfile
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.FieldLevelEncryptionProfile.FieldLevelEncryptionProfile
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.FieldLevelEncryptionProfile.FieldLevelEncryptionProfile
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.FieldLevelEncryptionProfile.FieldLevelEncryptionProfile
module Amazonka.CloudFront.Types.Format
newtype Format
Format' :: Text -> Format
[fromFormat] :: Format -> Text
pattern Format_URLEncoded :: Format
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.Format.Format
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.Format.Format
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.Format.Format
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.Format.Format
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.Format.Format
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.Format.Format
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.Format.Format
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.Format.Format
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.Format.Format
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.Format.Format
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.Format.Format
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.Format.Format
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.Format.Format
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.Format.Format
instance GHC.Generics.Generic Amazonka.CloudFront.Types.Format.Format
instance GHC.Classes.Ord Amazonka.CloudFront.Types.Format.Format
instance GHC.Classes.Eq Amazonka.CloudFront.Types.Format.Format
instance GHC.Read.Read Amazonka.CloudFront.Types.Format.Format
instance GHC.Show.Show Amazonka.CloudFront.Types.Format.Format
module Amazonka.CloudFront.Types.ContentTypeProfile
-- | A field-level encryption content type profile.
--
-- See: newContentTypeProfile smart constructor.
data ContentTypeProfile
ContentTypeProfile' :: Maybe Text -> Format -> Text -> ContentTypeProfile
-- | The profile ID for a field-level encryption content type-profile
-- mapping.
[$sel:profileId:ContentTypeProfile'] :: ContentTypeProfile -> Maybe Text
-- | The format for a field-level encryption content type-profile mapping.
[$sel:format:ContentTypeProfile'] :: ContentTypeProfile -> Format
-- | The content type for a field-level encryption content type-profile
-- mapping.
[$sel:contentType:ContentTypeProfile'] :: ContentTypeProfile -> Text
-- | Create a value of ContentTypeProfile with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:profileId:ContentTypeProfile',
-- contentTypeProfile_profileId - The profile ID for a field-level
-- encryption content type-profile mapping.
--
-- $sel:format:ContentTypeProfile',
-- contentTypeProfile_format - The format for a field-level
-- encryption content type-profile mapping.
--
-- $sel:contentType:ContentTypeProfile',
-- contentTypeProfile_contentType - The content type for a
-- field-level encryption content type-profile mapping.
newContentTypeProfile :: Format -> Text -> ContentTypeProfile
-- | The profile ID for a field-level encryption content type-profile
-- mapping.
contentTypeProfile_profileId :: Lens' ContentTypeProfile (Maybe Text)
-- | The format for a field-level encryption content type-profile mapping.
contentTypeProfile_format :: Lens' ContentTypeProfile Format
-- | The content type for a field-level encryption content type-profile
-- mapping.
contentTypeProfile_contentType :: Lens' ContentTypeProfile Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ContentTypeProfile.ContentTypeProfile
instance GHC.Show.Show Amazonka.CloudFront.Types.ContentTypeProfile.ContentTypeProfile
instance GHC.Read.Read Amazonka.CloudFront.Types.ContentTypeProfile.ContentTypeProfile
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ContentTypeProfile.ContentTypeProfile
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ContentTypeProfile.ContentTypeProfile
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ContentTypeProfile.ContentTypeProfile
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ContentTypeProfile.ContentTypeProfile
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ContentTypeProfile.ContentTypeProfile
module Amazonka.CloudFront.Types.ContentTypeProfiles
-- | Field-level encryption content type-profile.
--
-- See: newContentTypeProfiles smart constructor.
data ContentTypeProfiles
ContentTypeProfiles' :: Maybe [ContentTypeProfile] -> Int -> ContentTypeProfiles
-- | Items in a field-level encryption content type-profile mapping.
[$sel:items:ContentTypeProfiles'] :: ContentTypeProfiles -> Maybe [ContentTypeProfile]
-- | The number of field-level encryption content type-profile mappings.
[$sel:quantity:ContentTypeProfiles'] :: ContentTypeProfiles -> Int
-- | Create a value of ContentTypeProfiles with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ContentTypeProfiles',
-- contentTypeProfiles_items - Items in a field-level encryption
-- content type-profile mapping.
--
-- $sel:quantity:ContentTypeProfiles',
-- contentTypeProfiles_quantity - The number of field-level
-- encryption content type-profile mappings.
newContentTypeProfiles :: Int -> ContentTypeProfiles
-- | Items in a field-level encryption content type-profile mapping.
contentTypeProfiles_items :: Lens' ContentTypeProfiles (Maybe [ContentTypeProfile])
-- | The number of field-level encryption content type-profile mappings.
contentTypeProfiles_quantity :: Lens' ContentTypeProfiles Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ContentTypeProfiles.ContentTypeProfiles
instance GHC.Show.Show Amazonka.CloudFront.Types.ContentTypeProfiles.ContentTypeProfiles
instance GHC.Read.Read Amazonka.CloudFront.Types.ContentTypeProfiles.ContentTypeProfiles
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ContentTypeProfiles.ContentTypeProfiles
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ContentTypeProfiles.ContentTypeProfiles
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ContentTypeProfiles.ContentTypeProfiles
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ContentTypeProfiles.ContentTypeProfiles
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ContentTypeProfiles.ContentTypeProfiles
module Amazonka.CloudFront.Types.ContentTypeProfileConfig
-- | The configuration for a field-level encryption content type-profile
-- mapping.
--
-- See: newContentTypeProfileConfig smart constructor.
data ContentTypeProfileConfig
ContentTypeProfileConfig' :: Maybe ContentTypeProfiles -> Bool -> ContentTypeProfileConfig
-- | The configuration for a field-level encryption content type-profile.
[$sel:contentTypeProfiles:ContentTypeProfileConfig'] :: ContentTypeProfileConfig -> Maybe ContentTypeProfiles
-- | The setting in a field-level encryption content type-profile mapping
-- that specifies what to do when an unknown content type is provided for
-- the profile. If true, content is forwarded without being encrypted
-- when the content type is unknown. If false (the default), an error is
-- returned when the content type is unknown.
[$sel:forwardWhenContentTypeIsUnknown:ContentTypeProfileConfig'] :: ContentTypeProfileConfig -> Bool
-- | Create a value of ContentTypeProfileConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:contentTypeProfiles:ContentTypeProfileConfig',
-- contentTypeProfileConfig_contentTypeProfiles - The
-- configuration for a field-level encryption content type-profile.
--
-- $sel:forwardWhenContentTypeIsUnknown:ContentTypeProfileConfig',
-- contentTypeProfileConfig_forwardWhenContentTypeIsUnknown - The
-- setting in a field-level encryption content type-profile mapping that
-- specifies what to do when an unknown content type is provided for the
-- profile. If true, content is forwarded without being encrypted when
-- the content type is unknown. If false (the default), an error is
-- returned when the content type is unknown.
newContentTypeProfileConfig :: Bool -> ContentTypeProfileConfig
-- | The configuration for a field-level encryption content type-profile.
contentTypeProfileConfig_contentTypeProfiles :: Lens' ContentTypeProfileConfig (Maybe ContentTypeProfiles)
-- | The setting in a field-level encryption content type-profile mapping
-- that specifies what to do when an unknown content type is provided for
-- the profile. If true, content is forwarded without being encrypted
-- when the content type is unknown. If false (the default), an error is
-- returned when the content type is unknown.
contentTypeProfileConfig_forwardWhenContentTypeIsUnknown :: Lens' ContentTypeProfileConfig Bool
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ContentTypeProfileConfig.ContentTypeProfileConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.ContentTypeProfileConfig.ContentTypeProfileConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.ContentTypeProfileConfig.ContentTypeProfileConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ContentTypeProfileConfig.ContentTypeProfileConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ContentTypeProfileConfig.ContentTypeProfileConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ContentTypeProfileConfig.ContentTypeProfileConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ContentTypeProfileConfig.ContentTypeProfileConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ContentTypeProfileConfig.ContentTypeProfileConfig
module Amazonka.CloudFront.Types.FrameOptionsList
newtype FrameOptionsList
FrameOptionsList' :: Text -> FrameOptionsList
[fromFrameOptionsList] :: FrameOptionsList -> Text
pattern FrameOptionsList_DENY :: FrameOptionsList
pattern FrameOptionsList_SAMEORIGIN :: FrameOptionsList
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.FrameOptionsList.FrameOptionsList
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.FrameOptionsList.FrameOptionsList
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.FrameOptionsList.FrameOptionsList
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.FrameOptionsList.FrameOptionsList
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.FrameOptionsList.FrameOptionsList
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.FrameOptionsList.FrameOptionsList
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.FrameOptionsList.FrameOptionsList
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.FrameOptionsList.FrameOptionsList
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.FrameOptionsList.FrameOptionsList
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.FrameOptionsList.FrameOptionsList
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.FrameOptionsList.FrameOptionsList
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.FrameOptionsList.FrameOptionsList
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.FrameOptionsList.FrameOptionsList
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.FrameOptionsList.FrameOptionsList
instance GHC.Generics.Generic Amazonka.CloudFront.Types.FrameOptionsList.FrameOptionsList
instance GHC.Classes.Ord Amazonka.CloudFront.Types.FrameOptionsList.FrameOptionsList
instance GHC.Classes.Eq Amazonka.CloudFront.Types.FrameOptionsList.FrameOptionsList
instance GHC.Read.Read Amazonka.CloudFront.Types.FrameOptionsList.FrameOptionsList
instance GHC.Show.Show Amazonka.CloudFront.Types.FrameOptionsList.FrameOptionsList
module Amazonka.CloudFront.Types.FunctionAssociation
-- | A CloudFront function that is associated with a cache behavior in a
-- CloudFront distribution.
--
-- See: newFunctionAssociation smart constructor.
data FunctionAssociation
FunctionAssociation' :: Text -> EventType -> FunctionAssociation
-- | The Amazon Resource Name (ARN) of the function.
[$sel:functionARN:FunctionAssociation'] :: FunctionAssociation -> Text
-- | The event type of the function, either viewer-request or
-- viewer-response. You cannot use origin-facing event types
-- (origin-request and origin-response) with a
-- CloudFront function.
[$sel:eventType:FunctionAssociation'] :: FunctionAssociation -> EventType
-- | Create a value of FunctionAssociation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:functionARN:FunctionAssociation',
-- functionAssociation_functionARN - The Amazon Resource Name
-- (ARN) of the function.
--
-- $sel:eventType:FunctionAssociation',
-- functionAssociation_eventType - The event type of the function,
-- either viewer-request or viewer-response. You cannot
-- use origin-facing event types (origin-request and
-- origin-response) with a CloudFront function.
newFunctionAssociation :: Text -> EventType -> FunctionAssociation
-- | The Amazon Resource Name (ARN) of the function.
functionAssociation_functionARN :: Lens' FunctionAssociation Text
-- | The event type of the function, either viewer-request or
-- viewer-response. You cannot use origin-facing event types
-- (origin-request and origin-response) with a
-- CloudFront function.
functionAssociation_eventType :: Lens' FunctionAssociation EventType
instance GHC.Generics.Generic Amazonka.CloudFront.Types.FunctionAssociation.FunctionAssociation
instance GHC.Show.Show Amazonka.CloudFront.Types.FunctionAssociation.FunctionAssociation
instance GHC.Read.Read Amazonka.CloudFront.Types.FunctionAssociation.FunctionAssociation
instance GHC.Classes.Eq Amazonka.CloudFront.Types.FunctionAssociation.FunctionAssociation
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.FunctionAssociation.FunctionAssociation
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.FunctionAssociation.FunctionAssociation
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.FunctionAssociation.FunctionAssociation
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.FunctionAssociation.FunctionAssociation
module Amazonka.CloudFront.Types.FunctionAssociations
-- | A list of CloudFront functions that are associated with a cache
-- behavior in a CloudFront distribution. CloudFront functions must be
-- published to the LIVE stage to associate them with a cache
-- behavior.
--
-- See: newFunctionAssociations smart constructor.
data FunctionAssociations
FunctionAssociations' :: Maybe [FunctionAssociation] -> Int -> FunctionAssociations
-- | The CloudFront functions that are associated with a cache behavior in
-- a CloudFront distribution. CloudFront functions must be published to
-- the LIVE stage to associate them with a cache behavior.
[$sel:items:FunctionAssociations'] :: FunctionAssociations -> Maybe [FunctionAssociation]
-- | The number of CloudFront functions in the list.
[$sel:quantity:FunctionAssociations'] :: FunctionAssociations -> Int
-- | Create a value of FunctionAssociations with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:FunctionAssociations',
-- functionAssociations_items - The CloudFront functions that are
-- associated with a cache behavior in a CloudFront distribution.
-- CloudFront functions must be published to the LIVE stage to
-- associate them with a cache behavior.
--
-- $sel:quantity:FunctionAssociations',
-- functionAssociations_quantity - The number of CloudFront
-- functions in the list.
newFunctionAssociations :: Int -> FunctionAssociations
-- | The CloudFront functions that are associated with a cache behavior in
-- a CloudFront distribution. CloudFront functions must be published to
-- the LIVE stage to associate them with a cache behavior.
functionAssociations_items :: Lens' FunctionAssociations (Maybe [FunctionAssociation])
-- | The number of CloudFront functions in the list.
functionAssociations_quantity :: Lens' FunctionAssociations Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.FunctionAssociations.FunctionAssociations
instance GHC.Show.Show Amazonka.CloudFront.Types.FunctionAssociations.FunctionAssociations
instance GHC.Read.Read Amazonka.CloudFront.Types.FunctionAssociations.FunctionAssociations
instance GHC.Classes.Eq Amazonka.CloudFront.Types.FunctionAssociations.FunctionAssociations
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.FunctionAssociations.FunctionAssociations
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.FunctionAssociations.FunctionAssociations
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.FunctionAssociations.FunctionAssociations
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.FunctionAssociations.FunctionAssociations
module Amazonka.CloudFront.Types.FunctionRuntime
newtype FunctionRuntime
FunctionRuntime' :: Text -> FunctionRuntime
[fromFunctionRuntime] :: FunctionRuntime -> Text
pattern FunctionRuntime_Cloudfront_js_1_0 :: FunctionRuntime
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.FunctionRuntime.FunctionRuntime
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.FunctionRuntime.FunctionRuntime
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.FunctionRuntime.FunctionRuntime
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.FunctionRuntime.FunctionRuntime
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.FunctionRuntime.FunctionRuntime
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.FunctionRuntime.FunctionRuntime
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.FunctionRuntime.FunctionRuntime
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.FunctionRuntime.FunctionRuntime
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.FunctionRuntime.FunctionRuntime
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.FunctionRuntime.FunctionRuntime
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.FunctionRuntime.FunctionRuntime
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.FunctionRuntime.FunctionRuntime
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.FunctionRuntime.FunctionRuntime
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.FunctionRuntime.FunctionRuntime
instance GHC.Generics.Generic Amazonka.CloudFront.Types.FunctionRuntime.FunctionRuntime
instance GHC.Classes.Ord Amazonka.CloudFront.Types.FunctionRuntime.FunctionRuntime
instance GHC.Classes.Eq Amazonka.CloudFront.Types.FunctionRuntime.FunctionRuntime
instance GHC.Read.Read Amazonka.CloudFront.Types.FunctionRuntime.FunctionRuntime
instance GHC.Show.Show Amazonka.CloudFront.Types.FunctionRuntime.FunctionRuntime
module Amazonka.CloudFront.Types.FunctionConfig
-- | Contains configuration information about a CloudFront function.
--
-- See: newFunctionConfig smart constructor.
data FunctionConfig
FunctionConfig' :: Text -> FunctionRuntime -> FunctionConfig
-- | A comment to describe the function.
[$sel:comment:FunctionConfig'] :: FunctionConfig -> Text
-- | The function's runtime environment. The only valid value is
-- cloudfront-js-1.0.
[$sel:runtime:FunctionConfig'] :: FunctionConfig -> FunctionRuntime
-- | Create a value of FunctionConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:FunctionConfig', functionConfig_comment - A
-- comment to describe the function.
--
-- $sel:runtime:FunctionConfig', functionConfig_runtime -
-- The function's runtime environment. The only valid value is
-- cloudfront-js-1.0.
newFunctionConfig :: Text -> FunctionRuntime -> FunctionConfig
-- | A comment to describe the function.
functionConfig_comment :: Lens' FunctionConfig Text
-- | The function's runtime environment. The only valid value is
-- cloudfront-js-1.0.
functionConfig_runtime :: Lens' FunctionConfig FunctionRuntime
instance GHC.Generics.Generic Amazonka.CloudFront.Types.FunctionConfig.FunctionConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.FunctionConfig.FunctionConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.FunctionConfig.FunctionConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.FunctionConfig.FunctionConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.FunctionConfig.FunctionConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.FunctionConfig.FunctionConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.FunctionConfig.FunctionConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.FunctionConfig.FunctionConfig
module Amazonka.CloudFront.Types.FunctionStage
newtype FunctionStage
FunctionStage' :: Text -> FunctionStage
[fromFunctionStage] :: FunctionStage -> Text
pattern FunctionStage_DEVELOPMENT :: FunctionStage
pattern FunctionStage_LIVE :: FunctionStage
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.FunctionStage.FunctionStage
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.FunctionStage.FunctionStage
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.FunctionStage.FunctionStage
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.FunctionStage.FunctionStage
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.FunctionStage.FunctionStage
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.FunctionStage.FunctionStage
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.FunctionStage.FunctionStage
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.FunctionStage.FunctionStage
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.FunctionStage.FunctionStage
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.FunctionStage.FunctionStage
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.FunctionStage.FunctionStage
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.FunctionStage.FunctionStage
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.FunctionStage.FunctionStage
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.FunctionStage.FunctionStage
instance GHC.Generics.Generic Amazonka.CloudFront.Types.FunctionStage.FunctionStage
instance GHC.Classes.Ord Amazonka.CloudFront.Types.FunctionStage.FunctionStage
instance GHC.Classes.Eq Amazonka.CloudFront.Types.FunctionStage.FunctionStage
instance GHC.Read.Read Amazonka.CloudFront.Types.FunctionStage.FunctionStage
instance GHC.Show.Show Amazonka.CloudFront.Types.FunctionStage.FunctionStage
module Amazonka.CloudFront.Types.FunctionMetadata
-- | Contains metadata about a CloudFront function.
--
-- See: newFunctionMetadata smart constructor.
data FunctionMetadata
FunctionMetadata' :: Maybe ISO8601 -> Maybe FunctionStage -> Text -> ISO8601 -> FunctionMetadata
-- | The date and time when the function was created.
[$sel:createdTime:FunctionMetadata'] :: FunctionMetadata -> Maybe ISO8601
-- | The stage that the function is in, either DEVELOPMENT or
-- LIVE.
--
-- When a function is in the DEVELOPMENT stage, you can test the
-- function with TestFunction, and update it with
-- UpdateFunction.
--
-- When a function is in the LIVE stage, you can attach the
-- function to a distribution's cache behavior, using the function's ARN.
[$sel:stage:FunctionMetadata'] :: FunctionMetadata -> Maybe FunctionStage
-- | The Amazon Resource Name (ARN) of the function. The ARN uniquely
-- identifies the function.
[$sel:functionARN:FunctionMetadata'] :: FunctionMetadata -> Text
-- | The date and time when the function was most recently updated.
[$sel:lastModifiedTime:FunctionMetadata'] :: FunctionMetadata -> ISO8601
-- | Create a value of FunctionMetadata with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:createdTime:FunctionMetadata',
-- functionMetadata_createdTime - The date and time when the
-- function was created.
--
-- $sel:stage:FunctionMetadata', functionMetadata_stage -
-- The stage that the function is in, either DEVELOPMENT or
-- LIVE.
--
-- When a function is in the DEVELOPMENT stage, you can test the
-- function with TestFunction, and update it with
-- UpdateFunction.
--
-- When a function is in the LIVE stage, you can attach the
-- function to a distribution's cache behavior, using the function's ARN.
--
-- $sel:functionARN:FunctionMetadata',
-- functionMetadata_functionARN - The Amazon Resource Name (ARN)
-- of the function. The ARN uniquely identifies the function.
--
-- $sel:lastModifiedTime:FunctionMetadata',
-- functionMetadata_lastModifiedTime - The date and time when the
-- function was most recently updated.
newFunctionMetadata :: Text -> UTCTime -> FunctionMetadata
-- | The date and time when the function was created.
functionMetadata_createdTime :: Lens' FunctionMetadata (Maybe UTCTime)
-- | The stage that the function is in, either DEVELOPMENT or
-- LIVE.
--
-- When a function is in the DEVELOPMENT stage, you can test the
-- function with TestFunction, and update it with
-- UpdateFunction.
--
-- When a function is in the LIVE stage, you can attach the
-- function to a distribution's cache behavior, using the function's ARN.
functionMetadata_stage :: Lens' FunctionMetadata (Maybe FunctionStage)
-- | The Amazon Resource Name (ARN) of the function. The ARN uniquely
-- identifies the function.
functionMetadata_functionARN :: Lens' FunctionMetadata Text
-- | The date and time when the function was most recently updated.
functionMetadata_lastModifiedTime :: Lens' FunctionMetadata UTCTime
instance GHC.Generics.Generic Amazonka.CloudFront.Types.FunctionMetadata.FunctionMetadata
instance GHC.Show.Show Amazonka.CloudFront.Types.FunctionMetadata.FunctionMetadata
instance GHC.Read.Read Amazonka.CloudFront.Types.FunctionMetadata.FunctionMetadata
instance GHC.Classes.Eq Amazonka.CloudFront.Types.FunctionMetadata.FunctionMetadata
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.FunctionMetadata.FunctionMetadata
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.FunctionMetadata.FunctionMetadata
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.FunctionMetadata.FunctionMetadata
module Amazonka.CloudFront.Types.FunctionSummary
-- | Contains configuration information and metadata about a CloudFront
-- function.
--
-- See: newFunctionSummary smart constructor.
data FunctionSummary
FunctionSummary' :: Maybe Text -> Text -> FunctionConfig -> FunctionMetadata -> FunctionSummary
-- | The status of the CloudFront function.
[$sel:status:FunctionSummary'] :: FunctionSummary -> Maybe Text
-- | The name of the CloudFront function.
[$sel:name:FunctionSummary'] :: FunctionSummary -> Text
-- | Contains configuration information about a CloudFront function.
[$sel:functionConfig:FunctionSummary'] :: FunctionSummary -> FunctionConfig
-- | Contains metadata about a CloudFront function.
[$sel:functionMetadata:FunctionSummary'] :: FunctionSummary -> FunctionMetadata
-- | Create a value of FunctionSummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:status:FunctionSummary', functionSummary_status -
-- The status of the CloudFront function.
--
-- $sel:name:FunctionSummary', functionSummary_name - The
-- name of the CloudFront function.
--
-- $sel:functionConfig:FunctionSummary',
-- functionSummary_functionConfig - Contains configuration
-- information about a CloudFront function.
--
-- $sel:functionMetadata:FunctionSummary',
-- functionSummary_functionMetadata - Contains metadata about a
-- CloudFront function.
newFunctionSummary :: Text -> FunctionConfig -> FunctionMetadata -> FunctionSummary
-- | The status of the CloudFront function.
functionSummary_status :: Lens' FunctionSummary (Maybe Text)
-- | The name of the CloudFront function.
functionSummary_name :: Lens' FunctionSummary Text
-- | Contains configuration information about a CloudFront function.
functionSummary_functionConfig :: Lens' FunctionSummary FunctionConfig
-- | Contains metadata about a CloudFront function.
functionSummary_functionMetadata :: Lens' FunctionSummary FunctionMetadata
instance GHC.Generics.Generic Amazonka.CloudFront.Types.FunctionSummary.FunctionSummary
instance GHC.Show.Show Amazonka.CloudFront.Types.FunctionSummary.FunctionSummary
instance GHC.Read.Read Amazonka.CloudFront.Types.FunctionSummary.FunctionSummary
instance GHC.Classes.Eq Amazonka.CloudFront.Types.FunctionSummary.FunctionSummary
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.FunctionSummary.FunctionSummary
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.FunctionSummary.FunctionSummary
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.FunctionSummary.FunctionSummary
module Amazonka.CloudFront.Types.FunctionList
-- | A list of CloudFront functions.
--
-- See: newFunctionList smart constructor.
data FunctionList
FunctionList' :: Maybe [FunctionSummary] -> Maybe Text -> Int -> Int -> FunctionList
-- | Contains the functions in the list.
[$sel:items:FunctionList'] :: FunctionList -> Maybe [FunctionSummary]
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- functions where you left off.
[$sel:nextMarker:FunctionList'] :: FunctionList -> Maybe Text
-- | The maximum number of functions requested.
[$sel:maxItems:FunctionList'] :: FunctionList -> Int
-- | The number of functions returned in the response.
[$sel:quantity:FunctionList'] :: FunctionList -> Int
-- | Create a value of FunctionList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:FunctionList', functionList_items - Contains
-- the functions in the list.
--
-- $sel:nextMarker:FunctionList', functionList_nextMarker -
-- If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- functions where you left off.
--
-- $sel:maxItems:FunctionList', functionList_maxItems - The
-- maximum number of functions requested.
--
-- $sel:quantity:FunctionList', functionList_quantity - The
-- number of functions returned in the response.
newFunctionList :: Int -> Int -> FunctionList
-- | Contains the functions in the list.
functionList_items :: Lens' FunctionList (Maybe [FunctionSummary])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- functions where you left off.
functionList_nextMarker :: Lens' FunctionList (Maybe Text)
-- | The maximum number of functions requested.
functionList_maxItems :: Lens' FunctionList Int
-- | The number of functions returned in the response.
functionList_quantity :: Lens' FunctionList Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.FunctionList.FunctionList
instance GHC.Show.Show Amazonka.CloudFront.Types.FunctionList.FunctionList
instance GHC.Read.Read Amazonka.CloudFront.Types.FunctionList.FunctionList
instance GHC.Classes.Eq Amazonka.CloudFront.Types.FunctionList.FunctionList
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.FunctionList.FunctionList
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.FunctionList.FunctionList
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.FunctionList.FunctionList
module Amazonka.CloudFront.Types.GeoRestrictionType
newtype GeoRestrictionType
GeoRestrictionType' :: Text -> GeoRestrictionType
[fromGeoRestrictionType] :: GeoRestrictionType -> Text
pattern GeoRestrictionType_Blacklist :: GeoRestrictionType
pattern GeoRestrictionType_None :: GeoRestrictionType
pattern GeoRestrictionType_Whitelist :: GeoRestrictionType
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.GeoRestrictionType.GeoRestrictionType
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.GeoRestrictionType.GeoRestrictionType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.GeoRestrictionType.GeoRestrictionType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.GeoRestrictionType.GeoRestrictionType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.GeoRestrictionType.GeoRestrictionType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.GeoRestrictionType.GeoRestrictionType
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.GeoRestrictionType.GeoRestrictionType
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.GeoRestrictionType.GeoRestrictionType
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.GeoRestrictionType.GeoRestrictionType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.GeoRestrictionType.GeoRestrictionType
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.GeoRestrictionType.GeoRestrictionType
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.GeoRestrictionType.GeoRestrictionType
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.GeoRestrictionType.GeoRestrictionType
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.GeoRestrictionType.GeoRestrictionType
instance GHC.Generics.Generic Amazonka.CloudFront.Types.GeoRestrictionType.GeoRestrictionType
instance GHC.Classes.Ord Amazonka.CloudFront.Types.GeoRestrictionType.GeoRestrictionType
instance GHC.Classes.Eq Amazonka.CloudFront.Types.GeoRestrictionType.GeoRestrictionType
instance GHC.Read.Read Amazonka.CloudFront.Types.GeoRestrictionType.GeoRestrictionType
instance GHC.Show.Show Amazonka.CloudFront.Types.GeoRestrictionType.GeoRestrictionType
module Amazonka.CloudFront.Types.GeoRestriction
-- | A complex type that controls the countries in which your content is
-- distributed. CloudFront determines the location of your users using
-- MaxMind GeoIP databases.
--
-- See: newGeoRestriction smart constructor.
data GeoRestriction
GeoRestriction' :: Maybe [Text] -> 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 on the CloudFront console, which includes both country
-- names and codes.
[$sel:items:GeoRestriction'] :: GeoRestriction -> Maybe [Text]
-- | 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 don't want CloudFront to distribute your
-- content.
-- - whitelist: The Location elements specify the
-- countries in which you want CloudFront to distribute your
-- content.
--
[$sel:restrictionType:GeoRestriction'] :: GeoRestriction -> GeoRestrictionType
-- | 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.
[$sel:quantity:GeoRestriction'] :: GeoRestriction -> Int
-- | Create a value of GeoRestriction with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:GeoRestriction', geoRestriction_items - 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 on the CloudFront console, which includes both country
-- names and codes.
--
-- $sel:restrictionType:GeoRestriction',
-- geoRestriction_restrictionType - 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 don't want CloudFront to distribute your
-- content.
-- - whitelist: The Location elements specify the
-- countries in which you want CloudFront to distribute your
-- content.
--
--
-- $sel:quantity:GeoRestriction', geoRestriction_quantity -
-- 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.
newGeoRestriction :: 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 on the CloudFront console, which includes both country
-- names and codes.
geoRestriction_items :: Lens' GeoRestriction (Maybe [Text])
-- | 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 don't want CloudFront to distribute your
-- content.
-- - whitelist: The Location elements specify the
-- countries in which you want CloudFront to distribute your
-- content.
--
geoRestriction_restrictionType :: Lens' GeoRestriction GeoRestrictionType
-- | 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.
geoRestriction_quantity :: Lens' GeoRestriction Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.GeoRestriction.GeoRestriction
instance GHC.Show.Show Amazonka.CloudFront.Types.GeoRestriction.GeoRestriction
instance GHC.Read.Read Amazonka.CloudFront.Types.GeoRestriction.GeoRestriction
instance GHC.Classes.Eq Amazonka.CloudFront.Types.GeoRestriction.GeoRestriction
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.GeoRestriction.GeoRestriction
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.GeoRestriction.GeoRestriction
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.GeoRestriction.GeoRestriction
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.GeoRestriction.GeoRestriction
module Amazonka.CloudFront.Types.Headers
-- | Contains a list of HTTP header names.
--
-- See: newHeaders smart constructor.
data Headers
Headers' :: Maybe [Text] -> Int -> Headers
-- | A list of HTTP header names.
[$sel:items:Headers'] :: Headers -> Maybe [Text]
-- | The number of header names in the Items list.
[$sel:quantity:Headers'] :: Headers -> Int
-- | Create a value of Headers with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:Headers', headers_items - A list of HTTP
-- header names.
--
-- $sel:quantity:Headers', headers_quantity - The number of
-- header names in the Items list.
newHeaders :: Int -> Headers
-- | A list of HTTP header names.
headers_items :: Lens' Headers (Maybe [Text])
-- | The number of header names in the Items list.
headers_quantity :: Lens' Headers Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.Headers.Headers
instance GHC.Show.Show Amazonka.CloudFront.Types.Headers.Headers
instance GHC.Read.Read Amazonka.CloudFront.Types.Headers.Headers
instance GHC.Classes.Eq Amazonka.CloudFront.Types.Headers.Headers
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.Headers.Headers
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.Headers.Headers
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.Headers.Headers
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.Headers.Headers
module Amazonka.CloudFront.Types.CachePolicyHeadersConfig
-- | An object that determines whether any HTTP headers (and if so, which
-- headers) are included in the cache key and automatically included in
-- requests that CloudFront sends to the origin.
--
-- See: newCachePolicyHeadersConfig smart constructor.
data CachePolicyHeadersConfig
CachePolicyHeadersConfig' :: Maybe Headers -> CachePolicyHeaderBehavior -> CachePolicyHeadersConfig
[$sel:headers:CachePolicyHeadersConfig'] :: CachePolicyHeadersConfig -> Maybe Headers
-- | Determines whether any HTTP headers are included in the cache key and
-- automatically included in requests that CloudFront sends to the
-- origin. Valid values are:
--
--
-- - none – HTTP headers are not included in the cache key and
-- are not automatically included in requests that CloudFront sends to
-- the origin. Even when this field is set to none, any headers
-- that are listed in an OriginRequestPolicy are included
-- in origin requests.
-- - whitelist – The HTTP headers that are listed in the
-- Headers type are included in the cache key and are
-- automatically included in requests that CloudFront sends to the
-- origin.
--
[$sel:headerBehavior:CachePolicyHeadersConfig'] :: CachePolicyHeadersConfig -> CachePolicyHeaderBehavior
-- | Create a value of CachePolicyHeadersConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:headers:CachePolicyHeadersConfig',
-- cachePolicyHeadersConfig_headers - Undocumented member.
--
-- $sel:headerBehavior:CachePolicyHeadersConfig',
-- cachePolicyHeadersConfig_headerBehavior - Determines whether
-- any HTTP headers are included in the cache key and automatically
-- included in requests that CloudFront sends to the origin. Valid values
-- are:
--
--
-- - none – HTTP headers are not included in the cache key and
-- are not automatically included in requests that CloudFront sends to
-- the origin. Even when this field is set to none, any headers
-- that are listed in an OriginRequestPolicy are included
-- in origin requests.
-- - whitelist – The HTTP headers that are listed in the
-- Headers type are included in the cache key and are
-- automatically included in requests that CloudFront sends to the
-- origin.
--
newCachePolicyHeadersConfig :: CachePolicyHeaderBehavior -> CachePolicyHeadersConfig
-- | Undocumented member.
cachePolicyHeadersConfig_headers :: Lens' CachePolicyHeadersConfig (Maybe Headers)
-- | Determines whether any HTTP headers are included in the cache key and
-- automatically included in requests that CloudFront sends to the
-- origin. Valid values are:
--
--
-- - none – HTTP headers are not included in the cache key and
-- are not automatically included in requests that CloudFront sends to
-- the origin. Even when this field is set to none, any headers
-- that are listed in an OriginRequestPolicy are included
-- in origin requests.
-- - whitelist – The HTTP headers that are listed in the
-- Headers type are included in the cache key and are
-- automatically included in requests that CloudFront sends to the
-- origin.
--
cachePolicyHeadersConfig_headerBehavior :: Lens' CachePolicyHeadersConfig CachePolicyHeaderBehavior
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CachePolicyHeadersConfig.CachePolicyHeadersConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.CachePolicyHeadersConfig.CachePolicyHeadersConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.CachePolicyHeadersConfig.CachePolicyHeadersConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CachePolicyHeadersConfig.CachePolicyHeadersConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CachePolicyHeadersConfig.CachePolicyHeadersConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CachePolicyHeadersConfig.CachePolicyHeadersConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CachePolicyHeadersConfig.CachePolicyHeadersConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.CachePolicyHeadersConfig.CachePolicyHeadersConfig
module Amazonka.CloudFront.Types.HttpVersion
newtype HttpVersion
HttpVersion' :: Text -> HttpVersion
[fromHttpVersion] :: HttpVersion -> Text
pattern HttpVersion_Http1_1 :: HttpVersion
pattern HttpVersion_Http2 :: HttpVersion
pattern HttpVersion_Http2and3 :: HttpVersion
pattern HttpVersion_Http3 :: HttpVersion
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.HttpVersion.HttpVersion
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.HttpVersion.HttpVersion
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.HttpVersion.HttpVersion
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.HttpVersion.HttpVersion
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.HttpVersion.HttpVersion
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.HttpVersion.HttpVersion
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.HttpVersion.HttpVersion
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.HttpVersion.HttpVersion
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.HttpVersion.HttpVersion
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.HttpVersion.HttpVersion
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.HttpVersion.HttpVersion
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.HttpVersion.HttpVersion
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.HttpVersion.HttpVersion
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.HttpVersion.HttpVersion
instance GHC.Generics.Generic Amazonka.CloudFront.Types.HttpVersion.HttpVersion
instance GHC.Classes.Ord Amazonka.CloudFront.Types.HttpVersion.HttpVersion
instance GHC.Classes.Eq Amazonka.CloudFront.Types.HttpVersion.HttpVersion
instance GHC.Read.Read Amazonka.CloudFront.Types.HttpVersion.HttpVersion
instance GHC.Show.Show Amazonka.CloudFront.Types.HttpVersion.HttpVersion
module Amazonka.CloudFront.Types.ICPRecordalStatus
newtype ICPRecordalStatus
ICPRecordalStatus' :: Text -> ICPRecordalStatus
[fromICPRecordalStatus] :: ICPRecordalStatus -> Text
pattern ICPRecordalStatus_APPROVED :: ICPRecordalStatus
pattern ICPRecordalStatus_PENDING :: ICPRecordalStatus
pattern ICPRecordalStatus_SUSPENDED :: ICPRecordalStatus
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ICPRecordalStatus.ICPRecordalStatus
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ICPRecordalStatus.ICPRecordalStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.ICPRecordalStatus.ICPRecordalStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.ICPRecordalStatus.ICPRecordalStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.ICPRecordalStatus.ICPRecordalStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.ICPRecordalStatus.ICPRecordalStatus
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.ICPRecordalStatus.ICPRecordalStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.ICPRecordalStatus.ICPRecordalStatus
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.ICPRecordalStatus.ICPRecordalStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.ICPRecordalStatus.ICPRecordalStatus
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.ICPRecordalStatus.ICPRecordalStatus
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.ICPRecordalStatus.ICPRecordalStatus
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ICPRecordalStatus.ICPRecordalStatus
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ICPRecordalStatus.ICPRecordalStatus
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ICPRecordalStatus.ICPRecordalStatus
instance GHC.Classes.Ord Amazonka.CloudFront.Types.ICPRecordalStatus.ICPRecordalStatus
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ICPRecordalStatus.ICPRecordalStatus
instance GHC.Read.Read Amazonka.CloudFront.Types.ICPRecordalStatus.ICPRecordalStatus
instance GHC.Show.Show Amazonka.CloudFront.Types.ICPRecordalStatus.ICPRecordalStatus
module Amazonka.CloudFront.Types.AliasICPRecordal
-- | Amazon Web Services services in China customers must file for an
-- Internet Content Provider (ICP) recordal if they want to serve content
-- publicly on an alternate domain name, also known as a CNAME, that
-- they've added to CloudFront. AliasICPRecordal provides the ICP
-- recordal status for CNAMEs associated with distributions. The status
-- is returned in the CloudFront response; you can't configure it
-- yourself.
--
-- For more information about ICP recordals, see Signup, Accounts, and
-- Credentials in Getting Started with Amazon Web Services
-- services in China.
--
-- See: newAliasICPRecordal smart constructor.
data AliasICPRecordal
AliasICPRecordal' :: Maybe Text -> Maybe ICPRecordalStatus -> AliasICPRecordal
-- | A domain name associated with a distribution.
[$sel:cname:AliasICPRecordal'] :: AliasICPRecordal -> Maybe Text
-- | The Internet Content Provider (ICP) recordal status for a CNAME. The
-- ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in
-- regions outside of China.
--
-- The status values returned are the following:
--
--
-- - APPROVED indicates that the associated CNAME has a valid
-- ICP recordal number. Multiple CNAMEs can be associated with a
-- distribution, and CNAMEs can correspond to different ICP recordals. To
-- be marked as APPROVED, that is, valid to use with China region, a
-- CNAME must have one ICP recordal number associated with it.
-- - SUSPENDED indicates that the associated CNAME does not have
-- a valid ICP recordal number.
-- - PENDING indicates that CloudFront can't determine the ICP
-- recordal status of the CNAME associated with the distribution because
-- there was an error in trying to determine the status. You can try
-- again to see if the error is resolved in which case CloudFront returns
-- an APPROVED or SUSPENDED status.
--
[$sel:iCPRecordalStatus:AliasICPRecordal'] :: AliasICPRecordal -> Maybe ICPRecordalStatus
-- | Create a value of AliasICPRecordal with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cname:AliasICPRecordal', aliasICPRecordal_cname - A
-- domain name associated with a distribution.
--
-- $sel:iCPRecordalStatus:AliasICPRecordal',
-- aliasICPRecordal_iCPRecordalStatus - The Internet Content
-- Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is
-- set to APPROVED for all CNAMEs (aliases) in regions outside of China.
--
-- The status values returned are the following:
--
--
-- - APPROVED indicates that the associated CNAME has a valid
-- ICP recordal number. Multiple CNAMEs can be associated with a
-- distribution, and CNAMEs can correspond to different ICP recordals. To
-- be marked as APPROVED, that is, valid to use with China region, a
-- CNAME must have one ICP recordal number associated with it.
-- - SUSPENDED indicates that the associated CNAME does not have
-- a valid ICP recordal number.
-- - PENDING indicates that CloudFront can't determine the ICP
-- recordal status of the CNAME associated with the distribution because
-- there was an error in trying to determine the status. You can try
-- again to see if the error is resolved in which case CloudFront returns
-- an APPROVED or SUSPENDED status.
--
newAliasICPRecordal :: AliasICPRecordal
-- | A domain name associated with a distribution.
aliasICPRecordal_cname :: Lens' AliasICPRecordal (Maybe Text)
-- | The Internet Content Provider (ICP) recordal status for a CNAME. The
-- ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in
-- regions outside of China.
--
-- The status values returned are the following:
--
--
-- - APPROVED indicates that the associated CNAME has a valid
-- ICP recordal number. Multiple CNAMEs can be associated with a
-- distribution, and CNAMEs can correspond to different ICP recordals. To
-- be marked as APPROVED, that is, valid to use with China region, a
-- CNAME must have one ICP recordal number associated with it.
-- - SUSPENDED indicates that the associated CNAME does not have
-- a valid ICP recordal number.
-- - PENDING indicates that CloudFront can't determine the ICP
-- recordal status of the CNAME associated with the distribution because
-- there was an error in trying to determine the status. You can try
-- again to see if the error is resolved in which case CloudFront returns
-- an APPROVED or SUSPENDED status.
--
aliasICPRecordal_iCPRecordalStatus :: Lens' AliasICPRecordal (Maybe ICPRecordalStatus)
instance GHC.Generics.Generic Amazonka.CloudFront.Types.AliasICPRecordal.AliasICPRecordal
instance GHC.Show.Show Amazonka.CloudFront.Types.AliasICPRecordal.AliasICPRecordal
instance GHC.Read.Read Amazonka.CloudFront.Types.AliasICPRecordal.AliasICPRecordal
instance GHC.Classes.Eq Amazonka.CloudFront.Types.AliasICPRecordal.AliasICPRecordal
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.AliasICPRecordal.AliasICPRecordal
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.AliasICPRecordal.AliasICPRecordal
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.AliasICPRecordal.AliasICPRecordal
module Amazonka.CloudFront.Types.InvalidationSummary
-- | A summary of an invalidation request.
--
-- See: newInvalidationSummary smart constructor.
data InvalidationSummary
InvalidationSummary' :: Text -> ISO8601 -> Text -> InvalidationSummary
-- | The unique ID for an invalidation request.
[$sel:id:InvalidationSummary'] :: InvalidationSummary -> Text
-- | The time that an invalidation request was created.
[$sel:createTime:InvalidationSummary'] :: InvalidationSummary -> ISO8601
-- | The status of an invalidation request.
[$sel:status:InvalidationSummary'] :: InvalidationSummary -> Text
-- | Create a value of InvalidationSummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:InvalidationSummary', invalidationSummary_id -
-- The unique ID for an invalidation request.
--
-- $sel:createTime:InvalidationSummary',
-- invalidationSummary_createTime - The time that an invalidation
-- request was created.
--
-- $sel:status:InvalidationSummary',
-- invalidationSummary_status - The status of an invalidation
-- request.
newInvalidationSummary :: Text -> UTCTime -> Text -> InvalidationSummary
-- | The unique ID for an invalidation request.
invalidationSummary_id :: Lens' InvalidationSummary Text
-- | The time that an invalidation request was created.
invalidationSummary_createTime :: Lens' InvalidationSummary UTCTime
-- | The status of an invalidation request.
invalidationSummary_status :: Lens' InvalidationSummary Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.InvalidationSummary.InvalidationSummary
instance GHC.Show.Show Amazonka.CloudFront.Types.InvalidationSummary.InvalidationSummary
instance GHC.Read.Read Amazonka.CloudFront.Types.InvalidationSummary.InvalidationSummary
instance GHC.Classes.Eq Amazonka.CloudFront.Types.InvalidationSummary.InvalidationSummary
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.InvalidationSummary.InvalidationSummary
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.InvalidationSummary.InvalidationSummary
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.InvalidationSummary.InvalidationSummary
module Amazonka.CloudFront.Types.InvalidationList
-- | The InvalidationList complex type describes the list of
-- invalidation objects. For more information about invalidation, see
-- Invalidating Objects (Web Distributions Only) in the Amazon
-- CloudFront Developer Guide.
--
-- See: newInvalidationList smart constructor.
data InvalidationList
InvalidationList' :: Maybe [InvalidationSummary] -> Maybe Text -> Text -> Int -> Bool -> Int -> InvalidationList
-- | A complex type that contains one InvalidationSummary element
-- for each invalidation batch created by the current Amazon Web Services
-- account.
[$sel:items:InvalidationList'] :: InvalidationList -> Maybe [InvalidationSummary]
-- | If IsTruncated is true, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your invalidation batches where they
-- left off.
[$sel:nextMarker:InvalidationList'] :: InvalidationList -> Maybe Text
-- | The value that you provided for the Marker request parameter.
[$sel:marker:InvalidationList'] :: InvalidationList -> Text
-- | The value that you provided for the MaxItems request
-- parameter.
[$sel:maxItems:InvalidationList'] :: InvalidationList -> Int
-- | 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.
[$sel:isTruncated:InvalidationList'] :: InvalidationList -> Bool
-- | The number of invalidation batches that were created by the current
-- Amazon Web Services account.
[$sel:quantity:InvalidationList'] :: InvalidationList -> Int
-- | Create a value of InvalidationList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:InvalidationList', invalidationList_items - A
-- complex type that contains one InvalidationSummary element
-- for each invalidation batch created by the current Amazon Web Services
-- account.
--
-- $sel:nextMarker:InvalidationList',
-- invalidationList_nextMarker - If IsTruncated is
-- true, this element is present and contains the value that you
-- can use for the Marker request parameter to continue listing
-- your invalidation batches where they left off.
--
-- $sel:marker:InvalidationList', invalidationList_marker -
-- The value that you provided for the Marker request parameter.
--
-- $sel:maxItems:InvalidationList',
-- invalidationList_maxItems - The value that you provided for the
-- MaxItems request parameter.
--
-- $sel:isTruncated:InvalidationList',
-- invalidationList_isTruncated - 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.
--
-- $sel:quantity:InvalidationList',
-- invalidationList_quantity - The number of invalidation batches
-- that were created by the current Amazon Web Services account.
newInvalidationList :: Text -> Int -> Bool -> Int -> InvalidationList
-- | A complex type that contains one InvalidationSummary element
-- for each invalidation batch created by the current Amazon Web Services
-- account.
invalidationList_items :: Lens' InvalidationList (Maybe [InvalidationSummary])
-- | If IsTruncated is true, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your invalidation batches where they
-- left off.
invalidationList_nextMarker :: Lens' InvalidationList (Maybe Text)
-- | The value that you provided for the Marker request parameter.
invalidationList_marker :: Lens' InvalidationList Text
-- | The value that you provided for the MaxItems request
-- parameter.
invalidationList_maxItems :: Lens' InvalidationList Int
-- | 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.
invalidationList_isTruncated :: Lens' InvalidationList Bool
-- | The number of invalidation batches that were created by the current
-- Amazon Web Services account.
invalidationList_quantity :: Lens' InvalidationList Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.InvalidationList.InvalidationList
instance GHC.Show.Show Amazonka.CloudFront.Types.InvalidationList.InvalidationList
instance GHC.Read.Read Amazonka.CloudFront.Types.InvalidationList.InvalidationList
instance GHC.Classes.Eq Amazonka.CloudFront.Types.InvalidationList.InvalidationList
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.InvalidationList.InvalidationList
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.InvalidationList.InvalidationList
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.InvalidationList.InvalidationList
module Amazonka.CloudFront.Types.ItemSelection
newtype ItemSelection
ItemSelection' :: Text -> ItemSelection
[fromItemSelection] :: ItemSelection -> Text
pattern ItemSelection_All :: ItemSelection
pattern ItemSelection_None :: ItemSelection
pattern ItemSelection_Whitelist :: ItemSelection
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ItemSelection.ItemSelection
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ItemSelection.ItemSelection
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.ItemSelection.ItemSelection
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.ItemSelection.ItemSelection
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.ItemSelection.ItemSelection
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.ItemSelection.ItemSelection
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.ItemSelection.ItemSelection
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.ItemSelection.ItemSelection
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.ItemSelection.ItemSelection
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.ItemSelection.ItemSelection
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.ItemSelection.ItemSelection
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.ItemSelection.ItemSelection
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ItemSelection.ItemSelection
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ItemSelection.ItemSelection
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ItemSelection.ItemSelection
instance GHC.Classes.Ord Amazonka.CloudFront.Types.ItemSelection.ItemSelection
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ItemSelection.ItemSelection
instance GHC.Read.Read Amazonka.CloudFront.Types.ItemSelection.ItemSelection
instance GHC.Show.Show Amazonka.CloudFront.Types.ItemSelection.ItemSelection
module Amazonka.CloudFront.Types.CookiePreference
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use
-- CookiesConfig in a cache policy. See CachePolicy.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use CookiesConfig in an origin request policy. See
-- OriginRequestPolicy.
--
-- A complex type that specifies whether you want CloudFront to forward
-- cookies to the origin and, if so, which ones. For more information
-- about forwarding cookies to the origin, see Caching Content Based
-- on Cookies in the Amazon CloudFront Developer Guide.
--
-- See: newCookiePreference smart constructor.
data CookiePreference
CookiePreference' :: Maybe CookieNames -> ItemSelection -> CookiePreference
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- Required if you specify whitelist for the value of
-- Forward. A complex type that specifies how many different
-- cookies you want CloudFront to forward to the origin for this cache
-- behavior and, if you want to forward selected cookies, the names of
-- those cookies.
--
-- If you specify all or none for the value of
-- Forward, omit WhitelistedNames. If you change the
-- value of Forward from whitelist to all or
-- none and you don't delete the WhitelistedNames
-- element and its child elements, CloudFront deletes them automatically.
--
-- For the current limit on the number of cookie names that you can
-- whitelist for each cache behavior, see CloudFront Limits in the
-- Amazon Web Services General Reference.
[$sel:whitelistedNames:CookiePreference'] :: CookiePreference -> Maybe CookieNames
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- Specifies which cookies to forward to the origin for this cache
-- behavior: all, none, or the list of cookies specified in the
-- WhitelistedNames complex type.
--
-- Amazon S3 doesn't process cookies. When the cache behavior is
-- forwarding requests to an Amazon S3 origin, specify none for the
-- Forward element.
[$sel:forward:CookiePreference'] :: CookiePreference -> ItemSelection
-- | Create a value of CookiePreference with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:whitelistedNames:CookiePreference',
-- cookiePreference_whitelistedNames - This field is deprecated.
-- We recommend that you use a cache policy or an origin request policy
-- instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- Required if you specify whitelist for the value of
-- Forward. A complex type that specifies how many different
-- cookies you want CloudFront to forward to the origin for this cache
-- behavior and, if you want to forward selected cookies, the names of
-- those cookies.
--
-- If you specify all or none for the value of
-- Forward, omit WhitelistedNames. If you change the
-- value of Forward from whitelist to all or
-- none and you don't delete the WhitelistedNames
-- element and its child elements, CloudFront deletes them automatically.
--
-- For the current limit on the number of cookie names that you can
-- whitelist for each cache behavior, see CloudFront Limits in the
-- Amazon Web Services General Reference.
--
-- $sel:forward:CookiePreference', cookiePreference_forward
-- - This field is deprecated. We recommend that you use a cache policy
-- or an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- Specifies which cookies to forward to the origin for this cache
-- behavior: all, none, or the list of cookies specified in the
-- WhitelistedNames complex type.
--
-- Amazon S3 doesn't process cookies. When the cache behavior is
-- forwarding requests to an Amazon S3 origin, specify none for the
-- Forward element.
newCookiePreference :: ItemSelection -> CookiePreference
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- Required if you specify whitelist for the value of
-- Forward. A complex type that specifies how many different
-- cookies you want CloudFront to forward to the origin for this cache
-- behavior and, if you want to forward selected cookies, the names of
-- those cookies.
--
-- If you specify all or none for the value of
-- Forward, omit WhitelistedNames. If you change the
-- value of Forward from whitelist to all or
-- none and you don't delete the WhitelistedNames
-- element and its child elements, CloudFront deletes them automatically.
--
-- For the current limit on the number of cookie names that you can
-- whitelist for each cache behavior, see CloudFront Limits in the
-- Amazon Web Services General Reference.
cookiePreference_whitelistedNames :: Lens' CookiePreference (Maybe CookieNames)
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- Specifies which cookies to forward to the origin for this cache
-- behavior: all, none, or the list of cookies specified in the
-- WhitelistedNames complex type.
--
-- Amazon S3 doesn't process cookies. When the cache behavior is
-- forwarding requests to an Amazon S3 origin, specify none for the
-- Forward element.
cookiePreference_forward :: Lens' CookiePreference ItemSelection
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CookiePreference.CookiePreference
instance GHC.Show.Show Amazonka.CloudFront.Types.CookiePreference.CookiePreference
instance GHC.Read.Read Amazonka.CloudFront.Types.CookiePreference.CookiePreference
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CookiePreference.CookiePreference
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CookiePreference.CookiePreference
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CookiePreference.CookiePreference
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CookiePreference.CookiePreference
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.CookiePreference.CookiePreference
module Amazonka.CloudFront.Types.KeyGroupConfig
-- | A key group configuration.
--
-- A key group contains a list of public keys that you can use with
-- CloudFront signed URLs and signed cookies.
--
-- See: newKeyGroupConfig smart constructor.
data KeyGroupConfig
KeyGroupConfig' :: Maybe Text -> Text -> [Text] -> KeyGroupConfig
-- | A comment to describe the key group. The comment cannot be longer than
-- 128 characters.
[$sel:comment:KeyGroupConfig'] :: KeyGroupConfig -> Maybe Text
-- | A name to identify the key group.
[$sel:name:KeyGroupConfig'] :: KeyGroupConfig -> Text
-- | A list of the identifiers of the public keys in the key group.
[$sel:items:KeyGroupConfig'] :: KeyGroupConfig -> [Text]
-- | Create a value of KeyGroupConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:KeyGroupConfig', keyGroupConfig_comment - A
-- comment to describe the key group. The comment cannot be longer than
-- 128 characters.
--
-- $sel:name:KeyGroupConfig', keyGroupConfig_name - A name
-- to identify the key group.
--
-- $sel:items:KeyGroupConfig', keyGroupConfig_items - A
-- list of the identifiers of the public keys in the key group.
newKeyGroupConfig :: Text -> KeyGroupConfig
-- | A comment to describe the key group. The comment cannot be longer than
-- 128 characters.
keyGroupConfig_comment :: Lens' KeyGroupConfig (Maybe Text)
-- | A name to identify the key group.
keyGroupConfig_name :: Lens' KeyGroupConfig Text
-- | A list of the identifiers of the public keys in the key group.
keyGroupConfig_items :: Lens' KeyGroupConfig [Text]
instance GHC.Generics.Generic Amazonka.CloudFront.Types.KeyGroupConfig.KeyGroupConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.KeyGroupConfig.KeyGroupConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.KeyGroupConfig.KeyGroupConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.KeyGroupConfig.KeyGroupConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.KeyGroupConfig.KeyGroupConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.KeyGroupConfig.KeyGroupConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.KeyGroupConfig.KeyGroupConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.KeyGroupConfig.KeyGroupConfig
module Amazonka.CloudFront.Types.KeyGroup
-- | A key group.
--
-- A key group contains a list of public keys that you can use with
-- CloudFront signed URLs and signed cookies.
--
-- See: newKeyGroup smart constructor.
data KeyGroup
KeyGroup' :: Text -> ISO8601 -> KeyGroupConfig -> KeyGroup
-- | The identifier for the key group.
[$sel:id:KeyGroup'] :: KeyGroup -> Text
-- | The date and time when the key group was last modified.
[$sel:lastModifiedTime:KeyGroup'] :: KeyGroup -> ISO8601
-- | The key group configuration.
[$sel:keyGroupConfig:KeyGroup'] :: KeyGroup -> KeyGroupConfig
-- | Create a value of KeyGroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:KeyGroup', keyGroup_id - The identifier for the
-- key group.
--
-- $sel:lastModifiedTime:KeyGroup',
-- keyGroup_lastModifiedTime - The date and time when the key
-- group was last modified.
--
-- $sel:keyGroupConfig:KeyGroup', keyGroup_keyGroupConfig -
-- The key group configuration.
newKeyGroup :: Text -> UTCTime -> KeyGroupConfig -> KeyGroup
-- | The identifier for the key group.
keyGroup_id :: Lens' KeyGroup Text
-- | The date and time when the key group was last modified.
keyGroup_lastModifiedTime :: Lens' KeyGroup UTCTime
-- | The key group configuration.
keyGroup_keyGroupConfig :: Lens' KeyGroup KeyGroupConfig
instance GHC.Generics.Generic Amazonka.CloudFront.Types.KeyGroup.KeyGroup
instance GHC.Show.Show Amazonka.CloudFront.Types.KeyGroup.KeyGroup
instance GHC.Read.Read Amazonka.CloudFront.Types.KeyGroup.KeyGroup
instance GHC.Classes.Eq Amazonka.CloudFront.Types.KeyGroup.KeyGroup
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.KeyGroup.KeyGroup
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.KeyGroup.KeyGroup
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.KeyGroup.KeyGroup
module Amazonka.CloudFront.Types.KeyGroupSummary
-- | Contains information about a key group.
--
-- See: newKeyGroupSummary smart constructor.
data KeyGroupSummary
KeyGroupSummary' :: KeyGroup -> KeyGroupSummary
-- | A key group.
[$sel:keyGroup:KeyGroupSummary'] :: KeyGroupSummary -> KeyGroup
-- | Create a value of KeyGroupSummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:keyGroup:KeyGroupSummary', keyGroupSummary_keyGroup
-- - A key group.
newKeyGroupSummary :: KeyGroup -> KeyGroupSummary
-- | A key group.
keyGroupSummary_keyGroup :: Lens' KeyGroupSummary KeyGroup
instance GHC.Generics.Generic Amazonka.CloudFront.Types.KeyGroupSummary.KeyGroupSummary
instance GHC.Show.Show Amazonka.CloudFront.Types.KeyGroupSummary.KeyGroupSummary
instance GHC.Read.Read Amazonka.CloudFront.Types.KeyGroupSummary.KeyGroupSummary
instance GHC.Classes.Eq Amazonka.CloudFront.Types.KeyGroupSummary.KeyGroupSummary
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.KeyGroupSummary.KeyGroupSummary
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.KeyGroupSummary.KeyGroupSummary
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.KeyGroupSummary.KeyGroupSummary
module Amazonka.CloudFront.Types.KeyGroupList
-- | A list of key groups.
--
-- See: newKeyGroupList smart constructor.
data KeyGroupList
KeyGroupList' :: Maybe [KeyGroupSummary] -> Maybe Text -> Int -> Int -> KeyGroupList
-- | A list of key groups.
[$sel:items:KeyGroupList'] :: KeyGroupList -> Maybe [KeyGroupSummary]
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing key
-- groups.
[$sel:nextMarker:KeyGroupList'] :: KeyGroupList -> Maybe Text
-- | The maximum number of key groups requested.
[$sel:maxItems:KeyGroupList'] :: KeyGroupList -> Int
-- | The number of key groups returned in the response.
[$sel:quantity:KeyGroupList'] :: KeyGroupList -> Int
-- | Create a value of KeyGroupList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:KeyGroupList', keyGroupList_items - A list of
-- key groups.
--
-- $sel:nextMarker:KeyGroupList', keyGroupList_nextMarker -
-- If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing key
-- groups.
--
-- $sel:maxItems:KeyGroupList', keyGroupList_maxItems - The
-- maximum number of key groups requested.
--
-- $sel:quantity:KeyGroupList', keyGroupList_quantity - The
-- number of key groups returned in the response.
newKeyGroupList :: Int -> Int -> KeyGroupList
-- | A list of key groups.
keyGroupList_items :: Lens' KeyGroupList (Maybe [KeyGroupSummary])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing key
-- groups.
keyGroupList_nextMarker :: Lens' KeyGroupList (Maybe Text)
-- | The maximum number of key groups requested.
keyGroupList_maxItems :: Lens' KeyGroupList Int
-- | The number of key groups returned in the response.
keyGroupList_quantity :: Lens' KeyGroupList Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.KeyGroupList.KeyGroupList
instance GHC.Show.Show Amazonka.CloudFront.Types.KeyGroupList.KeyGroupList
instance GHC.Read.Read Amazonka.CloudFront.Types.KeyGroupList.KeyGroupList
instance GHC.Classes.Eq Amazonka.CloudFront.Types.KeyGroupList.KeyGroupList
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.KeyGroupList.KeyGroupList
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.KeyGroupList.KeyGroupList
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.KeyGroupList.KeyGroupList
module Amazonka.CloudFront.Types.KeyPairIds
-- | A list of CloudFront key pair identifiers.
--
-- See: newKeyPairIds smart constructor.
data KeyPairIds
KeyPairIds' :: Maybe [Text] -> Int -> KeyPairIds
-- | A list of CloudFront key pair identifiers.
[$sel:items:KeyPairIds'] :: KeyPairIds -> Maybe [Text]
-- | The number of key pair identifiers in the list.
[$sel:quantity:KeyPairIds'] :: KeyPairIds -> Int
-- | Create a value of KeyPairIds with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:KeyPairIds', keyPairIds_items - A list of
-- CloudFront key pair identifiers.
--
-- $sel:quantity:KeyPairIds', keyPairIds_quantity - The
-- number of key pair identifiers in the list.
newKeyPairIds :: Int -> KeyPairIds
-- | A list of CloudFront key pair identifiers.
keyPairIds_items :: Lens' KeyPairIds (Maybe [Text])
-- | The number of key pair identifiers in the list.
keyPairIds_quantity :: Lens' KeyPairIds Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.KeyPairIds.KeyPairIds
instance GHC.Show.Show Amazonka.CloudFront.Types.KeyPairIds.KeyPairIds
instance GHC.Read.Read Amazonka.CloudFront.Types.KeyPairIds.KeyPairIds
instance GHC.Classes.Eq Amazonka.CloudFront.Types.KeyPairIds.KeyPairIds
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.KeyPairIds.KeyPairIds
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.KeyPairIds.KeyPairIds
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.KeyPairIds.KeyPairIds
module Amazonka.CloudFront.Types.KGKeyPairIds
-- | A list of identifiers for the public keys that CloudFront can use to
-- verify the signatures of signed URLs and signed cookies.
--
-- See: newKGKeyPairIds smart constructor.
data KGKeyPairIds
KGKeyPairIds' :: Maybe Text -> Maybe KeyPairIds -> KGKeyPairIds
-- | The identifier of the key group that contains the public keys.
[$sel:keyGroupId:KGKeyPairIds'] :: KGKeyPairIds -> Maybe Text
[$sel:keyPairIds:KGKeyPairIds'] :: KGKeyPairIds -> Maybe KeyPairIds
-- | Create a value of KGKeyPairIds with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:keyGroupId:KGKeyPairIds', kGKeyPairIds_keyGroupId -
-- The identifier of the key group that contains the public keys.
--
-- $sel:keyPairIds:KGKeyPairIds', kGKeyPairIds_keyPairIds -
-- Undocumented member.
newKGKeyPairIds :: KGKeyPairIds
-- | The identifier of the key group that contains the public keys.
kGKeyPairIds_keyGroupId :: Lens' KGKeyPairIds (Maybe Text)
-- | Undocumented member.
kGKeyPairIds_keyPairIds :: Lens' KGKeyPairIds (Maybe KeyPairIds)
instance GHC.Generics.Generic Amazonka.CloudFront.Types.KGKeyPairIds.KGKeyPairIds
instance GHC.Show.Show Amazonka.CloudFront.Types.KGKeyPairIds.KGKeyPairIds
instance GHC.Read.Read Amazonka.CloudFront.Types.KGKeyPairIds.KGKeyPairIds
instance GHC.Classes.Eq Amazonka.CloudFront.Types.KGKeyPairIds.KGKeyPairIds
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.KGKeyPairIds.KGKeyPairIds
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.KGKeyPairIds.KGKeyPairIds
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.KGKeyPairIds.KGKeyPairIds
module Amazonka.CloudFront.Types.ActiveTrustedKeyGroups
-- | A list of key groups, and the public keys in each key group, that
-- CloudFront can use to verify the signatures of signed URLs and signed
-- cookies.
--
-- See: newActiveTrustedKeyGroups smart constructor.
data ActiveTrustedKeyGroups
ActiveTrustedKeyGroups' :: Maybe [KGKeyPairIds] -> Bool -> Int -> ActiveTrustedKeyGroups
-- | A list of key groups, including the identifiers of the public keys in
-- each key group that CloudFront can use to verify the signatures of
-- signed URLs and signed cookies.
[$sel:items:ActiveTrustedKeyGroups'] :: ActiveTrustedKeyGroups -> Maybe [KGKeyPairIds]
-- | This field is true if any of the key groups have public keys
-- that CloudFront can use to verify the signatures of signed URLs and
-- signed cookies. If not, this field is false.
[$sel:enabled:ActiveTrustedKeyGroups'] :: ActiveTrustedKeyGroups -> Bool
-- | The number of key groups in the list.
[$sel:quantity:ActiveTrustedKeyGroups'] :: ActiveTrustedKeyGroups -> Int
-- | Create a value of ActiveTrustedKeyGroups with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ActiveTrustedKeyGroups',
-- activeTrustedKeyGroups_items - A list of key groups, including
-- the identifiers of the public keys in each key group that CloudFront
-- can use to verify the signatures of signed URLs and signed cookies.
--
-- $sel:enabled:ActiveTrustedKeyGroups',
-- activeTrustedKeyGroups_enabled - This field is true if
-- any of the key groups have public keys that CloudFront can use to
-- verify the signatures of signed URLs and signed cookies. If not, this
-- field is false.
--
-- $sel:quantity:ActiveTrustedKeyGroups',
-- activeTrustedKeyGroups_quantity - The number of key groups in
-- the list.
newActiveTrustedKeyGroups :: Bool -> Int -> ActiveTrustedKeyGroups
-- | A list of key groups, including the identifiers of the public keys in
-- each key group that CloudFront can use to verify the signatures of
-- signed URLs and signed cookies.
activeTrustedKeyGroups_items :: Lens' ActiveTrustedKeyGroups (Maybe [KGKeyPairIds])
-- | This field is true if any of the key groups have public keys
-- that CloudFront can use to verify the signatures of signed URLs and
-- signed cookies. If not, this field is false.
activeTrustedKeyGroups_enabled :: Lens' ActiveTrustedKeyGroups Bool
-- | The number of key groups in the list.
activeTrustedKeyGroups_quantity :: Lens' ActiveTrustedKeyGroups Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ActiveTrustedKeyGroups.ActiveTrustedKeyGroups
instance GHC.Show.Show Amazonka.CloudFront.Types.ActiveTrustedKeyGroups.ActiveTrustedKeyGroups
instance GHC.Read.Read Amazonka.CloudFront.Types.ActiveTrustedKeyGroups.ActiveTrustedKeyGroups
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ActiveTrustedKeyGroups.ActiveTrustedKeyGroups
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ActiveTrustedKeyGroups.ActiveTrustedKeyGroups
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ActiveTrustedKeyGroups.ActiveTrustedKeyGroups
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ActiveTrustedKeyGroups.ActiveTrustedKeyGroups
module Amazonka.CloudFront.Types.KinesisStreamConfig
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data.
--
-- See: newKinesisStreamConfig smart constructor.
data KinesisStreamConfig
KinesisStreamConfig' :: Text -> Text -> KinesisStreamConfig
-- | The Amazon Resource Name (ARN) of an Identity and Access Management
-- (IAM) role that CloudFront can use to send real-time log data to your
-- Kinesis data stream.
--
-- For more information the IAM role, see Real-time log configuration
-- IAM role in the Amazon CloudFront Developer Guide.
[$sel:roleARN:KinesisStreamConfig'] :: KinesisStreamConfig -> Text
-- | The Amazon Resource Name (ARN) of the Kinesis data stream where you
-- are sending real-time log data.
[$sel:streamARN:KinesisStreamConfig'] :: KinesisStreamConfig -> Text
-- | Create a value of KinesisStreamConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:roleARN:KinesisStreamConfig',
-- kinesisStreamConfig_roleARN - The Amazon Resource Name (ARN) of
-- an Identity and Access Management (IAM) role that CloudFront can use
-- to send real-time log data to your Kinesis data stream.
--
-- For more information the IAM role, see Real-time log configuration
-- IAM role in the Amazon CloudFront Developer Guide.
--
-- $sel:streamARN:KinesisStreamConfig',
-- kinesisStreamConfig_streamARN - The Amazon Resource Name (ARN)
-- of the Kinesis data stream where you are sending real-time log data.
newKinesisStreamConfig :: Text -> Text -> KinesisStreamConfig
-- | The Amazon Resource Name (ARN) of an Identity and Access Management
-- (IAM) role that CloudFront can use to send real-time log data to your
-- Kinesis data stream.
--
-- For more information the IAM role, see Real-time log configuration
-- IAM role in the Amazon CloudFront Developer Guide.
kinesisStreamConfig_roleARN :: Lens' KinesisStreamConfig Text
-- | The Amazon Resource Name (ARN) of the Kinesis data stream where you
-- are sending real-time log data.
kinesisStreamConfig_streamARN :: Lens' KinesisStreamConfig Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.KinesisStreamConfig.KinesisStreamConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.KinesisStreamConfig.KinesisStreamConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.KinesisStreamConfig.KinesisStreamConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.KinesisStreamConfig.KinesisStreamConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.KinesisStreamConfig.KinesisStreamConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.KinesisStreamConfig.KinesisStreamConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.KinesisStreamConfig.KinesisStreamConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.KinesisStreamConfig.KinesisStreamConfig
module Amazonka.CloudFront.Types.EndPoint
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data in a real-time log configuration.
--
-- See: newEndPoint smart constructor.
data EndPoint
EndPoint' :: Maybe KinesisStreamConfig -> Text -> EndPoint
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data.
[$sel:kinesisStreamConfig:EndPoint'] :: EndPoint -> Maybe KinesisStreamConfig
-- | The type of data stream where you are sending real-time log data. The
-- only valid value is Kinesis.
[$sel:streamType:EndPoint'] :: EndPoint -> Text
-- | Create a value of EndPoint with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:kinesisStreamConfig:EndPoint',
-- endPoint_kinesisStreamConfig - Contains information about the
-- Amazon Kinesis data stream where you are sending real-time log data.
--
-- $sel:streamType:EndPoint', endPoint_streamType - The
-- type of data stream where you are sending real-time log data. The only
-- valid value is Kinesis.
newEndPoint :: Text -> EndPoint
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data.
endPoint_kinesisStreamConfig :: Lens' EndPoint (Maybe KinesisStreamConfig)
-- | The type of data stream where you are sending real-time log data. The
-- only valid value is Kinesis.
endPoint_streamType :: Lens' EndPoint Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.EndPoint.EndPoint
instance GHC.Show.Show Amazonka.CloudFront.Types.EndPoint.EndPoint
instance GHC.Read.Read Amazonka.CloudFront.Types.EndPoint.EndPoint
instance GHC.Classes.Eq Amazonka.CloudFront.Types.EndPoint.EndPoint
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.EndPoint.EndPoint
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.EndPoint.EndPoint
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.EndPoint.EndPoint
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.EndPoint.EndPoint
module Amazonka.CloudFront.Types.LambdaFunctionAssociation
-- | A complex type that contains a Lambda@Edge function association.
--
-- See: newLambdaFunctionAssociation smart constructor.
data LambdaFunctionAssociation
LambdaFunctionAssociation' :: Maybe Bool -> Text -> EventType -> LambdaFunctionAssociation
-- | A flag that allows a Lambda@Edge function to have read access to the
-- body content. For more information, see Accessing the Request Body
-- by Choosing the Include Body Option in the Amazon CloudFront
-- Developer Guide.
[$sel:includeBody:LambdaFunctionAssociation'] :: LambdaFunctionAssociation -> Maybe Bool
-- | The ARN of the Lambda@Edge function. You must specify the ARN of a
-- function version; you can't specify an alias or $LATEST.
[$sel:lambdaFunctionARN:LambdaFunctionAssociation'] :: LambdaFunctionAssociation -> Text
-- | Specifies the event type that triggers a Lambda@Edge function
-- invocation. You can specify the following values:
--
--
-- - viewer-request: The function executes when CloudFront
-- receives a request from a viewer and before it checks to see whether
-- the requested object is in the edge cache.
-- - origin-request: The function executes only when
-- CloudFront sends a request to your origin. When the requested object
-- is in the edge cache, the function doesn't execute.
-- - origin-response: The function executes after CloudFront
-- receives a response from the origin and before it caches the object in
-- the response. When the requested object is in the edge cache, the
-- function doesn't execute.
-- - viewer-response: The function executes before CloudFront
-- returns the requested object to the viewer. The function executes
-- regardless of whether the object was already in the edge cache.If the
-- origin returns an HTTP status code other than HTTP 200 (OK), the
-- function doesn't execute.
--
[$sel:eventType:LambdaFunctionAssociation'] :: LambdaFunctionAssociation -> EventType
-- | Create a value of LambdaFunctionAssociation with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:includeBody:LambdaFunctionAssociation',
-- lambdaFunctionAssociation_includeBody - A flag that allows a
-- Lambda@Edge function to have read access to the body content. For more
-- information, see Accessing the Request Body by Choosing the Include
-- Body Option in the Amazon CloudFront Developer Guide.
--
-- $sel:lambdaFunctionARN:LambdaFunctionAssociation',
-- lambdaFunctionAssociation_lambdaFunctionARN - The ARN of the
-- Lambda@Edge function. You must specify the ARN of a function version;
-- you can't specify an alias or $LATEST.
--
-- $sel:eventType:LambdaFunctionAssociation',
-- lambdaFunctionAssociation_eventType - Specifies the event type
-- that triggers a Lambda@Edge function invocation. You can specify the
-- following values:
--
--
-- - viewer-request: The function executes when CloudFront
-- receives a request from a viewer and before it checks to see whether
-- the requested object is in the edge cache.
-- - origin-request: The function executes only when
-- CloudFront sends a request to your origin. When the requested object
-- is in the edge cache, the function doesn't execute.
-- - origin-response: The function executes after CloudFront
-- receives a response from the origin and before it caches the object in
-- the response. When the requested object is in the edge cache, the
-- function doesn't execute.
-- - viewer-response: The function executes before CloudFront
-- returns the requested object to the viewer. The function executes
-- regardless of whether the object was already in the edge cache.If the
-- origin returns an HTTP status code other than HTTP 200 (OK), the
-- function doesn't execute.
--
newLambdaFunctionAssociation :: Text -> EventType -> LambdaFunctionAssociation
-- | A flag that allows a Lambda@Edge function to have read access to the
-- body content. For more information, see Accessing the Request Body
-- by Choosing the Include Body Option in the Amazon CloudFront
-- Developer Guide.
lambdaFunctionAssociation_includeBody :: Lens' LambdaFunctionAssociation (Maybe Bool)
-- | The ARN of the Lambda@Edge function. You must specify the ARN of a
-- function version; you can't specify an alias or $LATEST.
lambdaFunctionAssociation_lambdaFunctionARN :: Lens' LambdaFunctionAssociation Text
-- | Specifies the event type that triggers a Lambda@Edge function
-- invocation. You can specify the following values:
--
--
-- - viewer-request: The function executes when CloudFront
-- receives a request from a viewer and before it checks to see whether
-- the requested object is in the edge cache.
-- - origin-request: The function executes only when
-- CloudFront sends a request to your origin. When the requested object
-- is in the edge cache, the function doesn't execute.
-- - origin-response: The function executes after CloudFront
-- receives a response from the origin and before it caches the object in
-- the response. When the requested object is in the edge cache, the
-- function doesn't execute.
-- - viewer-response: The function executes before CloudFront
-- returns the requested object to the viewer. The function executes
-- regardless of whether the object was already in the edge cache.If the
-- origin returns an HTTP status code other than HTTP 200 (OK), the
-- function doesn't execute.
--
lambdaFunctionAssociation_eventType :: Lens' LambdaFunctionAssociation EventType
instance GHC.Generics.Generic Amazonka.CloudFront.Types.LambdaFunctionAssociation.LambdaFunctionAssociation
instance GHC.Show.Show Amazonka.CloudFront.Types.LambdaFunctionAssociation.LambdaFunctionAssociation
instance GHC.Read.Read Amazonka.CloudFront.Types.LambdaFunctionAssociation.LambdaFunctionAssociation
instance GHC.Classes.Eq Amazonka.CloudFront.Types.LambdaFunctionAssociation.LambdaFunctionAssociation
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.LambdaFunctionAssociation.LambdaFunctionAssociation
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.LambdaFunctionAssociation.LambdaFunctionAssociation
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.LambdaFunctionAssociation.LambdaFunctionAssociation
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.LambdaFunctionAssociation.LambdaFunctionAssociation
module Amazonka.CloudFront.Types.LambdaFunctionAssociations
-- | A complex type that specifies a list of Lambda@Edge functions
-- associations for a cache behavior.
--
-- If you want to invoke one or more Lambda@Edge functions triggered by
-- requests that match the PathPattern of the cache behavior,
-- specify the applicable values for Quantity and
-- Items. Note that there can be up to 4
-- LambdaFunctionAssociation items in this list (one for each
-- possible value of EventType) and each EventType can
-- be associated with only one function.
--
-- If you don't want to invoke any Lambda@Edge functions for the requests
-- that match PathPattern, specify 0 for
-- Quantity and omit Items.
--
-- See: newLambdaFunctionAssociations smart constructor.
data LambdaFunctionAssociations
LambdaFunctionAssociations' :: Maybe [LambdaFunctionAssociation] -> Int -> LambdaFunctionAssociations
-- | Optional: A complex type that contains
-- LambdaFunctionAssociation items for this cache behavior. If
-- Quantity is 0, you can omit Items.
[$sel:items:LambdaFunctionAssociations'] :: LambdaFunctionAssociations -> Maybe [LambdaFunctionAssociation]
-- | The number of Lambda@Edge function associations for this cache
-- behavior.
[$sel:quantity:LambdaFunctionAssociations'] :: LambdaFunctionAssociations -> Int
-- | Create a value of LambdaFunctionAssociations with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:LambdaFunctionAssociations',
-- lambdaFunctionAssociations_items - Optional: A complex
-- type that contains LambdaFunctionAssociation items for this
-- cache behavior. If Quantity is 0, you can omit
-- Items.
--
-- $sel:quantity:LambdaFunctionAssociations',
-- lambdaFunctionAssociations_quantity - The number of Lambda@Edge
-- function associations for this cache behavior.
newLambdaFunctionAssociations :: Int -> LambdaFunctionAssociations
-- | Optional: A complex type that contains
-- LambdaFunctionAssociation items for this cache behavior. If
-- Quantity is 0, you can omit Items.
lambdaFunctionAssociations_items :: Lens' LambdaFunctionAssociations (Maybe [LambdaFunctionAssociation])
-- | The number of Lambda@Edge function associations for this cache
-- behavior.
lambdaFunctionAssociations_quantity :: Lens' LambdaFunctionAssociations Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.LambdaFunctionAssociations.LambdaFunctionAssociations
instance GHC.Show.Show Amazonka.CloudFront.Types.LambdaFunctionAssociations.LambdaFunctionAssociations
instance GHC.Read.Read Amazonka.CloudFront.Types.LambdaFunctionAssociations.LambdaFunctionAssociations
instance GHC.Classes.Eq Amazonka.CloudFront.Types.LambdaFunctionAssociations.LambdaFunctionAssociations
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.LambdaFunctionAssociations.LambdaFunctionAssociations
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.LambdaFunctionAssociations.LambdaFunctionAssociations
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.LambdaFunctionAssociations.LambdaFunctionAssociations
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.LambdaFunctionAssociations.LambdaFunctionAssociations
module Amazonka.CloudFront.Types.LoggingConfig
-- | A complex type that controls whether access logs are written for the
-- distribution.
--
-- See: newLoggingConfig smart constructor.
data LoggingConfig
LoggingConfig' :: Bool -> Bool -> Text -> Text -> LoggingConfig
-- | Specifies whether you want CloudFront to save access logs to an Amazon
-- S3 bucket. If you don't 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.
[$sel:enabled:LoggingConfig'] :: 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
-- don't 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.
[$sel:includeCookies:LoggingConfig'] :: LoggingConfig -> Bool
-- | The Amazon S3 bucket to store the access logs in, for example,
-- myawslogbucket.s3.amazonaws.com.
[$sel:bucket:LoggingConfig'] :: LoggingConfig -> Text
-- | An optional string that you want CloudFront to prefix to the access
-- log filenames for this distribution, for example,
-- myprefix/. If you want to enable logging, but you don't want
-- to specify a prefix, you still must include an empty Prefix
-- element in the Logging element.
[$sel:prefix:LoggingConfig'] :: LoggingConfig -> Text
-- | Create a value of LoggingConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:enabled:LoggingConfig', loggingConfig_enabled -
-- Specifies whether you want CloudFront to save access logs to an Amazon
-- S3 bucket. If you don't 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.
--
-- $sel:includeCookies:LoggingConfig',
-- loggingConfig_includeCookies - 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 don't 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.
--
-- $sel:bucket:LoggingConfig', loggingConfig_bucket - The
-- Amazon S3 bucket to store the access logs in, for example,
-- myawslogbucket.s3.amazonaws.com.
--
-- $sel:prefix:LoggingConfig', loggingConfig_prefix - 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 don't want
-- to specify a prefix, you still must include an empty Prefix
-- element in the Logging element.
newLoggingConfig :: Bool -> Bool -> Text -> Text -> LoggingConfig
-- | Specifies whether you want CloudFront to save access logs to an Amazon
-- S3 bucket. If you don't 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.
loggingConfig_enabled :: 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
-- don't 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.
loggingConfig_includeCookies :: Lens' LoggingConfig Bool
-- | The Amazon S3 bucket to store the access logs in, for example,
-- myawslogbucket.s3.amazonaws.com.
loggingConfig_bucket :: Lens' LoggingConfig Text
-- | An optional string that you want CloudFront to prefix to the access
-- log filenames for this distribution, for example,
-- myprefix/. If you want to enable logging, but you don't want
-- to specify a prefix, you still must include an empty Prefix
-- element in the Logging element.
loggingConfig_prefix :: Lens' LoggingConfig Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.LoggingConfig.LoggingConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.LoggingConfig.LoggingConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.LoggingConfig.LoggingConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.LoggingConfig.LoggingConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.LoggingConfig.LoggingConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.LoggingConfig.LoggingConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.LoggingConfig.LoggingConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.LoggingConfig.LoggingConfig
module Amazonka.CloudFront.Types.Method
newtype Method
Method' :: Text -> Method
[fromMethod] :: Method -> Text
pattern Method_DELETE :: Method
pattern Method_GET :: Method
pattern Method_HEAD :: Method
pattern Method_OPTIONS :: Method
pattern Method_PATCH :: Method
pattern Method_POST :: Method
pattern Method_PUT :: Method
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.Method.Method
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.Method.Method
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.Method.Method
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.Method.Method
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.Method.Method
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.Method.Method
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.Method.Method
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.Method.Method
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.Method.Method
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.Method.Method
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.Method.Method
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.Method.Method
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.Method.Method
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.Method.Method
instance GHC.Generics.Generic Amazonka.CloudFront.Types.Method.Method
instance GHC.Classes.Ord Amazonka.CloudFront.Types.Method.Method
instance GHC.Classes.Eq Amazonka.CloudFront.Types.Method.Method
instance GHC.Read.Read Amazonka.CloudFront.Types.Method.Method
instance GHC.Show.Show Amazonka.CloudFront.Types.Method.Method
module Amazonka.CloudFront.Types.CachedMethods
-- | A complex type that controls whether CloudFront caches the response to
-- requests using the specified HTTP methods. There are two choices:
--
--
-- - CloudFront caches responses to GET and HEAD
-- requests.
-- - CloudFront caches responses to GET, HEAD, and
-- OPTIONS requests.
--
--
-- If you pick the second choice for your Amazon S3 Origin, you may need
-- to forward Access-Control-Request-Method,
-- Access-Control-Request-Headers, and Origin headers for the responses
-- to be cached correctly.
--
-- See: newCachedMethods smart constructor.
data CachedMethods
CachedMethods' :: Int -> [Method] -> CachedMethods
-- | The number of HTTP methods for which you want CloudFront to cache
-- responses. Valid values are 2 (for caching responses to
-- GET and HEAD requests) and 3 (for caching
-- responses to GET, HEAD, and OPTIONS
-- requests).
[$sel:quantity:CachedMethods'] :: CachedMethods -> Int
-- | A complex type that contains the HTTP methods that you want CloudFront
-- to cache responses to.
[$sel:items:CachedMethods'] :: CachedMethods -> [Method]
-- | Create a value of CachedMethods with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:CachedMethods', cachedMethods_quantity -
-- The number of HTTP methods for which you want CloudFront to cache
-- responses. Valid values are 2 (for caching responses to
-- GET and HEAD requests) and 3 (for caching
-- responses to GET, HEAD, and OPTIONS
-- requests).
--
-- $sel:items:CachedMethods', cachedMethods_items - A
-- complex type that contains the HTTP methods that you want CloudFront
-- to cache responses to.
newCachedMethods :: Int -> CachedMethods
-- | The number of HTTP methods for which you want CloudFront to cache
-- responses. Valid values are 2 (for caching responses to
-- GET and HEAD requests) and 3 (for caching
-- responses to GET, HEAD, and OPTIONS
-- requests).
cachedMethods_quantity :: Lens' CachedMethods Int
-- | A complex type that contains the HTTP methods that you want CloudFront
-- to cache responses to.
cachedMethods_items :: Lens' CachedMethods [Method]
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CachedMethods.CachedMethods
instance GHC.Show.Show Amazonka.CloudFront.Types.CachedMethods.CachedMethods
instance GHC.Read.Read Amazonka.CloudFront.Types.CachedMethods.CachedMethods
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CachedMethods.CachedMethods
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CachedMethods.CachedMethods
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CachedMethods.CachedMethods
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CachedMethods.CachedMethods
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.CachedMethods.CachedMethods
module Amazonka.CloudFront.Types.AllowedMethods
-- | A complex type that controls which HTTP methods CloudFront processes
-- and forwards to your Amazon S3 bucket or your custom origin. There are
-- three choices:
--
--
-- - CloudFront forwards only GET and HEAD
-- requests.
-- - CloudFront forwards only GET, HEAD, and
-- OPTIONS requests.
-- - CloudFront forwards GET, HEAD, OPTIONS, PUT, PATCH, POST,
-- and DELETE requests.
--
--
-- If you pick the third choice, you may need to restrict access to your
-- Amazon S3 bucket or to your custom origin so users can't perform
-- operations that you don't want them to. For example, you might not
-- want users to have permissions to delete objects from your origin.
--
-- See: newAllowedMethods smart constructor.
data AllowedMethods
AllowedMethods' :: Maybe CachedMethods -> Int -> [Method] -> AllowedMethods
[$sel:cachedMethods:AllowedMethods'] :: AllowedMethods -> Maybe CachedMethods
-- | The number of HTTP methods that you want CloudFront to forward to your
-- origin. Valid values are 2 (for GET and HEAD
-- requests), 3 (for GET, HEAD, and OPTIONS
-- requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST,
-- and DELETE requests).
[$sel:quantity:AllowedMethods'] :: AllowedMethods -> Int
-- | A complex type that contains the HTTP methods that you want CloudFront
-- to process and forward to your origin.
[$sel:items:AllowedMethods'] :: AllowedMethods -> [Method]
-- | Create a value of AllowedMethods with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cachedMethods:AllowedMethods',
-- allowedMethods_cachedMethods - Undocumented member.
--
-- AllowedMethods, allowedMethods_quantity - The number of
-- HTTP methods that you want CloudFront to forward to your origin. Valid
-- values are 2 (for GET and HEAD requests), 3 (for
-- GET, HEAD, and OPTIONS requests) and 7 (for
-- GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE
-- requests).
--
-- AllowedMethods, allowedMethods_items - A complex type
-- that contains the HTTP methods that you want CloudFront to process and
-- forward to your origin.
newAllowedMethods :: Int -> AllowedMethods
-- | Undocumented member.
allowedMethods_cachedMethods :: Lens' AllowedMethods (Maybe CachedMethods)
-- | The number of HTTP methods that you want CloudFront to forward to your
-- origin. Valid values are 2 (for GET and HEAD
-- requests), 3 (for GET, HEAD, and OPTIONS
-- requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST,
-- and DELETE requests).
allowedMethods_quantity :: Lens' AllowedMethods Int
-- | A complex type that contains the HTTP methods that you want CloudFront
-- to process and forward to your origin.
allowedMethods_items :: Lens' AllowedMethods [Method]
instance GHC.Generics.Generic Amazonka.CloudFront.Types.AllowedMethods.AllowedMethods
instance GHC.Show.Show Amazonka.CloudFront.Types.AllowedMethods.AllowedMethods
instance GHC.Read.Read Amazonka.CloudFront.Types.AllowedMethods.AllowedMethods
instance GHC.Classes.Eq Amazonka.CloudFront.Types.AllowedMethods.AllowedMethods
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.AllowedMethods.AllowedMethods
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.AllowedMethods.AllowedMethods
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.AllowedMethods.AllowedMethods
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.AllowedMethods.AllowedMethods
module Amazonka.CloudFront.Types.MinimumProtocolVersion
newtype MinimumProtocolVersion
MinimumProtocolVersion' :: Text -> MinimumProtocolVersion
[fromMinimumProtocolVersion] :: MinimumProtocolVersion -> Text
pattern MinimumProtocolVersion_SSLv3 :: MinimumProtocolVersion
pattern MinimumProtocolVersion_TLSv1 :: MinimumProtocolVersion
pattern MinimumProtocolVersion_TLSv1_1_2016 :: MinimumProtocolVersion
pattern MinimumProtocolVersion_TLSv1_2016 :: MinimumProtocolVersion
pattern MinimumProtocolVersion_TLSv1_2_2018 :: MinimumProtocolVersion
pattern MinimumProtocolVersion_TLSv1_2_2019 :: MinimumProtocolVersion
pattern MinimumProtocolVersion_TLSv1_2_2021 :: MinimumProtocolVersion
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.MinimumProtocolVersion.MinimumProtocolVersion
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.MinimumProtocolVersion.MinimumProtocolVersion
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.MinimumProtocolVersion.MinimumProtocolVersion
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.MinimumProtocolVersion.MinimumProtocolVersion
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.MinimumProtocolVersion.MinimumProtocolVersion
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.MinimumProtocolVersion.MinimumProtocolVersion
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.MinimumProtocolVersion.MinimumProtocolVersion
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.MinimumProtocolVersion.MinimumProtocolVersion
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.MinimumProtocolVersion.MinimumProtocolVersion
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.MinimumProtocolVersion.MinimumProtocolVersion
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.MinimumProtocolVersion.MinimumProtocolVersion
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.MinimumProtocolVersion.MinimumProtocolVersion
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.MinimumProtocolVersion.MinimumProtocolVersion
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.MinimumProtocolVersion.MinimumProtocolVersion
instance GHC.Generics.Generic Amazonka.CloudFront.Types.MinimumProtocolVersion.MinimumProtocolVersion
instance GHC.Classes.Ord Amazonka.CloudFront.Types.MinimumProtocolVersion.MinimumProtocolVersion
instance GHC.Classes.Eq Amazonka.CloudFront.Types.MinimumProtocolVersion.MinimumProtocolVersion
instance GHC.Read.Read Amazonka.CloudFront.Types.MinimumProtocolVersion.MinimumProtocolVersion
instance GHC.Show.Show Amazonka.CloudFront.Types.MinimumProtocolVersion.MinimumProtocolVersion
module Amazonka.CloudFront.Types.OriginAccessControlOriginTypes
newtype OriginAccessControlOriginTypes
OriginAccessControlOriginTypes' :: Text -> OriginAccessControlOriginTypes
[fromOriginAccessControlOriginTypes] :: OriginAccessControlOriginTypes -> Text
pattern OriginAccessControlOriginTypes_S3 :: OriginAccessControlOriginTypes
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginAccessControlOriginTypes.OriginAccessControlOriginTypes
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginAccessControlOriginTypes.OriginAccessControlOriginTypes
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.OriginAccessControlOriginTypes.OriginAccessControlOriginTypes
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.OriginAccessControlOriginTypes.OriginAccessControlOriginTypes
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.OriginAccessControlOriginTypes.OriginAccessControlOriginTypes
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.OriginAccessControlOriginTypes.OriginAccessControlOriginTypes
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.OriginAccessControlOriginTypes.OriginAccessControlOriginTypes
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.OriginAccessControlOriginTypes.OriginAccessControlOriginTypes
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.OriginAccessControlOriginTypes.OriginAccessControlOriginTypes
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.OriginAccessControlOriginTypes.OriginAccessControlOriginTypes
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.OriginAccessControlOriginTypes.OriginAccessControlOriginTypes
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.OriginAccessControlOriginTypes.OriginAccessControlOriginTypes
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginAccessControlOriginTypes.OriginAccessControlOriginTypes
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginAccessControlOriginTypes.OriginAccessControlOriginTypes
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginAccessControlOriginTypes.OriginAccessControlOriginTypes
instance GHC.Classes.Ord Amazonka.CloudFront.Types.OriginAccessControlOriginTypes.OriginAccessControlOriginTypes
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginAccessControlOriginTypes.OriginAccessControlOriginTypes
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginAccessControlOriginTypes.OriginAccessControlOriginTypes
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginAccessControlOriginTypes.OriginAccessControlOriginTypes
module Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors
newtype OriginAccessControlSigningBehaviors
OriginAccessControlSigningBehaviors' :: Text -> OriginAccessControlSigningBehaviors
[fromOriginAccessControlSigningBehaviors] :: OriginAccessControlSigningBehaviors -> Text
pattern OriginAccessControlSigningBehaviors_Always :: OriginAccessControlSigningBehaviors
pattern OriginAccessControlSigningBehaviors_Never :: OriginAccessControlSigningBehaviors
pattern OriginAccessControlSigningBehaviors_No_override :: OriginAccessControlSigningBehaviors
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors.OriginAccessControlSigningBehaviors
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors.OriginAccessControlSigningBehaviors
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors.OriginAccessControlSigningBehaviors
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors.OriginAccessControlSigningBehaviors
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors.OriginAccessControlSigningBehaviors
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors.OriginAccessControlSigningBehaviors
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors.OriginAccessControlSigningBehaviors
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors.OriginAccessControlSigningBehaviors
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors.OriginAccessControlSigningBehaviors
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors.OriginAccessControlSigningBehaviors
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors.OriginAccessControlSigningBehaviors
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors.OriginAccessControlSigningBehaviors
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors.OriginAccessControlSigningBehaviors
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors.OriginAccessControlSigningBehaviors
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors.OriginAccessControlSigningBehaviors
instance GHC.Classes.Ord Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors.OriginAccessControlSigningBehaviors
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors.OriginAccessControlSigningBehaviors
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors.OriginAccessControlSigningBehaviors
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors.OriginAccessControlSigningBehaviors
module Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols
newtype OriginAccessControlSigningProtocols
OriginAccessControlSigningProtocols' :: Text -> OriginAccessControlSigningProtocols
[fromOriginAccessControlSigningProtocols] :: OriginAccessControlSigningProtocols -> Text
pattern OriginAccessControlSigningProtocols_Sigv4 :: OriginAccessControlSigningProtocols
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols.OriginAccessControlSigningProtocols
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols.OriginAccessControlSigningProtocols
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols.OriginAccessControlSigningProtocols
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols.OriginAccessControlSigningProtocols
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols.OriginAccessControlSigningProtocols
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols.OriginAccessControlSigningProtocols
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols.OriginAccessControlSigningProtocols
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols.OriginAccessControlSigningProtocols
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols.OriginAccessControlSigningProtocols
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols.OriginAccessControlSigningProtocols
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols.OriginAccessControlSigningProtocols
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols.OriginAccessControlSigningProtocols
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols.OriginAccessControlSigningProtocols
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols.OriginAccessControlSigningProtocols
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols.OriginAccessControlSigningProtocols
instance GHC.Classes.Ord Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols.OriginAccessControlSigningProtocols
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols.OriginAccessControlSigningProtocols
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols.OriginAccessControlSigningProtocols
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols.OriginAccessControlSigningProtocols
module Amazonka.CloudFront.Types.OriginAccessControlConfig
-- | A CloudFront origin access control configuration.
--
-- See: newOriginAccessControlConfig smart constructor.
data OriginAccessControlConfig
OriginAccessControlConfig' :: Maybe Text -> Text -> OriginAccessControlSigningProtocols -> OriginAccessControlSigningBehaviors -> OriginAccessControlOriginTypes -> OriginAccessControlConfig
-- | A description of the origin access control.
[$sel:description:OriginAccessControlConfig'] :: OriginAccessControlConfig -> Maybe Text
-- | A name to identify the origin access control.
[$sel:name:OriginAccessControlConfig'] :: OriginAccessControlConfig -> Text
-- | The signing protocol of the origin access control, which determines
-- how CloudFront signs (authenticates) requests. The only valid value is
-- sigv4.
[$sel:signingProtocol:OriginAccessControlConfig'] :: OriginAccessControlConfig -> OriginAccessControlSigningProtocols
-- | Specifies which requests CloudFront signs (adds authentication
-- information to). Specify always for the most common use case.
-- For more information, see origin access control advanced
-- settings in the Amazon CloudFront Developer Guide.
--
-- This field can have one of the following values:
--
--
-- - always – CloudFront signs all origin requests,
-- overwriting the Authorization header from the viewer request
-- if one exists.
-- - never – CloudFront doesn't sign any origin requests. This
-- value turns off origin access control for all origins in all
-- distributions that use this origin access control.
-- - no-override – If the viewer request doesn't contain the
-- Authorization header, then CloudFront signs the origin
-- request. If the viewer request contains the Authorization
-- header, then CloudFront doesn't sign the origin request and instead
-- passes along the Authorization header from the viewer
-- request. __WARNING: To pass along the Authorization header
-- from the viewer request, you must add the
-- Authorization header to a cache policy for all cache
-- behaviors that use origins associated with this origin access
-- control.__
--
[$sel:signingBehavior:OriginAccessControlConfig'] :: OriginAccessControlConfig -> OriginAccessControlSigningBehaviors
-- | The type of origin that this origin access control is for. The only
-- valid value is s3.
[$sel:originAccessControlOriginType:OriginAccessControlConfig'] :: OriginAccessControlConfig -> OriginAccessControlOriginTypes
-- | Create a value of OriginAccessControlConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:description:OriginAccessControlConfig',
-- originAccessControlConfig_description - A description of the
-- origin access control.
--
-- $sel:name:OriginAccessControlConfig',
-- originAccessControlConfig_name - A name to identify the origin
-- access control.
--
-- $sel:signingProtocol:OriginAccessControlConfig',
-- originAccessControlConfig_signingProtocol - The signing
-- protocol of the origin access control, which determines how CloudFront
-- signs (authenticates) requests. The only valid value is
-- sigv4.
--
-- $sel:signingBehavior:OriginAccessControlConfig',
-- originAccessControlConfig_signingBehavior - Specifies which
-- requests CloudFront signs (adds authentication information to).
-- Specify always for the most common use case. For more
-- information, see origin access control advanced settings in the
-- Amazon CloudFront Developer Guide.
--
-- This field can have one of the following values:
--
--
-- - always – CloudFront signs all origin requests,
-- overwriting the Authorization header from the viewer request
-- if one exists.
-- - never – CloudFront doesn't sign any origin requests. This
-- value turns off origin access control for all origins in all
-- distributions that use this origin access control.
-- - no-override – If the viewer request doesn't contain the
-- Authorization header, then CloudFront signs the origin
-- request. If the viewer request contains the Authorization
-- header, then CloudFront doesn't sign the origin request and instead
-- passes along the Authorization header from the viewer
-- request. __WARNING: To pass along the Authorization header
-- from the viewer request, you must add the
-- Authorization header to a cache policy for all cache
-- behaviors that use origins associated with this origin access
-- control.__
--
--
-- $sel:originAccessControlOriginType:OriginAccessControlConfig',
-- originAccessControlConfig_originAccessControlOriginType - The
-- type of origin that this origin access control is for. The only valid
-- value is s3.
newOriginAccessControlConfig :: Text -> OriginAccessControlSigningProtocols -> OriginAccessControlSigningBehaviors -> OriginAccessControlOriginTypes -> OriginAccessControlConfig
-- | A description of the origin access control.
originAccessControlConfig_description :: Lens' OriginAccessControlConfig (Maybe Text)
-- | A name to identify the origin access control.
originAccessControlConfig_name :: Lens' OriginAccessControlConfig Text
-- | The signing protocol of the origin access control, which determines
-- how CloudFront signs (authenticates) requests. The only valid value is
-- sigv4.
originAccessControlConfig_signingProtocol :: Lens' OriginAccessControlConfig OriginAccessControlSigningProtocols
-- | Specifies which requests CloudFront signs (adds authentication
-- information to). Specify always for the most common use case.
-- For more information, see origin access control advanced
-- settings in the Amazon CloudFront Developer Guide.
--
-- This field can have one of the following values:
--
--
-- - always – CloudFront signs all origin requests,
-- overwriting the Authorization header from the viewer request
-- if one exists.
-- - never – CloudFront doesn't sign any origin requests. This
-- value turns off origin access control for all origins in all
-- distributions that use this origin access control.
-- - no-override – If the viewer request doesn't contain the
-- Authorization header, then CloudFront signs the origin
-- request. If the viewer request contains the Authorization
-- header, then CloudFront doesn't sign the origin request and instead
-- passes along the Authorization header from the viewer
-- request. __WARNING: To pass along the Authorization header
-- from the viewer request, you must add the
-- Authorization header to a cache policy for all cache
-- behaviors that use origins associated with this origin access
-- control.__
--
originAccessControlConfig_signingBehavior :: Lens' OriginAccessControlConfig OriginAccessControlSigningBehaviors
-- | The type of origin that this origin access control is for. The only
-- valid value is s3.
originAccessControlConfig_originAccessControlOriginType :: Lens' OriginAccessControlConfig OriginAccessControlOriginTypes
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginAccessControlConfig.OriginAccessControlConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginAccessControlConfig.OriginAccessControlConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginAccessControlConfig.OriginAccessControlConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginAccessControlConfig.OriginAccessControlConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginAccessControlConfig.OriginAccessControlConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginAccessControlConfig.OriginAccessControlConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginAccessControlConfig.OriginAccessControlConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginAccessControlConfig.OriginAccessControlConfig
module Amazonka.CloudFront.Types.OriginAccessControl
-- | A CloudFront origin access control, including its unique identifier.
--
-- See: newOriginAccessControl smart constructor.
data OriginAccessControl
OriginAccessControl' :: Maybe OriginAccessControlConfig -> Text -> OriginAccessControl
-- | The origin access control.
[$sel:originAccessControlConfig:OriginAccessControl'] :: OriginAccessControl -> Maybe OriginAccessControlConfig
-- | The unique identifier of the origin access control.
[$sel:id:OriginAccessControl'] :: OriginAccessControl -> Text
-- | Create a value of OriginAccessControl with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:originAccessControlConfig:OriginAccessControl',
-- originAccessControl_originAccessControlConfig - The origin
-- access control.
--
-- $sel:id:OriginAccessControl', originAccessControl_id -
-- The unique identifier of the origin access control.
newOriginAccessControl :: Text -> OriginAccessControl
-- | The origin access control.
originAccessControl_originAccessControlConfig :: Lens' OriginAccessControl (Maybe OriginAccessControlConfig)
-- | The unique identifier of the origin access control.
originAccessControl_id :: Lens' OriginAccessControl Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginAccessControl.OriginAccessControl
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginAccessControl.OriginAccessControl
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginAccessControl.OriginAccessControl
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginAccessControl.OriginAccessControl
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginAccessControl.OriginAccessControl
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginAccessControl.OriginAccessControl
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginAccessControl.OriginAccessControl
module Amazonka.CloudFront.Types.OriginAccessControlSummary
-- | A CloudFront origin access control.
--
-- See: newOriginAccessControlSummary smart constructor.
data OriginAccessControlSummary
OriginAccessControlSummary' :: Text -> Text -> Text -> OriginAccessControlSigningProtocols -> OriginAccessControlSigningBehaviors -> OriginAccessControlOriginTypes -> OriginAccessControlSummary
-- | The unique identifier of the origin access control.
[$sel:id:OriginAccessControlSummary'] :: OriginAccessControlSummary -> Text
-- | A description of the origin access control.
[$sel:description:OriginAccessControlSummary'] :: OriginAccessControlSummary -> Text
-- | A unique name that identifies the origin access control.
[$sel:name:OriginAccessControlSummary'] :: OriginAccessControlSummary -> Text
-- | The signing protocol of the origin access control. The signing
-- protocol determines how CloudFront signs (authenticates) requests. The
-- only valid value is sigv4.
[$sel:signingProtocol:OriginAccessControlSummary'] :: OriginAccessControlSummary -> OriginAccessControlSigningProtocols
-- | A value that specifies which requests CloudFront signs (adds
-- authentication information to). This field can have one of the
-- following values:
--
--
-- - never – CloudFront doesn't sign any origin requests.
-- - always – CloudFront signs all origin requests,
-- overwriting the Authorization header from the viewer request
-- if necessary.
-- - no-override – If the viewer request doesn't contain the
-- Authorization header, CloudFront signs the origin request. If
-- the viewer request contains the Authorization header,
-- CloudFront doesn't sign the origin request, but instead passes along
-- the Authorization header that it received in the viewer
-- request.
--
[$sel:signingBehavior:OriginAccessControlSummary'] :: OriginAccessControlSummary -> OriginAccessControlSigningBehaviors
-- | The type of origin that this origin access control is for. The only
-- valid value is s3.
[$sel:originAccessControlOriginType:OriginAccessControlSummary'] :: OriginAccessControlSummary -> OriginAccessControlOriginTypes
-- | Create a value of OriginAccessControlSummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:OriginAccessControlSummary',
-- originAccessControlSummary_id - The unique identifier of the
-- origin access control.
--
-- $sel:description:OriginAccessControlSummary',
-- originAccessControlSummary_description - A description of the
-- origin access control.
--
-- $sel:name:OriginAccessControlSummary',
-- originAccessControlSummary_name - A unique name that identifies
-- the origin access control.
--
-- $sel:signingProtocol:OriginAccessControlSummary',
-- originAccessControlSummary_signingProtocol - The signing
-- protocol of the origin access control. The signing protocol determines
-- how CloudFront signs (authenticates) requests. The only valid value is
-- sigv4.
--
-- $sel:signingBehavior:OriginAccessControlSummary',
-- originAccessControlSummary_signingBehavior - A value that
-- specifies which requests CloudFront signs (adds authentication
-- information to). This field can have one of the following values:
--
--
-- - never – CloudFront doesn't sign any origin requests.
-- - always – CloudFront signs all origin requests,
-- overwriting the Authorization header from the viewer request
-- if necessary.
-- - no-override – If the viewer request doesn't contain the
-- Authorization header, CloudFront signs the origin request. If
-- the viewer request contains the Authorization header,
-- CloudFront doesn't sign the origin request, but instead passes along
-- the Authorization header that it received in the viewer
-- request.
--
--
-- $sel:originAccessControlOriginType:OriginAccessControlSummary',
-- originAccessControlSummary_originAccessControlOriginType - The
-- type of origin that this origin access control is for. The only valid
-- value is s3.
newOriginAccessControlSummary :: Text -> Text -> Text -> OriginAccessControlSigningProtocols -> OriginAccessControlSigningBehaviors -> OriginAccessControlOriginTypes -> OriginAccessControlSummary
-- | The unique identifier of the origin access control.
originAccessControlSummary_id :: Lens' OriginAccessControlSummary Text
-- | A description of the origin access control.
originAccessControlSummary_description :: Lens' OriginAccessControlSummary Text
-- | A unique name that identifies the origin access control.
originAccessControlSummary_name :: Lens' OriginAccessControlSummary Text
-- | The signing protocol of the origin access control. The signing
-- protocol determines how CloudFront signs (authenticates) requests. The
-- only valid value is sigv4.
originAccessControlSummary_signingProtocol :: Lens' OriginAccessControlSummary OriginAccessControlSigningProtocols
-- | A value that specifies which requests CloudFront signs (adds
-- authentication information to). This field can have one of the
-- following values:
--
--
-- - never – CloudFront doesn't sign any origin requests.
-- - always – CloudFront signs all origin requests,
-- overwriting the Authorization header from the viewer request
-- if necessary.
-- - no-override – If the viewer request doesn't contain the
-- Authorization header, CloudFront signs the origin request. If
-- the viewer request contains the Authorization header,
-- CloudFront doesn't sign the origin request, but instead passes along
-- the Authorization header that it received in the viewer
-- request.
--
originAccessControlSummary_signingBehavior :: Lens' OriginAccessControlSummary OriginAccessControlSigningBehaviors
-- | The type of origin that this origin access control is for. The only
-- valid value is s3.
originAccessControlSummary_originAccessControlOriginType :: Lens' OriginAccessControlSummary OriginAccessControlOriginTypes
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginAccessControlSummary.OriginAccessControlSummary
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginAccessControlSummary.OriginAccessControlSummary
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginAccessControlSummary.OriginAccessControlSummary
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginAccessControlSummary.OriginAccessControlSummary
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginAccessControlSummary.OriginAccessControlSummary
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginAccessControlSummary.OriginAccessControlSummary
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginAccessControlSummary.OriginAccessControlSummary
module Amazonka.CloudFront.Types.OriginAccessControlList
-- | A list of CloudFront origin access controls.
--
-- See: newOriginAccessControlList smart constructor.
data OriginAccessControlList
OriginAccessControlList' :: Maybe [OriginAccessControlSummary] -> Maybe Text -> Text -> Int -> Bool -> Int -> OriginAccessControlList
-- | Contains the origin access controls in the list.
[$sel:items:OriginAccessControlList'] :: OriginAccessControlList -> Maybe [OriginAccessControlSummary]
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value to use in the
-- Marker field of another request to continue listing origin
-- access controls.
[$sel:nextMarker:OriginAccessControlList'] :: OriginAccessControlList -> Maybe Text
-- | The value of the Marker field that was provided in the
-- request.
[$sel:marker:OriginAccessControlList'] :: OriginAccessControlList -> Text
-- | The maximum number of origin access controls requested.
[$sel:maxItems:OriginAccessControlList'] :: OriginAccessControlList -> Int
-- | If there are more items in the list than are in this response, this
-- value is true.
[$sel:isTruncated:OriginAccessControlList'] :: OriginAccessControlList -> Bool
-- | The number of origin access controls returned in the response.
[$sel:quantity:OriginAccessControlList'] :: OriginAccessControlList -> Int
-- | Create a value of OriginAccessControlList with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:OriginAccessControlList',
-- originAccessControlList_items - Contains the origin access
-- controls in the list.
--
-- $sel:nextMarker:OriginAccessControlList',
-- originAccessControlList_nextMarker - If there are more items in
-- the list than are in this response, this element is present. It
-- contains the value to use in the Marker field of another
-- request to continue listing origin access controls.
--
-- $sel:marker:OriginAccessControlList',
-- originAccessControlList_marker - The value of the
-- Marker field that was provided in the request.
--
-- $sel:maxItems:OriginAccessControlList',
-- originAccessControlList_maxItems - The maximum number of origin
-- access controls requested.
--
-- $sel:isTruncated:OriginAccessControlList',
-- originAccessControlList_isTruncated - If there are more items
-- in the list than are in this response, this value is true.
--
-- $sel:quantity:OriginAccessControlList',
-- originAccessControlList_quantity - The number of origin access
-- controls returned in the response.
newOriginAccessControlList :: Text -> Int -> Bool -> Int -> OriginAccessControlList
-- | Contains the origin access controls in the list.
originAccessControlList_items :: Lens' OriginAccessControlList (Maybe [OriginAccessControlSummary])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value to use in the
-- Marker field of another request to continue listing origin
-- access controls.
originAccessControlList_nextMarker :: Lens' OriginAccessControlList (Maybe Text)
-- | The value of the Marker field that was provided in the
-- request.
originAccessControlList_marker :: Lens' OriginAccessControlList Text
-- | The maximum number of origin access controls requested.
originAccessControlList_maxItems :: Lens' OriginAccessControlList Int
-- | If there are more items in the list than are in this response, this
-- value is true.
originAccessControlList_isTruncated :: Lens' OriginAccessControlList Bool
-- | The number of origin access controls returned in the response.
originAccessControlList_quantity :: Lens' OriginAccessControlList Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginAccessControlList.OriginAccessControlList
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginAccessControlList.OriginAccessControlList
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginAccessControlList.OriginAccessControlList
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginAccessControlList.OriginAccessControlList
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginAccessControlList.OriginAccessControlList
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginAccessControlList.OriginAccessControlList
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginAccessControlList.OriginAccessControlList
module Amazonka.CloudFront.Types.OriginCustomHeader
-- | A complex type that contains HeaderName and
-- HeaderValue elements, if any, for this distribution.
--
-- See: newOriginCustomHeader smart constructor.
data OriginCustomHeader
OriginCustomHeader' :: Text -> Sensitive Text -> OriginCustomHeader
-- | The name of a header that you want CloudFront to send to your origin.
-- For more information, see Adding Custom Headers to Origin
-- Requests in the Amazon CloudFront Developer Guide.
[$sel:headerName:OriginCustomHeader'] :: OriginCustomHeader -> Text
-- | The value for the header that you specified in the HeaderName
-- field.
[$sel:headerValue:OriginCustomHeader'] :: OriginCustomHeader -> Sensitive Text
-- | Create a value of OriginCustomHeader with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:headerName:OriginCustomHeader',
-- originCustomHeader_headerName - The name of a header that you
-- want CloudFront to send to your origin. For more information, see
-- Adding Custom Headers to Origin Requests in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:headerValue:OriginCustomHeader',
-- originCustomHeader_headerValue - The value for the header that
-- you specified in the HeaderName field.
newOriginCustomHeader :: Text -> Text -> OriginCustomHeader
-- | The name of a header that you want CloudFront to send to your origin.
-- For more information, see Adding Custom Headers to Origin
-- Requests in the Amazon CloudFront Developer Guide.
originCustomHeader_headerName :: Lens' OriginCustomHeader Text
-- | The value for the header that you specified in the HeaderName
-- field.
originCustomHeader_headerValue :: Lens' OriginCustomHeader Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginCustomHeader.OriginCustomHeader
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginCustomHeader.OriginCustomHeader
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginCustomHeader.OriginCustomHeader
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginCustomHeader.OriginCustomHeader
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginCustomHeader.OriginCustomHeader
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginCustomHeader.OriginCustomHeader
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginCustomHeader.OriginCustomHeader
module Amazonka.CloudFront.Types.CustomHeaders
-- | A complex type that contains the list of Custom Headers for each
-- origin.
--
-- See: newCustomHeaders smart constructor.
data CustomHeaders
CustomHeaders' :: Maybe [OriginCustomHeader] -> Int -> CustomHeaders
-- | Optional: A list that contains one OriginCustomHeader
-- element for each custom header that you want CloudFront to forward to
-- the origin. If Quantity is 0, omit Items.
[$sel:items:CustomHeaders'] :: CustomHeaders -> Maybe [OriginCustomHeader]
-- | The number of custom headers, if any, for this distribution.
[$sel:quantity:CustomHeaders'] :: CustomHeaders -> Int
-- | Create a value of CustomHeaders with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:CustomHeaders', customHeaders_items -
-- Optional: A list that contains one OriginCustomHeader
-- element for each custom header that you want CloudFront to forward to
-- the origin. If Quantity is 0, omit Items.
--
-- $sel:quantity:CustomHeaders', customHeaders_quantity -
-- The number of custom headers, if any, for this distribution.
newCustomHeaders :: Int -> CustomHeaders
-- | Optional: A list that contains one OriginCustomHeader
-- element for each custom header that you want CloudFront to forward to
-- the origin. If Quantity is 0, omit Items.
customHeaders_items :: Lens' CustomHeaders (Maybe [OriginCustomHeader])
-- | The number of custom headers, if any, for this distribution.
customHeaders_quantity :: Lens' CustomHeaders Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CustomHeaders.CustomHeaders
instance GHC.Show.Show Amazonka.CloudFront.Types.CustomHeaders.CustomHeaders
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CustomHeaders.CustomHeaders
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CustomHeaders.CustomHeaders
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CustomHeaders.CustomHeaders
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CustomHeaders.CustomHeaders
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.CustomHeaders.CustomHeaders
module Amazonka.CloudFront.Types.OriginGroupMember
-- | An origin in an origin group.
--
-- See: newOriginGroupMember smart constructor.
data OriginGroupMember
OriginGroupMember' :: Text -> OriginGroupMember
-- | The ID for an origin in an origin group.
[$sel:originId:OriginGroupMember'] :: OriginGroupMember -> Text
-- | Create a value of OriginGroupMember with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:originId:OriginGroupMember',
-- originGroupMember_originId - The ID for an origin in an origin
-- group.
newOriginGroupMember :: Text -> OriginGroupMember
-- | The ID for an origin in an origin group.
originGroupMember_originId :: Lens' OriginGroupMember Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginGroupMember.OriginGroupMember
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginGroupMember.OriginGroupMember
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginGroupMember.OriginGroupMember
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginGroupMember.OriginGroupMember
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginGroupMember.OriginGroupMember
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginGroupMember.OriginGroupMember
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginGroupMember.OriginGroupMember
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginGroupMember.OriginGroupMember
module Amazonka.CloudFront.Types.OriginGroupMembers
-- | A complex data type for the origins included in an origin group.
--
-- See: newOriginGroupMembers smart constructor.
data OriginGroupMembers
OriginGroupMembers' :: Int -> NonEmpty OriginGroupMember -> OriginGroupMembers
-- | The number of origins in an origin group.
[$sel:quantity:OriginGroupMembers'] :: OriginGroupMembers -> Int
-- | Items (origins) in an origin group.
[$sel:items:OriginGroupMembers'] :: OriginGroupMembers -> NonEmpty OriginGroupMember
-- | Create a value of OriginGroupMembers with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:OriginGroupMembers',
-- originGroupMembers_quantity - The number of origins in an
-- origin group.
--
-- $sel:items:OriginGroupMembers', originGroupMembers_items
-- - Items (origins) in an origin group.
newOriginGroupMembers :: Int -> NonEmpty OriginGroupMember -> OriginGroupMembers
-- | The number of origins in an origin group.
originGroupMembers_quantity :: Lens' OriginGroupMembers Int
-- | Items (origins) in an origin group.
originGroupMembers_items :: Lens' OriginGroupMembers (NonEmpty OriginGroupMember)
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginGroupMembers.OriginGroupMembers
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginGroupMembers.OriginGroupMembers
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginGroupMembers.OriginGroupMembers
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginGroupMembers.OriginGroupMembers
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginGroupMembers.OriginGroupMembers
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginGroupMembers.OriginGroupMembers
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginGroupMembers.OriginGroupMembers
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginGroupMembers.OriginGroupMembers
module Amazonka.CloudFront.Types.OriginProtocolPolicy
newtype OriginProtocolPolicy
OriginProtocolPolicy' :: Text -> OriginProtocolPolicy
[fromOriginProtocolPolicy] :: OriginProtocolPolicy -> Text
pattern OriginProtocolPolicy_Http_only :: OriginProtocolPolicy
pattern OriginProtocolPolicy_Https_only :: OriginProtocolPolicy
pattern OriginProtocolPolicy_Match_viewer :: OriginProtocolPolicy
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginProtocolPolicy.OriginProtocolPolicy
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginProtocolPolicy.OriginProtocolPolicy
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.OriginProtocolPolicy.OriginProtocolPolicy
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.OriginProtocolPolicy.OriginProtocolPolicy
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.OriginProtocolPolicy.OriginProtocolPolicy
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.OriginProtocolPolicy.OriginProtocolPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.OriginProtocolPolicy.OriginProtocolPolicy
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.OriginProtocolPolicy.OriginProtocolPolicy
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.OriginProtocolPolicy.OriginProtocolPolicy
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.OriginProtocolPolicy.OriginProtocolPolicy
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.OriginProtocolPolicy.OriginProtocolPolicy
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.OriginProtocolPolicy.OriginProtocolPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginProtocolPolicy.OriginProtocolPolicy
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginProtocolPolicy.OriginProtocolPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginProtocolPolicy.OriginProtocolPolicy
instance GHC.Classes.Ord Amazonka.CloudFront.Types.OriginProtocolPolicy.OriginProtocolPolicy
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginProtocolPolicy.OriginProtocolPolicy
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginProtocolPolicy.OriginProtocolPolicy
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginProtocolPolicy.OriginProtocolPolicy
module Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior
newtype OriginRequestPolicyCookieBehavior
OriginRequestPolicyCookieBehavior' :: Text -> OriginRequestPolicyCookieBehavior
[fromOriginRequestPolicyCookieBehavior] :: OriginRequestPolicyCookieBehavior -> Text
pattern OriginRequestPolicyCookieBehavior_All :: OriginRequestPolicyCookieBehavior
pattern OriginRequestPolicyCookieBehavior_None :: OriginRequestPolicyCookieBehavior
pattern OriginRequestPolicyCookieBehavior_Whitelist :: OriginRequestPolicyCookieBehavior
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior.OriginRequestPolicyCookieBehavior
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior.OriginRequestPolicyCookieBehavior
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior.OriginRequestPolicyCookieBehavior
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior.OriginRequestPolicyCookieBehavior
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior.OriginRequestPolicyCookieBehavior
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior.OriginRequestPolicyCookieBehavior
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior.OriginRequestPolicyCookieBehavior
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior.OriginRequestPolicyCookieBehavior
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior.OriginRequestPolicyCookieBehavior
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior.OriginRequestPolicyCookieBehavior
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior.OriginRequestPolicyCookieBehavior
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior.OriginRequestPolicyCookieBehavior
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior.OriginRequestPolicyCookieBehavior
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior.OriginRequestPolicyCookieBehavior
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior.OriginRequestPolicyCookieBehavior
instance GHC.Classes.Ord Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior.OriginRequestPolicyCookieBehavior
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior.OriginRequestPolicyCookieBehavior
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior.OriginRequestPolicyCookieBehavior
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior.OriginRequestPolicyCookieBehavior
module Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig
-- | An object that determines whether any cookies in viewer requests (and
-- if so, which cookies) are included in requests that CloudFront sends
-- to the origin.
--
-- See: newOriginRequestPolicyCookiesConfig smart
-- constructor.
data OriginRequestPolicyCookiesConfig
OriginRequestPolicyCookiesConfig' :: Maybe CookieNames -> OriginRequestPolicyCookieBehavior -> OriginRequestPolicyCookiesConfig
[$sel:cookies:OriginRequestPolicyCookiesConfig'] :: OriginRequestPolicyCookiesConfig -> Maybe CookieNames
-- | Determines whether cookies in viewer requests are included in requests
-- that CloudFront sends to the origin. Valid values are:
--
--
-- - none – Cookies in viewer requests are not included in
-- requests that CloudFront sends to the origin. Even when this field is
-- set to none, any cookies that are listed in a
-- CachePolicy are included in origin requests.
-- - whitelist – The cookies in viewer requests that are
-- listed in the CookieNames type are included in requests that
-- CloudFront sends to the origin.
-- - all – All cookies in viewer requests are included in
-- requests that CloudFront sends to the origin.
--
[$sel:cookieBehavior:OriginRequestPolicyCookiesConfig'] :: OriginRequestPolicyCookiesConfig -> OriginRequestPolicyCookieBehavior
-- | Create a value of OriginRequestPolicyCookiesConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cookies:OriginRequestPolicyCookiesConfig',
-- originRequestPolicyCookiesConfig_cookies - Undocumented member.
--
-- $sel:cookieBehavior:OriginRequestPolicyCookiesConfig',
-- originRequestPolicyCookiesConfig_cookieBehavior - Determines
-- whether cookies in viewer requests are included in requests that
-- CloudFront sends to the origin. Valid values are:
--
--
-- - none – Cookies in viewer requests are not included in
-- requests that CloudFront sends to the origin. Even when this field is
-- set to none, any cookies that are listed in a
-- CachePolicy are included in origin requests.
-- - whitelist – The cookies in viewer requests that are
-- listed in the CookieNames type are included in requests that
-- CloudFront sends to the origin.
-- - all – All cookies in viewer requests are included in
-- requests that CloudFront sends to the origin.
--
newOriginRequestPolicyCookiesConfig :: OriginRequestPolicyCookieBehavior -> OriginRequestPolicyCookiesConfig
-- | Undocumented member.
originRequestPolicyCookiesConfig_cookies :: Lens' OriginRequestPolicyCookiesConfig (Maybe CookieNames)
-- | Determines whether cookies in viewer requests are included in requests
-- that CloudFront sends to the origin. Valid values are:
--
--
-- - none – Cookies in viewer requests are not included in
-- requests that CloudFront sends to the origin. Even when this field is
-- set to none, any cookies that are listed in a
-- CachePolicy are included in origin requests.
-- - whitelist – The cookies in viewer requests that are
-- listed in the CookieNames type are included in requests that
-- CloudFront sends to the origin.
-- - all – All cookies in viewer requests are included in
-- requests that CloudFront sends to the origin.
--
originRequestPolicyCookiesConfig_cookieBehavior :: Lens' OriginRequestPolicyCookiesConfig OriginRequestPolicyCookieBehavior
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig.OriginRequestPolicyCookiesConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig.OriginRequestPolicyCookiesConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig.OriginRequestPolicyCookiesConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig.OriginRequestPolicyCookiesConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig.OriginRequestPolicyCookiesConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig.OriginRequestPolicyCookiesConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig.OriginRequestPolicyCookiesConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig.OriginRequestPolicyCookiesConfig
module Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior
newtype OriginRequestPolicyHeaderBehavior
OriginRequestPolicyHeaderBehavior' :: Text -> OriginRequestPolicyHeaderBehavior
[fromOriginRequestPolicyHeaderBehavior] :: OriginRequestPolicyHeaderBehavior -> Text
pattern OriginRequestPolicyHeaderBehavior_AllViewer :: OriginRequestPolicyHeaderBehavior
pattern OriginRequestPolicyHeaderBehavior_AllViewerAndWhitelistCloudFront :: OriginRequestPolicyHeaderBehavior
pattern OriginRequestPolicyHeaderBehavior_None :: OriginRequestPolicyHeaderBehavior
pattern OriginRequestPolicyHeaderBehavior_Whitelist :: OriginRequestPolicyHeaderBehavior
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior.OriginRequestPolicyHeaderBehavior
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior.OriginRequestPolicyHeaderBehavior
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior.OriginRequestPolicyHeaderBehavior
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior.OriginRequestPolicyHeaderBehavior
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior.OriginRequestPolicyHeaderBehavior
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior.OriginRequestPolicyHeaderBehavior
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior.OriginRequestPolicyHeaderBehavior
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior.OriginRequestPolicyHeaderBehavior
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior.OriginRequestPolicyHeaderBehavior
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior.OriginRequestPolicyHeaderBehavior
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior.OriginRequestPolicyHeaderBehavior
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior.OriginRequestPolicyHeaderBehavior
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior.OriginRequestPolicyHeaderBehavior
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior.OriginRequestPolicyHeaderBehavior
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior.OriginRequestPolicyHeaderBehavior
instance GHC.Classes.Ord Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior.OriginRequestPolicyHeaderBehavior
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior.OriginRequestPolicyHeaderBehavior
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior.OriginRequestPolicyHeaderBehavior
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior.OriginRequestPolicyHeaderBehavior
module Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig
-- | An object that determines whether any HTTP headers (and if so, which
-- headers) are included in requests that CloudFront sends to the origin.
--
-- See: newOriginRequestPolicyHeadersConfig smart
-- constructor.
data OriginRequestPolicyHeadersConfig
OriginRequestPolicyHeadersConfig' :: Maybe Headers -> OriginRequestPolicyHeaderBehavior -> OriginRequestPolicyHeadersConfig
[$sel:headers:OriginRequestPolicyHeadersConfig'] :: OriginRequestPolicyHeadersConfig -> Maybe Headers
-- | Determines whether any HTTP headers are included in requests that
-- CloudFront sends to the origin. Valid values are:
--
--
-- - none – HTTP headers are not included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any headers that are listed in a CachePolicy
-- are included in origin requests.
-- - whitelist – The HTTP headers that are listed in the
-- Headers type are included in requests that CloudFront sends
-- to the origin.
-- - allViewer – All HTTP headers in viewer requests are
-- included in requests that CloudFront sends to the origin.
-- - allViewerAndWhitelistCloudFront – All HTTP headers in
-- viewer requests and the additional CloudFront headers that are listed
-- in the Headers type are included in requests that CloudFront
-- sends to the origin. The additional headers are added by
-- CloudFront.
--
[$sel:headerBehavior:OriginRequestPolicyHeadersConfig'] :: OriginRequestPolicyHeadersConfig -> OriginRequestPolicyHeaderBehavior
-- | Create a value of OriginRequestPolicyHeadersConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:headers:OriginRequestPolicyHeadersConfig',
-- originRequestPolicyHeadersConfig_headers - Undocumented member.
--
-- $sel:headerBehavior:OriginRequestPolicyHeadersConfig',
-- originRequestPolicyHeadersConfig_headerBehavior - Determines
-- whether any HTTP headers are included in requests that CloudFront
-- sends to the origin. Valid values are:
--
--
-- - none – HTTP headers are not included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any headers that are listed in a CachePolicy
-- are included in origin requests.
-- - whitelist – The HTTP headers that are listed in the
-- Headers type are included in requests that CloudFront sends
-- to the origin.
-- - allViewer – All HTTP headers in viewer requests are
-- included in requests that CloudFront sends to the origin.
-- - allViewerAndWhitelistCloudFront – All HTTP headers in
-- viewer requests and the additional CloudFront headers that are listed
-- in the Headers type are included in requests that CloudFront
-- sends to the origin. The additional headers are added by
-- CloudFront.
--
newOriginRequestPolicyHeadersConfig :: OriginRequestPolicyHeaderBehavior -> OriginRequestPolicyHeadersConfig
-- | Undocumented member.
originRequestPolicyHeadersConfig_headers :: Lens' OriginRequestPolicyHeadersConfig (Maybe Headers)
-- | Determines whether any HTTP headers are included in requests that
-- CloudFront sends to the origin. Valid values are:
--
--
-- - none – HTTP headers are not included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any headers that are listed in a CachePolicy
-- are included in origin requests.
-- - whitelist – The HTTP headers that are listed in the
-- Headers type are included in requests that CloudFront sends
-- to the origin.
-- - allViewer – All HTTP headers in viewer requests are
-- included in requests that CloudFront sends to the origin.
-- - allViewerAndWhitelistCloudFront – All HTTP headers in
-- viewer requests and the additional CloudFront headers that are listed
-- in the Headers type are included in requests that CloudFront
-- sends to the origin. The additional headers are added by
-- CloudFront.
--
originRequestPolicyHeadersConfig_headerBehavior :: Lens' OriginRequestPolicyHeadersConfig OriginRequestPolicyHeaderBehavior
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig.OriginRequestPolicyHeadersConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig.OriginRequestPolicyHeadersConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig.OriginRequestPolicyHeadersConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig.OriginRequestPolicyHeadersConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig.OriginRequestPolicyHeadersConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig.OriginRequestPolicyHeadersConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig.OriginRequestPolicyHeadersConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig.OriginRequestPolicyHeadersConfig
module Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior
newtype OriginRequestPolicyQueryStringBehavior
OriginRequestPolicyQueryStringBehavior' :: Text -> OriginRequestPolicyQueryStringBehavior
[fromOriginRequestPolicyQueryStringBehavior] :: OriginRequestPolicyQueryStringBehavior -> Text
pattern OriginRequestPolicyQueryStringBehavior_All :: OriginRequestPolicyQueryStringBehavior
pattern OriginRequestPolicyQueryStringBehavior_None :: OriginRequestPolicyQueryStringBehavior
pattern OriginRequestPolicyQueryStringBehavior_Whitelist :: OriginRequestPolicyQueryStringBehavior
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior.OriginRequestPolicyQueryStringBehavior
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior.OriginRequestPolicyQueryStringBehavior
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior.OriginRequestPolicyQueryStringBehavior
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior.OriginRequestPolicyQueryStringBehavior
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior.OriginRequestPolicyQueryStringBehavior
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior.OriginRequestPolicyQueryStringBehavior
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior.OriginRequestPolicyQueryStringBehavior
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior.OriginRequestPolicyQueryStringBehavior
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior.OriginRequestPolicyQueryStringBehavior
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior.OriginRequestPolicyQueryStringBehavior
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior.OriginRequestPolicyQueryStringBehavior
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior.OriginRequestPolicyQueryStringBehavior
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior.OriginRequestPolicyQueryStringBehavior
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior.OriginRequestPolicyQueryStringBehavior
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior.OriginRequestPolicyQueryStringBehavior
instance GHC.Classes.Ord Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior.OriginRequestPolicyQueryStringBehavior
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior.OriginRequestPolicyQueryStringBehavior
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior.OriginRequestPolicyQueryStringBehavior
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior.OriginRequestPolicyQueryStringBehavior
module Amazonka.CloudFront.Types.OriginRequestPolicyType
newtype OriginRequestPolicyType
OriginRequestPolicyType' :: Text -> OriginRequestPolicyType
[fromOriginRequestPolicyType] :: OriginRequestPolicyType -> Text
pattern OriginRequestPolicyType_Custom :: OriginRequestPolicyType
pattern OriginRequestPolicyType_Managed :: OriginRequestPolicyType
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginRequestPolicyType.OriginRequestPolicyType
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginRequestPolicyType.OriginRequestPolicyType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.OriginRequestPolicyType.OriginRequestPolicyType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.OriginRequestPolicyType.OriginRequestPolicyType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.OriginRequestPolicyType.OriginRequestPolicyType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.OriginRequestPolicyType.OriginRequestPolicyType
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.OriginRequestPolicyType.OriginRequestPolicyType
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.OriginRequestPolicyType.OriginRequestPolicyType
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.OriginRequestPolicyType.OriginRequestPolicyType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.OriginRequestPolicyType.OriginRequestPolicyType
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.OriginRequestPolicyType.OriginRequestPolicyType
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.OriginRequestPolicyType.OriginRequestPolicyType
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginRequestPolicyType.OriginRequestPolicyType
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginRequestPolicyType.OriginRequestPolicyType
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginRequestPolicyType.OriginRequestPolicyType
instance GHC.Classes.Ord Amazonka.CloudFront.Types.OriginRequestPolicyType.OriginRequestPolicyType
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginRequestPolicyType.OriginRequestPolicyType
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginRequestPolicyType.OriginRequestPolicyType
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginRequestPolicyType.OriginRequestPolicyType
module Amazonka.CloudFront.Types.OriginShield
-- | CloudFront Origin Shield.
--
-- Using Origin Shield can help reduce the load on your origin. For more
-- information, see Using Origin Shield in the Amazon
-- CloudFront Developer Guide.
--
-- See: newOriginShield smart constructor.
data OriginShield
OriginShield' :: Maybe Text -> Bool -> OriginShield
-- | The Amazon Web Services Region for Origin Shield.
--
-- Specify the Amazon Web Services Region that has the lowest latency to
-- your origin. To specify a region, use the region code, not the region
-- name. For example, specify the US East (Ohio) region as
-- us-east-2.
--
-- When you enable CloudFront Origin Shield, you must specify the Amazon
-- Web Services Region for Origin Shield. For the list of Amazon Web
-- Services Regions that you can specify, and for help choosing the best
-- Region for your origin, see Choosing the Amazon Web Services Region
-- for Origin Shield in the Amazon CloudFront Developer Guide.
[$sel:originShieldRegion:OriginShield'] :: OriginShield -> Maybe Text
-- | A flag that specifies whether Origin Shield is enabled.
--
-- When it's enabled, CloudFront routes all requests through Origin
-- Shield, which can help protect your origin. When it's disabled,
-- CloudFront might send requests directly to your origin from multiple
-- edge locations or regional edge caches.
[$sel:enabled:OriginShield'] :: OriginShield -> Bool
-- | Create a value of OriginShield with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:originShieldRegion:OriginShield',
-- originShield_originShieldRegion - The Amazon Web Services
-- Region for Origin Shield.
--
-- Specify the Amazon Web Services Region that has the lowest latency to
-- your origin. To specify a region, use the region code, not the region
-- name. For example, specify the US East (Ohio) region as
-- us-east-2.
--
-- When you enable CloudFront Origin Shield, you must specify the Amazon
-- Web Services Region for Origin Shield. For the list of Amazon Web
-- Services Regions that you can specify, and for help choosing the best
-- Region for your origin, see Choosing the Amazon Web Services Region
-- for Origin Shield in the Amazon CloudFront Developer Guide.
--
-- $sel:enabled:OriginShield', originShield_enabled - A
-- flag that specifies whether Origin Shield is enabled.
--
-- When it's enabled, CloudFront routes all requests through Origin
-- Shield, which can help protect your origin. When it's disabled,
-- CloudFront might send requests directly to your origin from multiple
-- edge locations or regional edge caches.
newOriginShield :: Bool -> OriginShield
-- | The Amazon Web Services Region for Origin Shield.
--
-- Specify the Amazon Web Services Region that has the lowest latency to
-- your origin. To specify a region, use the region code, not the region
-- name. For example, specify the US East (Ohio) region as
-- us-east-2.
--
-- When you enable CloudFront Origin Shield, you must specify the Amazon
-- Web Services Region for Origin Shield. For the list of Amazon Web
-- Services Regions that you can specify, and for help choosing the best
-- Region for your origin, see Choosing the Amazon Web Services Region
-- for Origin Shield in the Amazon CloudFront Developer Guide.
originShield_originShieldRegion :: Lens' OriginShield (Maybe Text)
-- | A flag that specifies whether Origin Shield is enabled.
--
-- When it's enabled, CloudFront routes all requests through Origin
-- Shield, which can help protect your origin. When it's disabled,
-- CloudFront might send requests directly to your origin from multiple
-- edge locations or regional edge caches.
originShield_enabled :: Lens' OriginShield Bool
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginShield.OriginShield
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginShield.OriginShield
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginShield.OriginShield
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginShield.OriginShield
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginShield.OriginShield
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginShield.OriginShield
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginShield.OriginShield
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginShield.OriginShield
module Amazonka.CloudFront.Types.Paths
-- | A complex type that contains information about the objects that you
-- want to invalidate. For more information, see Specifying the
-- Objects to Invalidate in the Amazon CloudFront Developer
-- Guide.
--
-- See: newPaths smart constructor.
data Paths
Paths' :: Maybe [Text] -> Int -> Paths
-- | A complex type that contains a list of the paths that you want to
-- invalidate.
[$sel:items:Paths'] :: Paths -> Maybe [Text]
-- | The number of invalidation paths specified for the objects that you
-- want to invalidate.
[$sel:quantity:Paths'] :: Paths -> Int
-- | Create a value of Paths with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:Paths', paths_items - A complex type that
-- contains a list of the paths that you want to invalidate.
--
-- $sel:quantity:Paths', paths_quantity - The number of
-- invalidation paths specified for the objects that you want to
-- invalidate.
newPaths :: Int -> Paths
-- | A complex type that contains a list of the paths that you want to
-- invalidate.
paths_items :: Lens' Paths (Maybe [Text])
-- | The number of invalidation paths specified for the objects that you
-- want to invalidate.
paths_quantity :: Lens' Paths Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.Paths.Paths
instance GHC.Show.Show Amazonka.CloudFront.Types.Paths.Paths
instance GHC.Read.Read Amazonka.CloudFront.Types.Paths.Paths
instance GHC.Classes.Eq Amazonka.CloudFront.Types.Paths.Paths
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.Paths.Paths
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.Paths.Paths
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.Paths.Paths
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.Paths.Paths
module Amazonka.CloudFront.Types.InvalidationBatch
-- | An invalidation batch.
--
-- See: newInvalidationBatch smart constructor.
data InvalidationBatch
InvalidationBatch' :: Paths -> Text -> InvalidationBatch
-- | A complex type that contains information about the objects that you
-- want to invalidate. For more information, see Specifying the
-- Objects to Invalidate in the Amazon CloudFront Developer
-- Guide.
[$sel:paths:InvalidationBatch'] :: InvalidationBatch -> Paths
-- | A value that you specify to uniquely identify an invalidation request.
-- CloudFront uses the value to prevent you from accidentally
-- resubmitting an identical request. Whenever you create a new
-- invalidation request, you must specify a new value for
-- CallerReference and change other values in the request as
-- applicable. One way to ensure that the value of
-- CallerReference is unique is to use a timestamp, for
-- example, 20120301090000.
--
-- If you make a second invalidation request with the same value for
-- CallerReference, and if the rest of the request is the same,
-- CloudFront doesn't create a new invalidation request. Instead,
-- CloudFront returns information about the invalidation request that you
-- previously created with the same CallerReference.
--
-- If CallerReference is a value you already sent in a previous
-- invalidation batch request but the content of any Path is
-- different from the original request, CloudFront returns an
-- InvalidationBatchAlreadyExists error.
[$sel:callerReference:InvalidationBatch'] :: InvalidationBatch -> Text
-- | Create a value of InvalidationBatch with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:paths:InvalidationBatch', invalidationBatch_paths -
-- A complex type that contains information about the objects that you
-- want to invalidate. For more information, see Specifying the
-- Objects to Invalidate in the Amazon CloudFront Developer
-- Guide.
--
-- $sel:callerReference:InvalidationBatch',
-- invalidationBatch_callerReference - A value that you specify to
-- uniquely identify an invalidation request. CloudFront uses the value
-- to prevent you from accidentally resubmitting an identical request.
-- Whenever you create a new invalidation request, you must specify a new
-- value for CallerReference and change other values in the
-- request as applicable. One way to ensure that the value of
-- CallerReference is unique is to use a timestamp, for
-- example, 20120301090000.
--
-- If you make a second invalidation request with the same value for
-- CallerReference, and if the rest of the request is the same,
-- CloudFront doesn't create a new invalidation request. Instead,
-- CloudFront returns information about the invalidation request that you
-- previously created with the same CallerReference.
--
-- If CallerReference is a value you already sent in a previous
-- invalidation batch request but the content of any Path is
-- different from the original request, CloudFront returns an
-- InvalidationBatchAlreadyExists error.
newInvalidationBatch :: Paths -> Text -> InvalidationBatch
-- | A complex type that contains information about the objects that you
-- want to invalidate. For more information, see Specifying the
-- Objects to Invalidate in the Amazon CloudFront Developer
-- Guide.
invalidationBatch_paths :: Lens' InvalidationBatch Paths
-- | A value that you specify to uniquely identify an invalidation request.
-- CloudFront uses the value to prevent you from accidentally
-- resubmitting an identical request. Whenever you create a new
-- invalidation request, you must specify a new value for
-- CallerReference and change other values in the request as
-- applicable. One way to ensure that the value of
-- CallerReference is unique is to use a timestamp, for
-- example, 20120301090000.
--
-- If you make a second invalidation request with the same value for
-- CallerReference, and if the rest of the request is the same,
-- CloudFront doesn't create a new invalidation request. Instead,
-- CloudFront returns information about the invalidation request that you
-- previously created with the same CallerReference.
--
-- If CallerReference is a value you already sent in a previous
-- invalidation batch request but the content of any Path is
-- different from the original request, CloudFront returns an
-- InvalidationBatchAlreadyExists error.
invalidationBatch_callerReference :: Lens' InvalidationBatch Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.InvalidationBatch.InvalidationBatch
instance GHC.Show.Show Amazonka.CloudFront.Types.InvalidationBatch.InvalidationBatch
instance GHC.Read.Read Amazonka.CloudFront.Types.InvalidationBatch.InvalidationBatch
instance GHC.Classes.Eq Amazonka.CloudFront.Types.InvalidationBatch.InvalidationBatch
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.InvalidationBatch.InvalidationBatch
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.InvalidationBatch.InvalidationBatch
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.InvalidationBatch.InvalidationBatch
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.InvalidationBatch.InvalidationBatch
module Amazonka.CloudFront.Types.Invalidation
-- | An invalidation.
--
-- See: newInvalidation smart constructor.
data Invalidation
Invalidation' :: Text -> Text -> ISO8601 -> InvalidationBatch -> Invalidation
-- | The identifier for the invalidation request. For example:
-- IDFDVBD632BHDS5.
[$sel:id:Invalidation'] :: Invalidation -> Text
-- | The status of the invalidation request. When the invalidation batch is
-- finished, the status is Completed.
[$sel:status:Invalidation'] :: Invalidation -> Text
-- | The date and time the invalidation request was first made.
[$sel:createTime:Invalidation'] :: Invalidation -> ISO8601
-- | The current invalidation information for the batch request.
[$sel:invalidationBatch:Invalidation'] :: Invalidation -> InvalidationBatch
-- | Create a value of Invalidation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:Invalidation', invalidation_id - The identifier
-- for the invalidation request. For example: IDFDVBD632BHDS5.
--
-- $sel:status:Invalidation', invalidation_status - The
-- status of the invalidation request. When the invalidation batch is
-- finished, the status is Completed.
--
-- $sel:createTime:Invalidation', invalidation_createTime -
-- The date and time the invalidation request was first made.
--
-- $sel:invalidationBatch:Invalidation',
-- invalidation_invalidationBatch - The current invalidation
-- information for the batch request.
newInvalidation :: Text -> Text -> UTCTime -> InvalidationBatch -> Invalidation
-- | The identifier for the invalidation request. For example:
-- IDFDVBD632BHDS5.
invalidation_id :: Lens' Invalidation Text
-- | The status of the invalidation request. When the invalidation batch is
-- finished, the status is Completed.
invalidation_status :: Lens' Invalidation Text
-- | The date and time the invalidation request was first made.
invalidation_createTime :: Lens' Invalidation UTCTime
-- | The current invalidation information for the batch request.
invalidation_invalidationBatch :: Lens' Invalidation InvalidationBatch
instance GHC.Generics.Generic Amazonka.CloudFront.Types.Invalidation.Invalidation
instance GHC.Show.Show Amazonka.CloudFront.Types.Invalidation.Invalidation
instance GHC.Read.Read Amazonka.CloudFront.Types.Invalidation.Invalidation
instance GHC.Classes.Eq Amazonka.CloudFront.Types.Invalidation.Invalidation
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.Invalidation.Invalidation
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.Invalidation.Invalidation
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.Invalidation.Invalidation
module Amazonka.CloudFront.Types.PriceClass
newtype PriceClass
PriceClass' :: Text -> PriceClass
[fromPriceClass] :: PriceClass -> Text
pattern PriceClass_PriceClass_100 :: PriceClass
pattern PriceClass_PriceClass_200 :: PriceClass
pattern PriceClass_PriceClass_All :: PriceClass
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.PriceClass.PriceClass
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.PriceClass.PriceClass
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.PriceClass.PriceClass
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.PriceClass.PriceClass
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.PriceClass.PriceClass
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.PriceClass.PriceClass
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.PriceClass.PriceClass
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.PriceClass.PriceClass
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.PriceClass.PriceClass
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.PriceClass.PriceClass
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.PriceClass.PriceClass
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.PriceClass.PriceClass
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.PriceClass.PriceClass
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.PriceClass.PriceClass
instance GHC.Generics.Generic Amazonka.CloudFront.Types.PriceClass.PriceClass
instance GHC.Classes.Ord Amazonka.CloudFront.Types.PriceClass.PriceClass
instance GHC.Classes.Eq Amazonka.CloudFront.Types.PriceClass.PriceClass
instance GHC.Read.Read Amazonka.CloudFront.Types.PriceClass.PriceClass
instance GHC.Show.Show Amazonka.CloudFront.Types.PriceClass.PriceClass
module Amazonka.CloudFront.Types.PublicKeyConfig
-- | Configuration information about a public key that you can use with
-- signed URLs and signed cookies, or with field-level
-- encryption.
--
-- See: newPublicKeyConfig smart constructor.
data PublicKeyConfig
PublicKeyConfig' :: Maybe Text -> Text -> Text -> Text -> PublicKeyConfig
-- | A comment to describe the public key. The comment cannot be longer
-- than 128 characters.
[$sel:comment:PublicKeyConfig'] :: PublicKeyConfig -> Maybe Text
-- | A string included in the request to help make sure that the request
-- can't be replayed.
[$sel:callerReference:PublicKeyConfig'] :: PublicKeyConfig -> Text
-- | A name to help identify the public key.
[$sel:name:PublicKeyConfig'] :: PublicKeyConfig -> Text
-- | The public key that you can use with signed URLs and signed
-- cookies, or with field-level encryption.
[$sel:encodedKey:PublicKeyConfig'] :: PublicKeyConfig -> Text
-- | Create a value of PublicKeyConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:PublicKeyConfig', publicKeyConfig_comment -
-- A comment to describe the public key. The comment cannot be longer
-- than 128 characters.
--
-- $sel:callerReference:PublicKeyConfig',
-- publicKeyConfig_callerReference - A string included in the
-- request to help make sure that the request can't be replayed.
--
-- $sel:name:PublicKeyConfig', publicKeyConfig_name - A
-- name to help identify the public key.
--
-- $sel:encodedKey:PublicKeyConfig',
-- publicKeyConfig_encodedKey - The public key that you can use
-- with signed URLs and signed cookies, or with field-level
-- encryption.
newPublicKeyConfig :: Text -> Text -> Text -> PublicKeyConfig
-- | A comment to describe the public key. The comment cannot be longer
-- than 128 characters.
publicKeyConfig_comment :: Lens' PublicKeyConfig (Maybe Text)
-- | A string included in the request to help make sure that the request
-- can't be replayed.
publicKeyConfig_callerReference :: Lens' PublicKeyConfig Text
-- | A name to help identify the public key.
publicKeyConfig_name :: Lens' PublicKeyConfig Text
-- | The public key that you can use with signed URLs and signed
-- cookies, or with field-level encryption.
publicKeyConfig_encodedKey :: Lens' PublicKeyConfig Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.PublicKeyConfig.PublicKeyConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.PublicKeyConfig.PublicKeyConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.PublicKeyConfig.PublicKeyConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.PublicKeyConfig.PublicKeyConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.PublicKeyConfig.PublicKeyConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.PublicKeyConfig.PublicKeyConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.PublicKeyConfig.PublicKeyConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.PublicKeyConfig.PublicKeyConfig
module Amazonka.CloudFront.Types.PublicKey
-- | A public key that you can use with signed URLs and signed
-- cookies, or with field-level encryption.
--
-- See: newPublicKey smart constructor.
data PublicKey
PublicKey' :: Text -> ISO8601 -> PublicKeyConfig -> PublicKey
-- | The identifier of the public key.
[$sel:id:PublicKey'] :: PublicKey -> Text
-- | The date and time when the public key was uploaded.
[$sel:createdTime:PublicKey'] :: PublicKey -> ISO8601
-- | Configuration information about a public key that you can use with
-- signed URLs and signed cookies, or with field-level
-- encryption.
[$sel:publicKeyConfig:PublicKey'] :: PublicKey -> PublicKeyConfig
-- | Create a value of PublicKey with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:PublicKey', publicKey_id - The identifier of the
-- public key.
--
-- $sel:createdTime:PublicKey', publicKey_createdTime - The
-- date and time when the public key was uploaded.
--
-- $sel:publicKeyConfig:PublicKey',
-- publicKey_publicKeyConfig - Configuration information about a
-- public key that you can use with signed URLs and signed
-- cookies, or with field-level encryption.
newPublicKey :: Text -> UTCTime -> PublicKeyConfig -> PublicKey
-- | The identifier of the public key.
publicKey_id :: Lens' PublicKey Text
-- | The date and time when the public key was uploaded.
publicKey_createdTime :: Lens' PublicKey UTCTime
-- | Configuration information about a public key that you can use with
-- signed URLs and signed cookies, or with field-level
-- encryption.
publicKey_publicKeyConfig :: Lens' PublicKey PublicKeyConfig
instance GHC.Generics.Generic Amazonka.CloudFront.Types.PublicKey.PublicKey
instance GHC.Show.Show Amazonka.CloudFront.Types.PublicKey.PublicKey
instance GHC.Read.Read Amazonka.CloudFront.Types.PublicKey.PublicKey
instance GHC.Classes.Eq Amazonka.CloudFront.Types.PublicKey.PublicKey
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.PublicKey.PublicKey
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.PublicKey.PublicKey
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.PublicKey.PublicKey
module Amazonka.CloudFront.Types.PublicKeySummary
-- | Contains information about a public key.
--
-- See: newPublicKeySummary smart constructor.
data PublicKeySummary
PublicKeySummary' :: Maybe Text -> Text -> Text -> ISO8601 -> Text -> PublicKeySummary
-- | A comment to describe the public key. The comment cannot be longer
-- than 128 characters.
[$sel:comment:PublicKeySummary'] :: PublicKeySummary -> Maybe Text
-- | The identifier of the public key.
[$sel:id:PublicKeySummary'] :: PublicKeySummary -> Text
-- | A name to help identify the public key.
[$sel:name:PublicKeySummary'] :: PublicKeySummary -> Text
-- | The date and time when the public key was uploaded.
[$sel:createdTime:PublicKeySummary'] :: PublicKeySummary -> ISO8601
-- | The public key.
[$sel:encodedKey:PublicKeySummary'] :: PublicKeySummary -> Text
-- | Create a value of PublicKeySummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:PublicKeySummary', publicKeySummary_comment
-- - A comment to describe the public key. The comment cannot be longer
-- than 128 characters.
--
-- $sel:id:PublicKeySummary', publicKeySummary_id - The
-- identifier of the public key.
--
-- $sel:name:PublicKeySummary', publicKeySummary_name - A
-- name to help identify the public key.
--
-- $sel:createdTime:PublicKeySummary',
-- publicKeySummary_createdTime - The date and time when the
-- public key was uploaded.
--
-- $sel:encodedKey:PublicKeySummary',
-- publicKeySummary_encodedKey - The public key.
newPublicKeySummary :: Text -> Text -> UTCTime -> Text -> PublicKeySummary
-- | A comment to describe the public key. The comment cannot be longer
-- than 128 characters.
publicKeySummary_comment :: Lens' PublicKeySummary (Maybe Text)
-- | The identifier of the public key.
publicKeySummary_id :: Lens' PublicKeySummary Text
-- | A name to help identify the public key.
publicKeySummary_name :: Lens' PublicKeySummary Text
-- | The date and time when the public key was uploaded.
publicKeySummary_createdTime :: Lens' PublicKeySummary UTCTime
-- | The public key.
publicKeySummary_encodedKey :: Lens' PublicKeySummary Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.PublicKeySummary.PublicKeySummary
instance GHC.Show.Show Amazonka.CloudFront.Types.PublicKeySummary.PublicKeySummary
instance GHC.Read.Read Amazonka.CloudFront.Types.PublicKeySummary.PublicKeySummary
instance GHC.Classes.Eq Amazonka.CloudFront.Types.PublicKeySummary.PublicKeySummary
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.PublicKeySummary.PublicKeySummary
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.PublicKeySummary.PublicKeySummary
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.PublicKeySummary.PublicKeySummary
module Amazonka.CloudFront.Types.PublicKeyList
-- | A list of public keys that you can use with signed URLs and signed
-- cookies, or with field-level encryption.
--
-- See: newPublicKeyList smart constructor.
data PublicKeyList
PublicKeyList' :: Maybe [PublicKeySummary] -> Maybe Text -> Int -> Int -> PublicKeyList
-- | A list of public keys.
[$sel:items:PublicKeyList'] :: PublicKeyList -> Maybe [PublicKeySummary]
-- | If there are more elements to be listed, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your public keys where you left off.
[$sel:nextMarker:PublicKeyList'] :: PublicKeyList -> Maybe Text
-- | The maximum number of public keys you want in the response.
[$sel:maxItems:PublicKeyList'] :: PublicKeyList -> Int
-- | The number of public keys in the list.
[$sel:quantity:PublicKeyList'] :: PublicKeyList -> Int
-- | Create a value of PublicKeyList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:PublicKeyList', publicKeyList_items - A list
-- of public keys.
--
-- $sel:nextMarker:PublicKeyList', publicKeyList_nextMarker
-- - If there are more elements to be listed, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your public keys where you left off.
--
-- $sel:maxItems:PublicKeyList', publicKeyList_maxItems -
-- The maximum number of public keys you want in the response.
--
-- $sel:quantity:PublicKeyList', publicKeyList_quantity -
-- The number of public keys in the list.
newPublicKeyList :: Int -> Int -> PublicKeyList
-- | A list of public keys.
publicKeyList_items :: Lens' PublicKeyList (Maybe [PublicKeySummary])
-- | If there are more elements to be listed, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your public keys where you left off.
publicKeyList_nextMarker :: Lens' PublicKeyList (Maybe Text)
-- | The maximum number of public keys you want in the response.
publicKeyList_maxItems :: Lens' PublicKeyList Int
-- | The number of public keys in the list.
publicKeyList_quantity :: Lens' PublicKeyList Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.PublicKeyList.PublicKeyList
instance GHC.Show.Show Amazonka.CloudFront.Types.PublicKeyList.PublicKeyList
instance GHC.Read.Read Amazonka.CloudFront.Types.PublicKeyList.PublicKeyList
instance GHC.Classes.Eq Amazonka.CloudFront.Types.PublicKeyList.PublicKeyList
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.PublicKeyList.PublicKeyList
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.PublicKeyList.PublicKeyList
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.PublicKeyList.PublicKeyList
module Amazonka.CloudFront.Types.QueryArgProfile
-- | Query argument-profile mapping for field-level encryption.
--
-- See: newQueryArgProfile smart constructor.
data QueryArgProfile
QueryArgProfile' :: Text -> Text -> QueryArgProfile
-- | Query argument for field-level encryption query argument-profile
-- mapping.
[$sel:queryArg:QueryArgProfile'] :: QueryArgProfile -> Text
-- | ID of profile to use for field-level encryption query argument-profile
-- mapping
[$sel:profileId:QueryArgProfile'] :: QueryArgProfile -> Text
-- | Create a value of QueryArgProfile with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:queryArg:QueryArgProfile', queryArgProfile_queryArg
-- - Query argument for field-level encryption query argument-profile
-- mapping.
--
-- $sel:profileId:QueryArgProfile',
-- queryArgProfile_profileId - ID of profile to use for
-- field-level encryption query argument-profile mapping
newQueryArgProfile :: Text -> Text -> QueryArgProfile
-- | Query argument for field-level encryption query argument-profile
-- mapping.
queryArgProfile_queryArg :: Lens' QueryArgProfile Text
-- | ID of profile to use for field-level encryption query argument-profile
-- mapping
queryArgProfile_profileId :: Lens' QueryArgProfile Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.QueryArgProfile.QueryArgProfile
instance GHC.Show.Show Amazonka.CloudFront.Types.QueryArgProfile.QueryArgProfile
instance GHC.Read.Read Amazonka.CloudFront.Types.QueryArgProfile.QueryArgProfile
instance GHC.Classes.Eq Amazonka.CloudFront.Types.QueryArgProfile.QueryArgProfile
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.QueryArgProfile.QueryArgProfile
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.QueryArgProfile.QueryArgProfile
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.QueryArgProfile.QueryArgProfile
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.QueryArgProfile.QueryArgProfile
module Amazonka.CloudFront.Types.QueryArgProfiles
-- | Query argument-profile mapping for field-level encryption.
--
-- See: newQueryArgProfiles smart constructor.
data QueryArgProfiles
QueryArgProfiles' :: Maybe [QueryArgProfile] -> Int -> QueryArgProfiles
-- | Number of items for query argument-profile mapping for field-level
-- encryption.
[$sel:items:QueryArgProfiles'] :: QueryArgProfiles -> Maybe [QueryArgProfile]
-- | Number of profiles for query argument-profile mapping for field-level
-- encryption.
[$sel:quantity:QueryArgProfiles'] :: QueryArgProfiles -> Int
-- | Create a value of QueryArgProfiles with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:QueryArgProfiles', queryArgProfiles_items -
-- Number of items for query argument-profile mapping for field-level
-- encryption.
--
-- $sel:quantity:QueryArgProfiles',
-- queryArgProfiles_quantity - Number of profiles for query
-- argument-profile mapping for field-level encryption.
newQueryArgProfiles :: Int -> QueryArgProfiles
-- | Number of items for query argument-profile mapping for field-level
-- encryption.
queryArgProfiles_items :: Lens' QueryArgProfiles (Maybe [QueryArgProfile])
-- | Number of profiles for query argument-profile mapping for field-level
-- encryption.
queryArgProfiles_quantity :: Lens' QueryArgProfiles Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.QueryArgProfiles.QueryArgProfiles
instance GHC.Show.Show Amazonka.CloudFront.Types.QueryArgProfiles.QueryArgProfiles
instance GHC.Read.Read Amazonka.CloudFront.Types.QueryArgProfiles.QueryArgProfiles
instance GHC.Classes.Eq Amazonka.CloudFront.Types.QueryArgProfiles.QueryArgProfiles
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.QueryArgProfiles.QueryArgProfiles
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.QueryArgProfiles.QueryArgProfiles
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.QueryArgProfiles.QueryArgProfiles
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.QueryArgProfiles.QueryArgProfiles
module Amazonka.CloudFront.Types.QueryArgProfileConfig
-- | Configuration for query argument-profile mapping for field-level
-- encryption.
--
-- See: newQueryArgProfileConfig smart constructor.
data QueryArgProfileConfig
QueryArgProfileConfig' :: Maybe QueryArgProfiles -> Bool -> QueryArgProfileConfig
-- | Profiles specified for query argument-profile mapping for field-level
-- encryption.
[$sel:queryArgProfiles:QueryArgProfileConfig'] :: QueryArgProfileConfig -> Maybe QueryArgProfiles
-- | Flag to set if you want a request to be forwarded to the origin even
-- if the profile specified by the field-level encryption query argument,
-- fle-profile, is unknown.
[$sel:forwardWhenQueryArgProfileIsUnknown:QueryArgProfileConfig'] :: QueryArgProfileConfig -> Bool
-- | Create a value of QueryArgProfileConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:queryArgProfiles:QueryArgProfileConfig',
-- queryArgProfileConfig_queryArgProfiles - Profiles specified for
-- query argument-profile mapping for field-level encryption.
--
--
-- $sel:forwardWhenQueryArgProfileIsUnknown:QueryArgProfileConfig',
-- queryArgProfileConfig_forwardWhenQueryArgProfileIsUnknown -
-- Flag to set if you want a request to be forwarded to the origin even
-- if the profile specified by the field-level encryption query argument,
-- fle-profile, is unknown.
newQueryArgProfileConfig :: Bool -> QueryArgProfileConfig
-- | Profiles specified for query argument-profile mapping for field-level
-- encryption.
queryArgProfileConfig_queryArgProfiles :: Lens' QueryArgProfileConfig (Maybe QueryArgProfiles)
-- | Flag to set if you want a request to be forwarded to the origin even
-- if the profile specified by the field-level encryption query argument,
-- fle-profile, is unknown.
queryArgProfileConfig_forwardWhenQueryArgProfileIsUnknown :: Lens' QueryArgProfileConfig Bool
instance GHC.Generics.Generic Amazonka.CloudFront.Types.QueryArgProfileConfig.QueryArgProfileConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.QueryArgProfileConfig.QueryArgProfileConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.QueryArgProfileConfig.QueryArgProfileConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.QueryArgProfileConfig.QueryArgProfileConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.QueryArgProfileConfig.QueryArgProfileConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.QueryArgProfileConfig.QueryArgProfileConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.QueryArgProfileConfig.QueryArgProfileConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.QueryArgProfileConfig.QueryArgProfileConfig
module Amazonka.CloudFront.Types.FieldLevelEncryptionSummary
-- | A summary of a field-level encryption item.
--
-- See: newFieldLevelEncryptionSummary smart constructor.
data FieldLevelEncryptionSummary
FieldLevelEncryptionSummary' :: Maybe Text -> Maybe ContentTypeProfileConfig -> Maybe QueryArgProfileConfig -> Text -> ISO8601 -> FieldLevelEncryptionSummary
-- | An optional comment about the field-level encryption item. The comment
-- cannot be longer than 128 characters.
[$sel:comment:FieldLevelEncryptionSummary'] :: FieldLevelEncryptionSummary -> Maybe Text
-- | A summary of a content type-profile mapping.
[$sel:contentTypeProfileConfig:FieldLevelEncryptionSummary'] :: FieldLevelEncryptionSummary -> Maybe ContentTypeProfileConfig
-- | A summary of a query argument-profile mapping.
[$sel:queryArgProfileConfig:FieldLevelEncryptionSummary'] :: FieldLevelEncryptionSummary -> Maybe QueryArgProfileConfig
-- | The unique ID of a field-level encryption item.
[$sel:id:FieldLevelEncryptionSummary'] :: FieldLevelEncryptionSummary -> Text
-- | The last time that the summary of field-level encryption items was
-- modified.
[$sel:lastModifiedTime:FieldLevelEncryptionSummary'] :: FieldLevelEncryptionSummary -> ISO8601
-- | Create a value of FieldLevelEncryptionSummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:FieldLevelEncryptionSummary',
-- fieldLevelEncryptionSummary_comment - An optional comment about
-- the field-level encryption item. The comment cannot be longer than 128
-- characters.
--
-- $sel:contentTypeProfileConfig:FieldLevelEncryptionSummary',
-- fieldLevelEncryptionSummary_contentTypeProfileConfig - A
-- summary of a content type-profile mapping.
--
-- $sel:queryArgProfileConfig:FieldLevelEncryptionSummary',
-- fieldLevelEncryptionSummary_queryArgProfileConfig - A summary
-- of a query argument-profile mapping.
--
-- $sel:id:FieldLevelEncryptionSummary',
-- fieldLevelEncryptionSummary_id - The unique ID of a field-level
-- encryption item.
--
-- $sel:lastModifiedTime:FieldLevelEncryptionSummary',
-- fieldLevelEncryptionSummary_lastModifiedTime - The last time
-- that the summary of field-level encryption items was modified.
newFieldLevelEncryptionSummary :: Text -> UTCTime -> FieldLevelEncryptionSummary
-- | An optional comment about the field-level encryption item. The comment
-- cannot be longer than 128 characters.
fieldLevelEncryptionSummary_comment :: Lens' FieldLevelEncryptionSummary (Maybe Text)
-- | A summary of a content type-profile mapping.
fieldLevelEncryptionSummary_contentTypeProfileConfig :: Lens' FieldLevelEncryptionSummary (Maybe ContentTypeProfileConfig)
-- | A summary of a query argument-profile mapping.
fieldLevelEncryptionSummary_queryArgProfileConfig :: Lens' FieldLevelEncryptionSummary (Maybe QueryArgProfileConfig)
-- | The unique ID of a field-level encryption item.
fieldLevelEncryptionSummary_id :: Lens' FieldLevelEncryptionSummary Text
-- | The last time that the summary of field-level encryption items was
-- modified.
fieldLevelEncryptionSummary_lastModifiedTime :: Lens' FieldLevelEncryptionSummary UTCTime
instance GHC.Generics.Generic Amazonka.CloudFront.Types.FieldLevelEncryptionSummary.FieldLevelEncryptionSummary
instance GHC.Show.Show Amazonka.CloudFront.Types.FieldLevelEncryptionSummary.FieldLevelEncryptionSummary
instance GHC.Read.Read Amazonka.CloudFront.Types.FieldLevelEncryptionSummary.FieldLevelEncryptionSummary
instance GHC.Classes.Eq Amazonka.CloudFront.Types.FieldLevelEncryptionSummary.FieldLevelEncryptionSummary
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.FieldLevelEncryptionSummary.FieldLevelEncryptionSummary
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.FieldLevelEncryptionSummary.FieldLevelEncryptionSummary
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.FieldLevelEncryptionSummary.FieldLevelEncryptionSummary
module Amazonka.CloudFront.Types.FieldLevelEncryptionList
-- | List of field-level encrpytion configurations.
--
-- See: newFieldLevelEncryptionList smart constructor.
data FieldLevelEncryptionList
FieldLevelEncryptionList' :: Maybe [FieldLevelEncryptionSummary] -> Maybe Text -> Int -> Int -> FieldLevelEncryptionList
-- | An array of field-level encryption items.
[$sel:items:FieldLevelEncryptionList'] :: FieldLevelEncryptionList -> Maybe [FieldLevelEncryptionSummary]
-- | If there are more elements to be listed, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your configurations where you left off.
[$sel:nextMarker:FieldLevelEncryptionList'] :: FieldLevelEncryptionList -> Maybe Text
-- | The maximum number of elements you want in the response body.
[$sel:maxItems:FieldLevelEncryptionList'] :: FieldLevelEncryptionList -> Int
-- | The number of field-level encryption items.
[$sel:quantity:FieldLevelEncryptionList'] :: FieldLevelEncryptionList -> Int
-- | Create a value of FieldLevelEncryptionList with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:FieldLevelEncryptionList',
-- fieldLevelEncryptionList_items - An array of field-level
-- encryption items.
--
-- $sel:nextMarker:FieldLevelEncryptionList',
-- fieldLevelEncryptionList_nextMarker - If there are more
-- elements to be listed, this element is present and contains the value
-- that you can use for the Marker request parameter to continue
-- listing your configurations where you left off.
--
-- $sel:maxItems:FieldLevelEncryptionList',
-- fieldLevelEncryptionList_maxItems - The maximum number of
-- elements you want in the response body.
--
-- $sel:quantity:FieldLevelEncryptionList',
-- fieldLevelEncryptionList_quantity - The number of field-level
-- encryption items.
newFieldLevelEncryptionList :: Int -> Int -> FieldLevelEncryptionList
-- | An array of field-level encryption items.
fieldLevelEncryptionList_items :: Lens' FieldLevelEncryptionList (Maybe [FieldLevelEncryptionSummary])
-- | If there are more elements to be listed, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your configurations where you left off.
fieldLevelEncryptionList_nextMarker :: Lens' FieldLevelEncryptionList (Maybe Text)
-- | The maximum number of elements you want in the response body.
fieldLevelEncryptionList_maxItems :: Lens' FieldLevelEncryptionList Int
-- | The number of field-level encryption items.
fieldLevelEncryptionList_quantity :: Lens' FieldLevelEncryptionList Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.FieldLevelEncryptionList.FieldLevelEncryptionList
instance GHC.Show.Show Amazonka.CloudFront.Types.FieldLevelEncryptionList.FieldLevelEncryptionList
instance GHC.Read.Read Amazonka.CloudFront.Types.FieldLevelEncryptionList.FieldLevelEncryptionList
instance GHC.Classes.Eq Amazonka.CloudFront.Types.FieldLevelEncryptionList.FieldLevelEncryptionList
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.FieldLevelEncryptionList.FieldLevelEncryptionList
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.FieldLevelEncryptionList.FieldLevelEncryptionList
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.FieldLevelEncryptionList.FieldLevelEncryptionList
module Amazonka.CloudFront.Types.FieldLevelEncryptionConfig
-- | A complex data type that includes the profile configurations specified
-- for field-level encryption.
--
-- See: newFieldLevelEncryptionConfig smart constructor.
data FieldLevelEncryptionConfig
FieldLevelEncryptionConfig' :: Maybe Text -> Maybe ContentTypeProfileConfig -> Maybe QueryArgProfileConfig -> Text -> FieldLevelEncryptionConfig
-- | An optional comment about the configuration. The comment cannot be
-- longer than 128 characters.
[$sel:comment:FieldLevelEncryptionConfig'] :: FieldLevelEncryptionConfig -> Maybe Text
-- | A complex data type that specifies when to forward content if a
-- content type isn't recognized and profiles to use as by default in a
-- request if a query argument doesn't specify a profile to use.
[$sel:contentTypeProfileConfig:FieldLevelEncryptionConfig'] :: FieldLevelEncryptionConfig -> Maybe ContentTypeProfileConfig
-- | A complex data type that specifies when to forward content if a
-- profile isn't found and the profile that can be provided as a query
-- argument in a request.
[$sel:queryArgProfileConfig:FieldLevelEncryptionConfig'] :: FieldLevelEncryptionConfig -> Maybe QueryArgProfileConfig
-- | A unique number that ensures the request can't be replayed.
[$sel:callerReference:FieldLevelEncryptionConfig'] :: FieldLevelEncryptionConfig -> Text
-- | Create a value of FieldLevelEncryptionConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:FieldLevelEncryptionConfig',
-- fieldLevelEncryptionConfig_comment - An optional comment about
-- the configuration. The comment cannot be longer than 128 characters.
--
-- $sel:contentTypeProfileConfig:FieldLevelEncryptionConfig',
-- fieldLevelEncryptionConfig_contentTypeProfileConfig - A complex
-- data type that specifies when to forward content if a content type
-- isn't recognized and profiles to use as by default in a request if a
-- query argument doesn't specify a profile to use.
--
-- $sel:queryArgProfileConfig:FieldLevelEncryptionConfig',
-- fieldLevelEncryptionConfig_queryArgProfileConfig - A complex
-- data type that specifies when to forward content if a profile isn't
-- found and the profile that can be provided as a query argument in a
-- request.
--
-- $sel:callerReference:FieldLevelEncryptionConfig',
-- fieldLevelEncryptionConfig_callerReference - A unique number
-- that ensures the request can't be replayed.
newFieldLevelEncryptionConfig :: Text -> FieldLevelEncryptionConfig
-- | An optional comment about the configuration. The comment cannot be
-- longer than 128 characters.
fieldLevelEncryptionConfig_comment :: Lens' FieldLevelEncryptionConfig (Maybe Text)
-- | A complex data type that specifies when to forward content if a
-- content type isn't recognized and profiles to use as by default in a
-- request if a query argument doesn't specify a profile to use.
fieldLevelEncryptionConfig_contentTypeProfileConfig :: Lens' FieldLevelEncryptionConfig (Maybe ContentTypeProfileConfig)
-- | A complex data type that specifies when to forward content if a
-- profile isn't found and the profile that can be provided as a query
-- argument in a request.
fieldLevelEncryptionConfig_queryArgProfileConfig :: Lens' FieldLevelEncryptionConfig (Maybe QueryArgProfileConfig)
-- | A unique number that ensures the request can't be replayed.
fieldLevelEncryptionConfig_callerReference :: Lens' FieldLevelEncryptionConfig Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.FieldLevelEncryptionConfig.FieldLevelEncryptionConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.FieldLevelEncryptionConfig.FieldLevelEncryptionConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.FieldLevelEncryptionConfig.FieldLevelEncryptionConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.FieldLevelEncryptionConfig.FieldLevelEncryptionConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.FieldLevelEncryptionConfig.FieldLevelEncryptionConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.FieldLevelEncryptionConfig.FieldLevelEncryptionConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.FieldLevelEncryptionConfig.FieldLevelEncryptionConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.FieldLevelEncryptionConfig.FieldLevelEncryptionConfig
module Amazonka.CloudFront.Types.FieldLevelEncryption
-- | A complex data type that includes the profile configurations and other
-- options specified for field-level encryption.
--
-- See: newFieldLevelEncryption smart constructor.
data FieldLevelEncryption
FieldLevelEncryption' :: Text -> ISO8601 -> FieldLevelEncryptionConfig -> FieldLevelEncryption
-- | The configuration ID for a field-level encryption configuration which
-- includes a set of profiles that specify certain selected data fields
-- to be encrypted by specific public keys.
[$sel:id:FieldLevelEncryption'] :: FieldLevelEncryption -> Text
-- | The last time the field-level encryption configuration was changed.
[$sel:lastModifiedTime:FieldLevelEncryption'] :: FieldLevelEncryption -> ISO8601
-- | A complex data type that includes the profile configurations specified
-- for field-level encryption.
[$sel:fieldLevelEncryptionConfig:FieldLevelEncryption'] :: FieldLevelEncryption -> FieldLevelEncryptionConfig
-- | Create a value of FieldLevelEncryption with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:FieldLevelEncryption', fieldLevelEncryption_id -
-- The configuration ID for a field-level encryption configuration which
-- includes a set of profiles that specify certain selected data fields
-- to be encrypted by specific public keys.
--
-- $sel:lastModifiedTime:FieldLevelEncryption',
-- fieldLevelEncryption_lastModifiedTime - The last time the
-- field-level encryption configuration was changed.
--
-- $sel:fieldLevelEncryptionConfig:FieldLevelEncryption',
-- fieldLevelEncryption_fieldLevelEncryptionConfig - A complex
-- data type that includes the profile configurations specified for
-- field-level encryption.
newFieldLevelEncryption :: Text -> UTCTime -> FieldLevelEncryptionConfig -> FieldLevelEncryption
-- | The configuration ID for a field-level encryption configuration which
-- includes a set of profiles that specify certain selected data fields
-- to be encrypted by specific public keys.
fieldLevelEncryption_id :: Lens' FieldLevelEncryption Text
-- | The last time the field-level encryption configuration was changed.
fieldLevelEncryption_lastModifiedTime :: Lens' FieldLevelEncryption UTCTime
-- | A complex data type that includes the profile configurations specified
-- for field-level encryption.
fieldLevelEncryption_fieldLevelEncryptionConfig :: Lens' FieldLevelEncryption FieldLevelEncryptionConfig
instance GHC.Generics.Generic Amazonka.CloudFront.Types.FieldLevelEncryption.FieldLevelEncryption
instance GHC.Show.Show Amazonka.CloudFront.Types.FieldLevelEncryption.FieldLevelEncryption
instance GHC.Read.Read Amazonka.CloudFront.Types.FieldLevelEncryption.FieldLevelEncryption
instance GHC.Classes.Eq Amazonka.CloudFront.Types.FieldLevelEncryption.FieldLevelEncryption
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.FieldLevelEncryption.FieldLevelEncryption
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.FieldLevelEncryption.FieldLevelEncryption
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.FieldLevelEncryption.FieldLevelEncryption
module Amazonka.CloudFront.Types.QueryStringCacheKeys
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include query strings in the cache key, use
-- QueryStringsConfig in a cache policy. See
-- CachePolicy.
--
-- If you want to send query strings to the origin but not include them
-- in the cache key, use QueryStringsConfig in an origin request
-- policy. See OriginRequestPolicy.
--
-- A complex type that contains information about the query string
-- parameters that you want CloudFront to use for caching for a cache
-- behavior.
--
-- See: newQueryStringCacheKeys smart constructor.
data QueryStringCacheKeys
QueryStringCacheKeys' :: Maybe [Text] -> Int -> QueryStringCacheKeys
-- | A list that contains the query string parameters that you want
-- CloudFront to use as a basis for caching for a cache behavior. If
-- Quantity is 0, you can omit Items.
[$sel:items:QueryStringCacheKeys'] :: QueryStringCacheKeys -> Maybe [Text]
-- | The number of whitelisted query string parameters for a cache
-- behavior.
[$sel:quantity:QueryStringCacheKeys'] :: QueryStringCacheKeys -> Int
-- | Create a value of QueryStringCacheKeys with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:QueryStringCacheKeys',
-- queryStringCacheKeys_items - A list that contains the query
-- string parameters that you want CloudFront to use as a basis for
-- caching for a cache behavior. If Quantity is 0, you can omit
-- Items.
--
-- $sel:quantity:QueryStringCacheKeys',
-- queryStringCacheKeys_quantity - The number of
-- whitelisted query string parameters for a cache behavior.
newQueryStringCacheKeys :: Int -> QueryStringCacheKeys
-- | A list that contains the query string parameters that you want
-- CloudFront to use as a basis for caching for a cache behavior. If
-- Quantity is 0, you can omit Items.
queryStringCacheKeys_items :: Lens' QueryStringCacheKeys (Maybe [Text])
-- | The number of whitelisted query string parameters for a cache
-- behavior.
queryStringCacheKeys_quantity :: Lens' QueryStringCacheKeys Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.QueryStringCacheKeys.QueryStringCacheKeys
instance GHC.Show.Show Amazonka.CloudFront.Types.QueryStringCacheKeys.QueryStringCacheKeys
instance GHC.Read.Read Amazonka.CloudFront.Types.QueryStringCacheKeys.QueryStringCacheKeys
instance GHC.Classes.Eq Amazonka.CloudFront.Types.QueryStringCacheKeys.QueryStringCacheKeys
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.QueryStringCacheKeys.QueryStringCacheKeys
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.QueryStringCacheKeys.QueryStringCacheKeys
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.QueryStringCacheKeys.QueryStringCacheKeys
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.QueryStringCacheKeys.QueryStringCacheKeys
module Amazonka.CloudFront.Types.ForwardedValues
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include values in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send values to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- A complex type that specifies how CloudFront handles query strings,
-- cookies, and HTTP headers.
--
-- See: newForwardedValues smart constructor.
data ForwardedValues
ForwardedValues' :: Maybe Headers -> Maybe QueryStringCacheKeys -> Bool -> CookiePreference -> ForwardedValues
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include headers in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send headers to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- A complex type that specifies the Headers, if any, that you
-- want CloudFront to forward to the origin for this cache behavior
-- (whitelisted headers). For the headers that you specify, CloudFront
-- also caches separate versions of a specified object that is based on
-- the header values in viewer requests.
--
-- For more information, see Caching Content Based on Request
-- Headers in the Amazon CloudFront Developer Guide.
[$sel:headers:ForwardedValues'] :: ForwardedValues -> Maybe Headers
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include query strings in the cache key, use a cache
-- policy. For more information, see Creating cache policies in
-- the Amazon CloudFront Developer Guide.
--
-- If you want to send query strings to the origin but not include them
-- in the cache key, use an origin request policy. For more information,
-- see Creating origin request policies in the Amazon
-- CloudFront Developer Guide.
--
-- A complex type that contains information about the query string
-- parameters that you want CloudFront to use for caching for this cache
-- behavior.
[$sel:queryStringCacheKeys:ForwardedValues'] :: ForwardedValues -> Maybe QueryStringCacheKeys
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include query strings in the cache key, use a cache
-- policy. For more information, see Creating cache policies in
-- the Amazon CloudFront Developer Guide.
--
-- If you want to send query strings to the origin but not include them
-- in the cache key, use an origin request policy. For more information,
-- see Creating origin request policies in the Amazon
-- CloudFront Developer Guide.
--
-- Indicates whether you want CloudFront to forward query strings to the
-- origin that is associated with this cache behavior and cache based on
-- the query string parameters. CloudFront behavior depends on the value
-- of QueryString and on the values that you specify for
-- QueryStringCacheKeys, if any:
--
-- If you specify true for QueryString and you don't specify any
-- values for QueryStringCacheKeys, CloudFront forwards all
-- query string parameters to the origin and caches based on all query
-- string parameters. Depending on how many query string parameters and
-- values you have, this can adversely affect performance because
-- CloudFront must forward more requests to the origin.
--
-- If you specify true for QueryString and you specify one or
-- more values for QueryStringCacheKeys, CloudFront forwards all
-- query string parameters to the origin, but it only caches based on the
-- query string parameters that you specify.
--
-- If you specify false for QueryString, CloudFront doesn't
-- forward any query string parameters to the origin, and doesn't cache
-- based on query string parameters.
--
-- For more information, see Configuring CloudFront to Cache Based on
-- Query String Parameters in the Amazon CloudFront Developer
-- Guide.
[$sel:queryString:ForwardedValues'] :: ForwardedValues -> Bool
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- A complex type that specifies whether you want CloudFront to forward
-- cookies to the origin and, if so, which ones. For more information
-- about forwarding cookies to the origin, see How CloudFront
-- Forwards, Caches, and Logs Cookies in the Amazon CloudFront
-- Developer Guide.
[$sel:cookies:ForwardedValues'] :: ForwardedValues -> CookiePreference
-- | Create a value of ForwardedValues with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:headers:ForwardedValues', forwardedValues_headers -
-- This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include headers in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send headers to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- A complex type that specifies the Headers, if any, that you
-- want CloudFront to forward to the origin for this cache behavior
-- (whitelisted headers). For the headers that you specify, CloudFront
-- also caches separate versions of a specified object that is based on
-- the header values in viewer requests.
--
-- For more information, see Caching Content Based on Request
-- Headers in the Amazon CloudFront Developer Guide.
--
-- $sel:queryStringCacheKeys:ForwardedValues',
-- forwardedValues_queryStringCacheKeys - This field is
-- deprecated. We recommend that you use a cache policy or an origin
-- request policy instead of this field.
--
-- If you want to include query strings in the cache key, use a cache
-- policy. For more information, see Creating cache policies in
-- the Amazon CloudFront Developer Guide.
--
-- If you want to send query strings to the origin but not include them
-- in the cache key, use an origin request policy. For more information,
-- see Creating origin request policies in the Amazon
-- CloudFront Developer Guide.
--
-- A complex type that contains information about the query string
-- parameters that you want CloudFront to use for caching for this cache
-- behavior.
--
-- $sel:queryString:ForwardedValues',
-- forwardedValues_queryString - This field is deprecated. We
-- recommend that you use a cache policy or an origin request policy
-- instead of this field.
--
-- If you want to include query strings in the cache key, use a cache
-- policy. For more information, see Creating cache policies in
-- the Amazon CloudFront Developer Guide.
--
-- If you want to send query strings to the origin but not include them
-- in the cache key, use an origin request policy. For more information,
-- see Creating origin request policies in the Amazon
-- CloudFront Developer Guide.
--
-- Indicates whether you want CloudFront to forward query strings to the
-- origin that is associated with this cache behavior and cache based on
-- the query string parameters. CloudFront behavior depends on the value
-- of QueryString and on the values that you specify for
-- QueryStringCacheKeys, if any:
--
-- If you specify true for QueryString and you don't specify any
-- values for QueryStringCacheKeys, CloudFront forwards all
-- query string parameters to the origin and caches based on all query
-- string parameters. Depending on how many query string parameters and
-- values you have, this can adversely affect performance because
-- CloudFront must forward more requests to the origin.
--
-- If you specify true for QueryString and you specify one or
-- more values for QueryStringCacheKeys, CloudFront forwards all
-- query string parameters to the origin, but it only caches based on the
-- query string parameters that you specify.
--
-- If you specify false for QueryString, CloudFront doesn't
-- forward any query string parameters to the origin, and doesn't cache
-- based on query string parameters.
--
-- For more information, see Configuring CloudFront to Cache Based on
-- Query String Parameters in the Amazon CloudFront Developer
-- Guide.
--
-- $sel:cookies:ForwardedValues', forwardedValues_cookies -
-- This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- A complex type that specifies whether you want CloudFront to forward
-- cookies to the origin and, if so, which ones. For more information
-- about forwarding cookies to the origin, see How CloudFront
-- Forwards, Caches, and Logs Cookies in the Amazon CloudFront
-- Developer Guide.
newForwardedValues :: Bool -> CookiePreference -> ForwardedValues
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include headers in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send headers to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- A complex type that specifies the Headers, if any, that you
-- want CloudFront to forward to the origin for this cache behavior
-- (whitelisted headers). For the headers that you specify, CloudFront
-- also caches separate versions of a specified object that is based on
-- the header values in viewer requests.
--
-- For more information, see Caching Content Based on Request
-- Headers in the Amazon CloudFront Developer Guide.
forwardedValues_headers :: Lens' ForwardedValues (Maybe Headers)
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include query strings in the cache key, use a cache
-- policy. For more information, see Creating cache policies in
-- the Amazon CloudFront Developer Guide.
--
-- If you want to send query strings to the origin but not include them
-- in the cache key, use an origin request policy. For more information,
-- see Creating origin request policies in the Amazon
-- CloudFront Developer Guide.
--
-- A complex type that contains information about the query string
-- parameters that you want CloudFront to use for caching for this cache
-- behavior.
forwardedValues_queryStringCacheKeys :: Lens' ForwardedValues (Maybe QueryStringCacheKeys)
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include query strings in the cache key, use a cache
-- policy. For more information, see Creating cache policies in
-- the Amazon CloudFront Developer Guide.
--
-- If you want to send query strings to the origin but not include them
-- in the cache key, use an origin request policy. For more information,
-- see Creating origin request policies in the Amazon
-- CloudFront Developer Guide.
--
-- Indicates whether you want CloudFront to forward query strings to the
-- origin that is associated with this cache behavior and cache based on
-- the query string parameters. CloudFront behavior depends on the value
-- of QueryString and on the values that you specify for
-- QueryStringCacheKeys, if any:
--
-- If you specify true for QueryString and you don't specify any
-- values for QueryStringCacheKeys, CloudFront forwards all
-- query string parameters to the origin and caches based on all query
-- string parameters. Depending on how many query string parameters and
-- values you have, this can adversely affect performance because
-- CloudFront must forward more requests to the origin.
--
-- If you specify true for QueryString and you specify one or
-- more values for QueryStringCacheKeys, CloudFront forwards all
-- query string parameters to the origin, but it only caches based on the
-- query string parameters that you specify.
--
-- If you specify false for QueryString, CloudFront doesn't
-- forward any query string parameters to the origin, and doesn't cache
-- based on query string parameters.
--
-- For more information, see Configuring CloudFront to Cache Based on
-- Query String Parameters in the Amazon CloudFront Developer
-- Guide.
forwardedValues_queryString :: Lens' ForwardedValues Bool
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- A complex type that specifies whether you want CloudFront to forward
-- cookies to the origin and, if so, which ones. For more information
-- about forwarding cookies to the origin, see How CloudFront
-- Forwards, Caches, and Logs Cookies in the Amazon CloudFront
-- Developer Guide.
forwardedValues_cookies :: Lens' ForwardedValues CookiePreference
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ForwardedValues.ForwardedValues
instance GHC.Show.Show Amazonka.CloudFront.Types.ForwardedValues.ForwardedValues
instance GHC.Read.Read Amazonka.CloudFront.Types.ForwardedValues.ForwardedValues
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ForwardedValues.ForwardedValues
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ForwardedValues.ForwardedValues
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ForwardedValues.ForwardedValues
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ForwardedValues.ForwardedValues
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ForwardedValues.ForwardedValues
module Amazonka.CloudFront.Types.QueryStringNames
-- | Contains a list of query string names.
--
-- See: newQueryStringNames smart constructor.
data QueryStringNames
QueryStringNames' :: Maybe [Text] -> Int -> QueryStringNames
-- | A list of query string names.
[$sel:items:QueryStringNames'] :: QueryStringNames -> Maybe [Text]
-- | The number of query string names in the Items list.
[$sel:quantity:QueryStringNames'] :: QueryStringNames -> Int
-- | Create a value of QueryStringNames with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:QueryStringNames', queryStringNames_items - A
-- list of query string names.
--
-- $sel:quantity:QueryStringNames',
-- queryStringNames_quantity - The number of query string names in
-- the Items list.
newQueryStringNames :: Int -> QueryStringNames
-- | A list of query string names.
queryStringNames_items :: Lens' QueryStringNames (Maybe [Text])
-- | The number of query string names in the Items list.
queryStringNames_quantity :: Lens' QueryStringNames Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.QueryStringNames.QueryStringNames
instance GHC.Show.Show Amazonka.CloudFront.Types.QueryStringNames.QueryStringNames
instance GHC.Read.Read Amazonka.CloudFront.Types.QueryStringNames.QueryStringNames
instance GHC.Classes.Eq Amazonka.CloudFront.Types.QueryStringNames.QueryStringNames
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.QueryStringNames.QueryStringNames
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.QueryStringNames.QueryStringNames
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.QueryStringNames.QueryStringNames
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.QueryStringNames.QueryStringNames
module Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig
-- | An object that determines whether any URL query strings in viewer
-- requests (and if so, which query strings) are included in requests
-- that CloudFront sends to the origin.
--
-- See: newOriginRequestPolicyQueryStringsConfig smart
-- constructor.
data OriginRequestPolicyQueryStringsConfig
OriginRequestPolicyQueryStringsConfig' :: Maybe QueryStringNames -> OriginRequestPolicyQueryStringBehavior -> OriginRequestPolicyQueryStringsConfig
-- | Contains a list of the query strings in viewer requests that are
-- included in requests that CloudFront sends to the origin.
[$sel:queryStrings:OriginRequestPolicyQueryStringsConfig'] :: OriginRequestPolicyQueryStringsConfig -> Maybe QueryStringNames
-- | Determines whether any URL query strings in viewer requests are
-- included in requests that CloudFront sends to the origin. Valid values
-- are:
--
--
-- - none – Query strings in viewer requests are not included
-- in requests that CloudFront sends to the origin. Even when this field
-- is set to none, any query strings that are listed in a
-- CachePolicy are included in origin requests.
-- - whitelist – The query strings in viewer requests that are
-- listed in the QueryStringNames type are included in requests
-- that CloudFront sends to the origin.
-- - all – All query strings in viewer requests are included
-- in requests that CloudFront sends to the origin.
--
[$sel:queryStringBehavior:OriginRequestPolicyQueryStringsConfig'] :: OriginRequestPolicyQueryStringsConfig -> OriginRequestPolicyQueryStringBehavior
-- | Create a value of OriginRequestPolicyQueryStringsConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:queryStrings:OriginRequestPolicyQueryStringsConfig',
-- originRequestPolicyQueryStringsConfig_queryStrings - Contains a
-- list of the query strings in viewer requests that are included in
-- requests that CloudFront sends to the origin.
--
--
-- $sel:queryStringBehavior:OriginRequestPolicyQueryStringsConfig',
-- originRequestPolicyQueryStringsConfig_queryStringBehavior -
-- Determines whether any URL query strings in viewer requests are
-- included in requests that CloudFront sends to the origin. Valid values
-- are:
--
--
-- - none – Query strings in viewer requests are not included
-- in requests that CloudFront sends to the origin. Even when this field
-- is set to none, any query strings that are listed in a
-- CachePolicy are included in origin requests.
-- - whitelist – The query strings in viewer requests that are
-- listed in the QueryStringNames type are included in requests
-- that CloudFront sends to the origin.
-- - all – All query strings in viewer requests are included
-- in requests that CloudFront sends to the origin.
--
newOriginRequestPolicyQueryStringsConfig :: OriginRequestPolicyQueryStringBehavior -> OriginRequestPolicyQueryStringsConfig
-- | Contains a list of the query strings in viewer requests that are
-- included in requests that CloudFront sends to the origin.
originRequestPolicyQueryStringsConfig_queryStrings :: Lens' OriginRequestPolicyQueryStringsConfig (Maybe QueryStringNames)
-- | Determines whether any URL query strings in viewer requests are
-- included in requests that CloudFront sends to the origin. Valid values
-- are:
--
--
-- - none – Query strings in viewer requests are not included
-- in requests that CloudFront sends to the origin. Even when this field
-- is set to none, any query strings that are listed in a
-- CachePolicy are included in origin requests.
-- - whitelist – The query strings in viewer requests that are
-- listed in the QueryStringNames type are included in requests
-- that CloudFront sends to the origin.
-- - all – All query strings in viewer requests are included
-- in requests that CloudFront sends to the origin.
--
originRequestPolicyQueryStringsConfig_queryStringBehavior :: Lens' OriginRequestPolicyQueryStringsConfig OriginRequestPolicyQueryStringBehavior
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig.OriginRequestPolicyQueryStringsConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig.OriginRequestPolicyQueryStringsConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig.OriginRequestPolicyQueryStringsConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig.OriginRequestPolicyQueryStringsConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig.OriginRequestPolicyQueryStringsConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig.OriginRequestPolicyQueryStringsConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig.OriginRequestPolicyQueryStringsConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig.OriginRequestPolicyQueryStringsConfig
module Amazonka.CloudFront.Types.OriginRequestPolicyConfig
-- | An origin request policy configuration.
--
-- This configuration determines the values that CloudFront includes in
-- requests that it sends to the origin. Each request that CloudFront
-- sends to the origin includes the following:
--
--
-- - The request body and the URL path (without the domain name) from
-- the viewer request.
-- - The headers that CloudFront automatically includes in every origin
-- request, including Host, User-Agent, and
-- X-Amz-Cf-Id.
-- - All HTTP headers, cookies, and URL query strings that are
-- specified in the cache policy or the origin request policy. These can
-- include items from the viewer request and, in the case of headers,
-- additional ones that are added by CloudFront.
--
--
-- CloudFront sends a request when it can't find an object in its cache
-- that matches the request. If you want to send values to the origin and
-- also include them in the cache key, use CachePolicy.
--
-- See: newOriginRequestPolicyConfig smart constructor.
data OriginRequestPolicyConfig
OriginRequestPolicyConfig' :: Maybe Text -> Text -> OriginRequestPolicyHeadersConfig -> OriginRequestPolicyCookiesConfig -> OriginRequestPolicyQueryStringsConfig -> OriginRequestPolicyConfig
-- | A comment to describe the origin request policy. The comment cannot be
-- longer than 128 characters.
[$sel:comment:OriginRequestPolicyConfig'] :: OriginRequestPolicyConfig -> Maybe Text
-- | A unique name to identify the origin request policy.
[$sel:name:OriginRequestPolicyConfig'] :: OriginRequestPolicyConfig -> Text
-- | The HTTP headers to include in origin requests. These can include
-- headers from viewer requests and additional headers added by
-- CloudFront.
[$sel:headersConfig:OriginRequestPolicyConfig'] :: OriginRequestPolicyConfig -> OriginRequestPolicyHeadersConfig
-- | The cookies from viewer requests to include in origin requests.
[$sel:cookiesConfig:OriginRequestPolicyConfig'] :: OriginRequestPolicyConfig -> OriginRequestPolicyCookiesConfig
-- | The URL query strings from viewer requests to include in origin
-- requests.
[$sel:queryStringsConfig:OriginRequestPolicyConfig'] :: OriginRequestPolicyConfig -> OriginRequestPolicyQueryStringsConfig
-- | Create a value of OriginRequestPolicyConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:OriginRequestPolicyConfig',
-- originRequestPolicyConfig_comment - A comment to describe the
-- origin request policy. The comment cannot be longer than 128
-- characters.
--
-- $sel:name:OriginRequestPolicyConfig',
-- originRequestPolicyConfig_name - A unique name to identify the
-- origin request policy.
--
-- $sel:headersConfig:OriginRequestPolicyConfig',
-- originRequestPolicyConfig_headersConfig - The HTTP headers to
-- include in origin requests. These can include headers from viewer
-- requests and additional headers added by CloudFront.
--
-- $sel:cookiesConfig:OriginRequestPolicyConfig',
-- originRequestPolicyConfig_cookiesConfig - The cookies from
-- viewer requests to include in origin requests.
--
-- $sel:queryStringsConfig:OriginRequestPolicyConfig',
-- originRequestPolicyConfig_queryStringsConfig - The URL query
-- strings from viewer requests to include in origin requests.
newOriginRequestPolicyConfig :: Text -> OriginRequestPolicyHeadersConfig -> OriginRequestPolicyCookiesConfig -> OriginRequestPolicyQueryStringsConfig -> OriginRequestPolicyConfig
-- | A comment to describe the origin request policy. The comment cannot be
-- longer than 128 characters.
originRequestPolicyConfig_comment :: Lens' OriginRequestPolicyConfig (Maybe Text)
-- | A unique name to identify the origin request policy.
originRequestPolicyConfig_name :: Lens' OriginRequestPolicyConfig Text
-- | The HTTP headers to include in origin requests. These can include
-- headers from viewer requests and additional headers added by
-- CloudFront.
originRequestPolicyConfig_headersConfig :: Lens' OriginRequestPolicyConfig OriginRequestPolicyHeadersConfig
-- | The cookies from viewer requests to include in origin requests.
originRequestPolicyConfig_cookiesConfig :: Lens' OriginRequestPolicyConfig OriginRequestPolicyCookiesConfig
-- | The URL query strings from viewer requests to include in origin
-- requests.
originRequestPolicyConfig_queryStringsConfig :: Lens' OriginRequestPolicyConfig OriginRequestPolicyQueryStringsConfig
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginRequestPolicyConfig.OriginRequestPolicyConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginRequestPolicyConfig.OriginRequestPolicyConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginRequestPolicyConfig.OriginRequestPolicyConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginRequestPolicyConfig.OriginRequestPolicyConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginRequestPolicyConfig.OriginRequestPolicyConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginRequestPolicyConfig.OriginRequestPolicyConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginRequestPolicyConfig.OriginRequestPolicyConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginRequestPolicyConfig.OriginRequestPolicyConfig
module Amazonka.CloudFront.Types.OriginRequestPolicy
-- | An origin request policy.
--
-- When it's attached to a cache behavior, the origin request policy
-- determines the values that CloudFront includes in requests that it
-- sends to the origin. Each request that CloudFront sends to the origin
-- includes the following:
--
--
-- - The request body and the URL path (without the domain name) from
-- the viewer request.
-- - The headers that CloudFront automatically includes in every origin
-- request, including Host, User-Agent, and
-- X-Amz-Cf-Id.
-- - All HTTP headers, cookies, and URL query strings that are
-- specified in the cache policy or the origin request policy. These can
-- include items from the viewer request and, in the case of headers,
-- additional ones that are added by CloudFront.
--
--
-- CloudFront sends a request when it can't find an object in its cache
-- that matches the request. If you want to send values to the origin and
-- also include them in the cache key, use CachePolicy.
--
-- See: newOriginRequestPolicy smart constructor.
data OriginRequestPolicy
OriginRequestPolicy' :: Text -> ISO8601 -> OriginRequestPolicyConfig -> OriginRequestPolicy
-- | The unique identifier for the origin request policy.
[$sel:id:OriginRequestPolicy'] :: OriginRequestPolicy -> Text
-- | The date and time when the origin request policy was last modified.
[$sel:lastModifiedTime:OriginRequestPolicy'] :: OriginRequestPolicy -> ISO8601
-- | The origin request policy configuration.
[$sel:originRequestPolicyConfig:OriginRequestPolicy'] :: OriginRequestPolicy -> OriginRequestPolicyConfig
-- | Create a value of OriginRequestPolicy with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:OriginRequestPolicy', originRequestPolicy_id -
-- The unique identifier for the origin request policy.
--
-- $sel:lastModifiedTime:OriginRequestPolicy',
-- originRequestPolicy_lastModifiedTime - The date and time when
-- the origin request policy was last modified.
--
-- $sel:originRequestPolicyConfig:OriginRequestPolicy',
-- originRequestPolicy_originRequestPolicyConfig - The origin
-- request policy configuration.
newOriginRequestPolicy :: Text -> UTCTime -> OriginRequestPolicyConfig -> OriginRequestPolicy
-- | The unique identifier for the origin request policy.
originRequestPolicy_id :: Lens' OriginRequestPolicy Text
-- | The date and time when the origin request policy was last modified.
originRequestPolicy_lastModifiedTime :: Lens' OriginRequestPolicy UTCTime
-- | The origin request policy configuration.
originRequestPolicy_originRequestPolicyConfig :: Lens' OriginRequestPolicy OriginRequestPolicyConfig
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginRequestPolicy.OriginRequestPolicy
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginRequestPolicy.OriginRequestPolicy
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginRequestPolicy.OriginRequestPolicy
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginRequestPolicy.OriginRequestPolicy
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginRequestPolicy.OriginRequestPolicy
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginRequestPolicy.OriginRequestPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginRequestPolicy.OriginRequestPolicy
module Amazonka.CloudFront.Types.OriginRequestPolicySummary
-- | Contains an origin request policy.
--
-- See: newOriginRequestPolicySummary smart constructor.
data OriginRequestPolicySummary
OriginRequestPolicySummary' :: OriginRequestPolicyType -> OriginRequestPolicy -> OriginRequestPolicySummary
-- | The type of origin request policy, either managed (created by
-- Amazon Web Services) or custom (created in this Amazon Web
-- Services account).
[$sel:type':OriginRequestPolicySummary'] :: OriginRequestPolicySummary -> OriginRequestPolicyType
-- | The origin request policy.
[$sel:originRequestPolicy:OriginRequestPolicySummary'] :: OriginRequestPolicySummary -> OriginRequestPolicy
-- | Create a value of OriginRequestPolicySummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':OriginRequestPolicySummary',
-- originRequestPolicySummary_type - The type of origin request
-- policy, either managed (created by Amazon Web Services) or
-- custom (created in this Amazon Web Services account).
--
-- $sel:originRequestPolicy:OriginRequestPolicySummary',
-- originRequestPolicySummary_originRequestPolicy - The origin
-- request policy.
newOriginRequestPolicySummary :: OriginRequestPolicyType -> OriginRequestPolicy -> OriginRequestPolicySummary
-- | The type of origin request policy, either managed (created by
-- Amazon Web Services) or custom (created in this Amazon Web
-- Services account).
originRequestPolicySummary_type :: Lens' OriginRequestPolicySummary OriginRequestPolicyType
-- | The origin request policy.
originRequestPolicySummary_originRequestPolicy :: Lens' OriginRequestPolicySummary OriginRequestPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginRequestPolicySummary.OriginRequestPolicySummary
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginRequestPolicySummary.OriginRequestPolicySummary
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginRequestPolicySummary.OriginRequestPolicySummary
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginRequestPolicySummary.OriginRequestPolicySummary
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginRequestPolicySummary.OriginRequestPolicySummary
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginRequestPolicySummary.OriginRequestPolicySummary
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginRequestPolicySummary.OriginRequestPolicySummary
module Amazonka.CloudFront.Types.OriginRequestPolicyList
-- | A list of origin request policies.
--
-- See: newOriginRequestPolicyList smart constructor.
data OriginRequestPolicyList
OriginRequestPolicyList' :: Maybe [OriginRequestPolicySummary] -> Maybe Text -> Int -> Int -> OriginRequestPolicyList
-- | Contains the origin request policies in the list.
[$sel:items:OriginRequestPolicyList'] :: OriginRequestPolicyList -> Maybe [OriginRequestPolicySummary]
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- origin request policies where you left off.
[$sel:nextMarker:OriginRequestPolicyList'] :: OriginRequestPolicyList -> Maybe Text
-- | The maximum number of origin request policies requested.
[$sel:maxItems:OriginRequestPolicyList'] :: OriginRequestPolicyList -> Int
-- | The total number of origin request policies returned in the response.
[$sel:quantity:OriginRequestPolicyList'] :: OriginRequestPolicyList -> Int
-- | Create a value of OriginRequestPolicyList with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:OriginRequestPolicyList',
-- originRequestPolicyList_items - Contains the origin request
-- policies in the list.
--
-- $sel:nextMarker:OriginRequestPolicyList',
-- originRequestPolicyList_nextMarker - If there are more items in
-- the list than are in this response, this element is present. It
-- contains the value that you should use in the Marker field of
-- a subsequent request to continue listing origin request policies where
-- you left off.
--
-- $sel:maxItems:OriginRequestPolicyList',
-- originRequestPolicyList_maxItems - The maximum number of origin
-- request policies requested.
--
-- $sel:quantity:OriginRequestPolicyList',
-- originRequestPolicyList_quantity - The total number of origin
-- request policies returned in the response.
newOriginRequestPolicyList :: Int -> Int -> OriginRequestPolicyList
-- | Contains the origin request policies in the list.
originRequestPolicyList_items :: Lens' OriginRequestPolicyList (Maybe [OriginRequestPolicySummary])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- origin request policies where you left off.
originRequestPolicyList_nextMarker :: Lens' OriginRequestPolicyList (Maybe Text)
-- | The maximum number of origin request policies requested.
originRequestPolicyList_maxItems :: Lens' OriginRequestPolicyList Int
-- | The total number of origin request policies returned in the response.
originRequestPolicyList_quantity :: Lens' OriginRequestPolicyList Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginRequestPolicyList.OriginRequestPolicyList
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginRequestPolicyList.OriginRequestPolicyList
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginRequestPolicyList.OriginRequestPolicyList
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginRequestPolicyList.OriginRequestPolicyList
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginRequestPolicyList.OriginRequestPolicyList
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginRequestPolicyList.OriginRequestPolicyList
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginRequestPolicyList.OriginRequestPolicyList
module Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig
-- | An object that determines whether any URL query strings in viewer
-- requests (and if so, which query strings) are included in the cache
-- key and automatically included in requests that CloudFront sends to
-- the origin.
--
-- See: newCachePolicyQueryStringsConfig smart constructor.
data CachePolicyQueryStringsConfig
CachePolicyQueryStringsConfig' :: Maybe QueryStringNames -> CachePolicyQueryStringBehavior -> CachePolicyQueryStringsConfig
-- | Contains the specific query strings in viewer requests that either
-- are or are not included in the cache key
-- and automatically included in requests that CloudFront sends to the
-- origin. The behavior depends on whether the
-- QueryStringBehavior field in the
-- CachePolicyQueryStringsConfig type is set to
-- whitelist (the listed query strings are
-- included) or allExcept (the listed query strings are
-- not included, but all other query strings are).
[$sel:queryStrings:CachePolicyQueryStringsConfig'] :: CachePolicyQueryStringsConfig -> Maybe QueryStringNames
-- | Determines whether any URL query strings in viewer requests are
-- included in the cache key and automatically included in requests that
-- CloudFront sends to the origin. Valid values are:
--
--
-- - none – Query strings in viewer requests are not included
-- in the cache key and are not automatically included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any query strings that are listed in an
-- OriginRequestPolicy are included in origin
-- requests.
-- - whitelist – The query strings in viewer requests that are
-- listed in the QueryStringNames type are included in the cache
-- key and automatically included in requests that CloudFront sends to
-- the origin.
-- - allExcept – All query strings in viewer requests that are
-- not listed in the QueryStringNames type are
-- included in the cache key and automatically included in requests that
-- CloudFront sends to the origin.
-- - all – All query strings in viewer requests are included
-- in the cache key and are automatically included in requests that
-- CloudFront sends to the origin.
--
[$sel:queryStringBehavior:CachePolicyQueryStringsConfig'] :: CachePolicyQueryStringsConfig -> CachePolicyQueryStringBehavior
-- | Create a value of CachePolicyQueryStringsConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:queryStrings:CachePolicyQueryStringsConfig',
-- cachePolicyQueryStringsConfig_queryStrings - Contains the
-- specific query strings in viewer requests that either
-- are or are not included in the cache key
-- and automatically included in requests that CloudFront sends to the
-- origin. The behavior depends on whether the
-- QueryStringBehavior field in the
-- CachePolicyQueryStringsConfig type is set to
-- whitelist (the listed query strings are
-- included) or allExcept (the listed query strings are
-- not included, but all other query strings are).
--
-- $sel:queryStringBehavior:CachePolicyQueryStringsConfig',
-- cachePolicyQueryStringsConfig_queryStringBehavior - Determines
-- whether any URL query strings in viewer requests are included in the
-- cache key and automatically included in requests that CloudFront sends
-- to the origin. Valid values are:
--
--
-- - none – Query strings in viewer requests are not included
-- in the cache key and are not automatically included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any query strings that are listed in an
-- OriginRequestPolicy are included in origin
-- requests.
-- - whitelist – The query strings in viewer requests that are
-- listed in the QueryStringNames type are included in the cache
-- key and automatically included in requests that CloudFront sends to
-- the origin.
-- - allExcept – All query strings in viewer requests that are
-- not listed in the QueryStringNames type are
-- included in the cache key and automatically included in requests that
-- CloudFront sends to the origin.
-- - all – All query strings in viewer requests are included
-- in the cache key and are automatically included in requests that
-- CloudFront sends to the origin.
--
newCachePolicyQueryStringsConfig :: CachePolicyQueryStringBehavior -> CachePolicyQueryStringsConfig
-- | Contains the specific query strings in viewer requests that either
-- are or are not included in the cache key
-- and automatically included in requests that CloudFront sends to the
-- origin. The behavior depends on whether the
-- QueryStringBehavior field in the
-- CachePolicyQueryStringsConfig type is set to
-- whitelist (the listed query strings are
-- included) or allExcept (the listed query strings are
-- not included, but all other query strings are).
cachePolicyQueryStringsConfig_queryStrings :: Lens' CachePolicyQueryStringsConfig (Maybe QueryStringNames)
-- | Determines whether any URL query strings in viewer requests are
-- included in the cache key and automatically included in requests that
-- CloudFront sends to the origin. Valid values are:
--
--
-- - none – Query strings in viewer requests are not included
-- in the cache key and are not automatically included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any query strings that are listed in an
-- OriginRequestPolicy are included in origin
-- requests.
-- - whitelist – The query strings in viewer requests that are
-- listed in the QueryStringNames type are included in the cache
-- key and automatically included in requests that CloudFront sends to
-- the origin.
-- - allExcept – All query strings in viewer requests that are
-- not listed in the QueryStringNames type are
-- included in the cache key and automatically included in requests that
-- CloudFront sends to the origin.
-- - all – All query strings in viewer requests are included
-- in the cache key and are automatically included in requests that
-- CloudFront sends to the origin.
--
cachePolicyQueryStringsConfig_queryStringBehavior :: Lens' CachePolicyQueryStringsConfig CachePolicyQueryStringBehavior
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig.CachePolicyQueryStringsConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig.CachePolicyQueryStringsConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig.CachePolicyQueryStringsConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig.CachePolicyQueryStringsConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig.CachePolicyQueryStringsConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig.CachePolicyQueryStringsConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig.CachePolicyQueryStringsConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig.CachePolicyQueryStringsConfig
module Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin
-- | This object determines the values that CloudFront includes in the
-- cache key. These values can include HTTP headers, cookies, and URL
-- query strings. CloudFront uses the cache key to find an object in its
-- cache that it can return to the viewer.
--
-- The headers, cookies, and query strings that are included in the cache
-- key are automatically included in requests that CloudFront sends to
-- the origin. CloudFront sends a request when it can't find an object in
-- its cache that matches the request's cache key. If you want to send
-- values to the origin but not include them in the cache key, use
-- OriginRequestPolicy.
--
-- See: newParametersInCacheKeyAndForwardedToOrigin smart
-- constructor.
data ParametersInCacheKeyAndForwardedToOrigin
ParametersInCacheKeyAndForwardedToOrigin' :: Maybe Bool -> Bool -> CachePolicyHeadersConfig -> CachePolicyCookiesConfig -> CachePolicyQueryStringsConfig -> ParametersInCacheKeyAndForwardedToOrigin
-- | A flag that can affect whether the Accept-Encoding HTTP
-- header is included in the cache key and included in requests that
-- CloudFront sends to the origin.
--
-- This field is related to the EnableAcceptEncodingGzip field.
-- If one or both of these fields is true and the viewer
-- request includes the Accept-Encoding header, then CloudFront
-- does the following:
--
--
-- - Normalizes the value of the viewer's Accept-Encoding
-- header
-- - Includes the normalized header in the cache key
-- - Includes the normalized header in the request to the origin, if a
-- request is necessary
--
--
-- For more information, see Compression support in the Amazon
-- CloudFront Developer Guide.
--
-- If you set this value to true, and this cache behavior also
-- has an origin request policy attached, do not include the
-- Accept-Encoding header in the origin request policy.
-- CloudFront always includes the Accept-Encoding header in
-- origin requests when the value of this field is true, so
-- including this header in an origin request policy has no effect.
--
-- If both of these fields are false, then CloudFront treats the
-- Accept-Encoding header the same as any other HTTP header in
-- the viewer request. By default, it's not included in the cache key and
-- it's not included in origin requests. In this case, you can manually
-- add Accept-Encoding to the headers whitelist like any other
-- HTTP header.
[$sel:enableAcceptEncodingBrotli:ParametersInCacheKeyAndForwardedToOrigin'] :: ParametersInCacheKeyAndForwardedToOrigin -> Maybe Bool
-- | A flag that can affect whether the Accept-Encoding HTTP
-- header is included in the cache key and included in requests that
-- CloudFront sends to the origin.
--
-- This field is related to the EnableAcceptEncodingBrotli
-- field. If one or both of these fields is true and the
-- viewer request includes the Accept-Encoding header, then
-- CloudFront does the following:
--
--
-- - Normalizes the value of the viewer's Accept-Encoding
-- header
-- - Includes the normalized header in the cache key
-- - Includes the normalized header in the request to the origin, if a
-- request is necessary
--
--
-- For more information, see Compression support in the Amazon
-- CloudFront Developer Guide.
--
-- If you set this value to true, and this cache behavior also
-- has an origin request policy attached, do not include the
-- Accept-Encoding header in the origin request policy.
-- CloudFront always includes the Accept-Encoding header in
-- origin requests when the value of this field is true, so
-- including this header in an origin request policy has no effect.
--
-- If both of these fields are false, then CloudFront treats the
-- Accept-Encoding header the same as any other HTTP header in
-- the viewer request. By default, it's not included in the cache key and
-- it's not included in origin requests. In this case, you can manually
-- add Accept-Encoding to the headers whitelist like any other
-- HTTP header.
[$sel:enableAcceptEncodingGzip:ParametersInCacheKeyAndForwardedToOrigin'] :: ParametersInCacheKeyAndForwardedToOrigin -> Bool
-- | An object that determines whether any HTTP headers (and if so, which
-- headers) are included in the cache key and automatically included in
-- requests that CloudFront sends to the origin.
[$sel:headersConfig:ParametersInCacheKeyAndForwardedToOrigin'] :: ParametersInCacheKeyAndForwardedToOrigin -> CachePolicyHeadersConfig
-- | An object that determines whether any cookies in viewer requests (and
-- if so, which cookies) are included in the cache key and automatically
-- included in requests that CloudFront sends to the origin.
[$sel:cookiesConfig:ParametersInCacheKeyAndForwardedToOrigin'] :: ParametersInCacheKeyAndForwardedToOrigin -> CachePolicyCookiesConfig
-- | An object that determines whether any URL query strings in viewer
-- requests (and if so, which query strings) are included in the cache
-- key and automatically included in requests that CloudFront sends to
-- the origin.
[$sel:queryStringsConfig:ParametersInCacheKeyAndForwardedToOrigin'] :: ParametersInCacheKeyAndForwardedToOrigin -> CachePolicyQueryStringsConfig
-- | Create a value of ParametersInCacheKeyAndForwardedToOrigin with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:enableAcceptEncodingBrotli:ParametersInCacheKeyAndForwardedToOrigin',
-- parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingBrotli
-- - A flag that can affect whether the Accept-Encoding HTTP
-- header is included in the cache key and included in requests that
-- CloudFront sends to the origin.
--
-- This field is related to the EnableAcceptEncodingGzip field.
-- If one or both of these fields is true and the viewer
-- request includes the Accept-Encoding header, then CloudFront
-- does the following:
--
--
-- - Normalizes the value of the viewer's Accept-Encoding
-- header
-- - Includes the normalized header in the cache key
-- - Includes the normalized header in the request to the origin, if a
-- request is necessary
--
--
-- For more information, see Compression support in the Amazon
-- CloudFront Developer Guide.
--
-- If you set this value to true, and this cache behavior also
-- has an origin request policy attached, do not include the
-- Accept-Encoding header in the origin request policy.
-- CloudFront always includes the Accept-Encoding header in
-- origin requests when the value of this field is true, so
-- including this header in an origin request policy has no effect.
--
-- If both of these fields are false, then CloudFront treats the
-- Accept-Encoding header the same as any other HTTP header in
-- the viewer request. By default, it's not included in the cache key and
-- it's not included in origin requests. In this case, you can manually
-- add Accept-Encoding to the headers whitelist like any other
-- HTTP header.
--
--
-- $sel:enableAcceptEncodingGzip:ParametersInCacheKeyAndForwardedToOrigin',
-- parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingGzip
-- - A flag that can affect whether the Accept-Encoding HTTP
-- header is included in the cache key and included in requests that
-- CloudFront sends to the origin.
--
-- This field is related to the EnableAcceptEncodingBrotli
-- field. If one or both of these fields is true and the
-- viewer request includes the Accept-Encoding header, then
-- CloudFront does the following:
--
--
-- - Normalizes the value of the viewer's Accept-Encoding
-- header
-- - Includes the normalized header in the cache key
-- - Includes the normalized header in the request to the origin, if a
-- request is necessary
--
--
-- For more information, see Compression support in the Amazon
-- CloudFront Developer Guide.
--
-- If you set this value to true, and this cache behavior also
-- has an origin request policy attached, do not include the
-- Accept-Encoding header in the origin request policy.
-- CloudFront always includes the Accept-Encoding header in
-- origin requests when the value of this field is true, so
-- including this header in an origin request policy has no effect.
--
-- If both of these fields are false, then CloudFront treats the
-- Accept-Encoding header the same as any other HTTP header in
-- the viewer request. By default, it's not included in the cache key and
-- it's not included in origin requests. In this case, you can manually
-- add Accept-Encoding to the headers whitelist like any other
-- HTTP header.
--
-- $sel:headersConfig:ParametersInCacheKeyAndForwardedToOrigin',
-- parametersInCacheKeyAndForwardedToOrigin_headersConfig - An
-- object that determines whether any HTTP headers (and if so, which
-- headers) are included in the cache key and automatically included in
-- requests that CloudFront sends to the origin.
--
-- $sel:cookiesConfig:ParametersInCacheKeyAndForwardedToOrigin',
-- parametersInCacheKeyAndForwardedToOrigin_cookiesConfig - An
-- object that determines whether any cookies in viewer requests (and if
-- so, which cookies) are included in the cache key and automatically
-- included in requests that CloudFront sends to the origin.
--
--
-- $sel:queryStringsConfig:ParametersInCacheKeyAndForwardedToOrigin',
-- parametersInCacheKeyAndForwardedToOrigin_queryStringsConfig -
-- An object that determines whether any URL query strings in viewer
-- requests (and if so, which query strings) are included in the cache
-- key and automatically included in requests that CloudFront sends to
-- the origin.
newParametersInCacheKeyAndForwardedToOrigin :: Bool -> CachePolicyHeadersConfig -> CachePolicyCookiesConfig -> CachePolicyQueryStringsConfig -> ParametersInCacheKeyAndForwardedToOrigin
-- | A flag that can affect whether the Accept-Encoding HTTP
-- header is included in the cache key and included in requests that
-- CloudFront sends to the origin.
--
-- This field is related to the EnableAcceptEncodingGzip field.
-- If one or both of these fields is true and the viewer
-- request includes the Accept-Encoding header, then CloudFront
-- does the following:
--
--
-- - Normalizes the value of the viewer's Accept-Encoding
-- header
-- - Includes the normalized header in the cache key
-- - Includes the normalized header in the request to the origin, if a
-- request is necessary
--
--
-- For more information, see Compression support in the Amazon
-- CloudFront Developer Guide.
--
-- If you set this value to true, and this cache behavior also
-- has an origin request policy attached, do not include the
-- Accept-Encoding header in the origin request policy.
-- CloudFront always includes the Accept-Encoding header in
-- origin requests when the value of this field is true, so
-- including this header in an origin request policy has no effect.
--
-- If both of these fields are false, then CloudFront treats the
-- Accept-Encoding header the same as any other HTTP header in
-- the viewer request. By default, it's not included in the cache key and
-- it's not included in origin requests. In this case, you can manually
-- add Accept-Encoding to the headers whitelist like any other
-- HTTP header.
parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingBrotli :: Lens' ParametersInCacheKeyAndForwardedToOrigin (Maybe Bool)
-- | A flag that can affect whether the Accept-Encoding HTTP
-- header is included in the cache key and included in requests that
-- CloudFront sends to the origin.
--
-- This field is related to the EnableAcceptEncodingBrotli
-- field. If one or both of these fields is true and the
-- viewer request includes the Accept-Encoding header, then
-- CloudFront does the following:
--
--
-- - Normalizes the value of the viewer's Accept-Encoding
-- header
-- - Includes the normalized header in the cache key
-- - Includes the normalized header in the request to the origin, if a
-- request is necessary
--
--
-- For more information, see Compression support in the Amazon
-- CloudFront Developer Guide.
--
-- If you set this value to true, and this cache behavior also
-- has an origin request policy attached, do not include the
-- Accept-Encoding header in the origin request policy.
-- CloudFront always includes the Accept-Encoding header in
-- origin requests when the value of this field is true, so
-- including this header in an origin request policy has no effect.
--
-- If both of these fields are false, then CloudFront treats the
-- Accept-Encoding header the same as any other HTTP header in
-- the viewer request. By default, it's not included in the cache key and
-- it's not included in origin requests. In this case, you can manually
-- add Accept-Encoding to the headers whitelist like any other
-- HTTP header.
parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingGzip :: Lens' ParametersInCacheKeyAndForwardedToOrigin Bool
-- | An object that determines whether any HTTP headers (and if so, which
-- headers) are included in the cache key and automatically included in
-- requests that CloudFront sends to the origin.
parametersInCacheKeyAndForwardedToOrigin_headersConfig :: Lens' ParametersInCacheKeyAndForwardedToOrigin CachePolicyHeadersConfig
-- | An object that determines whether any cookies in viewer requests (and
-- if so, which cookies) are included in the cache key and automatically
-- included in requests that CloudFront sends to the origin.
parametersInCacheKeyAndForwardedToOrigin_cookiesConfig :: Lens' ParametersInCacheKeyAndForwardedToOrigin CachePolicyCookiesConfig
-- | An object that determines whether any URL query strings in viewer
-- requests (and if so, which query strings) are included in the cache
-- key and automatically included in requests that CloudFront sends to
-- the origin.
parametersInCacheKeyAndForwardedToOrigin_queryStringsConfig :: Lens' ParametersInCacheKeyAndForwardedToOrigin CachePolicyQueryStringsConfig
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin.ParametersInCacheKeyAndForwardedToOrigin
instance GHC.Show.Show Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin.ParametersInCacheKeyAndForwardedToOrigin
instance GHC.Read.Read Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin.ParametersInCacheKeyAndForwardedToOrigin
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin.ParametersInCacheKeyAndForwardedToOrigin
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin.ParametersInCacheKeyAndForwardedToOrigin
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin.ParametersInCacheKeyAndForwardedToOrigin
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin.ParametersInCacheKeyAndForwardedToOrigin
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin.ParametersInCacheKeyAndForwardedToOrigin
module Amazonka.CloudFront.Types.CachePolicyConfig
-- | A cache policy configuration.
--
-- This configuration determines the following:
--
--
-- - The values that CloudFront includes in the cache key. These values
-- can include HTTP headers, cookies, and URL query strings. CloudFront
-- uses the cache key to find an object in its cache that it can return
-- to the viewer.
-- - The default, minimum, and maximum time to live (TTL) values that
-- you want objects to stay in the CloudFront cache.
--
--
-- The headers, cookies, and query strings that are included in the cache
-- key are automatically included in requests that CloudFront sends to
-- the origin. CloudFront sends a request when it can't find a valid
-- object in its cache that matches the request's cache key. If you want
-- to send values to the origin but not include them in the cache
-- key, use OriginRequestPolicy.
--
-- See: newCachePolicyConfig smart constructor.
data CachePolicyConfig
CachePolicyConfig' :: Maybe Text -> Maybe Integer -> Maybe Integer -> Maybe ParametersInCacheKeyAndForwardedToOrigin -> Text -> Integer -> CachePolicyConfig
-- | A comment to describe the cache policy. The comment cannot be longer
-- than 128 characters.
[$sel:comment:CachePolicyConfig'] :: CachePolicyConfig -> Maybe Text
-- | The default amount of time, in seconds, that you want objects to stay
-- in the CloudFront cache before CloudFront sends another request to the
-- origin to see if the object has been updated. CloudFront uses this
-- value as the object's time to live (TTL) only when the origin does
-- not send Cache-Control or Expires headers
-- with the object. For more information, see Managing How Long
-- Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
--
-- The default value for this field is 86400 seconds (one day). If the
-- value of MinTTL is more than 86400 seconds, then the default
-- value for this field is the same as the value of MinTTL.
[$sel:defaultTTL:CachePolicyConfig'] :: CachePolicyConfig -> Maybe Integer
-- | The maximum amount of time, in seconds, that objects stay in the
-- CloudFront cache before CloudFront sends another request to the origin
-- to see if the object has been updated. CloudFront uses this value only
-- when the origin sends Cache-Control or Expires
-- headers with the object. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
--
-- The default value for this field is 31536000 seconds (one year). If
-- the value of MinTTL or DefaultTTL is more than
-- 31536000 seconds, then the default value for this field is the same as
-- the value of DefaultTTL.
[$sel:maxTTL:CachePolicyConfig'] :: CachePolicyConfig -> Maybe Integer
-- | The HTTP headers, cookies, and URL query strings to include in the
-- cache key. The values included in the cache key are automatically
-- included in requests that CloudFront sends to the origin.
[$sel:parametersInCacheKeyAndForwardedToOrigin:CachePolicyConfig'] :: CachePolicyConfig -> Maybe ParametersInCacheKeyAndForwardedToOrigin
-- | A unique name to identify the cache policy.
[$sel:name:CachePolicyConfig'] :: CachePolicyConfig -> Text
-- | The minimum amount of time, in seconds, that you want objects to stay
-- in the CloudFront cache before CloudFront sends another request to the
-- origin to see if the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
[$sel:minTTL:CachePolicyConfig'] :: CachePolicyConfig -> Integer
-- | Create a value of CachePolicyConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:CachePolicyConfig',
-- cachePolicyConfig_comment - A comment to describe the cache
-- policy. The comment cannot be longer than 128 characters.
--
-- $sel:defaultTTL:CachePolicyConfig',
-- cachePolicyConfig_defaultTTL - The default amount of time, in
-- seconds, that you want objects to stay in the CloudFront cache before
-- CloudFront sends another request to the origin to see if the object
-- has been updated. CloudFront uses this value as the object's time to
-- live (TTL) only when the origin does not send
-- Cache-Control or Expires headers with the object.
-- For more information, see Managing How Long Content Stays in an
-- Edge Cache (Expiration) in the Amazon CloudFront Developer
-- Guide.
--
-- The default value for this field is 86400 seconds (one day). If the
-- value of MinTTL is more than 86400 seconds, then the default
-- value for this field is the same as the value of MinTTL.
--
-- $sel:maxTTL:CachePolicyConfig', cachePolicyConfig_maxTTL
-- - The maximum amount of time, in seconds, that objects stay in the
-- CloudFront cache before CloudFront sends another request to the origin
-- to see if the object has been updated. CloudFront uses this value only
-- when the origin sends Cache-Control or Expires
-- headers with the object. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
--
-- The default value for this field is 31536000 seconds (one year). If
-- the value of MinTTL or DefaultTTL is more than
-- 31536000 seconds, then the default value for this field is the same as
-- the value of DefaultTTL.
--
--
-- $sel:parametersInCacheKeyAndForwardedToOrigin:CachePolicyConfig',
-- cachePolicyConfig_parametersInCacheKeyAndForwardedToOrigin -
-- The HTTP headers, cookies, and URL query strings to include in the
-- cache key. The values included in the cache key are automatically
-- included in requests that CloudFront sends to the origin.
--
-- $sel:name:CachePolicyConfig', cachePolicyConfig_name - A
-- unique name to identify the cache policy.
--
-- $sel:minTTL:CachePolicyConfig', cachePolicyConfig_minTTL
-- - The minimum amount of time, in seconds, that you want objects to
-- stay in the CloudFront cache before CloudFront sends another request
-- to the origin to see if the object has been updated. For more
-- information, see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
newCachePolicyConfig :: Text -> Integer -> CachePolicyConfig
-- | A comment to describe the cache policy. The comment cannot be longer
-- than 128 characters.
cachePolicyConfig_comment :: Lens' CachePolicyConfig (Maybe Text)
-- | The default amount of time, in seconds, that you want objects to stay
-- in the CloudFront cache before CloudFront sends another request to the
-- origin to see if the object has been updated. CloudFront uses this
-- value as the object's time to live (TTL) only when the origin does
-- not send Cache-Control or Expires headers
-- with the object. For more information, see Managing How Long
-- Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
--
-- The default value for this field is 86400 seconds (one day). If the
-- value of MinTTL is more than 86400 seconds, then the default
-- value for this field is the same as the value of MinTTL.
cachePolicyConfig_defaultTTL :: Lens' CachePolicyConfig (Maybe Integer)
-- | The maximum amount of time, in seconds, that objects stay in the
-- CloudFront cache before CloudFront sends another request to the origin
-- to see if the object has been updated. CloudFront uses this value only
-- when the origin sends Cache-Control or Expires
-- headers with the object. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
--
-- The default value for this field is 31536000 seconds (one year). If
-- the value of MinTTL or DefaultTTL is more than
-- 31536000 seconds, then the default value for this field is the same as
-- the value of DefaultTTL.
cachePolicyConfig_maxTTL :: Lens' CachePolicyConfig (Maybe Integer)
-- | The HTTP headers, cookies, and URL query strings to include in the
-- cache key. The values included in the cache key are automatically
-- included in requests that CloudFront sends to the origin.
cachePolicyConfig_parametersInCacheKeyAndForwardedToOrigin :: Lens' CachePolicyConfig (Maybe ParametersInCacheKeyAndForwardedToOrigin)
-- | A unique name to identify the cache policy.
cachePolicyConfig_name :: Lens' CachePolicyConfig Text
-- | The minimum amount of time, in seconds, that you want objects to stay
-- in the CloudFront cache before CloudFront sends another request to the
-- origin to see if the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
cachePolicyConfig_minTTL :: Lens' CachePolicyConfig Integer
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CachePolicyConfig.CachePolicyConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.CachePolicyConfig.CachePolicyConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.CachePolicyConfig.CachePolicyConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CachePolicyConfig.CachePolicyConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CachePolicyConfig.CachePolicyConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CachePolicyConfig.CachePolicyConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CachePolicyConfig.CachePolicyConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.CachePolicyConfig.CachePolicyConfig
module Amazonka.CloudFront.Types.CachePolicy
-- | A cache policy.
--
-- When it's attached to a cache behavior, the cache policy determines
-- the following:
--
--
-- - The values that CloudFront includes in the cache key. These values
-- can include HTTP headers, cookies, and URL query strings. CloudFront
-- uses the cache key to find an object in its cache that it can return
-- to the viewer.
-- - The default, minimum, and maximum time to live (TTL) values that
-- you want objects to stay in the CloudFront cache.
--
--
-- The headers, cookies, and query strings that are included in the cache
-- key are automatically included in requests that CloudFront sends to
-- the origin. CloudFront sends a request when it can't find a valid
-- object in its cache that matches the request's cache key. If you want
-- to send values to the origin but not include them in the cache
-- key, use OriginRequestPolicy.
--
-- See: newCachePolicy smart constructor.
data CachePolicy
CachePolicy' :: Text -> ISO8601 -> CachePolicyConfig -> CachePolicy
-- | The unique identifier for the cache policy.
[$sel:id:CachePolicy'] :: CachePolicy -> Text
-- | The date and time when the cache policy was last modified.
[$sel:lastModifiedTime:CachePolicy'] :: CachePolicy -> ISO8601
-- | The cache policy configuration.
[$sel:cachePolicyConfig:CachePolicy'] :: CachePolicy -> CachePolicyConfig
-- | Create a value of CachePolicy with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:CachePolicy', cachePolicy_id - The unique
-- identifier for the cache policy.
--
-- $sel:lastModifiedTime:CachePolicy',
-- cachePolicy_lastModifiedTime - The date and time when the cache
-- policy was last modified.
--
-- $sel:cachePolicyConfig:CachePolicy',
-- cachePolicy_cachePolicyConfig - The cache policy configuration.
newCachePolicy :: Text -> UTCTime -> CachePolicyConfig -> CachePolicy
-- | The unique identifier for the cache policy.
cachePolicy_id :: Lens' CachePolicy Text
-- | The date and time when the cache policy was last modified.
cachePolicy_lastModifiedTime :: Lens' CachePolicy UTCTime
-- | The cache policy configuration.
cachePolicy_cachePolicyConfig :: Lens' CachePolicy CachePolicyConfig
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CachePolicy.CachePolicy
instance GHC.Show.Show Amazonka.CloudFront.Types.CachePolicy.CachePolicy
instance GHC.Read.Read Amazonka.CloudFront.Types.CachePolicy.CachePolicy
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CachePolicy.CachePolicy
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CachePolicy.CachePolicy
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CachePolicy.CachePolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CachePolicy.CachePolicy
module Amazonka.CloudFront.Types.CachePolicySummary
-- | Contains a cache policy.
--
-- See: newCachePolicySummary smart constructor.
data CachePolicySummary
CachePolicySummary' :: CachePolicyType -> CachePolicy -> CachePolicySummary
-- | The type of cache policy, either managed (created by Amazon
-- Web Services) or custom (created in this Amazon Web Services
-- account).
[$sel:type':CachePolicySummary'] :: CachePolicySummary -> CachePolicyType
-- | The cache policy.
[$sel:cachePolicy:CachePolicySummary'] :: CachePolicySummary -> CachePolicy
-- | Create a value of CachePolicySummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':CachePolicySummary', cachePolicySummary_type
-- - The type of cache policy, either managed (created by Amazon
-- Web Services) or custom (created in this Amazon Web Services
-- account).
--
-- $sel:cachePolicy:CachePolicySummary',
-- cachePolicySummary_cachePolicy - The cache policy.
newCachePolicySummary :: CachePolicyType -> CachePolicy -> CachePolicySummary
-- | The type of cache policy, either managed (created by Amazon
-- Web Services) or custom (created in this Amazon Web Services
-- account).
cachePolicySummary_type :: Lens' CachePolicySummary CachePolicyType
-- | The cache policy.
cachePolicySummary_cachePolicy :: Lens' CachePolicySummary CachePolicy
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CachePolicySummary.CachePolicySummary
instance GHC.Show.Show Amazonka.CloudFront.Types.CachePolicySummary.CachePolicySummary
instance GHC.Read.Read Amazonka.CloudFront.Types.CachePolicySummary.CachePolicySummary
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CachePolicySummary.CachePolicySummary
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CachePolicySummary.CachePolicySummary
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CachePolicySummary.CachePolicySummary
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CachePolicySummary.CachePolicySummary
module Amazonka.CloudFront.Types.CachePolicyList
-- | A list of cache policies.
--
-- See: newCachePolicyList smart constructor.
data CachePolicyList
CachePolicyList' :: Maybe [CachePolicySummary] -> Maybe Text -> Int -> Int -> CachePolicyList
-- | Contains the cache policies in the list.
[$sel:items:CachePolicyList'] :: CachePolicyList -> Maybe [CachePolicySummary]
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- cache policies where you left off.
[$sel:nextMarker:CachePolicyList'] :: CachePolicyList -> Maybe Text
-- | The maximum number of cache policies requested.
[$sel:maxItems:CachePolicyList'] :: CachePolicyList -> Int
-- | The total number of cache policies returned in the response.
[$sel:quantity:CachePolicyList'] :: CachePolicyList -> Int
-- | Create a value of CachePolicyList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:CachePolicyList', cachePolicyList_items -
-- Contains the cache policies in the list.
--
-- $sel:nextMarker:CachePolicyList',
-- cachePolicyList_nextMarker - If there are more items in the
-- list than are in this response, this element is present. It contains
-- the value that you should use in the Marker field of a
-- subsequent request to continue listing cache policies where you left
-- off.
--
-- $sel:maxItems:CachePolicyList', cachePolicyList_maxItems
-- - The maximum number of cache policies requested.
--
-- $sel:quantity:CachePolicyList', cachePolicyList_quantity
-- - The total number of cache policies returned in the response.
newCachePolicyList :: Int -> Int -> CachePolicyList
-- | Contains the cache policies in the list.
cachePolicyList_items :: Lens' CachePolicyList (Maybe [CachePolicySummary])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- cache policies where you left off.
cachePolicyList_nextMarker :: Lens' CachePolicyList (Maybe Text)
-- | The maximum number of cache policies requested.
cachePolicyList_maxItems :: Lens' CachePolicyList Int
-- | The total number of cache policies returned in the response.
cachePolicyList_quantity :: Lens' CachePolicyList Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CachePolicyList.CachePolicyList
instance GHC.Show.Show Amazonka.CloudFront.Types.CachePolicyList.CachePolicyList
instance GHC.Read.Read Amazonka.CloudFront.Types.CachePolicyList.CachePolicyList
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CachePolicyList.CachePolicyList
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CachePolicyList.CachePolicyList
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CachePolicyList.CachePolicyList
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CachePolicyList.CachePolicyList
module Amazonka.CloudFront.Types.RealtimeLogConfig
-- | A real-time log configuration.
--
-- See: newRealtimeLogConfig smart constructor.
data RealtimeLogConfig
RealtimeLogConfig' :: Text -> Text -> Integer -> [EndPoint] -> [Text] -> RealtimeLogConfig
-- | The Amazon Resource Name (ARN) of this real-time log configuration.
[$sel:arn:RealtimeLogConfig'] :: RealtimeLogConfig -> Text
-- | The unique name of this real-time log configuration.
[$sel:name:RealtimeLogConfig'] :: RealtimeLogConfig -> Text
-- | The sampling rate for this real-time log configuration. The sampling
-- rate determines the percentage of viewer requests that are represented
-- in the real-time log data. The sampling rate is an integer between 1
-- and 100, inclusive.
[$sel:samplingRate:RealtimeLogConfig'] :: RealtimeLogConfig -> Integer
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data for this real-time log configuration.
[$sel:endPoints:RealtimeLogConfig'] :: RealtimeLogConfig -> [EndPoint]
-- | A list of fields that are included in each real-time log record. In an
-- API response, the fields are provided in the same order in which they
-- are sent to the Amazon Kinesis data stream.
--
-- For more information about fields, see Real-time log configuration
-- fields in the Amazon CloudFront Developer Guide.
[$sel:fields:RealtimeLogConfig'] :: RealtimeLogConfig -> [Text]
-- | Create a value of RealtimeLogConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:RealtimeLogConfig', realtimeLogConfig_arn - The
-- Amazon Resource Name (ARN) of this real-time log configuration.
--
-- $sel:name:RealtimeLogConfig', realtimeLogConfig_name -
-- The unique name of this real-time log configuration.
--
-- $sel:samplingRate:RealtimeLogConfig',
-- realtimeLogConfig_samplingRate - The sampling rate for this
-- real-time log configuration. The sampling rate determines the
-- percentage of viewer requests that are represented in the real-time
-- log data. The sampling rate is an integer between 1 and 100,
-- inclusive.
--
-- $sel:endPoints:RealtimeLogConfig',
-- realtimeLogConfig_endPoints - Contains information about the
-- Amazon Kinesis data stream where you are sending real-time log data
-- for this real-time log configuration.
--
-- $sel:fields:RealtimeLogConfig', realtimeLogConfig_fields
-- - A list of fields that are included in each real-time log record. In
-- an API response, the fields are provided in the same order in which
-- they are sent to the Amazon Kinesis data stream.
--
-- For more information about fields, see Real-time log configuration
-- fields in the Amazon CloudFront Developer Guide.
newRealtimeLogConfig :: Text -> Text -> Integer -> RealtimeLogConfig
-- | The Amazon Resource Name (ARN) of this real-time log configuration.
realtimeLogConfig_arn :: Lens' RealtimeLogConfig Text
-- | The unique name of this real-time log configuration.
realtimeLogConfig_name :: Lens' RealtimeLogConfig Text
-- | The sampling rate for this real-time log configuration. The sampling
-- rate determines the percentage of viewer requests that are represented
-- in the real-time log data. The sampling rate is an integer between 1
-- and 100, inclusive.
realtimeLogConfig_samplingRate :: Lens' RealtimeLogConfig Integer
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data for this real-time log configuration.
realtimeLogConfig_endPoints :: Lens' RealtimeLogConfig [EndPoint]
-- | A list of fields that are included in each real-time log record. In an
-- API response, the fields are provided in the same order in which they
-- are sent to the Amazon Kinesis data stream.
--
-- For more information about fields, see Real-time log configuration
-- fields in the Amazon CloudFront Developer Guide.
realtimeLogConfig_fields :: Lens' RealtimeLogConfig [Text]
instance GHC.Generics.Generic Amazonka.CloudFront.Types.RealtimeLogConfig.RealtimeLogConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.RealtimeLogConfig.RealtimeLogConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.RealtimeLogConfig.RealtimeLogConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.RealtimeLogConfig.RealtimeLogConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.RealtimeLogConfig.RealtimeLogConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.RealtimeLogConfig.RealtimeLogConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.RealtimeLogConfig.RealtimeLogConfig
module Amazonka.CloudFront.Types.RealtimeLogConfigs
-- | A list of real-time log configurations.
--
-- See: newRealtimeLogConfigs smart constructor.
data RealtimeLogConfigs
RealtimeLogConfigs' :: Maybe [RealtimeLogConfig] -> Maybe Text -> Int -> Bool -> Text -> RealtimeLogConfigs
-- | Contains the list of real-time log configurations.
[$sel:items:RealtimeLogConfigs'] :: RealtimeLogConfigs -> Maybe [RealtimeLogConfig]
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- real-time log configurations where you left off.
[$sel:nextMarker:RealtimeLogConfigs'] :: RealtimeLogConfigs -> Maybe Text
-- | The maximum number of real-time log configurations requested.
[$sel:maxItems:RealtimeLogConfigs'] :: RealtimeLogConfigs -> Int
-- | A flag that indicates whether there are more real-time log
-- configurations than are contained in this list.
[$sel:isTruncated:RealtimeLogConfigs'] :: RealtimeLogConfigs -> Bool
-- | This parameter indicates where this list of real-time log
-- configurations begins. This list includes real-time log configurations
-- that occur after the marker.
[$sel:marker:RealtimeLogConfigs'] :: RealtimeLogConfigs -> Text
-- | Create a value of RealtimeLogConfigs with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:RealtimeLogConfigs', realtimeLogConfigs_items
-- - Contains the list of real-time log configurations.
--
-- $sel:nextMarker:RealtimeLogConfigs',
-- realtimeLogConfigs_nextMarker - If there are more items in the
-- list than are in this response, this element is present. It contains
-- the value that you should use in the Marker field of a
-- subsequent request to continue listing real-time log configurations
-- where you left off.
--
-- $sel:maxItems:RealtimeLogConfigs',
-- realtimeLogConfigs_maxItems - The maximum number of real-time
-- log configurations requested.
--
-- $sel:isTruncated:RealtimeLogConfigs',
-- realtimeLogConfigs_isTruncated - A flag that indicates whether
-- there are more real-time log configurations than are contained in this
-- list.
--
-- $sel:marker:RealtimeLogConfigs',
-- realtimeLogConfigs_marker - This parameter indicates where this
-- list of real-time log configurations begins. This list includes
-- real-time log configurations that occur after the marker.
newRealtimeLogConfigs :: Int -> Bool -> Text -> RealtimeLogConfigs
-- | Contains the list of real-time log configurations.
realtimeLogConfigs_items :: Lens' RealtimeLogConfigs (Maybe [RealtimeLogConfig])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- real-time log configurations where you left off.
realtimeLogConfigs_nextMarker :: Lens' RealtimeLogConfigs (Maybe Text)
-- | The maximum number of real-time log configurations requested.
realtimeLogConfigs_maxItems :: Lens' RealtimeLogConfigs Int
-- | A flag that indicates whether there are more real-time log
-- configurations than are contained in this list.
realtimeLogConfigs_isTruncated :: Lens' RealtimeLogConfigs Bool
-- | This parameter indicates where this list of real-time log
-- configurations begins. This list includes real-time log configurations
-- that occur after the marker.
realtimeLogConfigs_marker :: Lens' RealtimeLogConfigs Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.RealtimeLogConfigs.RealtimeLogConfigs
instance GHC.Show.Show Amazonka.CloudFront.Types.RealtimeLogConfigs.RealtimeLogConfigs
instance GHC.Read.Read Amazonka.CloudFront.Types.RealtimeLogConfigs.RealtimeLogConfigs
instance GHC.Classes.Eq Amazonka.CloudFront.Types.RealtimeLogConfigs.RealtimeLogConfigs
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.RealtimeLogConfigs.RealtimeLogConfigs
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.RealtimeLogConfigs.RealtimeLogConfigs
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.RealtimeLogConfigs.RealtimeLogConfigs
module Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus
newtype RealtimeMetricsSubscriptionStatus
RealtimeMetricsSubscriptionStatus' :: Text -> RealtimeMetricsSubscriptionStatus
[fromRealtimeMetricsSubscriptionStatus] :: RealtimeMetricsSubscriptionStatus -> Text
pattern RealtimeMetricsSubscriptionStatus_Disabled :: RealtimeMetricsSubscriptionStatus
pattern RealtimeMetricsSubscriptionStatus_Enabled :: RealtimeMetricsSubscriptionStatus
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus.RealtimeMetricsSubscriptionStatus
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus.RealtimeMetricsSubscriptionStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus.RealtimeMetricsSubscriptionStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus.RealtimeMetricsSubscriptionStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus.RealtimeMetricsSubscriptionStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus.RealtimeMetricsSubscriptionStatus
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus.RealtimeMetricsSubscriptionStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus.RealtimeMetricsSubscriptionStatus
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus.RealtimeMetricsSubscriptionStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus.RealtimeMetricsSubscriptionStatus
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus.RealtimeMetricsSubscriptionStatus
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus.RealtimeMetricsSubscriptionStatus
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus.RealtimeMetricsSubscriptionStatus
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus.RealtimeMetricsSubscriptionStatus
instance GHC.Generics.Generic Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus.RealtimeMetricsSubscriptionStatus
instance GHC.Classes.Ord Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus.RealtimeMetricsSubscriptionStatus
instance GHC.Classes.Eq Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus.RealtimeMetricsSubscriptionStatus
instance GHC.Read.Read Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus.RealtimeMetricsSubscriptionStatus
instance GHC.Show.Show Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus.RealtimeMetricsSubscriptionStatus
module Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig
-- | A subscription configuration for additional CloudWatch metrics.
--
-- See: newRealtimeMetricsSubscriptionConfig smart
-- constructor.
data RealtimeMetricsSubscriptionConfig
RealtimeMetricsSubscriptionConfig' :: RealtimeMetricsSubscriptionStatus -> RealtimeMetricsSubscriptionConfig
-- | A flag that indicates whether additional CloudWatch metrics are
-- enabled for a given CloudFront distribution.
[$sel:realtimeMetricsSubscriptionStatus:RealtimeMetricsSubscriptionConfig'] :: RealtimeMetricsSubscriptionConfig -> RealtimeMetricsSubscriptionStatus
-- | Create a value of RealtimeMetricsSubscriptionConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:realtimeMetricsSubscriptionStatus:RealtimeMetricsSubscriptionConfig',
-- realtimeMetricsSubscriptionConfig_realtimeMetricsSubscriptionStatus
-- - A flag that indicates whether additional CloudWatch metrics are
-- enabled for a given CloudFront distribution.
newRealtimeMetricsSubscriptionConfig :: RealtimeMetricsSubscriptionStatus -> RealtimeMetricsSubscriptionConfig
-- | A flag that indicates whether additional CloudWatch metrics are
-- enabled for a given CloudFront distribution.
realtimeMetricsSubscriptionConfig_realtimeMetricsSubscriptionStatus :: Lens' RealtimeMetricsSubscriptionConfig RealtimeMetricsSubscriptionStatus
instance GHC.Generics.Generic Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig.RealtimeMetricsSubscriptionConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig.RealtimeMetricsSubscriptionConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig.RealtimeMetricsSubscriptionConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig.RealtimeMetricsSubscriptionConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig.RealtimeMetricsSubscriptionConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig.RealtimeMetricsSubscriptionConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig.RealtimeMetricsSubscriptionConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig.RealtimeMetricsSubscriptionConfig
module Amazonka.CloudFront.Types.MonitoringSubscription
-- | A monitoring subscription. This structure contains information about
-- whether additional CloudWatch metrics are enabled for a given
-- CloudFront distribution.
--
-- See: newMonitoringSubscription smart constructor.
data MonitoringSubscription
MonitoringSubscription' :: Maybe RealtimeMetricsSubscriptionConfig -> MonitoringSubscription
-- | A subscription configuration for additional CloudWatch metrics.
[$sel:realtimeMetricsSubscriptionConfig:MonitoringSubscription'] :: MonitoringSubscription -> Maybe RealtimeMetricsSubscriptionConfig
-- | Create a value of MonitoringSubscription with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:realtimeMetricsSubscriptionConfig:MonitoringSubscription',
-- monitoringSubscription_realtimeMetricsSubscriptionConfig - A
-- subscription configuration for additional CloudWatch metrics.
newMonitoringSubscription :: MonitoringSubscription
-- | A subscription configuration for additional CloudWatch metrics.
monitoringSubscription_realtimeMetricsSubscriptionConfig :: Lens' MonitoringSubscription (Maybe RealtimeMetricsSubscriptionConfig)
instance GHC.Generics.Generic Amazonka.CloudFront.Types.MonitoringSubscription.MonitoringSubscription
instance GHC.Show.Show Amazonka.CloudFront.Types.MonitoringSubscription.MonitoringSubscription
instance GHC.Read.Read Amazonka.CloudFront.Types.MonitoringSubscription.MonitoringSubscription
instance GHC.Classes.Eq Amazonka.CloudFront.Types.MonitoringSubscription.MonitoringSubscription
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.MonitoringSubscription.MonitoringSubscription
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.MonitoringSubscription.MonitoringSubscription
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.MonitoringSubscription.MonitoringSubscription
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.MonitoringSubscription.MonitoringSubscription
module Amazonka.CloudFront.Types.ReferrerPolicyList
newtype ReferrerPolicyList
ReferrerPolicyList' :: Text -> ReferrerPolicyList
[fromReferrerPolicyList] :: ReferrerPolicyList -> Text
pattern ReferrerPolicyList_No_referrer :: ReferrerPolicyList
pattern ReferrerPolicyList_No_referrer_when_downgrade :: ReferrerPolicyList
pattern ReferrerPolicyList_Origin :: ReferrerPolicyList
pattern ReferrerPolicyList_Origin_when_cross_origin :: ReferrerPolicyList
pattern ReferrerPolicyList_Same_origin :: ReferrerPolicyList
pattern ReferrerPolicyList_Strict_origin :: ReferrerPolicyList
pattern ReferrerPolicyList_Strict_origin_when_cross_origin :: ReferrerPolicyList
pattern ReferrerPolicyList_Unsafe_url :: ReferrerPolicyList
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ReferrerPolicyList.ReferrerPolicyList
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ReferrerPolicyList.ReferrerPolicyList
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.ReferrerPolicyList.ReferrerPolicyList
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.ReferrerPolicyList.ReferrerPolicyList
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.ReferrerPolicyList.ReferrerPolicyList
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.ReferrerPolicyList.ReferrerPolicyList
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.ReferrerPolicyList.ReferrerPolicyList
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.ReferrerPolicyList.ReferrerPolicyList
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.ReferrerPolicyList.ReferrerPolicyList
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.ReferrerPolicyList.ReferrerPolicyList
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.ReferrerPolicyList.ReferrerPolicyList
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.ReferrerPolicyList.ReferrerPolicyList
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ReferrerPolicyList.ReferrerPolicyList
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ReferrerPolicyList.ReferrerPolicyList
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ReferrerPolicyList.ReferrerPolicyList
instance GHC.Classes.Ord Amazonka.CloudFront.Types.ReferrerPolicyList.ReferrerPolicyList
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ReferrerPolicyList.ReferrerPolicyList
instance GHC.Read.Read Amazonka.CloudFront.Types.ReferrerPolicyList.ReferrerPolicyList
instance GHC.Show.Show Amazonka.CloudFront.Types.ReferrerPolicyList.ReferrerPolicyList
module Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowHeaders
-- | A list of HTTP header names that CloudFront includes as values for the
-- Access-Control-Allow-Headers HTTP response header.
--
-- For more information about the Access-Control-Allow-Headers
-- HTTP response header, see Access-Control-Allow-Headers in the
-- MDN Web Docs.
--
-- See: newResponseHeadersPolicyAccessControlAllowHeaders
-- smart constructor.
data ResponseHeadersPolicyAccessControlAllowHeaders
ResponseHeadersPolicyAccessControlAllowHeaders' :: Int -> [Text] -> ResponseHeadersPolicyAccessControlAllowHeaders
-- | The number of HTTP header names in the list.
[$sel:quantity:ResponseHeadersPolicyAccessControlAllowHeaders'] :: ResponseHeadersPolicyAccessControlAllowHeaders -> Int
-- | The list of HTTP header names. You can specify * to allow all
-- headers.
[$sel:items:ResponseHeadersPolicyAccessControlAllowHeaders'] :: ResponseHeadersPolicyAccessControlAllowHeaders -> [Text]
-- | Create a value of
-- ResponseHeadersPolicyAccessControlAllowHeaders with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:ResponseHeadersPolicyAccessControlAllowHeaders',
-- responseHeadersPolicyAccessControlAllowHeaders_quantity - The
-- number of HTTP header names in the list.
--
-- $sel:items:ResponseHeadersPolicyAccessControlAllowHeaders',
-- responseHeadersPolicyAccessControlAllowHeaders_items - The list
-- of HTTP header names. You can specify * to allow all headers.
newResponseHeadersPolicyAccessControlAllowHeaders :: Int -> ResponseHeadersPolicyAccessControlAllowHeaders
-- | The number of HTTP header names in the list.
responseHeadersPolicyAccessControlAllowHeaders_quantity :: Lens' ResponseHeadersPolicyAccessControlAllowHeaders Int
-- | The list of HTTP header names. You can specify * to allow all
-- headers.
responseHeadersPolicyAccessControlAllowHeaders_items :: Lens' ResponseHeadersPolicyAccessControlAllowHeaders [Text]
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowHeaders.ResponseHeadersPolicyAccessControlAllowHeaders
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowHeaders.ResponseHeadersPolicyAccessControlAllowHeaders
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowHeaders.ResponseHeadersPolicyAccessControlAllowHeaders
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowHeaders.ResponseHeadersPolicyAccessControlAllowHeaders
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowHeaders.ResponseHeadersPolicyAccessControlAllowHeaders
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowHeaders.ResponseHeadersPolicyAccessControlAllowHeaders
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowHeaders.ResponseHeadersPolicyAccessControlAllowHeaders
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowHeaders.ResponseHeadersPolicyAccessControlAllowHeaders
module Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues
newtype ResponseHeadersPolicyAccessControlAllowMethodsValues
ResponseHeadersPolicyAccessControlAllowMethodsValues' :: Text -> ResponseHeadersPolicyAccessControlAllowMethodsValues
[fromResponseHeadersPolicyAccessControlAllowMethodsValues] :: ResponseHeadersPolicyAccessControlAllowMethodsValues -> Text
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_ALL :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_DELETE :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_GET :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_HEAD :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_OPTIONS :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_PATCH :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_POST :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_PUT :: ResponseHeadersPolicyAccessControlAllowMethodsValues
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues.ResponseHeadersPolicyAccessControlAllowMethodsValues
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues.ResponseHeadersPolicyAccessControlAllowMethodsValues
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues.ResponseHeadersPolicyAccessControlAllowMethodsValues
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues.ResponseHeadersPolicyAccessControlAllowMethodsValues
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues.ResponseHeadersPolicyAccessControlAllowMethodsValues
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues.ResponseHeadersPolicyAccessControlAllowMethodsValues
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues.ResponseHeadersPolicyAccessControlAllowMethodsValues
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues.ResponseHeadersPolicyAccessControlAllowMethodsValues
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues.ResponseHeadersPolicyAccessControlAllowMethodsValues
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues.ResponseHeadersPolicyAccessControlAllowMethodsValues
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues.ResponseHeadersPolicyAccessControlAllowMethodsValues
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues.ResponseHeadersPolicyAccessControlAllowMethodsValues
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues.ResponseHeadersPolicyAccessControlAllowMethodsValues
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues.ResponseHeadersPolicyAccessControlAllowMethodsValues
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues.ResponseHeadersPolicyAccessControlAllowMethodsValues
instance GHC.Classes.Ord Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues.ResponseHeadersPolicyAccessControlAllowMethodsValues
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues.ResponseHeadersPolicyAccessControlAllowMethodsValues
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues.ResponseHeadersPolicyAccessControlAllowMethodsValues
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues.ResponseHeadersPolicyAccessControlAllowMethodsValues
module Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethods
-- | A list of HTTP methods that CloudFront includes as values for the
-- Access-Control-Allow-Methods HTTP response header.
--
-- For more information about the Access-Control-Allow-Methods
-- HTTP response header, see Access-Control-Allow-Methods in the
-- MDN Web Docs.
--
-- See: newResponseHeadersPolicyAccessControlAllowMethods
-- smart constructor.
data ResponseHeadersPolicyAccessControlAllowMethods
ResponseHeadersPolicyAccessControlAllowMethods' :: Int -> [ResponseHeadersPolicyAccessControlAllowMethodsValues] -> ResponseHeadersPolicyAccessControlAllowMethods
-- | The number of HTTP methods in the list.
[$sel:quantity:ResponseHeadersPolicyAccessControlAllowMethods'] :: ResponseHeadersPolicyAccessControlAllowMethods -> Int
-- | The list of HTTP methods. Valid values are:
--
--
-- GET
-- DELETE
-- HEAD
-- OPTIONS
-- PATCH
-- POST
-- PUT
-- ALL
--
--
-- ALL is a special value that includes all of the listed HTTP
-- methods.
[$sel:items:ResponseHeadersPolicyAccessControlAllowMethods'] :: ResponseHeadersPolicyAccessControlAllowMethods -> [ResponseHeadersPolicyAccessControlAllowMethodsValues]
-- | Create a value of
-- ResponseHeadersPolicyAccessControlAllowMethods with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:ResponseHeadersPolicyAccessControlAllowMethods',
-- responseHeadersPolicyAccessControlAllowMethods_quantity - The
-- number of HTTP methods in the list.
--
-- $sel:items:ResponseHeadersPolicyAccessControlAllowMethods',
-- responseHeadersPolicyAccessControlAllowMethods_items - The list
-- of HTTP methods. Valid values are:
--
--
-- GET
-- DELETE
-- HEAD
-- OPTIONS
-- PATCH
-- POST
-- PUT
-- ALL
--
--
-- ALL is a special value that includes all of the listed HTTP
-- methods.
newResponseHeadersPolicyAccessControlAllowMethods :: Int -> ResponseHeadersPolicyAccessControlAllowMethods
-- | The number of HTTP methods in the list.
responseHeadersPolicyAccessControlAllowMethods_quantity :: Lens' ResponseHeadersPolicyAccessControlAllowMethods Int
-- | The list of HTTP methods. Valid values are:
--
--
-- GET
-- DELETE
-- HEAD
-- OPTIONS
-- PATCH
-- POST
-- PUT
-- ALL
--
--
-- ALL is a special value that includes all of the listed HTTP
-- methods.
responseHeadersPolicyAccessControlAllowMethods_items :: Lens' ResponseHeadersPolicyAccessControlAllowMethods [ResponseHeadersPolicyAccessControlAllowMethodsValues]
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethods.ResponseHeadersPolicyAccessControlAllowMethods
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethods.ResponseHeadersPolicyAccessControlAllowMethods
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethods.ResponseHeadersPolicyAccessControlAllowMethods
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethods.ResponseHeadersPolicyAccessControlAllowMethods
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethods.ResponseHeadersPolicyAccessControlAllowMethods
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethods.ResponseHeadersPolicyAccessControlAllowMethods
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethods.ResponseHeadersPolicyAccessControlAllowMethods
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethods.ResponseHeadersPolicyAccessControlAllowMethods
module Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins
-- | A list of origins (domain names) that CloudFront can use as the value
-- for the Access-Control-Allow-Origin HTTP response header.
--
-- For more information about the Access-Control-Allow-Origin
-- HTTP response header, see Access-Control-Allow-Origin in the
-- MDN Web Docs.
--
-- See: newResponseHeadersPolicyAccessControlAllowOrigins
-- smart constructor.
data ResponseHeadersPolicyAccessControlAllowOrigins
ResponseHeadersPolicyAccessControlAllowOrigins' :: Int -> [Text] -> ResponseHeadersPolicyAccessControlAllowOrigins
-- | The number of origins in the list.
[$sel:quantity:ResponseHeadersPolicyAccessControlAllowOrigins'] :: ResponseHeadersPolicyAccessControlAllowOrigins -> Int
-- | The list of origins (domain names). You can specify * to
-- allow all origins.
[$sel:items:ResponseHeadersPolicyAccessControlAllowOrigins'] :: ResponseHeadersPolicyAccessControlAllowOrigins -> [Text]
-- | Create a value of
-- ResponseHeadersPolicyAccessControlAllowOrigins with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:ResponseHeadersPolicyAccessControlAllowOrigins',
-- responseHeadersPolicyAccessControlAllowOrigins_quantity - The
-- number of origins in the list.
--
-- $sel:items:ResponseHeadersPolicyAccessControlAllowOrigins',
-- responseHeadersPolicyAccessControlAllowOrigins_items - The list
-- of origins (domain names). You can specify * to allow all
-- origins.
newResponseHeadersPolicyAccessControlAllowOrigins :: Int -> ResponseHeadersPolicyAccessControlAllowOrigins
-- | The number of origins in the list.
responseHeadersPolicyAccessControlAllowOrigins_quantity :: Lens' ResponseHeadersPolicyAccessControlAllowOrigins Int
-- | The list of origins (domain names). You can specify * to
-- allow all origins.
responseHeadersPolicyAccessControlAllowOrigins_items :: Lens' ResponseHeadersPolicyAccessControlAllowOrigins [Text]
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins.ResponseHeadersPolicyAccessControlAllowOrigins
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins.ResponseHeadersPolicyAccessControlAllowOrigins
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins.ResponseHeadersPolicyAccessControlAllowOrigins
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins.ResponseHeadersPolicyAccessControlAllowOrigins
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins.ResponseHeadersPolicyAccessControlAllowOrigins
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins.ResponseHeadersPolicyAccessControlAllowOrigins
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins.ResponseHeadersPolicyAccessControlAllowOrigins
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins.ResponseHeadersPolicyAccessControlAllowOrigins
module Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlExposeHeaders
-- | A list of HTTP headers that CloudFront includes as values for the
-- Access-Control-Expose-Headers HTTP response header.
--
-- For more information about the Access-Control-Expose-Headers
-- HTTP response header, see Access-Control-Expose-Headers in the
-- MDN Web Docs.
--
-- See: newResponseHeadersPolicyAccessControlExposeHeaders
-- smart constructor.
data ResponseHeadersPolicyAccessControlExposeHeaders
ResponseHeadersPolicyAccessControlExposeHeaders' :: Maybe [Text] -> Int -> ResponseHeadersPolicyAccessControlExposeHeaders
-- | The list of HTTP headers. You can specify * to expose all
-- headers.
[$sel:items:ResponseHeadersPolicyAccessControlExposeHeaders'] :: ResponseHeadersPolicyAccessControlExposeHeaders -> Maybe [Text]
-- | The number of HTTP headers in the list.
[$sel:quantity:ResponseHeadersPolicyAccessControlExposeHeaders'] :: ResponseHeadersPolicyAccessControlExposeHeaders -> Int
-- | Create a value of
-- ResponseHeadersPolicyAccessControlExposeHeaders with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ResponseHeadersPolicyAccessControlExposeHeaders',
-- responseHeadersPolicyAccessControlExposeHeaders_items - The
-- list of HTTP headers. You can specify * to expose all
-- headers.
--
-- $sel:quantity:ResponseHeadersPolicyAccessControlExposeHeaders',
-- responseHeadersPolicyAccessControlExposeHeaders_quantity - The
-- number of HTTP headers in the list.
newResponseHeadersPolicyAccessControlExposeHeaders :: Int -> ResponseHeadersPolicyAccessControlExposeHeaders
-- | The list of HTTP headers. You can specify * to expose all
-- headers.
responseHeadersPolicyAccessControlExposeHeaders_items :: Lens' ResponseHeadersPolicyAccessControlExposeHeaders (Maybe [Text])
-- | The number of HTTP headers in the list.
responseHeadersPolicyAccessControlExposeHeaders_quantity :: Lens' ResponseHeadersPolicyAccessControlExposeHeaders Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlExposeHeaders.ResponseHeadersPolicyAccessControlExposeHeaders
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlExposeHeaders.ResponseHeadersPolicyAccessControlExposeHeaders
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlExposeHeaders.ResponseHeadersPolicyAccessControlExposeHeaders
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlExposeHeaders.ResponseHeadersPolicyAccessControlExposeHeaders
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlExposeHeaders.ResponseHeadersPolicyAccessControlExposeHeaders
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlExposeHeaders.ResponseHeadersPolicyAccessControlExposeHeaders
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlExposeHeaders.ResponseHeadersPolicyAccessControlExposeHeaders
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlExposeHeaders.ResponseHeadersPolicyAccessControlExposeHeaders
module Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy
-- | The policy directives and their values that CloudFront includes as
-- values for the Content-Security-Policy HTTP response header.
--
-- For more information about the Content-Security-Policy HTTP
-- response header, see Content-Security-Policy in the MDN Web
-- Docs.
--
-- See: newResponseHeadersPolicyContentSecurityPolicy smart
-- constructor.
data ResponseHeadersPolicyContentSecurityPolicy
ResponseHeadersPolicyContentSecurityPolicy' :: Bool -> Text -> ResponseHeadersPolicyContentSecurityPolicy
-- | A Boolean that determines whether CloudFront overrides the
-- Content-Security-Policy HTTP response header received from
-- the origin with the one specified in this response headers policy.
[$sel:override:ResponseHeadersPolicyContentSecurityPolicy'] :: ResponseHeadersPolicyContentSecurityPolicy -> Bool
-- | The policy directives and their values that CloudFront includes as
-- values for the Content-Security-Policy HTTP response header.
[$sel:contentSecurityPolicy:ResponseHeadersPolicyContentSecurityPolicy'] :: ResponseHeadersPolicyContentSecurityPolicy -> Text
-- | Create a value of ResponseHeadersPolicyContentSecurityPolicy
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:override:ResponseHeadersPolicyContentSecurityPolicy',
-- responseHeadersPolicyContentSecurityPolicy_override - A Boolean
-- that determines whether CloudFront overrides the
-- Content-Security-Policy HTTP response header received from
-- the origin with the one specified in this response headers policy.
--
--
-- $sel:contentSecurityPolicy:ResponseHeadersPolicyContentSecurityPolicy',
-- responseHeadersPolicyContentSecurityPolicy_contentSecurityPolicy
-- - The policy directives and their values that CloudFront includes as
-- values for the Content-Security-Policy HTTP response header.
newResponseHeadersPolicyContentSecurityPolicy :: Bool -> Text -> ResponseHeadersPolicyContentSecurityPolicy
-- | A Boolean that determines whether CloudFront overrides the
-- Content-Security-Policy HTTP response header received from
-- the origin with the one specified in this response headers policy.
responseHeadersPolicyContentSecurityPolicy_override :: Lens' ResponseHeadersPolicyContentSecurityPolicy Bool
-- | The policy directives and their values that CloudFront includes as
-- values for the Content-Security-Policy HTTP response header.
responseHeadersPolicyContentSecurityPolicy_contentSecurityPolicy :: Lens' ResponseHeadersPolicyContentSecurityPolicy Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy.ResponseHeadersPolicyContentSecurityPolicy
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy.ResponseHeadersPolicyContentSecurityPolicy
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy.ResponseHeadersPolicyContentSecurityPolicy
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy.ResponseHeadersPolicyContentSecurityPolicy
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy.ResponseHeadersPolicyContentSecurityPolicy
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy.ResponseHeadersPolicyContentSecurityPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy.ResponseHeadersPolicyContentSecurityPolicy
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy.ResponseHeadersPolicyContentSecurityPolicy
module Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions
-- | Determines whether CloudFront includes the
-- X-Content-Type-Options HTTP response header with its value
-- set to nosniff.
--
-- For more information about the X-Content-Type-Options HTTP
-- response header, see X-Content-Type-Options in the MDN Web
-- Docs.
--
-- See: newResponseHeadersPolicyContentTypeOptions smart
-- constructor.
data ResponseHeadersPolicyContentTypeOptions
ResponseHeadersPolicyContentTypeOptions' :: Bool -> ResponseHeadersPolicyContentTypeOptions
-- | A Boolean that determines whether CloudFront overrides the
-- X-Content-Type-Options HTTP response header received from the
-- origin with the one specified in this response headers policy.
[$sel:override:ResponseHeadersPolicyContentTypeOptions'] :: ResponseHeadersPolicyContentTypeOptions -> Bool
-- | Create a value of ResponseHeadersPolicyContentTypeOptions with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:override:ResponseHeadersPolicyContentTypeOptions',
-- responseHeadersPolicyContentTypeOptions_override - A Boolean
-- that determines whether CloudFront overrides the
-- X-Content-Type-Options HTTP response header received from the
-- origin with the one specified in this response headers policy.
newResponseHeadersPolicyContentTypeOptions :: Bool -> ResponseHeadersPolicyContentTypeOptions
-- | A Boolean that determines whether CloudFront overrides the
-- X-Content-Type-Options HTTP response header received from the
-- origin with the one specified in this response headers policy.
responseHeadersPolicyContentTypeOptions_override :: Lens' ResponseHeadersPolicyContentTypeOptions Bool
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions.ResponseHeadersPolicyContentTypeOptions
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions.ResponseHeadersPolicyContentTypeOptions
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions.ResponseHeadersPolicyContentTypeOptions
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions.ResponseHeadersPolicyContentTypeOptions
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions.ResponseHeadersPolicyContentTypeOptions
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions.ResponseHeadersPolicyContentTypeOptions
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions.ResponseHeadersPolicyContentTypeOptions
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions.ResponseHeadersPolicyContentTypeOptions
module Amazonka.CloudFront.Types.ResponseHeadersPolicyCorsConfig
-- | A configuration for a set of HTTP response headers that are used for
-- cross-origin resource sharing (CORS). CloudFront adds these headers to
-- HTTP responses that it sends for CORS requests that match a cache
-- behavior associated with this response headers policy.
--
-- For more information about CORS, see Cross-Origin Resource Sharing
-- (CORS) in the MDN Web Docs.
--
-- See: newResponseHeadersPolicyCorsConfig smart
-- constructor.
data ResponseHeadersPolicyCorsConfig
ResponseHeadersPolicyCorsConfig' :: Maybe ResponseHeadersPolicyAccessControlExposeHeaders -> Maybe Int -> ResponseHeadersPolicyAccessControlAllowOrigins -> ResponseHeadersPolicyAccessControlAllowHeaders -> ResponseHeadersPolicyAccessControlAllowMethods -> Bool -> Bool -> ResponseHeadersPolicyCorsConfig
-- | A list of HTTP headers that CloudFront includes as values for the
-- Access-Control-Expose-Headers HTTP response header.
--
-- For more information about the Access-Control-Expose-Headers
-- HTTP response header, see Access-Control-Expose-Headers in the
-- MDN Web Docs.
[$sel:accessControlExposeHeaders:ResponseHeadersPolicyCorsConfig'] :: ResponseHeadersPolicyCorsConfig -> Maybe ResponseHeadersPolicyAccessControlExposeHeaders
-- | A number that CloudFront uses as the value for the
-- Access-Control-Max-Age HTTP response header.
--
-- For more information about the Access-Control-Max-Age HTTP
-- response header, see Access-Control-Max-Age in the MDN Web
-- Docs.
[$sel:accessControlMaxAgeSec:ResponseHeadersPolicyCorsConfig'] :: ResponseHeadersPolicyCorsConfig -> Maybe Int
-- | A list of origins (domain names) that CloudFront can use as the value
-- for the Access-Control-Allow-Origin HTTP response header.
--
-- For more information about the Access-Control-Allow-Origin
-- HTTP response header, see Access-Control-Allow-Origin in the
-- MDN Web Docs.
[$sel:accessControlAllowOrigins:ResponseHeadersPolicyCorsConfig'] :: ResponseHeadersPolicyCorsConfig -> ResponseHeadersPolicyAccessControlAllowOrigins
-- | A list of HTTP header names that CloudFront includes as values for the
-- Access-Control-Allow-Headers HTTP response header.
--
-- For more information about the Access-Control-Allow-Headers
-- HTTP response header, see Access-Control-Allow-Headers in the
-- MDN Web Docs.
[$sel:accessControlAllowHeaders:ResponseHeadersPolicyCorsConfig'] :: ResponseHeadersPolicyCorsConfig -> ResponseHeadersPolicyAccessControlAllowHeaders
-- | A list of HTTP methods that CloudFront includes as values for the
-- Access-Control-Allow-Methods HTTP response header.
--
-- For more information about the Access-Control-Allow-Methods
-- HTTP response header, see Access-Control-Allow-Methods in the
-- MDN Web Docs.
[$sel:accessControlAllowMethods:ResponseHeadersPolicyCorsConfig'] :: ResponseHeadersPolicyCorsConfig -> ResponseHeadersPolicyAccessControlAllowMethods
-- | A Boolean that CloudFront uses as the value for the
-- Access-Control-Allow-Credentials HTTP response header.
--
-- For more information about the
-- Access-Control-Allow-Credentials HTTP response header, see
-- Access-Control-Allow-Credentials in the MDN Web Docs.
[$sel:accessControlAllowCredentials:ResponseHeadersPolicyCorsConfig'] :: ResponseHeadersPolicyCorsConfig -> Bool
-- | A Boolean that determines whether CloudFront overrides HTTP response
-- headers received from the origin with the ones specified in this
-- response headers policy.
[$sel:originOverride:ResponseHeadersPolicyCorsConfig'] :: ResponseHeadersPolicyCorsConfig -> Bool
-- | Create a value of ResponseHeadersPolicyCorsConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:accessControlExposeHeaders:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_accessControlExposeHeaders - A
-- list of HTTP headers that CloudFront includes as values for the
-- Access-Control-Expose-Headers HTTP response header.
--
-- For more information about the Access-Control-Expose-Headers
-- HTTP response header, see Access-Control-Expose-Headers in the
-- MDN Web Docs.
--
-- $sel:accessControlMaxAgeSec:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_accessControlMaxAgeSec - A
-- number that CloudFront uses as the value for the
-- Access-Control-Max-Age HTTP response header.
--
-- For more information about the Access-Control-Max-Age HTTP
-- response header, see Access-Control-Max-Age in the MDN Web
-- Docs.
--
--
-- $sel:accessControlAllowOrigins:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_accessControlAllowOrigins - A
-- list of origins (domain names) that CloudFront can use as the value
-- for the Access-Control-Allow-Origin HTTP response header.
--
-- For more information about the Access-Control-Allow-Origin
-- HTTP response header, see Access-Control-Allow-Origin in the
-- MDN Web Docs.
--
--
-- $sel:accessControlAllowHeaders:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_accessControlAllowHeaders - A
-- list of HTTP header names that CloudFront includes as values for the
-- Access-Control-Allow-Headers HTTP response header.
--
-- For more information about the Access-Control-Allow-Headers
-- HTTP response header, see Access-Control-Allow-Headers in the
-- MDN Web Docs.
--
--
-- $sel:accessControlAllowMethods:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_accessControlAllowMethods - A
-- list of HTTP methods that CloudFront includes as values for the
-- Access-Control-Allow-Methods HTTP response header.
--
-- For more information about the Access-Control-Allow-Methods
-- HTTP response header, see Access-Control-Allow-Methods in the
-- MDN Web Docs.
--
--
-- $sel:accessControlAllowCredentials:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_accessControlAllowCredentials -
-- A Boolean that CloudFront uses as the value for the
-- Access-Control-Allow-Credentials HTTP response header.
--
-- For more information about the
-- Access-Control-Allow-Credentials HTTP response header, see
-- Access-Control-Allow-Credentials in the MDN Web Docs.
--
-- $sel:originOverride:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_originOverride - A Boolean that
-- determines whether CloudFront overrides HTTP response headers received
-- from the origin with the ones specified in this response headers
-- policy.
newResponseHeadersPolicyCorsConfig :: ResponseHeadersPolicyAccessControlAllowOrigins -> ResponseHeadersPolicyAccessControlAllowHeaders -> ResponseHeadersPolicyAccessControlAllowMethods -> Bool -> Bool -> ResponseHeadersPolicyCorsConfig
-- | A list of HTTP headers that CloudFront includes as values for the
-- Access-Control-Expose-Headers HTTP response header.
--
-- For more information about the Access-Control-Expose-Headers
-- HTTP response header, see Access-Control-Expose-Headers in the
-- MDN Web Docs.
responseHeadersPolicyCorsConfig_accessControlExposeHeaders :: Lens' ResponseHeadersPolicyCorsConfig (Maybe ResponseHeadersPolicyAccessControlExposeHeaders)
-- | A number that CloudFront uses as the value for the
-- Access-Control-Max-Age HTTP response header.
--
-- For more information about the Access-Control-Max-Age HTTP
-- response header, see Access-Control-Max-Age in the MDN Web
-- Docs.
responseHeadersPolicyCorsConfig_accessControlMaxAgeSec :: Lens' ResponseHeadersPolicyCorsConfig (Maybe Int)
-- | A list of origins (domain names) that CloudFront can use as the value
-- for the Access-Control-Allow-Origin HTTP response header.
--
-- For more information about the Access-Control-Allow-Origin
-- HTTP response header, see Access-Control-Allow-Origin in the
-- MDN Web Docs.
responseHeadersPolicyCorsConfig_accessControlAllowOrigins :: Lens' ResponseHeadersPolicyCorsConfig ResponseHeadersPolicyAccessControlAllowOrigins
-- | A list of HTTP header names that CloudFront includes as values for the
-- Access-Control-Allow-Headers HTTP response header.
--
-- For more information about the Access-Control-Allow-Headers
-- HTTP response header, see Access-Control-Allow-Headers in the
-- MDN Web Docs.
responseHeadersPolicyCorsConfig_accessControlAllowHeaders :: Lens' ResponseHeadersPolicyCorsConfig ResponseHeadersPolicyAccessControlAllowHeaders
-- | A list of HTTP methods that CloudFront includes as values for the
-- Access-Control-Allow-Methods HTTP response header.
--
-- For more information about the Access-Control-Allow-Methods
-- HTTP response header, see Access-Control-Allow-Methods in the
-- MDN Web Docs.
responseHeadersPolicyCorsConfig_accessControlAllowMethods :: Lens' ResponseHeadersPolicyCorsConfig ResponseHeadersPolicyAccessControlAllowMethods
-- | A Boolean that CloudFront uses as the value for the
-- Access-Control-Allow-Credentials HTTP response header.
--
-- For more information about the
-- Access-Control-Allow-Credentials HTTP response header, see
-- Access-Control-Allow-Credentials in the MDN Web Docs.
responseHeadersPolicyCorsConfig_accessControlAllowCredentials :: Lens' ResponseHeadersPolicyCorsConfig Bool
-- | A Boolean that determines whether CloudFront overrides HTTP response
-- headers received from the origin with the ones specified in this
-- response headers policy.
responseHeadersPolicyCorsConfig_originOverride :: Lens' ResponseHeadersPolicyCorsConfig Bool
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyCorsConfig.ResponseHeadersPolicyCorsConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyCorsConfig.ResponseHeadersPolicyCorsConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyCorsConfig.ResponseHeadersPolicyCorsConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyCorsConfig.ResponseHeadersPolicyCorsConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyCorsConfig.ResponseHeadersPolicyCorsConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyCorsConfig.ResponseHeadersPolicyCorsConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyCorsConfig.ResponseHeadersPolicyCorsConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicyCorsConfig.ResponseHeadersPolicyCorsConfig
module Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader
-- | An HTTP response header name and its value. CloudFront includes this
-- header in HTTP responses that it sends for requests that match a cache
-- behavior that's associated with this response headers policy.
--
-- See: newResponseHeadersPolicyCustomHeader smart
-- constructor.
data ResponseHeadersPolicyCustomHeader
ResponseHeadersPolicyCustomHeader' :: Text -> Text -> Bool -> ResponseHeadersPolicyCustomHeader
-- | The HTTP response header name.
[$sel:header:ResponseHeadersPolicyCustomHeader'] :: ResponseHeadersPolicyCustomHeader -> Text
-- | The value for the HTTP response header.
[$sel:value:ResponseHeadersPolicyCustomHeader'] :: ResponseHeadersPolicyCustomHeader -> Text
-- | A Boolean that determines whether CloudFront overrides a response
-- header with the same name received from the origin with the header
-- specified here.
[$sel:override:ResponseHeadersPolicyCustomHeader'] :: ResponseHeadersPolicyCustomHeader -> Bool
-- | Create a value of ResponseHeadersPolicyCustomHeader with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:header:ResponseHeadersPolicyCustomHeader',
-- responseHeadersPolicyCustomHeader_header - The HTTP response
-- header name.
--
-- $sel:value:ResponseHeadersPolicyCustomHeader',
-- responseHeadersPolicyCustomHeader_value - The value for the
-- HTTP response header.
--
-- $sel:override:ResponseHeadersPolicyCustomHeader',
-- responseHeadersPolicyCustomHeader_override - A Boolean that
-- determines whether CloudFront overrides a response header with the
-- same name received from the origin with the header specified here.
newResponseHeadersPolicyCustomHeader :: Text -> Text -> Bool -> ResponseHeadersPolicyCustomHeader
-- | The HTTP response header name.
responseHeadersPolicyCustomHeader_header :: Lens' ResponseHeadersPolicyCustomHeader Text
-- | The value for the HTTP response header.
responseHeadersPolicyCustomHeader_value :: Lens' ResponseHeadersPolicyCustomHeader Text
-- | A Boolean that determines whether CloudFront overrides a response
-- header with the same name received from the origin with the header
-- specified here.
responseHeadersPolicyCustomHeader_override :: Lens' ResponseHeadersPolicyCustomHeader Bool
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader.ResponseHeadersPolicyCustomHeader
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader.ResponseHeadersPolicyCustomHeader
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader.ResponseHeadersPolicyCustomHeader
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader.ResponseHeadersPolicyCustomHeader
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader.ResponseHeadersPolicyCustomHeader
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader.ResponseHeadersPolicyCustomHeader
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader.ResponseHeadersPolicyCustomHeader
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader.ResponseHeadersPolicyCustomHeader
module Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig
-- | A list of HTTP response header names and their values. CloudFront
-- includes these headers in HTTP responses that it sends for requests
-- that match a cache behavior that's associated with this response
-- headers policy.
--
-- See: newResponseHeadersPolicyCustomHeadersConfig smart
-- constructor.
data ResponseHeadersPolicyCustomHeadersConfig
ResponseHeadersPolicyCustomHeadersConfig' :: Maybe [ResponseHeadersPolicyCustomHeader] -> Int -> ResponseHeadersPolicyCustomHeadersConfig
-- | The list of HTTP response headers and their values.
[$sel:items:ResponseHeadersPolicyCustomHeadersConfig'] :: ResponseHeadersPolicyCustomHeadersConfig -> Maybe [ResponseHeadersPolicyCustomHeader]
-- | The number of HTTP response headers in the list.
[$sel:quantity:ResponseHeadersPolicyCustomHeadersConfig'] :: ResponseHeadersPolicyCustomHeadersConfig -> Int
-- | Create a value of ResponseHeadersPolicyCustomHeadersConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ResponseHeadersPolicyCustomHeadersConfig',
-- responseHeadersPolicyCustomHeadersConfig_items - The list of
-- HTTP response headers and their values.
--
-- $sel:quantity:ResponseHeadersPolicyCustomHeadersConfig',
-- responseHeadersPolicyCustomHeadersConfig_quantity - The number
-- of HTTP response headers in the list.
newResponseHeadersPolicyCustomHeadersConfig :: Int -> ResponseHeadersPolicyCustomHeadersConfig
-- | The list of HTTP response headers and their values.
responseHeadersPolicyCustomHeadersConfig_items :: Lens' ResponseHeadersPolicyCustomHeadersConfig (Maybe [ResponseHeadersPolicyCustomHeader])
-- | The number of HTTP response headers in the list.
responseHeadersPolicyCustomHeadersConfig_quantity :: Lens' ResponseHeadersPolicyCustomHeadersConfig Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig.ResponseHeadersPolicyCustomHeadersConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig.ResponseHeadersPolicyCustomHeadersConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig.ResponseHeadersPolicyCustomHeadersConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig.ResponseHeadersPolicyCustomHeadersConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig.ResponseHeadersPolicyCustomHeadersConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig.ResponseHeadersPolicyCustomHeadersConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig.ResponseHeadersPolicyCustomHeadersConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig.ResponseHeadersPolicyCustomHeadersConfig
module Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions
-- | Determines whether CloudFront includes the X-Frame-Options
-- HTTP response header and the header's value.
--
-- For more information about the X-Frame-Options HTTP response
-- header, see X-Frame-Options in the MDN Web Docs.
--
-- See: newResponseHeadersPolicyFrameOptions smart
-- constructor.
data ResponseHeadersPolicyFrameOptions
ResponseHeadersPolicyFrameOptions' :: Bool -> FrameOptionsList -> ResponseHeadersPolicyFrameOptions
-- | A Boolean that determines whether CloudFront overrides the
-- X-Frame-Options HTTP response header received from the origin
-- with the one specified in this response headers policy.
[$sel:override:ResponseHeadersPolicyFrameOptions'] :: ResponseHeadersPolicyFrameOptions -> Bool
-- | The value of the X-Frame-Options HTTP response header. Valid
-- values are DENY and SAMEORIGIN.
--
-- For more information about these values, see X-Frame-Options in
-- the MDN Web Docs.
[$sel:frameOption:ResponseHeadersPolicyFrameOptions'] :: ResponseHeadersPolicyFrameOptions -> FrameOptionsList
-- | Create a value of ResponseHeadersPolicyFrameOptions with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:override:ResponseHeadersPolicyFrameOptions',
-- responseHeadersPolicyFrameOptions_override - A Boolean that
-- determines whether CloudFront overrides the X-Frame-Options
-- HTTP response header received from the origin with the one specified
-- in this response headers policy.
--
-- $sel:frameOption:ResponseHeadersPolicyFrameOptions',
-- responseHeadersPolicyFrameOptions_frameOption - The value of
-- the X-Frame-Options HTTP response header. Valid values are
-- DENY and SAMEORIGIN.
--
-- For more information about these values, see X-Frame-Options in
-- the MDN Web Docs.
newResponseHeadersPolicyFrameOptions :: Bool -> FrameOptionsList -> ResponseHeadersPolicyFrameOptions
-- | A Boolean that determines whether CloudFront overrides the
-- X-Frame-Options HTTP response header received from the origin
-- with the one specified in this response headers policy.
responseHeadersPolicyFrameOptions_override :: Lens' ResponseHeadersPolicyFrameOptions Bool
-- | The value of the X-Frame-Options HTTP response header. Valid
-- values are DENY and SAMEORIGIN.
--
-- For more information about these values, see X-Frame-Options in
-- the MDN Web Docs.
responseHeadersPolicyFrameOptions_frameOption :: Lens' ResponseHeadersPolicyFrameOptions FrameOptionsList
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions.ResponseHeadersPolicyFrameOptions
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions.ResponseHeadersPolicyFrameOptions
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions.ResponseHeadersPolicyFrameOptions
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions.ResponseHeadersPolicyFrameOptions
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions.ResponseHeadersPolicyFrameOptions
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions.ResponseHeadersPolicyFrameOptions
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions.ResponseHeadersPolicyFrameOptions
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions.ResponseHeadersPolicyFrameOptions
module Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy
-- | Determines whether CloudFront includes the Referrer-Policy
-- HTTP response header and the header's value.
--
-- For more information about the Referrer-Policy HTTP response
-- header, see Referrer-Policy in the MDN Web Docs.
--
-- See: newResponseHeadersPolicyReferrerPolicy smart
-- constructor.
data ResponseHeadersPolicyReferrerPolicy
ResponseHeadersPolicyReferrerPolicy' :: Bool -> ReferrerPolicyList -> ResponseHeadersPolicyReferrerPolicy
-- | A Boolean that determines whether CloudFront overrides the
-- Referrer-Policy HTTP response header received from the origin
-- with the one specified in this response headers policy.
[$sel:override:ResponseHeadersPolicyReferrerPolicy'] :: ResponseHeadersPolicyReferrerPolicy -> Bool
-- | The value of the Referrer-Policy HTTP response header. Valid
-- values are:
--
--
--
-- For more information about these values, see Referrer-Policy in
-- the MDN Web Docs.
[$sel:referrerPolicy:ResponseHeadersPolicyReferrerPolicy'] :: ResponseHeadersPolicyReferrerPolicy -> ReferrerPolicyList
-- | Create a value of ResponseHeadersPolicyReferrerPolicy with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:override:ResponseHeadersPolicyReferrerPolicy',
-- responseHeadersPolicyReferrerPolicy_override - A Boolean that
-- determines whether CloudFront overrides the Referrer-Policy
-- HTTP response header received from the origin with the one specified
-- in this response headers policy.
--
-- $sel:referrerPolicy:ResponseHeadersPolicyReferrerPolicy',
-- responseHeadersPolicyReferrerPolicy_referrerPolicy - The value
-- of the Referrer-Policy HTTP response header. Valid values
-- are:
--
--
--
-- For more information about these values, see Referrer-Policy in
-- the MDN Web Docs.
newResponseHeadersPolicyReferrerPolicy :: Bool -> ReferrerPolicyList -> ResponseHeadersPolicyReferrerPolicy
-- | A Boolean that determines whether CloudFront overrides the
-- Referrer-Policy HTTP response header received from the origin
-- with the one specified in this response headers policy.
responseHeadersPolicyReferrerPolicy_override :: Lens' ResponseHeadersPolicyReferrerPolicy Bool
-- | The value of the Referrer-Policy HTTP response header. Valid
-- values are:
--
--
--
-- For more information about these values, see Referrer-Policy in
-- the MDN Web Docs.
responseHeadersPolicyReferrerPolicy_referrerPolicy :: Lens' ResponseHeadersPolicyReferrerPolicy ReferrerPolicyList
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy.ResponseHeadersPolicyReferrerPolicy
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy.ResponseHeadersPolicyReferrerPolicy
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy.ResponseHeadersPolicyReferrerPolicy
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy.ResponseHeadersPolicyReferrerPolicy
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy.ResponseHeadersPolicyReferrerPolicy
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy.ResponseHeadersPolicyReferrerPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy.ResponseHeadersPolicyReferrerPolicy
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy.ResponseHeadersPolicyReferrerPolicy
module Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeader
-- | The name of an HTTP header that CloudFront removes from HTTP responses
-- to requests that match the cache behavior that this response headers
-- policy is attached to.
--
-- See: newResponseHeadersPolicyRemoveHeader smart
-- constructor.
data ResponseHeadersPolicyRemoveHeader
ResponseHeadersPolicyRemoveHeader' :: Text -> ResponseHeadersPolicyRemoveHeader
-- | The HTTP header name.
[$sel:header:ResponseHeadersPolicyRemoveHeader'] :: ResponseHeadersPolicyRemoveHeader -> Text
-- | Create a value of ResponseHeadersPolicyRemoveHeader with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:header:ResponseHeadersPolicyRemoveHeader',
-- responseHeadersPolicyRemoveHeader_header - The HTTP header
-- name.
newResponseHeadersPolicyRemoveHeader :: Text -> ResponseHeadersPolicyRemoveHeader
-- | The HTTP header name.
responseHeadersPolicyRemoveHeader_header :: Lens' ResponseHeadersPolicyRemoveHeader Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeader.ResponseHeadersPolicyRemoveHeader
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeader.ResponseHeadersPolicyRemoveHeader
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeader.ResponseHeadersPolicyRemoveHeader
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeader.ResponseHeadersPolicyRemoveHeader
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeader.ResponseHeadersPolicyRemoveHeader
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeader.ResponseHeadersPolicyRemoveHeader
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeader.ResponseHeadersPolicyRemoveHeader
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeader.ResponseHeadersPolicyRemoveHeader
module Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeadersConfig
-- | A list of HTTP header names that CloudFront removes from HTTP
-- responses to requests that match the cache behavior that this response
-- headers policy is attached to.
--
-- See: newResponseHeadersPolicyRemoveHeadersConfig smart
-- constructor.
data ResponseHeadersPolicyRemoveHeadersConfig
ResponseHeadersPolicyRemoveHeadersConfig' :: Maybe [ResponseHeadersPolicyRemoveHeader] -> Int -> ResponseHeadersPolicyRemoveHeadersConfig
-- | The list of HTTP header names.
[$sel:items:ResponseHeadersPolicyRemoveHeadersConfig'] :: ResponseHeadersPolicyRemoveHeadersConfig -> Maybe [ResponseHeadersPolicyRemoveHeader]
-- | The number of HTTP header names in the list.
[$sel:quantity:ResponseHeadersPolicyRemoveHeadersConfig'] :: ResponseHeadersPolicyRemoveHeadersConfig -> Int
-- | Create a value of ResponseHeadersPolicyRemoveHeadersConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ResponseHeadersPolicyRemoveHeadersConfig',
-- responseHeadersPolicyRemoveHeadersConfig_items - The list of
-- HTTP header names.
--
-- $sel:quantity:ResponseHeadersPolicyRemoveHeadersConfig',
-- responseHeadersPolicyRemoveHeadersConfig_quantity - The number
-- of HTTP header names in the list.
newResponseHeadersPolicyRemoveHeadersConfig :: Int -> ResponseHeadersPolicyRemoveHeadersConfig
-- | The list of HTTP header names.
responseHeadersPolicyRemoveHeadersConfig_items :: Lens' ResponseHeadersPolicyRemoveHeadersConfig (Maybe [ResponseHeadersPolicyRemoveHeader])
-- | The number of HTTP header names in the list.
responseHeadersPolicyRemoveHeadersConfig_quantity :: Lens' ResponseHeadersPolicyRemoveHeadersConfig Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeadersConfig.ResponseHeadersPolicyRemoveHeadersConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeadersConfig.ResponseHeadersPolicyRemoveHeadersConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeadersConfig.ResponseHeadersPolicyRemoveHeadersConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeadersConfig.ResponseHeadersPolicyRemoveHeadersConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeadersConfig.ResponseHeadersPolicyRemoveHeadersConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeadersConfig.ResponseHeadersPolicyRemoveHeadersConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeadersConfig.ResponseHeadersPolicyRemoveHeadersConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeadersConfig.ResponseHeadersPolicyRemoveHeadersConfig
module Amazonka.CloudFront.Types.ResponseHeadersPolicyServerTimingHeadersConfig
-- | A configuration for enabling the Server-Timing header in HTTP
-- responses sent from CloudFront. CloudFront adds this header to HTTP
-- responses that it sends in response to requests that match a cache
-- behavior that's associated with this response headers policy.
--
-- You can use the Server-Timing header to view metrics that can
-- help you gain insights about the behavior and performance of
-- CloudFront. For example, you can see which cache layer served a cache
-- hit, or the first byte latency from the origin when there was a cache
-- miss. You can use the metrics in the Server-Timing header to
-- troubleshoot issues or test the efficiency of your CloudFront
-- configuration. For more information, see Server-Timing header
-- in the Amazon CloudFront Developer Guide.
--
-- See: newResponseHeadersPolicyServerTimingHeadersConfig
-- smart constructor.
data ResponseHeadersPolicyServerTimingHeadersConfig
ResponseHeadersPolicyServerTimingHeadersConfig' :: Maybe Double -> Bool -> ResponseHeadersPolicyServerTimingHeadersConfig
-- | A number 0–100 (inclusive) that specifies the percentage of responses
-- that you want CloudFront to add the Server-Timing header to.
-- When you set the sampling rate to 100, CloudFront adds the
-- Server-Timing header to the HTTP response for every request
-- that matches the cache behavior that this response headers policy is
-- attached to. When you set it to 50, CloudFront adds the header to 50%
-- of the responses for requests that match the cache behavior. You can
-- set the sampling rate to any number 0–100 with up to four decimal
-- places.
[$sel:samplingRate:ResponseHeadersPolicyServerTimingHeadersConfig'] :: ResponseHeadersPolicyServerTimingHeadersConfig -> Maybe Double
-- | A Boolean that determines whether CloudFront adds the
-- Server-Timing header to HTTP responses that it sends in
-- response to requests that match a cache behavior that's associated
-- with this response headers policy.
[$sel:enabled:ResponseHeadersPolicyServerTimingHeadersConfig'] :: ResponseHeadersPolicyServerTimingHeadersConfig -> Bool
-- | Create a value of
-- ResponseHeadersPolicyServerTimingHeadersConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:samplingRate:ResponseHeadersPolicyServerTimingHeadersConfig',
-- responseHeadersPolicyServerTimingHeadersConfig_samplingRate - A
-- number 0–100 (inclusive) that specifies the percentage of responses
-- that you want CloudFront to add the Server-Timing header to.
-- When you set the sampling rate to 100, CloudFront adds the
-- Server-Timing header to the HTTP response for every request
-- that matches the cache behavior that this response headers policy is
-- attached to. When you set it to 50, CloudFront adds the header to 50%
-- of the responses for requests that match the cache behavior. You can
-- set the sampling rate to any number 0–100 with up to four decimal
-- places.
--
-- $sel:enabled:ResponseHeadersPolicyServerTimingHeadersConfig',
-- responseHeadersPolicyServerTimingHeadersConfig_enabled - A
-- Boolean that determines whether CloudFront adds the
-- Server-Timing header to HTTP responses that it sends in
-- response to requests that match a cache behavior that's associated
-- with this response headers policy.
newResponseHeadersPolicyServerTimingHeadersConfig :: Bool -> ResponseHeadersPolicyServerTimingHeadersConfig
-- | A number 0–100 (inclusive) that specifies the percentage of responses
-- that you want CloudFront to add the Server-Timing header to.
-- When you set the sampling rate to 100, CloudFront adds the
-- Server-Timing header to the HTTP response for every request
-- that matches the cache behavior that this response headers policy is
-- attached to. When you set it to 50, CloudFront adds the header to 50%
-- of the responses for requests that match the cache behavior. You can
-- set the sampling rate to any number 0–100 with up to four decimal
-- places.
responseHeadersPolicyServerTimingHeadersConfig_samplingRate :: Lens' ResponseHeadersPolicyServerTimingHeadersConfig (Maybe Double)
-- | A Boolean that determines whether CloudFront adds the
-- Server-Timing header to HTTP responses that it sends in
-- response to requests that match a cache behavior that's associated
-- with this response headers policy.
responseHeadersPolicyServerTimingHeadersConfig_enabled :: Lens' ResponseHeadersPolicyServerTimingHeadersConfig Bool
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyServerTimingHeadersConfig.ResponseHeadersPolicyServerTimingHeadersConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyServerTimingHeadersConfig.ResponseHeadersPolicyServerTimingHeadersConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyServerTimingHeadersConfig.ResponseHeadersPolicyServerTimingHeadersConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyServerTimingHeadersConfig.ResponseHeadersPolicyServerTimingHeadersConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyServerTimingHeadersConfig.ResponseHeadersPolicyServerTimingHeadersConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyServerTimingHeadersConfig.ResponseHeadersPolicyServerTimingHeadersConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyServerTimingHeadersConfig.ResponseHeadersPolicyServerTimingHeadersConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicyServerTimingHeadersConfig.ResponseHeadersPolicyServerTimingHeadersConfig
module Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity
-- | Determines whether CloudFront includes the
-- Strict-Transport-Security HTTP response header and the
-- header's value.
--
-- For more information about the Strict-Transport-Security HTTP
-- response header, see Strict-Transport-Security in the MDN Web
-- Docs.
--
-- See: newResponseHeadersPolicyStrictTransportSecurity
-- smart constructor.
data ResponseHeadersPolicyStrictTransportSecurity
ResponseHeadersPolicyStrictTransportSecurity' :: Maybe Bool -> Maybe Bool -> Bool -> Int -> ResponseHeadersPolicyStrictTransportSecurity
-- | A Boolean that determines whether CloudFront includes the
-- includeSubDomains directive in the
-- Strict-Transport-Security HTTP response header.
[$sel:includeSubdomains:ResponseHeadersPolicyStrictTransportSecurity'] :: ResponseHeadersPolicyStrictTransportSecurity -> Maybe Bool
-- | A Boolean that determines whether CloudFront includes the
-- preload directive in the Strict-Transport-Security
-- HTTP response header.
[$sel:preload:ResponseHeadersPolicyStrictTransportSecurity'] :: ResponseHeadersPolicyStrictTransportSecurity -> Maybe Bool
-- | A Boolean that determines whether CloudFront overrides the
-- Strict-Transport-Security HTTP response header received from
-- the origin with the one specified in this response headers policy.
[$sel:override:ResponseHeadersPolicyStrictTransportSecurity'] :: ResponseHeadersPolicyStrictTransportSecurity -> Bool
-- | A number that CloudFront uses as the value for the max-age
-- directive in the Strict-Transport-Security HTTP response
-- header.
[$sel:accessControlMaxAgeSec:ResponseHeadersPolicyStrictTransportSecurity'] :: ResponseHeadersPolicyStrictTransportSecurity -> Int
-- | Create a value of ResponseHeadersPolicyStrictTransportSecurity
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:includeSubdomains:ResponseHeadersPolicyStrictTransportSecurity',
-- responseHeadersPolicyStrictTransportSecurity_includeSubdomains
-- - A Boolean that determines whether CloudFront includes the
-- includeSubDomains directive in the
-- Strict-Transport-Security HTTP response header.
--
-- $sel:preload:ResponseHeadersPolicyStrictTransportSecurity',
-- responseHeadersPolicyStrictTransportSecurity_preload - A
-- Boolean that determines whether CloudFront includes the
-- preload directive in the Strict-Transport-Security
-- HTTP response header.
--
-- $sel:override:ResponseHeadersPolicyStrictTransportSecurity',
-- responseHeadersPolicyStrictTransportSecurity_override - A
-- Boolean that determines whether CloudFront overrides the
-- Strict-Transport-Security HTTP response header received from
-- the origin with the one specified in this response headers policy.
--
--
-- $sel:accessControlMaxAgeSec:ResponseHeadersPolicyStrictTransportSecurity',
-- responseHeadersPolicyStrictTransportSecurity_accessControlMaxAgeSec
-- - A number that CloudFront uses as the value for the max-age
-- directive in the Strict-Transport-Security HTTP response
-- header.
newResponseHeadersPolicyStrictTransportSecurity :: Bool -> Int -> ResponseHeadersPolicyStrictTransportSecurity
-- | A Boolean that determines whether CloudFront includes the
-- includeSubDomains directive in the
-- Strict-Transport-Security HTTP response header.
responseHeadersPolicyStrictTransportSecurity_includeSubdomains :: Lens' ResponseHeadersPolicyStrictTransportSecurity (Maybe Bool)
-- | A Boolean that determines whether CloudFront includes the
-- preload directive in the Strict-Transport-Security
-- HTTP response header.
responseHeadersPolicyStrictTransportSecurity_preload :: Lens' ResponseHeadersPolicyStrictTransportSecurity (Maybe Bool)
-- | A Boolean that determines whether CloudFront overrides the
-- Strict-Transport-Security HTTP response header received from
-- the origin with the one specified in this response headers policy.
responseHeadersPolicyStrictTransportSecurity_override :: Lens' ResponseHeadersPolicyStrictTransportSecurity Bool
-- | A number that CloudFront uses as the value for the max-age
-- directive in the Strict-Transport-Security HTTP response
-- header.
responseHeadersPolicyStrictTransportSecurity_accessControlMaxAgeSec :: Lens' ResponseHeadersPolicyStrictTransportSecurity Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity.ResponseHeadersPolicyStrictTransportSecurity
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity.ResponseHeadersPolicyStrictTransportSecurity
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity.ResponseHeadersPolicyStrictTransportSecurity
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity.ResponseHeadersPolicyStrictTransportSecurity
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity.ResponseHeadersPolicyStrictTransportSecurity
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity.ResponseHeadersPolicyStrictTransportSecurity
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity.ResponseHeadersPolicyStrictTransportSecurity
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity.ResponseHeadersPolicyStrictTransportSecurity
module Amazonka.CloudFront.Types.ResponseHeadersPolicyType
newtype ResponseHeadersPolicyType
ResponseHeadersPolicyType' :: Text -> ResponseHeadersPolicyType
[fromResponseHeadersPolicyType] :: ResponseHeadersPolicyType -> Text
pattern ResponseHeadersPolicyType_Custom :: ResponseHeadersPolicyType
pattern ResponseHeadersPolicyType_Managed :: ResponseHeadersPolicyType
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicyType.ResponseHeadersPolicyType
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyType.ResponseHeadersPolicyType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.ResponseHeadersPolicyType.ResponseHeadersPolicyType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.ResponseHeadersPolicyType.ResponseHeadersPolicyType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.ResponseHeadersPolicyType.ResponseHeadersPolicyType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.ResponseHeadersPolicyType.ResponseHeadersPolicyType
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.ResponseHeadersPolicyType.ResponseHeadersPolicyType
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.ResponseHeadersPolicyType.ResponseHeadersPolicyType
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.ResponseHeadersPolicyType.ResponseHeadersPolicyType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.ResponseHeadersPolicyType.ResponseHeadersPolicyType
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.ResponseHeadersPolicyType.ResponseHeadersPolicyType
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.ResponseHeadersPolicyType.ResponseHeadersPolicyType
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyType.ResponseHeadersPolicyType
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyType.ResponseHeadersPolicyType
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyType.ResponseHeadersPolicyType
instance GHC.Classes.Ord Amazonka.CloudFront.Types.ResponseHeadersPolicyType.ResponseHeadersPolicyType
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyType.ResponseHeadersPolicyType
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyType.ResponseHeadersPolicyType
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyType.ResponseHeadersPolicyType
module Amazonka.CloudFront.Types.ResponseHeadersPolicyXSSProtection
-- | Determines whether CloudFront includes the X-XSS-Protection
-- HTTP response header and the header's value.
--
-- For more information about the X-XSS-Protection HTTP response
-- header, see X-XSS-Protection in the MDN Web Docs.
--
-- See: newResponseHeadersPolicyXSSProtection smart
-- constructor.
data ResponseHeadersPolicyXSSProtection
ResponseHeadersPolicyXSSProtection' :: Maybe Bool -> Maybe Text -> Bool -> Bool -> ResponseHeadersPolicyXSSProtection
-- | A Boolean that determines whether CloudFront includes the
-- mode=block directive in the X-XSS-Protection header.
--
-- For more information about this directive, see X-XSS-Protection
-- in the MDN Web Docs.
[$sel:modeBlock:ResponseHeadersPolicyXSSProtection'] :: ResponseHeadersPolicyXSSProtection -> Maybe Bool
-- | A reporting URI, which CloudFront uses as the value of the
-- report directive in the X-XSS-Protection header.
--
-- You cannot specify a ReportUri when ModeBlock is
-- true.
--
-- For more information about using a reporting URL, see
-- X-XSS-Protection in the MDN Web Docs.
[$sel:reportUri:ResponseHeadersPolicyXSSProtection'] :: ResponseHeadersPolicyXSSProtection -> Maybe Text
-- | A Boolean that determines whether CloudFront overrides the
-- X-XSS-Protection HTTP response header received from the
-- origin with the one specified in this response headers policy.
[$sel:override:ResponseHeadersPolicyXSSProtection'] :: ResponseHeadersPolicyXSSProtection -> Bool
-- | A Boolean that determines the value of the X-XSS-Protection
-- HTTP response header. When this setting is true, the value of
-- the X-XSS-Protection header is 1. When this setting
-- is false, the value of the X-XSS-Protection header
-- is 0.
--
-- For more information about these settings, see X-XSS-Protection
-- in the MDN Web Docs.
[$sel:protection:ResponseHeadersPolicyXSSProtection'] :: ResponseHeadersPolicyXSSProtection -> Bool
-- | Create a value of ResponseHeadersPolicyXSSProtection with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:modeBlock:ResponseHeadersPolicyXSSProtection',
-- responseHeadersPolicyXSSProtection_modeBlock - A Boolean that
-- determines whether CloudFront includes the mode=block
-- directive in the X-XSS-Protection header.
--
-- For more information about this directive, see X-XSS-Protection
-- in the MDN Web Docs.
--
-- $sel:reportUri:ResponseHeadersPolicyXSSProtection',
-- responseHeadersPolicyXSSProtection_reportUri - A reporting URI,
-- which CloudFront uses as the value of the report directive in
-- the X-XSS-Protection header.
--
-- You cannot specify a ReportUri when ModeBlock is
-- true.
--
-- For more information about using a reporting URL, see
-- X-XSS-Protection in the MDN Web Docs.
--
-- $sel:override:ResponseHeadersPolicyXSSProtection',
-- responseHeadersPolicyXSSProtection_override - A Boolean that
-- determines whether CloudFront overrides the X-XSS-Protection
-- HTTP response header received from the origin with the one specified
-- in this response headers policy.
--
-- $sel:protection:ResponseHeadersPolicyXSSProtection',
-- responseHeadersPolicyXSSProtection_protection - A Boolean that
-- determines the value of the X-XSS-Protection HTTP response
-- header. When this setting is true, the value of the
-- X-XSS-Protection header is 1. When this setting is
-- false, the value of the X-XSS-Protection header is
-- 0.
--
-- For more information about these settings, see X-XSS-Protection
-- in the MDN Web Docs.
newResponseHeadersPolicyXSSProtection :: Bool -> Bool -> ResponseHeadersPolicyXSSProtection
-- | A Boolean that determines whether CloudFront includes the
-- mode=block directive in the X-XSS-Protection header.
--
-- For more information about this directive, see X-XSS-Protection
-- in the MDN Web Docs.
responseHeadersPolicyXSSProtection_modeBlock :: Lens' ResponseHeadersPolicyXSSProtection (Maybe Bool)
-- | A reporting URI, which CloudFront uses as the value of the
-- report directive in the X-XSS-Protection header.
--
-- You cannot specify a ReportUri when ModeBlock is
-- true.
--
-- For more information about using a reporting URL, see
-- X-XSS-Protection in the MDN Web Docs.
responseHeadersPolicyXSSProtection_reportUri :: Lens' ResponseHeadersPolicyXSSProtection (Maybe Text)
-- | A Boolean that determines whether CloudFront overrides the
-- X-XSS-Protection HTTP response header received from the
-- origin with the one specified in this response headers policy.
responseHeadersPolicyXSSProtection_override :: Lens' ResponseHeadersPolicyXSSProtection Bool
-- | A Boolean that determines the value of the X-XSS-Protection
-- HTTP response header. When this setting is true, the value of
-- the X-XSS-Protection header is 1. When this setting
-- is false, the value of the X-XSS-Protection header
-- is 0.
--
-- For more information about these settings, see X-XSS-Protection
-- in the MDN Web Docs.
responseHeadersPolicyXSSProtection_protection :: Lens' ResponseHeadersPolicyXSSProtection Bool
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyXSSProtection.ResponseHeadersPolicyXSSProtection
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyXSSProtection.ResponseHeadersPolicyXSSProtection
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyXSSProtection.ResponseHeadersPolicyXSSProtection
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyXSSProtection.ResponseHeadersPolicyXSSProtection
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyXSSProtection.ResponseHeadersPolicyXSSProtection
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyXSSProtection.ResponseHeadersPolicyXSSProtection
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyXSSProtection.ResponseHeadersPolicyXSSProtection
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicyXSSProtection.ResponseHeadersPolicyXSSProtection
module Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig
-- | A configuration for a set of security-related HTTP response headers.
-- CloudFront adds these headers to HTTP responses that it sends for
-- requests that match a cache behavior associated with this response
-- headers policy.
--
-- See: newResponseHeadersPolicySecurityHeadersConfig smart
-- constructor.
data ResponseHeadersPolicySecurityHeadersConfig
ResponseHeadersPolicySecurityHeadersConfig' :: Maybe ResponseHeadersPolicyContentSecurityPolicy -> Maybe ResponseHeadersPolicyContentTypeOptions -> Maybe ResponseHeadersPolicyFrameOptions -> Maybe ResponseHeadersPolicyReferrerPolicy -> Maybe ResponseHeadersPolicyStrictTransportSecurity -> Maybe ResponseHeadersPolicyXSSProtection -> ResponseHeadersPolicySecurityHeadersConfig
-- | The policy directives and their values that CloudFront includes as
-- values for the Content-Security-Policy HTTP response header.
--
-- For more information about the Content-Security-Policy HTTP
-- response header, see Content-Security-Policy in the MDN Web
-- Docs.
[$sel:contentSecurityPolicy:ResponseHeadersPolicySecurityHeadersConfig'] :: ResponseHeadersPolicySecurityHeadersConfig -> Maybe ResponseHeadersPolicyContentSecurityPolicy
-- | Determines whether CloudFront includes the
-- X-Content-Type-Options HTTP response header with its value
-- set to nosniff.
--
-- For more information about the X-Content-Type-Options HTTP
-- response header, see X-Content-Type-Options in the MDN Web
-- Docs.
[$sel:contentTypeOptions:ResponseHeadersPolicySecurityHeadersConfig'] :: ResponseHeadersPolicySecurityHeadersConfig -> Maybe ResponseHeadersPolicyContentTypeOptions
-- | Determines whether CloudFront includes the X-Frame-Options
-- HTTP response header and the header's value.
--
-- For more information about the X-Frame-Options HTTP response
-- header, see X-Frame-Options in the MDN Web Docs.
[$sel:frameOptions:ResponseHeadersPolicySecurityHeadersConfig'] :: ResponseHeadersPolicySecurityHeadersConfig -> Maybe ResponseHeadersPolicyFrameOptions
-- | Determines whether CloudFront includes the Referrer-Policy
-- HTTP response header and the header's value.
--
-- For more information about the Referrer-Policy HTTP response
-- header, see Referrer-Policy in the MDN Web Docs.
[$sel:referrerPolicy:ResponseHeadersPolicySecurityHeadersConfig'] :: ResponseHeadersPolicySecurityHeadersConfig -> Maybe ResponseHeadersPolicyReferrerPolicy
-- | Determines whether CloudFront includes the
-- Strict-Transport-Security HTTP response header and the
-- header's value.
--
-- For more information about the Strict-Transport-Security HTTP
-- response header, see Strict-Transport-Security in the MDN Web
-- Docs.
[$sel:strictTransportSecurity:ResponseHeadersPolicySecurityHeadersConfig'] :: ResponseHeadersPolicySecurityHeadersConfig -> Maybe ResponseHeadersPolicyStrictTransportSecurity
-- | Determines whether CloudFront includes the X-XSS-Protection
-- HTTP response header and the header's value.
--
-- For more information about the X-XSS-Protection HTTP response
-- header, see X-XSS-Protection in the MDN Web Docs.
[$sel:xSSProtection:ResponseHeadersPolicySecurityHeadersConfig'] :: ResponseHeadersPolicySecurityHeadersConfig -> Maybe ResponseHeadersPolicyXSSProtection
-- | Create a value of ResponseHeadersPolicySecurityHeadersConfig
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ResponseHeadersPolicySecurityHeadersConfig,
-- responseHeadersPolicySecurityHeadersConfig_contentSecurityPolicy
-- - The policy directives and their values that CloudFront includes as
-- values for the Content-Security-Policy HTTP response header.
--
-- For more information about the Content-Security-Policy HTTP
-- response header, see Content-Security-Policy in the MDN Web
-- Docs.
--
--
-- $sel:contentTypeOptions:ResponseHeadersPolicySecurityHeadersConfig',
-- responseHeadersPolicySecurityHeadersConfig_contentTypeOptions -
-- Determines whether CloudFront includes the
-- X-Content-Type-Options HTTP response header with its value
-- set to nosniff.
--
-- For more information about the X-Content-Type-Options HTTP
-- response header, see X-Content-Type-Options in the MDN Web
-- Docs.
--
-- $sel:frameOptions:ResponseHeadersPolicySecurityHeadersConfig',
-- responseHeadersPolicySecurityHeadersConfig_frameOptions -
-- Determines whether CloudFront includes the X-Frame-Options
-- HTTP response header and the header's value.
--
-- For more information about the X-Frame-Options HTTP response
-- header, see X-Frame-Options in the MDN Web Docs.
--
-- ResponseHeadersPolicySecurityHeadersConfig,
-- responseHeadersPolicySecurityHeadersConfig_referrerPolicy -
-- Determines whether CloudFront includes the Referrer-Policy
-- HTTP response header and the header's value.
--
-- For more information about the Referrer-Policy HTTP response
-- header, see Referrer-Policy in the MDN Web Docs.
--
--
-- $sel:strictTransportSecurity:ResponseHeadersPolicySecurityHeadersConfig',
-- responseHeadersPolicySecurityHeadersConfig_strictTransportSecurity
-- - Determines whether CloudFront includes the
-- Strict-Transport-Security HTTP response header and the
-- header's value.
--
-- For more information about the Strict-Transport-Security HTTP
-- response header, see Strict-Transport-Security in the MDN Web
-- Docs.
--
-- $sel:xSSProtection:ResponseHeadersPolicySecurityHeadersConfig',
-- responseHeadersPolicySecurityHeadersConfig_xSSProtection -
-- Determines whether CloudFront includes the X-XSS-Protection
-- HTTP response header and the header's value.
--
-- For more information about the X-XSS-Protection HTTP response
-- header, see X-XSS-Protection in the MDN Web Docs.
newResponseHeadersPolicySecurityHeadersConfig :: ResponseHeadersPolicySecurityHeadersConfig
-- | The policy directives and their values that CloudFront includes as
-- values for the Content-Security-Policy HTTP response header.
--
-- For more information about the Content-Security-Policy HTTP
-- response header, see Content-Security-Policy in the MDN Web
-- Docs.
responseHeadersPolicySecurityHeadersConfig_contentSecurityPolicy :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyContentSecurityPolicy)
-- | Determines whether CloudFront includes the
-- X-Content-Type-Options HTTP response header with its value
-- set to nosniff.
--
-- For more information about the X-Content-Type-Options HTTP
-- response header, see X-Content-Type-Options in the MDN Web
-- Docs.
responseHeadersPolicySecurityHeadersConfig_contentTypeOptions :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyContentTypeOptions)
-- | Determines whether CloudFront includes the X-Frame-Options
-- HTTP response header and the header's value.
--
-- For more information about the X-Frame-Options HTTP response
-- header, see X-Frame-Options in the MDN Web Docs.
responseHeadersPolicySecurityHeadersConfig_frameOptions :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyFrameOptions)
-- | Determines whether CloudFront includes the Referrer-Policy
-- HTTP response header and the header's value.
--
-- For more information about the Referrer-Policy HTTP response
-- header, see Referrer-Policy in the MDN Web Docs.
responseHeadersPolicySecurityHeadersConfig_referrerPolicy :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyReferrerPolicy)
-- | Determines whether CloudFront includes the
-- Strict-Transport-Security HTTP response header and the
-- header's value.
--
-- For more information about the Strict-Transport-Security HTTP
-- response header, see Strict-Transport-Security in the MDN Web
-- Docs.
responseHeadersPolicySecurityHeadersConfig_strictTransportSecurity :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyStrictTransportSecurity)
-- | Determines whether CloudFront includes the X-XSS-Protection
-- HTTP response header and the header's value.
--
-- For more information about the X-XSS-Protection HTTP response
-- header, see X-XSS-Protection in the MDN Web Docs.
responseHeadersPolicySecurityHeadersConfig_xSSProtection :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyXSSProtection)
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig.ResponseHeadersPolicySecurityHeadersConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig.ResponseHeadersPolicySecurityHeadersConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig.ResponseHeadersPolicySecurityHeadersConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig.ResponseHeadersPolicySecurityHeadersConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig.ResponseHeadersPolicySecurityHeadersConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig.ResponseHeadersPolicySecurityHeadersConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig.ResponseHeadersPolicySecurityHeadersConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig.ResponseHeadersPolicySecurityHeadersConfig
module Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig
-- | A response headers policy configuration.
--
-- A response headers policy configuration contains metadata about the
-- response headers policy, and configurations for sets of HTTP response
-- headers.
--
-- See: newResponseHeadersPolicyConfig smart constructor.
data ResponseHeadersPolicyConfig
ResponseHeadersPolicyConfig' :: Maybe Text -> Maybe ResponseHeadersPolicyCorsConfig -> Maybe ResponseHeadersPolicyCustomHeadersConfig -> Maybe ResponseHeadersPolicyRemoveHeadersConfig -> Maybe ResponseHeadersPolicySecurityHeadersConfig -> Maybe ResponseHeadersPolicyServerTimingHeadersConfig -> Text -> ResponseHeadersPolicyConfig
-- | A comment to describe the response headers policy.
--
-- The comment cannot be longer than 128 characters.
[$sel:comment:ResponseHeadersPolicyConfig'] :: ResponseHeadersPolicyConfig -> Maybe Text
-- | A configuration for a set of HTTP response headers that are used for
-- cross-origin resource sharing (CORS).
[$sel:corsConfig:ResponseHeadersPolicyConfig'] :: ResponseHeadersPolicyConfig -> Maybe ResponseHeadersPolicyCorsConfig
-- | A configuration for a set of custom HTTP response headers.
[$sel:customHeadersConfig:ResponseHeadersPolicyConfig'] :: ResponseHeadersPolicyConfig -> Maybe ResponseHeadersPolicyCustomHeadersConfig
-- | A configuration for a set of HTTP headers to remove from the HTTP
-- response.
[$sel:removeHeadersConfig:ResponseHeadersPolicyConfig'] :: ResponseHeadersPolicyConfig -> Maybe ResponseHeadersPolicyRemoveHeadersConfig
-- | A configuration for a set of security-related HTTP response headers.
[$sel:securityHeadersConfig:ResponseHeadersPolicyConfig'] :: ResponseHeadersPolicyConfig -> Maybe ResponseHeadersPolicySecurityHeadersConfig
-- | A configuration for enabling the Server-Timing header in HTTP
-- responses sent from CloudFront.
[$sel:serverTimingHeadersConfig:ResponseHeadersPolicyConfig'] :: ResponseHeadersPolicyConfig -> Maybe ResponseHeadersPolicyServerTimingHeadersConfig
-- | A name to identify the response headers policy.
--
-- The name must be unique for response headers policies in this Amazon
-- Web Services account.
[$sel:name:ResponseHeadersPolicyConfig'] :: ResponseHeadersPolicyConfig -> Text
-- | Create a value of ResponseHeadersPolicyConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_comment - A comment to describe the
-- response headers policy.
--
-- The comment cannot be longer than 128 characters.
--
-- $sel:corsConfig:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_corsConfig - A configuration for a
-- set of HTTP response headers that are used for cross-origin resource
-- sharing (CORS).
--
-- $sel:customHeadersConfig:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_customHeadersConfig - A
-- configuration for a set of custom HTTP response headers.
--
-- $sel:removeHeadersConfig:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_removeHeadersConfig - A
-- configuration for a set of HTTP headers to remove from the HTTP
-- response.
--
-- $sel:securityHeadersConfig:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_securityHeadersConfig - A
-- configuration for a set of security-related HTTP response headers.
--
-- $sel:serverTimingHeadersConfig:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_serverTimingHeadersConfig - A
-- configuration for enabling the Server-Timing header in HTTP
-- responses sent from CloudFront.
--
-- $sel:name:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_name - A name to identify the
-- response headers policy.
--
-- The name must be unique for response headers policies in this Amazon
-- Web Services account.
newResponseHeadersPolicyConfig :: Text -> ResponseHeadersPolicyConfig
-- | A comment to describe the response headers policy.
--
-- The comment cannot be longer than 128 characters.
responseHeadersPolicyConfig_comment :: Lens' ResponseHeadersPolicyConfig (Maybe Text)
-- | A configuration for a set of HTTP response headers that are used for
-- cross-origin resource sharing (CORS).
responseHeadersPolicyConfig_corsConfig :: Lens' ResponseHeadersPolicyConfig (Maybe ResponseHeadersPolicyCorsConfig)
-- | A configuration for a set of custom HTTP response headers.
responseHeadersPolicyConfig_customHeadersConfig :: Lens' ResponseHeadersPolicyConfig (Maybe ResponseHeadersPolicyCustomHeadersConfig)
-- | A configuration for a set of HTTP headers to remove from the HTTP
-- response.
responseHeadersPolicyConfig_removeHeadersConfig :: Lens' ResponseHeadersPolicyConfig (Maybe ResponseHeadersPolicyRemoveHeadersConfig)
-- | A configuration for a set of security-related HTTP response headers.
responseHeadersPolicyConfig_securityHeadersConfig :: Lens' ResponseHeadersPolicyConfig (Maybe ResponseHeadersPolicySecurityHeadersConfig)
-- | A configuration for enabling the Server-Timing header in HTTP
-- responses sent from CloudFront.
responseHeadersPolicyConfig_serverTimingHeadersConfig :: Lens' ResponseHeadersPolicyConfig (Maybe ResponseHeadersPolicyServerTimingHeadersConfig)
-- | A name to identify the response headers policy.
--
-- The name must be unique for response headers policies in this Amazon
-- Web Services account.
responseHeadersPolicyConfig_name :: Lens' ResponseHeadersPolicyConfig Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig.ResponseHeadersPolicyConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig.ResponseHeadersPolicyConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig.ResponseHeadersPolicyConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig.ResponseHeadersPolicyConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig.ResponseHeadersPolicyConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig.ResponseHeadersPolicyConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig.ResponseHeadersPolicyConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig.ResponseHeadersPolicyConfig
module Amazonka.CloudFront.Types.ResponseHeadersPolicy
-- | A response headers policy.
--
-- A response headers policy contains information about a set of HTTP
-- response headers.
--
-- After you create a response headers policy, you can use its ID to
-- attach it to one or more cache behaviors in a CloudFront distribution.
-- When it's attached to a cache behavior, the response headers policy
-- affects the HTTP headers that CloudFront includes in HTTP responses to
-- requests that match the cache behavior. CloudFront adds or removes
-- response headers according to the configuration of the response
-- headers policy.
--
-- For more information, see Adding or removing HTTP headers in
-- CloudFront responses in the Amazon CloudFront Developer
-- Guide.
--
-- See: newResponseHeadersPolicy smart constructor.
data ResponseHeadersPolicy
ResponseHeadersPolicy' :: Text -> ISO8601 -> ResponseHeadersPolicyConfig -> ResponseHeadersPolicy
-- | The identifier for the response headers policy.
[$sel:id:ResponseHeadersPolicy'] :: ResponseHeadersPolicy -> Text
-- | The date and time when the response headers policy was last modified.
[$sel:lastModifiedTime:ResponseHeadersPolicy'] :: ResponseHeadersPolicy -> ISO8601
-- | A response headers policy configuration.
[$sel:responseHeadersPolicyConfig:ResponseHeadersPolicy'] :: ResponseHeadersPolicy -> ResponseHeadersPolicyConfig
-- | Create a value of ResponseHeadersPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:ResponseHeadersPolicy', responseHeadersPolicy_id
-- - The identifier for the response headers policy.
--
-- $sel:lastModifiedTime:ResponseHeadersPolicy',
-- responseHeadersPolicy_lastModifiedTime - The date and time when
-- the response headers policy was last modified.
--
-- $sel:responseHeadersPolicyConfig:ResponseHeadersPolicy',
-- responseHeadersPolicy_responseHeadersPolicyConfig - A response
-- headers policy configuration.
newResponseHeadersPolicy :: Text -> UTCTime -> ResponseHeadersPolicyConfig -> ResponseHeadersPolicy
-- | The identifier for the response headers policy.
responseHeadersPolicy_id :: Lens' ResponseHeadersPolicy Text
-- | The date and time when the response headers policy was last modified.
responseHeadersPolicy_lastModifiedTime :: Lens' ResponseHeadersPolicy UTCTime
-- | A response headers policy configuration.
responseHeadersPolicy_responseHeadersPolicyConfig :: Lens' ResponseHeadersPolicy ResponseHeadersPolicyConfig
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicy.ResponseHeadersPolicy
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicy.ResponseHeadersPolicy
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicy.ResponseHeadersPolicy
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicy.ResponseHeadersPolicy
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicy.ResponseHeadersPolicy
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicy.ResponseHeadersPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicy.ResponseHeadersPolicy
module Amazonka.CloudFront.Types.ResponseHeadersPolicySummary
-- | Contains a response headers policy.
--
-- See: newResponseHeadersPolicySummary smart constructor.
data ResponseHeadersPolicySummary
ResponseHeadersPolicySummary' :: ResponseHeadersPolicyType -> ResponseHeadersPolicy -> ResponseHeadersPolicySummary
-- | The type of response headers policy, either managed (created
-- by Amazon Web Services) or custom (created in this Amazon Web
-- Services account).
[$sel:type':ResponseHeadersPolicySummary'] :: ResponseHeadersPolicySummary -> ResponseHeadersPolicyType
-- | The response headers policy.
[$sel:responseHeadersPolicy:ResponseHeadersPolicySummary'] :: ResponseHeadersPolicySummary -> ResponseHeadersPolicy
-- | Create a value of ResponseHeadersPolicySummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':ResponseHeadersPolicySummary',
-- responseHeadersPolicySummary_type - The type of response
-- headers policy, either managed (created by Amazon Web
-- Services) or custom (created in this Amazon Web Services
-- account).
--
-- $sel:responseHeadersPolicy:ResponseHeadersPolicySummary',
-- responseHeadersPolicySummary_responseHeadersPolicy - The
-- response headers policy.
newResponseHeadersPolicySummary :: ResponseHeadersPolicyType -> ResponseHeadersPolicy -> ResponseHeadersPolicySummary
-- | The type of response headers policy, either managed (created
-- by Amazon Web Services) or custom (created in this Amazon Web
-- Services account).
responseHeadersPolicySummary_type :: Lens' ResponseHeadersPolicySummary ResponseHeadersPolicyType
-- | The response headers policy.
responseHeadersPolicySummary_responseHeadersPolicy :: Lens' ResponseHeadersPolicySummary ResponseHeadersPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicySummary.ResponseHeadersPolicySummary
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicySummary.ResponseHeadersPolicySummary
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicySummary.ResponseHeadersPolicySummary
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicySummary.ResponseHeadersPolicySummary
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicySummary.ResponseHeadersPolicySummary
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicySummary.ResponseHeadersPolicySummary
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicySummary.ResponseHeadersPolicySummary
module Amazonka.CloudFront.Types.ResponseHeadersPolicyList
-- | A list of response headers policies.
--
-- See: newResponseHeadersPolicyList smart constructor.
data ResponseHeadersPolicyList
ResponseHeadersPolicyList' :: Maybe [ResponseHeadersPolicySummary] -> Maybe Text -> Int -> Int -> ResponseHeadersPolicyList
-- | The response headers policies in the list.
[$sel:items:ResponseHeadersPolicyList'] :: ResponseHeadersPolicyList -> Maybe [ResponseHeadersPolicySummary]
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- response headers policies where you left off.
[$sel:nextMarker:ResponseHeadersPolicyList'] :: ResponseHeadersPolicyList -> Maybe Text
-- | The maximum number of response headers policies requested.
[$sel:maxItems:ResponseHeadersPolicyList'] :: ResponseHeadersPolicyList -> Int
-- | The number of response headers policies returned.
[$sel:quantity:ResponseHeadersPolicyList'] :: ResponseHeadersPolicyList -> Int
-- | Create a value of ResponseHeadersPolicyList with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ResponseHeadersPolicyList',
-- responseHeadersPolicyList_items - The response headers policies
-- in the list.
--
-- $sel:nextMarker:ResponseHeadersPolicyList',
-- responseHeadersPolicyList_nextMarker - If there are more items
-- in the list than are in this response, this element is present. It
-- contains the value that you should use in the Marker field of
-- a subsequent request to continue listing response headers policies
-- where you left off.
--
-- $sel:maxItems:ResponseHeadersPolicyList',
-- responseHeadersPolicyList_maxItems - The maximum number of
-- response headers policies requested.
--
-- $sel:quantity:ResponseHeadersPolicyList',
-- responseHeadersPolicyList_quantity - The number of response
-- headers policies returned.
newResponseHeadersPolicyList :: Int -> Int -> ResponseHeadersPolicyList
-- | The response headers policies in the list.
responseHeadersPolicyList_items :: Lens' ResponseHeadersPolicyList (Maybe [ResponseHeadersPolicySummary])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- response headers policies where you left off.
responseHeadersPolicyList_nextMarker :: Lens' ResponseHeadersPolicyList (Maybe Text)
-- | The maximum number of response headers policies requested.
responseHeadersPolicyList_maxItems :: Lens' ResponseHeadersPolicyList Int
-- | The number of response headers policies returned.
responseHeadersPolicyList_quantity :: Lens' ResponseHeadersPolicyList Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ResponseHeadersPolicyList.ResponseHeadersPolicyList
instance GHC.Show.Show Amazonka.CloudFront.Types.ResponseHeadersPolicyList.ResponseHeadersPolicyList
instance GHC.Read.Read Amazonka.CloudFront.Types.ResponseHeadersPolicyList.ResponseHeadersPolicyList
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ResponseHeadersPolicyList.ResponseHeadersPolicyList
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ResponseHeadersPolicyList.ResponseHeadersPolicyList
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ResponseHeadersPolicyList.ResponseHeadersPolicyList
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ResponseHeadersPolicyList.ResponseHeadersPolicyList
module Amazonka.CloudFront.Types.Restrictions
-- | A complex type that identifies ways in which you want to restrict
-- distribution of your content.
--
-- See: newRestrictions smart constructor.
data Restrictions
Restrictions' :: GeoRestriction -> Restrictions
-- | A complex type that controls the countries in which your content is
-- distributed. CloudFront determines the location of your users using
-- MaxMind GeoIP databases.
[$sel:geoRestriction:Restrictions'] :: Restrictions -> GeoRestriction
-- | Create a value of Restrictions with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:geoRestriction:Restrictions',
-- restrictions_geoRestriction - A complex type that controls the
-- countries in which your content is distributed. CloudFront determines
-- the location of your users using MaxMind GeoIP databases.
newRestrictions :: GeoRestriction -> Restrictions
-- | A complex type that controls the countries in which your content is
-- distributed. CloudFront determines the location of your users using
-- MaxMind GeoIP databases.
restrictions_geoRestriction :: Lens' Restrictions GeoRestriction
instance GHC.Generics.Generic Amazonka.CloudFront.Types.Restrictions.Restrictions
instance GHC.Show.Show Amazonka.CloudFront.Types.Restrictions.Restrictions
instance GHC.Read.Read Amazonka.CloudFront.Types.Restrictions.Restrictions
instance GHC.Classes.Eq Amazonka.CloudFront.Types.Restrictions.Restrictions
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.Restrictions.Restrictions
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.Restrictions.Restrictions
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.Restrictions.Restrictions
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.Restrictions.Restrictions
module Amazonka.CloudFront.Types.S3Origin
-- | A complex type that contains information about the Amazon S3 bucket
-- from which you want CloudFront to get your media files for
-- distribution.
--
-- See: newS3Origin smart constructor.
data S3Origin
S3Origin' :: Text -> Text -> S3Origin
-- | The DNS name of the Amazon S3 origin.
[$sel:domainName:S3Origin'] :: S3Origin -> Text
-- | The CloudFront origin access identity to associate with the
-- distribution. Use an origin access identity to configure the
-- distribution so that end users can only access objects in an Amazon S3
-- bucket through CloudFront.
--
-- If you want end users to be able to access objects using either the
-- CloudFront URL or the Amazon S3 URL, specify an empty
-- OriginAccessIdentity element.
--
-- To delete the origin access identity from an existing distribution,
-- update the distribution configuration and include an empty
-- OriginAccessIdentity element.
--
-- To replace the origin access identity, update the distribution
-- configuration and specify the new origin access identity.
--
-- For more information, see Using an Origin Access Identity to
-- Restrict Access to Your Amazon S3 Content in the Amazon
-- CloudFront Developer Guide.
[$sel:originAccessIdentity:S3Origin'] :: S3Origin -> Text
-- | Create a value of S3Origin with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:domainName:S3Origin', s3Origin_domainName - The DNS
-- name of the Amazon S3 origin.
--
-- $sel:originAccessIdentity:S3Origin',
-- s3Origin_originAccessIdentity - The CloudFront origin access
-- identity to associate with the distribution. Use an origin access
-- identity to configure the distribution so that end users can only
-- access objects in an Amazon S3 bucket through CloudFront.
--
-- If you want end users to be able to access objects using either the
-- CloudFront URL or the Amazon S3 URL, specify an empty
-- OriginAccessIdentity element.
--
-- To delete the origin access identity from an existing distribution,
-- update the distribution configuration and include an empty
-- OriginAccessIdentity element.
--
-- To replace the origin access identity, update the distribution
-- configuration and specify the new origin access identity.
--
-- For more information, see Using an Origin Access Identity to
-- Restrict Access to Your Amazon S3 Content in the Amazon
-- CloudFront Developer Guide.
newS3Origin :: Text -> Text -> S3Origin
-- | The DNS name of the Amazon S3 origin.
s3Origin_domainName :: Lens' S3Origin Text
-- | The CloudFront origin access identity to associate with the
-- distribution. Use an origin access identity to configure the
-- distribution so that end users can only access objects in an Amazon S3
-- bucket through CloudFront.
--
-- If you want end users to be able to access objects using either the
-- CloudFront URL or the Amazon S3 URL, specify an empty
-- OriginAccessIdentity element.
--
-- To delete the origin access identity from an existing distribution,
-- update the distribution configuration and include an empty
-- OriginAccessIdentity element.
--
-- To replace the origin access identity, update the distribution
-- configuration and specify the new origin access identity.
--
-- For more information, see Using an Origin Access Identity to
-- Restrict Access to Your Amazon S3 Content in the Amazon
-- CloudFront Developer Guide.
s3Origin_originAccessIdentity :: Lens' S3Origin Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.S3Origin.S3Origin
instance GHC.Show.Show Amazonka.CloudFront.Types.S3Origin.S3Origin
instance GHC.Read.Read Amazonka.CloudFront.Types.S3Origin.S3Origin
instance GHC.Classes.Eq Amazonka.CloudFront.Types.S3Origin.S3Origin
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.S3Origin.S3Origin
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.S3Origin.S3Origin
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.S3Origin.S3Origin
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.S3Origin.S3Origin
module Amazonka.CloudFront.Types.S3OriginConfig
-- | A complex type that contains information about the Amazon S3 origin.
-- If the origin is a custom origin or an S3 bucket that is configured as
-- a website endpoint, use the CustomOriginConfig element
-- instead.
--
-- See: newS3OriginConfig smart constructor.
data S3OriginConfig
S3OriginConfig' :: Text -> S3OriginConfig
-- | The CloudFront origin access identity to associate with the origin.
-- Use an origin access identity to configure the origin so that viewers
-- can only access objects in an Amazon S3 bucket through
-- CloudFront. The format of the value is:
--
-- origin-access-identity/cloudfront/ID-of-origin-access-identity
--
-- where ID-of-origin-access-identity
-- is the value that CloudFront returned in the ID element when
-- you created the origin access identity.
--
-- If you want viewers to be able to access objects using either the
-- CloudFront URL or the Amazon S3 URL, specify an empty
-- OriginAccessIdentity element.
--
-- To delete the origin access identity from an existing distribution,
-- update the distribution configuration and include an empty
-- OriginAccessIdentity element.
--
-- To replace the origin access identity, update the distribution
-- configuration and specify the new origin access identity.
--
-- For more information about the origin access identity, see Serving
-- Private Content through CloudFront in the Amazon CloudFront
-- Developer Guide.
[$sel:originAccessIdentity:S3OriginConfig'] :: S3OriginConfig -> Text
-- | Create a value of S3OriginConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:originAccessIdentity:S3OriginConfig',
-- s3OriginConfig_originAccessIdentity - The CloudFront origin
-- access identity to associate with the origin. Use an origin access
-- identity to configure the origin so that viewers can only
-- access objects in an Amazon S3 bucket through CloudFront. The format
-- of the value is:
--
-- origin-access-identity/cloudfront/ID-of-origin-access-identity
--
-- where ID-of-origin-access-identity
-- is the value that CloudFront returned in the ID element when
-- you created the origin access identity.
--
-- If you want viewers to be able to access objects using either the
-- CloudFront URL or the Amazon S3 URL, specify an empty
-- OriginAccessIdentity element.
--
-- To delete the origin access identity from an existing distribution,
-- update the distribution configuration and include an empty
-- OriginAccessIdentity element.
--
-- To replace the origin access identity, update the distribution
-- configuration and specify the new origin access identity.
--
-- For more information about the origin access identity, see Serving
-- Private Content through CloudFront in the Amazon CloudFront
-- Developer Guide.
newS3OriginConfig :: Text -> S3OriginConfig
-- | The CloudFront origin access identity to associate with the origin.
-- Use an origin access identity to configure the origin so that viewers
-- can only access objects in an Amazon S3 bucket through
-- CloudFront. The format of the value is:
--
-- origin-access-identity/cloudfront/ID-of-origin-access-identity
--
-- where ID-of-origin-access-identity
-- is the value that CloudFront returned in the ID element when
-- you created the origin access identity.
--
-- If you want viewers to be able to access objects using either the
-- CloudFront URL or the Amazon S3 URL, specify an empty
-- OriginAccessIdentity element.
--
-- To delete the origin access identity from an existing distribution,
-- update the distribution configuration and include an empty
-- OriginAccessIdentity element.
--
-- To replace the origin access identity, update the distribution
-- configuration and specify the new origin access identity.
--
-- For more information about the origin access identity, see Serving
-- Private Content through CloudFront in the Amazon CloudFront
-- Developer Guide.
s3OriginConfig_originAccessIdentity :: Lens' S3OriginConfig Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.S3OriginConfig.S3OriginConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.S3OriginConfig.S3OriginConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.S3OriginConfig.S3OriginConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.S3OriginConfig.S3OriginConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.S3OriginConfig.S3OriginConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.S3OriginConfig.S3OriginConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.S3OriginConfig.S3OriginConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.S3OriginConfig.S3OriginConfig
module Amazonka.CloudFront.Types.SSLSupportMethod
newtype SSLSupportMethod
SSLSupportMethod' :: Text -> SSLSupportMethod
[fromSSLSupportMethod] :: SSLSupportMethod -> Text
pattern SSLSupportMethod_Sni_only :: SSLSupportMethod
pattern SSLSupportMethod_Static_ip :: SSLSupportMethod
pattern SSLSupportMethod_Vip :: SSLSupportMethod
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.SSLSupportMethod.SSLSupportMethod
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.SSLSupportMethod.SSLSupportMethod
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.SSLSupportMethod.SSLSupportMethod
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.SSLSupportMethod.SSLSupportMethod
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.SSLSupportMethod.SSLSupportMethod
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.SSLSupportMethod.SSLSupportMethod
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.SSLSupportMethod.SSLSupportMethod
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.SSLSupportMethod.SSLSupportMethod
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.SSLSupportMethod.SSLSupportMethod
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.SSLSupportMethod.SSLSupportMethod
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.SSLSupportMethod.SSLSupportMethod
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.SSLSupportMethod.SSLSupportMethod
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.SSLSupportMethod.SSLSupportMethod
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.SSLSupportMethod.SSLSupportMethod
instance GHC.Generics.Generic Amazonka.CloudFront.Types.SSLSupportMethod.SSLSupportMethod
instance GHC.Classes.Ord Amazonka.CloudFront.Types.SSLSupportMethod.SSLSupportMethod
instance GHC.Classes.Eq Amazonka.CloudFront.Types.SSLSupportMethod.SSLSupportMethod
instance GHC.Read.Read Amazonka.CloudFront.Types.SSLSupportMethod.SSLSupportMethod
instance GHC.Show.Show Amazonka.CloudFront.Types.SSLSupportMethod.SSLSupportMethod
module Amazonka.CloudFront.Types.SessionStickinessConfig
-- | Session stickiness provides the ability to define multiple requests
-- from a single viewer as a single session. This prevents the
-- potentially inconsistent experience of sending some of a given user's
-- requests to your staging distribution, while others are sent to your
-- primary distribution. Define the session duration using TTL values.
--
-- See: newSessionStickinessConfig smart constructor.
data SessionStickinessConfig
SessionStickinessConfig' :: Int -> Int -> SessionStickinessConfig
-- | The amount of time after which you want sessions to cease if no
-- requests are received. Allowed values are 300–3600 seconds (5–60
-- minutes).
--
-- The value must be less than or equal to MaximumTTL.
[$sel:idleTTL:SessionStickinessConfig'] :: SessionStickinessConfig -> Int
-- | The maximum amount of time to consider requests from the viewer as
-- being part of the same session. Allowed values are 300–3600 seconds
-- (5–60 minutes).
--
-- The value must be less than or equal to IdleTTL.
[$sel:maximumTTL:SessionStickinessConfig'] :: SessionStickinessConfig -> Int
-- | Create a value of SessionStickinessConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:idleTTL:SessionStickinessConfig',
-- sessionStickinessConfig_idleTTL - The amount of time after
-- which you want sessions to cease if no requests are received. Allowed
-- values are 300–3600 seconds (5–60 minutes).
--
-- The value must be less than or equal to MaximumTTL.
--
-- $sel:maximumTTL:SessionStickinessConfig',
-- sessionStickinessConfig_maximumTTL - The maximum amount of time
-- to consider requests from the viewer as being part of the same
-- session. Allowed values are 300–3600 seconds (5–60 minutes).
--
-- The value must be less than or equal to IdleTTL.
newSessionStickinessConfig :: Int -> Int -> SessionStickinessConfig
-- | The amount of time after which you want sessions to cease if no
-- requests are received. Allowed values are 300–3600 seconds (5–60
-- minutes).
--
-- The value must be less than or equal to MaximumTTL.
sessionStickinessConfig_idleTTL :: Lens' SessionStickinessConfig Int
-- | The maximum amount of time to consider requests from the viewer as
-- being part of the same session. Allowed values are 300–3600 seconds
-- (5–60 minutes).
--
-- The value must be less than or equal to IdleTTL.
sessionStickinessConfig_maximumTTL :: Lens' SessionStickinessConfig Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.SessionStickinessConfig.SessionStickinessConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.SessionStickinessConfig.SessionStickinessConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.SessionStickinessConfig.SessionStickinessConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.SessionStickinessConfig.SessionStickinessConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.SessionStickinessConfig.SessionStickinessConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.SessionStickinessConfig.SessionStickinessConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.SessionStickinessConfig.SessionStickinessConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.SessionStickinessConfig.SessionStickinessConfig
module Amazonka.CloudFront.Types.ContinuousDeploymentSingleWeightConfig
-- | Contains the percentage of traffic to send to a staging distribution.
--
-- See: newContinuousDeploymentSingleWeightConfig smart
-- constructor.
data ContinuousDeploymentSingleWeightConfig
ContinuousDeploymentSingleWeightConfig' :: Maybe SessionStickinessConfig -> Double -> ContinuousDeploymentSingleWeightConfig
[$sel:sessionStickinessConfig:ContinuousDeploymentSingleWeightConfig'] :: ContinuousDeploymentSingleWeightConfig -> Maybe SessionStickinessConfig
-- | The percentage of traffic to send to a staging distribution, expressed
-- as a decimal number between 0 and .15.
[$sel:weight:ContinuousDeploymentSingleWeightConfig'] :: ContinuousDeploymentSingleWeightConfig -> Double
-- | Create a value of ContinuousDeploymentSingleWeightConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:sessionStickinessConfig:ContinuousDeploymentSingleWeightConfig',
-- continuousDeploymentSingleWeightConfig_sessionStickinessConfig
-- - Undocumented member.
--
-- $sel:weight:ContinuousDeploymentSingleWeightConfig',
-- continuousDeploymentSingleWeightConfig_weight - The percentage
-- of traffic to send to a staging distribution, expressed as a decimal
-- number between 0 and .15.
newContinuousDeploymentSingleWeightConfig :: Double -> ContinuousDeploymentSingleWeightConfig
-- | Undocumented member.
continuousDeploymentSingleWeightConfig_sessionStickinessConfig :: Lens' ContinuousDeploymentSingleWeightConfig (Maybe SessionStickinessConfig)
-- | The percentage of traffic to send to a staging distribution, expressed
-- as a decimal number between 0 and .15.
continuousDeploymentSingleWeightConfig_weight :: Lens' ContinuousDeploymentSingleWeightConfig Double
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ContinuousDeploymentSingleWeightConfig.ContinuousDeploymentSingleWeightConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.ContinuousDeploymentSingleWeightConfig.ContinuousDeploymentSingleWeightConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.ContinuousDeploymentSingleWeightConfig.ContinuousDeploymentSingleWeightConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ContinuousDeploymentSingleWeightConfig.ContinuousDeploymentSingleWeightConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ContinuousDeploymentSingleWeightConfig.ContinuousDeploymentSingleWeightConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ContinuousDeploymentSingleWeightConfig.ContinuousDeploymentSingleWeightConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ContinuousDeploymentSingleWeightConfig.ContinuousDeploymentSingleWeightConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ContinuousDeploymentSingleWeightConfig.ContinuousDeploymentSingleWeightConfig
module Amazonka.CloudFront.Types.Signer
-- | A list of Amazon Web Services accounts and the active CloudFront key
-- pairs in each account that CloudFront can use to verify the signatures
-- of signed URLs and signed cookies.
--
-- See: newSigner smart constructor.
data Signer
Signer' :: Maybe Text -> Maybe KeyPairIds -> Signer
-- | An Amazon Web Services account number that contains active CloudFront
-- key pairs that CloudFront can use to verify the signatures of signed
-- URLs and signed cookies. If the Amazon Web Services account that owns
-- the key pairs is the same account that owns the CloudFront
-- distribution, the value of this field is self.
[$sel:awsAccountNumber:Signer'] :: Signer -> Maybe Text
-- | A list of CloudFront key pair identifiers.
[$sel:keyPairIds:Signer'] :: Signer -> Maybe KeyPairIds
-- | Create a value of Signer with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:awsAccountNumber:Signer', signer_awsAccountNumber -
-- An Amazon Web Services account number that contains active CloudFront
-- key pairs that CloudFront can use to verify the signatures of signed
-- URLs and signed cookies. If the Amazon Web Services account that owns
-- the key pairs is the same account that owns the CloudFront
-- distribution, the value of this field is self.
--
-- $sel:keyPairIds:Signer', signer_keyPairIds - A list of
-- CloudFront key pair identifiers.
newSigner :: Signer
-- | An Amazon Web Services account number that contains active CloudFront
-- key pairs that CloudFront can use to verify the signatures of signed
-- URLs and signed cookies. If the Amazon Web Services account that owns
-- the key pairs is the same account that owns the CloudFront
-- distribution, the value of this field is self.
signer_awsAccountNumber :: Lens' Signer (Maybe Text)
-- | A list of CloudFront key pair identifiers.
signer_keyPairIds :: Lens' Signer (Maybe KeyPairIds)
instance GHC.Generics.Generic Amazonka.CloudFront.Types.Signer.Signer
instance GHC.Show.Show Amazonka.CloudFront.Types.Signer.Signer
instance GHC.Read.Read Amazonka.CloudFront.Types.Signer.Signer
instance GHC.Classes.Eq Amazonka.CloudFront.Types.Signer.Signer
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.Signer.Signer
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.Signer.Signer
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.Signer.Signer
module Amazonka.CloudFront.Types.ActiveTrustedSigners
-- | A list of Amazon Web Services accounts and the active CloudFront key
-- pairs in each account that CloudFront can use to verify the signatures
-- of signed URLs and signed cookies.
--
-- See: newActiveTrustedSigners smart constructor.
data ActiveTrustedSigners
ActiveTrustedSigners' :: Maybe [Signer] -> Bool -> Int -> ActiveTrustedSigners
-- | A list of Amazon Web Services accounts and the identifiers of active
-- CloudFront key pairs in each account that CloudFront can use to verify
-- the signatures of signed URLs and signed cookies.
[$sel:items:ActiveTrustedSigners'] :: ActiveTrustedSigners -> Maybe [Signer]
-- | This field is true if any of the Amazon Web Services accounts
-- in the list have active CloudFront key pairs that CloudFront can use
-- to verify the signatures of signed URLs and signed cookies. If not,
-- this field is false.
[$sel:enabled:ActiveTrustedSigners'] :: ActiveTrustedSigners -> Bool
-- | The number of Amazon Web Services accounts in the list.
[$sel:quantity:ActiveTrustedSigners'] :: ActiveTrustedSigners -> Int
-- | Create a value of ActiveTrustedSigners with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ActiveTrustedSigners',
-- activeTrustedSigners_items - A list of Amazon Web Services
-- accounts and the identifiers of active CloudFront key pairs in each
-- account that CloudFront can use to verify the signatures of signed
-- URLs and signed cookies.
--
-- $sel:enabled:ActiveTrustedSigners',
-- activeTrustedSigners_enabled - This field is true if
-- any of the Amazon Web Services accounts in the list have active
-- CloudFront key pairs that CloudFront can use to verify the signatures
-- of signed URLs and signed cookies. If not, this field is
-- false.
--
-- $sel:quantity:ActiveTrustedSigners',
-- activeTrustedSigners_quantity - The number of Amazon Web
-- Services accounts in the list.
newActiveTrustedSigners :: Bool -> Int -> ActiveTrustedSigners
-- | A list of Amazon Web Services accounts and the identifiers of active
-- CloudFront key pairs in each account that CloudFront can use to verify
-- the signatures of signed URLs and signed cookies.
activeTrustedSigners_items :: Lens' ActiveTrustedSigners (Maybe [Signer])
-- | This field is true if any of the Amazon Web Services accounts
-- in the list have active CloudFront key pairs that CloudFront can use
-- to verify the signatures of signed URLs and signed cookies. If not,
-- this field is false.
activeTrustedSigners_enabled :: Lens' ActiveTrustedSigners Bool
-- | The number of Amazon Web Services accounts in the list.
activeTrustedSigners_quantity :: Lens' ActiveTrustedSigners Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ActiveTrustedSigners.ActiveTrustedSigners
instance GHC.Show.Show Amazonka.CloudFront.Types.ActiveTrustedSigners.ActiveTrustedSigners
instance GHC.Read.Read Amazonka.CloudFront.Types.ActiveTrustedSigners.ActiveTrustedSigners
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ActiveTrustedSigners.ActiveTrustedSigners
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ActiveTrustedSigners.ActiveTrustedSigners
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ActiveTrustedSigners.ActiveTrustedSigners
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ActiveTrustedSigners.ActiveTrustedSigners
module Amazonka.CloudFront.Types.SslProtocol
newtype SslProtocol
SslProtocol' :: Text -> SslProtocol
[fromSslProtocol] :: SslProtocol -> Text
pattern SslProtocol_SSLv3 :: SslProtocol
pattern SslProtocol_TLSv1 :: SslProtocol
pattern SslProtocol_TLSv1_1 :: SslProtocol
pattern SslProtocol_TLSv1_2 :: SslProtocol
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.SslProtocol.SslProtocol
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.SslProtocol.SslProtocol
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.SslProtocol.SslProtocol
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.SslProtocol.SslProtocol
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.SslProtocol.SslProtocol
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.SslProtocol.SslProtocol
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.SslProtocol.SslProtocol
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.SslProtocol.SslProtocol
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.SslProtocol.SslProtocol
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.SslProtocol.SslProtocol
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.SslProtocol.SslProtocol
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.SslProtocol.SslProtocol
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.SslProtocol.SslProtocol
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.SslProtocol.SslProtocol
instance GHC.Generics.Generic Amazonka.CloudFront.Types.SslProtocol.SslProtocol
instance GHC.Classes.Ord Amazonka.CloudFront.Types.SslProtocol.SslProtocol
instance GHC.Classes.Eq Amazonka.CloudFront.Types.SslProtocol.SslProtocol
instance GHC.Read.Read Amazonka.CloudFront.Types.SslProtocol.SslProtocol
instance GHC.Show.Show Amazonka.CloudFront.Types.SslProtocol.SslProtocol
module Amazonka.CloudFront.Types.OriginSslProtocols
-- | A complex type that contains information about the SSL/TLS protocols
-- that CloudFront can use when establishing an HTTPS connection with
-- your origin.
--
-- See: newOriginSslProtocols smart constructor.
data OriginSslProtocols
OriginSslProtocols' :: Int -> [SslProtocol] -> OriginSslProtocols
-- | The number of SSL/TLS protocols that you want to allow CloudFront to
-- use when establishing an HTTPS connection with this origin.
[$sel:quantity:OriginSslProtocols'] :: OriginSslProtocols -> Int
-- | A list that contains allowed SSL/TLS protocols for this distribution.
[$sel:items:OriginSslProtocols'] :: OriginSslProtocols -> [SslProtocol]
-- | Create a value of OriginSslProtocols with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:OriginSslProtocols',
-- originSslProtocols_quantity - The number of SSL/TLS protocols
-- that you want to allow CloudFront to use when establishing an HTTPS
-- connection with this origin.
--
-- $sel:items:OriginSslProtocols', originSslProtocols_items
-- - A list that contains allowed SSL/TLS protocols for this
-- distribution.
newOriginSslProtocols :: Int -> OriginSslProtocols
-- | The number of SSL/TLS protocols that you want to allow CloudFront to
-- use when establishing an HTTPS connection with this origin.
originSslProtocols_quantity :: Lens' OriginSslProtocols Int
-- | A list that contains allowed SSL/TLS protocols for this distribution.
originSslProtocols_items :: Lens' OriginSslProtocols [SslProtocol]
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginSslProtocols.OriginSslProtocols
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginSslProtocols.OriginSslProtocols
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginSslProtocols.OriginSslProtocols
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginSslProtocols.OriginSslProtocols
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginSslProtocols.OriginSslProtocols
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginSslProtocols.OriginSslProtocols
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginSslProtocols.OriginSslProtocols
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginSslProtocols.OriginSslProtocols
module Amazonka.CloudFront.Types.CustomOriginConfig
-- | A custom origin. A custom origin is any origin that is not an
-- Amazon S3 bucket, with one exception. An Amazon S3 bucket that is
-- configured with static website hosting is a custom
-- origin.
--
-- See: newCustomOriginConfig smart constructor.
data CustomOriginConfig
CustomOriginConfig' :: Maybe Int -> Maybe Int -> Maybe OriginSslProtocols -> Int -> Int -> OriginProtocolPolicy -> CustomOriginConfig
-- | Specifies how long, in seconds, CloudFront persists its connection to
-- the origin. The minimum timeout is 1 second, the maximum is 60
-- seconds, and the default (if you don't specify otherwise) is 5
-- seconds.
--
-- For more information, see Origin Keep-alive Timeout in the
-- Amazon CloudFront Developer Guide.
[$sel:originKeepaliveTimeout:CustomOriginConfig'] :: CustomOriginConfig -> Maybe Int
-- | Specifies how long, in seconds, CloudFront waits for a response from
-- the origin. This is also known as the origin response timeout.
-- The minimum timeout is 1 second, the maximum is 60 seconds, and the
-- default (if you don't specify otherwise) is 30 seconds.
--
-- For more information, see Origin Response Timeout in the
-- Amazon CloudFront Developer Guide.
[$sel:originReadTimeout:CustomOriginConfig'] :: CustomOriginConfig -> Maybe Int
-- | Specifies the minimum SSL/TLS protocol that CloudFront uses when
-- connecting to your origin over HTTPS. Valid values include
-- SSLv3, TLSv1, TLSv1.1, and
-- TLSv1.2.
--
-- For more information, see Minimum Origin SSL Protocol in the
-- Amazon CloudFront Developer Guide.
[$sel:originSslProtocols:CustomOriginConfig'] :: CustomOriginConfig -> Maybe OriginSslProtocols
-- | The HTTP port that CloudFront uses to connect to the origin. Specify
-- the HTTP port that the origin listens on.
[$sel:hTTPPort:CustomOriginConfig'] :: CustomOriginConfig -> Int
-- | The HTTPS port that CloudFront uses to connect to the origin. Specify
-- the HTTPS port that the origin listens on.
[$sel:hTTPSPort:CustomOriginConfig'] :: CustomOriginConfig -> Int
-- | Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect
-- to the origin. Valid values are:
--
--
-- - http-only – CloudFront always uses HTTP to connect to the
-- origin.
-- - match-viewer – CloudFront connects to the origin using
-- the same protocol that the viewer used to connect to CloudFront.
-- - https-only – CloudFront always uses HTTPS to connect to
-- the origin.
--
[$sel:originProtocolPolicy:CustomOriginConfig'] :: CustomOriginConfig -> OriginProtocolPolicy
-- | Create a value of CustomOriginConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:originKeepaliveTimeout:CustomOriginConfig',
-- customOriginConfig_originKeepaliveTimeout - Specifies how long,
-- in seconds, CloudFront persists its connection to the origin. The
-- minimum timeout is 1 second, the maximum is 60 seconds, and the
-- default (if you don't specify otherwise) is 5 seconds.
--
-- For more information, see Origin Keep-alive Timeout in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:originReadTimeout:CustomOriginConfig',
-- customOriginConfig_originReadTimeout - Specifies how long, in
-- seconds, CloudFront waits for a response from the origin. This is also
-- known as the origin response timeout. The minimum timeout is 1
-- second, the maximum is 60 seconds, and the default (if you don't
-- specify otherwise) is 30 seconds.
--
-- For more information, see Origin Response Timeout in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:originSslProtocols:CustomOriginConfig',
-- customOriginConfig_originSslProtocols - Specifies the minimum
-- SSL/TLS protocol that CloudFront uses when connecting to your origin
-- over HTTPS. Valid values include SSLv3, TLSv1,
-- TLSv1.1, and TLSv1.2.
--
-- For more information, see Minimum Origin SSL Protocol in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:hTTPPort:CustomOriginConfig',
-- customOriginConfig_hTTPPort - The HTTP port that CloudFront
-- uses to connect to the origin. Specify the HTTP port that the origin
-- listens on.
--
-- $sel:hTTPSPort:CustomOriginConfig',
-- customOriginConfig_hTTPSPort - The HTTPS port that CloudFront
-- uses to connect to the origin. Specify the HTTPS port that the origin
-- listens on.
--
-- $sel:originProtocolPolicy:CustomOriginConfig',
-- customOriginConfig_originProtocolPolicy - Specifies the
-- protocol (HTTP or HTTPS) that CloudFront uses to connect to the
-- origin. Valid values are:
--
--
-- - http-only – CloudFront always uses HTTP to connect to the
-- origin.
-- - match-viewer – CloudFront connects to the origin using
-- the same protocol that the viewer used to connect to CloudFront.
-- - https-only – CloudFront always uses HTTPS to connect to
-- the origin.
--
newCustomOriginConfig :: Int -> Int -> OriginProtocolPolicy -> CustomOriginConfig
-- | Specifies how long, in seconds, CloudFront persists its connection to
-- the origin. The minimum timeout is 1 second, the maximum is 60
-- seconds, and the default (if you don't specify otherwise) is 5
-- seconds.
--
-- For more information, see Origin Keep-alive Timeout in the
-- Amazon CloudFront Developer Guide.
customOriginConfig_originKeepaliveTimeout :: Lens' CustomOriginConfig (Maybe Int)
-- | Specifies how long, in seconds, CloudFront waits for a response from
-- the origin. This is also known as the origin response timeout.
-- The minimum timeout is 1 second, the maximum is 60 seconds, and the
-- default (if you don't specify otherwise) is 30 seconds.
--
-- For more information, see Origin Response Timeout in the
-- Amazon CloudFront Developer Guide.
customOriginConfig_originReadTimeout :: Lens' CustomOriginConfig (Maybe Int)
-- | Specifies the minimum SSL/TLS protocol that CloudFront uses when
-- connecting to your origin over HTTPS. Valid values include
-- SSLv3, TLSv1, TLSv1.1, and
-- TLSv1.2.
--
-- For more information, see Minimum Origin SSL Protocol in the
-- Amazon CloudFront Developer Guide.
customOriginConfig_originSslProtocols :: Lens' CustomOriginConfig (Maybe OriginSslProtocols)
-- | The HTTP port that CloudFront uses to connect to the origin. Specify
-- the HTTP port that the origin listens on.
customOriginConfig_hTTPPort :: Lens' CustomOriginConfig Int
-- | The HTTPS port that CloudFront uses to connect to the origin. Specify
-- the HTTPS port that the origin listens on.
customOriginConfig_hTTPSPort :: Lens' CustomOriginConfig Int
-- | Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect
-- to the origin. Valid values are:
--
--
-- - http-only – CloudFront always uses HTTP to connect to the
-- origin.
-- - match-viewer – CloudFront connects to the origin using
-- the same protocol that the viewer used to connect to CloudFront.
-- - https-only – CloudFront always uses HTTPS to connect to
-- the origin.
--
customOriginConfig_originProtocolPolicy :: Lens' CustomOriginConfig OriginProtocolPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CustomOriginConfig.CustomOriginConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.CustomOriginConfig.CustomOriginConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.CustomOriginConfig.CustomOriginConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CustomOriginConfig.CustomOriginConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CustomOriginConfig.CustomOriginConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CustomOriginConfig.CustomOriginConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CustomOriginConfig.CustomOriginConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.CustomOriginConfig.CustomOriginConfig
module Amazonka.CloudFront.Types.Origin
-- | An origin.
--
-- An origin is the location where content is stored, and from which
-- CloudFront gets content to serve to viewers. To specify an origin:
--
--
-- - Use S3OriginConfig to specify an Amazon S3 bucket that is
-- not configured with static website hosting.
-- - Use CustomOriginConfig to specify all other kinds of
-- origins, including:
- An Amazon S3 bucket that is configured with
-- static website hosting
- An Elastic Load Balancing load
-- balancer
- An AWS Elemental MediaPackage endpoint
- An AWS
-- Elemental MediaStore container
- Any other HTTP server, running
-- on an Amazon EC2 instance or any other kind of host
--
--
-- For the current maximum number of origins that you can specify per
-- distribution, see General Quotas on Web Distributions in the
-- Amazon CloudFront Developer Guide (quotas were formerly
-- referred to as limits).
--
-- See: newOrigin smart constructor.
data Origin
Origin' :: Maybe Int -> Maybe Int -> Maybe CustomHeaders -> Maybe CustomOriginConfig -> Maybe Text -> Maybe Text -> Maybe OriginShield -> Maybe S3OriginConfig -> Text -> Text -> Origin
-- | The number of times that CloudFront attempts to connect to the origin.
-- The minimum number is 1, the maximum is 3, and the default (if you
-- don't specify otherwise) is 3.
--
-- For a custom origin (including an Amazon S3 bucket that's configured
-- with static website hosting), this value also specifies the number of
-- times that CloudFront attempts to get a response from the origin, in
-- the case of an Origin Response Timeout.
--
-- For more information, see Origin Connection Attempts in the
-- Amazon CloudFront Developer Guide.
[$sel:connectionAttempts:Origin'] :: Origin -> Maybe Int
-- | The number of seconds that CloudFront waits when trying to establish a
-- connection to the origin. The minimum timeout is 1 second, the maximum
-- is 10 seconds, and the default (if you don't specify otherwise) is 10
-- seconds.
--
-- For more information, see Origin Connection Timeout in the
-- Amazon CloudFront Developer Guide.
[$sel:connectionTimeout:Origin'] :: Origin -> Maybe Int
-- | A list of HTTP header names and values that CloudFront adds to the
-- requests that it sends to the origin.
--
-- For more information, see Adding Custom Headers to Origin
-- Requests in the Amazon CloudFront Developer Guide.
[$sel:customHeaders:Origin'] :: Origin -> Maybe CustomHeaders
-- | Use this type to specify an origin that is not an Amazon S3 bucket,
-- with one exception. If the Amazon S3 bucket is configured with static
-- website hosting, use this type. If the Amazon S3 bucket is not
-- configured with static website hosting, use the
-- S3OriginConfig type instead.
[$sel:customOriginConfig:Origin'] :: Origin -> Maybe CustomOriginConfig
-- | The unique identifier of an origin access control for this origin.
--
-- For more information, see Restricting access to an Amazon S3
-- origin in the Amazon CloudFront Developer Guide.
[$sel:originAccessControlId:Origin'] :: Origin -> Maybe Text
-- | An optional path that CloudFront appends to the origin domain name
-- when CloudFront requests content from the origin.
--
-- For more information, see Origin Path in the Amazon
-- CloudFront Developer Guide.
[$sel:originPath:Origin'] :: Origin -> Maybe Text
-- | CloudFront Origin Shield. Using Origin Shield can help reduce the load
-- on your origin.
--
-- For more information, see Using Origin Shield in the Amazon
-- CloudFront Developer Guide.
[$sel:originShield:Origin'] :: Origin -> Maybe OriginShield
-- | Use this type to specify an origin that is an Amazon S3 bucket that is
-- not configured with static website hosting. To specify any other type
-- of origin, including an Amazon S3 bucket that is configured with
-- static website hosting, use the CustomOriginConfig type
-- instead.
[$sel:s3OriginConfig:Origin'] :: Origin -> Maybe S3OriginConfig
-- | A unique identifier for the origin. This value must be unique within
-- the distribution.
--
-- Use this value to specify the TargetOriginId in a
-- CacheBehavior or DefaultCacheBehavior.
[$sel:id:Origin'] :: Origin -> Text
-- | The domain name for the origin.
--
-- For more information, see Origin Domain Name in the Amazon
-- CloudFront Developer Guide.
[$sel:domainName:Origin'] :: Origin -> Text
-- | Create a value of Origin with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:connectionAttempts:Origin',
-- origin_connectionAttempts - The number of times that CloudFront
-- attempts to connect to the origin. The minimum number is 1, the
-- maximum is 3, and the default (if you don't specify otherwise) is 3.
--
-- For a custom origin (including an Amazon S3 bucket that's configured
-- with static website hosting), this value also specifies the number of
-- times that CloudFront attempts to get a response from the origin, in
-- the case of an Origin Response Timeout.
--
-- For more information, see Origin Connection Attempts in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:connectionTimeout:Origin', origin_connectionTimeout
-- - The number of seconds that CloudFront waits when trying to establish
-- a connection to the origin. The minimum timeout is 1 second, the
-- maximum is 10 seconds, and the default (if you don't specify
-- otherwise) is 10 seconds.
--
-- For more information, see Origin Connection Timeout in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:customHeaders:Origin', origin_customHeaders - A
-- list of HTTP header names and values that CloudFront adds to the
-- requests that it sends to the origin.
--
-- For more information, see Adding Custom Headers to Origin
-- Requests in the Amazon CloudFront Developer Guide.
--
-- $sel:customOriginConfig:Origin',
-- origin_customOriginConfig - Use this type to specify an origin
-- that is not an Amazon S3 bucket, with one exception. If the Amazon S3
-- bucket is configured with static website hosting, use this type. If
-- the Amazon S3 bucket is not configured with static website hosting,
-- use the S3OriginConfig type instead.
--
-- $sel:originAccessControlId:Origin',
-- origin_originAccessControlId - The unique identifier of an
-- origin access control for this origin.
--
-- For more information, see Restricting access to an Amazon S3
-- origin in the Amazon CloudFront Developer Guide.
--
-- $sel:originPath:Origin', origin_originPath - An optional
-- path that CloudFront appends to the origin domain name when CloudFront
-- requests content from the origin.
--
-- For more information, see Origin Path in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:originShield:Origin', origin_originShield -
-- CloudFront Origin Shield. Using Origin Shield can help reduce the load
-- on your origin.
--
-- For more information, see Using Origin Shield in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:s3OriginConfig:Origin', origin_s3OriginConfig - Use
-- this type to specify an origin that is an Amazon S3 bucket that is not
-- configured with static website hosting. To specify any other type of
-- origin, including an Amazon S3 bucket that is configured with static
-- website hosting, use the CustomOriginConfig type instead.
--
-- $sel:id:Origin', origin_id - A unique identifier for the
-- origin. This value must be unique within the distribution.
--
-- Use this value to specify the TargetOriginId in a
-- CacheBehavior or DefaultCacheBehavior.
--
-- $sel:domainName:Origin', origin_domainName - The domain
-- name for the origin.
--
-- For more information, see Origin Domain Name in the Amazon
-- CloudFront Developer Guide.
newOrigin :: Text -> Text -> Origin
-- | The number of times that CloudFront attempts to connect to the origin.
-- The minimum number is 1, the maximum is 3, and the default (if you
-- don't specify otherwise) is 3.
--
-- For a custom origin (including an Amazon S3 bucket that's configured
-- with static website hosting), this value also specifies the number of
-- times that CloudFront attempts to get a response from the origin, in
-- the case of an Origin Response Timeout.
--
-- For more information, see Origin Connection Attempts in the
-- Amazon CloudFront Developer Guide.
origin_connectionAttempts :: Lens' Origin (Maybe Int)
-- | The number of seconds that CloudFront waits when trying to establish a
-- connection to the origin. The minimum timeout is 1 second, the maximum
-- is 10 seconds, and the default (if you don't specify otherwise) is 10
-- seconds.
--
-- For more information, see Origin Connection Timeout in the
-- Amazon CloudFront Developer Guide.
origin_connectionTimeout :: Lens' Origin (Maybe Int)
-- | A list of HTTP header names and values that CloudFront adds to the
-- requests that it sends to the origin.
--
-- For more information, see Adding Custom Headers to Origin
-- Requests in the Amazon CloudFront Developer Guide.
origin_customHeaders :: Lens' Origin (Maybe CustomHeaders)
-- | Use this type to specify an origin that is not an Amazon S3 bucket,
-- with one exception. If the Amazon S3 bucket is configured with static
-- website hosting, use this type. If the Amazon S3 bucket is not
-- configured with static website hosting, use the
-- S3OriginConfig type instead.
origin_customOriginConfig :: Lens' Origin (Maybe CustomOriginConfig)
-- | The unique identifier of an origin access control for this origin.
--
-- For more information, see Restricting access to an Amazon S3
-- origin in the Amazon CloudFront Developer Guide.
origin_originAccessControlId :: Lens' Origin (Maybe Text)
-- | An optional path that CloudFront appends to the origin domain name
-- when CloudFront requests content from the origin.
--
-- For more information, see Origin Path in the Amazon
-- CloudFront Developer Guide.
origin_originPath :: Lens' Origin (Maybe Text)
-- | CloudFront Origin Shield. Using Origin Shield can help reduce the load
-- on your origin.
--
-- For more information, see Using Origin Shield in the Amazon
-- CloudFront Developer Guide.
origin_originShield :: Lens' Origin (Maybe OriginShield)
-- | Use this type to specify an origin that is an Amazon S3 bucket that is
-- not configured with static website hosting. To specify any other type
-- of origin, including an Amazon S3 bucket that is configured with
-- static website hosting, use the CustomOriginConfig type
-- instead.
origin_s3OriginConfig :: Lens' Origin (Maybe S3OriginConfig)
-- | A unique identifier for the origin. This value must be unique within
-- the distribution.
--
-- Use this value to specify the TargetOriginId in a
-- CacheBehavior or DefaultCacheBehavior.
origin_id :: Lens' Origin Text
-- | The domain name for the origin.
--
-- For more information, see Origin Domain Name in the Amazon
-- CloudFront Developer Guide.
origin_domainName :: Lens' Origin Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.Origin.Origin
instance GHC.Show.Show Amazonka.CloudFront.Types.Origin.Origin
instance GHC.Classes.Eq Amazonka.CloudFront.Types.Origin.Origin
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.Origin.Origin
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.Origin.Origin
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.Origin.Origin
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.Origin.Origin
module Amazonka.CloudFront.Types.Origins
-- | Contains information about the origins for this distribution.
--
-- See: newOrigins smart constructor.
data Origins
Origins' :: Int -> NonEmpty Origin -> Origins
-- | The number of origins for this distribution.
[$sel:quantity:Origins'] :: Origins -> Int
-- | A list of origins.
[$sel:items:Origins'] :: Origins -> NonEmpty Origin
-- | Create a value of Origins with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:Origins', origins_quantity - The number of
-- origins for this distribution.
--
-- $sel:items:Origins', origins_items - A list of origins.
newOrigins :: Int -> NonEmpty Origin -> Origins
-- | The number of origins for this distribution.
origins_quantity :: Lens' Origins Int
-- | A list of origins.
origins_items :: Lens' Origins (NonEmpty Origin)
instance GHC.Generics.Generic Amazonka.CloudFront.Types.Origins.Origins
instance GHC.Show.Show Amazonka.CloudFront.Types.Origins.Origins
instance GHC.Classes.Eq Amazonka.CloudFront.Types.Origins.Origins
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.Origins.Origins
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.Origins.Origins
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.Origins.Origins
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.Origins.Origins
module Amazonka.CloudFront.Types.StagingDistributionDnsNames
-- | The CloudFront domain name of the staging distribution.
--
-- See: newStagingDistributionDnsNames smart constructor.
data StagingDistributionDnsNames
StagingDistributionDnsNames' :: Maybe [Text] -> Int -> StagingDistributionDnsNames
-- | The CloudFront domain name of the staging distribution.
[$sel:items:StagingDistributionDnsNames'] :: StagingDistributionDnsNames -> Maybe [Text]
-- | The number of CloudFront domain names in your staging distribution.
[$sel:quantity:StagingDistributionDnsNames'] :: StagingDistributionDnsNames -> Int
-- | Create a value of StagingDistributionDnsNames with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:StagingDistributionDnsNames',
-- stagingDistributionDnsNames_items - The CloudFront domain name
-- of the staging distribution.
--
-- $sel:quantity:StagingDistributionDnsNames',
-- stagingDistributionDnsNames_quantity - The number of CloudFront
-- domain names in your staging distribution.
newStagingDistributionDnsNames :: Int -> StagingDistributionDnsNames
-- | The CloudFront domain name of the staging distribution.
stagingDistributionDnsNames_items :: Lens' StagingDistributionDnsNames (Maybe [Text])
-- | The number of CloudFront domain names in your staging distribution.
stagingDistributionDnsNames_quantity :: Lens' StagingDistributionDnsNames Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.StagingDistributionDnsNames.StagingDistributionDnsNames
instance GHC.Show.Show Amazonka.CloudFront.Types.StagingDistributionDnsNames.StagingDistributionDnsNames
instance GHC.Read.Read Amazonka.CloudFront.Types.StagingDistributionDnsNames.StagingDistributionDnsNames
instance GHC.Classes.Eq Amazonka.CloudFront.Types.StagingDistributionDnsNames.StagingDistributionDnsNames
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.StagingDistributionDnsNames.StagingDistributionDnsNames
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.StagingDistributionDnsNames.StagingDistributionDnsNames
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.StagingDistributionDnsNames.StagingDistributionDnsNames
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.StagingDistributionDnsNames.StagingDistributionDnsNames
module Amazonka.CloudFront.Types.StatusCodes
-- | A complex data type for the status codes that you specify that, when
-- returned by a primary origin, trigger CloudFront to failover to a
-- second origin.
--
-- See: newStatusCodes smart constructor.
data StatusCodes
StatusCodes' :: Int -> NonEmpty Int -> StatusCodes
-- | The number of status codes.
[$sel:quantity:StatusCodes'] :: StatusCodes -> Int
-- | The items (status codes) for an origin group.
[$sel:items:StatusCodes'] :: StatusCodes -> NonEmpty Int
-- | Create a value of StatusCodes with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:StatusCodes', statusCodes_quantity - The
-- number of status codes.
--
-- $sel:items:StatusCodes', statusCodes_items - The items
-- (status codes) for an origin group.
newStatusCodes :: Int -> NonEmpty Int -> StatusCodes
-- | The number of status codes.
statusCodes_quantity :: Lens' StatusCodes Int
-- | The items (status codes) for an origin group.
statusCodes_items :: Lens' StatusCodes (NonEmpty Int)
instance GHC.Generics.Generic Amazonka.CloudFront.Types.StatusCodes.StatusCodes
instance GHC.Show.Show Amazonka.CloudFront.Types.StatusCodes.StatusCodes
instance GHC.Read.Read Amazonka.CloudFront.Types.StatusCodes.StatusCodes
instance GHC.Classes.Eq Amazonka.CloudFront.Types.StatusCodes.StatusCodes
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.StatusCodes.StatusCodes
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.StatusCodes.StatusCodes
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.StatusCodes.StatusCodes
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.StatusCodes.StatusCodes
module Amazonka.CloudFront.Types.OriginGroupFailoverCriteria
-- | A complex data type that includes information about the failover
-- criteria for an origin group, including the status codes for which
-- CloudFront will failover from the primary origin to the second origin.
--
-- See: newOriginGroupFailoverCriteria smart constructor.
data OriginGroupFailoverCriteria
OriginGroupFailoverCriteria' :: StatusCodes -> OriginGroupFailoverCriteria
-- | The status codes that, when returned from the primary origin, will
-- trigger CloudFront to failover to the second origin.
[$sel:statusCodes:OriginGroupFailoverCriteria'] :: OriginGroupFailoverCriteria -> StatusCodes
-- | Create a value of OriginGroupFailoverCriteria with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:statusCodes:OriginGroupFailoverCriteria',
-- originGroupFailoverCriteria_statusCodes - The status codes
-- that, when returned from the primary origin, will trigger CloudFront
-- to failover to the second origin.
newOriginGroupFailoverCriteria :: StatusCodes -> OriginGroupFailoverCriteria
-- | The status codes that, when returned from the primary origin, will
-- trigger CloudFront to failover to the second origin.
originGroupFailoverCriteria_statusCodes :: Lens' OriginGroupFailoverCriteria StatusCodes
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginGroupFailoverCriteria.OriginGroupFailoverCriteria
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginGroupFailoverCriteria.OriginGroupFailoverCriteria
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginGroupFailoverCriteria.OriginGroupFailoverCriteria
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginGroupFailoverCriteria.OriginGroupFailoverCriteria
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginGroupFailoverCriteria.OriginGroupFailoverCriteria
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginGroupFailoverCriteria.OriginGroupFailoverCriteria
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginGroupFailoverCriteria.OriginGroupFailoverCriteria
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginGroupFailoverCriteria.OriginGroupFailoverCriteria
module Amazonka.CloudFront.Types.OriginGroup
-- | An origin group includes two origins (a primary origin and a second
-- origin to failover to) and a failover criteria that you specify. You
-- create an origin group to support origin failover in CloudFront. When
-- you create or update a distribution, you can specifiy the origin group
-- instead of a single origin, and CloudFront will failover from the
-- primary origin to the second origin under the failover conditions that
-- you've chosen.
--
-- See: newOriginGroup smart constructor.
data OriginGroup
OriginGroup' :: Text -> OriginGroupFailoverCriteria -> OriginGroupMembers -> OriginGroup
-- | The origin group's ID.
[$sel:id:OriginGroup'] :: OriginGroup -> Text
-- | A complex type that contains information about the failover criteria
-- for an origin group.
[$sel:failoverCriteria:OriginGroup'] :: OriginGroup -> OriginGroupFailoverCriteria
-- | A complex type that contains information about the origins in an
-- origin group.
[$sel:members:OriginGroup'] :: OriginGroup -> OriginGroupMembers
-- | Create a value of OriginGroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:OriginGroup', originGroup_id - The origin
-- group's ID.
--
-- $sel:failoverCriteria:OriginGroup',
-- originGroup_failoverCriteria - A complex type that contains
-- information about the failover criteria for an origin group.
--
-- $sel:members:OriginGroup', originGroup_members - A
-- complex type that contains information about the origins in an origin
-- group.
newOriginGroup :: Text -> OriginGroupFailoverCriteria -> OriginGroupMembers -> OriginGroup
-- | The origin group's ID.
originGroup_id :: Lens' OriginGroup Text
-- | A complex type that contains information about the failover criteria
-- for an origin group.
originGroup_failoverCriteria :: Lens' OriginGroup OriginGroupFailoverCriteria
-- | A complex type that contains information about the origins in an
-- origin group.
originGroup_members :: Lens' OriginGroup OriginGroupMembers
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginGroup.OriginGroup
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginGroup.OriginGroup
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginGroup.OriginGroup
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginGroup.OriginGroup
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginGroup.OriginGroup
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginGroup.OriginGroup
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginGroup.OriginGroup
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginGroup.OriginGroup
module Amazonka.CloudFront.Types.OriginGroups
-- | A complex data type for the origin groups specified for a
-- distribution.
--
-- See: newOriginGroups smart constructor.
data OriginGroups
OriginGroups' :: Maybe [OriginGroup] -> Int -> OriginGroups
-- | The items (origin groups) in a distribution.
[$sel:items:OriginGroups'] :: OriginGroups -> Maybe [OriginGroup]
-- | The number of origin groups.
[$sel:quantity:OriginGroups'] :: OriginGroups -> Int
-- | Create a value of OriginGroups with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:OriginGroups', originGroups_items - The items
-- (origin groups) in a distribution.
--
-- $sel:quantity:OriginGroups', originGroups_quantity - The
-- number of origin groups.
newOriginGroups :: Int -> OriginGroups
-- | The items (origin groups) in a distribution.
originGroups_items :: Lens' OriginGroups (Maybe [OriginGroup])
-- | The number of origin groups.
originGroups_quantity :: Lens' OriginGroups Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.OriginGroups.OriginGroups
instance GHC.Show.Show Amazonka.CloudFront.Types.OriginGroups.OriginGroups
instance GHC.Read.Read Amazonka.CloudFront.Types.OriginGroups.OriginGroups
instance GHC.Classes.Eq Amazonka.CloudFront.Types.OriginGroups.OriginGroups
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.OriginGroups.OriginGroups
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.OriginGroups.OriginGroups
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.OriginGroups.OriginGroups
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.OriginGroups.OriginGroups
module Amazonka.CloudFront.Types.StreamingLoggingConfig
-- | A complex type that controls whether access logs are written for this
-- streaming distribution.
--
-- See: newStreamingLoggingConfig smart constructor.
data StreamingLoggingConfig
StreamingLoggingConfig' :: Bool -> Text -> Text -> StreamingLoggingConfig
-- | Specifies whether you want CloudFront to save access logs to an Amazon
-- S3 bucket. If you don't 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.
[$sel:enabled:StreamingLoggingConfig'] :: StreamingLoggingConfig -> Bool
-- | The Amazon S3 bucket to store the access logs in, for example,
-- myawslogbucket.s3.amazonaws.com.
[$sel:bucket:StreamingLoggingConfig'] :: StreamingLoggingConfig -> Text
-- | An optional string that you want CloudFront to prefix to the access
-- log filenames for this streaming distribution, for example,
-- myprefix/. If you want to enable logging, but you don't want
-- to specify a prefix, you still must include an empty Prefix
-- element in the Logging element.
[$sel:prefix:StreamingLoggingConfig'] :: StreamingLoggingConfig -> Text
-- | Create a value of StreamingLoggingConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:enabled:StreamingLoggingConfig',
-- streamingLoggingConfig_enabled - Specifies whether you want
-- CloudFront to save access logs to an Amazon S3 bucket. If you don't
-- 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.
--
-- $sel:bucket:StreamingLoggingConfig',
-- streamingLoggingConfig_bucket - The Amazon S3 bucket to store
-- the access logs in, for example,
-- myawslogbucket.s3.amazonaws.com.
--
-- $sel:prefix:StreamingLoggingConfig',
-- streamingLoggingConfig_prefix - 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 don't want to specify a prefix, you still
-- must include an empty Prefix element in the Logging
-- element.
newStreamingLoggingConfig :: Bool -> Text -> Text -> StreamingLoggingConfig
-- | Specifies whether you want CloudFront to save access logs to an Amazon
-- S3 bucket. If you don't 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.
streamingLoggingConfig_enabled :: Lens' StreamingLoggingConfig Bool
-- | The Amazon S3 bucket to store the access logs in, for example,
-- myawslogbucket.s3.amazonaws.com.
streamingLoggingConfig_bucket :: Lens' StreamingLoggingConfig Text
-- | An optional string that you want CloudFront to prefix to the access
-- log filenames for this streaming distribution, for example,
-- myprefix/. If you want to enable logging, but you don't want
-- to specify a prefix, you still must include an empty Prefix
-- element in the Logging element.
streamingLoggingConfig_prefix :: Lens' StreamingLoggingConfig Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.StreamingLoggingConfig.StreamingLoggingConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.StreamingLoggingConfig.StreamingLoggingConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.StreamingLoggingConfig.StreamingLoggingConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.StreamingLoggingConfig.StreamingLoggingConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.StreamingLoggingConfig.StreamingLoggingConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.StreamingLoggingConfig.StreamingLoggingConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.StreamingLoggingConfig.StreamingLoggingConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.StreamingLoggingConfig.StreamingLoggingConfig
module Amazonka.CloudFront.Types.Tag
-- | A complex type that contains Tag key and Tag value.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Maybe Text -> Text -> Tag
-- | A string that contains an optional Tag value.
--
-- The string length should be between 0 and 256 characters. Valid
-- characters include a-z, A-Z, 0-9, space,
-- and the special characters _ - . : / = + @.
[$sel:value:Tag'] :: Tag -> Maybe Text
-- | A string that contains Tag key.
--
-- The string length should be between 1 and 128 characters. Valid
-- characters include a-z, A-Z, 0-9, space,
-- and the special characters _ - . : / = + @.
[$sel:key:Tag'] :: Tag -> Text
-- | Create a value of Tag with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:value:Tag', tag_value - A string that contains an
-- optional Tag value.
--
-- The string length should be between 0 and 256 characters. Valid
-- characters include a-z, A-Z, 0-9, space,
-- and the special characters _ - . : / = + @.
--
-- $sel:key:Tag', tag_key - A string that contains
-- Tag key.
--
-- The string length should be between 1 and 128 characters. Valid
-- characters include a-z, A-Z, 0-9, space,
-- and the special characters _ - . : / = + @.
newTag :: Text -> Tag
-- | A string that contains an optional Tag value.
--
-- The string length should be between 0 and 256 characters. Valid
-- characters include a-z, A-Z, 0-9, space,
-- and the special characters _ - . : / = + @.
tag_value :: Lens' Tag (Maybe Text)
-- | A string that contains Tag key.
--
-- The string length should be between 1 and 128 characters. Valid
-- characters include a-z, A-Z, 0-9, space,
-- and the special characters _ - . : / = + @.
tag_key :: Lens' Tag Text
instance GHC.Generics.Generic Amazonka.CloudFront.Types.Tag.Tag
instance GHC.Show.Show Amazonka.CloudFront.Types.Tag.Tag
instance GHC.Read.Read Amazonka.CloudFront.Types.Tag.Tag
instance GHC.Classes.Eq Amazonka.CloudFront.Types.Tag.Tag
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.Tag.Tag
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.Tag.Tag
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.Tag.Tag
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.Tag.Tag
module Amazonka.CloudFront.Types.TagKeys
-- | A complex type that contains zero or more Tag elements.
--
-- See: newTagKeys smart constructor.
data TagKeys
TagKeys' :: Maybe [Text] -> TagKeys
-- | A complex type that contains Tag key elements.
[$sel:items:TagKeys'] :: TagKeys -> Maybe [Text]
-- | Create a value of TagKeys with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:TagKeys', tagKeys_items - A complex type that
-- contains Tag key elements.
newTagKeys :: TagKeys
-- | A complex type that contains Tag key elements.
tagKeys_items :: Lens' TagKeys (Maybe [Text])
instance GHC.Generics.Generic Amazonka.CloudFront.Types.TagKeys.TagKeys
instance GHC.Show.Show Amazonka.CloudFront.Types.TagKeys.TagKeys
instance GHC.Read.Read Amazonka.CloudFront.Types.TagKeys.TagKeys
instance GHC.Classes.Eq Amazonka.CloudFront.Types.TagKeys.TagKeys
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.TagKeys.TagKeys
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.TagKeys.TagKeys
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.TagKeys.TagKeys
module Amazonka.CloudFront.Types.Tags
-- | A complex type that contains zero or more Tag elements.
--
-- See: newTags smart constructor.
data Tags
Tags' :: Maybe [Tag] -> Tags
-- | A complex type that contains Tag elements.
[$sel:items:Tags'] :: Tags -> Maybe [Tag]
-- | Create a value of Tags with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:Tags', tags_items - A complex type that
-- contains Tag elements.
newTags :: Tags
-- | A complex type that contains Tag elements.
tags_items :: Lens' Tags (Maybe [Tag])
instance GHC.Generics.Generic Amazonka.CloudFront.Types.Tags.Tags
instance GHC.Show.Show Amazonka.CloudFront.Types.Tags.Tags
instance GHC.Read.Read Amazonka.CloudFront.Types.Tags.Tags
instance GHC.Classes.Eq Amazonka.CloudFront.Types.Tags.Tags
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.Tags.Tags
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.Tags.Tags
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.Tags.Tags
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.Tags.Tags
module Amazonka.CloudFront.Types.TestResult
-- | Contains the result of testing a CloudFront function with
-- TestFunction.
--
-- See: newTestResult smart constructor.
data TestResult
TestResult' :: Maybe Text -> Maybe (Sensitive Text) -> Maybe (Sensitive [Text]) -> Maybe (Sensitive Text) -> Maybe FunctionSummary -> TestResult
-- | The amount of time that the function took to run as a percentage of
-- the maximum allowed time. For example, a compute utilization of 35
-- means that the function completed in 35% of the maximum allowed time.
[$sel:computeUtilization:TestResult'] :: TestResult -> Maybe Text
-- | If the result of testing the function was an error, this field
-- contains the error message.
[$sel:functionErrorMessage:TestResult'] :: TestResult -> Maybe (Sensitive Text)
-- | Contains the log lines that the function wrote (if any) when running
-- the test.
[$sel:functionExecutionLogs:TestResult'] :: TestResult -> Maybe (Sensitive [Text])
-- | The event object returned by the function. For more information about
-- the structure of the event object, see Event object structure
-- in the Amazon CloudFront Developer Guide.
[$sel:functionOutput:TestResult'] :: TestResult -> Maybe (Sensitive Text)
-- | Contains configuration information and metadata about the CloudFront
-- function that was tested.
[$sel:functionSummary:TestResult'] :: TestResult -> Maybe FunctionSummary
-- | Create a value of TestResult with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:computeUtilization:TestResult',
-- testResult_computeUtilization - The amount of time that the
-- function took to run as a percentage of the maximum allowed time. For
-- example, a compute utilization of 35 means that the function completed
-- in 35% of the maximum allowed time.
--
-- $sel:functionErrorMessage:TestResult',
-- testResult_functionErrorMessage - If the result of testing the
-- function was an error, this field contains the error message.
--
-- $sel:functionExecutionLogs:TestResult',
-- testResult_functionExecutionLogs - Contains the log lines that
-- the function wrote (if any) when running the test.
--
-- $sel:functionOutput:TestResult',
-- testResult_functionOutput - The event object returned by the
-- function. For more information about the structure of the event
-- object, see Event object structure in the Amazon CloudFront
-- Developer Guide.
--
-- $sel:functionSummary:TestResult',
-- testResult_functionSummary - Contains configuration information
-- and metadata about the CloudFront function that was tested.
newTestResult :: TestResult
-- | The amount of time that the function took to run as a percentage of
-- the maximum allowed time. For example, a compute utilization of 35
-- means that the function completed in 35% of the maximum allowed time.
testResult_computeUtilization :: Lens' TestResult (Maybe Text)
-- | If the result of testing the function was an error, this field
-- contains the error message.
testResult_functionErrorMessage :: Lens' TestResult (Maybe Text)
-- | Contains the log lines that the function wrote (if any) when running
-- the test.
testResult_functionExecutionLogs :: Lens' TestResult (Maybe [Text])
-- | The event object returned by the function. For more information about
-- the structure of the event object, see Event object structure
-- in the Amazon CloudFront Developer Guide.
testResult_functionOutput :: Lens' TestResult (Maybe Text)
-- | Contains configuration information and metadata about the CloudFront
-- function that was tested.
testResult_functionSummary :: Lens' TestResult (Maybe FunctionSummary)
instance GHC.Generics.Generic Amazonka.CloudFront.Types.TestResult.TestResult
instance GHC.Show.Show Amazonka.CloudFront.Types.TestResult.TestResult
instance GHC.Classes.Eq Amazonka.CloudFront.Types.TestResult.TestResult
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.TestResult.TestResult
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.TestResult.TestResult
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.TestResult.TestResult
module Amazonka.CloudFront.Types.TrafficConfig
-- | The traffic configuration of your continuous deployment.
--
-- See: newTrafficConfig smart constructor.
data TrafficConfig
TrafficConfig' :: Maybe ContinuousDeploymentSingleHeaderConfig -> Maybe ContinuousDeploymentSingleWeightConfig -> ContinuousDeploymentPolicyType -> TrafficConfig
-- | Determines which HTTP requests are sent to the staging distribution.
[$sel:singleHeaderConfig:TrafficConfig'] :: TrafficConfig -> Maybe ContinuousDeploymentSingleHeaderConfig
-- | Contains the percentage of traffic to send to the staging
-- distribution.
[$sel:singleWeightConfig:TrafficConfig'] :: TrafficConfig -> Maybe ContinuousDeploymentSingleWeightConfig
-- | The type of traffic configuration.
[$sel:type':TrafficConfig'] :: TrafficConfig -> ContinuousDeploymentPolicyType
-- | Create a value of TrafficConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:singleHeaderConfig:TrafficConfig',
-- trafficConfig_singleHeaderConfig - Determines which HTTP
-- requests are sent to the staging distribution.
--
-- $sel:singleWeightConfig:TrafficConfig',
-- trafficConfig_singleWeightConfig - Contains the percentage of
-- traffic to send to the staging distribution.
--
-- $sel:type':TrafficConfig', trafficConfig_type - The type
-- of traffic configuration.
newTrafficConfig :: ContinuousDeploymentPolicyType -> TrafficConfig
-- | Determines which HTTP requests are sent to the staging distribution.
trafficConfig_singleHeaderConfig :: Lens' TrafficConfig (Maybe ContinuousDeploymentSingleHeaderConfig)
-- | Contains the percentage of traffic to send to the staging
-- distribution.
trafficConfig_singleWeightConfig :: Lens' TrafficConfig (Maybe ContinuousDeploymentSingleWeightConfig)
-- | The type of traffic configuration.
trafficConfig_type :: Lens' TrafficConfig ContinuousDeploymentPolicyType
instance GHC.Generics.Generic Amazonka.CloudFront.Types.TrafficConfig.TrafficConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.TrafficConfig.TrafficConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.TrafficConfig.TrafficConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.TrafficConfig.TrafficConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.TrafficConfig.TrafficConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.TrafficConfig.TrafficConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.TrafficConfig.TrafficConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.TrafficConfig.TrafficConfig
module Amazonka.CloudFront.Types.ContinuousDeploymentPolicyConfig
-- | Contains the configuration for a continuous deployment policy.
--
-- See: newContinuousDeploymentPolicyConfig smart
-- constructor.
data ContinuousDeploymentPolicyConfig
ContinuousDeploymentPolicyConfig' :: Maybe TrafficConfig -> StagingDistributionDnsNames -> Bool -> ContinuousDeploymentPolicyConfig
-- | Contains the parameters for routing production traffic from your
-- primary to staging distributions.
[$sel:trafficConfig:ContinuousDeploymentPolicyConfig'] :: ContinuousDeploymentPolicyConfig -> Maybe TrafficConfig
-- | The CloudFront domain name of the staging distribution. For example:
-- d111111abcdef8.cloudfront.net.
[$sel:stagingDistributionDnsNames:ContinuousDeploymentPolicyConfig'] :: ContinuousDeploymentPolicyConfig -> StagingDistributionDnsNames
-- | A Boolean that indicates whether this continuous deployment policy is
-- enabled (in effect). When this value is true, this policy is
-- enabled and in effect. When this value is false, this policy
-- is not enabled and has no effect.
[$sel:enabled:ContinuousDeploymentPolicyConfig'] :: ContinuousDeploymentPolicyConfig -> Bool
-- | Create a value of ContinuousDeploymentPolicyConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:trafficConfig:ContinuousDeploymentPolicyConfig',
-- continuousDeploymentPolicyConfig_trafficConfig - Contains the
-- parameters for routing production traffic from your primary to staging
-- distributions.
--
--
-- $sel:stagingDistributionDnsNames:ContinuousDeploymentPolicyConfig',
-- continuousDeploymentPolicyConfig_stagingDistributionDnsNames -
-- The CloudFront domain name of the staging distribution. For example:
-- d111111abcdef8.cloudfront.net.
--
-- $sel:enabled:ContinuousDeploymentPolicyConfig',
-- continuousDeploymentPolicyConfig_enabled - A Boolean that
-- indicates whether this continuous deployment policy is enabled (in
-- effect). When this value is true, this policy is enabled and
-- in effect. When this value is false, this policy is not
-- enabled and has no effect.
newContinuousDeploymentPolicyConfig :: StagingDistributionDnsNames -> Bool -> ContinuousDeploymentPolicyConfig
-- | Contains the parameters for routing production traffic from your
-- primary to staging distributions.
continuousDeploymentPolicyConfig_trafficConfig :: Lens' ContinuousDeploymentPolicyConfig (Maybe TrafficConfig)
-- | The CloudFront domain name of the staging distribution. For example:
-- d111111abcdef8.cloudfront.net.
continuousDeploymentPolicyConfig_stagingDistributionDnsNames :: Lens' ContinuousDeploymentPolicyConfig StagingDistributionDnsNames
-- | A Boolean that indicates whether this continuous deployment policy is
-- enabled (in effect). When this value is true, this policy is
-- enabled and in effect. When this value is false, this policy
-- is not enabled and has no effect.
continuousDeploymentPolicyConfig_enabled :: Lens' ContinuousDeploymentPolicyConfig Bool
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ContinuousDeploymentPolicyConfig.ContinuousDeploymentPolicyConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.ContinuousDeploymentPolicyConfig.ContinuousDeploymentPolicyConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.ContinuousDeploymentPolicyConfig.ContinuousDeploymentPolicyConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ContinuousDeploymentPolicyConfig.ContinuousDeploymentPolicyConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ContinuousDeploymentPolicyConfig.ContinuousDeploymentPolicyConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ContinuousDeploymentPolicyConfig.ContinuousDeploymentPolicyConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ContinuousDeploymentPolicyConfig.ContinuousDeploymentPolicyConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ContinuousDeploymentPolicyConfig.ContinuousDeploymentPolicyConfig
module Amazonka.CloudFront.Types.ContinuousDeploymentPolicy
-- | A continuous deployment policy.
--
-- See: newContinuousDeploymentPolicy smart constructor.
data ContinuousDeploymentPolicy
ContinuousDeploymentPolicy' :: Text -> ISO8601 -> ContinuousDeploymentPolicyConfig -> ContinuousDeploymentPolicy
-- | The identifier of the continuous deployment policy.
[$sel:id:ContinuousDeploymentPolicy'] :: ContinuousDeploymentPolicy -> Text
-- | The date and time the continuous deployment policy was last modified.
[$sel:lastModifiedTime:ContinuousDeploymentPolicy'] :: ContinuousDeploymentPolicy -> ISO8601
[$sel:continuousDeploymentPolicyConfig:ContinuousDeploymentPolicy'] :: ContinuousDeploymentPolicy -> ContinuousDeploymentPolicyConfig
-- | Create a value of ContinuousDeploymentPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:ContinuousDeploymentPolicy',
-- continuousDeploymentPolicy_id - The identifier of the
-- continuous deployment policy.
--
-- $sel:lastModifiedTime:ContinuousDeploymentPolicy',
-- continuousDeploymentPolicy_lastModifiedTime - The date and time
-- the continuous deployment policy was last modified.
--
--
-- $sel:continuousDeploymentPolicyConfig:ContinuousDeploymentPolicy',
-- continuousDeploymentPolicy_continuousDeploymentPolicyConfig -
-- Undocumented member.
newContinuousDeploymentPolicy :: Text -> UTCTime -> ContinuousDeploymentPolicyConfig -> ContinuousDeploymentPolicy
-- | The identifier of the continuous deployment policy.
continuousDeploymentPolicy_id :: Lens' ContinuousDeploymentPolicy Text
-- | The date and time the continuous deployment policy was last modified.
continuousDeploymentPolicy_lastModifiedTime :: Lens' ContinuousDeploymentPolicy UTCTime
-- | Undocumented member.
continuousDeploymentPolicy_continuousDeploymentPolicyConfig :: Lens' ContinuousDeploymentPolicy ContinuousDeploymentPolicyConfig
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ContinuousDeploymentPolicy.ContinuousDeploymentPolicy
instance GHC.Show.Show Amazonka.CloudFront.Types.ContinuousDeploymentPolicy.ContinuousDeploymentPolicy
instance GHC.Read.Read Amazonka.CloudFront.Types.ContinuousDeploymentPolicy.ContinuousDeploymentPolicy
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ContinuousDeploymentPolicy.ContinuousDeploymentPolicy
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ContinuousDeploymentPolicy.ContinuousDeploymentPolicy
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ContinuousDeploymentPolicy.ContinuousDeploymentPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ContinuousDeploymentPolicy.ContinuousDeploymentPolicy
module Amazonka.CloudFront.Types.ContinuousDeploymentPolicySummary
-- | A summary of the information about your continuous deployment
-- policies.
--
-- See: newContinuousDeploymentPolicySummary smart
-- constructor.
data ContinuousDeploymentPolicySummary
ContinuousDeploymentPolicySummary' :: ContinuousDeploymentPolicy -> ContinuousDeploymentPolicySummary
-- | The continuous deployment policy.
[$sel:continuousDeploymentPolicy:ContinuousDeploymentPolicySummary'] :: ContinuousDeploymentPolicySummary -> ContinuousDeploymentPolicy
-- | Create a value of ContinuousDeploymentPolicySummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:continuousDeploymentPolicy:ContinuousDeploymentPolicySummary',
-- continuousDeploymentPolicySummary_continuousDeploymentPolicy -
-- The continuous deployment policy.
newContinuousDeploymentPolicySummary :: ContinuousDeploymentPolicy -> ContinuousDeploymentPolicySummary
-- | The continuous deployment policy.
continuousDeploymentPolicySummary_continuousDeploymentPolicy :: Lens' ContinuousDeploymentPolicySummary ContinuousDeploymentPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ContinuousDeploymentPolicySummary.ContinuousDeploymentPolicySummary
instance GHC.Show.Show Amazonka.CloudFront.Types.ContinuousDeploymentPolicySummary.ContinuousDeploymentPolicySummary
instance GHC.Read.Read Amazonka.CloudFront.Types.ContinuousDeploymentPolicySummary.ContinuousDeploymentPolicySummary
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ContinuousDeploymentPolicySummary.ContinuousDeploymentPolicySummary
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ContinuousDeploymentPolicySummary.ContinuousDeploymentPolicySummary
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ContinuousDeploymentPolicySummary.ContinuousDeploymentPolicySummary
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ContinuousDeploymentPolicySummary.ContinuousDeploymentPolicySummary
module Amazonka.CloudFront.Types.ContinuousDeploymentPolicyList
-- | Contains a list of continuous deployment policies.
--
-- See: newContinuousDeploymentPolicyList smart
-- constructor.
data ContinuousDeploymentPolicyList
ContinuousDeploymentPolicyList' :: Maybe [ContinuousDeploymentPolicySummary] -> Maybe Text -> Int -> Int -> ContinuousDeploymentPolicyList
-- | A list of continuous deployment policy items.
[$sel:items:ContinuousDeploymentPolicyList'] :: ContinuousDeploymentPolicyList -> Maybe [ContinuousDeploymentPolicySummary]
-- | Indicates the next page of continuous deployment policies. To get the
-- next page of the list, use this value in the Marker field of
-- your request.
[$sel:nextMarker:ContinuousDeploymentPolicyList'] :: ContinuousDeploymentPolicyList -> Maybe Text
-- | The maximum number of continuous deployment policies that were
-- specified in your request.
[$sel:maxItems:ContinuousDeploymentPolicyList'] :: ContinuousDeploymentPolicyList -> Int
-- | The total number of continuous deployment policies in your Amazon Web
-- Services account, regardless of the MaxItems value.
[$sel:quantity:ContinuousDeploymentPolicyList'] :: ContinuousDeploymentPolicyList -> Int
-- | Create a value of ContinuousDeploymentPolicyList with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ContinuousDeploymentPolicyList',
-- continuousDeploymentPolicyList_items - A list of continuous
-- deployment policy items.
--
-- $sel:nextMarker:ContinuousDeploymentPolicyList',
-- continuousDeploymentPolicyList_nextMarker - Indicates the next
-- page of continuous deployment policies. To get the next page of the
-- list, use this value in the Marker field of your request.
--
-- $sel:maxItems:ContinuousDeploymentPolicyList',
-- continuousDeploymentPolicyList_maxItems - The maximum number of
-- continuous deployment policies that were specified in your request.
--
-- $sel:quantity:ContinuousDeploymentPolicyList',
-- continuousDeploymentPolicyList_quantity - The total number of
-- continuous deployment policies in your Amazon Web Services account,
-- regardless of the MaxItems value.
newContinuousDeploymentPolicyList :: Int -> Int -> ContinuousDeploymentPolicyList
-- | A list of continuous deployment policy items.
continuousDeploymentPolicyList_items :: Lens' ContinuousDeploymentPolicyList (Maybe [ContinuousDeploymentPolicySummary])
-- | Indicates the next page of continuous deployment policies. To get the
-- next page of the list, use this value in the Marker field of
-- your request.
continuousDeploymentPolicyList_nextMarker :: Lens' ContinuousDeploymentPolicyList (Maybe Text)
-- | The maximum number of continuous deployment policies that were
-- specified in your request.
continuousDeploymentPolicyList_maxItems :: Lens' ContinuousDeploymentPolicyList Int
-- | The total number of continuous deployment policies in your Amazon Web
-- Services account, regardless of the MaxItems value.
continuousDeploymentPolicyList_quantity :: Lens' ContinuousDeploymentPolicyList Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ContinuousDeploymentPolicyList.ContinuousDeploymentPolicyList
instance GHC.Show.Show Amazonka.CloudFront.Types.ContinuousDeploymentPolicyList.ContinuousDeploymentPolicyList
instance GHC.Read.Read Amazonka.CloudFront.Types.ContinuousDeploymentPolicyList.ContinuousDeploymentPolicyList
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ContinuousDeploymentPolicyList.ContinuousDeploymentPolicyList
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ContinuousDeploymentPolicyList.ContinuousDeploymentPolicyList
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ContinuousDeploymentPolicyList.ContinuousDeploymentPolicyList
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ContinuousDeploymentPolicyList.ContinuousDeploymentPolicyList
module Amazonka.CloudFront.Types.TrustedKeyGroups
-- | A list of key groups whose public keys CloudFront can use to verify
-- the signatures of signed URLs and signed cookies.
--
-- See: newTrustedKeyGroups smart constructor.
data TrustedKeyGroups
TrustedKeyGroups' :: Maybe [Text] -> Bool -> Int -> TrustedKeyGroups
-- | A list of key groups identifiers.
[$sel:items:TrustedKeyGroups'] :: TrustedKeyGroups -> Maybe [Text]
-- | This field is true if any of the key groups in the list have
-- public keys that CloudFront can use to verify the signatures of signed
-- URLs and signed cookies. If not, this field is false.
[$sel:enabled:TrustedKeyGroups'] :: TrustedKeyGroups -> Bool
-- | The number of key groups in the list.
[$sel:quantity:TrustedKeyGroups'] :: TrustedKeyGroups -> Int
-- | Create a value of TrustedKeyGroups with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:TrustedKeyGroups', trustedKeyGroups_items - A
-- list of key groups identifiers.
--
-- $sel:enabled:TrustedKeyGroups', trustedKeyGroups_enabled
-- - This field is true if any of the key groups in the list
-- have public keys that CloudFront can use to verify the signatures of
-- signed URLs and signed cookies. If not, this field is false.
--
-- $sel:quantity:TrustedKeyGroups',
-- trustedKeyGroups_quantity - The number of key groups in the
-- list.
newTrustedKeyGroups :: Bool -> Int -> TrustedKeyGroups
-- | A list of key groups identifiers.
trustedKeyGroups_items :: Lens' TrustedKeyGroups (Maybe [Text])
-- | This field is true if any of the key groups in the list have
-- public keys that CloudFront can use to verify the signatures of signed
-- URLs and signed cookies. If not, this field is false.
trustedKeyGroups_enabled :: Lens' TrustedKeyGroups Bool
-- | The number of key groups in the list.
trustedKeyGroups_quantity :: Lens' TrustedKeyGroups Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.TrustedKeyGroups.TrustedKeyGroups
instance GHC.Show.Show Amazonka.CloudFront.Types.TrustedKeyGroups.TrustedKeyGroups
instance GHC.Read.Read Amazonka.CloudFront.Types.TrustedKeyGroups.TrustedKeyGroups
instance GHC.Classes.Eq Amazonka.CloudFront.Types.TrustedKeyGroups.TrustedKeyGroups
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.TrustedKeyGroups.TrustedKeyGroups
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.TrustedKeyGroups.TrustedKeyGroups
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.TrustedKeyGroups.TrustedKeyGroups
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.TrustedKeyGroups.TrustedKeyGroups
module Amazonka.CloudFront.Types.TrustedSigners
-- | A list of Amazon Web Services accounts whose public keys CloudFront
-- can use to verify the signatures of signed URLs and signed cookies.
--
-- See: newTrustedSigners smart constructor.
data TrustedSigners
TrustedSigners' :: Maybe [Text] -> Bool -> Int -> TrustedSigners
-- | A list of Amazon Web Services account identifiers.
[$sel:items:TrustedSigners'] :: TrustedSigners -> Maybe [Text]
-- | This field is true if any of the Amazon Web Services accounts
-- have public keys that CloudFront can use to verify the signatures of
-- signed URLs and signed cookies. If not, this field is false.
[$sel:enabled:TrustedSigners'] :: TrustedSigners -> Bool
-- | The number of Amazon Web Services accounts in the list.
[$sel:quantity:TrustedSigners'] :: TrustedSigners -> Int
-- | Create a value of TrustedSigners with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:TrustedSigners', trustedSigners_items - A
-- list of Amazon Web Services account identifiers.
--
-- $sel:enabled:TrustedSigners', trustedSigners_enabled -
-- This field is true if any of the Amazon Web Services accounts
-- have public keys that CloudFront can use to verify the signatures of
-- signed URLs and signed cookies. If not, this field is false.
--
-- $sel:quantity:TrustedSigners', trustedSigners_quantity -
-- The number of Amazon Web Services accounts in the list.
newTrustedSigners :: Bool -> Int -> TrustedSigners
-- | A list of Amazon Web Services account identifiers.
trustedSigners_items :: Lens' TrustedSigners (Maybe [Text])
-- | This field is true if any of the Amazon Web Services accounts
-- have public keys that CloudFront can use to verify the signatures of
-- signed URLs and signed cookies. If not, this field is false.
trustedSigners_enabled :: Lens' TrustedSigners Bool
-- | The number of Amazon Web Services accounts in the list.
trustedSigners_quantity :: Lens' TrustedSigners Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.TrustedSigners.TrustedSigners
instance GHC.Show.Show Amazonka.CloudFront.Types.TrustedSigners.TrustedSigners
instance GHC.Read.Read Amazonka.CloudFront.Types.TrustedSigners.TrustedSigners
instance GHC.Classes.Eq Amazonka.CloudFront.Types.TrustedSigners.TrustedSigners
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.TrustedSigners.TrustedSigners
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.TrustedSigners.TrustedSigners
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.TrustedSigners.TrustedSigners
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.TrustedSigners.TrustedSigners
module Amazonka.CloudFront.Types.StreamingDistributionSummary
-- | A summary of the information for a CloudFront streaming distribution.
--
-- See: newStreamingDistributionSummary smart constructor.
data StreamingDistributionSummary
StreamingDistributionSummary' :: Text -> Text -> Text -> ISO8601 -> Text -> S3Origin -> Aliases -> TrustedSigners -> Text -> PriceClass -> Bool -> StreamingDistributionSummary
-- | The identifier for the distribution, for example,
-- EDFDVBD632BHDS5.
[$sel:id:StreamingDistributionSummary'] :: StreamingDistributionSummary -> Text
-- | The ARN (Amazon Resource Name) for the streaming distribution. For
-- example:
-- arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
[$sel:arn:StreamingDistributionSummary'] :: StreamingDistributionSummary -> Text
-- | Indicates the current status of the distribution. When the status is
-- Deployed, the distribution's information is fully propagated
-- throughout the Amazon CloudFront system.
[$sel:status:StreamingDistributionSummary'] :: StreamingDistributionSummary -> Text
-- | The date and time the distribution was last modified.
[$sel:lastModifiedTime:StreamingDistributionSummary'] :: StreamingDistributionSummary -> ISO8601
-- | The domain name corresponding to the distribution, for example,
-- d111111abcdef8.cloudfront.net.
[$sel:domainName:StreamingDistributionSummary'] :: StreamingDistributionSummary -> Text
-- | A complex type that contains information about the Amazon S3 bucket
-- from which you want CloudFront to get your media files for
-- distribution.
[$sel:s3Origin:StreamingDistributionSummary'] :: StreamingDistributionSummary -> S3Origin
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this streaming distribution.
[$sel:aliases:StreamingDistributionSummary'] :: StreamingDistributionSummary -> Aliases
-- | A complex type that specifies the Amazon Web Services accounts, if
-- any, that you want to allow to create signed URLs for private content.
-- If you want to require signed URLs in requests for objects in the
-- target origin that match the PathPattern for this cache
-- behavior, specify true for Enabled, and specify the
-- applicable values for Quantity and Items.If you
-- don't want to require signed URLs in requests for objects that match
-- PathPattern, specify false for Enabled and
-- 0 for Quantity. Omit Items. To add, change,
-- or remove one or more trusted signers, change Enabled to
-- true (if it's currently false), change
-- Quantity as applicable, and specify all of the trusted
-- signers that you want to include in the updated distribution.
--
-- For more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
[$sel:trustedSigners:StreamingDistributionSummary'] :: StreamingDistributionSummary -> TrustedSigners
-- | The comment originally specified when this distribution was created.
[$sel:comment:StreamingDistributionSummary'] :: StreamingDistributionSummary -> Text
-- | A complex type that contains information about price class for this
-- streaming distribution.
[$sel:priceClass:StreamingDistributionSummary'] :: StreamingDistributionSummary -> PriceClass
-- | Whether the distribution is enabled to accept end user requests for
-- content.
[$sel:enabled:StreamingDistributionSummary'] :: StreamingDistributionSummary -> Bool
-- | Create a value of StreamingDistributionSummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:StreamingDistributionSummary',
-- streamingDistributionSummary_id - The identifier for the
-- distribution, for example, EDFDVBD632BHDS5.
--
-- $sel:arn:StreamingDistributionSummary',
-- streamingDistributionSummary_arn - The ARN (Amazon Resource
-- Name) for the streaming distribution. For example:
-- arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
--
-- $sel:status:StreamingDistributionSummary',
-- streamingDistributionSummary_status - Indicates the current
-- status of the distribution. When the status is Deployed, the
-- distribution's information is fully propagated throughout the Amazon
-- CloudFront system.
--
-- $sel:lastModifiedTime:StreamingDistributionSummary',
-- streamingDistributionSummary_lastModifiedTime - The date and
-- time the distribution was last modified.
--
-- StreamingDistributionSummary,
-- streamingDistributionSummary_domainName - The domain name
-- corresponding to the distribution, for example,
-- d111111abcdef8.cloudfront.net.
--
-- $sel:s3Origin:StreamingDistributionSummary',
-- streamingDistributionSummary_s3Origin - A complex type that
-- contains information about the Amazon S3 bucket from which you want
-- CloudFront to get your media files for distribution.
--
-- $sel:aliases:StreamingDistributionSummary',
-- streamingDistributionSummary_aliases - A complex type that
-- contains information about CNAMEs (alternate domain names), if any,
-- for this streaming distribution.
--
-- $sel:trustedSigners:StreamingDistributionSummary',
-- streamingDistributionSummary_trustedSigners - A complex type
-- that specifies the Amazon Web Services accounts, if any, that you want
-- to allow to create signed URLs for private content. If you want to
-- require signed URLs in requests for objects in the target origin that
-- match the PathPattern for this cache behavior, specify
-- true for Enabled, and specify the applicable values
-- for Quantity and Items.If you don't want to require
-- signed URLs in requests for objects that match PathPattern,
-- specify false for Enabled and 0 for
-- Quantity. Omit Items. To add, change, or remove one
-- or more trusted signers, change Enabled to true (if
-- it's currently false), change Quantity as
-- applicable, and specify all of the trusted signers that you want to
-- include in the updated distribution.
--
-- For more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
--
-- $sel:comment:StreamingDistributionSummary',
-- streamingDistributionSummary_comment - The comment originally
-- specified when this distribution was created.
--
-- $sel:priceClass:StreamingDistributionSummary',
-- streamingDistributionSummary_priceClass - A complex type that
-- contains information about price class for this streaming
-- distribution.
--
-- StreamingDistributionSummary,
-- streamingDistributionSummary_enabled - Whether the distribution
-- is enabled to accept end user requests for content.
newStreamingDistributionSummary :: Text -> Text -> Text -> UTCTime -> Text -> S3Origin -> Aliases -> TrustedSigners -> Text -> PriceClass -> Bool -> StreamingDistributionSummary
-- | The identifier for the distribution, for example,
-- EDFDVBD632BHDS5.
streamingDistributionSummary_id :: Lens' StreamingDistributionSummary Text
-- | The ARN (Amazon Resource Name) for the streaming distribution. For
-- example:
-- arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
streamingDistributionSummary_arn :: Lens' StreamingDistributionSummary Text
-- | Indicates the current status of the distribution. When the status is
-- Deployed, the distribution's information is fully propagated
-- throughout the Amazon CloudFront system.
streamingDistributionSummary_status :: Lens' StreamingDistributionSummary Text
-- | The date and time the distribution was last modified.
streamingDistributionSummary_lastModifiedTime :: Lens' StreamingDistributionSummary UTCTime
-- | The domain name corresponding to the distribution, for example,
-- d111111abcdef8.cloudfront.net.
streamingDistributionSummary_domainName :: Lens' StreamingDistributionSummary Text
-- | A complex type that contains information about the Amazon S3 bucket
-- from which you want CloudFront to get your media files for
-- distribution.
streamingDistributionSummary_s3Origin :: Lens' StreamingDistributionSummary S3Origin
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this streaming distribution.
streamingDistributionSummary_aliases :: Lens' StreamingDistributionSummary Aliases
-- | A complex type that specifies the Amazon Web Services accounts, if
-- any, that you want to allow to create signed URLs for private content.
-- If you want to require signed URLs in requests for objects in the
-- target origin that match the PathPattern for this cache
-- behavior, specify true for Enabled, and specify the
-- applicable values for Quantity and Items.If you
-- don't want to require signed URLs in requests for objects that match
-- PathPattern, specify false for Enabled and
-- 0 for Quantity. Omit Items. To add, change,
-- or remove one or more trusted signers, change Enabled to
-- true (if it's currently false), change
-- Quantity as applicable, and specify all of the trusted
-- signers that you want to include in the updated distribution.
--
-- For more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
streamingDistributionSummary_trustedSigners :: Lens' StreamingDistributionSummary TrustedSigners
-- | The comment originally specified when this distribution was created.
streamingDistributionSummary_comment :: Lens' StreamingDistributionSummary Text
-- | A complex type that contains information about price class for this
-- streaming distribution.
streamingDistributionSummary_priceClass :: Lens' StreamingDistributionSummary PriceClass
-- | Whether the distribution is enabled to accept end user requests for
-- content.
streamingDistributionSummary_enabled :: Lens' StreamingDistributionSummary Bool
instance GHC.Generics.Generic Amazonka.CloudFront.Types.StreamingDistributionSummary.StreamingDistributionSummary
instance GHC.Show.Show Amazonka.CloudFront.Types.StreamingDistributionSummary.StreamingDistributionSummary
instance GHC.Read.Read Amazonka.CloudFront.Types.StreamingDistributionSummary.StreamingDistributionSummary
instance GHC.Classes.Eq Amazonka.CloudFront.Types.StreamingDistributionSummary.StreamingDistributionSummary
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.StreamingDistributionSummary.StreamingDistributionSummary
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.StreamingDistributionSummary.StreamingDistributionSummary
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.StreamingDistributionSummary.StreamingDistributionSummary
module Amazonka.CloudFront.Types.StreamingDistributionList
-- | A streaming distribution list.
--
-- See: newStreamingDistributionList smart constructor.
data StreamingDistributionList
StreamingDistributionList' :: Maybe [StreamingDistributionSummary] -> Maybe Text -> Text -> Int -> Bool -> Int -> StreamingDistributionList
-- | A complex type that contains one StreamingDistributionSummary
-- element for each distribution that was created by the current Amazon
-- Web Services account.
[$sel:items:StreamingDistributionList'] :: StreamingDistributionList -> Maybe [StreamingDistributionSummary]
-- | If IsTruncated is true, this element is present and
-- contains the value you can use for the Marker request
-- parameter to continue listing your RTMP distributions where they left
-- off.
[$sel:nextMarker:StreamingDistributionList'] :: StreamingDistributionList -> Maybe Text
-- | The value you provided for the Marker request parameter.
[$sel:marker:StreamingDistributionList'] :: StreamingDistributionList -> Text
-- | The value you provided for the MaxItems request parameter.
[$sel:maxItems:StreamingDistributionList'] :: StreamingDistributionList -> Int
-- | 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.
[$sel:isTruncated:StreamingDistributionList'] :: StreamingDistributionList -> Bool
-- | The number of streaming distributions that were created by the current
-- Amazon Web Services account.
[$sel:quantity:StreamingDistributionList'] :: StreamingDistributionList -> Int
-- | Create a value of StreamingDistributionList with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:StreamingDistributionList',
-- streamingDistributionList_items - A complex type that contains
-- one StreamingDistributionSummary element for each
-- distribution that was created by the current Amazon Web Services
-- account.
--
-- $sel:nextMarker:StreamingDistributionList',
-- streamingDistributionList_nextMarker - If IsTruncated
-- is true, this element is present and contains the value you
-- can use for the Marker request parameter to continue listing
-- your RTMP distributions where they left off.
--
-- $sel:marker:StreamingDistributionList',
-- streamingDistributionList_marker - The value you provided for
-- the Marker request parameter.
--
-- $sel:maxItems:StreamingDistributionList',
-- streamingDistributionList_maxItems - The value you provided for
-- the MaxItems request parameter.
--
-- $sel:isTruncated:StreamingDistributionList',
-- streamingDistributionList_isTruncated - 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.
--
-- $sel:quantity:StreamingDistributionList',
-- streamingDistributionList_quantity - The number of streaming
-- distributions that were created by the current Amazon Web Services
-- account.
newStreamingDistributionList :: Text -> Int -> Bool -> Int -> StreamingDistributionList
-- | A complex type that contains one StreamingDistributionSummary
-- element for each distribution that was created by the current Amazon
-- Web Services account.
streamingDistributionList_items :: Lens' StreamingDistributionList (Maybe [StreamingDistributionSummary])
-- | If IsTruncated is true, this element is present and
-- contains the value you can use for the Marker request
-- parameter to continue listing your RTMP distributions where they left
-- off.
streamingDistributionList_nextMarker :: Lens' StreamingDistributionList (Maybe Text)
-- | The value you provided for the Marker request parameter.
streamingDistributionList_marker :: Lens' StreamingDistributionList Text
-- | The value you provided for the MaxItems request parameter.
streamingDistributionList_maxItems :: Lens' StreamingDistributionList Int
-- | 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.
streamingDistributionList_isTruncated :: Lens' StreamingDistributionList Bool
-- | The number of streaming distributions that were created by the current
-- Amazon Web Services account.
streamingDistributionList_quantity :: Lens' StreamingDistributionList Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.StreamingDistributionList.StreamingDistributionList
instance GHC.Show.Show Amazonka.CloudFront.Types.StreamingDistributionList.StreamingDistributionList
instance GHC.Read.Read Amazonka.CloudFront.Types.StreamingDistributionList.StreamingDistributionList
instance GHC.Classes.Eq Amazonka.CloudFront.Types.StreamingDistributionList.StreamingDistributionList
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.StreamingDistributionList.StreamingDistributionList
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.StreamingDistributionList.StreamingDistributionList
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.StreamingDistributionList.StreamingDistributionList
module Amazonka.CloudFront.Types.StreamingDistributionConfig
-- | The RTMP distribution's configuration information.
--
-- See: newStreamingDistributionConfig smart constructor.
data StreamingDistributionConfig
StreamingDistributionConfig' :: Maybe Aliases -> Maybe StreamingLoggingConfig -> Maybe PriceClass -> Text -> S3Origin -> Text -> TrustedSigners -> Bool -> StreamingDistributionConfig
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this streaming distribution.
[$sel:aliases:StreamingDistributionConfig'] :: StreamingDistributionConfig -> Maybe Aliases
-- | A complex type that controls whether access logs are written for the
-- streaming distribution.
[$sel:logging:StreamingDistributionConfig'] :: StreamingDistributionConfig -> Maybe StreamingLoggingConfig
-- | A complex type that contains information about price class for this
-- streaming distribution.
[$sel:priceClass:StreamingDistributionConfig'] :: StreamingDistributionConfig -> Maybe PriceClass
-- | A unique value (for example, a date-time stamp) that ensures that the
-- request can't be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the StreamingDistributionConfig object),
-- CloudFront creates a new distribution.
--
-- If CallerReference is a value that you already sent in a
-- previous request to create a distribution, CloudFront returns a
-- DistributionAlreadyExists error.
[$sel:callerReference:StreamingDistributionConfig'] :: StreamingDistributionConfig -> Text
-- | A complex type that contains information about the Amazon S3 bucket
-- from which you want CloudFront to get your media files for
-- distribution.
[$sel:s3Origin:StreamingDistributionConfig'] :: StreamingDistributionConfig -> S3Origin
-- | Any comments you want to include about the streaming distribution.
[$sel:comment:StreamingDistributionConfig'] :: StreamingDistributionConfig -> Text
-- | A complex type that specifies any Amazon Web Services accounts that
-- you want to permit to create signed URLs for private content. If you
-- want the distribution to use signed URLs, include this element; if you
-- want the distribution to use public URLs, remove this element. For
-- more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
[$sel:trustedSigners:StreamingDistributionConfig'] :: StreamingDistributionConfig -> TrustedSigners
-- | Whether the streaming distribution is enabled to accept user requests
-- for content.
[$sel:enabled:StreamingDistributionConfig'] :: StreamingDistributionConfig -> Bool
-- | Create a value of StreamingDistributionConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aliases:StreamingDistributionConfig',
-- streamingDistributionConfig_aliases - A complex type that
-- contains information about CNAMEs (alternate domain names), if any,
-- for this streaming distribution.
--
-- $sel:logging:StreamingDistributionConfig',
-- streamingDistributionConfig_logging - A complex type that
-- controls whether access logs are written for the streaming
-- distribution.
--
-- $sel:priceClass:StreamingDistributionConfig',
-- streamingDistributionConfig_priceClass - A complex type that
-- contains information about price class for this streaming
-- distribution.
--
-- $sel:callerReference:StreamingDistributionConfig',
-- streamingDistributionConfig_callerReference - A unique value
-- (for example, a date-time stamp) that ensures that the request can't
-- be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the StreamingDistributionConfig object),
-- CloudFront creates a new distribution.
--
-- If CallerReference is a value that you already sent in a
-- previous request to create a distribution, CloudFront returns a
-- DistributionAlreadyExists error.
--
-- $sel:s3Origin:StreamingDistributionConfig',
-- streamingDistributionConfig_s3Origin - A complex type that
-- contains information about the Amazon S3 bucket from which you want
-- CloudFront to get your media files for distribution.
--
-- $sel:comment:StreamingDistributionConfig',
-- streamingDistributionConfig_comment - Any comments you want to
-- include about the streaming distribution.
--
-- $sel:trustedSigners:StreamingDistributionConfig',
-- streamingDistributionConfig_trustedSigners - A complex type
-- that specifies any Amazon Web Services accounts that you want to
-- permit to create signed URLs for private content. If you want the
-- distribution to use signed URLs, include this element; if you want the
-- distribution to use public URLs, remove this element. For more
-- information, see Serving Private Content through CloudFront in
-- the Amazon CloudFront Developer Guide.
--
-- StreamingDistributionConfig,
-- streamingDistributionConfig_enabled - Whether the streaming
-- distribution is enabled to accept user requests for content.
newStreamingDistributionConfig :: Text -> S3Origin -> Text -> TrustedSigners -> Bool -> StreamingDistributionConfig
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this streaming distribution.
streamingDistributionConfig_aliases :: Lens' StreamingDistributionConfig (Maybe Aliases)
-- | A complex type that controls whether access logs are written for the
-- streaming distribution.
streamingDistributionConfig_logging :: Lens' StreamingDistributionConfig (Maybe StreamingLoggingConfig)
-- | A complex type that contains information about price class for this
-- streaming distribution.
streamingDistributionConfig_priceClass :: Lens' StreamingDistributionConfig (Maybe PriceClass)
-- | A unique value (for example, a date-time stamp) that ensures that the
-- request can't be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the StreamingDistributionConfig object),
-- CloudFront creates a new distribution.
--
-- If CallerReference is a value that you already sent in a
-- previous request to create a distribution, CloudFront returns a
-- DistributionAlreadyExists error.
streamingDistributionConfig_callerReference :: Lens' StreamingDistributionConfig Text
-- | A complex type that contains information about the Amazon S3 bucket
-- from which you want CloudFront to get your media files for
-- distribution.
streamingDistributionConfig_s3Origin :: Lens' StreamingDistributionConfig S3Origin
-- | Any comments you want to include about the streaming distribution.
streamingDistributionConfig_comment :: Lens' StreamingDistributionConfig Text
-- | A complex type that specifies any Amazon Web Services accounts that
-- you want to permit to create signed URLs for private content. If you
-- want the distribution to use signed URLs, include this element; if you
-- want the distribution to use public URLs, remove this element. For
-- more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
streamingDistributionConfig_trustedSigners :: Lens' StreamingDistributionConfig TrustedSigners
-- | Whether the streaming distribution is enabled to accept user requests
-- for content.
streamingDistributionConfig_enabled :: Lens' StreamingDistributionConfig Bool
instance GHC.Generics.Generic Amazonka.CloudFront.Types.StreamingDistributionConfig.StreamingDistributionConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.StreamingDistributionConfig.StreamingDistributionConfig
instance GHC.Read.Read Amazonka.CloudFront.Types.StreamingDistributionConfig.StreamingDistributionConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.StreamingDistributionConfig.StreamingDistributionConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.StreamingDistributionConfig.StreamingDistributionConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.StreamingDistributionConfig.StreamingDistributionConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.StreamingDistributionConfig.StreamingDistributionConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.StreamingDistributionConfig.StreamingDistributionConfig
module Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags
-- | A streaming distribution Configuration and a list of tags to be
-- associated with the streaming distribution.
--
-- See: newStreamingDistributionConfigWithTags smart
-- constructor.
data StreamingDistributionConfigWithTags
StreamingDistributionConfigWithTags' :: StreamingDistributionConfig -> Tags -> StreamingDistributionConfigWithTags
-- | A streaming distribution Configuration.
[$sel:streamingDistributionConfig:StreamingDistributionConfigWithTags'] :: StreamingDistributionConfigWithTags -> StreamingDistributionConfig
-- | A complex type that contains zero or more Tag elements.
[$sel:tags:StreamingDistributionConfigWithTags'] :: StreamingDistributionConfigWithTags -> Tags
-- | Create a value of StreamingDistributionConfigWithTags with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:streamingDistributionConfig:StreamingDistributionConfigWithTags',
-- streamingDistributionConfigWithTags_streamingDistributionConfig
-- - A streaming distribution Configuration.
--
-- $sel:tags:StreamingDistributionConfigWithTags',
-- streamingDistributionConfigWithTags_tags - A complex type that
-- contains zero or more Tag elements.
newStreamingDistributionConfigWithTags :: StreamingDistributionConfig -> Tags -> StreamingDistributionConfigWithTags
-- | A streaming distribution Configuration.
streamingDistributionConfigWithTags_streamingDistributionConfig :: Lens' StreamingDistributionConfigWithTags StreamingDistributionConfig
-- | A complex type that contains zero or more Tag elements.
streamingDistributionConfigWithTags_tags :: Lens' StreamingDistributionConfigWithTags Tags
instance GHC.Generics.Generic Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags.StreamingDistributionConfigWithTags
instance GHC.Show.Show Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags.StreamingDistributionConfigWithTags
instance GHC.Read.Read Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags.StreamingDistributionConfigWithTags
instance GHC.Classes.Eq Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags.StreamingDistributionConfigWithTags
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags.StreamingDistributionConfigWithTags
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags.StreamingDistributionConfigWithTags
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags.StreamingDistributionConfigWithTags
module Amazonka.CloudFront.Types.StreamingDistribution
-- | A streaming distribution tells CloudFront where you want RTMP content
-- to be delivered from, and the details about how to track and manage
-- content delivery.
--
-- See: newStreamingDistribution smart constructor.
data StreamingDistribution
StreamingDistribution' :: Maybe ISO8601 -> Text -> Text -> Text -> Text -> ActiveTrustedSigners -> StreamingDistributionConfig -> StreamingDistribution
-- | The date and time that the distribution was last modified.
[$sel:lastModifiedTime:StreamingDistribution'] :: StreamingDistribution -> Maybe ISO8601
-- | The identifier for the RTMP distribution. For example:
-- EGTXBD79EXAMPLE.
[$sel:id:StreamingDistribution'] :: StreamingDistribution -> Text
-- | The ARN (Amazon Resource Name) for the distribution. For example:
-- arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
[$sel:arn:StreamingDistribution'] :: StreamingDistribution -> Text
-- | The current status of the RTMP distribution. When the status is
-- Deployed, the distribution's information is propagated to all
-- CloudFront edge locations.
[$sel:status:StreamingDistribution'] :: StreamingDistribution -> Text
-- | The domain name that corresponds to the streaming distribution, for
-- example, s5c39gqb8ow64r.cloudfront.net.
[$sel:domainName:StreamingDistribution'] :: StreamingDistribution -> Text
-- | A complex type that lists the Amazon Web Services accounts, if any,
-- that you included in the TrustedSigners complex type for this
-- distribution. These are the accounts that you want to allow to create
-- signed URLs for private content.
--
-- The Signer complex type lists the Amazon Web Services account
-- number of the trusted signer or self if the signer is the
-- Amazon Web Services account that created the distribution. The
-- Signer element also includes the IDs of any active CloudFront
-- key pairs that are associated with the trusted signer's Amazon Web
-- Services account. If no KeyPairId element appears for a
-- Signer, that signer can't create signed URLs.
--
-- For more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
[$sel:activeTrustedSigners:StreamingDistribution'] :: StreamingDistribution -> ActiveTrustedSigners
-- | The current configuration information for the RTMP distribution.
[$sel:streamingDistributionConfig:StreamingDistribution'] :: StreamingDistribution -> StreamingDistributionConfig
-- | Create a value of StreamingDistribution with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:lastModifiedTime:StreamingDistribution',
-- streamingDistribution_lastModifiedTime - The date and time that
-- the distribution was last modified.
--
-- $sel:id:StreamingDistribution', streamingDistribution_id
-- - The identifier for the RTMP distribution. For example:
-- EGTXBD79EXAMPLE.
--
-- $sel:arn:StreamingDistribution',
-- streamingDistribution_arn - The ARN (Amazon Resource Name) for
-- the distribution. For example:
-- arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
--
-- $sel:status:StreamingDistribution',
-- streamingDistribution_status - The current status of the RTMP
-- distribution. When the status is Deployed, the distribution's
-- information is propagated to all CloudFront edge locations.
--
-- $sel:domainName:StreamingDistribution',
-- streamingDistribution_domainName - The domain name that
-- corresponds to the streaming distribution, for example,
-- s5c39gqb8ow64r.cloudfront.net.
--
-- $sel:activeTrustedSigners:StreamingDistribution',
-- streamingDistribution_activeTrustedSigners - A complex type
-- that lists the Amazon Web Services accounts, if any, that you included
-- in the TrustedSigners complex type for this distribution.
-- These are the accounts that you want to allow to create signed URLs
-- for private content.
--
-- The Signer complex type lists the Amazon Web Services account
-- number of the trusted signer or self if the signer is the
-- Amazon Web Services account that created the distribution. The
-- Signer element also includes the IDs of any active CloudFront
-- key pairs that are associated with the trusted signer's Amazon Web
-- Services account. If no KeyPairId element appears for a
-- Signer, that signer can't create signed URLs.
--
-- For more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
--
-- $sel:streamingDistributionConfig:StreamingDistribution',
-- streamingDistribution_streamingDistributionConfig - The current
-- configuration information for the RTMP distribution.
newStreamingDistribution :: Text -> Text -> Text -> Text -> ActiveTrustedSigners -> StreamingDistributionConfig -> StreamingDistribution
-- | The date and time that the distribution was last modified.
streamingDistribution_lastModifiedTime :: Lens' StreamingDistribution (Maybe UTCTime)
-- | The identifier for the RTMP distribution. For example:
-- EGTXBD79EXAMPLE.
streamingDistribution_id :: Lens' StreamingDistribution Text
-- | The ARN (Amazon Resource Name) for the distribution. For example:
-- arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
streamingDistribution_arn :: Lens' StreamingDistribution Text
-- | The current status of the RTMP distribution. When the status is
-- Deployed, the distribution's information is propagated to all
-- CloudFront edge locations.
streamingDistribution_status :: Lens' StreamingDistribution Text
-- | The domain name that corresponds to the streaming distribution, for
-- example, s5c39gqb8ow64r.cloudfront.net.
streamingDistribution_domainName :: Lens' StreamingDistribution Text
-- | A complex type that lists the Amazon Web Services accounts, if any,
-- that you included in the TrustedSigners complex type for this
-- distribution. These are the accounts that you want to allow to create
-- signed URLs for private content.
--
-- The Signer complex type lists the Amazon Web Services account
-- number of the trusted signer or self if the signer is the
-- Amazon Web Services account that created the distribution. The
-- Signer element also includes the IDs of any active CloudFront
-- key pairs that are associated with the trusted signer's Amazon Web
-- Services account. If no KeyPairId element appears for a
-- Signer, that signer can't create signed URLs.
--
-- For more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
streamingDistribution_activeTrustedSigners :: Lens' StreamingDistribution ActiveTrustedSigners
-- | The current configuration information for the RTMP distribution.
streamingDistribution_streamingDistributionConfig :: Lens' StreamingDistribution StreamingDistributionConfig
instance GHC.Generics.Generic Amazonka.CloudFront.Types.StreamingDistribution.StreamingDistribution
instance GHC.Show.Show Amazonka.CloudFront.Types.StreamingDistribution.StreamingDistribution
instance GHC.Read.Read Amazonka.CloudFront.Types.StreamingDistribution.StreamingDistribution
instance GHC.Classes.Eq Amazonka.CloudFront.Types.StreamingDistribution.StreamingDistribution
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.StreamingDistribution.StreamingDistribution
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.StreamingDistribution.StreamingDistribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.StreamingDistribution.StreamingDistribution
module Amazonka.CloudFront.Types.ViewerCertificate
-- | A complex type that determines the distribution's SSL/TLS
-- configuration for communicating with viewers.
--
-- If the distribution doesn't use Aliases (also known as
-- alternate domain names or CNAMEs)—that is, if the distribution uses
-- the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net—set
-- CloudFrontDefaultCertificate to true and leave all
-- other fields empty.
--
-- If the distribution uses Aliases (alternate domain names or
-- CNAMEs), use the fields in this type to specify the following
-- settings:
--
--
-- - Which viewers the distribution accepts HTTPS connections from:
-- only viewers that support server name indication (SNI)
-- (recommended), or all viewers including those that don't support
-- SNI.
- To accept HTTPS connections from only viewers that support
-- SNI, set SSLSupportMethod to sni-only. This is
-- recommended. Most browsers and clients support SNI.
- To accept
-- HTTPS connections from all viewers, including those that don't support
-- SNI, set SSLSupportMethod to vip. This is not
-- recommended, and results in additional monthly charges from
-- CloudFront.
-- - The minimum SSL/TLS protocol version that the distribution can use
-- to communicate with viewers. To specify a minimum version, choose a
-- value for MinimumProtocolVersion. For more information, see
-- Security Policy in the Amazon CloudFront Developer
-- Guide.
-- - The location of the SSL/TLS certificate, Certificate Manager
-- (ACM) (recommended) or Identity and Access Management
-- (IAM). You specify the location by setting a value in one of the
-- following fields (not
-- both):
ACMCertificateArn
IAMCertificateId
--
--
-- All distributions support HTTPS connections from viewers. To require
-- viewers to use HTTPS only, or to redirect them from HTTP to HTTPS, use
-- ViewerProtocolPolicy in the CacheBehavior or
-- DefaultCacheBehavior. To specify how CloudFront should use
-- SSL/TLS to communicate with your custom origin, use
-- CustomOriginConfig.
--
-- For more information, see Using HTTPS with CloudFront and
-- Using Alternate Domain Names and HTTPS in the Amazon
-- CloudFront Developer Guide.
--
-- See: newViewerCertificate smart constructor.
data ViewerCertificate
ViewerCertificate' :: Maybe Text -> Maybe Text -> Maybe CertificateSource -> Maybe Bool -> Maybe Text -> Maybe MinimumProtocolVersion -> Maybe SSLSupportMethod -> ViewerCertificate
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs) and the SSL/TLS certificate is stored in Certificate
-- Manager (ACM), provide the Amazon Resource Name (ARN) of the ACM
-- certificate. CloudFront only supports ACM certificates in the US East
-- (N. Virginia) Region (us-east-1).
--
-- If you specify an ACM certificate ARN, you must also specify values
-- for MinimumProtocolVersion and SSLSupportMethod.
[$sel:aCMCertificateArn:ViewerCertificate'] :: ViewerCertificate -> Maybe Text
-- | This field is deprecated. Use one of the following fields instead:
--
--
[$sel:certificate:ViewerCertificate'] :: ViewerCertificate -> Maybe Text
-- | This field is deprecated. Use one of the following fields instead:
--
--
[$sel:certificateSource:ViewerCertificate'] :: ViewerCertificate -> Maybe CertificateSource
-- | If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net, set this field to
-- true.
--
-- If the distribution uses Aliases (alternate domain names or
-- CNAMEs), set this field to false and specify values for the
-- following fields:
--
--
-- - ACMCertificateArn or IAMCertificateId (specify a
-- value for one, not both)
-- MinimumProtocolVersion
-- SSLSupportMethod
--
[$sel:cloudFrontDefaultCertificate:ViewerCertificate'] :: ViewerCertificate -> Maybe Bool
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs) and the SSL/TLS certificate is stored in Identity and
-- Access Management (IAM), provide the ID of the IAM certificate.
--
-- If you specify an IAM certificate ID, you must also specify values for
-- MinimumProtocolVersion and SSLSupportMethod.
[$sel:iAMCertificateId:ViewerCertificate'] :: ViewerCertificate -> Maybe Text
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs), specify the security policy that you want CloudFront to use
-- for HTTPS connections with viewers. The security policy determines two
-- settings:
--
--
-- - The minimum SSL/TLS protocol that CloudFront can use to
-- communicate with viewers.
-- - The ciphers that CloudFront can use to encrypt the content that it
-- returns to viewers.
--
--
-- For more information, see Security Policy and Supported
-- Protocols and Ciphers Between Viewers and CloudFront in the
-- Amazon CloudFront Developer Guide.
--
-- On the CloudFront console, this setting is called Security
-- Policy.
--
-- When you're using SNI only (you set SSLSupportMethod to
-- sni-only), you must specify TLSv1 or higher.
--
-- If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net (you set
-- CloudFrontDefaultCertificate to true), CloudFront
-- automatically sets the security policy to TLSv1 regardless of
-- the value that you set here.
[$sel:minimumProtocolVersion:ViewerCertificate'] :: ViewerCertificate -> Maybe MinimumProtocolVersion
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs), specify which viewers the distribution accepts HTTPS
-- connections from.
--
--
-- - sni-only – The distribution accepts HTTPS connections
-- from only viewers that support server name indication (SNI).
-- This is recommended. Most browsers and clients support SNI.
-- - vip – The distribution accepts HTTPS connections from all
-- viewers including those that don't support SNI. This is not
-- recommended, and results in additional monthly charges from
-- CloudFront.
-- - static-ip - Do not specify this value unless your
-- distribution has been enabled for this feature by the CloudFront team.
-- If you have a use case that requires static IP addresses for a
-- distribution, contact CloudFront through the Amazon Web Services
-- Support Center.
--
--
-- If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net, don't set a value for this
-- field.
[$sel:sSLSupportMethod:ViewerCertificate'] :: ViewerCertificate -> Maybe SSLSupportMethod
-- | Create a value of ViewerCertificate with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aCMCertificateArn:ViewerCertificate',
-- viewerCertificate_aCMCertificateArn - If the distribution uses
-- Aliases (alternate domain names or CNAMEs) and the SSL/TLS
-- certificate is stored in Certificate Manager (ACM), provide the
-- Amazon Resource Name (ARN) of the ACM certificate. CloudFront only
-- supports ACM certificates in the US East (N. Virginia) Region
-- (us-east-1).
--
-- If you specify an ACM certificate ARN, you must also specify values
-- for MinimumProtocolVersion and SSLSupportMethod.
--
-- $sel:certificate:ViewerCertificate',
-- viewerCertificate_certificate - This field is deprecated. Use
-- one of the following fields instead:
--
--
--
-- $sel:certificateSource:ViewerCertificate',
-- viewerCertificate_certificateSource - This field is deprecated.
-- Use one of the following fields instead:
--
--
--
-- $sel:cloudFrontDefaultCertificate:ViewerCertificate',
-- viewerCertificate_cloudFrontDefaultCertificate - If the
-- distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net, set this field to
-- true.
--
-- If the distribution uses Aliases (alternate domain names or
-- CNAMEs), set this field to false and specify values for the
-- following fields:
--
--
-- - ACMCertificateArn or IAMCertificateId (specify a
-- value for one, not both)
-- MinimumProtocolVersion
-- SSLSupportMethod
--
--
-- $sel:iAMCertificateId:ViewerCertificate',
-- viewerCertificate_iAMCertificateId - If the distribution uses
-- Aliases (alternate domain names or CNAMEs) and the SSL/TLS
-- certificate is stored in Identity and Access Management (IAM),
-- provide the ID of the IAM certificate.
--
-- If you specify an IAM certificate ID, you must also specify values for
-- MinimumProtocolVersion and SSLSupportMethod.
--
-- $sel:minimumProtocolVersion:ViewerCertificate',
-- viewerCertificate_minimumProtocolVersion - If the distribution
-- uses Aliases (alternate domain names or CNAMEs), specify the
-- security policy that you want CloudFront to use for HTTPS connections
-- with viewers. The security policy determines two settings:
--
--
-- - The minimum SSL/TLS protocol that CloudFront can use to
-- communicate with viewers.
-- - The ciphers that CloudFront can use to encrypt the content that it
-- returns to viewers.
--
--
-- For more information, see Security Policy and Supported
-- Protocols and Ciphers Between Viewers and CloudFront in the
-- Amazon CloudFront Developer Guide.
--
-- On the CloudFront console, this setting is called Security
-- Policy.
--
-- When you're using SNI only (you set SSLSupportMethod to
-- sni-only), you must specify TLSv1 or higher.
--
-- If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net (you set
-- CloudFrontDefaultCertificate to true), CloudFront
-- automatically sets the security policy to TLSv1 regardless of
-- the value that you set here.
--
-- $sel:sSLSupportMethod:ViewerCertificate',
-- viewerCertificate_sSLSupportMethod - If the distribution uses
-- Aliases (alternate domain names or CNAMEs), specify which
-- viewers the distribution accepts HTTPS connections from.
--
--
-- - sni-only – The distribution accepts HTTPS connections
-- from only viewers that support server name indication (SNI).
-- This is recommended. Most browsers and clients support SNI.
-- - vip – The distribution accepts HTTPS connections from all
-- viewers including those that don't support SNI. This is not
-- recommended, and results in additional monthly charges from
-- CloudFront.
-- - static-ip - Do not specify this value unless your
-- distribution has been enabled for this feature by the CloudFront team.
-- If you have a use case that requires static IP addresses for a
-- distribution, contact CloudFront through the Amazon Web Services
-- Support Center.
--
--
-- If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net, don't set a value for this
-- field.
newViewerCertificate :: ViewerCertificate
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs) and the SSL/TLS certificate is stored in Certificate
-- Manager (ACM), provide the Amazon Resource Name (ARN) of the ACM
-- certificate. CloudFront only supports ACM certificates in the US East
-- (N. Virginia) Region (us-east-1).
--
-- If you specify an ACM certificate ARN, you must also specify values
-- for MinimumProtocolVersion and SSLSupportMethod.
viewerCertificate_aCMCertificateArn :: Lens' ViewerCertificate (Maybe Text)
-- | This field is deprecated. Use one of the following fields instead:
--
--
viewerCertificate_certificate :: Lens' ViewerCertificate (Maybe Text)
-- | This field is deprecated. Use one of the following fields instead:
--
--
viewerCertificate_certificateSource :: Lens' ViewerCertificate (Maybe CertificateSource)
-- | If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net, set this field to
-- true.
--
-- If the distribution uses Aliases (alternate domain names or
-- CNAMEs), set this field to false and specify values for the
-- following fields:
--
--
-- - ACMCertificateArn or IAMCertificateId (specify a
-- value for one, not both)
-- MinimumProtocolVersion
-- SSLSupportMethod
--
viewerCertificate_cloudFrontDefaultCertificate :: Lens' ViewerCertificate (Maybe Bool)
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs) and the SSL/TLS certificate is stored in Identity and
-- Access Management (IAM), provide the ID of the IAM certificate.
--
-- If you specify an IAM certificate ID, you must also specify values for
-- MinimumProtocolVersion and SSLSupportMethod.
viewerCertificate_iAMCertificateId :: Lens' ViewerCertificate (Maybe Text)
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs), specify the security policy that you want CloudFront to use
-- for HTTPS connections with viewers. The security policy determines two
-- settings:
--
--
-- - The minimum SSL/TLS protocol that CloudFront can use to
-- communicate with viewers.
-- - The ciphers that CloudFront can use to encrypt the content that it
-- returns to viewers.
--
--
-- For more information, see Security Policy and Supported
-- Protocols and Ciphers Between Viewers and CloudFront in the
-- Amazon CloudFront Developer Guide.
--
-- On the CloudFront console, this setting is called Security
-- Policy.
--
-- When you're using SNI only (you set SSLSupportMethod to
-- sni-only), you must specify TLSv1 or higher.
--
-- If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net (you set
-- CloudFrontDefaultCertificate to true), CloudFront
-- automatically sets the security policy to TLSv1 regardless of
-- the value that you set here.
viewerCertificate_minimumProtocolVersion :: Lens' ViewerCertificate (Maybe MinimumProtocolVersion)
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs), specify which viewers the distribution accepts HTTPS
-- connections from.
--
--
-- - sni-only – The distribution accepts HTTPS connections
-- from only viewers that support server name indication (SNI).
-- This is recommended. Most browsers and clients support SNI.
-- - vip – The distribution accepts HTTPS connections from all
-- viewers including those that don't support SNI. This is not
-- recommended, and results in additional monthly charges from
-- CloudFront.
-- - static-ip - Do not specify this value unless your
-- distribution has been enabled for this feature by the CloudFront team.
-- If you have a use case that requires static IP addresses for a
-- distribution, contact CloudFront through the Amazon Web Services
-- Support Center.
--
--
-- If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net, don't set a value for this
-- field.
viewerCertificate_sSLSupportMethod :: Lens' ViewerCertificate (Maybe SSLSupportMethod)
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ViewerCertificate.ViewerCertificate
instance GHC.Show.Show Amazonka.CloudFront.Types.ViewerCertificate.ViewerCertificate
instance GHC.Read.Read Amazonka.CloudFront.Types.ViewerCertificate.ViewerCertificate
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ViewerCertificate.ViewerCertificate
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ViewerCertificate.ViewerCertificate
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ViewerCertificate.ViewerCertificate
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ViewerCertificate.ViewerCertificate
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ViewerCertificate.ViewerCertificate
module Amazonka.CloudFront.Types.ViewerProtocolPolicy
newtype ViewerProtocolPolicy
ViewerProtocolPolicy' :: Text -> ViewerProtocolPolicy
[fromViewerProtocolPolicy] :: ViewerProtocolPolicy -> Text
pattern ViewerProtocolPolicy_Allow_all :: ViewerProtocolPolicy
pattern ViewerProtocolPolicy_Https_only :: ViewerProtocolPolicy
pattern ViewerProtocolPolicy_Redirect_to_https :: ViewerProtocolPolicy
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.ViewerProtocolPolicy.ViewerProtocolPolicy
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.ViewerProtocolPolicy.ViewerProtocolPolicy
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudFront.Types.ViewerProtocolPolicy.ViewerProtocolPolicy
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudFront.Types.ViewerProtocolPolicy.ViewerProtocolPolicy
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudFront.Types.ViewerProtocolPolicy.ViewerProtocolPolicy
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudFront.Types.ViewerProtocolPolicy.ViewerProtocolPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.Types.ViewerProtocolPolicy.ViewerProtocolPolicy
instance Amazonka.Data.Headers.ToHeader Amazonka.CloudFront.Types.ViewerProtocolPolicy.ViewerProtocolPolicy
instance Amazonka.Data.Log.ToLog Amazonka.CloudFront.Types.ViewerProtocolPolicy.ViewerProtocolPolicy
instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudFront.Types.ViewerProtocolPolicy.ViewerProtocolPolicy
instance Amazonka.Data.Text.ToText Amazonka.CloudFront.Types.ViewerProtocolPolicy.ViewerProtocolPolicy
instance Amazonka.Data.Text.FromText Amazonka.CloudFront.Types.ViewerProtocolPolicy.ViewerProtocolPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.ViewerProtocolPolicy.ViewerProtocolPolicy
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.ViewerProtocolPolicy.ViewerProtocolPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.Types.ViewerProtocolPolicy.ViewerProtocolPolicy
instance GHC.Classes.Ord Amazonka.CloudFront.Types.ViewerProtocolPolicy.ViewerProtocolPolicy
instance GHC.Classes.Eq Amazonka.CloudFront.Types.ViewerProtocolPolicy.ViewerProtocolPolicy
instance GHC.Read.Read Amazonka.CloudFront.Types.ViewerProtocolPolicy.ViewerProtocolPolicy
instance GHC.Show.Show Amazonka.CloudFront.Types.ViewerProtocolPolicy.ViewerProtocolPolicy
module Amazonka.CloudFront.Types.DefaultCacheBehavior
-- | A complex type that describes the default cache behavior if you don't
-- specify a CacheBehavior element or if request URLs don't
-- match any of the values of PathPattern in
-- CacheBehavior elements. You must create exactly one default
-- cache behavior.
--
-- See: newDefaultCacheBehavior smart constructor.
data DefaultCacheBehavior
DefaultCacheBehavior' :: Maybe AllowedMethods -> Maybe Text -> Maybe Bool -> Maybe Integer -> Maybe Text -> Maybe ForwardedValues -> Maybe FunctionAssociations -> Maybe LambdaFunctionAssociations -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe TrustedKeyGroups -> Maybe TrustedSigners -> Text -> ViewerProtocolPolicy -> DefaultCacheBehavior
[$sel:allowedMethods:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe AllowedMethods
-- | The unique identifier of the cache policy that is attached to the
-- default cache behavior. For more information, see Creating cache
-- policies or Using the managed cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- A DefaultCacheBehavior must include either a
-- CachePolicyId or ForwardedValues. We recommend that
-- you use a CachePolicyId.
[$sel:cachePolicyId:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Text
-- | Whether you want CloudFront to automatically compress certain files
-- for this cache behavior. If so, specify true; if not, specify
-- false. For more information, see Serving Compressed
-- Files in the Amazon CloudFront Developer Guide.
[$sel:compress:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Bool
-- | This field is deprecated. We recommend that you use the
-- DefaultTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The default amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin does not add HTTP headers such
-- as Cache-Control max-age, Cache-Control s-maxage,
-- and Expires to objects. For more information, see Managing
-- How Long Content Stays in an Edge Cache (Expiration) in the
-- Amazon CloudFront Developer Guide.
[$sel:defaultTTL:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Integer
-- | The value of ID for the field-level encryption configuration
-- that you want CloudFront to use for encrypting specific fields of data
-- for the default cache behavior.
[$sel:fieldLevelEncryptionId:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Text
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field. For more information,
-- see Working with policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to include values in the cache key, use a cache policy.
-- For more information, see Creating cache policies or Using
-- the managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to send values to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies or Using the managed origin
-- request policies in the Amazon CloudFront Developer Guide.
--
-- A DefaultCacheBehavior must include either a
-- CachePolicyId or ForwardedValues. We recommend that
-- you use a CachePolicyId.
--
-- A complex type that specifies how CloudFront handles query strings,
-- cookies, and HTTP headers.
[$sel:forwardedValues:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe ForwardedValues
-- | A list of CloudFront functions that are associated with this cache
-- behavior. CloudFront functions must be published to the LIVE
-- stage to associate them with a cache behavior.
[$sel:functionAssociations:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe FunctionAssociations
-- | A complex type that contains zero or more Lambda@Edge function
-- associations for a cache behavior.
[$sel:lambdaFunctionAssociations:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe LambdaFunctionAssociations
-- | This field is deprecated. We recommend that you use the
-- MaxTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The maximum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin adds HTTP headers such as
-- Cache-Control max-age, Cache-Control s-maxage, and
-- Expires to objects. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
[$sel:maxTTL:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Integer
-- | This field is deprecated. We recommend that you use the
-- MinTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The minimum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
--
-- You must specify 0 for MinTTL if you configure
-- CloudFront to forward all headers to your origin (under
-- Headers, if you specify 1 for Quantity and
-- * for Name).
[$sel:minTTL:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Integer
-- | The unique identifier of the origin request policy that is attached to
-- the default cache behavior. For more information, see Creating
-- origin request policies or Using the managed origin request
-- policies in the Amazon CloudFront Developer Guide.
[$sel:originRequestPolicyId:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Text
-- | The Amazon Resource Name (ARN) of the real-time log configuration that
-- is attached to this cache behavior. For more information, see
-- Real-time logs in the Amazon CloudFront Developer Guide.
[$sel:realtimeLogConfigArn:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Text
-- | The identifier for a response headers policy.
[$sel:responseHeadersPolicyId:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Text
-- | Indicates whether you want to distribute media files in the Microsoft
-- Smooth Streaming format using the origin that is associated with this
-- cache behavior. If so, specify true; if not, specify
-- false. If you specify true for
-- SmoothStreaming, you can still distribute other content using
-- this cache behavior if the content matches the value of
-- PathPattern.
[$sel:smoothStreaming:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Bool
-- | A list of key groups that CloudFront can use to validate signed URLs
-- or signed cookies.
--
-- When a cache behavior contains trusted key groups, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with a private key whose
-- corresponding public key is in the key group. The signed URL or cookie
-- contains information about which public key CloudFront should use to
-- verify the signature. For more information, see Serving private
-- content in the Amazon CloudFront Developer Guide.
[$sel:trustedKeyGroups:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe TrustedKeyGroups
-- | We recommend using TrustedKeyGroups instead of
-- TrustedSigners.
--
-- A list of Amazon Web Services account IDs whose public keys CloudFront
-- can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted signers, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with the private key of a
-- CloudFront key pair in a trusted signer's Amazon Web Services account.
-- The signed URL or cookie contains information about which public key
-- CloudFront should use to verify the signature. For more information,
-- see Serving private content in the Amazon CloudFront
-- Developer Guide.
[$sel:trustedSigners:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe TrustedSigners
-- | The value of ID for the origin that you want CloudFront to
-- route requests to when they use the default cache behavior.
[$sel:targetOriginId:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Text
-- | The protocol that viewers can use to access the files in the origin
-- specified by TargetOriginId when a request matches the path
-- pattern in PathPattern. You can specify the following
-- options:
--
--
-- - allow-all: Viewers can use HTTP or HTTPS.
-- - redirect-to-https: If a viewer submits an HTTP request,
-- CloudFront returns an HTTP status code of 301 (Moved Permanently) to
-- the viewer along with the HTTPS URL. The viewer then resubmits the
-- request using the new URL.
-- - https-only: If a viewer sends an HTTP request, CloudFront
-- returns an HTTP status code of 403 (Forbidden).
--
--
-- For more information about requiring the HTTPS protocol, see
-- Requiring HTTPS Between Viewers and CloudFront in the Amazon
-- CloudFront Developer Guide.
--
-- The only way to guarantee that viewers retrieve an object that was
-- fetched from the origin using HTTPS is never to use any other protocol
-- to fetch the object. If you have recently changed from HTTP to HTTPS,
-- we recommend that you clear your objects' cache because cached objects
-- are protocol agnostic. That means that an edge location will return an
-- object from the cache regardless of whether the current request
-- protocol matches the protocol used previously. For more information,
-- see Managing Cache Expiration in the Amazon CloudFront
-- Developer Guide.
[$sel:viewerProtocolPolicy:DefaultCacheBehavior'] :: DefaultCacheBehavior -> ViewerProtocolPolicy
-- | Create a value of DefaultCacheBehavior with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:allowedMethods:DefaultCacheBehavior',
-- defaultCacheBehavior_allowedMethods - Undocumented member.
--
-- $sel:cachePolicyId:DefaultCacheBehavior',
-- defaultCacheBehavior_cachePolicyId - The unique identifier of
-- the cache policy that is attached to the default cache behavior. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- A DefaultCacheBehavior must include either a
-- CachePolicyId or ForwardedValues. We recommend that
-- you use a CachePolicyId.
--
-- $sel:compress:DefaultCacheBehavior',
-- defaultCacheBehavior_compress - Whether you want CloudFront to
-- automatically compress certain files for this cache behavior. If so,
-- specify true; if not, specify false. For more
-- information, see Serving Compressed Files in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:defaultTTL:DefaultCacheBehavior',
-- defaultCacheBehavior_defaultTTL - This field is deprecated. We
-- recommend that you use the DefaultTTL field in a cache policy
-- instead of this field. For more information, see Creating cache
-- policies or Using the managed cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- The default amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin does not add HTTP headers such
-- as Cache-Control max-age, Cache-Control s-maxage,
-- and Expires to objects. For more information, see Managing
-- How Long Content Stays in an Edge Cache (Expiration) in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:fieldLevelEncryptionId:DefaultCacheBehavior',
-- defaultCacheBehavior_fieldLevelEncryptionId - The value of
-- ID for the field-level encryption configuration that you want
-- CloudFront to use for encrypting specific fields of data for the
-- default cache behavior.
--
-- $sel:forwardedValues:DefaultCacheBehavior',
-- defaultCacheBehavior_forwardedValues - This field is
-- deprecated. We recommend that you use a cache policy or an origin
-- request policy instead of this field. For more information, see
-- Working with policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to include values in the cache key, use a cache policy.
-- For more information, see Creating cache policies or Using
-- the managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to send values to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies or Using the managed origin
-- request policies in the Amazon CloudFront Developer Guide.
--
-- A DefaultCacheBehavior must include either a
-- CachePolicyId or ForwardedValues. We recommend that
-- you use a CachePolicyId.
--
-- A complex type that specifies how CloudFront handles query strings,
-- cookies, and HTTP headers.
--
-- $sel:functionAssociations:DefaultCacheBehavior',
-- defaultCacheBehavior_functionAssociations - A list of
-- CloudFront functions that are associated with this cache behavior.
-- CloudFront functions must be published to the LIVE stage to
-- associate them with a cache behavior.
--
-- $sel:lambdaFunctionAssociations:DefaultCacheBehavior',
-- defaultCacheBehavior_lambdaFunctionAssociations - A complex
-- type that contains zero or more Lambda@Edge function associations for
-- a cache behavior.
--
-- $sel:maxTTL:DefaultCacheBehavior',
-- defaultCacheBehavior_maxTTL - This field is deprecated. We
-- recommend that you use the MaxTTL field in a cache policy
-- instead of this field. For more information, see Creating cache
-- policies or Using the managed cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- The maximum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin adds HTTP headers such as
-- Cache-Control max-age, Cache-Control s-maxage, and
-- Expires to objects. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:minTTL:DefaultCacheBehavior',
-- defaultCacheBehavior_minTTL - This field is deprecated. We
-- recommend that you use the MinTTL field in a cache policy
-- instead of this field. For more information, see Creating cache
-- policies or Using the managed cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- The minimum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
--
-- You must specify 0 for MinTTL if you configure
-- CloudFront to forward all headers to your origin (under
-- Headers, if you specify 1 for Quantity and
-- * for Name).
--
-- $sel:originRequestPolicyId:DefaultCacheBehavior',
-- defaultCacheBehavior_originRequestPolicyId - The unique
-- identifier of the origin request policy that is attached to the
-- default cache behavior. For more information, see Creating origin
-- request policies or Using the managed origin request
-- policies in the Amazon CloudFront Developer Guide.
--
-- $sel:realtimeLogConfigArn:DefaultCacheBehavior',
-- defaultCacheBehavior_realtimeLogConfigArn - The Amazon Resource
-- Name (ARN) of the real-time log configuration that is attached to this
-- cache behavior. For more information, see Real-time logs in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:responseHeadersPolicyId:DefaultCacheBehavior',
-- defaultCacheBehavior_responseHeadersPolicyId - The identifier
-- for a response headers policy.
--
-- $sel:smoothStreaming:DefaultCacheBehavior',
-- defaultCacheBehavior_smoothStreaming - Indicates whether you
-- want to distribute media files in the Microsoft Smooth Streaming
-- format using the origin that is associated with this cache behavior.
-- If so, specify true; if not, specify false. If you
-- specify true for SmoothStreaming, you can still
-- distribute other content using this cache behavior if the content
-- matches the value of PathPattern.
--
-- $sel:trustedKeyGroups:DefaultCacheBehavior',
-- defaultCacheBehavior_trustedKeyGroups - A list of key groups
-- that CloudFront can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted key groups, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with a private key whose
-- corresponding public key is in the key group. The signed URL or cookie
-- contains information about which public key CloudFront should use to
-- verify the signature. For more information, see Serving private
-- content in the Amazon CloudFront Developer Guide.
--
-- $sel:trustedSigners:DefaultCacheBehavior',
-- defaultCacheBehavior_trustedSigners - We recommend using
-- TrustedKeyGroups instead of TrustedSigners.
--
-- A list of Amazon Web Services account IDs whose public keys CloudFront
-- can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted signers, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with the private key of a
-- CloudFront key pair in a trusted signer's Amazon Web Services account.
-- The signed URL or cookie contains information about which public key
-- CloudFront should use to verify the signature. For more information,
-- see Serving private content in the Amazon CloudFront
-- Developer Guide.
--
-- $sel:targetOriginId:DefaultCacheBehavior',
-- defaultCacheBehavior_targetOriginId - The value of ID
-- for the origin that you want CloudFront to route requests to when they
-- use the default cache behavior.
--
-- $sel:viewerProtocolPolicy:DefaultCacheBehavior',
-- defaultCacheBehavior_viewerProtocolPolicy - The protocol that
-- viewers can use to access the files in the origin specified by
-- TargetOriginId when a request matches the path pattern in
-- PathPattern. You can specify the following options:
--
--
-- - allow-all: Viewers can use HTTP or HTTPS.
-- - redirect-to-https: If a viewer submits an HTTP request,
-- CloudFront returns an HTTP status code of 301 (Moved Permanently) to
-- the viewer along with the HTTPS URL. The viewer then resubmits the
-- request using the new URL.
-- - https-only: If a viewer sends an HTTP request, CloudFront
-- returns an HTTP status code of 403 (Forbidden).
--
--
-- For more information about requiring the HTTPS protocol, see
-- Requiring HTTPS Between Viewers and CloudFront in the Amazon
-- CloudFront Developer Guide.
--
-- The only way to guarantee that viewers retrieve an object that was
-- fetched from the origin using HTTPS is never to use any other protocol
-- to fetch the object. If you have recently changed from HTTP to HTTPS,
-- we recommend that you clear your objects' cache because cached objects
-- are protocol agnostic. That means that an edge location will return an
-- object from the cache regardless of whether the current request
-- protocol matches the protocol used previously. For more information,
-- see Managing Cache Expiration in the Amazon CloudFront
-- Developer Guide.
newDefaultCacheBehavior :: Text -> ViewerProtocolPolicy -> DefaultCacheBehavior
-- | Undocumented member.
defaultCacheBehavior_allowedMethods :: Lens' DefaultCacheBehavior (Maybe AllowedMethods)
-- | The unique identifier of the cache policy that is attached to the
-- default cache behavior. For more information, see Creating cache
-- policies or Using the managed cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- A DefaultCacheBehavior must include either a
-- CachePolicyId or ForwardedValues. We recommend that
-- you use a CachePolicyId.
defaultCacheBehavior_cachePolicyId :: Lens' DefaultCacheBehavior (Maybe Text)
-- | Whether you want CloudFront to automatically compress certain files
-- for this cache behavior. If so, specify true; if not, specify
-- false. For more information, see Serving Compressed
-- Files in the Amazon CloudFront Developer Guide.
defaultCacheBehavior_compress :: Lens' DefaultCacheBehavior (Maybe Bool)
-- | This field is deprecated. We recommend that you use the
-- DefaultTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The default amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin does not add HTTP headers such
-- as Cache-Control max-age, Cache-Control s-maxage,
-- and Expires to objects. For more information, see Managing
-- How Long Content Stays in an Edge Cache (Expiration) in the
-- Amazon CloudFront Developer Guide.
defaultCacheBehavior_defaultTTL :: Lens' DefaultCacheBehavior (Maybe Integer)
-- | The value of ID for the field-level encryption configuration
-- that you want CloudFront to use for encrypting specific fields of data
-- for the default cache behavior.
defaultCacheBehavior_fieldLevelEncryptionId :: Lens' DefaultCacheBehavior (Maybe Text)
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field. For more information,
-- see Working with policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to include values in the cache key, use a cache policy.
-- For more information, see Creating cache policies or Using
-- the managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to send values to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies or Using the managed origin
-- request policies in the Amazon CloudFront Developer Guide.
--
-- A DefaultCacheBehavior must include either a
-- CachePolicyId or ForwardedValues. We recommend that
-- you use a CachePolicyId.
--
-- A complex type that specifies how CloudFront handles query strings,
-- cookies, and HTTP headers.
defaultCacheBehavior_forwardedValues :: Lens' DefaultCacheBehavior (Maybe ForwardedValues)
-- | A list of CloudFront functions that are associated with this cache
-- behavior. CloudFront functions must be published to the LIVE
-- stage to associate them with a cache behavior.
defaultCacheBehavior_functionAssociations :: Lens' DefaultCacheBehavior (Maybe FunctionAssociations)
-- | A complex type that contains zero or more Lambda@Edge function
-- associations for a cache behavior.
defaultCacheBehavior_lambdaFunctionAssociations :: Lens' DefaultCacheBehavior (Maybe LambdaFunctionAssociations)
-- | This field is deprecated. We recommend that you use the
-- MaxTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The maximum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin adds HTTP headers such as
-- Cache-Control max-age, Cache-Control s-maxage, and
-- Expires to objects. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
defaultCacheBehavior_maxTTL :: Lens' DefaultCacheBehavior (Maybe Integer)
-- | This field is deprecated. We recommend that you use the
-- MinTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The minimum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
--
-- You must specify 0 for MinTTL if you configure
-- CloudFront to forward all headers to your origin (under
-- Headers, if you specify 1 for Quantity and
-- * for Name).
defaultCacheBehavior_minTTL :: Lens' DefaultCacheBehavior (Maybe Integer)
-- | The unique identifier of the origin request policy that is attached to
-- the default cache behavior. For more information, see Creating
-- origin request policies or Using the managed origin request
-- policies in the Amazon CloudFront Developer Guide.
defaultCacheBehavior_originRequestPolicyId :: Lens' DefaultCacheBehavior (Maybe Text)
-- | The Amazon Resource Name (ARN) of the real-time log configuration that
-- is attached to this cache behavior. For more information, see
-- Real-time logs in the Amazon CloudFront Developer Guide.
defaultCacheBehavior_realtimeLogConfigArn :: Lens' DefaultCacheBehavior (Maybe Text)
-- | The identifier for a response headers policy.
defaultCacheBehavior_responseHeadersPolicyId :: Lens' DefaultCacheBehavior (Maybe Text)
-- | Indicates whether you want to distribute media files in the Microsoft
-- Smooth Streaming format using the origin that is associated with this
-- cache behavior. If so, specify true; if not, specify
-- false. If you specify true for
-- SmoothStreaming, you can still distribute other content using
-- this cache behavior if the content matches the value of
-- PathPattern.
defaultCacheBehavior_smoothStreaming :: Lens' DefaultCacheBehavior (Maybe Bool)
-- | A list of key groups that CloudFront can use to validate signed URLs
-- or signed cookies.
--
-- When a cache behavior contains trusted key groups, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with a private key whose
-- corresponding public key is in the key group. The signed URL or cookie
-- contains information about which public key CloudFront should use to
-- verify the signature. For more information, see Serving private
-- content in the Amazon CloudFront Developer Guide.
defaultCacheBehavior_trustedKeyGroups :: Lens' DefaultCacheBehavior (Maybe TrustedKeyGroups)
-- | We recommend using TrustedKeyGroups instead of
-- TrustedSigners.
--
-- A list of Amazon Web Services account IDs whose public keys CloudFront
-- can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted signers, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with the private key of a
-- CloudFront key pair in a trusted signer's Amazon Web Services account.
-- The signed URL or cookie contains information about which public key
-- CloudFront should use to verify the signature. For more information,
-- see Serving private content in the Amazon CloudFront
-- Developer Guide.
defaultCacheBehavior_trustedSigners :: Lens' DefaultCacheBehavior (Maybe TrustedSigners)
-- | The value of ID for the origin that you want CloudFront to
-- route requests to when they use the default cache behavior.
defaultCacheBehavior_targetOriginId :: Lens' DefaultCacheBehavior Text
-- | The protocol that viewers can use to access the files in the origin
-- specified by TargetOriginId when a request matches the path
-- pattern in PathPattern. You can specify the following
-- options:
--
--
-- - allow-all: Viewers can use HTTP or HTTPS.
-- - redirect-to-https: If a viewer submits an HTTP request,
-- CloudFront returns an HTTP status code of 301 (Moved Permanently) to
-- the viewer along with the HTTPS URL. The viewer then resubmits the
-- request using the new URL.
-- - https-only: If a viewer sends an HTTP request, CloudFront
-- returns an HTTP status code of 403 (Forbidden).
--
--
-- For more information about requiring the HTTPS protocol, see
-- Requiring HTTPS Between Viewers and CloudFront in the Amazon
-- CloudFront Developer Guide.
--
-- The only way to guarantee that viewers retrieve an object that was
-- fetched from the origin using HTTPS is never to use any other protocol
-- to fetch the object. If you have recently changed from HTTP to HTTPS,
-- we recommend that you clear your objects' cache because cached objects
-- are protocol agnostic. That means that an edge location will return an
-- object from the cache regardless of whether the current request
-- protocol matches the protocol used previously. For more information,
-- see Managing Cache Expiration in the Amazon CloudFront
-- Developer Guide.
defaultCacheBehavior_viewerProtocolPolicy :: Lens' DefaultCacheBehavior ViewerProtocolPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.Types.DefaultCacheBehavior.DefaultCacheBehavior
instance GHC.Show.Show Amazonka.CloudFront.Types.DefaultCacheBehavior.DefaultCacheBehavior
instance GHC.Read.Read Amazonka.CloudFront.Types.DefaultCacheBehavior.DefaultCacheBehavior
instance GHC.Classes.Eq Amazonka.CloudFront.Types.DefaultCacheBehavior.DefaultCacheBehavior
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.DefaultCacheBehavior.DefaultCacheBehavior
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.DefaultCacheBehavior.DefaultCacheBehavior
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.DefaultCacheBehavior.DefaultCacheBehavior
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.DefaultCacheBehavior.DefaultCacheBehavior
module Amazonka.CloudFront.Types.CacheBehavior
-- | A complex type that describes how CloudFront processes requests.
--
-- You must create at least as many cache behaviors (including the
-- default cache behavior) as you have origins if you want CloudFront to
-- serve objects from all of the origins. Each cache behavior specifies
-- the one origin from which you want CloudFront to get objects. If you
-- have two origins and only the default cache behavior, the default
-- cache behavior will cause CloudFront to get objects from one of the
-- origins, but the other origin is never used.
--
-- For the current quota (formerly known as limit) on the number of cache
-- behaviors that you can add to a distribution, see Quotas in the
-- Amazon CloudFront Developer Guide.
--
-- If you don't want to specify any cache behaviors, include only an
-- empty CacheBehaviors element. Don't include an empty
-- CacheBehavior element because this is invalid.
--
-- To delete all cache behaviors in an existing distribution, update the
-- distribution configuration and include only an empty
-- CacheBehaviors element.
--
-- To add, change, or remove one or more cache behaviors, update the
-- distribution configuration and specify all of the cache behaviors that
-- you want to include in the updated distribution.
--
-- For more information about cache behaviors, see Cache Behavior
-- Settings in the Amazon CloudFront Developer Guide.
--
-- See: newCacheBehavior smart constructor.
data CacheBehavior
CacheBehavior' :: Maybe AllowedMethods -> Maybe Text -> Maybe Bool -> Maybe Integer -> Maybe Text -> Maybe ForwardedValues -> Maybe FunctionAssociations -> Maybe LambdaFunctionAssociations -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe TrustedKeyGroups -> Maybe TrustedSigners -> Text -> Text -> ViewerProtocolPolicy -> CacheBehavior
[$sel:allowedMethods:CacheBehavior'] :: CacheBehavior -> Maybe AllowedMethods
-- | The unique identifier of the cache policy that is attached to this
-- cache behavior. For more information, see Creating cache
-- policies or Using the managed cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- A CacheBehavior must include either a CachePolicyId
-- or ForwardedValues. We recommend that you use a
-- CachePolicyId.
[$sel:cachePolicyId:CacheBehavior'] :: CacheBehavior -> Maybe Text
-- | Whether you want CloudFront to automatically compress certain files
-- for this cache behavior. If so, specify true; if not, specify false.
-- For more information, see Serving Compressed Files in the
-- Amazon CloudFront Developer Guide.
[$sel:compress:CacheBehavior'] :: CacheBehavior -> Maybe Bool
-- | This field is deprecated. We recommend that you use the
-- DefaultTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The default amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin does not add HTTP headers such
-- as Cache-Control max-age, Cache-Control s-maxage,
-- and Expires to objects. For more information, see Managing
-- How Long Content Stays in an Edge Cache (Expiration) in the
-- Amazon CloudFront Developer Guide.
[$sel:defaultTTL:CacheBehavior'] :: CacheBehavior -> Maybe Integer
-- | The value of ID for the field-level encryption configuration
-- that you want CloudFront to use for encrypting specific fields of data
-- for this cache behavior.
[$sel:fieldLevelEncryptionId:CacheBehavior'] :: CacheBehavior -> Maybe Text
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field. For more information,
-- see Working with policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to include values in the cache key, use a cache policy.
-- For more information, see Creating cache policies or Using
-- the managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to send values to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies or Using the managed origin
-- request policies in the Amazon CloudFront Developer Guide.
--
-- A CacheBehavior must include either a CachePolicyId
-- or ForwardedValues. We recommend that you use a
-- CachePolicyId.
--
-- A complex type that specifies how CloudFront handles query strings,
-- cookies, and HTTP headers.
[$sel:forwardedValues:CacheBehavior'] :: CacheBehavior -> Maybe ForwardedValues
-- | A list of CloudFront functions that are associated with this cache
-- behavior. CloudFront functions must be published to the LIVE
-- stage to associate them with a cache behavior.
[$sel:functionAssociations:CacheBehavior'] :: CacheBehavior -> Maybe FunctionAssociations
-- | A complex type that contains zero or more Lambda@Edge function
-- associations for a cache behavior.
[$sel:lambdaFunctionAssociations:CacheBehavior'] :: CacheBehavior -> Maybe LambdaFunctionAssociations
-- | This field is deprecated. We recommend that you use the
-- MaxTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The maximum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin adds HTTP headers such as
-- Cache-Control max-age, Cache-Control s-maxage, and
-- Expires to objects. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
[$sel:maxTTL:CacheBehavior'] :: CacheBehavior -> Maybe Integer
-- | This field is deprecated. We recommend that you use the
-- MinTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The minimum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
--
-- You must specify 0 for MinTTL if you configure
-- CloudFront to forward all headers to your origin (under
-- Headers, if you specify 1 for Quantity and
-- * for Name).
[$sel:minTTL:CacheBehavior'] :: CacheBehavior -> Maybe Integer
-- | The unique identifier of the origin request policy that is attached to
-- this cache behavior. For more information, see Creating origin
-- request policies or Using the managed origin request
-- policies in the Amazon CloudFront Developer Guide.
[$sel:originRequestPolicyId:CacheBehavior'] :: CacheBehavior -> Maybe Text
-- | The Amazon Resource Name (ARN) of the real-time log configuration that
-- is attached to this cache behavior. For more information, see
-- Real-time logs in the Amazon CloudFront Developer Guide.
[$sel:realtimeLogConfigArn:CacheBehavior'] :: CacheBehavior -> Maybe Text
-- | The identifier for a response headers policy.
[$sel:responseHeadersPolicyId:CacheBehavior'] :: CacheBehavior -> Maybe Text
-- | Indicates whether you want to distribute media files in the Microsoft
-- Smooth Streaming format using the origin that is associated with this
-- cache behavior. If so, specify true; if not, specify
-- false. If you specify true for
-- SmoothStreaming, you can still distribute other content using
-- this cache behavior if the content matches the value of
-- PathPattern.
[$sel:smoothStreaming:CacheBehavior'] :: CacheBehavior -> Maybe Bool
-- | A list of key groups that CloudFront can use to validate signed URLs
-- or signed cookies.
--
-- When a cache behavior contains trusted key groups, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with a private key whose
-- corresponding public key is in the key group. The signed URL or cookie
-- contains information about which public key CloudFront should use to
-- verify the signature. For more information, see Serving private
-- content in the Amazon CloudFront Developer Guide.
[$sel:trustedKeyGroups:CacheBehavior'] :: CacheBehavior -> Maybe TrustedKeyGroups
-- | We recommend using TrustedKeyGroups instead of
-- TrustedSigners.
--
-- A list of Amazon Web Services account IDs whose public keys CloudFront
-- can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted signers, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with the private key of a
-- CloudFront key pair in the trusted signer's Amazon Web Services
-- account. The signed URL or cookie contains information about which
-- public key CloudFront should use to verify the signature. For more
-- information, see Serving private content in the Amazon
-- CloudFront Developer Guide.
[$sel:trustedSigners:CacheBehavior'] :: CacheBehavior -> Maybe TrustedSigners
-- | The pattern (for example, images/*.jpg) that specifies which
-- requests to apply the behavior to. When CloudFront receives a viewer
-- request, the requested path is compared with path patterns in the
-- order in which cache behaviors are listed in the distribution.
--
-- You can optionally include a slash (/) at the beginning of
-- the path pattern. For example, /images/*.jpg. CloudFront
-- behavior is the same with or without the leading /.
--
-- The path pattern for the default cache behavior is * and
-- cannot be changed. If the request for an object does not match the
-- path pattern for any cache behaviors, CloudFront applies the behavior
-- in the default cache behavior.
--
-- For more information, see Path Pattern in the Amazon
-- CloudFront Developer Guide.
[$sel:pathPattern:CacheBehavior'] :: CacheBehavior -> Text
-- | The value of ID for the origin that you want CloudFront to
-- route requests to when they match this cache behavior.
[$sel:targetOriginId:CacheBehavior'] :: CacheBehavior -> Text
-- | The protocol that viewers can use to access the files in the origin
-- specified by TargetOriginId when a request matches the path
-- pattern in PathPattern. You can specify the following
-- options:
--
--
-- - allow-all: Viewers can use HTTP or HTTPS.
-- - redirect-to-https: If a viewer submits an HTTP request,
-- CloudFront returns an HTTP status code of 301 (Moved Permanently) to
-- the viewer along with the HTTPS URL. The viewer then resubmits the
-- request using the new URL.
-- - https-only: If a viewer sends an HTTP request, CloudFront
-- returns an HTTP status code of 403 (Forbidden).
--
--
-- For more information about requiring the HTTPS protocol, see
-- Requiring HTTPS Between Viewers and CloudFront in the Amazon
-- CloudFront Developer Guide.
--
-- The only way to guarantee that viewers retrieve an object that was
-- fetched from the origin using HTTPS is never to use any other protocol
-- to fetch the object. If you have recently changed from HTTP to HTTPS,
-- we recommend that you clear your objects' cache because cached objects
-- are protocol agnostic. That means that an edge location will return an
-- object from the cache regardless of whether the current request
-- protocol matches the protocol used previously. For more information,
-- see Managing Cache Expiration in the Amazon CloudFront
-- Developer Guide.
[$sel:viewerProtocolPolicy:CacheBehavior'] :: CacheBehavior -> ViewerProtocolPolicy
-- | Create a value of CacheBehavior with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:allowedMethods:CacheBehavior',
-- cacheBehavior_allowedMethods - Undocumented member.
--
-- $sel:cachePolicyId:CacheBehavior',
-- cacheBehavior_cachePolicyId - The unique identifier of the
-- cache policy that is attached to this cache behavior. For more
-- information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- A CacheBehavior must include either a CachePolicyId
-- or ForwardedValues. We recommend that you use a
-- CachePolicyId.
--
-- $sel:compress:CacheBehavior', cacheBehavior_compress -
-- Whether you want CloudFront to automatically compress certain files
-- for this cache behavior. If so, specify true; if not, specify false.
-- For more information, see Serving Compressed Files in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:defaultTTL:CacheBehavior', cacheBehavior_defaultTTL
-- - This field is deprecated. We recommend that you use the
-- DefaultTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The default amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin does not add HTTP headers such
-- as Cache-Control max-age, Cache-Control s-maxage,
-- and Expires to objects. For more information, see Managing
-- How Long Content Stays in an Edge Cache (Expiration) in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:fieldLevelEncryptionId:CacheBehavior',
-- cacheBehavior_fieldLevelEncryptionId - The value of ID
-- for the field-level encryption configuration that you want CloudFront
-- to use for encrypting specific fields of data for this cache behavior.
--
-- $sel:forwardedValues:CacheBehavior',
-- cacheBehavior_forwardedValues - This field is deprecated. We
-- recommend that you use a cache policy or an origin request policy
-- instead of this field. For more information, see Working with
-- policies in the Amazon CloudFront Developer Guide.
--
-- If you want to include values in the cache key, use a cache policy.
-- For more information, see Creating cache policies or Using
-- the managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to send values to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies or Using the managed origin
-- request policies in the Amazon CloudFront Developer Guide.
--
-- A CacheBehavior must include either a CachePolicyId
-- or ForwardedValues. We recommend that you use a
-- CachePolicyId.
--
-- A complex type that specifies how CloudFront handles query strings,
-- cookies, and HTTP headers.
--
-- $sel:functionAssociations:CacheBehavior',
-- cacheBehavior_functionAssociations - A list of CloudFront
-- functions that are associated with this cache behavior. CloudFront
-- functions must be published to the LIVE stage to associate
-- them with a cache behavior.
--
-- $sel:lambdaFunctionAssociations:CacheBehavior',
-- cacheBehavior_lambdaFunctionAssociations - A complex type that
-- contains zero or more Lambda@Edge function associations for a cache
-- behavior.
--
-- $sel:maxTTL:CacheBehavior', cacheBehavior_maxTTL - This
-- field is deprecated. We recommend that you use the MaxTTL
-- field in a cache policy instead of this field. For more information,
-- see Creating cache policies or Using the managed cache
-- policies in the Amazon CloudFront Developer Guide.
--
-- The maximum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin adds HTTP headers such as
-- Cache-Control max-age, Cache-Control s-maxage, and
-- Expires to objects. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:minTTL:CacheBehavior', cacheBehavior_minTTL - This
-- field is deprecated. We recommend that you use the MinTTL
-- field in a cache policy instead of this field. For more information,
-- see Creating cache policies or Using the managed cache
-- policies in the Amazon CloudFront Developer Guide.
--
-- The minimum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
--
-- You must specify 0 for MinTTL if you configure
-- CloudFront to forward all headers to your origin (under
-- Headers, if you specify 1 for Quantity and
-- * for Name).
--
-- $sel:originRequestPolicyId:CacheBehavior',
-- cacheBehavior_originRequestPolicyId - The unique identifier of
-- the origin request policy that is attached to this cache behavior. For
-- more information, see Creating origin request policies or
-- Using the managed origin request policies in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:realtimeLogConfigArn:CacheBehavior',
-- cacheBehavior_realtimeLogConfigArn - The Amazon Resource Name
-- (ARN) of the real-time log configuration that is attached to this
-- cache behavior. For more information, see Real-time logs in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:responseHeadersPolicyId:CacheBehavior',
-- cacheBehavior_responseHeadersPolicyId - The identifier for a
-- response headers policy.
--
-- $sel:smoothStreaming:CacheBehavior',
-- cacheBehavior_smoothStreaming - Indicates whether you want to
-- distribute media files in the Microsoft Smooth Streaming format using
-- the origin that is associated with this cache behavior. If so, specify
-- true; if not, specify false. If you specify
-- true for SmoothStreaming, you can still distribute
-- other content using this cache behavior if the content matches the
-- value of PathPattern.
--
-- $sel:trustedKeyGroups:CacheBehavior',
-- cacheBehavior_trustedKeyGroups - A list of key groups that
-- CloudFront can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted key groups, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with a private key whose
-- corresponding public key is in the key group. The signed URL or cookie
-- contains information about which public key CloudFront should use to
-- verify the signature. For more information, see Serving private
-- content in the Amazon CloudFront Developer Guide.
--
-- $sel:trustedSigners:CacheBehavior',
-- cacheBehavior_trustedSigners - We recommend using
-- TrustedKeyGroups instead of TrustedSigners.
--
-- A list of Amazon Web Services account IDs whose public keys CloudFront
-- can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted signers, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with the private key of a
-- CloudFront key pair in the trusted signer's Amazon Web Services
-- account. The signed URL or cookie contains information about which
-- public key CloudFront should use to verify the signature. For more
-- information, see Serving private content in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:pathPattern:CacheBehavior',
-- cacheBehavior_pathPattern - The pattern (for example,
-- images/*.jpg) that specifies which requests to apply the
-- behavior to. When CloudFront receives a viewer request, the requested
-- path is compared with path patterns in the order in which cache
-- behaviors are listed in the distribution.
--
-- You can optionally include a slash (/) at the beginning of
-- the path pattern. For example, /images/*.jpg. CloudFront
-- behavior is the same with or without the leading /.
--
-- The path pattern for the default cache behavior is * and
-- cannot be changed. If the request for an object does not match the
-- path pattern for any cache behaviors, CloudFront applies the behavior
-- in the default cache behavior.
--
-- For more information, see Path Pattern in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:targetOriginId:CacheBehavior',
-- cacheBehavior_targetOriginId - The value of ID for the
-- origin that you want CloudFront to route requests to when they match
-- this cache behavior.
--
-- $sel:viewerProtocolPolicy:CacheBehavior',
-- cacheBehavior_viewerProtocolPolicy - The protocol that viewers
-- can use to access the files in the origin specified by
-- TargetOriginId when a request matches the path pattern in
-- PathPattern. You can specify the following options:
--
--
-- - allow-all: Viewers can use HTTP or HTTPS.
-- - redirect-to-https: If a viewer submits an HTTP request,
-- CloudFront returns an HTTP status code of 301 (Moved Permanently) to
-- the viewer along with the HTTPS URL. The viewer then resubmits the
-- request using the new URL.
-- - https-only: If a viewer sends an HTTP request, CloudFront
-- returns an HTTP status code of 403 (Forbidden).
--
--
-- For more information about requiring the HTTPS protocol, see
-- Requiring HTTPS Between Viewers and CloudFront in the Amazon
-- CloudFront Developer Guide.
--
-- The only way to guarantee that viewers retrieve an object that was
-- fetched from the origin using HTTPS is never to use any other protocol
-- to fetch the object. If you have recently changed from HTTP to HTTPS,
-- we recommend that you clear your objects' cache because cached objects
-- are protocol agnostic. That means that an edge location will return an
-- object from the cache regardless of whether the current request
-- protocol matches the protocol used previously. For more information,
-- see Managing Cache Expiration in the Amazon CloudFront
-- Developer Guide.
newCacheBehavior :: Text -> Text -> ViewerProtocolPolicy -> CacheBehavior
-- | Undocumented member.
cacheBehavior_allowedMethods :: Lens' CacheBehavior (Maybe AllowedMethods)
-- | The unique identifier of the cache policy that is attached to this
-- cache behavior. For more information, see Creating cache
-- policies or Using the managed cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- A CacheBehavior must include either a CachePolicyId
-- or ForwardedValues. We recommend that you use a
-- CachePolicyId.
cacheBehavior_cachePolicyId :: Lens' CacheBehavior (Maybe Text)
-- | Whether you want CloudFront to automatically compress certain files
-- for this cache behavior. If so, specify true; if not, specify false.
-- For more information, see Serving Compressed Files in the
-- Amazon CloudFront Developer Guide.
cacheBehavior_compress :: Lens' CacheBehavior (Maybe Bool)
-- | This field is deprecated. We recommend that you use the
-- DefaultTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The default amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin does not add HTTP headers such
-- as Cache-Control max-age, Cache-Control s-maxage,
-- and Expires to objects. For more information, see Managing
-- How Long Content Stays in an Edge Cache (Expiration) in the
-- Amazon CloudFront Developer Guide.
cacheBehavior_defaultTTL :: Lens' CacheBehavior (Maybe Integer)
-- | The value of ID for the field-level encryption configuration
-- that you want CloudFront to use for encrypting specific fields of data
-- for this cache behavior.
cacheBehavior_fieldLevelEncryptionId :: Lens' CacheBehavior (Maybe Text)
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field. For more information,
-- see Working with policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to include values in the cache key, use a cache policy.
-- For more information, see Creating cache policies or Using
-- the managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to send values to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies or Using the managed origin
-- request policies in the Amazon CloudFront Developer Guide.
--
-- A CacheBehavior must include either a CachePolicyId
-- or ForwardedValues. We recommend that you use a
-- CachePolicyId.
--
-- A complex type that specifies how CloudFront handles query strings,
-- cookies, and HTTP headers.
cacheBehavior_forwardedValues :: Lens' CacheBehavior (Maybe ForwardedValues)
-- | A list of CloudFront functions that are associated with this cache
-- behavior. CloudFront functions must be published to the LIVE
-- stage to associate them with a cache behavior.
cacheBehavior_functionAssociations :: Lens' CacheBehavior (Maybe FunctionAssociations)
-- | A complex type that contains zero or more Lambda@Edge function
-- associations for a cache behavior.
cacheBehavior_lambdaFunctionAssociations :: Lens' CacheBehavior (Maybe LambdaFunctionAssociations)
-- | This field is deprecated. We recommend that you use the
-- MaxTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The maximum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin adds HTTP headers such as
-- Cache-Control max-age, Cache-Control s-maxage, and
-- Expires to objects. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
cacheBehavior_maxTTL :: Lens' CacheBehavior (Maybe Integer)
-- | This field is deprecated. We recommend that you use the
-- MinTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The minimum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
--
-- You must specify 0 for MinTTL if you configure
-- CloudFront to forward all headers to your origin (under
-- Headers, if you specify 1 for Quantity and
-- * for Name).
cacheBehavior_minTTL :: Lens' CacheBehavior (Maybe Integer)
-- | The unique identifier of the origin request policy that is attached to
-- this cache behavior. For more information, see Creating origin
-- request policies or Using the managed origin request
-- policies in the Amazon CloudFront Developer Guide.
cacheBehavior_originRequestPolicyId :: Lens' CacheBehavior (Maybe Text)
-- | The Amazon Resource Name (ARN) of the real-time log configuration that
-- is attached to this cache behavior. For more information, see
-- Real-time logs in the Amazon CloudFront Developer Guide.
cacheBehavior_realtimeLogConfigArn :: Lens' CacheBehavior (Maybe Text)
-- | The identifier for a response headers policy.
cacheBehavior_responseHeadersPolicyId :: Lens' CacheBehavior (Maybe Text)
-- | Indicates whether you want to distribute media files in the Microsoft
-- Smooth Streaming format using the origin that is associated with this
-- cache behavior. If so, specify true; if not, specify
-- false. If you specify true for
-- SmoothStreaming, you can still distribute other content using
-- this cache behavior if the content matches the value of
-- PathPattern.
cacheBehavior_smoothStreaming :: Lens' CacheBehavior (Maybe Bool)
-- | A list of key groups that CloudFront can use to validate signed URLs
-- or signed cookies.
--
-- When a cache behavior contains trusted key groups, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with a private key whose
-- corresponding public key is in the key group. The signed URL or cookie
-- contains information about which public key CloudFront should use to
-- verify the signature. For more information, see Serving private
-- content in the Amazon CloudFront Developer Guide.
cacheBehavior_trustedKeyGroups :: Lens' CacheBehavior (Maybe TrustedKeyGroups)
-- | We recommend using TrustedKeyGroups instead of
-- TrustedSigners.
--
-- A list of Amazon Web Services account IDs whose public keys CloudFront
-- can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted signers, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with the private key of a
-- CloudFront key pair in the trusted signer's Amazon Web Services
-- account. The signed URL or cookie contains information about which
-- public key CloudFront should use to verify the signature. For more
-- information, see Serving private content in the Amazon
-- CloudFront Developer Guide.
cacheBehavior_trustedSigners :: Lens' CacheBehavior (Maybe TrustedSigners)
-- | The pattern (for example, images/*.jpg) that specifies which
-- requests to apply the behavior to. When CloudFront receives a viewer
-- request, the requested path is compared with path patterns in the
-- order in which cache behaviors are listed in the distribution.
--
-- You can optionally include a slash (/) at the beginning of
-- the path pattern. For example, /images/*.jpg. CloudFront
-- behavior is the same with or without the leading /.
--
-- The path pattern for the default cache behavior is * and
-- cannot be changed. If the request for an object does not match the
-- path pattern for any cache behaviors, CloudFront applies the behavior
-- in the default cache behavior.
--
-- For more information, see Path Pattern in the Amazon
-- CloudFront Developer Guide.
cacheBehavior_pathPattern :: Lens' CacheBehavior Text
-- | The value of ID for the origin that you want CloudFront to
-- route requests to when they match this cache behavior.
cacheBehavior_targetOriginId :: Lens' CacheBehavior Text
-- | The protocol that viewers can use to access the files in the origin
-- specified by TargetOriginId when a request matches the path
-- pattern in PathPattern. You can specify the following
-- options:
--
--
-- - allow-all: Viewers can use HTTP or HTTPS.
-- - redirect-to-https: If a viewer submits an HTTP request,
-- CloudFront returns an HTTP status code of 301 (Moved Permanently) to
-- the viewer along with the HTTPS URL. The viewer then resubmits the
-- request using the new URL.
-- - https-only: If a viewer sends an HTTP request, CloudFront
-- returns an HTTP status code of 403 (Forbidden).
--
--
-- For more information about requiring the HTTPS protocol, see
-- Requiring HTTPS Between Viewers and CloudFront in the Amazon
-- CloudFront Developer Guide.
--
-- The only way to guarantee that viewers retrieve an object that was
-- fetched from the origin using HTTPS is never to use any other protocol
-- to fetch the object. If you have recently changed from HTTP to HTTPS,
-- we recommend that you clear your objects' cache because cached objects
-- are protocol agnostic. That means that an edge location will return an
-- object from the cache regardless of whether the current request
-- protocol matches the protocol used previously. For more information,
-- see Managing Cache Expiration in the Amazon CloudFront
-- Developer Guide.
cacheBehavior_viewerProtocolPolicy :: Lens' CacheBehavior ViewerProtocolPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CacheBehavior.CacheBehavior
instance GHC.Show.Show Amazonka.CloudFront.Types.CacheBehavior.CacheBehavior
instance GHC.Read.Read Amazonka.CloudFront.Types.CacheBehavior.CacheBehavior
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CacheBehavior.CacheBehavior
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CacheBehavior.CacheBehavior
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CacheBehavior.CacheBehavior
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CacheBehavior.CacheBehavior
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.CacheBehavior.CacheBehavior
module Amazonka.CloudFront.Types.CacheBehaviors
-- | A complex type that contains zero or more CacheBehavior
-- elements.
--
-- See: newCacheBehaviors smart constructor.
data CacheBehaviors
CacheBehaviors' :: Maybe [CacheBehavior] -> Int -> CacheBehaviors
-- | Optional: A complex type that contains cache behaviors for this
-- distribution. If Quantity is 0, you can omit
-- Items.
[$sel:items:CacheBehaviors'] :: CacheBehaviors -> Maybe [CacheBehavior]
-- | The number of cache behaviors for this distribution.
[$sel:quantity:CacheBehaviors'] :: CacheBehaviors -> Int
-- | Create a value of CacheBehaviors with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:CacheBehaviors', cacheBehaviors_items -
-- Optional: A complex type that contains cache behaviors for this
-- distribution. If Quantity is 0, you can omit
-- Items.
--
-- $sel:quantity:CacheBehaviors', cacheBehaviors_quantity -
-- The number of cache behaviors for this distribution.
newCacheBehaviors :: Int -> CacheBehaviors
-- | Optional: A complex type that contains cache behaviors for this
-- distribution. If Quantity is 0, you can omit
-- Items.
cacheBehaviors_items :: Lens' CacheBehaviors (Maybe [CacheBehavior])
-- | The number of cache behaviors for this distribution.
cacheBehaviors_quantity :: Lens' CacheBehaviors Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.CacheBehaviors.CacheBehaviors
instance GHC.Show.Show Amazonka.CloudFront.Types.CacheBehaviors.CacheBehaviors
instance GHC.Read.Read Amazonka.CloudFront.Types.CacheBehaviors.CacheBehaviors
instance GHC.Classes.Eq Amazonka.CloudFront.Types.CacheBehaviors.CacheBehaviors
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.CacheBehaviors.CacheBehaviors
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.CacheBehaviors.CacheBehaviors
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.CacheBehaviors.CacheBehaviors
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.CacheBehaviors.CacheBehaviors
module Amazonka.CloudFront.Types.DistributionSummary
-- | A summary of the information about a CloudFront distribution.
--
-- See: newDistributionSummary smart constructor.
data DistributionSummary
DistributionSummary' :: Maybe [AliasICPRecordal] -> Maybe OriginGroups -> Text -> Text -> Text -> ISO8601 -> Text -> Aliases -> Origins -> DefaultCacheBehavior -> CacheBehaviors -> CustomErrorResponses -> Text -> PriceClass -> Bool -> ViewerCertificate -> Restrictions -> Text -> HttpVersion -> Bool -> Bool -> DistributionSummary
-- | Amazon Web Services services in China customers must file for an
-- Internet Content Provider (ICP) recordal if they want to serve content
-- publicly on an alternate domain name, also known as a CNAME, that
-- they've added to CloudFront. AliasICPRecordal provides the ICP
-- recordal status for CNAMEs associated with distributions.
--
-- For more information about ICP recordals, see Signup, Accounts, and
-- Credentials in Getting Started with Amazon Web Services
-- services in China.
[$sel:aliasICPRecordals:DistributionSummary'] :: DistributionSummary -> Maybe [AliasICPRecordal]
-- | A complex type that contains information about origin groups for this
-- distribution.
[$sel:originGroups:DistributionSummary'] :: DistributionSummary -> Maybe OriginGroups
-- | The identifier for the distribution. For example:
-- EDFDVBD632BHDS5.
[$sel:id:DistributionSummary'] :: DistributionSummary -> Text
-- | The ARN (Amazon Resource Name) for the distribution. For example:
-- arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
[$sel:arn:DistributionSummary'] :: DistributionSummary -> Text
-- | The current status of the distribution. When the status is
-- Deployed, the distribution's information is propagated to all
-- CloudFront edge locations.
[$sel:status:DistributionSummary'] :: DistributionSummary -> Text
-- | The date and time the distribution was last modified.
[$sel:lastModifiedTime:DistributionSummary'] :: DistributionSummary -> ISO8601
-- | The domain name that corresponds to the distribution, for example,
-- d111111abcdef8.cloudfront.net.
[$sel:domainName:DistributionSummary'] :: DistributionSummary -> Text
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this distribution.
[$sel:aliases:DistributionSummary'] :: DistributionSummary -> Aliases
-- | A complex type that contains information about origins for this
-- distribution.
[$sel:origins:DistributionSummary'] :: DistributionSummary -> Origins
-- | A complex type that describes the default cache behavior if you don't
-- 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.
[$sel:defaultCacheBehavior:DistributionSummary'] :: DistributionSummary -> DefaultCacheBehavior
-- | A complex type that contains zero or more CacheBehavior
-- elements.
[$sel:cacheBehaviors:DistributionSummary'] :: DistributionSummary -> CacheBehaviors
-- | A complex type that contains zero or more
-- CustomErrorResponses elements.
[$sel:customErrorResponses:DistributionSummary'] :: DistributionSummary -> CustomErrorResponses
-- | The comment originally specified when this distribution was created.
[$sel:comment:DistributionSummary'] :: DistributionSummary -> Text
-- | A complex type that contains information about price class for this
-- streaming distribution.
[$sel:priceClass:DistributionSummary'] :: DistributionSummary -> PriceClass
-- | Whether the distribution is enabled to accept user requests for
-- content.
[$sel:enabled:DistributionSummary'] :: DistributionSummary -> Bool
-- | A complex type that determines the distribution's SSL/TLS
-- configuration for communicating with viewers.
[$sel:viewerCertificate:DistributionSummary'] :: DistributionSummary -> ViewerCertificate
-- | A complex type that identifies ways in which you want to restrict
-- distribution of your content.
[$sel:restrictions:DistributionSummary'] :: DistributionSummary -> Restrictions
-- | The Web ACL Id (if any) associated with the distribution.
[$sel:webACLId:DistributionSummary'] :: DistributionSummary -> Text
-- | Specify the maximum HTTP version that you want viewers to use to
-- communicate with CloudFront. The default value for new web
-- distributions is http2. Viewers that don't support
-- HTTP/2 will automatically use an earlier version.
[$sel:httpVersion:DistributionSummary'] :: DistributionSummary -> HttpVersion
-- | Whether CloudFront responds to IPv6 DNS requests with an IPv6 address
-- for your distribution.
[$sel:isIPV6Enabled:DistributionSummary'] :: DistributionSummary -> Bool
-- | Whether the primary distribution has a staging distribution enabled.
[$sel:staging:DistributionSummary'] :: DistributionSummary -> Bool
-- | Create a value of DistributionSummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aliasICPRecordals:DistributionSummary',
-- distributionSummary_aliasICPRecordals - Amazon Web Services
-- services in China customers must file for an Internet Content Provider
-- (ICP) recordal if they want to serve content publicly on an alternate
-- domain name, also known as a CNAME, that they've added to CloudFront.
-- AliasICPRecordal provides the ICP recordal status for CNAMEs
-- associated with distributions.
--
-- For more information about ICP recordals, see Signup, Accounts, and
-- Credentials in Getting Started with Amazon Web Services
-- services in China.
--
-- $sel:originGroups:DistributionSummary',
-- distributionSummary_originGroups - A complex type that contains
-- information about origin groups for this distribution.
--
-- $sel:id:DistributionSummary', distributionSummary_id -
-- The identifier for the distribution. For example:
-- EDFDVBD632BHDS5.
--
-- $sel:arn:DistributionSummary', distributionSummary_arn -
-- The ARN (Amazon Resource Name) for the distribution. For example:
-- arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
--
-- $sel:status:DistributionSummary',
-- distributionSummary_status - The current status of the
-- distribution. When the status is Deployed, the distribution's
-- information is propagated to all CloudFront edge locations.
--
-- $sel:lastModifiedTime:DistributionSummary',
-- distributionSummary_lastModifiedTime - The date and time the
-- distribution was last modified.
--
-- $sel:domainName:DistributionSummary',
-- distributionSummary_domainName - The domain name that
-- corresponds to the distribution, for example,
-- d111111abcdef8.cloudfront.net.
--
-- $sel:aliases:DistributionSummary',
-- distributionSummary_aliases - A complex type that contains
-- information about CNAMEs (alternate domain names), if any, for this
-- distribution.
--
-- $sel:origins:DistributionSummary',
-- distributionSummary_origins - A complex type that contains
-- information about origins for this distribution.
--
-- $sel:defaultCacheBehavior:DistributionSummary',
-- distributionSummary_defaultCacheBehavior - A complex type that
-- describes the default cache behavior if you don't 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.
--
-- $sel:cacheBehaviors:DistributionSummary',
-- distributionSummary_cacheBehaviors - A complex type that
-- contains zero or more CacheBehavior elements.
--
-- $sel:customErrorResponses:DistributionSummary',
-- distributionSummary_customErrorResponses - A complex type that
-- contains zero or more CustomErrorResponses elements.
--
-- $sel:comment:DistributionSummary',
-- distributionSummary_comment - The comment originally specified
-- when this distribution was created.
--
-- $sel:priceClass:DistributionSummary',
-- distributionSummary_priceClass - A complex type that contains
-- information about price class for this streaming distribution.
--
-- $sel:enabled:DistributionSummary',
-- distributionSummary_enabled - Whether the distribution is
-- enabled to accept user requests for content.
--
-- $sel:viewerCertificate:DistributionSummary',
-- distributionSummary_viewerCertificate - A complex type that
-- determines the distribution's SSL/TLS configuration for communicating
-- with viewers.
--
-- $sel:restrictions:DistributionSummary',
-- distributionSummary_restrictions - A complex type that
-- identifies ways in which you want to restrict distribution of your
-- content.
--
-- $sel:webACLId:DistributionSummary',
-- distributionSummary_webACLId - The Web ACL Id (if any)
-- associated with the distribution.
--
-- $sel:httpVersion:DistributionSummary',
-- distributionSummary_httpVersion - Specify the maximum HTTP
-- version that you want viewers to use to communicate with CloudFront.
-- The default value for new web distributions is http2. Viewers
-- that don't support HTTP/2 will automatically use an earlier
-- version.
--
-- $sel:isIPV6Enabled:DistributionSummary',
-- distributionSummary_isIPV6Enabled - Whether CloudFront responds
-- to IPv6 DNS requests with an IPv6 address for your distribution.
--
-- $sel:staging:DistributionSummary',
-- distributionSummary_staging - Whether the primary distribution
-- has a staging distribution enabled.
newDistributionSummary :: Text -> Text -> Text -> UTCTime -> Text -> Aliases -> Origins -> DefaultCacheBehavior -> CacheBehaviors -> CustomErrorResponses -> Text -> PriceClass -> Bool -> ViewerCertificate -> Restrictions -> Text -> HttpVersion -> Bool -> Bool -> DistributionSummary
-- | Amazon Web Services services in China customers must file for an
-- Internet Content Provider (ICP) recordal if they want to serve content
-- publicly on an alternate domain name, also known as a CNAME, that
-- they've added to CloudFront. AliasICPRecordal provides the ICP
-- recordal status for CNAMEs associated with distributions.
--
-- For more information about ICP recordals, see Signup, Accounts, and
-- Credentials in Getting Started with Amazon Web Services
-- services in China.
distributionSummary_aliasICPRecordals :: Lens' DistributionSummary (Maybe [AliasICPRecordal])
-- | A complex type that contains information about origin groups for this
-- distribution.
distributionSummary_originGroups :: Lens' DistributionSummary (Maybe OriginGroups)
-- | The identifier for the distribution. For example:
-- EDFDVBD632BHDS5.
distributionSummary_id :: Lens' DistributionSummary Text
-- | The ARN (Amazon Resource Name) for the distribution. For example:
-- arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
distributionSummary_arn :: Lens' DistributionSummary Text
-- | The current status of the distribution. When the status is
-- Deployed, the distribution's information is propagated to all
-- CloudFront edge locations.
distributionSummary_status :: Lens' DistributionSummary Text
-- | The date and time the distribution was last modified.
distributionSummary_lastModifiedTime :: Lens' DistributionSummary UTCTime
-- | The domain name that corresponds to the distribution, for example,
-- d111111abcdef8.cloudfront.net.
distributionSummary_domainName :: Lens' DistributionSummary Text
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this distribution.
distributionSummary_aliases :: Lens' DistributionSummary Aliases
-- | A complex type that contains information about origins for this
-- distribution.
distributionSummary_origins :: Lens' DistributionSummary Origins
-- | A complex type that describes the default cache behavior if you don't
-- 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.
distributionSummary_defaultCacheBehavior :: Lens' DistributionSummary DefaultCacheBehavior
-- | A complex type that contains zero or more CacheBehavior
-- elements.
distributionSummary_cacheBehaviors :: Lens' DistributionSummary CacheBehaviors
-- | A complex type that contains zero or more
-- CustomErrorResponses elements.
distributionSummary_customErrorResponses :: Lens' DistributionSummary CustomErrorResponses
-- | The comment originally specified when this distribution was created.
distributionSummary_comment :: Lens' DistributionSummary Text
-- | A complex type that contains information about price class for this
-- streaming distribution.
distributionSummary_priceClass :: Lens' DistributionSummary PriceClass
-- | Whether the distribution is enabled to accept user requests for
-- content.
distributionSummary_enabled :: Lens' DistributionSummary Bool
-- | A complex type that determines the distribution's SSL/TLS
-- configuration for communicating with viewers.
distributionSummary_viewerCertificate :: Lens' DistributionSummary ViewerCertificate
-- | A complex type that identifies ways in which you want to restrict
-- distribution of your content.
distributionSummary_restrictions :: Lens' DistributionSummary Restrictions
-- | The Web ACL Id (if any) associated with the distribution.
distributionSummary_webACLId :: Lens' DistributionSummary Text
-- | Specify the maximum HTTP version that you want viewers to use to
-- communicate with CloudFront. The default value for new web
-- distributions is http2. Viewers that don't support
-- HTTP/2 will automatically use an earlier version.
distributionSummary_httpVersion :: Lens' DistributionSummary HttpVersion
-- | Whether CloudFront responds to IPv6 DNS requests with an IPv6 address
-- for your distribution.
distributionSummary_isIPV6Enabled :: Lens' DistributionSummary Bool
-- | Whether the primary distribution has a staging distribution enabled.
distributionSummary_staging :: Lens' DistributionSummary Bool
instance GHC.Generics.Generic Amazonka.CloudFront.Types.DistributionSummary.DistributionSummary
instance GHC.Show.Show Amazonka.CloudFront.Types.DistributionSummary.DistributionSummary
instance GHC.Classes.Eq Amazonka.CloudFront.Types.DistributionSummary.DistributionSummary
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.DistributionSummary.DistributionSummary
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.DistributionSummary.DistributionSummary
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.DistributionSummary.DistributionSummary
module Amazonka.CloudFront.Types.DistributionList
-- | A distribution list.
--
-- See: newDistributionList smart constructor.
data DistributionList
DistributionList' :: Maybe [DistributionSummary] -> Maybe Text -> Text -> Int -> Bool -> Int -> DistributionList
-- | A complex type that contains one DistributionSummary element
-- for each distribution that was created by the current Amazon Web
-- Services account.
[$sel:items:DistributionList'] :: DistributionList -> Maybe [DistributionSummary]
-- | 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.
[$sel:nextMarker:DistributionList'] :: DistributionList -> Maybe Text
-- | The value you provided for the Marker request parameter.
[$sel:marker:DistributionList'] :: DistributionList -> Text
-- | The value you provided for the MaxItems request parameter.
[$sel:maxItems:DistributionList'] :: DistributionList -> Int
-- | 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.
[$sel:isTruncated:DistributionList'] :: DistributionList -> Bool
-- | The number of distributions that were created by the current Amazon
-- Web Services account.
[$sel:quantity:DistributionList'] :: DistributionList -> Int
-- | Create a value of DistributionList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:DistributionList', distributionList_items - A
-- complex type that contains one DistributionSummary element
-- for each distribution that was created by the current Amazon Web
-- Services account.
--
-- $sel:nextMarker:DistributionList',
-- distributionList_nextMarker - 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.
--
-- $sel:marker:DistributionList', distributionList_marker -
-- The value you provided for the Marker request parameter.
--
-- $sel:maxItems:DistributionList',
-- distributionList_maxItems - The value you provided for the
-- MaxItems request parameter.
--
-- $sel:isTruncated:DistributionList',
-- distributionList_isTruncated - 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.
--
-- $sel:quantity:DistributionList',
-- distributionList_quantity - The number of distributions that
-- were created by the current Amazon Web Services account.
newDistributionList :: Text -> Int -> Bool -> Int -> DistributionList
-- | A complex type that contains one DistributionSummary element
-- for each distribution that was created by the current Amazon Web
-- Services account.
distributionList_items :: Lens' DistributionList (Maybe [DistributionSummary])
-- | 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.
distributionList_nextMarker :: Lens' DistributionList (Maybe Text)
-- | The value you provided for the Marker request parameter.
distributionList_marker :: Lens' DistributionList Text
-- | The value you provided for the MaxItems request parameter.
distributionList_maxItems :: Lens' DistributionList Int
-- | 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.
distributionList_isTruncated :: Lens' DistributionList Bool
-- | The number of distributions that were created by the current Amazon
-- Web Services account.
distributionList_quantity :: Lens' DistributionList Int
instance GHC.Generics.Generic Amazonka.CloudFront.Types.DistributionList.DistributionList
instance GHC.Show.Show Amazonka.CloudFront.Types.DistributionList.DistributionList
instance GHC.Classes.Eq Amazonka.CloudFront.Types.DistributionList.DistributionList
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.DistributionList.DistributionList
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.DistributionList.DistributionList
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.DistributionList.DistributionList
module Amazonka.CloudFront.Types.DistributionConfig
-- | A distribution configuration.
--
-- See: newDistributionConfig smart constructor.
data DistributionConfig
DistributionConfig' :: Maybe Aliases -> Maybe CacheBehaviors -> Maybe Text -> Maybe CustomErrorResponses -> Maybe Text -> Maybe HttpVersion -> Maybe Bool -> Maybe LoggingConfig -> Maybe OriginGroups -> Maybe PriceClass -> Maybe Restrictions -> Maybe Bool -> Maybe ViewerCertificate -> Maybe Text -> Text -> Origins -> DefaultCacheBehavior -> Sensitive Text -> Bool -> DistributionConfig
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this distribution.
[$sel:aliases:DistributionConfig'] :: DistributionConfig -> Maybe Aliases
-- | A complex type that contains zero or more CacheBehavior
-- elements.
[$sel:cacheBehaviors:DistributionConfig'] :: DistributionConfig -> Maybe CacheBehaviors
-- | The identifier of a continuous deployment policy. For more
-- information, see CreateContinuousDeploymentPolicy.
[$sel:continuousDeploymentPolicyId:DistributionConfig'] :: DistributionConfig -> Maybe Text
-- | A complex type that controls the following:
--
--
-- - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx
-- range with custom error messages before returning the response to the
-- viewer.
-- - How long CloudFront caches HTTP status codes in the 4xx and 5xx
-- range.
--
--
-- For more information about custom error pages, see Customizing
-- Error Responses in the Amazon CloudFront Developer Guide.
[$sel:customErrorResponses:DistributionConfig'] :: DistributionConfig -> Maybe CustomErrorResponses
-- | The object that you want CloudFront to request from your origin (for
-- example, index.html) when a viewer requests the root URL for
-- your distribution (https://www.example.com) instead of an
-- object in your distribution
-- (https://www.example.com/product-description.html).
-- Specifying a default root object avoids exposing the contents of your
-- distribution.
--
-- Specify only the object name, for example, index.html. Don't
-- add a / before the object name.
--
-- If you don't want to specify a default root object when you create a
-- distribution, include an empty DefaultRootObject element.
--
-- To delete the default root object from an existing distribution,
-- update the distribution configuration and include an empty
-- DefaultRootObject element.
--
-- To replace the default root object, update the distribution
-- configuration and specify the new object.
--
-- For more information about the default root object, see Creating a
-- Default Root Object in the Amazon CloudFront Developer
-- Guide.
[$sel:defaultRootObject:DistributionConfig'] :: DistributionConfig -> Maybe Text
-- | (Optional) Specify the maximum HTTP version(s) that you want viewers
-- to use to communicate with CloudFront. The default value for new web
-- distributions is http2. Viewers that don't support HTTP/2
-- automatically use an earlier HTTP version.
--
-- For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2
-- or later, and must support Server Name Indication (SNI).
--
-- For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3
-- and Server Name Indication (SNI). CloudFront supports HTTP/3
-- connection migration to allow the viewer to switch networks without
-- losing connection. For more information about connection migration,
-- see Connection Migration at RFC 9000. For more information
-- about supported TLSv1.3 ciphers, see Supported protocols and
-- ciphers between viewers and CloudFront.
[$sel:httpVersion:DistributionConfig'] :: DistributionConfig -> Maybe HttpVersion
-- | If you want CloudFront to respond to IPv6 DNS requests with an IPv6
-- address for your distribution, specify true. If you specify
-- false, CloudFront responds to IPv6 DNS requests with the DNS
-- response code NOERROR and with no IP addresses. This allows
-- viewers to submit a second request, for an IPv4 address for your
-- distribution.
--
-- In general, you should enable IPv6 if you have users on IPv6 networks
-- who want to access your content. However, if you're using signed URLs
-- or signed cookies to restrict access to your content, and if you're
-- using a custom policy that includes the IpAddress parameter
-- to restrict the IP addresses that can access your content, don't
-- enable IPv6. If you want to restrict access to some content by IP
-- address and not restrict access to other content (or restrict access
-- but not by IP address), you can create two distributions. For more
-- information, see Creating a Signed URL Using a Custom Policy in
-- the Amazon CloudFront Developer Guide.
--
-- If you're using an Route 53 Amazon Web Services Integration alias
-- resource record set to route traffic to your CloudFront distribution,
-- you need to create a second alias resource record set when both of the
-- following are true:
--
--
-- - You enable IPv6 for the distribution
-- - You're using alternate domain names in the URLs for your
-- objects
--
--
-- For more information, see Routing Traffic to an Amazon CloudFront
-- Web Distribution by Using Your Domain Name in the Route 53
-- Amazon Web Services Integration Developer Guide.
--
-- If you created a CNAME resource record set, either with Route 53
-- Amazon Web Services Integration or with another DNS service, you don't
-- need to make any changes. A CNAME record will route traffic to your
-- distribution regardless of the IP address format of the viewer
-- request.
[$sel:isIPV6Enabled:DistributionConfig'] :: DistributionConfig -> Maybe Bool
-- | A complex type that controls whether access logs are written for the
-- distribution.
--
-- For more information about logging, see Access Logs in the
-- Amazon CloudFront Developer Guide.
[$sel:logging:DistributionConfig'] :: DistributionConfig -> Maybe LoggingConfig
-- | A complex type that contains information about origin groups for this
-- distribution.
[$sel:originGroups:DistributionConfig'] :: DistributionConfig -> Maybe OriginGroups
-- | The price class that corresponds with the maximum price that you want
-- to pay for CloudFront service. If you specify PriceClass_All,
-- CloudFront responds to requests for your objects from all CloudFront
-- edge locations.
--
-- If you specify a price class other than PriceClass_All,
-- CloudFront serves your objects from the CloudFront edge location that
-- has the lowest latency among the edge locations in your price class.
-- Viewers who are in or near regions that are excluded from your
-- specified price class may encounter slower performance.
--
-- For more information about price classes, see Choosing the Price
-- Class for a CloudFront Distribution in the Amazon CloudFront
-- Developer Guide. For information about CloudFront pricing,
-- including how price classes (such as Price Class 100) map to
-- CloudFront regions, see Amazon CloudFront Pricing.
[$sel:priceClass:DistributionConfig'] :: DistributionConfig -> Maybe PriceClass
-- | A complex type that identifies ways in which you want to restrict
-- distribution of your content.
[$sel:restrictions:DistributionConfig'] :: DistributionConfig -> Maybe Restrictions
-- | A Boolean that indicates whether this is a staging distribution. When
-- this value is true, this is a staging distribution. When this
-- value is false, this is not a staging distribution.
[$sel:staging:DistributionConfig'] :: DistributionConfig -> Maybe Bool
-- | A complex type that determines the distribution's SSL/TLS
-- configuration for communicating with viewers.
[$sel:viewerCertificate:DistributionConfig'] :: DistributionConfig -> Maybe ViewerCertificate
-- | A unique identifier that specifies the WAF web ACL, if any, to
-- associate with this distribution. To specify a web ACL created using
-- the latest version of WAF, use the ACL ARN, for example
-- arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a.
-- To specify a web ACL created using WAF Classic, use the ACL ID, for
-- example 473e64fd-f30b-4765-81a0-62ad96dd167a.
--
-- WAF is a web application firewall that lets you monitor the HTTP and
-- HTTPS requests that are forwarded to CloudFront, and lets you control
-- access to your content. Based on conditions that you specify, such as
-- the IP addresses that requests originate from or the values of query
-- strings, CloudFront responds to requests either with the requested
-- content or with an HTTP 403 status code (Forbidden). You can also
-- configure CloudFront to return a custom error page when a request is
-- blocked. For more information about WAF, see the WAF Developer
-- Guide.
[$sel:webACLId:DistributionConfig'] :: DistributionConfig -> Maybe Text
-- | A unique value (for example, a date-time stamp) that ensures that the
-- request can't be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the DistributionConfig object), CloudFront creates
-- a new distribution.
--
-- If CallerReference is a value that you already sent in a
-- previous request to create a distribution, CloudFront returns a
-- DistributionAlreadyExists error.
[$sel:callerReference:DistributionConfig'] :: DistributionConfig -> Text
-- | A complex type that contains information about origins for this
-- distribution.
[$sel:origins:DistributionConfig'] :: DistributionConfig -> Origins
-- | A complex type that describes the default cache behavior if you don't
-- 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.
[$sel:defaultCacheBehavior:DistributionConfig'] :: DistributionConfig -> DefaultCacheBehavior
-- | A comment to describe the distribution. The comment cannot be longer
-- than 128 characters.
[$sel:comment:DistributionConfig'] :: DistributionConfig -> Sensitive Text
-- | From this field, you can enable or disable the selected distribution.
[$sel:enabled:DistributionConfig'] :: DistributionConfig -> Bool
-- | Create a value of DistributionConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aliases:DistributionConfig',
-- distributionConfig_aliases - A complex type that contains
-- information about CNAMEs (alternate domain names), if any, for this
-- distribution.
--
-- $sel:cacheBehaviors:DistributionConfig',
-- distributionConfig_cacheBehaviors - A complex type that
-- contains zero or more CacheBehavior elements.
--
-- $sel:continuousDeploymentPolicyId:DistributionConfig',
-- distributionConfig_continuousDeploymentPolicyId - The
-- identifier of a continuous deployment policy. For more information,
-- see CreateContinuousDeploymentPolicy.
--
-- $sel:customErrorResponses:DistributionConfig',
-- distributionConfig_customErrorResponses - A complex type that
-- controls the following:
--
--
-- - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx
-- range with custom error messages before returning the response to the
-- viewer.
-- - How long CloudFront caches HTTP status codes in the 4xx and 5xx
-- range.
--
--
-- For more information about custom error pages, see Customizing
-- Error Responses in the Amazon CloudFront Developer Guide.
--
-- $sel:defaultRootObject:DistributionConfig',
-- distributionConfig_defaultRootObject - The object that you want
-- CloudFront to request from your origin (for example,
-- index.html) when a viewer requests the root URL for your
-- distribution (https://www.example.com) instead of an object
-- in your distribution
-- (https://www.example.com/product-description.html).
-- Specifying a default root object avoids exposing the contents of your
-- distribution.
--
-- Specify only the object name, for example, index.html. Don't
-- add a / before the object name.
--
-- If you don't want to specify a default root object when you create a
-- distribution, include an empty DefaultRootObject element.
--
-- To delete the default root object from an existing distribution,
-- update the distribution configuration and include an empty
-- DefaultRootObject element.
--
-- To replace the default root object, update the distribution
-- configuration and specify the new object.
--
-- For more information about the default root object, see Creating a
-- Default Root Object in the Amazon CloudFront Developer
-- Guide.
--
-- $sel:httpVersion:DistributionConfig',
-- distributionConfig_httpVersion - (Optional) Specify the maximum
-- HTTP version(s) that you want viewers to use to communicate with
-- CloudFront. The default value for new web distributions is
-- http2. Viewers that don't support HTTP/2 automatically use an
-- earlier HTTP version.
--
-- For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2
-- or later, and must support Server Name Indication (SNI).
--
-- For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3
-- and Server Name Indication (SNI). CloudFront supports HTTP/3
-- connection migration to allow the viewer to switch networks without
-- losing connection. For more information about connection migration,
-- see Connection Migration at RFC 9000. For more information
-- about supported TLSv1.3 ciphers, see Supported protocols and
-- ciphers between viewers and CloudFront.
--
-- $sel:isIPV6Enabled:DistributionConfig',
-- distributionConfig_isIPV6Enabled - If you want CloudFront to
-- respond to IPv6 DNS requests with an IPv6 address for your
-- distribution, specify true. If you specify false,
-- CloudFront responds to IPv6 DNS requests with the DNS response code
-- NOERROR and with no IP addresses. This allows viewers to
-- submit a second request, for an IPv4 address for your distribution.
--
-- In general, you should enable IPv6 if you have users on IPv6 networks
-- who want to access your content. However, if you're using signed URLs
-- or signed cookies to restrict access to your content, and if you're
-- using a custom policy that includes the IpAddress parameter
-- to restrict the IP addresses that can access your content, don't
-- enable IPv6. If you want to restrict access to some content by IP
-- address and not restrict access to other content (or restrict access
-- but not by IP address), you can create two distributions. For more
-- information, see Creating a Signed URL Using a Custom Policy in
-- the Amazon CloudFront Developer Guide.
--
-- If you're using an Route 53 Amazon Web Services Integration alias
-- resource record set to route traffic to your CloudFront distribution,
-- you need to create a second alias resource record set when both of the
-- following are true:
--
--
-- - You enable IPv6 for the distribution
-- - You're using alternate domain names in the URLs for your
-- objects
--
--
-- For more information, see Routing Traffic to an Amazon CloudFront
-- Web Distribution by Using Your Domain Name in the Route 53
-- Amazon Web Services Integration Developer Guide.
--
-- If you created a CNAME resource record set, either with Route 53
-- Amazon Web Services Integration or with another DNS service, you don't
-- need to make any changes. A CNAME record will route traffic to your
-- distribution regardless of the IP address format of the viewer
-- request.
--
-- $sel:logging:DistributionConfig',
-- distributionConfig_logging - A complex type that controls
-- whether access logs are written for the distribution.
--
-- For more information about logging, see Access Logs in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:originGroups:DistributionConfig',
-- distributionConfig_originGroups - A complex type that contains
-- information about origin groups for this distribution.
--
-- $sel:priceClass:DistributionConfig',
-- distributionConfig_priceClass - The price class that
-- corresponds with the maximum price that you want to pay for CloudFront
-- service. If you specify PriceClass_All, CloudFront responds
-- to requests for your objects from all CloudFront edge locations.
--
-- If you specify a price class other than PriceClass_All,
-- CloudFront serves your objects from the CloudFront edge location that
-- has the lowest latency among the edge locations in your price class.
-- Viewers who are in or near regions that are excluded from your
-- specified price class may encounter slower performance.
--
-- For more information about price classes, see Choosing the Price
-- Class for a CloudFront Distribution in the Amazon CloudFront
-- Developer Guide. For information about CloudFront pricing,
-- including how price classes (such as Price Class 100) map to
-- CloudFront regions, see Amazon CloudFront Pricing.
--
-- $sel:restrictions:DistributionConfig',
-- distributionConfig_restrictions - A complex type that
-- identifies ways in which you want to restrict distribution of your
-- content.
--
-- $sel:staging:DistributionConfig',
-- distributionConfig_staging - A Boolean that indicates whether
-- this is a staging distribution. When this value is true, this
-- is a staging distribution. When this value is false, this is
-- not a staging distribution.
--
-- $sel:viewerCertificate:DistributionConfig',
-- distributionConfig_viewerCertificate - A complex type that
-- determines the distribution's SSL/TLS configuration for communicating
-- with viewers.
--
-- $sel:webACLId:DistributionConfig',
-- distributionConfig_webACLId - A unique identifier that
-- specifies the WAF web ACL, if any, to associate with this
-- distribution. To specify a web ACL created using the latest version of
-- WAF, use the ACL ARN, for example
-- arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a.
-- To specify a web ACL created using WAF Classic, use the ACL ID, for
-- example 473e64fd-f30b-4765-81a0-62ad96dd167a.
--
-- WAF is a web application firewall that lets you monitor the HTTP and
-- HTTPS requests that are forwarded to CloudFront, and lets you control
-- access to your content. Based on conditions that you specify, such as
-- the IP addresses that requests originate from or the values of query
-- strings, CloudFront responds to requests either with the requested
-- content or with an HTTP 403 status code (Forbidden). You can also
-- configure CloudFront to return a custom error page when a request is
-- blocked. For more information about WAF, see the WAF Developer
-- Guide.
--
-- $sel:callerReference:DistributionConfig',
-- distributionConfig_callerReference - A unique value (for
-- example, a date-time stamp) that ensures that the request can't be
-- replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the DistributionConfig object), CloudFront creates
-- a new distribution.
--
-- If CallerReference is a value that you already sent in a
-- previous request to create a distribution, CloudFront returns a
-- DistributionAlreadyExists error.
--
-- $sel:origins:DistributionConfig',
-- distributionConfig_origins - A complex type that contains
-- information about origins for this distribution.
--
-- $sel:defaultCacheBehavior:DistributionConfig',
-- distributionConfig_defaultCacheBehavior - A complex type that
-- describes the default cache behavior if you don't 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.
--
-- $sel:comment:DistributionConfig',
-- distributionConfig_comment - A comment to describe the
-- distribution. The comment cannot be longer than 128 characters.
--
-- DistributionConfig, distributionConfig_enabled - From
-- this field, you can enable or disable the selected distribution.
newDistributionConfig :: Text -> Origins -> DefaultCacheBehavior -> Text -> Bool -> DistributionConfig
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this distribution.
distributionConfig_aliases :: Lens' DistributionConfig (Maybe Aliases)
-- | A complex type that contains zero or more CacheBehavior
-- elements.
distributionConfig_cacheBehaviors :: Lens' DistributionConfig (Maybe CacheBehaviors)
-- | The identifier of a continuous deployment policy. For more
-- information, see CreateContinuousDeploymentPolicy.
distributionConfig_continuousDeploymentPolicyId :: Lens' DistributionConfig (Maybe Text)
-- | A complex type that controls the following:
--
--
-- - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx
-- range with custom error messages before returning the response to the
-- viewer.
-- - How long CloudFront caches HTTP status codes in the 4xx and 5xx
-- range.
--
--
-- For more information about custom error pages, see Customizing
-- Error Responses in the Amazon CloudFront Developer Guide.
distributionConfig_customErrorResponses :: Lens' DistributionConfig (Maybe CustomErrorResponses)
-- | The object that you want CloudFront to request from your origin (for
-- example, index.html) when a viewer requests the root URL for
-- your distribution (https://www.example.com) instead of an
-- object in your distribution
-- (https://www.example.com/product-description.html).
-- Specifying a default root object avoids exposing the contents of your
-- distribution.
--
-- Specify only the object name, for example, index.html. Don't
-- add a / before the object name.
--
-- If you don't want to specify a default root object when you create a
-- distribution, include an empty DefaultRootObject element.
--
-- To delete the default root object from an existing distribution,
-- update the distribution configuration and include an empty
-- DefaultRootObject element.
--
-- To replace the default root object, update the distribution
-- configuration and specify the new object.
--
-- For more information about the default root object, see Creating a
-- Default Root Object in the Amazon CloudFront Developer
-- Guide.
distributionConfig_defaultRootObject :: Lens' DistributionConfig (Maybe Text)
-- | (Optional) Specify the maximum HTTP version(s) that you want viewers
-- to use to communicate with CloudFront. The default value for new web
-- distributions is http2. Viewers that don't support HTTP/2
-- automatically use an earlier HTTP version.
--
-- For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2
-- or later, and must support Server Name Indication (SNI).
--
-- For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3
-- and Server Name Indication (SNI). CloudFront supports HTTP/3
-- connection migration to allow the viewer to switch networks without
-- losing connection. For more information about connection migration,
-- see Connection Migration at RFC 9000. For more information
-- about supported TLSv1.3 ciphers, see Supported protocols and
-- ciphers between viewers and CloudFront.
distributionConfig_httpVersion :: Lens' DistributionConfig (Maybe HttpVersion)
-- | If you want CloudFront to respond to IPv6 DNS requests with an IPv6
-- address for your distribution, specify true. If you specify
-- false, CloudFront responds to IPv6 DNS requests with the DNS
-- response code NOERROR and with no IP addresses. This allows
-- viewers to submit a second request, for an IPv4 address for your
-- distribution.
--
-- In general, you should enable IPv6 if you have users on IPv6 networks
-- who want to access your content. However, if you're using signed URLs
-- or signed cookies to restrict access to your content, and if you're
-- using a custom policy that includes the IpAddress parameter
-- to restrict the IP addresses that can access your content, don't
-- enable IPv6. If you want to restrict access to some content by IP
-- address and not restrict access to other content (or restrict access
-- but not by IP address), you can create two distributions. For more
-- information, see Creating a Signed URL Using a Custom Policy in
-- the Amazon CloudFront Developer Guide.
--
-- If you're using an Route 53 Amazon Web Services Integration alias
-- resource record set to route traffic to your CloudFront distribution,
-- you need to create a second alias resource record set when both of the
-- following are true:
--
--
-- - You enable IPv6 for the distribution
-- - You're using alternate domain names in the URLs for your
-- objects
--
--
-- For more information, see Routing Traffic to an Amazon CloudFront
-- Web Distribution by Using Your Domain Name in the Route 53
-- Amazon Web Services Integration Developer Guide.
--
-- If you created a CNAME resource record set, either with Route 53
-- Amazon Web Services Integration or with another DNS service, you don't
-- need to make any changes. A CNAME record will route traffic to your
-- distribution regardless of the IP address format of the viewer
-- request.
distributionConfig_isIPV6Enabled :: Lens' DistributionConfig (Maybe Bool)
-- | A complex type that controls whether access logs are written for the
-- distribution.
--
-- For more information about logging, see Access Logs in the
-- Amazon CloudFront Developer Guide.
distributionConfig_logging :: Lens' DistributionConfig (Maybe LoggingConfig)
-- | A complex type that contains information about origin groups for this
-- distribution.
distributionConfig_originGroups :: Lens' DistributionConfig (Maybe OriginGroups)
-- | The price class that corresponds with the maximum price that you want
-- to pay for CloudFront service. If you specify PriceClass_All,
-- CloudFront responds to requests for your objects from all CloudFront
-- edge locations.
--
-- If you specify a price class other than PriceClass_All,
-- CloudFront serves your objects from the CloudFront edge location that
-- has the lowest latency among the edge locations in your price class.
-- Viewers who are in or near regions that are excluded from your
-- specified price class may encounter slower performance.
--
-- For more information about price classes, see Choosing the Price
-- Class for a CloudFront Distribution in the Amazon CloudFront
-- Developer Guide. For information about CloudFront pricing,
-- including how price classes (such as Price Class 100) map to
-- CloudFront regions, see Amazon CloudFront Pricing.
distributionConfig_priceClass :: Lens' DistributionConfig (Maybe PriceClass)
-- | A complex type that identifies ways in which you want to restrict
-- distribution of your content.
distributionConfig_restrictions :: Lens' DistributionConfig (Maybe Restrictions)
-- | A Boolean that indicates whether this is a staging distribution. When
-- this value is true, this is a staging distribution. When this
-- value is false, this is not a staging distribution.
distributionConfig_staging :: Lens' DistributionConfig (Maybe Bool)
-- | A complex type that determines the distribution's SSL/TLS
-- configuration for communicating with viewers.
distributionConfig_viewerCertificate :: Lens' DistributionConfig (Maybe ViewerCertificate)
-- | A unique identifier that specifies the WAF web ACL, if any, to
-- associate with this distribution. To specify a web ACL created using
-- the latest version of WAF, use the ACL ARN, for example
-- arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a.
-- To specify a web ACL created using WAF Classic, use the ACL ID, for
-- example 473e64fd-f30b-4765-81a0-62ad96dd167a.
--
-- WAF is a web application firewall that lets you monitor the HTTP and
-- HTTPS requests that are forwarded to CloudFront, and lets you control
-- access to your content. Based on conditions that you specify, such as
-- the IP addresses that requests originate from or the values of query
-- strings, CloudFront responds to requests either with the requested
-- content or with an HTTP 403 status code (Forbidden). You can also
-- configure CloudFront to return a custom error page when a request is
-- blocked. For more information about WAF, see the WAF Developer
-- Guide.
distributionConfig_webACLId :: Lens' DistributionConfig (Maybe Text)
-- | A unique value (for example, a date-time stamp) that ensures that the
-- request can't be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the DistributionConfig object), CloudFront creates
-- a new distribution.
--
-- If CallerReference is a value that you already sent in a
-- previous request to create a distribution, CloudFront returns a
-- DistributionAlreadyExists error.
distributionConfig_callerReference :: Lens' DistributionConfig Text
-- | A complex type that contains information about origins for this
-- distribution.
distributionConfig_origins :: Lens' DistributionConfig Origins
-- | A complex type that describes the default cache behavior if you don't
-- 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.
distributionConfig_defaultCacheBehavior :: Lens' DistributionConfig DefaultCacheBehavior
-- | A comment to describe the distribution. The comment cannot be longer
-- than 128 characters.
distributionConfig_comment :: Lens' DistributionConfig Text
-- | From this field, you can enable or disable the selected distribution.
distributionConfig_enabled :: Lens' DistributionConfig Bool
instance GHC.Generics.Generic Amazonka.CloudFront.Types.DistributionConfig.DistributionConfig
instance GHC.Show.Show Amazonka.CloudFront.Types.DistributionConfig.DistributionConfig
instance GHC.Classes.Eq Amazonka.CloudFront.Types.DistributionConfig.DistributionConfig
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.DistributionConfig.DistributionConfig
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.DistributionConfig.DistributionConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.DistributionConfig.DistributionConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.DistributionConfig.DistributionConfig
module Amazonka.CloudFront.Types.DistributionConfigWithTags
-- | A distribution Configuration and a list of tags to be associated with
-- the distribution.
--
-- See: newDistributionConfigWithTags smart constructor.
data DistributionConfigWithTags
DistributionConfigWithTags' :: DistributionConfig -> Tags -> DistributionConfigWithTags
-- | A distribution configuration.
[$sel:distributionConfig:DistributionConfigWithTags'] :: DistributionConfigWithTags -> DistributionConfig
-- | A complex type that contains zero or more Tag elements.
[$sel:tags:DistributionConfigWithTags'] :: DistributionConfigWithTags -> Tags
-- | Create a value of DistributionConfigWithTags with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distributionConfig:DistributionConfigWithTags',
-- distributionConfigWithTags_distributionConfig - A distribution
-- configuration.
--
-- $sel:tags:DistributionConfigWithTags',
-- distributionConfigWithTags_tags - A complex type that contains
-- zero or more Tag elements.
newDistributionConfigWithTags :: DistributionConfig -> Tags -> DistributionConfigWithTags
-- | A distribution configuration.
distributionConfigWithTags_distributionConfig :: Lens' DistributionConfigWithTags DistributionConfig
-- | A complex type that contains zero or more Tag elements.
distributionConfigWithTags_tags :: Lens' DistributionConfigWithTags Tags
instance GHC.Generics.Generic Amazonka.CloudFront.Types.DistributionConfigWithTags.DistributionConfigWithTags
instance GHC.Show.Show Amazonka.CloudFront.Types.DistributionConfigWithTags.DistributionConfigWithTags
instance GHC.Classes.Eq Amazonka.CloudFront.Types.DistributionConfigWithTags.DistributionConfigWithTags
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.DistributionConfigWithTags.DistributionConfigWithTags
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.DistributionConfigWithTags.DistributionConfigWithTags
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.Types.DistributionConfigWithTags.DistributionConfigWithTags
module Amazonka.CloudFront.Types.Distribution
-- | A distribution tells CloudFront where you want content to be delivered
-- from, and the details about how to track and manage content delivery.
--
-- See: newDistribution smart constructor.
data Distribution
Distribution' :: Maybe ActiveTrustedKeyGroups -> Maybe ActiveTrustedSigners -> Maybe [AliasICPRecordal] -> Text -> Text -> Text -> ISO8601 -> Int -> Text -> DistributionConfig -> Distribution
-- | This field contains a list of key groups and the public keys in each
-- key group that CloudFront can use to verify the signatures of signed
-- URLs or signed cookies.
[$sel:activeTrustedKeyGroups:Distribution'] :: Distribution -> Maybe ActiveTrustedKeyGroups
-- | We recommend using TrustedKeyGroups instead of
-- TrustedSigners.
--
-- This field contains a list of Amazon Web Services account IDs and the
-- active CloudFront key pairs in each account that CloudFront can use to
-- verify the signatures of signed URLs or signed cookies.
[$sel:activeTrustedSigners:Distribution'] :: Distribution -> Maybe ActiveTrustedSigners
-- | Amazon Web Services services in China customers must file for an
-- Internet Content Provider (ICP) recordal if they want to serve content
-- publicly on an alternate domain name, also known as a CNAME, that
-- they've added to CloudFront. AliasICPRecordal provides the ICP
-- recordal status for CNAMEs associated with distributions.
--
-- For more information about ICP recordals, see Signup, Accounts, and
-- Credentials in Getting Started with Amazon Web Services
-- services in China.
[$sel:aliasICPRecordals:Distribution'] :: Distribution -> Maybe [AliasICPRecordal]
-- | The distribution's identifier. For example: E1U5RQF7T870K0.
[$sel:id:Distribution'] :: Distribution -> Text
-- | The distribution's Amazon Resource Name (ARN).
[$sel:arn:Distribution'] :: Distribution -> Text
-- | The distribution's status. When the status is Deployed, the
-- distribution's information is fully propagated to all CloudFront edge
-- locations.
[$sel:status:Distribution'] :: Distribution -> Text
-- | The date and time when the distribution was last modified.
[$sel:lastModifiedTime:Distribution'] :: Distribution -> ISO8601
-- | The number of invalidation batches currently in progress.
[$sel:inProgressInvalidationBatches:Distribution'] :: Distribution -> Int
-- | The distribution's CloudFront domain name. For example:
-- d111111abcdef8.cloudfront.net.
[$sel:domainName:Distribution'] :: Distribution -> Text
-- | The distribution's configuration.
[$sel:distributionConfig:Distribution'] :: Distribution -> DistributionConfig
-- | Create a value of Distribution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:activeTrustedKeyGroups:Distribution',
-- distribution_activeTrustedKeyGroups - This field contains a
-- list of key groups and the public keys in each key group that
-- CloudFront can use to verify the signatures of signed URLs or signed
-- cookies.
--
-- $sel:activeTrustedSigners:Distribution',
-- distribution_activeTrustedSigners - We recommend using
-- TrustedKeyGroups instead of TrustedSigners.
--
-- This field contains a list of Amazon Web Services account IDs and the
-- active CloudFront key pairs in each account that CloudFront can use to
-- verify the signatures of signed URLs or signed cookies.
--
-- $sel:aliasICPRecordals:Distribution',
-- distribution_aliasICPRecordals - Amazon Web Services services
-- in China customers must file for an Internet Content Provider (ICP)
-- recordal if they want to serve content publicly on an alternate domain
-- name, also known as a CNAME, that they've added to CloudFront.
-- AliasICPRecordal provides the ICP recordal status for CNAMEs
-- associated with distributions.
--
-- For more information about ICP recordals, see Signup, Accounts, and
-- Credentials in Getting Started with Amazon Web Services
-- services in China.
--
-- $sel:id:Distribution', distribution_id - The
-- distribution's identifier. For example: E1U5RQF7T870K0.
--
-- $sel:arn:Distribution', distribution_arn - The
-- distribution's Amazon Resource Name (ARN).
--
-- $sel:status:Distribution', distribution_status - The
-- distribution's status. When the status is Deployed, the
-- distribution's information is fully propagated to all CloudFront edge
-- locations.
--
-- $sel:lastModifiedTime:Distribution',
-- distribution_lastModifiedTime - The date and time when the
-- distribution was last modified.
--
-- $sel:inProgressInvalidationBatches:Distribution',
-- distribution_inProgressInvalidationBatches - The number of
-- invalidation batches currently in progress.
--
-- $sel:domainName:Distribution', distribution_domainName -
-- The distribution's CloudFront domain name. For example:
-- d111111abcdef8.cloudfront.net.
--
-- $sel:distributionConfig:Distribution',
-- distribution_distributionConfig - The distribution's
-- configuration.
newDistribution :: Text -> Text -> Text -> UTCTime -> Int -> Text -> DistributionConfig -> Distribution
-- | This field contains a list of key groups and the public keys in each
-- key group that CloudFront can use to verify the signatures of signed
-- URLs or signed cookies.
distribution_activeTrustedKeyGroups :: Lens' Distribution (Maybe ActiveTrustedKeyGroups)
-- | We recommend using TrustedKeyGroups instead of
-- TrustedSigners.
--
-- This field contains a list of Amazon Web Services account IDs and the
-- active CloudFront key pairs in each account that CloudFront can use to
-- verify the signatures of signed URLs or signed cookies.
distribution_activeTrustedSigners :: Lens' Distribution (Maybe ActiveTrustedSigners)
-- | Amazon Web Services services in China customers must file for an
-- Internet Content Provider (ICP) recordal if they want to serve content
-- publicly on an alternate domain name, also known as a CNAME, that
-- they've added to CloudFront. AliasICPRecordal provides the ICP
-- recordal status for CNAMEs associated with distributions.
--
-- For more information about ICP recordals, see Signup, Accounts, and
-- Credentials in Getting Started with Amazon Web Services
-- services in China.
distribution_aliasICPRecordals :: Lens' Distribution (Maybe [AliasICPRecordal])
-- | The distribution's identifier. For example: E1U5RQF7T870K0.
distribution_id :: Lens' Distribution Text
-- | The distribution's Amazon Resource Name (ARN).
distribution_arn :: Lens' Distribution Text
-- | The distribution's status. When the status is Deployed, the
-- distribution's information is fully propagated to all CloudFront edge
-- locations.
distribution_status :: Lens' Distribution Text
-- | The date and time when the distribution was last modified.
distribution_lastModifiedTime :: Lens' Distribution UTCTime
-- | The number of invalidation batches currently in progress.
distribution_inProgressInvalidationBatches :: Lens' Distribution Int
-- | The distribution's CloudFront domain name. For example:
-- d111111abcdef8.cloudfront.net.
distribution_domainName :: Lens' Distribution Text
-- | The distribution's configuration.
distribution_distributionConfig :: Lens' Distribution DistributionConfig
instance GHC.Generics.Generic Amazonka.CloudFront.Types.Distribution.Distribution
instance GHC.Show.Show Amazonka.CloudFront.Types.Distribution.Distribution
instance GHC.Classes.Eq Amazonka.CloudFront.Types.Distribution.Distribution
instance Amazonka.Data.XML.FromXML Amazonka.CloudFront.Types.Distribution.Distribution
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.Types.Distribution.Distribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.Types.Distribution.Distribution
module Amazonka.CloudFront.Types
-- | API version 2020-05-31 of the Amazon CloudFront SDK
-- configuration.
defaultService :: Service
-- | Access denied.
_AccessDenied :: AsError a => Fold a ServiceError
-- | Invalidation batch specified is too large.
_BatchTooLarge :: AsError a => Fold a ServiceError
-- | The CNAME specified is already defined for CloudFront.
_CNAMEAlreadyExists :: AsError a => Fold a ServiceError
-- | A cache policy with this name already exists. You must provide a
-- unique name. To modify an existing cache policy, use
-- UpdateCachePolicy.
_CachePolicyAlreadyExists :: AsError a => Fold a ServiceError
-- | Cannot delete the cache policy because it is attached to one or more
-- cache behaviors.
_CachePolicyInUse :: AsError a => Fold a ServiceError
-- | You can't change the value of a public key.
_CannotChangeImmutablePublicKeyFields :: AsError a => Fold a ServiceError
-- | If the CallerReference is a value you already sent in a
-- previous request to create an identity but the content of the
-- CloudFrontOriginAccessIdentityConfig is different from the
-- original request, CloudFront returns a
-- CloudFrontOriginAccessIdentityAlreadyExists error.
_CloudFrontOriginAccessIdentityAlreadyExists :: AsError a => Fold a ServiceError
-- | The Origin Access Identity specified is already in use.
_CloudFrontOriginAccessIdentityInUse :: AsError a => Fold a ServiceError
-- | A continuous deployment policy with this configuration already exists.
_ContinuousDeploymentPolicyAlreadyExists :: AsError a => Fold a ServiceError
-- | You cannot delete a continuous deployment policy that is associated
-- with a primary distribution.
_ContinuousDeploymentPolicyInUse :: AsError a => Fold a ServiceError
-- | The caller reference you attempted to create the distribution with is
-- associated with another distribution.
_DistributionAlreadyExists :: AsError a => Fold a ServiceError
-- | The specified CloudFront distribution is not disabled. You must
-- disable the distribution before you can delete it.
_DistributionNotDisabled :: AsError a => Fold a ServiceError
-- | The specified configuration for field-level encryption already exists.
_FieldLevelEncryptionConfigAlreadyExists :: AsError a => Fold a ServiceError
-- | The specified configuration for field-level encryption is in use.
_FieldLevelEncryptionConfigInUse :: AsError a => Fold a ServiceError
-- | The specified profile for field-level encryption already exists.
_FieldLevelEncryptionProfileAlreadyExists :: AsError a => Fold a ServiceError
-- | The specified profile for field-level encryption is in use.
_FieldLevelEncryptionProfileInUse :: AsError a => Fold a ServiceError
-- | The maximum size of a profile for field-level encryption was exceeded.
_FieldLevelEncryptionProfileSizeExceeded :: AsError a => Fold a ServiceError
-- | A function with the same name already exists in this Amazon Web
-- Services account. To create a function, you must provide a unique
-- name. To update an existing function, use UpdateFunction.
_FunctionAlreadyExists :: AsError a => Fold a ServiceError
-- | Cannot delete the function because it's attached to one or more cache
-- behaviors.
_FunctionInUse :: AsError a => Fold a ServiceError
-- | The function is too large. For more information, see Quotas
-- (formerly known as limits) in the Amazon CloudFront Developer
-- Guide.
_FunctionSizeLimitExceeded :: AsError a => Fold a ServiceError
-- | You cannot delete a managed policy.
_IllegalDelete :: AsError a => Fold a ServiceError
-- | The specified configuration for field-level encryption can't be
-- associated with the specified cache behavior.
_IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior :: AsError a => Fold a ServiceError
-- | An origin cannot contain both an origin access control (OAC) and an
-- origin access identity (OAI).
_IllegalOriginAccessConfiguration :: AsError a => Fold a ServiceError
-- | The update contains modifications that are not allowed.
_IllegalUpdate :: AsError a => Fold a ServiceError
-- | The value of Quantity and the size of Items don't
-- match.
_InconsistentQuantities :: AsError a => Fold a ServiceError
-- | An argument is invalid.
_InvalidArgument :: AsError a => Fold a ServiceError
-- | The default root object file name is too big or contains an invalid
-- character.
_InvalidDefaultRootObject :: AsError a => Fold a ServiceError
-- | An origin access control is associated with an origin whose domain
-- name is not supported.
_InvalidDomainNameForOriginAccessControl :: AsError a => Fold a ServiceError
-- | An invalid error code was specified.
_InvalidErrorCode :: AsError a => Fold a ServiceError
-- | Your request contains forward cookies option which doesn't match with
-- the expectation for the whitelisted list of cookie names.
-- Either list of cookie names has been specified when not allowed or
-- list of cookie names is missing when expected.
_InvalidForwardCookies :: AsError a => Fold a ServiceError
-- | A CloudFront function association is invalid.
_InvalidFunctionAssociation :: AsError a => Fold a ServiceError
-- | The specified geo restriction parameter is not valid.
_InvalidGeoRestrictionParameter :: AsError a => Fold a ServiceError
-- | The headers specified are not valid for an Amazon S3 origin.
_InvalidHeadersForS3Origin :: AsError a => Fold a ServiceError
-- | The If-Match version is missing or not valid.
_InvalidIfMatchVersion :: AsError a => Fold a ServiceError
-- | The specified Lambda@Edge function association is invalid.
_InvalidLambdaFunctionAssociation :: AsError a => Fold a ServiceError
-- | The location code specified is not valid.
_InvalidLocationCode :: AsError a => Fold a ServiceError
-- | The minimum protocol version specified is not valid.
_InvalidMinimumProtocolVersion :: AsError a => Fold a ServiceError
-- | The Amazon S3 origin server specified does not refer to a valid Amazon
-- S3 bucket.
_InvalidOrigin :: AsError a => Fold a ServiceError
-- | The origin access control is not valid.
_InvalidOriginAccessControl :: AsError a => Fold a ServiceError
-- | The origin access identity is not valid or doesn't exist.
_InvalidOriginAccessIdentity :: AsError a => Fold a ServiceError
-- | The keep alive timeout specified for the origin is not valid.
_InvalidOriginKeepaliveTimeout :: AsError a => Fold a ServiceError
-- | The read timeout specified for the origin is not valid.
_InvalidOriginReadTimeout :: AsError a => Fold a ServiceError
-- | You cannot specify SSLv3 as the minimum protocol version if you only
-- want to support only clients that support Server Name Indication
-- (SNI).
_InvalidProtocolSettings :: AsError a => Fold a ServiceError
-- | The query string parameters specified are not valid.
_InvalidQueryStringParameters :: AsError a => Fold a ServiceError
-- | The relative path is too big, is not URL-encoded, or does not begin
-- with a slash (/).
_InvalidRelativePath :: AsError a => Fold a ServiceError
-- | This operation requires the HTTPS protocol. Ensure that you specify
-- the HTTPS protocol in your request, or omit the
-- RequiredProtocols element from your distribution
-- configuration.
_InvalidRequiredProtocol :: AsError a => Fold a ServiceError
-- | A response code is not valid.
_InvalidResponseCode :: AsError a => Fold a ServiceError
-- | The TTL order specified is not valid.
_InvalidTTLOrder :: AsError a => Fold a ServiceError
-- | The tagging specified is not valid.
_InvalidTagging :: AsError a => Fold a ServiceError
-- | A viewer certificate specified is not valid.
_InvalidViewerCertificate :: AsError a => Fold a ServiceError
-- | A web ACL ID specified is not valid. To specify a web ACL created
-- using the latest version of WAF, use the ACL ARN, for example
-- arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a.
-- To specify a web ACL created using WAF Classic, use the ACL ID, for
-- example 473e64fd-f30b-4765-81a0-62ad96dd167a.
_InvalidWebACLId :: AsError a => Fold a ServiceError
-- | A key group with this name already exists. You must provide a unique
-- name. To modify an existing key group, use UpdateKeyGroup.
_KeyGroupAlreadyExists :: AsError a => Fold a ServiceError
-- | This operation requires a body. Ensure that the body is present and
-- the Content-Type header is set.
_MissingBody :: AsError a => Fold a ServiceError
-- | A monitoring subscription already exists for the specified
-- distribution.
_MonitoringSubscriptionAlreadyExists :: AsError a => Fold a ServiceError
-- | The cache policy does not exist.
_NoSuchCachePolicy :: AsError a => Fold a ServiceError
-- | The specified origin access identity does not exist.
_NoSuchCloudFrontOriginAccessIdentity :: AsError a => Fold a ServiceError
-- | The continuous deployment policy doesn't exist.
_NoSuchContinuousDeploymentPolicy :: AsError a => Fold a ServiceError
-- | The specified distribution does not exist.
_NoSuchDistribution :: AsError a => Fold a ServiceError
-- | The specified configuration for field-level encryption doesn't exist.
_NoSuchFieldLevelEncryptionConfig :: AsError a => Fold a ServiceError
-- | The specified profile for field-level encryption doesn't exist.
_NoSuchFieldLevelEncryptionProfile :: AsError a => Fold a ServiceError
-- | The function does not exist.
_NoSuchFunctionExists :: AsError a => Fold a ServiceError
-- | The specified invalidation does not exist.
_NoSuchInvalidation :: AsError a => Fold a ServiceError
-- | A monitoring subscription does not exist for the specified
-- distribution.
_NoSuchMonitoringSubscription :: AsError a => Fold a ServiceError
-- | No origin exists with the specified Origin Id.
_NoSuchOrigin :: AsError a => Fold a ServiceError
-- | The origin access control does not exist.
_NoSuchOriginAccessControl :: AsError a => Fold a ServiceError
-- | The origin request policy does not exist.
_NoSuchOriginRequestPolicy :: AsError a => Fold a ServiceError
-- | The specified public key doesn't exist.
_NoSuchPublicKey :: AsError a => Fold a ServiceError
-- | The real-time log configuration does not exist.
_NoSuchRealtimeLogConfig :: AsError a => Fold a ServiceError
-- | A resource that was specified is not valid.
_NoSuchResource :: AsError a => Fold a ServiceError
-- | The response headers policy does not exist.
_NoSuchResponseHeadersPolicy :: AsError a => Fold a ServiceError
-- | The specified streaming distribution does not exist.
_NoSuchStreamingDistribution :: AsError a => Fold a ServiceError
-- | An origin access control with the specified parameters already exists.
_OriginAccessControlAlreadyExists :: AsError a => Fold a ServiceError
-- | Cannot delete the origin access control because it's in use by one or
-- more distributions.
_OriginAccessControlInUse :: AsError a => Fold a ServiceError
-- | An origin request policy with this name already exists. You must
-- provide a unique name. To modify an existing origin request policy,
-- use UpdateOriginRequestPolicy.
_OriginRequestPolicyAlreadyExists :: AsError a => Fold a ServiceError
-- | Cannot delete the origin request policy because it is attached to one
-- or more cache behaviors.
_OriginRequestPolicyInUse :: AsError a => Fold a ServiceError
-- | The precondition in one or more of the request fields evaluated to
-- false.
_PreconditionFailed :: AsError a => Fold a ServiceError
-- | The specified public key already exists.
_PublicKeyAlreadyExists :: AsError a => Fold a ServiceError
-- | The specified public key is in use.
_PublicKeyInUse :: AsError a => Fold a ServiceError
-- | No profile specified for the field-level encryption query argument.
_QueryArgProfileEmpty :: AsError a => Fold a ServiceError
-- | A real-time log configuration with this name already exists. You must
-- provide a unique name. To modify an existing real-time log
-- configuration, use UpdateRealtimeLogConfig.
_RealtimeLogConfigAlreadyExists :: AsError a => Fold a ServiceError
-- | Cannot delete the real-time log configuration because it is attached
-- to one or more cache behaviors.
_RealtimeLogConfigInUse :: AsError a => Fold a ServiceError
-- | The specified real-time log configuration belongs to a different
-- Amazon Web Services account.
_RealtimeLogConfigOwnerMismatch :: AsError a => Fold a ServiceError
-- | Cannot delete this resource because it is in use.
_ResourceInUse :: AsError a => Fold a ServiceError
-- | A response headers policy with this name already exists. You must
-- provide a unique name. To modify an existing response headers policy,
-- use UpdateResponseHeadersPolicy.
_ResponseHeadersPolicyAlreadyExists :: AsError a => Fold a ServiceError
-- | Cannot delete the response headers policy because it is attached to
-- one or more cache behaviors in a CloudFront distribution.
_ResponseHeadersPolicyInUse :: AsError a => Fold a ServiceError
-- | A continuous deployment policy for this staging distribution already
-- exists.
_StagingDistributionInUse :: AsError a => Fold a ServiceError
-- | The caller reference you attempted to create the streaming
-- distribution with is associated with another distribution
_StreamingDistributionAlreadyExists :: AsError a => Fold a ServiceError
-- | The specified CloudFront distribution is not disabled. You must
-- disable the distribution before you can delete it.
_StreamingDistributionNotDisabled :: AsError a => Fold a ServiceError
-- | The CloudFront function failed.
_TestFunctionFailed :: AsError a => Fold a ServiceError
-- | The length of the Content-Security-Policy header value in the
-- response headers policy exceeds the maximum.
--
-- For more information, see Quotas (formerly known as limits) in
-- the Amazon CloudFront Developer Guide.
_TooLongCSPInResponseHeadersPolicy :: AsError a => Fold a ServiceError
-- | You cannot create more cache behaviors for the distribution.
_TooManyCacheBehaviors :: AsError a => Fold a ServiceError
-- | You have reached the maximum number of cache policies for this Amazon
-- Web Services account. For more information, see Quotas
-- (formerly known as limits) in the Amazon CloudFront Developer
-- Guide.
_TooManyCachePolicies :: AsError a => Fold a ServiceError
-- | You cannot create anymore custom SSL/TLS certificates.
_TooManyCertificates :: AsError a => Fold a ServiceError
-- | Processing your request would cause you to exceed the maximum number
-- of origin access identities allowed.
_TooManyCloudFrontOriginAccessIdentities :: AsError a => Fold a ServiceError
-- | You have reached the maximum number of continuous deployment policies
-- for this Amazon Web Services account.
_TooManyContinuousDeploymentPolicies :: AsError a => Fold a ServiceError
-- | Your request contains more cookie names in the whitelist than are
-- allowed per cache behavior.
_TooManyCookieNamesInWhiteList :: AsError a => Fold a ServiceError
-- | The number of cookies in the cache policy exceeds the maximum. For
-- more information, see Quotas (formerly known as limits) in the
-- Amazon CloudFront Developer Guide.
_TooManyCookiesInCachePolicy :: AsError a => Fold a ServiceError
-- | The number of cookies in the origin request policy exceeds the
-- maximum. For more information, see Quotas (formerly known as
-- limits) in the Amazon CloudFront Developer Guide.
_TooManyCookiesInOriginRequestPolicy :: AsError a => Fold a ServiceError
-- | The number of custom headers in the response headers policy exceeds
-- the maximum.
--
-- For more information, see Quotas (formerly known as limits) in
-- the Amazon CloudFront Developer Guide.
_TooManyCustomHeadersInResponseHeadersPolicy :: AsError a => Fold a ServiceError
-- | Your request contains more CNAMEs than are allowed per distribution.
_TooManyDistributionCNAMEs :: AsError a => Fold a ServiceError
-- | Processing your request would cause you to exceed the maximum number
-- of distributions allowed.
_TooManyDistributions :: AsError a => Fold a ServiceError
-- | The maximum number of distributions have been associated with the
-- specified cache policy. For more information, see Quotas
-- (formerly known as limits) in the Amazon CloudFront Developer
-- Guide.
_TooManyDistributionsAssociatedToCachePolicy :: AsError a => Fold a ServiceError
-- | The maximum number of distributions have been associated with the
-- specified configuration for field-level encryption.
_TooManyDistributionsAssociatedToFieldLevelEncryptionConfig :: AsError a => Fold a ServiceError
-- | The number of distributions that reference this key group is more than
-- the maximum allowed. For more information, see Quotas (formerly
-- known as limits) in the Amazon CloudFront Developer Guide.
_TooManyDistributionsAssociatedToKeyGroup :: AsError a => Fold a ServiceError
-- | The maximum number of distributions have been associated with the
-- specified origin access control.
--
-- For more information, see Quotas (formerly known as limits) in
-- the Amazon CloudFront Developer Guide.
_TooManyDistributionsAssociatedToOriginAccessControl :: AsError a => Fold a ServiceError
-- | The maximum number of distributions have been associated with the
-- specified origin request policy. For more information, see
-- Quotas (formerly known as limits) in the Amazon CloudFront
-- Developer Guide.
_TooManyDistributionsAssociatedToOriginRequestPolicy :: AsError a => Fold a ServiceError
-- | The maximum number of distributions have been associated with the
-- specified response headers policy.
--
-- For more information, see Quotas (formerly known as limits) in
-- the Amazon CloudFront Developer Guide.
_TooManyDistributionsAssociatedToResponseHeadersPolicy :: AsError a => Fold a ServiceError
-- | You have reached the maximum number of distributions that are
-- associated with a CloudFront function. For more information, see
-- Quotas (formerly known as limits) in the Amazon CloudFront
-- Developer Guide.
_TooManyDistributionsWithFunctionAssociations :: AsError a => Fold a ServiceError
-- | Processing your request would cause the maximum number of
-- distributions with Lambda@Edge function associations per owner to be
-- exceeded.
_TooManyDistributionsWithLambdaAssociations :: AsError a => Fold a ServiceError
-- | The maximum number of distributions have been associated with the
-- specified Lambda@Edge function.
_TooManyDistributionsWithSingleFunctionARN :: AsError a => Fold a ServiceError
-- | The maximum number of configurations for field-level encryption have
-- been created.
_TooManyFieldLevelEncryptionConfigs :: AsError a => Fold a ServiceError
-- | The maximum number of content type profiles for field-level encryption
-- have been created.
_TooManyFieldLevelEncryptionContentTypeProfiles :: AsError a => Fold a ServiceError
-- | The maximum number of encryption entities for field-level encryption
-- have been created.
_TooManyFieldLevelEncryptionEncryptionEntities :: AsError a => Fold a ServiceError
-- | The maximum number of field patterns for field-level encryption have
-- been created.
_TooManyFieldLevelEncryptionFieldPatterns :: AsError a => Fold a ServiceError
-- | The maximum number of profiles for field-level encryption have been
-- created.
_TooManyFieldLevelEncryptionProfiles :: AsError a => Fold a ServiceError
-- | The maximum number of query arg profiles for field-level encryption
-- have been created.
_TooManyFieldLevelEncryptionQueryArgProfiles :: AsError a => Fold a ServiceError
-- | You have reached the maximum number of CloudFront function
-- associations for this distribution. For more information, see
-- Quotas (formerly known as limits) in the Amazon CloudFront
-- Developer Guide.
_TooManyFunctionAssociations :: AsError a => Fold a ServiceError
-- | You have reached the maximum number of CloudFront functions for this
-- Amazon Web Services account. For more information, see Quotas
-- (formerly known as limits) in the Amazon CloudFront Developer
-- Guide.
_TooManyFunctions :: AsError a => Fold a ServiceError
-- | The number of headers in the cache policy exceeds the maximum. For
-- more information, see Quotas (formerly known as limits) in the
-- Amazon CloudFront Developer Guide.
_TooManyHeadersInCachePolicy :: AsError a => Fold a ServiceError
-- | Your request contains too many headers in forwarded values.
_TooManyHeadersInForwardedValues :: AsError a => Fold a ServiceError
-- | The number of headers in the origin request policy exceeds the
-- maximum. For more information, see Quotas (formerly known as
-- limits) in the Amazon CloudFront Developer Guide.
_TooManyHeadersInOriginRequestPolicy :: AsError a => Fold a ServiceError
-- | You have exceeded the maximum number of allowable InProgress
-- invalidation batch requests, or invalidation objects.
_TooManyInvalidationsInProgress :: AsError a => Fold a ServiceError
-- | You have reached the maximum number of key groups for this Amazon Web
-- Services account. For more information, see Quotas (formerly
-- known as limits) in the Amazon CloudFront Developer Guide.
_TooManyKeyGroups :: AsError a => Fold a ServiceError
-- | The number of key groups referenced by this distribution is more than
-- the maximum allowed. For more information, see Quotas (formerly
-- known as limits) in the Amazon CloudFront Developer Guide.
_TooManyKeyGroupsAssociatedToDistribution :: AsError a => Fold a ServiceError
-- | Your request contains more Lambda@Edge function associations than are
-- allowed per distribution.
_TooManyLambdaFunctionAssociations :: AsError a => Fold a ServiceError
-- | The number of origin access controls in your Amazon Web Services
-- account exceeds the maximum allowed.
--
-- For more information, see Quotas (formerly known as limits) in
-- the Amazon CloudFront Developer Guide.
_TooManyOriginAccessControls :: AsError a => Fold a ServiceError
-- | Your request contains too many origin custom headers.
_TooManyOriginCustomHeaders :: AsError a => Fold a ServiceError
-- | Processing your request would cause you to exceed the maximum number
-- of origin groups allowed.
_TooManyOriginGroupsPerDistribution :: AsError a => Fold a ServiceError
-- | You have reached the maximum number of origin request policies for
-- this Amazon Web Services account. For more information, see
-- Quotas (formerly known as limits) in the Amazon CloudFront
-- Developer Guide.
_TooManyOriginRequestPolicies :: AsError a => Fold a ServiceError
-- | You cannot create more origins for the distribution.
_TooManyOrigins :: AsError a => Fold a ServiceError
-- | The maximum number of public keys for field-level encryption have been
-- created. To create a new public key, delete one of the existing keys.
_TooManyPublicKeys :: AsError a => Fold a ServiceError
-- | The number of public keys in this key group is more than the maximum
-- allowed. For more information, see Quotas (formerly known as
-- limits) in the Amazon CloudFront Developer Guide.
_TooManyPublicKeysInKeyGroup :: AsError a => Fold a ServiceError
-- | Your request contains too many query string parameters.
_TooManyQueryStringParameters :: AsError a => Fold a ServiceError
-- | The number of query strings in the cache policy exceeds the maximum.
-- For more information, see Quotas (formerly known as limits) in
-- the Amazon CloudFront Developer Guide.
_TooManyQueryStringsInCachePolicy :: AsError a => Fold a ServiceError
-- | The number of query strings in the origin request policy exceeds the
-- maximum. For more information, see Quotas (formerly known as
-- limits) in the Amazon CloudFront Developer Guide.
_TooManyQueryStringsInOriginRequestPolicy :: AsError a => Fold a ServiceError
-- | You have reached the maximum number of real-time log configurations
-- for this Amazon Web Services account. For more information, see
-- Quotas (formerly known as limits) in the Amazon CloudFront
-- Developer Guide.
_TooManyRealtimeLogConfigs :: AsError a => Fold a ServiceError
-- | The number of headers in RemoveHeadersConfig in the response
-- headers policy exceeds the maximum.
--
-- For more information, see Quotas (formerly known as limits) in
-- the Amazon CloudFront Developer Guide.
_TooManyRemoveHeadersInResponseHeadersPolicy :: AsError a => Fold a ServiceError
-- | You have reached the maximum number of response headers policies for
-- this Amazon Web Services account.
--
-- For more information, see Quotas (formerly known as limits) in
-- the Amazon CloudFront Developer Guide.
_TooManyResponseHeadersPolicies :: AsError a => Fold a ServiceError
-- | Your request contains more CNAMEs than are allowed per distribution.
_TooManyStreamingDistributionCNAMEs :: AsError a => Fold a ServiceError
-- | Processing your request would cause you to exceed the maximum number
-- of streaming distributions allowed.
_TooManyStreamingDistributions :: AsError a => Fold a ServiceError
-- | Your request contains more trusted signers than are allowed per
-- distribution.
_TooManyTrustedSigners :: AsError a => Fold a ServiceError
-- | The specified key group does not exist.
_TrustedKeyGroupDoesNotExist :: AsError a => Fold a ServiceError
-- | One or more of your trusted signers don't exist.
_TrustedSignerDoesNotExist :: AsError a => Fold a ServiceError
-- | This operation is not supported in this region.
_UnsupportedOperation :: AsError a => Fold a ServiceError
newtype CachePolicyCookieBehavior
CachePolicyCookieBehavior' :: Text -> CachePolicyCookieBehavior
[fromCachePolicyCookieBehavior] :: CachePolicyCookieBehavior -> Text
pattern CachePolicyCookieBehavior_All :: CachePolicyCookieBehavior
pattern CachePolicyCookieBehavior_AllExcept :: CachePolicyCookieBehavior
pattern CachePolicyCookieBehavior_None :: CachePolicyCookieBehavior
pattern CachePolicyCookieBehavior_Whitelist :: CachePolicyCookieBehavior
newtype CachePolicyHeaderBehavior
CachePolicyHeaderBehavior' :: Text -> CachePolicyHeaderBehavior
[fromCachePolicyHeaderBehavior] :: CachePolicyHeaderBehavior -> Text
pattern CachePolicyHeaderBehavior_None :: CachePolicyHeaderBehavior
pattern CachePolicyHeaderBehavior_Whitelist :: CachePolicyHeaderBehavior
newtype CachePolicyQueryStringBehavior
CachePolicyQueryStringBehavior' :: Text -> CachePolicyQueryStringBehavior
[fromCachePolicyQueryStringBehavior] :: CachePolicyQueryStringBehavior -> Text
pattern CachePolicyQueryStringBehavior_All :: CachePolicyQueryStringBehavior
pattern CachePolicyQueryStringBehavior_AllExcept :: CachePolicyQueryStringBehavior
pattern CachePolicyQueryStringBehavior_None :: CachePolicyQueryStringBehavior
pattern CachePolicyQueryStringBehavior_Whitelist :: CachePolicyQueryStringBehavior
newtype CachePolicyType
CachePolicyType' :: Text -> CachePolicyType
[fromCachePolicyType] :: CachePolicyType -> Text
pattern CachePolicyType_Custom :: CachePolicyType
pattern CachePolicyType_Managed :: CachePolicyType
newtype CertificateSource
CertificateSource' :: Text -> CertificateSource
[fromCertificateSource] :: CertificateSource -> Text
pattern CertificateSource_Acm :: CertificateSource
pattern CertificateSource_Cloudfront :: CertificateSource
pattern CertificateSource_Iam :: CertificateSource
newtype ContinuousDeploymentPolicyType
ContinuousDeploymentPolicyType' :: Text -> ContinuousDeploymentPolicyType
[fromContinuousDeploymentPolicyType] :: ContinuousDeploymentPolicyType -> Text
pattern ContinuousDeploymentPolicyType_SingleHeader :: ContinuousDeploymentPolicyType
pattern ContinuousDeploymentPolicyType_SingleWeight :: ContinuousDeploymentPolicyType
newtype EventType
EventType' :: Text -> EventType
[fromEventType] :: EventType -> Text
pattern EventType_Origin_request :: EventType
pattern EventType_Origin_response :: EventType
pattern EventType_Viewer_request :: EventType
pattern EventType_Viewer_response :: EventType
newtype Format
Format' :: Text -> Format
[fromFormat] :: Format -> Text
pattern Format_URLEncoded :: Format
newtype FrameOptionsList
FrameOptionsList' :: Text -> FrameOptionsList
[fromFrameOptionsList] :: FrameOptionsList -> Text
pattern FrameOptionsList_DENY :: FrameOptionsList
pattern FrameOptionsList_SAMEORIGIN :: FrameOptionsList
newtype FunctionRuntime
FunctionRuntime' :: Text -> FunctionRuntime
[fromFunctionRuntime] :: FunctionRuntime -> Text
pattern FunctionRuntime_Cloudfront_js_1_0 :: FunctionRuntime
newtype FunctionStage
FunctionStage' :: Text -> FunctionStage
[fromFunctionStage] :: FunctionStage -> Text
pattern FunctionStage_DEVELOPMENT :: FunctionStage
pattern FunctionStage_LIVE :: FunctionStage
newtype GeoRestrictionType
GeoRestrictionType' :: Text -> GeoRestrictionType
[fromGeoRestrictionType] :: GeoRestrictionType -> Text
pattern GeoRestrictionType_Blacklist :: GeoRestrictionType
pattern GeoRestrictionType_None :: GeoRestrictionType
pattern GeoRestrictionType_Whitelist :: GeoRestrictionType
newtype HttpVersion
HttpVersion' :: Text -> HttpVersion
[fromHttpVersion] :: HttpVersion -> Text
pattern HttpVersion_Http1_1 :: HttpVersion
pattern HttpVersion_Http2 :: HttpVersion
pattern HttpVersion_Http2and3 :: HttpVersion
pattern HttpVersion_Http3 :: HttpVersion
newtype ICPRecordalStatus
ICPRecordalStatus' :: Text -> ICPRecordalStatus
[fromICPRecordalStatus] :: ICPRecordalStatus -> Text
pattern ICPRecordalStatus_APPROVED :: ICPRecordalStatus
pattern ICPRecordalStatus_PENDING :: ICPRecordalStatus
pattern ICPRecordalStatus_SUSPENDED :: ICPRecordalStatus
newtype ItemSelection
ItemSelection' :: Text -> ItemSelection
[fromItemSelection] :: ItemSelection -> Text
pattern ItemSelection_All :: ItemSelection
pattern ItemSelection_None :: ItemSelection
pattern ItemSelection_Whitelist :: ItemSelection
newtype Method
Method' :: Text -> Method
[fromMethod] :: Method -> Text
pattern Method_DELETE :: Method
pattern Method_GET :: Method
pattern Method_HEAD :: Method
pattern Method_OPTIONS :: Method
pattern Method_PATCH :: Method
pattern Method_POST :: Method
pattern Method_PUT :: Method
newtype MinimumProtocolVersion
MinimumProtocolVersion' :: Text -> MinimumProtocolVersion
[fromMinimumProtocolVersion] :: MinimumProtocolVersion -> Text
pattern MinimumProtocolVersion_SSLv3 :: MinimumProtocolVersion
pattern MinimumProtocolVersion_TLSv1 :: MinimumProtocolVersion
pattern MinimumProtocolVersion_TLSv1_1_2016 :: MinimumProtocolVersion
pattern MinimumProtocolVersion_TLSv1_2016 :: MinimumProtocolVersion
pattern MinimumProtocolVersion_TLSv1_2_2018 :: MinimumProtocolVersion
pattern MinimumProtocolVersion_TLSv1_2_2019 :: MinimumProtocolVersion
pattern MinimumProtocolVersion_TLSv1_2_2021 :: MinimumProtocolVersion
newtype OriginAccessControlOriginTypes
OriginAccessControlOriginTypes' :: Text -> OriginAccessControlOriginTypes
[fromOriginAccessControlOriginTypes] :: OriginAccessControlOriginTypes -> Text
pattern OriginAccessControlOriginTypes_S3 :: OriginAccessControlOriginTypes
newtype OriginAccessControlSigningBehaviors
OriginAccessControlSigningBehaviors' :: Text -> OriginAccessControlSigningBehaviors
[fromOriginAccessControlSigningBehaviors] :: OriginAccessControlSigningBehaviors -> Text
pattern OriginAccessControlSigningBehaviors_Always :: OriginAccessControlSigningBehaviors
pattern OriginAccessControlSigningBehaviors_Never :: OriginAccessControlSigningBehaviors
pattern OriginAccessControlSigningBehaviors_No_override :: OriginAccessControlSigningBehaviors
newtype OriginAccessControlSigningProtocols
OriginAccessControlSigningProtocols' :: Text -> OriginAccessControlSigningProtocols
[fromOriginAccessControlSigningProtocols] :: OriginAccessControlSigningProtocols -> Text
pattern OriginAccessControlSigningProtocols_Sigv4 :: OriginAccessControlSigningProtocols
newtype OriginProtocolPolicy
OriginProtocolPolicy' :: Text -> OriginProtocolPolicy
[fromOriginProtocolPolicy] :: OriginProtocolPolicy -> Text
pattern OriginProtocolPolicy_Http_only :: OriginProtocolPolicy
pattern OriginProtocolPolicy_Https_only :: OriginProtocolPolicy
pattern OriginProtocolPolicy_Match_viewer :: OriginProtocolPolicy
newtype OriginRequestPolicyCookieBehavior
OriginRequestPolicyCookieBehavior' :: Text -> OriginRequestPolicyCookieBehavior
[fromOriginRequestPolicyCookieBehavior] :: OriginRequestPolicyCookieBehavior -> Text
pattern OriginRequestPolicyCookieBehavior_All :: OriginRequestPolicyCookieBehavior
pattern OriginRequestPolicyCookieBehavior_None :: OriginRequestPolicyCookieBehavior
pattern OriginRequestPolicyCookieBehavior_Whitelist :: OriginRequestPolicyCookieBehavior
newtype OriginRequestPolicyHeaderBehavior
OriginRequestPolicyHeaderBehavior' :: Text -> OriginRequestPolicyHeaderBehavior
[fromOriginRequestPolicyHeaderBehavior] :: OriginRequestPolicyHeaderBehavior -> Text
pattern OriginRequestPolicyHeaderBehavior_AllViewer :: OriginRequestPolicyHeaderBehavior
pattern OriginRequestPolicyHeaderBehavior_AllViewerAndWhitelistCloudFront :: OriginRequestPolicyHeaderBehavior
pattern OriginRequestPolicyHeaderBehavior_None :: OriginRequestPolicyHeaderBehavior
pattern OriginRequestPolicyHeaderBehavior_Whitelist :: OriginRequestPolicyHeaderBehavior
newtype OriginRequestPolicyQueryStringBehavior
OriginRequestPolicyQueryStringBehavior' :: Text -> OriginRequestPolicyQueryStringBehavior
[fromOriginRequestPolicyQueryStringBehavior] :: OriginRequestPolicyQueryStringBehavior -> Text
pattern OriginRequestPolicyQueryStringBehavior_All :: OriginRequestPolicyQueryStringBehavior
pattern OriginRequestPolicyQueryStringBehavior_None :: OriginRequestPolicyQueryStringBehavior
pattern OriginRequestPolicyQueryStringBehavior_Whitelist :: OriginRequestPolicyQueryStringBehavior
newtype OriginRequestPolicyType
OriginRequestPolicyType' :: Text -> OriginRequestPolicyType
[fromOriginRequestPolicyType] :: OriginRequestPolicyType -> Text
pattern OriginRequestPolicyType_Custom :: OriginRequestPolicyType
pattern OriginRequestPolicyType_Managed :: OriginRequestPolicyType
newtype PriceClass
PriceClass' :: Text -> PriceClass
[fromPriceClass] :: PriceClass -> Text
pattern PriceClass_PriceClass_100 :: PriceClass
pattern PriceClass_PriceClass_200 :: PriceClass
pattern PriceClass_PriceClass_All :: PriceClass
newtype RealtimeMetricsSubscriptionStatus
RealtimeMetricsSubscriptionStatus' :: Text -> RealtimeMetricsSubscriptionStatus
[fromRealtimeMetricsSubscriptionStatus] :: RealtimeMetricsSubscriptionStatus -> Text
pattern RealtimeMetricsSubscriptionStatus_Disabled :: RealtimeMetricsSubscriptionStatus
pattern RealtimeMetricsSubscriptionStatus_Enabled :: RealtimeMetricsSubscriptionStatus
newtype ReferrerPolicyList
ReferrerPolicyList' :: Text -> ReferrerPolicyList
[fromReferrerPolicyList] :: ReferrerPolicyList -> Text
pattern ReferrerPolicyList_No_referrer :: ReferrerPolicyList
pattern ReferrerPolicyList_No_referrer_when_downgrade :: ReferrerPolicyList
pattern ReferrerPolicyList_Origin :: ReferrerPolicyList
pattern ReferrerPolicyList_Origin_when_cross_origin :: ReferrerPolicyList
pattern ReferrerPolicyList_Same_origin :: ReferrerPolicyList
pattern ReferrerPolicyList_Strict_origin :: ReferrerPolicyList
pattern ReferrerPolicyList_Strict_origin_when_cross_origin :: ReferrerPolicyList
pattern ReferrerPolicyList_Unsafe_url :: ReferrerPolicyList
newtype ResponseHeadersPolicyAccessControlAllowMethodsValues
ResponseHeadersPolicyAccessControlAllowMethodsValues' :: Text -> ResponseHeadersPolicyAccessControlAllowMethodsValues
[fromResponseHeadersPolicyAccessControlAllowMethodsValues] :: ResponseHeadersPolicyAccessControlAllowMethodsValues -> Text
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_ALL :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_DELETE :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_GET :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_HEAD :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_OPTIONS :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_PATCH :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_POST :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_PUT :: ResponseHeadersPolicyAccessControlAllowMethodsValues
newtype ResponseHeadersPolicyType
ResponseHeadersPolicyType' :: Text -> ResponseHeadersPolicyType
[fromResponseHeadersPolicyType] :: ResponseHeadersPolicyType -> Text
pattern ResponseHeadersPolicyType_Custom :: ResponseHeadersPolicyType
pattern ResponseHeadersPolicyType_Managed :: ResponseHeadersPolicyType
newtype SSLSupportMethod
SSLSupportMethod' :: Text -> SSLSupportMethod
[fromSSLSupportMethod] :: SSLSupportMethod -> Text
pattern SSLSupportMethod_Sni_only :: SSLSupportMethod
pattern SSLSupportMethod_Static_ip :: SSLSupportMethod
pattern SSLSupportMethod_Vip :: SSLSupportMethod
newtype SslProtocol
SslProtocol' :: Text -> SslProtocol
[fromSslProtocol] :: SslProtocol -> Text
pattern SslProtocol_SSLv3 :: SslProtocol
pattern SslProtocol_TLSv1 :: SslProtocol
pattern SslProtocol_TLSv1_1 :: SslProtocol
pattern SslProtocol_TLSv1_2 :: SslProtocol
newtype ViewerProtocolPolicy
ViewerProtocolPolicy' :: Text -> ViewerProtocolPolicy
[fromViewerProtocolPolicy] :: ViewerProtocolPolicy -> Text
pattern ViewerProtocolPolicy_Allow_all :: ViewerProtocolPolicy
pattern ViewerProtocolPolicy_Https_only :: ViewerProtocolPolicy
pattern ViewerProtocolPolicy_Redirect_to_https :: ViewerProtocolPolicy
-- | A list of key groups, and the public keys in each key group, that
-- CloudFront can use to verify the signatures of signed URLs and signed
-- cookies.
--
-- See: newActiveTrustedKeyGroups smart constructor.
data ActiveTrustedKeyGroups
ActiveTrustedKeyGroups' :: Maybe [KGKeyPairIds] -> Bool -> Int -> ActiveTrustedKeyGroups
-- | A list of key groups, including the identifiers of the public keys in
-- each key group that CloudFront can use to verify the signatures of
-- signed URLs and signed cookies.
[$sel:items:ActiveTrustedKeyGroups'] :: ActiveTrustedKeyGroups -> Maybe [KGKeyPairIds]
-- | This field is true if any of the key groups have public keys
-- that CloudFront can use to verify the signatures of signed URLs and
-- signed cookies. If not, this field is false.
[$sel:enabled:ActiveTrustedKeyGroups'] :: ActiveTrustedKeyGroups -> Bool
-- | The number of key groups in the list.
[$sel:quantity:ActiveTrustedKeyGroups'] :: ActiveTrustedKeyGroups -> Int
-- | Create a value of ActiveTrustedKeyGroups with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ActiveTrustedKeyGroups',
-- activeTrustedKeyGroups_items - A list of key groups, including
-- the identifiers of the public keys in each key group that CloudFront
-- can use to verify the signatures of signed URLs and signed cookies.
--
-- $sel:enabled:ActiveTrustedKeyGroups',
-- activeTrustedKeyGroups_enabled - This field is true if
-- any of the key groups have public keys that CloudFront can use to
-- verify the signatures of signed URLs and signed cookies. If not, this
-- field is false.
--
-- $sel:quantity:ActiveTrustedKeyGroups',
-- activeTrustedKeyGroups_quantity - The number of key groups in
-- the list.
newActiveTrustedKeyGroups :: Bool -> Int -> ActiveTrustedKeyGroups
-- | A list of key groups, including the identifiers of the public keys in
-- each key group that CloudFront can use to verify the signatures of
-- signed URLs and signed cookies.
activeTrustedKeyGroups_items :: Lens' ActiveTrustedKeyGroups (Maybe [KGKeyPairIds])
-- | This field is true if any of the key groups have public keys
-- that CloudFront can use to verify the signatures of signed URLs and
-- signed cookies. If not, this field is false.
activeTrustedKeyGroups_enabled :: Lens' ActiveTrustedKeyGroups Bool
-- | The number of key groups in the list.
activeTrustedKeyGroups_quantity :: Lens' ActiveTrustedKeyGroups Int
-- | A list of Amazon Web Services accounts and the active CloudFront key
-- pairs in each account that CloudFront can use to verify the signatures
-- of signed URLs and signed cookies.
--
-- See: newActiveTrustedSigners smart constructor.
data ActiveTrustedSigners
ActiveTrustedSigners' :: Maybe [Signer] -> Bool -> Int -> ActiveTrustedSigners
-- | A list of Amazon Web Services accounts and the identifiers of active
-- CloudFront key pairs in each account that CloudFront can use to verify
-- the signatures of signed URLs and signed cookies.
[$sel:items:ActiveTrustedSigners'] :: ActiveTrustedSigners -> Maybe [Signer]
-- | This field is true if any of the Amazon Web Services accounts
-- in the list have active CloudFront key pairs that CloudFront can use
-- to verify the signatures of signed URLs and signed cookies. If not,
-- this field is false.
[$sel:enabled:ActiveTrustedSigners'] :: ActiveTrustedSigners -> Bool
-- | The number of Amazon Web Services accounts in the list.
[$sel:quantity:ActiveTrustedSigners'] :: ActiveTrustedSigners -> Int
-- | Create a value of ActiveTrustedSigners with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ActiveTrustedSigners',
-- activeTrustedSigners_items - A list of Amazon Web Services
-- accounts and the identifiers of active CloudFront key pairs in each
-- account that CloudFront can use to verify the signatures of signed
-- URLs and signed cookies.
--
-- $sel:enabled:ActiveTrustedSigners',
-- activeTrustedSigners_enabled - This field is true if
-- any of the Amazon Web Services accounts in the list have active
-- CloudFront key pairs that CloudFront can use to verify the signatures
-- of signed URLs and signed cookies. If not, this field is
-- false.
--
-- $sel:quantity:ActiveTrustedSigners',
-- activeTrustedSigners_quantity - The number of Amazon Web
-- Services accounts in the list.
newActiveTrustedSigners :: Bool -> Int -> ActiveTrustedSigners
-- | A list of Amazon Web Services accounts and the identifiers of active
-- CloudFront key pairs in each account that CloudFront can use to verify
-- the signatures of signed URLs and signed cookies.
activeTrustedSigners_items :: Lens' ActiveTrustedSigners (Maybe [Signer])
-- | This field is true if any of the Amazon Web Services accounts
-- in the list have active CloudFront key pairs that CloudFront can use
-- to verify the signatures of signed URLs and signed cookies. If not,
-- this field is false.
activeTrustedSigners_enabled :: Lens' ActiveTrustedSigners Bool
-- | The number of Amazon Web Services accounts in the list.
activeTrustedSigners_quantity :: Lens' ActiveTrustedSigners Int
-- | Amazon Web Services services in China customers must file for an
-- Internet Content Provider (ICP) recordal if they want to serve content
-- publicly on an alternate domain name, also known as a CNAME, that
-- they've added to CloudFront. AliasICPRecordal provides the ICP
-- recordal status for CNAMEs associated with distributions. The status
-- is returned in the CloudFront response; you can't configure it
-- yourself.
--
-- For more information about ICP recordals, see Signup, Accounts, and
-- Credentials in Getting Started with Amazon Web Services
-- services in China.
--
-- See: newAliasICPRecordal smart constructor.
data AliasICPRecordal
AliasICPRecordal' :: Maybe Text -> Maybe ICPRecordalStatus -> AliasICPRecordal
-- | A domain name associated with a distribution.
[$sel:cname:AliasICPRecordal'] :: AliasICPRecordal -> Maybe Text
-- | The Internet Content Provider (ICP) recordal status for a CNAME. The
-- ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in
-- regions outside of China.
--
-- The status values returned are the following:
--
--
-- - APPROVED indicates that the associated CNAME has a valid
-- ICP recordal number. Multiple CNAMEs can be associated with a
-- distribution, and CNAMEs can correspond to different ICP recordals. To
-- be marked as APPROVED, that is, valid to use with China region, a
-- CNAME must have one ICP recordal number associated with it.
-- - SUSPENDED indicates that the associated CNAME does not have
-- a valid ICP recordal number.
-- - PENDING indicates that CloudFront can't determine the ICP
-- recordal status of the CNAME associated with the distribution because
-- there was an error in trying to determine the status. You can try
-- again to see if the error is resolved in which case CloudFront returns
-- an APPROVED or SUSPENDED status.
--
[$sel:iCPRecordalStatus:AliasICPRecordal'] :: AliasICPRecordal -> Maybe ICPRecordalStatus
-- | Create a value of AliasICPRecordal with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cname:AliasICPRecordal', aliasICPRecordal_cname - A
-- domain name associated with a distribution.
--
-- $sel:iCPRecordalStatus:AliasICPRecordal',
-- aliasICPRecordal_iCPRecordalStatus - The Internet Content
-- Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is
-- set to APPROVED for all CNAMEs (aliases) in regions outside of China.
--
-- The status values returned are the following:
--
--
-- - APPROVED indicates that the associated CNAME has a valid
-- ICP recordal number. Multiple CNAMEs can be associated with a
-- distribution, and CNAMEs can correspond to different ICP recordals. To
-- be marked as APPROVED, that is, valid to use with China region, a
-- CNAME must have one ICP recordal number associated with it.
-- - SUSPENDED indicates that the associated CNAME does not have
-- a valid ICP recordal number.
-- - PENDING indicates that CloudFront can't determine the ICP
-- recordal status of the CNAME associated with the distribution because
-- there was an error in trying to determine the status. You can try
-- again to see if the error is resolved in which case CloudFront returns
-- an APPROVED or SUSPENDED status.
--
newAliasICPRecordal :: AliasICPRecordal
-- | A domain name associated with a distribution.
aliasICPRecordal_cname :: Lens' AliasICPRecordal (Maybe Text)
-- | The Internet Content Provider (ICP) recordal status for a CNAME. The
-- ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in
-- regions outside of China.
--
-- The status values returned are the following:
--
--
-- - APPROVED indicates that the associated CNAME has a valid
-- ICP recordal number. Multiple CNAMEs can be associated with a
-- distribution, and CNAMEs can correspond to different ICP recordals. To
-- be marked as APPROVED, that is, valid to use with China region, a
-- CNAME must have one ICP recordal number associated with it.
-- - SUSPENDED indicates that the associated CNAME does not have
-- a valid ICP recordal number.
-- - PENDING indicates that CloudFront can't determine the ICP
-- recordal status of the CNAME associated with the distribution because
-- there was an error in trying to determine the status. You can try
-- again to see if the error is resolved in which case CloudFront returns
-- an APPROVED or SUSPENDED status.
--
aliasICPRecordal_iCPRecordalStatus :: Lens' AliasICPRecordal (Maybe ICPRecordalStatus)
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this distribution.
--
-- See: newAliases smart constructor.
data Aliases
Aliases' :: Maybe [Text] -> Int -> Aliases
-- | A complex type that contains the CNAME aliases, if any, that you want
-- to associate with this distribution.
[$sel:items:Aliases'] :: Aliases -> Maybe [Text]
-- | The number of CNAME aliases, if any, that you want to associate with
-- this distribution.
[$sel:quantity:Aliases'] :: Aliases -> Int
-- | Create a value of Aliases with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:Aliases', aliases_items - A complex type that
-- contains the CNAME aliases, if any, that you want to associate with
-- this distribution.
--
-- $sel:quantity:Aliases', aliases_quantity - The number of
-- CNAME aliases, if any, that you want to associate with this
-- distribution.
newAliases :: Int -> Aliases
-- | A complex type that contains the CNAME aliases, if any, that you want
-- to associate with this distribution.
aliases_items :: Lens' Aliases (Maybe [Text])
-- | The number of CNAME aliases, if any, that you want to associate with
-- this distribution.
aliases_quantity :: Lens' Aliases Int
-- | A complex type that controls which HTTP methods CloudFront processes
-- and forwards to your Amazon S3 bucket or your custom origin. There are
-- three choices:
--
--
-- - CloudFront forwards only GET and HEAD
-- requests.
-- - CloudFront forwards only GET, HEAD, and
-- OPTIONS requests.
-- - CloudFront forwards GET, HEAD, OPTIONS, PUT, PATCH, POST,
-- and DELETE requests.
--
--
-- If you pick the third choice, you may need to restrict access to your
-- Amazon S3 bucket or to your custom origin so users can't perform
-- operations that you don't want them to. For example, you might not
-- want users to have permissions to delete objects from your origin.
--
-- See: newAllowedMethods smart constructor.
data AllowedMethods
AllowedMethods' :: Maybe CachedMethods -> Int -> [Method] -> AllowedMethods
[$sel:cachedMethods:AllowedMethods'] :: AllowedMethods -> Maybe CachedMethods
-- | The number of HTTP methods that you want CloudFront to forward to your
-- origin. Valid values are 2 (for GET and HEAD
-- requests), 3 (for GET, HEAD, and OPTIONS
-- requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST,
-- and DELETE requests).
[$sel:quantity:AllowedMethods'] :: AllowedMethods -> Int
-- | A complex type that contains the HTTP methods that you want CloudFront
-- to process and forward to your origin.
[$sel:items:AllowedMethods'] :: AllowedMethods -> [Method]
-- | Create a value of AllowedMethods with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cachedMethods:AllowedMethods',
-- allowedMethods_cachedMethods - Undocumented member.
--
-- AllowedMethods, allowedMethods_quantity - The number of
-- HTTP methods that you want CloudFront to forward to your origin. Valid
-- values are 2 (for GET and HEAD requests), 3 (for
-- GET, HEAD, and OPTIONS requests) and 7 (for
-- GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE
-- requests).
--
-- AllowedMethods, allowedMethods_items - A complex type
-- that contains the HTTP methods that you want CloudFront to process and
-- forward to your origin.
newAllowedMethods :: Int -> AllowedMethods
-- | Undocumented member.
allowedMethods_cachedMethods :: Lens' AllowedMethods (Maybe CachedMethods)
-- | The number of HTTP methods that you want CloudFront to forward to your
-- origin. Valid values are 2 (for GET and HEAD
-- requests), 3 (for GET, HEAD, and OPTIONS
-- requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST,
-- and DELETE requests).
allowedMethods_quantity :: Lens' AllowedMethods Int
-- | A complex type that contains the HTTP methods that you want CloudFront
-- to process and forward to your origin.
allowedMethods_items :: Lens' AllowedMethods [Method]
-- | A complex type that describes how CloudFront processes requests.
--
-- You must create at least as many cache behaviors (including the
-- default cache behavior) as you have origins if you want CloudFront to
-- serve objects from all of the origins. Each cache behavior specifies
-- the one origin from which you want CloudFront to get objects. If you
-- have two origins and only the default cache behavior, the default
-- cache behavior will cause CloudFront to get objects from one of the
-- origins, but the other origin is never used.
--
-- For the current quota (formerly known as limit) on the number of cache
-- behaviors that you can add to a distribution, see Quotas in the
-- Amazon CloudFront Developer Guide.
--
-- If you don't want to specify any cache behaviors, include only an
-- empty CacheBehaviors element. Don't include an empty
-- CacheBehavior element because this is invalid.
--
-- To delete all cache behaviors in an existing distribution, update the
-- distribution configuration and include only an empty
-- CacheBehaviors element.
--
-- To add, change, or remove one or more cache behaviors, update the
-- distribution configuration and specify all of the cache behaviors that
-- you want to include in the updated distribution.
--
-- For more information about cache behaviors, see Cache Behavior
-- Settings in the Amazon CloudFront Developer Guide.
--
-- See: newCacheBehavior smart constructor.
data CacheBehavior
CacheBehavior' :: Maybe AllowedMethods -> Maybe Text -> Maybe Bool -> Maybe Integer -> Maybe Text -> Maybe ForwardedValues -> Maybe FunctionAssociations -> Maybe LambdaFunctionAssociations -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe TrustedKeyGroups -> Maybe TrustedSigners -> Text -> Text -> ViewerProtocolPolicy -> CacheBehavior
[$sel:allowedMethods:CacheBehavior'] :: CacheBehavior -> Maybe AllowedMethods
-- | The unique identifier of the cache policy that is attached to this
-- cache behavior. For more information, see Creating cache
-- policies or Using the managed cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- A CacheBehavior must include either a CachePolicyId
-- or ForwardedValues. We recommend that you use a
-- CachePolicyId.
[$sel:cachePolicyId:CacheBehavior'] :: CacheBehavior -> Maybe Text
-- | Whether you want CloudFront to automatically compress certain files
-- for this cache behavior. If so, specify true; if not, specify false.
-- For more information, see Serving Compressed Files in the
-- Amazon CloudFront Developer Guide.
[$sel:compress:CacheBehavior'] :: CacheBehavior -> Maybe Bool
-- | This field is deprecated. We recommend that you use the
-- DefaultTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The default amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin does not add HTTP headers such
-- as Cache-Control max-age, Cache-Control s-maxage,
-- and Expires to objects. For more information, see Managing
-- How Long Content Stays in an Edge Cache (Expiration) in the
-- Amazon CloudFront Developer Guide.
[$sel:defaultTTL:CacheBehavior'] :: CacheBehavior -> Maybe Integer
-- | The value of ID for the field-level encryption configuration
-- that you want CloudFront to use for encrypting specific fields of data
-- for this cache behavior.
[$sel:fieldLevelEncryptionId:CacheBehavior'] :: CacheBehavior -> Maybe Text
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field. For more information,
-- see Working with policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to include values in the cache key, use a cache policy.
-- For more information, see Creating cache policies or Using
-- the managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to send values to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies or Using the managed origin
-- request policies in the Amazon CloudFront Developer Guide.
--
-- A CacheBehavior must include either a CachePolicyId
-- or ForwardedValues. We recommend that you use a
-- CachePolicyId.
--
-- A complex type that specifies how CloudFront handles query strings,
-- cookies, and HTTP headers.
[$sel:forwardedValues:CacheBehavior'] :: CacheBehavior -> Maybe ForwardedValues
-- | A list of CloudFront functions that are associated with this cache
-- behavior. CloudFront functions must be published to the LIVE
-- stage to associate them with a cache behavior.
[$sel:functionAssociations:CacheBehavior'] :: CacheBehavior -> Maybe FunctionAssociations
-- | A complex type that contains zero or more Lambda@Edge function
-- associations for a cache behavior.
[$sel:lambdaFunctionAssociations:CacheBehavior'] :: CacheBehavior -> Maybe LambdaFunctionAssociations
-- | This field is deprecated. We recommend that you use the
-- MaxTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The maximum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin adds HTTP headers such as
-- Cache-Control max-age, Cache-Control s-maxage, and
-- Expires to objects. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
[$sel:maxTTL:CacheBehavior'] :: CacheBehavior -> Maybe Integer
-- | This field is deprecated. We recommend that you use the
-- MinTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The minimum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
--
-- You must specify 0 for MinTTL if you configure
-- CloudFront to forward all headers to your origin (under
-- Headers, if you specify 1 for Quantity and
-- * for Name).
[$sel:minTTL:CacheBehavior'] :: CacheBehavior -> Maybe Integer
-- | The unique identifier of the origin request policy that is attached to
-- this cache behavior. For more information, see Creating origin
-- request policies or Using the managed origin request
-- policies in the Amazon CloudFront Developer Guide.
[$sel:originRequestPolicyId:CacheBehavior'] :: CacheBehavior -> Maybe Text
-- | The Amazon Resource Name (ARN) of the real-time log configuration that
-- is attached to this cache behavior. For more information, see
-- Real-time logs in the Amazon CloudFront Developer Guide.
[$sel:realtimeLogConfigArn:CacheBehavior'] :: CacheBehavior -> Maybe Text
-- | The identifier for a response headers policy.
[$sel:responseHeadersPolicyId:CacheBehavior'] :: CacheBehavior -> Maybe Text
-- | Indicates whether you want to distribute media files in the Microsoft
-- Smooth Streaming format using the origin that is associated with this
-- cache behavior. If so, specify true; if not, specify
-- false. If you specify true for
-- SmoothStreaming, you can still distribute other content using
-- this cache behavior if the content matches the value of
-- PathPattern.
[$sel:smoothStreaming:CacheBehavior'] :: CacheBehavior -> Maybe Bool
-- | A list of key groups that CloudFront can use to validate signed URLs
-- or signed cookies.
--
-- When a cache behavior contains trusted key groups, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with a private key whose
-- corresponding public key is in the key group. The signed URL or cookie
-- contains information about which public key CloudFront should use to
-- verify the signature. For more information, see Serving private
-- content in the Amazon CloudFront Developer Guide.
[$sel:trustedKeyGroups:CacheBehavior'] :: CacheBehavior -> Maybe TrustedKeyGroups
-- | We recommend using TrustedKeyGroups instead of
-- TrustedSigners.
--
-- A list of Amazon Web Services account IDs whose public keys CloudFront
-- can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted signers, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with the private key of a
-- CloudFront key pair in the trusted signer's Amazon Web Services
-- account. The signed URL or cookie contains information about which
-- public key CloudFront should use to verify the signature. For more
-- information, see Serving private content in the Amazon
-- CloudFront Developer Guide.
[$sel:trustedSigners:CacheBehavior'] :: CacheBehavior -> Maybe TrustedSigners
-- | The pattern (for example, images/*.jpg) that specifies which
-- requests to apply the behavior to. When CloudFront receives a viewer
-- request, the requested path is compared with path patterns in the
-- order in which cache behaviors are listed in the distribution.
--
-- You can optionally include a slash (/) at the beginning of
-- the path pattern. For example, /images/*.jpg. CloudFront
-- behavior is the same with or without the leading /.
--
-- The path pattern for the default cache behavior is * and
-- cannot be changed. If the request for an object does not match the
-- path pattern for any cache behaviors, CloudFront applies the behavior
-- in the default cache behavior.
--
-- For more information, see Path Pattern in the Amazon
-- CloudFront Developer Guide.
[$sel:pathPattern:CacheBehavior'] :: CacheBehavior -> Text
-- | The value of ID for the origin that you want CloudFront to
-- route requests to when they match this cache behavior.
[$sel:targetOriginId:CacheBehavior'] :: CacheBehavior -> Text
-- | The protocol that viewers can use to access the files in the origin
-- specified by TargetOriginId when a request matches the path
-- pattern in PathPattern. You can specify the following
-- options:
--
--
-- - allow-all: Viewers can use HTTP or HTTPS.
-- - redirect-to-https: If a viewer submits an HTTP request,
-- CloudFront returns an HTTP status code of 301 (Moved Permanently) to
-- the viewer along with the HTTPS URL. The viewer then resubmits the
-- request using the new URL.
-- - https-only: If a viewer sends an HTTP request, CloudFront
-- returns an HTTP status code of 403 (Forbidden).
--
--
-- For more information about requiring the HTTPS protocol, see
-- Requiring HTTPS Between Viewers and CloudFront in the Amazon
-- CloudFront Developer Guide.
--
-- The only way to guarantee that viewers retrieve an object that was
-- fetched from the origin using HTTPS is never to use any other protocol
-- to fetch the object. If you have recently changed from HTTP to HTTPS,
-- we recommend that you clear your objects' cache because cached objects
-- are protocol agnostic. That means that an edge location will return an
-- object from the cache regardless of whether the current request
-- protocol matches the protocol used previously. For more information,
-- see Managing Cache Expiration in the Amazon CloudFront
-- Developer Guide.
[$sel:viewerProtocolPolicy:CacheBehavior'] :: CacheBehavior -> ViewerProtocolPolicy
-- | Create a value of CacheBehavior with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:allowedMethods:CacheBehavior',
-- cacheBehavior_allowedMethods - Undocumented member.
--
-- $sel:cachePolicyId:CacheBehavior',
-- cacheBehavior_cachePolicyId - The unique identifier of the
-- cache policy that is attached to this cache behavior. For more
-- information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- A CacheBehavior must include either a CachePolicyId
-- or ForwardedValues. We recommend that you use a
-- CachePolicyId.
--
-- $sel:compress:CacheBehavior', cacheBehavior_compress -
-- Whether you want CloudFront to automatically compress certain files
-- for this cache behavior. If so, specify true; if not, specify false.
-- For more information, see Serving Compressed Files in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:defaultTTL:CacheBehavior', cacheBehavior_defaultTTL
-- - This field is deprecated. We recommend that you use the
-- DefaultTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The default amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin does not add HTTP headers such
-- as Cache-Control max-age, Cache-Control s-maxage,
-- and Expires to objects. For more information, see Managing
-- How Long Content Stays in an Edge Cache (Expiration) in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:fieldLevelEncryptionId:CacheBehavior',
-- cacheBehavior_fieldLevelEncryptionId - The value of ID
-- for the field-level encryption configuration that you want CloudFront
-- to use for encrypting specific fields of data for this cache behavior.
--
-- $sel:forwardedValues:CacheBehavior',
-- cacheBehavior_forwardedValues - This field is deprecated. We
-- recommend that you use a cache policy or an origin request policy
-- instead of this field. For more information, see Working with
-- policies in the Amazon CloudFront Developer Guide.
--
-- If you want to include values in the cache key, use a cache policy.
-- For more information, see Creating cache policies or Using
-- the managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to send values to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies or Using the managed origin
-- request policies in the Amazon CloudFront Developer Guide.
--
-- A CacheBehavior must include either a CachePolicyId
-- or ForwardedValues. We recommend that you use a
-- CachePolicyId.
--
-- A complex type that specifies how CloudFront handles query strings,
-- cookies, and HTTP headers.
--
-- $sel:functionAssociations:CacheBehavior',
-- cacheBehavior_functionAssociations - A list of CloudFront
-- functions that are associated with this cache behavior. CloudFront
-- functions must be published to the LIVE stage to associate
-- them with a cache behavior.
--
-- $sel:lambdaFunctionAssociations:CacheBehavior',
-- cacheBehavior_lambdaFunctionAssociations - A complex type that
-- contains zero or more Lambda@Edge function associations for a cache
-- behavior.
--
-- $sel:maxTTL:CacheBehavior', cacheBehavior_maxTTL - This
-- field is deprecated. We recommend that you use the MaxTTL
-- field in a cache policy instead of this field. For more information,
-- see Creating cache policies or Using the managed cache
-- policies in the Amazon CloudFront Developer Guide.
--
-- The maximum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin adds HTTP headers such as
-- Cache-Control max-age, Cache-Control s-maxage, and
-- Expires to objects. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:minTTL:CacheBehavior', cacheBehavior_minTTL - This
-- field is deprecated. We recommend that you use the MinTTL
-- field in a cache policy instead of this field. For more information,
-- see Creating cache policies or Using the managed cache
-- policies in the Amazon CloudFront Developer Guide.
--
-- The minimum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
--
-- You must specify 0 for MinTTL if you configure
-- CloudFront to forward all headers to your origin (under
-- Headers, if you specify 1 for Quantity and
-- * for Name).
--
-- $sel:originRequestPolicyId:CacheBehavior',
-- cacheBehavior_originRequestPolicyId - The unique identifier of
-- the origin request policy that is attached to this cache behavior. For
-- more information, see Creating origin request policies or
-- Using the managed origin request policies in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:realtimeLogConfigArn:CacheBehavior',
-- cacheBehavior_realtimeLogConfigArn - The Amazon Resource Name
-- (ARN) of the real-time log configuration that is attached to this
-- cache behavior. For more information, see Real-time logs in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:responseHeadersPolicyId:CacheBehavior',
-- cacheBehavior_responseHeadersPolicyId - The identifier for a
-- response headers policy.
--
-- $sel:smoothStreaming:CacheBehavior',
-- cacheBehavior_smoothStreaming - Indicates whether you want to
-- distribute media files in the Microsoft Smooth Streaming format using
-- the origin that is associated with this cache behavior. If so, specify
-- true; if not, specify false. If you specify
-- true for SmoothStreaming, you can still distribute
-- other content using this cache behavior if the content matches the
-- value of PathPattern.
--
-- $sel:trustedKeyGroups:CacheBehavior',
-- cacheBehavior_trustedKeyGroups - A list of key groups that
-- CloudFront can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted key groups, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with a private key whose
-- corresponding public key is in the key group. The signed URL or cookie
-- contains information about which public key CloudFront should use to
-- verify the signature. For more information, see Serving private
-- content in the Amazon CloudFront Developer Guide.
--
-- $sel:trustedSigners:CacheBehavior',
-- cacheBehavior_trustedSigners - We recommend using
-- TrustedKeyGroups instead of TrustedSigners.
--
-- A list of Amazon Web Services account IDs whose public keys CloudFront
-- can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted signers, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with the private key of a
-- CloudFront key pair in the trusted signer's Amazon Web Services
-- account. The signed URL or cookie contains information about which
-- public key CloudFront should use to verify the signature. For more
-- information, see Serving private content in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:pathPattern:CacheBehavior',
-- cacheBehavior_pathPattern - The pattern (for example,
-- images/*.jpg) that specifies which requests to apply the
-- behavior to. When CloudFront receives a viewer request, the requested
-- path is compared with path patterns in the order in which cache
-- behaviors are listed in the distribution.
--
-- You can optionally include a slash (/) at the beginning of
-- the path pattern. For example, /images/*.jpg. CloudFront
-- behavior is the same with or without the leading /.
--
-- The path pattern for the default cache behavior is * and
-- cannot be changed. If the request for an object does not match the
-- path pattern for any cache behaviors, CloudFront applies the behavior
-- in the default cache behavior.
--
-- For more information, see Path Pattern in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:targetOriginId:CacheBehavior',
-- cacheBehavior_targetOriginId - The value of ID for the
-- origin that you want CloudFront to route requests to when they match
-- this cache behavior.
--
-- $sel:viewerProtocolPolicy:CacheBehavior',
-- cacheBehavior_viewerProtocolPolicy - The protocol that viewers
-- can use to access the files in the origin specified by
-- TargetOriginId when a request matches the path pattern in
-- PathPattern. You can specify the following options:
--
--
-- - allow-all: Viewers can use HTTP or HTTPS.
-- - redirect-to-https: If a viewer submits an HTTP request,
-- CloudFront returns an HTTP status code of 301 (Moved Permanently) to
-- the viewer along with the HTTPS URL. The viewer then resubmits the
-- request using the new URL.
-- - https-only: If a viewer sends an HTTP request, CloudFront
-- returns an HTTP status code of 403 (Forbidden).
--
--
-- For more information about requiring the HTTPS protocol, see
-- Requiring HTTPS Between Viewers and CloudFront in the Amazon
-- CloudFront Developer Guide.
--
-- The only way to guarantee that viewers retrieve an object that was
-- fetched from the origin using HTTPS is never to use any other protocol
-- to fetch the object. If you have recently changed from HTTP to HTTPS,
-- we recommend that you clear your objects' cache because cached objects
-- are protocol agnostic. That means that an edge location will return an
-- object from the cache regardless of whether the current request
-- protocol matches the protocol used previously. For more information,
-- see Managing Cache Expiration in the Amazon CloudFront
-- Developer Guide.
newCacheBehavior :: Text -> Text -> ViewerProtocolPolicy -> CacheBehavior
-- | Undocumented member.
cacheBehavior_allowedMethods :: Lens' CacheBehavior (Maybe AllowedMethods)
-- | The unique identifier of the cache policy that is attached to this
-- cache behavior. For more information, see Creating cache
-- policies or Using the managed cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- A CacheBehavior must include either a CachePolicyId
-- or ForwardedValues. We recommend that you use a
-- CachePolicyId.
cacheBehavior_cachePolicyId :: Lens' CacheBehavior (Maybe Text)
-- | Whether you want CloudFront to automatically compress certain files
-- for this cache behavior. If so, specify true; if not, specify false.
-- For more information, see Serving Compressed Files in the
-- Amazon CloudFront Developer Guide.
cacheBehavior_compress :: Lens' CacheBehavior (Maybe Bool)
-- | This field is deprecated. We recommend that you use the
-- DefaultTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The default amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin does not add HTTP headers such
-- as Cache-Control max-age, Cache-Control s-maxage,
-- and Expires to objects. For more information, see Managing
-- How Long Content Stays in an Edge Cache (Expiration) in the
-- Amazon CloudFront Developer Guide.
cacheBehavior_defaultTTL :: Lens' CacheBehavior (Maybe Integer)
-- | The value of ID for the field-level encryption configuration
-- that you want CloudFront to use for encrypting specific fields of data
-- for this cache behavior.
cacheBehavior_fieldLevelEncryptionId :: Lens' CacheBehavior (Maybe Text)
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field. For more information,
-- see Working with policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to include values in the cache key, use a cache policy.
-- For more information, see Creating cache policies or Using
-- the managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to send values to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies or Using the managed origin
-- request policies in the Amazon CloudFront Developer Guide.
--
-- A CacheBehavior must include either a CachePolicyId
-- or ForwardedValues. We recommend that you use a
-- CachePolicyId.
--
-- A complex type that specifies how CloudFront handles query strings,
-- cookies, and HTTP headers.
cacheBehavior_forwardedValues :: Lens' CacheBehavior (Maybe ForwardedValues)
-- | A list of CloudFront functions that are associated with this cache
-- behavior. CloudFront functions must be published to the LIVE
-- stage to associate them with a cache behavior.
cacheBehavior_functionAssociations :: Lens' CacheBehavior (Maybe FunctionAssociations)
-- | A complex type that contains zero or more Lambda@Edge function
-- associations for a cache behavior.
cacheBehavior_lambdaFunctionAssociations :: Lens' CacheBehavior (Maybe LambdaFunctionAssociations)
-- | This field is deprecated. We recommend that you use the
-- MaxTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The maximum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin adds HTTP headers such as
-- Cache-Control max-age, Cache-Control s-maxage, and
-- Expires to objects. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
cacheBehavior_maxTTL :: Lens' CacheBehavior (Maybe Integer)
-- | This field is deprecated. We recommend that you use the
-- MinTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The minimum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
--
-- You must specify 0 for MinTTL if you configure
-- CloudFront to forward all headers to your origin (under
-- Headers, if you specify 1 for Quantity and
-- * for Name).
cacheBehavior_minTTL :: Lens' CacheBehavior (Maybe Integer)
-- | The unique identifier of the origin request policy that is attached to
-- this cache behavior. For more information, see Creating origin
-- request policies or Using the managed origin request
-- policies in the Amazon CloudFront Developer Guide.
cacheBehavior_originRequestPolicyId :: Lens' CacheBehavior (Maybe Text)
-- | The Amazon Resource Name (ARN) of the real-time log configuration that
-- is attached to this cache behavior. For more information, see
-- Real-time logs in the Amazon CloudFront Developer Guide.
cacheBehavior_realtimeLogConfigArn :: Lens' CacheBehavior (Maybe Text)
-- | The identifier for a response headers policy.
cacheBehavior_responseHeadersPolicyId :: Lens' CacheBehavior (Maybe Text)
-- | Indicates whether you want to distribute media files in the Microsoft
-- Smooth Streaming format using the origin that is associated with this
-- cache behavior. If so, specify true; if not, specify
-- false. If you specify true for
-- SmoothStreaming, you can still distribute other content using
-- this cache behavior if the content matches the value of
-- PathPattern.
cacheBehavior_smoothStreaming :: Lens' CacheBehavior (Maybe Bool)
-- | A list of key groups that CloudFront can use to validate signed URLs
-- or signed cookies.
--
-- When a cache behavior contains trusted key groups, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with a private key whose
-- corresponding public key is in the key group. The signed URL or cookie
-- contains information about which public key CloudFront should use to
-- verify the signature. For more information, see Serving private
-- content in the Amazon CloudFront Developer Guide.
cacheBehavior_trustedKeyGroups :: Lens' CacheBehavior (Maybe TrustedKeyGroups)
-- | We recommend using TrustedKeyGroups instead of
-- TrustedSigners.
--
-- A list of Amazon Web Services account IDs whose public keys CloudFront
-- can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted signers, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with the private key of a
-- CloudFront key pair in the trusted signer's Amazon Web Services
-- account. The signed URL or cookie contains information about which
-- public key CloudFront should use to verify the signature. For more
-- information, see Serving private content in the Amazon
-- CloudFront Developer Guide.
cacheBehavior_trustedSigners :: Lens' CacheBehavior (Maybe TrustedSigners)
-- | The pattern (for example, images/*.jpg) that specifies which
-- requests to apply the behavior to. When CloudFront receives a viewer
-- request, the requested path is compared with path patterns in the
-- order in which cache behaviors are listed in the distribution.
--
-- You can optionally include a slash (/) at the beginning of
-- the path pattern. For example, /images/*.jpg. CloudFront
-- behavior is the same with or without the leading /.
--
-- The path pattern for the default cache behavior is * and
-- cannot be changed. If the request for an object does not match the
-- path pattern for any cache behaviors, CloudFront applies the behavior
-- in the default cache behavior.
--
-- For more information, see Path Pattern in the Amazon
-- CloudFront Developer Guide.
cacheBehavior_pathPattern :: Lens' CacheBehavior Text
-- | The value of ID for the origin that you want CloudFront to
-- route requests to when they match this cache behavior.
cacheBehavior_targetOriginId :: Lens' CacheBehavior Text
-- | The protocol that viewers can use to access the files in the origin
-- specified by TargetOriginId when a request matches the path
-- pattern in PathPattern. You can specify the following
-- options:
--
--
-- - allow-all: Viewers can use HTTP or HTTPS.
-- - redirect-to-https: If a viewer submits an HTTP request,
-- CloudFront returns an HTTP status code of 301 (Moved Permanently) to
-- the viewer along with the HTTPS URL. The viewer then resubmits the
-- request using the new URL.
-- - https-only: If a viewer sends an HTTP request, CloudFront
-- returns an HTTP status code of 403 (Forbidden).
--
--
-- For more information about requiring the HTTPS protocol, see
-- Requiring HTTPS Between Viewers and CloudFront in the Amazon
-- CloudFront Developer Guide.
--
-- The only way to guarantee that viewers retrieve an object that was
-- fetched from the origin using HTTPS is never to use any other protocol
-- to fetch the object. If you have recently changed from HTTP to HTTPS,
-- we recommend that you clear your objects' cache because cached objects
-- are protocol agnostic. That means that an edge location will return an
-- object from the cache regardless of whether the current request
-- protocol matches the protocol used previously. For more information,
-- see Managing Cache Expiration in the Amazon CloudFront
-- Developer Guide.
cacheBehavior_viewerProtocolPolicy :: Lens' CacheBehavior ViewerProtocolPolicy
-- | A complex type that contains zero or more CacheBehavior
-- elements.
--
-- See: newCacheBehaviors smart constructor.
data CacheBehaviors
CacheBehaviors' :: Maybe [CacheBehavior] -> Int -> CacheBehaviors
-- | Optional: A complex type that contains cache behaviors for this
-- distribution. If Quantity is 0, you can omit
-- Items.
[$sel:items:CacheBehaviors'] :: CacheBehaviors -> Maybe [CacheBehavior]
-- | The number of cache behaviors for this distribution.
[$sel:quantity:CacheBehaviors'] :: CacheBehaviors -> Int
-- | Create a value of CacheBehaviors with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:CacheBehaviors', cacheBehaviors_items -
-- Optional: A complex type that contains cache behaviors for this
-- distribution. If Quantity is 0, you can omit
-- Items.
--
-- $sel:quantity:CacheBehaviors', cacheBehaviors_quantity -
-- The number of cache behaviors for this distribution.
newCacheBehaviors :: Int -> CacheBehaviors
-- | Optional: A complex type that contains cache behaviors for this
-- distribution. If Quantity is 0, you can omit
-- Items.
cacheBehaviors_items :: Lens' CacheBehaviors (Maybe [CacheBehavior])
-- | The number of cache behaviors for this distribution.
cacheBehaviors_quantity :: Lens' CacheBehaviors Int
-- | A cache policy.
--
-- When it's attached to a cache behavior, the cache policy determines
-- the following:
--
--
-- - The values that CloudFront includes in the cache key. These values
-- can include HTTP headers, cookies, and URL query strings. CloudFront
-- uses the cache key to find an object in its cache that it can return
-- to the viewer.
-- - The default, minimum, and maximum time to live (TTL) values that
-- you want objects to stay in the CloudFront cache.
--
--
-- The headers, cookies, and query strings that are included in the cache
-- key are automatically included in requests that CloudFront sends to
-- the origin. CloudFront sends a request when it can't find a valid
-- object in its cache that matches the request's cache key. If you want
-- to send values to the origin but not include them in the cache
-- key, use OriginRequestPolicy.
--
-- See: newCachePolicy smart constructor.
data CachePolicy
CachePolicy' :: Text -> ISO8601 -> CachePolicyConfig -> CachePolicy
-- | The unique identifier for the cache policy.
[$sel:id:CachePolicy'] :: CachePolicy -> Text
-- | The date and time when the cache policy was last modified.
[$sel:lastModifiedTime:CachePolicy'] :: CachePolicy -> ISO8601
-- | The cache policy configuration.
[$sel:cachePolicyConfig:CachePolicy'] :: CachePolicy -> CachePolicyConfig
-- | Create a value of CachePolicy with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:CachePolicy', cachePolicy_id - The unique
-- identifier for the cache policy.
--
-- $sel:lastModifiedTime:CachePolicy',
-- cachePolicy_lastModifiedTime - The date and time when the cache
-- policy was last modified.
--
-- $sel:cachePolicyConfig:CachePolicy',
-- cachePolicy_cachePolicyConfig - The cache policy configuration.
newCachePolicy :: Text -> UTCTime -> CachePolicyConfig -> CachePolicy
-- | The unique identifier for the cache policy.
cachePolicy_id :: Lens' CachePolicy Text
-- | The date and time when the cache policy was last modified.
cachePolicy_lastModifiedTime :: Lens' CachePolicy UTCTime
-- | The cache policy configuration.
cachePolicy_cachePolicyConfig :: Lens' CachePolicy CachePolicyConfig
-- | A cache policy configuration.
--
-- This configuration determines the following:
--
--
-- - The values that CloudFront includes in the cache key. These values
-- can include HTTP headers, cookies, and URL query strings. CloudFront
-- uses the cache key to find an object in its cache that it can return
-- to the viewer.
-- - The default, minimum, and maximum time to live (TTL) values that
-- you want objects to stay in the CloudFront cache.
--
--
-- The headers, cookies, and query strings that are included in the cache
-- key are automatically included in requests that CloudFront sends to
-- the origin. CloudFront sends a request when it can't find a valid
-- object in its cache that matches the request's cache key. If you want
-- to send values to the origin but not include them in the cache
-- key, use OriginRequestPolicy.
--
-- See: newCachePolicyConfig smart constructor.
data CachePolicyConfig
CachePolicyConfig' :: Maybe Text -> Maybe Integer -> Maybe Integer -> Maybe ParametersInCacheKeyAndForwardedToOrigin -> Text -> Integer -> CachePolicyConfig
-- | A comment to describe the cache policy. The comment cannot be longer
-- than 128 characters.
[$sel:comment:CachePolicyConfig'] :: CachePolicyConfig -> Maybe Text
-- | The default amount of time, in seconds, that you want objects to stay
-- in the CloudFront cache before CloudFront sends another request to the
-- origin to see if the object has been updated. CloudFront uses this
-- value as the object's time to live (TTL) only when the origin does
-- not send Cache-Control or Expires headers
-- with the object. For more information, see Managing How Long
-- Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
--
-- The default value for this field is 86400 seconds (one day). If the
-- value of MinTTL is more than 86400 seconds, then the default
-- value for this field is the same as the value of MinTTL.
[$sel:defaultTTL:CachePolicyConfig'] :: CachePolicyConfig -> Maybe Integer
-- | The maximum amount of time, in seconds, that objects stay in the
-- CloudFront cache before CloudFront sends another request to the origin
-- to see if the object has been updated. CloudFront uses this value only
-- when the origin sends Cache-Control or Expires
-- headers with the object. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
--
-- The default value for this field is 31536000 seconds (one year). If
-- the value of MinTTL or DefaultTTL is more than
-- 31536000 seconds, then the default value for this field is the same as
-- the value of DefaultTTL.
[$sel:maxTTL:CachePolicyConfig'] :: CachePolicyConfig -> Maybe Integer
-- | The HTTP headers, cookies, and URL query strings to include in the
-- cache key. The values included in the cache key are automatically
-- included in requests that CloudFront sends to the origin.
[$sel:parametersInCacheKeyAndForwardedToOrigin:CachePolicyConfig'] :: CachePolicyConfig -> Maybe ParametersInCacheKeyAndForwardedToOrigin
-- | A unique name to identify the cache policy.
[$sel:name:CachePolicyConfig'] :: CachePolicyConfig -> Text
-- | The minimum amount of time, in seconds, that you want objects to stay
-- in the CloudFront cache before CloudFront sends another request to the
-- origin to see if the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
[$sel:minTTL:CachePolicyConfig'] :: CachePolicyConfig -> Integer
-- | Create a value of CachePolicyConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:CachePolicyConfig',
-- cachePolicyConfig_comment - A comment to describe the cache
-- policy. The comment cannot be longer than 128 characters.
--
-- $sel:defaultTTL:CachePolicyConfig',
-- cachePolicyConfig_defaultTTL - The default amount of time, in
-- seconds, that you want objects to stay in the CloudFront cache before
-- CloudFront sends another request to the origin to see if the object
-- has been updated. CloudFront uses this value as the object's time to
-- live (TTL) only when the origin does not send
-- Cache-Control or Expires headers with the object.
-- For more information, see Managing How Long Content Stays in an
-- Edge Cache (Expiration) in the Amazon CloudFront Developer
-- Guide.
--
-- The default value for this field is 86400 seconds (one day). If the
-- value of MinTTL is more than 86400 seconds, then the default
-- value for this field is the same as the value of MinTTL.
--
-- $sel:maxTTL:CachePolicyConfig', cachePolicyConfig_maxTTL
-- - The maximum amount of time, in seconds, that objects stay in the
-- CloudFront cache before CloudFront sends another request to the origin
-- to see if the object has been updated. CloudFront uses this value only
-- when the origin sends Cache-Control or Expires
-- headers with the object. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
--
-- The default value for this field is 31536000 seconds (one year). If
-- the value of MinTTL or DefaultTTL is more than
-- 31536000 seconds, then the default value for this field is the same as
-- the value of DefaultTTL.
--
--
-- $sel:parametersInCacheKeyAndForwardedToOrigin:CachePolicyConfig',
-- cachePolicyConfig_parametersInCacheKeyAndForwardedToOrigin -
-- The HTTP headers, cookies, and URL query strings to include in the
-- cache key. The values included in the cache key are automatically
-- included in requests that CloudFront sends to the origin.
--
-- $sel:name:CachePolicyConfig', cachePolicyConfig_name - A
-- unique name to identify the cache policy.
--
-- $sel:minTTL:CachePolicyConfig', cachePolicyConfig_minTTL
-- - The minimum amount of time, in seconds, that you want objects to
-- stay in the CloudFront cache before CloudFront sends another request
-- to the origin to see if the object has been updated. For more
-- information, see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
newCachePolicyConfig :: Text -> Integer -> CachePolicyConfig
-- | A comment to describe the cache policy. The comment cannot be longer
-- than 128 characters.
cachePolicyConfig_comment :: Lens' CachePolicyConfig (Maybe Text)
-- | The default amount of time, in seconds, that you want objects to stay
-- in the CloudFront cache before CloudFront sends another request to the
-- origin to see if the object has been updated. CloudFront uses this
-- value as the object's time to live (TTL) only when the origin does
-- not send Cache-Control or Expires headers
-- with the object. For more information, see Managing How Long
-- Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
--
-- The default value for this field is 86400 seconds (one day). If the
-- value of MinTTL is more than 86400 seconds, then the default
-- value for this field is the same as the value of MinTTL.
cachePolicyConfig_defaultTTL :: Lens' CachePolicyConfig (Maybe Integer)
-- | The maximum amount of time, in seconds, that objects stay in the
-- CloudFront cache before CloudFront sends another request to the origin
-- to see if the object has been updated. CloudFront uses this value only
-- when the origin sends Cache-Control or Expires
-- headers with the object. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
--
-- The default value for this field is 31536000 seconds (one year). If
-- the value of MinTTL or DefaultTTL is more than
-- 31536000 seconds, then the default value for this field is the same as
-- the value of DefaultTTL.
cachePolicyConfig_maxTTL :: Lens' CachePolicyConfig (Maybe Integer)
-- | The HTTP headers, cookies, and URL query strings to include in the
-- cache key. The values included in the cache key are automatically
-- included in requests that CloudFront sends to the origin.
cachePolicyConfig_parametersInCacheKeyAndForwardedToOrigin :: Lens' CachePolicyConfig (Maybe ParametersInCacheKeyAndForwardedToOrigin)
-- | A unique name to identify the cache policy.
cachePolicyConfig_name :: Lens' CachePolicyConfig Text
-- | The minimum amount of time, in seconds, that you want objects to stay
-- in the CloudFront cache before CloudFront sends another request to the
-- origin to see if the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
cachePolicyConfig_minTTL :: Lens' CachePolicyConfig Integer
-- | An object that determines whether any cookies in viewer requests (and
-- if so, which cookies) are included in the cache key and automatically
-- included in requests that CloudFront sends to the origin.
--
-- See: newCachePolicyCookiesConfig smart constructor.
data CachePolicyCookiesConfig
CachePolicyCookiesConfig' :: Maybe CookieNames -> CachePolicyCookieBehavior -> CachePolicyCookiesConfig
[$sel:cookies:CachePolicyCookiesConfig'] :: CachePolicyCookiesConfig -> Maybe CookieNames
-- | Determines whether any cookies in viewer requests are included in the
-- cache key and automatically included in requests that CloudFront sends
-- to the origin. Valid values are:
--
--
-- - none – Cookies in viewer requests are not included in the
-- cache key and are not automatically included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any cookies that are listed in an
-- OriginRequestPolicy are included in origin
-- requests.
-- - whitelist – The cookies in viewer requests that are
-- listed in the CookieNames type are included in the cache key
-- and automatically included in requests that CloudFront sends to the
-- origin.
-- - allExcept – All cookies in viewer requests that are
-- not listed in the CookieNames type are included
-- in the cache key and automatically included in requests that
-- CloudFront sends to the origin.
-- - all – All cookies in viewer requests are included in the
-- cache key and are automatically included in requests that CloudFront
-- sends to the origin.
--
[$sel:cookieBehavior:CachePolicyCookiesConfig'] :: CachePolicyCookiesConfig -> CachePolicyCookieBehavior
-- | Create a value of CachePolicyCookiesConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cookies:CachePolicyCookiesConfig',
-- cachePolicyCookiesConfig_cookies - Undocumented member.
--
-- $sel:cookieBehavior:CachePolicyCookiesConfig',
-- cachePolicyCookiesConfig_cookieBehavior - Determines whether
-- any cookies in viewer requests are included in the cache key and
-- automatically included in requests that CloudFront sends to the
-- origin. Valid values are:
--
--
-- - none – Cookies in viewer requests are not included in the
-- cache key and are not automatically included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any cookies that are listed in an
-- OriginRequestPolicy are included in origin
-- requests.
-- - whitelist – The cookies in viewer requests that are
-- listed in the CookieNames type are included in the cache key
-- and automatically included in requests that CloudFront sends to the
-- origin.
-- - allExcept – All cookies in viewer requests that are
-- not listed in the CookieNames type are included
-- in the cache key and automatically included in requests that
-- CloudFront sends to the origin.
-- - all – All cookies in viewer requests are included in the
-- cache key and are automatically included in requests that CloudFront
-- sends to the origin.
--
newCachePolicyCookiesConfig :: CachePolicyCookieBehavior -> CachePolicyCookiesConfig
-- | Undocumented member.
cachePolicyCookiesConfig_cookies :: Lens' CachePolicyCookiesConfig (Maybe CookieNames)
-- | Determines whether any cookies in viewer requests are included in the
-- cache key and automatically included in requests that CloudFront sends
-- to the origin. Valid values are:
--
--
-- - none – Cookies in viewer requests are not included in the
-- cache key and are not automatically included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any cookies that are listed in an
-- OriginRequestPolicy are included in origin
-- requests.
-- - whitelist – The cookies in viewer requests that are
-- listed in the CookieNames type are included in the cache key
-- and automatically included in requests that CloudFront sends to the
-- origin.
-- - allExcept – All cookies in viewer requests that are
-- not listed in the CookieNames type are included
-- in the cache key and automatically included in requests that
-- CloudFront sends to the origin.
-- - all – All cookies in viewer requests are included in the
-- cache key and are automatically included in requests that CloudFront
-- sends to the origin.
--
cachePolicyCookiesConfig_cookieBehavior :: Lens' CachePolicyCookiesConfig CachePolicyCookieBehavior
-- | An object that determines whether any HTTP headers (and if so, which
-- headers) are included in the cache key and automatically included in
-- requests that CloudFront sends to the origin.
--
-- See: newCachePolicyHeadersConfig smart constructor.
data CachePolicyHeadersConfig
CachePolicyHeadersConfig' :: Maybe Headers -> CachePolicyHeaderBehavior -> CachePolicyHeadersConfig
[$sel:headers:CachePolicyHeadersConfig'] :: CachePolicyHeadersConfig -> Maybe Headers
-- | Determines whether any HTTP headers are included in the cache key and
-- automatically included in requests that CloudFront sends to the
-- origin. Valid values are:
--
--
-- - none – HTTP headers are not included in the cache key and
-- are not automatically included in requests that CloudFront sends to
-- the origin. Even when this field is set to none, any headers
-- that are listed in an OriginRequestPolicy are included
-- in origin requests.
-- - whitelist – The HTTP headers that are listed in the
-- Headers type are included in the cache key and are
-- automatically included in requests that CloudFront sends to the
-- origin.
--
[$sel:headerBehavior:CachePolicyHeadersConfig'] :: CachePolicyHeadersConfig -> CachePolicyHeaderBehavior
-- | Create a value of CachePolicyHeadersConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:headers:CachePolicyHeadersConfig',
-- cachePolicyHeadersConfig_headers - Undocumented member.
--
-- $sel:headerBehavior:CachePolicyHeadersConfig',
-- cachePolicyHeadersConfig_headerBehavior - Determines whether
-- any HTTP headers are included in the cache key and automatically
-- included in requests that CloudFront sends to the origin. Valid values
-- are:
--
--
-- - none – HTTP headers are not included in the cache key and
-- are not automatically included in requests that CloudFront sends to
-- the origin. Even when this field is set to none, any headers
-- that are listed in an OriginRequestPolicy are included
-- in origin requests.
-- - whitelist – The HTTP headers that are listed in the
-- Headers type are included in the cache key and are
-- automatically included in requests that CloudFront sends to the
-- origin.
--
newCachePolicyHeadersConfig :: CachePolicyHeaderBehavior -> CachePolicyHeadersConfig
-- | Undocumented member.
cachePolicyHeadersConfig_headers :: Lens' CachePolicyHeadersConfig (Maybe Headers)
-- | Determines whether any HTTP headers are included in the cache key and
-- automatically included in requests that CloudFront sends to the
-- origin. Valid values are:
--
--
-- - none – HTTP headers are not included in the cache key and
-- are not automatically included in requests that CloudFront sends to
-- the origin. Even when this field is set to none, any headers
-- that are listed in an OriginRequestPolicy are included
-- in origin requests.
-- - whitelist – The HTTP headers that are listed in the
-- Headers type are included in the cache key and are
-- automatically included in requests that CloudFront sends to the
-- origin.
--
cachePolicyHeadersConfig_headerBehavior :: Lens' CachePolicyHeadersConfig CachePolicyHeaderBehavior
-- | A list of cache policies.
--
-- See: newCachePolicyList smart constructor.
data CachePolicyList
CachePolicyList' :: Maybe [CachePolicySummary] -> Maybe Text -> Int -> Int -> CachePolicyList
-- | Contains the cache policies in the list.
[$sel:items:CachePolicyList'] :: CachePolicyList -> Maybe [CachePolicySummary]
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- cache policies where you left off.
[$sel:nextMarker:CachePolicyList'] :: CachePolicyList -> Maybe Text
-- | The maximum number of cache policies requested.
[$sel:maxItems:CachePolicyList'] :: CachePolicyList -> Int
-- | The total number of cache policies returned in the response.
[$sel:quantity:CachePolicyList'] :: CachePolicyList -> Int
-- | Create a value of CachePolicyList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:CachePolicyList', cachePolicyList_items -
-- Contains the cache policies in the list.
--
-- $sel:nextMarker:CachePolicyList',
-- cachePolicyList_nextMarker - If there are more items in the
-- list than are in this response, this element is present. It contains
-- the value that you should use in the Marker field of a
-- subsequent request to continue listing cache policies where you left
-- off.
--
-- $sel:maxItems:CachePolicyList', cachePolicyList_maxItems
-- - The maximum number of cache policies requested.
--
-- $sel:quantity:CachePolicyList', cachePolicyList_quantity
-- - The total number of cache policies returned in the response.
newCachePolicyList :: Int -> Int -> CachePolicyList
-- | Contains the cache policies in the list.
cachePolicyList_items :: Lens' CachePolicyList (Maybe [CachePolicySummary])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- cache policies where you left off.
cachePolicyList_nextMarker :: Lens' CachePolicyList (Maybe Text)
-- | The maximum number of cache policies requested.
cachePolicyList_maxItems :: Lens' CachePolicyList Int
-- | The total number of cache policies returned in the response.
cachePolicyList_quantity :: Lens' CachePolicyList Int
-- | An object that determines whether any URL query strings in viewer
-- requests (and if so, which query strings) are included in the cache
-- key and automatically included in requests that CloudFront sends to
-- the origin.
--
-- See: newCachePolicyQueryStringsConfig smart constructor.
data CachePolicyQueryStringsConfig
CachePolicyQueryStringsConfig' :: Maybe QueryStringNames -> CachePolicyQueryStringBehavior -> CachePolicyQueryStringsConfig
-- | Contains the specific query strings in viewer requests that either
-- are or are not included in the cache key
-- and automatically included in requests that CloudFront sends to the
-- origin. The behavior depends on whether the
-- QueryStringBehavior field in the
-- CachePolicyQueryStringsConfig type is set to
-- whitelist (the listed query strings are
-- included) or allExcept (the listed query strings are
-- not included, but all other query strings are).
[$sel:queryStrings:CachePolicyQueryStringsConfig'] :: CachePolicyQueryStringsConfig -> Maybe QueryStringNames
-- | Determines whether any URL query strings in viewer requests are
-- included in the cache key and automatically included in requests that
-- CloudFront sends to the origin. Valid values are:
--
--
-- - none – Query strings in viewer requests are not included
-- in the cache key and are not automatically included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any query strings that are listed in an
-- OriginRequestPolicy are included in origin
-- requests.
-- - whitelist – The query strings in viewer requests that are
-- listed in the QueryStringNames type are included in the cache
-- key and automatically included in requests that CloudFront sends to
-- the origin.
-- - allExcept – All query strings in viewer requests that are
-- not listed in the QueryStringNames type are
-- included in the cache key and automatically included in requests that
-- CloudFront sends to the origin.
-- - all – All query strings in viewer requests are included
-- in the cache key and are automatically included in requests that
-- CloudFront sends to the origin.
--
[$sel:queryStringBehavior:CachePolicyQueryStringsConfig'] :: CachePolicyQueryStringsConfig -> CachePolicyQueryStringBehavior
-- | Create a value of CachePolicyQueryStringsConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:queryStrings:CachePolicyQueryStringsConfig',
-- cachePolicyQueryStringsConfig_queryStrings - Contains the
-- specific query strings in viewer requests that either
-- are or are not included in the cache key
-- and automatically included in requests that CloudFront sends to the
-- origin. The behavior depends on whether the
-- QueryStringBehavior field in the
-- CachePolicyQueryStringsConfig type is set to
-- whitelist (the listed query strings are
-- included) or allExcept (the listed query strings are
-- not included, but all other query strings are).
--
-- $sel:queryStringBehavior:CachePolicyQueryStringsConfig',
-- cachePolicyQueryStringsConfig_queryStringBehavior - Determines
-- whether any URL query strings in viewer requests are included in the
-- cache key and automatically included in requests that CloudFront sends
-- to the origin. Valid values are:
--
--
-- - none – Query strings in viewer requests are not included
-- in the cache key and are not automatically included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any query strings that are listed in an
-- OriginRequestPolicy are included in origin
-- requests.
-- - whitelist – The query strings in viewer requests that are
-- listed in the QueryStringNames type are included in the cache
-- key and automatically included in requests that CloudFront sends to
-- the origin.
-- - allExcept – All query strings in viewer requests that are
-- not listed in the QueryStringNames type are
-- included in the cache key and automatically included in requests that
-- CloudFront sends to the origin.
-- - all – All query strings in viewer requests are included
-- in the cache key and are automatically included in requests that
-- CloudFront sends to the origin.
--
newCachePolicyQueryStringsConfig :: CachePolicyQueryStringBehavior -> CachePolicyQueryStringsConfig
-- | Contains the specific query strings in viewer requests that either
-- are or are not included in the cache key
-- and automatically included in requests that CloudFront sends to the
-- origin. The behavior depends on whether the
-- QueryStringBehavior field in the
-- CachePolicyQueryStringsConfig type is set to
-- whitelist (the listed query strings are
-- included) or allExcept (the listed query strings are
-- not included, but all other query strings are).
cachePolicyQueryStringsConfig_queryStrings :: Lens' CachePolicyQueryStringsConfig (Maybe QueryStringNames)
-- | Determines whether any URL query strings in viewer requests are
-- included in the cache key and automatically included in requests that
-- CloudFront sends to the origin. Valid values are:
--
--
-- - none – Query strings in viewer requests are not included
-- in the cache key and are not automatically included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any query strings that are listed in an
-- OriginRequestPolicy are included in origin
-- requests.
-- - whitelist – The query strings in viewer requests that are
-- listed in the QueryStringNames type are included in the cache
-- key and automatically included in requests that CloudFront sends to
-- the origin.
-- - allExcept – All query strings in viewer requests that are
-- not listed in the QueryStringNames type are
-- included in the cache key and automatically included in requests that
-- CloudFront sends to the origin.
-- - all – All query strings in viewer requests are included
-- in the cache key and are automatically included in requests that
-- CloudFront sends to the origin.
--
cachePolicyQueryStringsConfig_queryStringBehavior :: Lens' CachePolicyQueryStringsConfig CachePolicyQueryStringBehavior
-- | Contains a cache policy.
--
-- See: newCachePolicySummary smart constructor.
data CachePolicySummary
CachePolicySummary' :: CachePolicyType -> CachePolicy -> CachePolicySummary
-- | The type of cache policy, either managed (created by Amazon
-- Web Services) or custom (created in this Amazon Web Services
-- account).
[$sel:type':CachePolicySummary'] :: CachePolicySummary -> CachePolicyType
-- | The cache policy.
[$sel:cachePolicy:CachePolicySummary'] :: CachePolicySummary -> CachePolicy
-- | Create a value of CachePolicySummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':CachePolicySummary', cachePolicySummary_type
-- - The type of cache policy, either managed (created by Amazon
-- Web Services) or custom (created in this Amazon Web Services
-- account).
--
-- $sel:cachePolicy:CachePolicySummary',
-- cachePolicySummary_cachePolicy - The cache policy.
newCachePolicySummary :: CachePolicyType -> CachePolicy -> CachePolicySummary
-- | The type of cache policy, either managed (created by Amazon
-- Web Services) or custom (created in this Amazon Web Services
-- account).
cachePolicySummary_type :: Lens' CachePolicySummary CachePolicyType
-- | The cache policy.
cachePolicySummary_cachePolicy :: Lens' CachePolicySummary CachePolicy
-- | A complex type that controls whether CloudFront caches the response to
-- requests using the specified HTTP methods. There are two choices:
--
--
-- - CloudFront caches responses to GET and HEAD
-- requests.
-- - CloudFront caches responses to GET, HEAD, and
-- OPTIONS requests.
--
--
-- If you pick the second choice for your Amazon S3 Origin, you may need
-- to forward Access-Control-Request-Method,
-- Access-Control-Request-Headers, and Origin headers for the responses
-- to be cached correctly.
--
-- See: newCachedMethods smart constructor.
data CachedMethods
CachedMethods' :: Int -> [Method] -> CachedMethods
-- | The number of HTTP methods for which you want CloudFront to cache
-- responses. Valid values are 2 (for caching responses to
-- GET and HEAD requests) and 3 (for caching
-- responses to GET, HEAD, and OPTIONS
-- requests).
[$sel:quantity:CachedMethods'] :: CachedMethods -> Int
-- | A complex type that contains the HTTP methods that you want CloudFront
-- to cache responses to.
[$sel:items:CachedMethods'] :: CachedMethods -> [Method]
-- | Create a value of CachedMethods with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:CachedMethods', cachedMethods_quantity -
-- The number of HTTP methods for which you want CloudFront to cache
-- responses. Valid values are 2 (for caching responses to
-- GET and HEAD requests) and 3 (for caching
-- responses to GET, HEAD, and OPTIONS
-- requests).
--
-- $sel:items:CachedMethods', cachedMethods_items - A
-- complex type that contains the HTTP methods that you want CloudFront
-- to cache responses to.
newCachedMethods :: Int -> CachedMethods
-- | The number of HTTP methods for which you want CloudFront to cache
-- responses. Valid values are 2 (for caching responses to
-- GET and HEAD requests) and 3 (for caching
-- responses to GET, HEAD, and OPTIONS
-- requests).
cachedMethods_quantity :: Lens' CachedMethods Int
-- | A complex type that contains the HTTP methods that you want CloudFront
-- to cache responses to.
cachedMethods_items :: Lens' CachedMethods [Method]
-- | CloudFront origin access identity.
--
-- See: newCloudFrontOriginAccessIdentity smart
-- constructor.
data CloudFrontOriginAccessIdentity
CloudFrontOriginAccessIdentity' :: Maybe CloudFrontOriginAccessIdentityConfig -> Text -> Text -> CloudFrontOriginAccessIdentity
-- | The current configuration information for the identity.
[$sel:cloudFrontOriginAccessIdentityConfig:CloudFrontOriginAccessIdentity'] :: CloudFrontOriginAccessIdentity -> Maybe CloudFrontOriginAccessIdentityConfig
-- | The ID for the origin access identity, for example,
-- E74FTE3AJFJ256A.
[$sel:id:CloudFrontOriginAccessIdentity'] :: CloudFrontOriginAccessIdentity -> Text
-- | The Amazon S3 canonical user ID for the origin access identity, used
-- when giving the origin access identity read permission to an object in
-- Amazon S3.
[$sel:s3CanonicalUserId:CloudFrontOriginAccessIdentity'] :: CloudFrontOriginAccessIdentity -> Text
-- | Create a value of CloudFrontOriginAccessIdentity with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:cloudFrontOriginAccessIdentityConfig:CloudFrontOriginAccessIdentity',
-- cloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig
-- - The current configuration information for the identity.
--
-- $sel:id:CloudFrontOriginAccessIdentity',
-- cloudFrontOriginAccessIdentity_id - The ID for the origin
-- access identity, for example, E74FTE3AJFJ256A.
--
-- $sel:s3CanonicalUserId:CloudFrontOriginAccessIdentity',
-- cloudFrontOriginAccessIdentity_s3CanonicalUserId - The Amazon
-- S3 canonical user ID for the origin access identity, used when giving
-- the origin access identity read permission to an object in Amazon S3.
newCloudFrontOriginAccessIdentity :: Text -> Text -> CloudFrontOriginAccessIdentity
-- | The current configuration information for the identity.
cloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig :: Lens' CloudFrontOriginAccessIdentity (Maybe CloudFrontOriginAccessIdentityConfig)
-- | The ID for the origin access identity, for example,
-- E74FTE3AJFJ256A.
cloudFrontOriginAccessIdentity_id :: Lens' CloudFrontOriginAccessIdentity Text
-- | The Amazon S3 canonical user ID for the origin access identity, used
-- when giving the origin access identity read permission to an object in
-- Amazon S3.
cloudFrontOriginAccessIdentity_s3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentity Text
-- | Origin access identity configuration. Send a GET request to
-- the /CloudFront API
-- version/CloudFront/identity ID/config resource.
--
-- See: newCloudFrontOriginAccessIdentityConfig smart
-- constructor.
data CloudFrontOriginAccessIdentityConfig
CloudFrontOriginAccessIdentityConfig' :: Text -> Text -> CloudFrontOriginAccessIdentityConfig
-- | A unique value (for example, a date-time stamp) that ensures that the
-- request can't be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the CloudFrontOriginAccessIdentityConfig object),
-- a new origin access identity is created.
--
-- If the CallerReference is a value already sent in a previous
-- identity request, and the content of the
-- CloudFrontOriginAccessIdentityConfig is identical to the
-- original request (ignoring white space), the response includes the
-- same information returned to the original request.
--
-- If the CallerReference is a value you already sent in a
-- previous request to create an identity, but the content of the
-- CloudFrontOriginAccessIdentityConfig is different from the
-- original request, CloudFront returns a
-- CloudFrontOriginAccessIdentityAlreadyExists error.
[$sel:callerReference:CloudFrontOriginAccessIdentityConfig'] :: CloudFrontOriginAccessIdentityConfig -> Text
-- | A comment to describe the origin access identity. The comment cannot
-- be longer than 128 characters.
[$sel:comment:CloudFrontOriginAccessIdentityConfig'] :: CloudFrontOriginAccessIdentityConfig -> Text
-- | Create a value of CloudFrontOriginAccessIdentityConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:callerReference:CloudFrontOriginAccessIdentityConfig',
-- cloudFrontOriginAccessIdentityConfig_callerReference - A unique
-- value (for example, a date-time stamp) that ensures that the request
-- can't be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the CloudFrontOriginAccessIdentityConfig object),
-- a new origin access identity is created.
--
-- If the CallerReference is a value already sent in a previous
-- identity request, and the content of the
-- CloudFrontOriginAccessIdentityConfig is identical to the
-- original request (ignoring white space), the response includes the
-- same information returned to the original request.
--
-- If the CallerReference is a value you already sent in a
-- previous request to create an identity, but the content of the
-- CloudFrontOriginAccessIdentityConfig is different from the
-- original request, CloudFront returns a
-- CloudFrontOriginAccessIdentityAlreadyExists error.
--
-- $sel:comment:CloudFrontOriginAccessIdentityConfig',
-- cloudFrontOriginAccessIdentityConfig_comment - A comment to
-- describe the origin access identity. The comment cannot be longer than
-- 128 characters.
newCloudFrontOriginAccessIdentityConfig :: Text -> Text -> CloudFrontOriginAccessIdentityConfig
-- | A unique value (for example, a date-time stamp) that ensures that the
-- request can't be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the CloudFrontOriginAccessIdentityConfig object),
-- a new origin access identity is created.
--
-- If the CallerReference is a value already sent in a previous
-- identity request, and the content of the
-- CloudFrontOriginAccessIdentityConfig is identical to the
-- original request (ignoring white space), the response includes the
-- same information returned to the original request.
--
-- If the CallerReference is a value you already sent in a
-- previous request to create an identity, but the content of the
-- CloudFrontOriginAccessIdentityConfig is different from the
-- original request, CloudFront returns a
-- CloudFrontOriginAccessIdentityAlreadyExists error.
cloudFrontOriginAccessIdentityConfig_callerReference :: Lens' CloudFrontOriginAccessIdentityConfig Text
-- | A comment to describe the origin access identity. The comment cannot
-- be longer than 128 characters.
cloudFrontOriginAccessIdentityConfig_comment :: Lens' CloudFrontOriginAccessIdentityConfig Text
-- | Lists the origin access identities for CloudFront.Send a GET
-- request to the /CloudFront API
-- version/origin-access-identity/cloudfront resource.
-- The response includes a CloudFrontOriginAccessIdentityList
-- element with zero or more
-- CloudFrontOriginAccessIdentitySummary child elements. By
-- default, your entire list of origin access identities is returned in
-- one single page. If the list is long, you can paginate it using the
-- MaxItems and Marker parameters.
--
-- See: newCloudFrontOriginAccessIdentityList smart
-- constructor.
data CloudFrontOriginAccessIdentityList
CloudFrontOriginAccessIdentityList' :: Maybe [CloudFrontOriginAccessIdentitySummary] -> Maybe Text -> Text -> Int -> Bool -> Int -> CloudFrontOriginAccessIdentityList
-- | A complex type that contains one
-- CloudFrontOriginAccessIdentitySummary element for each origin
-- access identity that was created by the current Amazon Web Services
-- account.
[$sel:items:CloudFrontOriginAccessIdentityList'] :: CloudFrontOriginAccessIdentityList -> Maybe [CloudFrontOriginAccessIdentitySummary]
-- | 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.
[$sel:nextMarker:CloudFrontOriginAccessIdentityList'] :: CloudFrontOriginAccessIdentityList -> Maybe Text
-- | Use this when paginating results to indicate where to begin in your
-- list of origin access identities. The results include identities in
-- the list that occur after the marker. To get the next page of results,
-- set the Marker to the value of the NextMarker from
-- the current page's response (which is also the ID of the last identity
-- on that page).
[$sel:marker:CloudFrontOriginAccessIdentityList'] :: CloudFrontOriginAccessIdentityList -> Text
-- | The maximum number of origin access identities you want in the
-- response body.
[$sel:maxItems:CloudFrontOriginAccessIdentityList'] :: CloudFrontOriginAccessIdentityList -> Int
-- | 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.
[$sel:isTruncated:CloudFrontOriginAccessIdentityList'] :: CloudFrontOriginAccessIdentityList -> Bool
-- | The number of CloudFront origin access identities that were created by
-- the current Amazon Web Services account.
[$sel:quantity:CloudFrontOriginAccessIdentityList'] :: CloudFrontOriginAccessIdentityList -> Int
-- | Create a value of CloudFrontOriginAccessIdentityList with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:CloudFrontOriginAccessIdentityList',
-- cloudFrontOriginAccessIdentityList_items - A complex type that
-- contains one CloudFrontOriginAccessIdentitySummary element
-- for each origin access identity that was created by the current Amazon
-- Web Services account.
--
-- $sel:nextMarker:CloudFrontOriginAccessIdentityList',
-- cloudFrontOriginAccessIdentityList_nextMarker - 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.
--
-- $sel:marker:CloudFrontOriginAccessIdentityList',
-- cloudFrontOriginAccessIdentityList_marker - 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).
--
-- $sel:maxItems:CloudFrontOriginAccessIdentityList',
-- cloudFrontOriginAccessIdentityList_maxItems - The maximum
-- number of origin access identities you want in the response body.
--
-- $sel:isTruncated:CloudFrontOriginAccessIdentityList',
-- cloudFrontOriginAccessIdentityList_isTruncated - 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.
--
-- $sel:quantity:CloudFrontOriginAccessIdentityList',
-- cloudFrontOriginAccessIdentityList_quantity - The number of
-- CloudFront origin access identities that were created by the current
-- Amazon Web Services account.
newCloudFrontOriginAccessIdentityList :: Text -> Int -> Bool -> Int -> CloudFrontOriginAccessIdentityList
-- | A complex type that contains one
-- CloudFrontOriginAccessIdentitySummary element for each origin
-- access identity that was created by the current Amazon Web Services
-- account.
cloudFrontOriginAccessIdentityList_items :: Lens' CloudFrontOriginAccessIdentityList (Maybe [CloudFrontOriginAccessIdentitySummary])
-- | 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.
cloudFrontOriginAccessIdentityList_nextMarker :: Lens' CloudFrontOriginAccessIdentityList (Maybe Text)
-- | Use this when paginating results to indicate where to begin in your
-- list of origin access identities. The results include identities in
-- the list that occur after the marker. To get the next page of results,
-- set the Marker to the value of the NextMarker from
-- the current page's response (which is also the ID of the last identity
-- on that page).
cloudFrontOriginAccessIdentityList_marker :: Lens' CloudFrontOriginAccessIdentityList Text
-- | The maximum number of origin access identities you want in the
-- response body.
cloudFrontOriginAccessIdentityList_maxItems :: Lens' CloudFrontOriginAccessIdentityList Int
-- | 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.
cloudFrontOriginAccessIdentityList_isTruncated :: Lens' CloudFrontOriginAccessIdentityList Bool
-- | The number of CloudFront origin access identities that were created by
-- the current Amazon Web Services account.
cloudFrontOriginAccessIdentityList_quantity :: Lens' CloudFrontOriginAccessIdentityList Int
-- | Summary of the information about a CloudFront origin access identity.
--
-- See: newCloudFrontOriginAccessIdentitySummary smart
-- constructor.
data CloudFrontOriginAccessIdentitySummary
CloudFrontOriginAccessIdentitySummary' :: Text -> Text -> Text -> CloudFrontOriginAccessIdentitySummary
-- | The ID for the origin access identity. For example:
-- E74FTE3AJFJ256A.
[$sel:id:CloudFrontOriginAccessIdentitySummary'] :: 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.
[$sel:s3CanonicalUserId:CloudFrontOriginAccessIdentitySummary'] :: CloudFrontOriginAccessIdentitySummary -> Text
-- | The comment for this origin access identity, as originally specified
-- when created.
[$sel:comment:CloudFrontOriginAccessIdentitySummary'] :: CloudFrontOriginAccessIdentitySummary -> Text
-- | Create a value of CloudFrontOriginAccessIdentitySummary with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:CloudFrontOriginAccessIdentitySummary',
-- cloudFrontOriginAccessIdentitySummary_id - The ID for the
-- origin access identity. For example: E74FTE3AJFJ256A.
--
-- $sel:s3CanonicalUserId:CloudFrontOriginAccessIdentitySummary',
-- cloudFrontOriginAccessIdentitySummary_s3CanonicalUserId - 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.
--
-- $sel:comment:CloudFrontOriginAccessIdentitySummary',
-- cloudFrontOriginAccessIdentitySummary_comment - The comment for
-- this origin access identity, as originally specified when created.
newCloudFrontOriginAccessIdentitySummary :: Text -> Text -> Text -> CloudFrontOriginAccessIdentitySummary
-- | The ID for the origin access identity. For example:
-- E74FTE3AJFJ256A.
cloudFrontOriginAccessIdentitySummary_id :: 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.
cloudFrontOriginAccessIdentitySummary_s3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentitySummary Text
-- | The comment for this origin access identity, as originally specified
-- when created.
cloudFrontOriginAccessIdentitySummary_comment :: Lens' CloudFrontOriginAccessIdentitySummary Text
-- | An alias (also called a CNAME) and the CloudFront distribution and
-- Amazon Web Services account ID that it's associated with. The
-- distribution and account IDs are partially hidden, which allows you to
-- identify the distributions and accounts that you own, but helps to
-- protect the information of ones that you don't own.
--
-- See: newConflictingAlias smart constructor.
data ConflictingAlias
ConflictingAlias' :: Maybe Text -> Maybe Text -> Maybe Text -> ConflictingAlias
-- | The (partially hidden) ID of the Amazon Web Services account that owns
-- the distribution that's associated with the alias.
[$sel:accountId:ConflictingAlias'] :: ConflictingAlias -> Maybe Text
-- | An alias (also called a CNAME).
[$sel:alias:ConflictingAlias'] :: ConflictingAlias -> Maybe Text
-- | The (partially hidden) ID of the CloudFront distribution associated
-- with the alias.
[$sel:distributionId:ConflictingAlias'] :: ConflictingAlias -> Maybe Text
-- | Create a value of ConflictingAlias with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountId:ConflictingAlias',
-- conflictingAlias_accountId - The (partially hidden) ID of the
-- Amazon Web Services account that owns the distribution that's
-- associated with the alias.
--
-- $sel:alias:ConflictingAlias', conflictingAlias_alias -
-- An alias (also called a CNAME).
--
-- $sel:distributionId:ConflictingAlias',
-- conflictingAlias_distributionId - The (partially hidden) ID of
-- the CloudFront distribution associated with the alias.
newConflictingAlias :: ConflictingAlias
-- | The (partially hidden) ID of the Amazon Web Services account that owns
-- the distribution that's associated with the alias.
conflictingAlias_accountId :: Lens' ConflictingAlias (Maybe Text)
-- | An alias (also called a CNAME).
conflictingAlias_alias :: Lens' ConflictingAlias (Maybe Text)
-- | The (partially hidden) ID of the CloudFront distribution associated
-- with the alias.
conflictingAlias_distributionId :: Lens' ConflictingAlias (Maybe Text)
-- | A list of aliases (also called CNAMEs) and the CloudFront
-- distributions and Amazon Web Services accounts that they are
-- associated with. In the list, the distribution and account IDs are
-- partially hidden, which allows you to identify the distributions and
-- accounts that you own, but helps to protect the information of ones
-- that you don't own.
--
-- See: newConflictingAliasesList smart constructor.
data ConflictingAliasesList
ConflictingAliasesList' :: Maybe [ConflictingAlias] -> Maybe Int -> Maybe Text -> Maybe Int -> ConflictingAliasesList
-- | Contains the conflicting aliases in the list.
[$sel:items:ConflictingAliasesList'] :: ConflictingAliasesList -> Maybe [ConflictingAlias]
-- | The maximum number of conflicting aliases requested.
[$sel:maxItems:ConflictingAliasesList'] :: ConflictingAliasesList -> Maybe Int
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- conflicting aliases where you left off.
[$sel:nextMarker:ConflictingAliasesList'] :: ConflictingAliasesList -> Maybe Text
-- | The number of conflicting aliases returned in the response.
[$sel:quantity:ConflictingAliasesList'] :: ConflictingAliasesList -> Maybe Int
-- | Create a value of ConflictingAliasesList with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ConflictingAliasesList',
-- conflictingAliasesList_items - Contains the conflicting aliases
-- in the list.
--
-- $sel:maxItems:ConflictingAliasesList',
-- conflictingAliasesList_maxItems - The maximum number of
-- conflicting aliases requested.
--
-- $sel:nextMarker:ConflictingAliasesList',
-- conflictingAliasesList_nextMarker - If there are more items in
-- the list than are in this response, this element is present. It
-- contains the value that you should use in the Marker field of
-- a subsequent request to continue listing conflicting aliases where you
-- left off.
--
-- $sel:quantity:ConflictingAliasesList',
-- conflictingAliasesList_quantity - The number of conflicting
-- aliases returned in the response.
newConflictingAliasesList :: ConflictingAliasesList
-- | Contains the conflicting aliases in the list.
conflictingAliasesList_items :: Lens' ConflictingAliasesList (Maybe [ConflictingAlias])
-- | The maximum number of conflicting aliases requested.
conflictingAliasesList_maxItems :: Lens' ConflictingAliasesList (Maybe Int)
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- conflicting aliases where you left off.
conflictingAliasesList_nextMarker :: Lens' ConflictingAliasesList (Maybe Text)
-- | The number of conflicting aliases returned in the response.
conflictingAliasesList_quantity :: Lens' ConflictingAliasesList (Maybe Int)
-- | A field-level encryption content type profile.
--
-- See: newContentTypeProfile smart constructor.
data ContentTypeProfile
ContentTypeProfile' :: Maybe Text -> Format -> Text -> ContentTypeProfile
-- | The profile ID for a field-level encryption content type-profile
-- mapping.
[$sel:profileId:ContentTypeProfile'] :: ContentTypeProfile -> Maybe Text
-- | The format for a field-level encryption content type-profile mapping.
[$sel:format:ContentTypeProfile'] :: ContentTypeProfile -> Format
-- | The content type for a field-level encryption content type-profile
-- mapping.
[$sel:contentType:ContentTypeProfile'] :: ContentTypeProfile -> Text
-- | Create a value of ContentTypeProfile with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:profileId:ContentTypeProfile',
-- contentTypeProfile_profileId - The profile ID for a field-level
-- encryption content type-profile mapping.
--
-- $sel:format:ContentTypeProfile',
-- contentTypeProfile_format - The format for a field-level
-- encryption content type-profile mapping.
--
-- $sel:contentType:ContentTypeProfile',
-- contentTypeProfile_contentType - The content type for a
-- field-level encryption content type-profile mapping.
newContentTypeProfile :: Format -> Text -> ContentTypeProfile
-- | The profile ID for a field-level encryption content type-profile
-- mapping.
contentTypeProfile_profileId :: Lens' ContentTypeProfile (Maybe Text)
-- | The format for a field-level encryption content type-profile mapping.
contentTypeProfile_format :: Lens' ContentTypeProfile Format
-- | The content type for a field-level encryption content type-profile
-- mapping.
contentTypeProfile_contentType :: Lens' ContentTypeProfile Text
-- | The configuration for a field-level encryption content type-profile
-- mapping.
--
-- See: newContentTypeProfileConfig smart constructor.
data ContentTypeProfileConfig
ContentTypeProfileConfig' :: Maybe ContentTypeProfiles -> Bool -> ContentTypeProfileConfig
-- | The configuration for a field-level encryption content type-profile.
[$sel:contentTypeProfiles:ContentTypeProfileConfig'] :: ContentTypeProfileConfig -> Maybe ContentTypeProfiles
-- | The setting in a field-level encryption content type-profile mapping
-- that specifies what to do when an unknown content type is provided for
-- the profile. If true, content is forwarded without being encrypted
-- when the content type is unknown. If false (the default), an error is
-- returned when the content type is unknown.
[$sel:forwardWhenContentTypeIsUnknown:ContentTypeProfileConfig'] :: ContentTypeProfileConfig -> Bool
-- | Create a value of ContentTypeProfileConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:contentTypeProfiles:ContentTypeProfileConfig',
-- contentTypeProfileConfig_contentTypeProfiles - The
-- configuration for a field-level encryption content type-profile.
--
-- $sel:forwardWhenContentTypeIsUnknown:ContentTypeProfileConfig',
-- contentTypeProfileConfig_forwardWhenContentTypeIsUnknown - The
-- setting in a field-level encryption content type-profile mapping that
-- specifies what to do when an unknown content type is provided for the
-- profile. If true, content is forwarded without being encrypted when
-- the content type is unknown. If false (the default), an error is
-- returned when the content type is unknown.
newContentTypeProfileConfig :: Bool -> ContentTypeProfileConfig
-- | The configuration for a field-level encryption content type-profile.
contentTypeProfileConfig_contentTypeProfiles :: Lens' ContentTypeProfileConfig (Maybe ContentTypeProfiles)
-- | The setting in a field-level encryption content type-profile mapping
-- that specifies what to do when an unknown content type is provided for
-- the profile. If true, content is forwarded without being encrypted
-- when the content type is unknown. If false (the default), an error is
-- returned when the content type is unknown.
contentTypeProfileConfig_forwardWhenContentTypeIsUnknown :: Lens' ContentTypeProfileConfig Bool
-- | Field-level encryption content type-profile.
--
-- See: newContentTypeProfiles smart constructor.
data ContentTypeProfiles
ContentTypeProfiles' :: Maybe [ContentTypeProfile] -> Int -> ContentTypeProfiles
-- | Items in a field-level encryption content type-profile mapping.
[$sel:items:ContentTypeProfiles'] :: ContentTypeProfiles -> Maybe [ContentTypeProfile]
-- | The number of field-level encryption content type-profile mappings.
[$sel:quantity:ContentTypeProfiles'] :: ContentTypeProfiles -> Int
-- | Create a value of ContentTypeProfiles with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ContentTypeProfiles',
-- contentTypeProfiles_items - Items in a field-level encryption
-- content type-profile mapping.
--
-- $sel:quantity:ContentTypeProfiles',
-- contentTypeProfiles_quantity - The number of field-level
-- encryption content type-profile mappings.
newContentTypeProfiles :: Int -> ContentTypeProfiles
-- | Items in a field-level encryption content type-profile mapping.
contentTypeProfiles_items :: Lens' ContentTypeProfiles (Maybe [ContentTypeProfile])
-- | The number of field-level encryption content type-profile mappings.
contentTypeProfiles_quantity :: Lens' ContentTypeProfiles Int
-- | A continuous deployment policy.
--
-- See: newContinuousDeploymentPolicy smart constructor.
data ContinuousDeploymentPolicy
ContinuousDeploymentPolicy' :: Text -> ISO8601 -> ContinuousDeploymentPolicyConfig -> ContinuousDeploymentPolicy
-- | The identifier of the continuous deployment policy.
[$sel:id:ContinuousDeploymentPolicy'] :: ContinuousDeploymentPolicy -> Text
-- | The date and time the continuous deployment policy was last modified.
[$sel:lastModifiedTime:ContinuousDeploymentPolicy'] :: ContinuousDeploymentPolicy -> ISO8601
[$sel:continuousDeploymentPolicyConfig:ContinuousDeploymentPolicy'] :: ContinuousDeploymentPolicy -> ContinuousDeploymentPolicyConfig
-- | Create a value of ContinuousDeploymentPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:ContinuousDeploymentPolicy',
-- continuousDeploymentPolicy_id - The identifier of the
-- continuous deployment policy.
--
-- $sel:lastModifiedTime:ContinuousDeploymentPolicy',
-- continuousDeploymentPolicy_lastModifiedTime - The date and time
-- the continuous deployment policy was last modified.
--
--
-- $sel:continuousDeploymentPolicyConfig:ContinuousDeploymentPolicy',
-- continuousDeploymentPolicy_continuousDeploymentPolicyConfig -
-- Undocumented member.
newContinuousDeploymentPolicy :: Text -> UTCTime -> ContinuousDeploymentPolicyConfig -> ContinuousDeploymentPolicy
-- | The identifier of the continuous deployment policy.
continuousDeploymentPolicy_id :: Lens' ContinuousDeploymentPolicy Text
-- | The date and time the continuous deployment policy was last modified.
continuousDeploymentPolicy_lastModifiedTime :: Lens' ContinuousDeploymentPolicy UTCTime
-- | Undocumented member.
continuousDeploymentPolicy_continuousDeploymentPolicyConfig :: Lens' ContinuousDeploymentPolicy ContinuousDeploymentPolicyConfig
-- | Contains the configuration for a continuous deployment policy.
--
-- See: newContinuousDeploymentPolicyConfig smart
-- constructor.
data ContinuousDeploymentPolicyConfig
ContinuousDeploymentPolicyConfig' :: Maybe TrafficConfig -> StagingDistributionDnsNames -> Bool -> ContinuousDeploymentPolicyConfig
-- | Contains the parameters for routing production traffic from your
-- primary to staging distributions.
[$sel:trafficConfig:ContinuousDeploymentPolicyConfig'] :: ContinuousDeploymentPolicyConfig -> Maybe TrafficConfig
-- | The CloudFront domain name of the staging distribution. For example:
-- d111111abcdef8.cloudfront.net.
[$sel:stagingDistributionDnsNames:ContinuousDeploymentPolicyConfig'] :: ContinuousDeploymentPolicyConfig -> StagingDistributionDnsNames
-- | A Boolean that indicates whether this continuous deployment policy is
-- enabled (in effect). When this value is true, this policy is
-- enabled and in effect. When this value is false, this policy
-- is not enabled and has no effect.
[$sel:enabled:ContinuousDeploymentPolicyConfig'] :: ContinuousDeploymentPolicyConfig -> Bool
-- | Create a value of ContinuousDeploymentPolicyConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:trafficConfig:ContinuousDeploymentPolicyConfig',
-- continuousDeploymentPolicyConfig_trafficConfig - Contains the
-- parameters for routing production traffic from your primary to staging
-- distributions.
--
--
-- $sel:stagingDistributionDnsNames:ContinuousDeploymentPolicyConfig',
-- continuousDeploymentPolicyConfig_stagingDistributionDnsNames -
-- The CloudFront domain name of the staging distribution. For example:
-- d111111abcdef8.cloudfront.net.
--
-- $sel:enabled:ContinuousDeploymentPolicyConfig',
-- continuousDeploymentPolicyConfig_enabled - A Boolean that
-- indicates whether this continuous deployment policy is enabled (in
-- effect). When this value is true, this policy is enabled and
-- in effect. When this value is false, this policy is not
-- enabled and has no effect.
newContinuousDeploymentPolicyConfig :: StagingDistributionDnsNames -> Bool -> ContinuousDeploymentPolicyConfig
-- | Contains the parameters for routing production traffic from your
-- primary to staging distributions.
continuousDeploymentPolicyConfig_trafficConfig :: Lens' ContinuousDeploymentPolicyConfig (Maybe TrafficConfig)
-- | The CloudFront domain name of the staging distribution. For example:
-- d111111abcdef8.cloudfront.net.
continuousDeploymentPolicyConfig_stagingDistributionDnsNames :: Lens' ContinuousDeploymentPolicyConfig StagingDistributionDnsNames
-- | A Boolean that indicates whether this continuous deployment policy is
-- enabled (in effect). When this value is true, this policy is
-- enabled and in effect. When this value is false, this policy
-- is not enabled and has no effect.
continuousDeploymentPolicyConfig_enabled :: Lens' ContinuousDeploymentPolicyConfig Bool
-- | Contains a list of continuous deployment policies.
--
-- See: newContinuousDeploymentPolicyList smart
-- constructor.
data ContinuousDeploymentPolicyList
ContinuousDeploymentPolicyList' :: Maybe [ContinuousDeploymentPolicySummary] -> Maybe Text -> Int -> Int -> ContinuousDeploymentPolicyList
-- | A list of continuous deployment policy items.
[$sel:items:ContinuousDeploymentPolicyList'] :: ContinuousDeploymentPolicyList -> Maybe [ContinuousDeploymentPolicySummary]
-- | Indicates the next page of continuous deployment policies. To get the
-- next page of the list, use this value in the Marker field of
-- your request.
[$sel:nextMarker:ContinuousDeploymentPolicyList'] :: ContinuousDeploymentPolicyList -> Maybe Text
-- | The maximum number of continuous deployment policies that were
-- specified in your request.
[$sel:maxItems:ContinuousDeploymentPolicyList'] :: ContinuousDeploymentPolicyList -> Int
-- | The total number of continuous deployment policies in your Amazon Web
-- Services account, regardless of the MaxItems value.
[$sel:quantity:ContinuousDeploymentPolicyList'] :: ContinuousDeploymentPolicyList -> Int
-- | Create a value of ContinuousDeploymentPolicyList with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ContinuousDeploymentPolicyList',
-- continuousDeploymentPolicyList_items - A list of continuous
-- deployment policy items.
--
-- $sel:nextMarker:ContinuousDeploymentPolicyList',
-- continuousDeploymentPolicyList_nextMarker - Indicates the next
-- page of continuous deployment policies. To get the next page of the
-- list, use this value in the Marker field of your request.
--
-- $sel:maxItems:ContinuousDeploymentPolicyList',
-- continuousDeploymentPolicyList_maxItems - The maximum number of
-- continuous deployment policies that were specified in your request.
--
-- $sel:quantity:ContinuousDeploymentPolicyList',
-- continuousDeploymentPolicyList_quantity - The total number of
-- continuous deployment policies in your Amazon Web Services account,
-- regardless of the MaxItems value.
newContinuousDeploymentPolicyList :: Int -> Int -> ContinuousDeploymentPolicyList
-- | A list of continuous deployment policy items.
continuousDeploymentPolicyList_items :: Lens' ContinuousDeploymentPolicyList (Maybe [ContinuousDeploymentPolicySummary])
-- | Indicates the next page of continuous deployment policies. To get the
-- next page of the list, use this value in the Marker field of
-- your request.
continuousDeploymentPolicyList_nextMarker :: Lens' ContinuousDeploymentPolicyList (Maybe Text)
-- | The maximum number of continuous deployment policies that were
-- specified in your request.
continuousDeploymentPolicyList_maxItems :: Lens' ContinuousDeploymentPolicyList Int
-- | The total number of continuous deployment policies in your Amazon Web
-- Services account, regardless of the MaxItems value.
continuousDeploymentPolicyList_quantity :: Lens' ContinuousDeploymentPolicyList Int
-- | A summary of the information about your continuous deployment
-- policies.
--
-- See: newContinuousDeploymentPolicySummary smart
-- constructor.
data ContinuousDeploymentPolicySummary
ContinuousDeploymentPolicySummary' :: ContinuousDeploymentPolicy -> ContinuousDeploymentPolicySummary
-- | The continuous deployment policy.
[$sel:continuousDeploymentPolicy:ContinuousDeploymentPolicySummary'] :: ContinuousDeploymentPolicySummary -> ContinuousDeploymentPolicy
-- | Create a value of ContinuousDeploymentPolicySummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:continuousDeploymentPolicy:ContinuousDeploymentPolicySummary',
-- continuousDeploymentPolicySummary_continuousDeploymentPolicy -
-- The continuous deployment policy.
newContinuousDeploymentPolicySummary :: ContinuousDeploymentPolicy -> ContinuousDeploymentPolicySummary
-- | The continuous deployment policy.
continuousDeploymentPolicySummary_continuousDeploymentPolicy :: Lens' ContinuousDeploymentPolicySummary ContinuousDeploymentPolicy
-- | This configuration determines which HTTP requests are sent to the
-- staging distribution. If the HTTP request contains a header and value
-- that matches what you specify here, the request is sent to the staging
-- distribution. Otherwise the request is sent to the primary
-- distribution.
--
-- See: newContinuousDeploymentSingleHeaderConfig smart
-- constructor.
data ContinuousDeploymentSingleHeaderConfig
ContinuousDeploymentSingleHeaderConfig' :: Text -> Text -> ContinuousDeploymentSingleHeaderConfig
-- | The request header name that you want CloudFront to send to your
-- staging distribution. The header must contain the prefix
-- aws-cf-cd-.
[$sel:header:ContinuousDeploymentSingleHeaderConfig'] :: ContinuousDeploymentSingleHeaderConfig -> Text
-- | The request header value.
[$sel:value:ContinuousDeploymentSingleHeaderConfig'] :: ContinuousDeploymentSingleHeaderConfig -> Text
-- | Create a value of ContinuousDeploymentSingleHeaderConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:header:ContinuousDeploymentSingleHeaderConfig',
-- continuousDeploymentSingleHeaderConfig_header - The request
-- header name that you want CloudFront to send to your staging
-- distribution. The header must contain the prefix aws-cf-cd-.
--
-- $sel:value:ContinuousDeploymentSingleHeaderConfig',
-- continuousDeploymentSingleHeaderConfig_value - The request
-- header value.
newContinuousDeploymentSingleHeaderConfig :: Text -> Text -> ContinuousDeploymentSingleHeaderConfig
-- | The request header name that you want CloudFront to send to your
-- staging distribution. The header must contain the prefix
-- aws-cf-cd-.
continuousDeploymentSingleHeaderConfig_header :: Lens' ContinuousDeploymentSingleHeaderConfig Text
-- | The request header value.
continuousDeploymentSingleHeaderConfig_value :: Lens' ContinuousDeploymentSingleHeaderConfig Text
-- | Contains the percentage of traffic to send to a staging distribution.
--
-- See: newContinuousDeploymentSingleWeightConfig smart
-- constructor.
data ContinuousDeploymentSingleWeightConfig
ContinuousDeploymentSingleWeightConfig' :: Maybe SessionStickinessConfig -> Double -> ContinuousDeploymentSingleWeightConfig
[$sel:sessionStickinessConfig:ContinuousDeploymentSingleWeightConfig'] :: ContinuousDeploymentSingleWeightConfig -> Maybe SessionStickinessConfig
-- | The percentage of traffic to send to a staging distribution, expressed
-- as a decimal number between 0 and .15.
[$sel:weight:ContinuousDeploymentSingleWeightConfig'] :: ContinuousDeploymentSingleWeightConfig -> Double
-- | Create a value of ContinuousDeploymentSingleWeightConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:sessionStickinessConfig:ContinuousDeploymentSingleWeightConfig',
-- continuousDeploymentSingleWeightConfig_sessionStickinessConfig
-- - Undocumented member.
--
-- $sel:weight:ContinuousDeploymentSingleWeightConfig',
-- continuousDeploymentSingleWeightConfig_weight - The percentage
-- of traffic to send to a staging distribution, expressed as a decimal
-- number between 0 and .15.
newContinuousDeploymentSingleWeightConfig :: Double -> ContinuousDeploymentSingleWeightConfig
-- | Undocumented member.
continuousDeploymentSingleWeightConfig_sessionStickinessConfig :: Lens' ContinuousDeploymentSingleWeightConfig (Maybe SessionStickinessConfig)
-- | The percentage of traffic to send to a staging distribution, expressed
-- as a decimal number between 0 and .15.
continuousDeploymentSingleWeightConfig_weight :: Lens' ContinuousDeploymentSingleWeightConfig Double
-- | Contains a list of cookie names.
--
-- See: newCookieNames smart constructor.
data CookieNames
CookieNames' :: Maybe [Text] -> Int -> CookieNames
-- | A list of cookie names.
[$sel:items:CookieNames'] :: CookieNames -> Maybe [Text]
-- | The number of cookie names in the Items list.
[$sel:quantity:CookieNames'] :: CookieNames -> Int
-- | Create a value of CookieNames with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:CookieNames', cookieNames_items - A list of
-- cookie names.
--
-- $sel:quantity:CookieNames', cookieNames_quantity - The
-- number of cookie names in the Items list.
newCookieNames :: Int -> CookieNames
-- | A list of cookie names.
cookieNames_items :: Lens' CookieNames (Maybe [Text])
-- | The number of cookie names in the Items list.
cookieNames_quantity :: Lens' CookieNames Int
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use
-- CookiesConfig in a cache policy. See CachePolicy.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use CookiesConfig in an origin request policy. See
-- OriginRequestPolicy.
--
-- A complex type that specifies whether you want CloudFront to forward
-- cookies to the origin and, if so, which ones. For more information
-- about forwarding cookies to the origin, see Caching Content Based
-- on Cookies in the Amazon CloudFront Developer Guide.
--
-- See: newCookiePreference smart constructor.
data CookiePreference
CookiePreference' :: Maybe CookieNames -> ItemSelection -> CookiePreference
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- Required if you specify whitelist for the value of
-- Forward. A complex type that specifies how many different
-- cookies you want CloudFront to forward to the origin for this cache
-- behavior and, if you want to forward selected cookies, the names of
-- those cookies.
--
-- If you specify all or none for the value of
-- Forward, omit WhitelistedNames. If you change the
-- value of Forward from whitelist to all or
-- none and you don't delete the WhitelistedNames
-- element and its child elements, CloudFront deletes them automatically.
--
-- For the current limit on the number of cookie names that you can
-- whitelist for each cache behavior, see CloudFront Limits in the
-- Amazon Web Services General Reference.
[$sel:whitelistedNames:CookiePreference'] :: CookiePreference -> Maybe CookieNames
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- Specifies which cookies to forward to the origin for this cache
-- behavior: all, none, or the list of cookies specified in the
-- WhitelistedNames complex type.
--
-- Amazon S3 doesn't process cookies. When the cache behavior is
-- forwarding requests to an Amazon S3 origin, specify none for the
-- Forward element.
[$sel:forward:CookiePreference'] :: CookiePreference -> ItemSelection
-- | Create a value of CookiePreference with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:whitelistedNames:CookiePreference',
-- cookiePreference_whitelistedNames - This field is deprecated.
-- We recommend that you use a cache policy or an origin request policy
-- instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- Required if you specify whitelist for the value of
-- Forward. A complex type that specifies how many different
-- cookies you want CloudFront to forward to the origin for this cache
-- behavior and, if you want to forward selected cookies, the names of
-- those cookies.
--
-- If you specify all or none for the value of
-- Forward, omit WhitelistedNames. If you change the
-- value of Forward from whitelist to all or
-- none and you don't delete the WhitelistedNames
-- element and its child elements, CloudFront deletes them automatically.
--
-- For the current limit on the number of cookie names that you can
-- whitelist for each cache behavior, see CloudFront Limits in the
-- Amazon Web Services General Reference.
--
-- $sel:forward:CookiePreference', cookiePreference_forward
-- - This field is deprecated. We recommend that you use a cache policy
-- or an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- Specifies which cookies to forward to the origin for this cache
-- behavior: all, none, or the list of cookies specified in the
-- WhitelistedNames complex type.
--
-- Amazon S3 doesn't process cookies. When the cache behavior is
-- forwarding requests to an Amazon S3 origin, specify none for the
-- Forward element.
newCookiePreference :: ItemSelection -> CookiePreference
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- Required if you specify whitelist for the value of
-- Forward. A complex type that specifies how many different
-- cookies you want CloudFront to forward to the origin for this cache
-- behavior and, if you want to forward selected cookies, the names of
-- those cookies.
--
-- If you specify all or none for the value of
-- Forward, omit WhitelistedNames. If you change the
-- value of Forward from whitelist to all or
-- none and you don't delete the WhitelistedNames
-- element and its child elements, CloudFront deletes them automatically.
--
-- For the current limit on the number of cookie names that you can
-- whitelist for each cache behavior, see CloudFront Limits in the
-- Amazon Web Services General Reference.
cookiePreference_whitelistedNames :: Lens' CookiePreference (Maybe CookieNames)
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- Specifies which cookies to forward to the origin for this cache
-- behavior: all, none, or the list of cookies specified in the
-- WhitelistedNames complex type.
--
-- Amazon S3 doesn't process cookies. When the cache behavior is
-- forwarding requests to an Amazon S3 origin, specify none for the
-- Forward element.
cookiePreference_forward :: Lens' CookiePreference ItemSelection
-- | A complex type that controls:
--
--
-- - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx
-- range with custom error messages before returning the response to the
-- viewer.
-- - How long CloudFront caches HTTP status codes in the 4xx and 5xx
-- range.
--
--
-- For more information about custom error pages, see Customizing
-- Error Responses in the Amazon CloudFront Developer Guide.
--
-- See: newCustomErrorResponse smart constructor.
data CustomErrorResponse
CustomErrorResponse' :: Maybe Integer -> Maybe Text -> Maybe Text -> Int -> CustomErrorResponse
-- | The minimum amount of time, in seconds, that you want CloudFront to
-- cache the HTTP status code specified in ErrorCode. When this
-- time period has elapsed, CloudFront queries your origin to see whether
-- the problem that caused the error has been resolved and the requested
-- object is now available.
--
-- For more information, see Customizing Error Responses in the
-- Amazon CloudFront Developer Guide.
[$sel:errorCachingMinTTL:CustomErrorResponse'] :: CustomErrorResponse -> Maybe Integer
-- | The HTTP status code that you want CloudFront to return to the viewer
-- along with the custom error page. There are a variety of reasons that
-- you might want CloudFront to return a status code different from the
-- status code that your origin returned to CloudFront, for example:
--
--
-- - Some Internet devices (some firewalls and corporate proxies, for
-- example) intercept HTTP 4xx and 5xx and prevent the response from
-- being returned to the viewer. If you substitute 200, the
-- response typically won't be intercepted.
-- - If you don't care about distinguishing among different client
-- errors or server errors, you can specify 400 or 500
-- as the ResponseCode for all 4xx or 5xx errors.
-- - You might want to return a 200 status code (OK) and
-- static website so your customers don't know that your website is
-- down.
--
--
-- If you specify a value for ResponseCode, you must also
-- specify a value for ResponsePagePath.
[$sel:responseCode:CustomErrorResponse'] :: CustomErrorResponse -> Maybe Text
-- | The path to the custom error page that you want CloudFront to return
-- to a viewer when your origin returns the HTTP status code specified by
-- ErrorCode, for example,
-- /4xx-errors/403-forbidden.html. If you want to store your
-- objects and your custom error pages in different locations, your
-- distribution must include a cache behavior for which the following is
-- true:
--
--
-- - The value of PathPattern matches the path to your custom
-- error messages. For example, suppose you saved custom error pages for
-- 4xx errors in an Amazon S3 bucket in a directory named
-- /4xx-errors. Your distribution must include a cache behavior
-- for which the path pattern routes requests for your custom error pages
-- to that location, for example, /4xx-errors/*.
-- - The value of TargetOriginId specifies the value of the
-- ID element for the origin that contains your custom error
-- pages.
--
--
-- If you specify a value for ResponsePagePath, you must also
-- specify a value for ResponseCode.
--
-- We recommend that you store custom error pages in an Amazon S3 bucket.
-- If you store custom error pages on an HTTP server and the server
-- starts to return 5xx errors, CloudFront can't get the files that you
-- want to return to viewers because the origin server is unavailable.
[$sel:responsePagePath:CustomErrorResponse'] :: CustomErrorResponse -> Maybe Text
-- | The HTTP status code for which you want to specify a custom error page
-- and/or a caching duration.
[$sel:errorCode:CustomErrorResponse'] :: CustomErrorResponse -> Int
-- | Create a value of CustomErrorResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:errorCachingMinTTL:CustomErrorResponse',
-- customErrorResponse_errorCachingMinTTL - The minimum amount of
-- time, in seconds, that you want CloudFront to cache the HTTP status
-- code specified in ErrorCode. When this time period has
-- elapsed, CloudFront queries your origin to see whether the problem
-- that caused the error has been resolved and the requested object is
-- now available.
--
-- For more information, see Customizing Error Responses in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:responseCode:CustomErrorResponse',
-- customErrorResponse_responseCode - The HTTP status code that
-- you want CloudFront to return to the viewer along with the custom
-- error page. There are a variety of reasons that you might want
-- CloudFront to return a status code different from the status code that
-- your origin returned to CloudFront, for example:
--
--
-- - Some Internet devices (some firewalls and corporate proxies, for
-- example) intercept HTTP 4xx and 5xx and prevent the response from
-- being returned to the viewer. If you substitute 200, the
-- response typically won't be intercepted.
-- - If you don't care about distinguishing among different client
-- errors or server errors, you can specify 400 or 500
-- as the ResponseCode for all 4xx or 5xx errors.
-- - You might want to return a 200 status code (OK) and
-- static website so your customers don't know that your website is
-- down.
--
--
-- If you specify a value for ResponseCode, you must also
-- specify a value for ResponsePagePath.
--
-- $sel:responsePagePath:CustomErrorResponse',
-- customErrorResponse_responsePagePath - The path to the custom
-- error page that you want CloudFront to return to a viewer when your
-- origin returns the HTTP status code specified by ErrorCode,
-- for example, /4xx-errors/403-forbidden.html. If you want to
-- store your objects and your custom error pages in different locations,
-- your distribution must include a cache behavior for which the
-- following is true:
--
--
-- - The value of PathPattern matches the path to your custom
-- error messages. For example, suppose you saved custom error pages for
-- 4xx errors in an Amazon S3 bucket in a directory named
-- /4xx-errors. Your distribution must include a cache behavior
-- for which the path pattern routes requests for your custom error pages
-- to that location, for example, /4xx-errors/*.
-- - The value of TargetOriginId specifies the value of the
-- ID element for the origin that contains your custom error
-- pages.
--
--
-- If you specify a value for ResponsePagePath, you must also
-- specify a value for ResponseCode.
--
-- We recommend that you store custom error pages in an Amazon S3 bucket.
-- If you store custom error pages on an HTTP server and the server
-- starts to return 5xx errors, CloudFront can't get the files that you
-- want to return to viewers because the origin server is unavailable.
--
-- $sel:errorCode:CustomErrorResponse',
-- customErrorResponse_errorCode - The HTTP status code for which
-- you want to specify a custom error page and/or a caching duration.
newCustomErrorResponse :: Int -> CustomErrorResponse
-- | The minimum amount of time, in seconds, that you want CloudFront to
-- cache the HTTP status code specified in ErrorCode. When this
-- time period has elapsed, CloudFront queries your origin to see whether
-- the problem that caused the error has been resolved and the requested
-- object is now available.
--
-- For more information, see Customizing Error Responses in the
-- Amazon CloudFront Developer Guide.
customErrorResponse_errorCachingMinTTL :: Lens' CustomErrorResponse (Maybe Integer)
-- | The HTTP status code that you want CloudFront to return to the viewer
-- along with the custom error page. There are a variety of reasons that
-- you might want CloudFront to return a status code different from the
-- status code that your origin returned to CloudFront, for example:
--
--
-- - Some Internet devices (some firewalls and corporate proxies, for
-- example) intercept HTTP 4xx and 5xx and prevent the response from
-- being returned to the viewer. If you substitute 200, the
-- response typically won't be intercepted.
-- - If you don't care about distinguishing among different client
-- errors or server errors, you can specify 400 or 500
-- as the ResponseCode for all 4xx or 5xx errors.
-- - You might want to return a 200 status code (OK) and
-- static website so your customers don't know that your website is
-- down.
--
--
-- If you specify a value for ResponseCode, you must also
-- specify a value for ResponsePagePath.
customErrorResponse_responseCode :: Lens' CustomErrorResponse (Maybe Text)
-- | The path to the custom error page that you want CloudFront to return
-- to a viewer when your origin returns the HTTP status code specified by
-- ErrorCode, for example,
-- /4xx-errors/403-forbidden.html. If you want to store your
-- objects and your custom error pages in different locations, your
-- distribution must include a cache behavior for which the following is
-- true:
--
--
-- - The value of PathPattern matches the path to your custom
-- error messages. For example, suppose you saved custom error pages for
-- 4xx errors in an Amazon S3 bucket in a directory named
-- /4xx-errors. Your distribution must include a cache behavior
-- for which the path pattern routes requests for your custom error pages
-- to that location, for example, /4xx-errors/*.
-- - The value of TargetOriginId specifies the value of the
-- ID element for the origin that contains your custom error
-- pages.
--
--
-- If you specify a value for ResponsePagePath, you must also
-- specify a value for ResponseCode.
--
-- We recommend that you store custom error pages in an Amazon S3 bucket.
-- If you store custom error pages on an HTTP server and the server
-- starts to return 5xx errors, CloudFront can't get the files that you
-- want to return to viewers because the origin server is unavailable.
customErrorResponse_responsePagePath :: Lens' CustomErrorResponse (Maybe Text)
-- | The HTTP status code for which you want to specify a custom error page
-- and/or a caching duration.
customErrorResponse_errorCode :: Lens' CustomErrorResponse Int
-- | A complex type that controls:
--
--
-- - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx
-- range with custom error messages before returning the response to the
-- viewer.
-- - How long CloudFront caches HTTP status codes in the 4xx and 5xx
-- range.
--
--
-- For more information about custom error pages, see Customizing
-- Error Responses in the Amazon CloudFront Developer Guide.
--
-- See: newCustomErrorResponses smart constructor.
data CustomErrorResponses
CustomErrorResponses' :: Maybe [CustomErrorResponse] -> Int -> CustomErrorResponses
-- | A complex type that contains a CustomErrorResponse element
-- for each HTTP status code for which you want to specify a custom error
-- page and/or a caching duration.
[$sel:items:CustomErrorResponses'] :: CustomErrorResponses -> Maybe [CustomErrorResponse]
-- | The number of HTTP status codes for which you want to specify a custom
-- error page and/or a caching duration. If Quantity is
-- 0, you can omit Items.
[$sel:quantity:CustomErrorResponses'] :: CustomErrorResponses -> Int
-- | Create a value of CustomErrorResponses with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:CustomErrorResponses',
-- customErrorResponses_items - A complex type that contains a
-- CustomErrorResponse element for each HTTP status code for
-- which you want to specify a custom error page and/or a caching
-- duration.
--
-- $sel:quantity:CustomErrorResponses',
-- customErrorResponses_quantity - The number of HTTP status codes
-- for which you want to specify a custom error page and/or a caching
-- duration. If Quantity is 0, you can omit
-- Items.
newCustomErrorResponses :: Int -> CustomErrorResponses
-- | A complex type that contains a CustomErrorResponse element
-- for each HTTP status code for which you want to specify a custom error
-- page and/or a caching duration.
customErrorResponses_items :: Lens' CustomErrorResponses (Maybe [CustomErrorResponse])
-- | The number of HTTP status codes for which you want to specify a custom
-- error page and/or a caching duration. If Quantity is
-- 0, you can omit Items.
customErrorResponses_quantity :: Lens' CustomErrorResponses Int
-- | A complex type that contains the list of Custom Headers for each
-- origin.
--
-- See: newCustomHeaders smart constructor.
data CustomHeaders
CustomHeaders' :: Maybe [OriginCustomHeader] -> Int -> CustomHeaders
-- | Optional: A list that contains one OriginCustomHeader
-- element for each custom header that you want CloudFront to forward to
-- the origin. If Quantity is 0, omit Items.
[$sel:items:CustomHeaders'] :: CustomHeaders -> Maybe [OriginCustomHeader]
-- | The number of custom headers, if any, for this distribution.
[$sel:quantity:CustomHeaders'] :: CustomHeaders -> Int
-- | Create a value of CustomHeaders with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:CustomHeaders', customHeaders_items -
-- Optional: A list that contains one OriginCustomHeader
-- element for each custom header that you want CloudFront to forward to
-- the origin. If Quantity is 0, omit Items.
--
-- $sel:quantity:CustomHeaders', customHeaders_quantity -
-- The number of custom headers, if any, for this distribution.
newCustomHeaders :: Int -> CustomHeaders
-- | Optional: A list that contains one OriginCustomHeader
-- element for each custom header that you want CloudFront to forward to
-- the origin. If Quantity is 0, omit Items.
customHeaders_items :: Lens' CustomHeaders (Maybe [OriginCustomHeader])
-- | The number of custom headers, if any, for this distribution.
customHeaders_quantity :: Lens' CustomHeaders Int
-- | A custom origin. A custom origin is any origin that is not an
-- Amazon S3 bucket, with one exception. An Amazon S3 bucket that is
-- configured with static website hosting is a custom
-- origin.
--
-- See: newCustomOriginConfig smart constructor.
data CustomOriginConfig
CustomOriginConfig' :: Maybe Int -> Maybe Int -> Maybe OriginSslProtocols -> Int -> Int -> OriginProtocolPolicy -> CustomOriginConfig
-- | Specifies how long, in seconds, CloudFront persists its connection to
-- the origin. The minimum timeout is 1 second, the maximum is 60
-- seconds, and the default (if you don't specify otherwise) is 5
-- seconds.
--
-- For more information, see Origin Keep-alive Timeout in the
-- Amazon CloudFront Developer Guide.
[$sel:originKeepaliveTimeout:CustomOriginConfig'] :: CustomOriginConfig -> Maybe Int
-- | Specifies how long, in seconds, CloudFront waits for a response from
-- the origin. This is also known as the origin response timeout.
-- The minimum timeout is 1 second, the maximum is 60 seconds, and the
-- default (if you don't specify otherwise) is 30 seconds.
--
-- For more information, see Origin Response Timeout in the
-- Amazon CloudFront Developer Guide.
[$sel:originReadTimeout:CustomOriginConfig'] :: CustomOriginConfig -> Maybe Int
-- | Specifies the minimum SSL/TLS protocol that CloudFront uses when
-- connecting to your origin over HTTPS. Valid values include
-- SSLv3, TLSv1, TLSv1.1, and
-- TLSv1.2.
--
-- For more information, see Minimum Origin SSL Protocol in the
-- Amazon CloudFront Developer Guide.
[$sel:originSslProtocols:CustomOriginConfig'] :: CustomOriginConfig -> Maybe OriginSslProtocols
-- | The HTTP port that CloudFront uses to connect to the origin. Specify
-- the HTTP port that the origin listens on.
[$sel:hTTPPort:CustomOriginConfig'] :: CustomOriginConfig -> Int
-- | The HTTPS port that CloudFront uses to connect to the origin. Specify
-- the HTTPS port that the origin listens on.
[$sel:hTTPSPort:CustomOriginConfig'] :: CustomOriginConfig -> Int
-- | Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect
-- to the origin. Valid values are:
--
--
-- - http-only – CloudFront always uses HTTP to connect to the
-- origin.
-- - match-viewer – CloudFront connects to the origin using
-- the same protocol that the viewer used to connect to CloudFront.
-- - https-only – CloudFront always uses HTTPS to connect to
-- the origin.
--
[$sel:originProtocolPolicy:CustomOriginConfig'] :: CustomOriginConfig -> OriginProtocolPolicy
-- | Create a value of CustomOriginConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:originKeepaliveTimeout:CustomOriginConfig',
-- customOriginConfig_originKeepaliveTimeout - Specifies how long,
-- in seconds, CloudFront persists its connection to the origin. The
-- minimum timeout is 1 second, the maximum is 60 seconds, and the
-- default (if you don't specify otherwise) is 5 seconds.
--
-- For more information, see Origin Keep-alive Timeout in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:originReadTimeout:CustomOriginConfig',
-- customOriginConfig_originReadTimeout - Specifies how long, in
-- seconds, CloudFront waits for a response from the origin. This is also
-- known as the origin response timeout. The minimum timeout is 1
-- second, the maximum is 60 seconds, and the default (if you don't
-- specify otherwise) is 30 seconds.
--
-- For more information, see Origin Response Timeout in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:originSslProtocols:CustomOriginConfig',
-- customOriginConfig_originSslProtocols - Specifies the minimum
-- SSL/TLS protocol that CloudFront uses when connecting to your origin
-- over HTTPS. Valid values include SSLv3, TLSv1,
-- TLSv1.1, and TLSv1.2.
--
-- For more information, see Minimum Origin SSL Protocol in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:hTTPPort:CustomOriginConfig',
-- customOriginConfig_hTTPPort - The HTTP port that CloudFront
-- uses to connect to the origin. Specify the HTTP port that the origin
-- listens on.
--
-- $sel:hTTPSPort:CustomOriginConfig',
-- customOriginConfig_hTTPSPort - The HTTPS port that CloudFront
-- uses to connect to the origin. Specify the HTTPS port that the origin
-- listens on.
--
-- $sel:originProtocolPolicy:CustomOriginConfig',
-- customOriginConfig_originProtocolPolicy - Specifies the
-- protocol (HTTP or HTTPS) that CloudFront uses to connect to the
-- origin. Valid values are:
--
--
-- - http-only – CloudFront always uses HTTP to connect to the
-- origin.
-- - match-viewer – CloudFront connects to the origin using
-- the same protocol that the viewer used to connect to CloudFront.
-- - https-only – CloudFront always uses HTTPS to connect to
-- the origin.
--
newCustomOriginConfig :: Int -> Int -> OriginProtocolPolicy -> CustomOriginConfig
-- | Specifies how long, in seconds, CloudFront persists its connection to
-- the origin. The minimum timeout is 1 second, the maximum is 60
-- seconds, and the default (if you don't specify otherwise) is 5
-- seconds.
--
-- For more information, see Origin Keep-alive Timeout in the
-- Amazon CloudFront Developer Guide.
customOriginConfig_originKeepaliveTimeout :: Lens' CustomOriginConfig (Maybe Int)
-- | Specifies how long, in seconds, CloudFront waits for a response from
-- the origin. This is also known as the origin response timeout.
-- The minimum timeout is 1 second, the maximum is 60 seconds, and the
-- default (if you don't specify otherwise) is 30 seconds.
--
-- For more information, see Origin Response Timeout in the
-- Amazon CloudFront Developer Guide.
customOriginConfig_originReadTimeout :: Lens' CustomOriginConfig (Maybe Int)
-- | Specifies the minimum SSL/TLS protocol that CloudFront uses when
-- connecting to your origin over HTTPS. Valid values include
-- SSLv3, TLSv1, TLSv1.1, and
-- TLSv1.2.
--
-- For more information, see Minimum Origin SSL Protocol in the
-- Amazon CloudFront Developer Guide.
customOriginConfig_originSslProtocols :: Lens' CustomOriginConfig (Maybe OriginSslProtocols)
-- | The HTTP port that CloudFront uses to connect to the origin. Specify
-- the HTTP port that the origin listens on.
customOriginConfig_hTTPPort :: Lens' CustomOriginConfig Int
-- | The HTTPS port that CloudFront uses to connect to the origin. Specify
-- the HTTPS port that the origin listens on.
customOriginConfig_hTTPSPort :: Lens' CustomOriginConfig Int
-- | Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect
-- to the origin. Valid values are:
--
--
-- - http-only – CloudFront always uses HTTP to connect to the
-- origin.
-- - match-viewer – CloudFront connects to the origin using
-- the same protocol that the viewer used to connect to CloudFront.
-- - https-only – CloudFront always uses HTTPS to connect to
-- the origin.
--
customOriginConfig_originProtocolPolicy :: Lens' CustomOriginConfig OriginProtocolPolicy
-- | A complex type that describes the default cache behavior if you don't
-- specify a CacheBehavior element or if request URLs don't
-- match any of the values of PathPattern in
-- CacheBehavior elements. You must create exactly one default
-- cache behavior.
--
-- See: newDefaultCacheBehavior smart constructor.
data DefaultCacheBehavior
DefaultCacheBehavior' :: Maybe AllowedMethods -> Maybe Text -> Maybe Bool -> Maybe Integer -> Maybe Text -> Maybe ForwardedValues -> Maybe FunctionAssociations -> Maybe LambdaFunctionAssociations -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe TrustedKeyGroups -> Maybe TrustedSigners -> Text -> ViewerProtocolPolicy -> DefaultCacheBehavior
[$sel:allowedMethods:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe AllowedMethods
-- | The unique identifier of the cache policy that is attached to the
-- default cache behavior. For more information, see Creating cache
-- policies or Using the managed cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- A DefaultCacheBehavior must include either a
-- CachePolicyId or ForwardedValues. We recommend that
-- you use a CachePolicyId.
[$sel:cachePolicyId:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Text
-- | Whether you want CloudFront to automatically compress certain files
-- for this cache behavior. If so, specify true; if not, specify
-- false. For more information, see Serving Compressed
-- Files in the Amazon CloudFront Developer Guide.
[$sel:compress:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Bool
-- | This field is deprecated. We recommend that you use the
-- DefaultTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The default amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin does not add HTTP headers such
-- as Cache-Control max-age, Cache-Control s-maxage,
-- and Expires to objects. For more information, see Managing
-- How Long Content Stays in an Edge Cache (Expiration) in the
-- Amazon CloudFront Developer Guide.
[$sel:defaultTTL:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Integer
-- | The value of ID for the field-level encryption configuration
-- that you want CloudFront to use for encrypting specific fields of data
-- for the default cache behavior.
[$sel:fieldLevelEncryptionId:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Text
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field. For more information,
-- see Working with policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to include values in the cache key, use a cache policy.
-- For more information, see Creating cache policies or Using
-- the managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to send values to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies or Using the managed origin
-- request policies in the Amazon CloudFront Developer Guide.
--
-- A DefaultCacheBehavior must include either a
-- CachePolicyId or ForwardedValues. We recommend that
-- you use a CachePolicyId.
--
-- A complex type that specifies how CloudFront handles query strings,
-- cookies, and HTTP headers.
[$sel:forwardedValues:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe ForwardedValues
-- | A list of CloudFront functions that are associated with this cache
-- behavior. CloudFront functions must be published to the LIVE
-- stage to associate them with a cache behavior.
[$sel:functionAssociations:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe FunctionAssociations
-- | A complex type that contains zero or more Lambda@Edge function
-- associations for a cache behavior.
[$sel:lambdaFunctionAssociations:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe LambdaFunctionAssociations
-- | This field is deprecated. We recommend that you use the
-- MaxTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The maximum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin adds HTTP headers such as
-- Cache-Control max-age, Cache-Control s-maxage, and
-- Expires to objects. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
[$sel:maxTTL:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Integer
-- | This field is deprecated. We recommend that you use the
-- MinTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The minimum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
--
-- You must specify 0 for MinTTL if you configure
-- CloudFront to forward all headers to your origin (under
-- Headers, if you specify 1 for Quantity and
-- * for Name).
[$sel:minTTL:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Integer
-- | The unique identifier of the origin request policy that is attached to
-- the default cache behavior. For more information, see Creating
-- origin request policies or Using the managed origin request
-- policies in the Amazon CloudFront Developer Guide.
[$sel:originRequestPolicyId:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Text
-- | The Amazon Resource Name (ARN) of the real-time log configuration that
-- is attached to this cache behavior. For more information, see
-- Real-time logs in the Amazon CloudFront Developer Guide.
[$sel:realtimeLogConfigArn:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Text
-- | The identifier for a response headers policy.
[$sel:responseHeadersPolicyId:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Text
-- | Indicates whether you want to distribute media files in the Microsoft
-- Smooth Streaming format using the origin that is associated with this
-- cache behavior. If so, specify true; if not, specify
-- false. If you specify true for
-- SmoothStreaming, you can still distribute other content using
-- this cache behavior if the content matches the value of
-- PathPattern.
[$sel:smoothStreaming:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe Bool
-- | A list of key groups that CloudFront can use to validate signed URLs
-- or signed cookies.
--
-- When a cache behavior contains trusted key groups, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with a private key whose
-- corresponding public key is in the key group. The signed URL or cookie
-- contains information about which public key CloudFront should use to
-- verify the signature. For more information, see Serving private
-- content in the Amazon CloudFront Developer Guide.
[$sel:trustedKeyGroups:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe TrustedKeyGroups
-- | We recommend using TrustedKeyGroups instead of
-- TrustedSigners.
--
-- A list of Amazon Web Services account IDs whose public keys CloudFront
-- can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted signers, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with the private key of a
-- CloudFront key pair in a trusted signer's Amazon Web Services account.
-- The signed URL or cookie contains information about which public key
-- CloudFront should use to verify the signature. For more information,
-- see Serving private content in the Amazon CloudFront
-- Developer Guide.
[$sel:trustedSigners:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Maybe TrustedSigners
-- | The value of ID for the origin that you want CloudFront to
-- route requests to when they use the default cache behavior.
[$sel:targetOriginId:DefaultCacheBehavior'] :: DefaultCacheBehavior -> Text
-- | The protocol that viewers can use to access the files in the origin
-- specified by TargetOriginId when a request matches the path
-- pattern in PathPattern. You can specify the following
-- options:
--
--
-- - allow-all: Viewers can use HTTP or HTTPS.
-- - redirect-to-https: If a viewer submits an HTTP request,
-- CloudFront returns an HTTP status code of 301 (Moved Permanently) to
-- the viewer along with the HTTPS URL. The viewer then resubmits the
-- request using the new URL.
-- - https-only: If a viewer sends an HTTP request, CloudFront
-- returns an HTTP status code of 403 (Forbidden).
--
--
-- For more information about requiring the HTTPS protocol, see
-- Requiring HTTPS Between Viewers and CloudFront in the Amazon
-- CloudFront Developer Guide.
--
-- The only way to guarantee that viewers retrieve an object that was
-- fetched from the origin using HTTPS is never to use any other protocol
-- to fetch the object. If you have recently changed from HTTP to HTTPS,
-- we recommend that you clear your objects' cache because cached objects
-- are protocol agnostic. That means that an edge location will return an
-- object from the cache regardless of whether the current request
-- protocol matches the protocol used previously. For more information,
-- see Managing Cache Expiration in the Amazon CloudFront
-- Developer Guide.
[$sel:viewerProtocolPolicy:DefaultCacheBehavior'] :: DefaultCacheBehavior -> ViewerProtocolPolicy
-- | Create a value of DefaultCacheBehavior with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:allowedMethods:DefaultCacheBehavior',
-- defaultCacheBehavior_allowedMethods - Undocumented member.
--
-- $sel:cachePolicyId:DefaultCacheBehavior',
-- defaultCacheBehavior_cachePolicyId - The unique identifier of
-- the cache policy that is attached to the default cache behavior. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- A DefaultCacheBehavior must include either a
-- CachePolicyId or ForwardedValues. We recommend that
-- you use a CachePolicyId.
--
-- $sel:compress:DefaultCacheBehavior',
-- defaultCacheBehavior_compress - Whether you want CloudFront to
-- automatically compress certain files for this cache behavior. If so,
-- specify true; if not, specify false. For more
-- information, see Serving Compressed Files in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:defaultTTL:DefaultCacheBehavior',
-- defaultCacheBehavior_defaultTTL - This field is deprecated. We
-- recommend that you use the DefaultTTL field in a cache policy
-- instead of this field. For more information, see Creating cache
-- policies or Using the managed cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- The default amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin does not add HTTP headers such
-- as Cache-Control max-age, Cache-Control s-maxage,
-- and Expires to objects. For more information, see Managing
-- How Long Content Stays in an Edge Cache (Expiration) in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:fieldLevelEncryptionId:DefaultCacheBehavior',
-- defaultCacheBehavior_fieldLevelEncryptionId - The value of
-- ID for the field-level encryption configuration that you want
-- CloudFront to use for encrypting specific fields of data for the
-- default cache behavior.
--
-- $sel:forwardedValues:DefaultCacheBehavior',
-- defaultCacheBehavior_forwardedValues - This field is
-- deprecated. We recommend that you use a cache policy or an origin
-- request policy instead of this field. For more information, see
-- Working with policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to include values in the cache key, use a cache policy.
-- For more information, see Creating cache policies or Using
-- the managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to send values to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies or Using the managed origin
-- request policies in the Amazon CloudFront Developer Guide.
--
-- A DefaultCacheBehavior must include either a
-- CachePolicyId or ForwardedValues. We recommend that
-- you use a CachePolicyId.
--
-- A complex type that specifies how CloudFront handles query strings,
-- cookies, and HTTP headers.
--
-- $sel:functionAssociations:DefaultCacheBehavior',
-- defaultCacheBehavior_functionAssociations - A list of
-- CloudFront functions that are associated with this cache behavior.
-- CloudFront functions must be published to the LIVE stage to
-- associate them with a cache behavior.
--
-- $sel:lambdaFunctionAssociations:DefaultCacheBehavior',
-- defaultCacheBehavior_lambdaFunctionAssociations - A complex
-- type that contains zero or more Lambda@Edge function associations for
-- a cache behavior.
--
-- $sel:maxTTL:DefaultCacheBehavior',
-- defaultCacheBehavior_maxTTL - This field is deprecated. We
-- recommend that you use the MaxTTL field in a cache policy
-- instead of this field. For more information, see Creating cache
-- policies or Using the managed cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- The maximum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin adds HTTP headers such as
-- Cache-Control max-age, Cache-Control s-maxage, and
-- Expires to objects. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:minTTL:DefaultCacheBehavior',
-- defaultCacheBehavior_minTTL - This field is deprecated. We
-- recommend that you use the MinTTL field in a cache policy
-- instead of this field. For more information, see Creating cache
-- policies or Using the managed cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- The minimum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
--
-- You must specify 0 for MinTTL if you configure
-- CloudFront to forward all headers to your origin (under
-- Headers, if you specify 1 for Quantity and
-- * for Name).
--
-- $sel:originRequestPolicyId:DefaultCacheBehavior',
-- defaultCacheBehavior_originRequestPolicyId - The unique
-- identifier of the origin request policy that is attached to the
-- default cache behavior. For more information, see Creating origin
-- request policies or Using the managed origin request
-- policies in the Amazon CloudFront Developer Guide.
--
-- $sel:realtimeLogConfigArn:DefaultCacheBehavior',
-- defaultCacheBehavior_realtimeLogConfigArn - The Amazon Resource
-- Name (ARN) of the real-time log configuration that is attached to this
-- cache behavior. For more information, see Real-time logs in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:responseHeadersPolicyId:DefaultCacheBehavior',
-- defaultCacheBehavior_responseHeadersPolicyId - The identifier
-- for a response headers policy.
--
-- $sel:smoothStreaming:DefaultCacheBehavior',
-- defaultCacheBehavior_smoothStreaming - Indicates whether you
-- want to distribute media files in the Microsoft Smooth Streaming
-- format using the origin that is associated with this cache behavior.
-- If so, specify true; if not, specify false. If you
-- specify true for SmoothStreaming, you can still
-- distribute other content using this cache behavior if the content
-- matches the value of PathPattern.
--
-- $sel:trustedKeyGroups:DefaultCacheBehavior',
-- defaultCacheBehavior_trustedKeyGroups - A list of key groups
-- that CloudFront can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted key groups, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with a private key whose
-- corresponding public key is in the key group. The signed URL or cookie
-- contains information about which public key CloudFront should use to
-- verify the signature. For more information, see Serving private
-- content in the Amazon CloudFront Developer Guide.
--
-- $sel:trustedSigners:DefaultCacheBehavior',
-- defaultCacheBehavior_trustedSigners - We recommend using
-- TrustedKeyGroups instead of TrustedSigners.
--
-- A list of Amazon Web Services account IDs whose public keys CloudFront
-- can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted signers, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with the private key of a
-- CloudFront key pair in a trusted signer's Amazon Web Services account.
-- The signed URL or cookie contains information about which public key
-- CloudFront should use to verify the signature. For more information,
-- see Serving private content in the Amazon CloudFront
-- Developer Guide.
--
-- $sel:targetOriginId:DefaultCacheBehavior',
-- defaultCacheBehavior_targetOriginId - The value of ID
-- for the origin that you want CloudFront to route requests to when they
-- use the default cache behavior.
--
-- $sel:viewerProtocolPolicy:DefaultCacheBehavior',
-- defaultCacheBehavior_viewerProtocolPolicy - The protocol that
-- viewers can use to access the files in the origin specified by
-- TargetOriginId when a request matches the path pattern in
-- PathPattern. You can specify the following options:
--
--
-- - allow-all: Viewers can use HTTP or HTTPS.
-- - redirect-to-https: If a viewer submits an HTTP request,
-- CloudFront returns an HTTP status code of 301 (Moved Permanently) to
-- the viewer along with the HTTPS URL. The viewer then resubmits the
-- request using the new URL.
-- - https-only: If a viewer sends an HTTP request, CloudFront
-- returns an HTTP status code of 403 (Forbidden).
--
--
-- For more information about requiring the HTTPS protocol, see
-- Requiring HTTPS Between Viewers and CloudFront in the Amazon
-- CloudFront Developer Guide.
--
-- The only way to guarantee that viewers retrieve an object that was
-- fetched from the origin using HTTPS is never to use any other protocol
-- to fetch the object. If you have recently changed from HTTP to HTTPS,
-- we recommend that you clear your objects' cache because cached objects
-- are protocol agnostic. That means that an edge location will return an
-- object from the cache regardless of whether the current request
-- protocol matches the protocol used previously. For more information,
-- see Managing Cache Expiration in the Amazon CloudFront
-- Developer Guide.
newDefaultCacheBehavior :: Text -> ViewerProtocolPolicy -> DefaultCacheBehavior
-- | Undocumented member.
defaultCacheBehavior_allowedMethods :: Lens' DefaultCacheBehavior (Maybe AllowedMethods)
-- | The unique identifier of the cache policy that is attached to the
-- default cache behavior. For more information, see Creating cache
-- policies or Using the managed cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- A DefaultCacheBehavior must include either a
-- CachePolicyId or ForwardedValues. We recommend that
-- you use a CachePolicyId.
defaultCacheBehavior_cachePolicyId :: Lens' DefaultCacheBehavior (Maybe Text)
-- | Whether you want CloudFront to automatically compress certain files
-- for this cache behavior. If so, specify true; if not, specify
-- false. For more information, see Serving Compressed
-- Files in the Amazon CloudFront Developer Guide.
defaultCacheBehavior_compress :: Lens' DefaultCacheBehavior (Maybe Bool)
-- | This field is deprecated. We recommend that you use the
-- DefaultTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The default amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin does not add HTTP headers such
-- as Cache-Control max-age, Cache-Control s-maxage,
-- and Expires to objects. For more information, see Managing
-- How Long Content Stays in an Edge Cache (Expiration) in the
-- Amazon CloudFront Developer Guide.
defaultCacheBehavior_defaultTTL :: Lens' DefaultCacheBehavior (Maybe Integer)
-- | The value of ID for the field-level encryption configuration
-- that you want CloudFront to use for encrypting specific fields of data
-- for the default cache behavior.
defaultCacheBehavior_fieldLevelEncryptionId :: Lens' DefaultCacheBehavior (Maybe Text)
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field. For more information,
-- see Working with policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to include values in the cache key, use a cache policy.
-- For more information, see Creating cache policies or Using
-- the managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to send values to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies or Using the managed origin
-- request policies in the Amazon CloudFront Developer Guide.
--
-- A DefaultCacheBehavior must include either a
-- CachePolicyId or ForwardedValues. We recommend that
-- you use a CachePolicyId.
--
-- A complex type that specifies how CloudFront handles query strings,
-- cookies, and HTTP headers.
defaultCacheBehavior_forwardedValues :: Lens' DefaultCacheBehavior (Maybe ForwardedValues)
-- | A list of CloudFront functions that are associated with this cache
-- behavior. CloudFront functions must be published to the LIVE
-- stage to associate them with a cache behavior.
defaultCacheBehavior_functionAssociations :: Lens' DefaultCacheBehavior (Maybe FunctionAssociations)
-- | A complex type that contains zero or more Lambda@Edge function
-- associations for a cache behavior.
defaultCacheBehavior_lambdaFunctionAssociations :: Lens' DefaultCacheBehavior (Maybe LambdaFunctionAssociations)
-- | This field is deprecated. We recommend that you use the
-- MaxTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The maximum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin adds HTTP headers such as
-- Cache-Control max-age, Cache-Control s-maxage, and
-- Expires to objects. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
defaultCacheBehavior_maxTTL :: Lens' DefaultCacheBehavior (Maybe Integer)
-- | This field is deprecated. We recommend that you use the
-- MinTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The minimum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
--
-- You must specify 0 for MinTTL if you configure
-- CloudFront to forward all headers to your origin (under
-- Headers, if you specify 1 for Quantity and
-- * for Name).
defaultCacheBehavior_minTTL :: Lens' DefaultCacheBehavior (Maybe Integer)
-- | The unique identifier of the origin request policy that is attached to
-- the default cache behavior. For more information, see Creating
-- origin request policies or Using the managed origin request
-- policies in the Amazon CloudFront Developer Guide.
defaultCacheBehavior_originRequestPolicyId :: Lens' DefaultCacheBehavior (Maybe Text)
-- | The Amazon Resource Name (ARN) of the real-time log configuration that
-- is attached to this cache behavior. For more information, see
-- Real-time logs in the Amazon CloudFront Developer Guide.
defaultCacheBehavior_realtimeLogConfigArn :: Lens' DefaultCacheBehavior (Maybe Text)
-- | The identifier for a response headers policy.
defaultCacheBehavior_responseHeadersPolicyId :: Lens' DefaultCacheBehavior (Maybe Text)
-- | Indicates whether you want to distribute media files in the Microsoft
-- Smooth Streaming format using the origin that is associated with this
-- cache behavior. If so, specify true; if not, specify
-- false. If you specify true for
-- SmoothStreaming, you can still distribute other content using
-- this cache behavior if the content matches the value of
-- PathPattern.
defaultCacheBehavior_smoothStreaming :: Lens' DefaultCacheBehavior (Maybe Bool)
-- | A list of key groups that CloudFront can use to validate signed URLs
-- or signed cookies.
--
-- When a cache behavior contains trusted key groups, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with a private key whose
-- corresponding public key is in the key group. The signed URL or cookie
-- contains information about which public key CloudFront should use to
-- verify the signature. For more information, see Serving private
-- content in the Amazon CloudFront Developer Guide.
defaultCacheBehavior_trustedKeyGroups :: Lens' DefaultCacheBehavior (Maybe TrustedKeyGroups)
-- | We recommend using TrustedKeyGroups instead of
-- TrustedSigners.
--
-- A list of Amazon Web Services account IDs whose public keys CloudFront
-- can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted signers, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with the private key of a
-- CloudFront key pair in a trusted signer's Amazon Web Services account.
-- The signed URL or cookie contains information about which public key
-- CloudFront should use to verify the signature. For more information,
-- see Serving private content in the Amazon CloudFront
-- Developer Guide.
defaultCacheBehavior_trustedSigners :: Lens' DefaultCacheBehavior (Maybe TrustedSigners)
-- | The value of ID for the origin that you want CloudFront to
-- route requests to when they use the default cache behavior.
defaultCacheBehavior_targetOriginId :: Lens' DefaultCacheBehavior Text
-- | The protocol that viewers can use to access the files in the origin
-- specified by TargetOriginId when a request matches the path
-- pattern in PathPattern. You can specify the following
-- options:
--
--
-- - allow-all: Viewers can use HTTP or HTTPS.
-- - redirect-to-https: If a viewer submits an HTTP request,
-- CloudFront returns an HTTP status code of 301 (Moved Permanently) to
-- the viewer along with the HTTPS URL. The viewer then resubmits the
-- request using the new URL.
-- - https-only: If a viewer sends an HTTP request, CloudFront
-- returns an HTTP status code of 403 (Forbidden).
--
--
-- For more information about requiring the HTTPS protocol, see
-- Requiring HTTPS Between Viewers and CloudFront in the Amazon
-- CloudFront Developer Guide.
--
-- The only way to guarantee that viewers retrieve an object that was
-- fetched from the origin using HTTPS is never to use any other protocol
-- to fetch the object. If you have recently changed from HTTP to HTTPS,
-- we recommend that you clear your objects' cache because cached objects
-- are protocol agnostic. That means that an edge location will return an
-- object from the cache regardless of whether the current request
-- protocol matches the protocol used previously. For more information,
-- see Managing Cache Expiration in the Amazon CloudFront
-- Developer Guide.
defaultCacheBehavior_viewerProtocolPolicy :: Lens' DefaultCacheBehavior ViewerProtocolPolicy
-- | A distribution tells CloudFront where you want content to be delivered
-- from, and the details about how to track and manage content delivery.
--
-- See: newDistribution smart constructor.
data Distribution
Distribution' :: Maybe ActiveTrustedKeyGroups -> Maybe ActiveTrustedSigners -> Maybe [AliasICPRecordal] -> Text -> Text -> Text -> ISO8601 -> Int -> Text -> DistributionConfig -> Distribution
-- | This field contains a list of key groups and the public keys in each
-- key group that CloudFront can use to verify the signatures of signed
-- URLs or signed cookies.
[$sel:activeTrustedKeyGroups:Distribution'] :: Distribution -> Maybe ActiveTrustedKeyGroups
-- | We recommend using TrustedKeyGroups instead of
-- TrustedSigners.
--
-- This field contains a list of Amazon Web Services account IDs and the
-- active CloudFront key pairs in each account that CloudFront can use to
-- verify the signatures of signed URLs or signed cookies.
[$sel:activeTrustedSigners:Distribution'] :: Distribution -> Maybe ActiveTrustedSigners
-- | Amazon Web Services services in China customers must file for an
-- Internet Content Provider (ICP) recordal if they want to serve content
-- publicly on an alternate domain name, also known as a CNAME, that
-- they've added to CloudFront. AliasICPRecordal provides the ICP
-- recordal status for CNAMEs associated with distributions.
--
-- For more information about ICP recordals, see Signup, Accounts, and
-- Credentials in Getting Started with Amazon Web Services
-- services in China.
[$sel:aliasICPRecordals:Distribution'] :: Distribution -> Maybe [AliasICPRecordal]
-- | The distribution's identifier. For example: E1U5RQF7T870K0.
[$sel:id:Distribution'] :: Distribution -> Text
-- | The distribution's Amazon Resource Name (ARN).
[$sel:arn:Distribution'] :: Distribution -> Text
-- | The distribution's status. When the status is Deployed, the
-- distribution's information is fully propagated to all CloudFront edge
-- locations.
[$sel:status:Distribution'] :: Distribution -> Text
-- | The date and time when the distribution was last modified.
[$sel:lastModifiedTime:Distribution'] :: Distribution -> ISO8601
-- | The number of invalidation batches currently in progress.
[$sel:inProgressInvalidationBatches:Distribution'] :: Distribution -> Int
-- | The distribution's CloudFront domain name. For example:
-- d111111abcdef8.cloudfront.net.
[$sel:domainName:Distribution'] :: Distribution -> Text
-- | The distribution's configuration.
[$sel:distributionConfig:Distribution'] :: Distribution -> DistributionConfig
-- | Create a value of Distribution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:activeTrustedKeyGroups:Distribution',
-- distribution_activeTrustedKeyGroups - This field contains a
-- list of key groups and the public keys in each key group that
-- CloudFront can use to verify the signatures of signed URLs or signed
-- cookies.
--
-- $sel:activeTrustedSigners:Distribution',
-- distribution_activeTrustedSigners - We recommend using
-- TrustedKeyGroups instead of TrustedSigners.
--
-- This field contains a list of Amazon Web Services account IDs and the
-- active CloudFront key pairs in each account that CloudFront can use to
-- verify the signatures of signed URLs or signed cookies.
--
-- $sel:aliasICPRecordals:Distribution',
-- distribution_aliasICPRecordals - Amazon Web Services services
-- in China customers must file for an Internet Content Provider (ICP)
-- recordal if they want to serve content publicly on an alternate domain
-- name, also known as a CNAME, that they've added to CloudFront.
-- AliasICPRecordal provides the ICP recordal status for CNAMEs
-- associated with distributions.
--
-- For more information about ICP recordals, see Signup, Accounts, and
-- Credentials in Getting Started with Amazon Web Services
-- services in China.
--
-- $sel:id:Distribution', distribution_id - The
-- distribution's identifier. For example: E1U5RQF7T870K0.
--
-- $sel:arn:Distribution', distribution_arn - The
-- distribution's Amazon Resource Name (ARN).
--
-- $sel:status:Distribution', distribution_status - The
-- distribution's status. When the status is Deployed, the
-- distribution's information is fully propagated to all CloudFront edge
-- locations.
--
-- $sel:lastModifiedTime:Distribution',
-- distribution_lastModifiedTime - The date and time when the
-- distribution was last modified.
--
-- $sel:inProgressInvalidationBatches:Distribution',
-- distribution_inProgressInvalidationBatches - The number of
-- invalidation batches currently in progress.
--
-- $sel:domainName:Distribution', distribution_domainName -
-- The distribution's CloudFront domain name. For example:
-- d111111abcdef8.cloudfront.net.
--
-- $sel:distributionConfig:Distribution',
-- distribution_distributionConfig - The distribution's
-- configuration.
newDistribution :: Text -> Text -> Text -> UTCTime -> Int -> Text -> DistributionConfig -> Distribution
-- | This field contains a list of key groups and the public keys in each
-- key group that CloudFront can use to verify the signatures of signed
-- URLs or signed cookies.
distribution_activeTrustedKeyGroups :: Lens' Distribution (Maybe ActiveTrustedKeyGroups)
-- | We recommend using TrustedKeyGroups instead of
-- TrustedSigners.
--
-- This field contains a list of Amazon Web Services account IDs and the
-- active CloudFront key pairs in each account that CloudFront can use to
-- verify the signatures of signed URLs or signed cookies.
distribution_activeTrustedSigners :: Lens' Distribution (Maybe ActiveTrustedSigners)
-- | Amazon Web Services services in China customers must file for an
-- Internet Content Provider (ICP) recordal if they want to serve content
-- publicly on an alternate domain name, also known as a CNAME, that
-- they've added to CloudFront. AliasICPRecordal provides the ICP
-- recordal status for CNAMEs associated with distributions.
--
-- For more information about ICP recordals, see Signup, Accounts, and
-- Credentials in Getting Started with Amazon Web Services
-- services in China.
distribution_aliasICPRecordals :: Lens' Distribution (Maybe [AliasICPRecordal])
-- | The distribution's identifier. For example: E1U5RQF7T870K0.
distribution_id :: Lens' Distribution Text
-- | The distribution's Amazon Resource Name (ARN).
distribution_arn :: Lens' Distribution Text
-- | The distribution's status. When the status is Deployed, the
-- distribution's information is fully propagated to all CloudFront edge
-- locations.
distribution_status :: Lens' Distribution Text
-- | The date and time when the distribution was last modified.
distribution_lastModifiedTime :: Lens' Distribution UTCTime
-- | The number of invalidation batches currently in progress.
distribution_inProgressInvalidationBatches :: Lens' Distribution Int
-- | The distribution's CloudFront domain name. For example:
-- d111111abcdef8.cloudfront.net.
distribution_domainName :: Lens' Distribution Text
-- | The distribution's configuration.
distribution_distributionConfig :: Lens' Distribution DistributionConfig
-- | A distribution configuration.
--
-- See: newDistributionConfig smart constructor.
data DistributionConfig
DistributionConfig' :: Maybe Aliases -> Maybe CacheBehaviors -> Maybe Text -> Maybe CustomErrorResponses -> Maybe Text -> Maybe HttpVersion -> Maybe Bool -> Maybe LoggingConfig -> Maybe OriginGroups -> Maybe PriceClass -> Maybe Restrictions -> Maybe Bool -> Maybe ViewerCertificate -> Maybe Text -> Text -> Origins -> DefaultCacheBehavior -> Sensitive Text -> Bool -> DistributionConfig
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this distribution.
[$sel:aliases:DistributionConfig'] :: DistributionConfig -> Maybe Aliases
-- | A complex type that contains zero or more CacheBehavior
-- elements.
[$sel:cacheBehaviors:DistributionConfig'] :: DistributionConfig -> Maybe CacheBehaviors
-- | The identifier of a continuous deployment policy. For more
-- information, see CreateContinuousDeploymentPolicy.
[$sel:continuousDeploymentPolicyId:DistributionConfig'] :: DistributionConfig -> Maybe Text
-- | A complex type that controls the following:
--
--
-- - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx
-- range with custom error messages before returning the response to the
-- viewer.
-- - How long CloudFront caches HTTP status codes in the 4xx and 5xx
-- range.
--
--
-- For more information about custom error pages, see Customizing
-- Error Responses in the Amazon CloudFront Developer Guide.
[$sel:customErrorResponses:DistributionConfig'] :: DistributionConfig -> Maybe CustomErrorResponses
-- | The object that you want CloudFront to request from your origin (for
-- example, index.html) when a viewer requests the root URL for
-- your distribution (https://www.example.com) instead of an
-- object in your distribution
-- (https://www.example.com/product-description.html).
-- Specifying a default root object avoids exposing the contents of your
-- distribution.
--
-- Specify only the object name, for example, index.html. Don't
-- add a / before the object name.
--
-- If you don't want to specify a default root object when you create a
-- distribution, include an empty DefaultRootObject element.
--
-- To delete the default root object from an existing distribution,
-- update the distribution configuration and include an empty
-- DefaultRootObject element.
--
-- To replace the default root object, update the distribution
-- configuration and specify the new object.
--
-- For more information about the default root object, see Creating a
-- Default Root Object in the Amazon CloudFront Developer
-- Guide.
[$sel:defaultRootObject:DistributionConfig'] :: DistributionConfig -> Maybe Text
-- | (Optional) Specify the maximum HTTP version(s) that you want viewers
-- to use to communicate with CloudFront. The default value for new web
-- distributions is http2. Viewers that don't support HTTP/2
-- automatically use an earlier HTTP version.
--
-- For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2
-- or later, and must support Server Name Indication (SNI).
--
-- For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3
-- and Server Name Indication (SNI). CloudFront supports HTTP/3
-- connection migration to allow the viewer to switch networks without
-- losing connection. For more information about connection migration,
-- see Connection Migration at RFC 9000. For more information
-- about supported TLSv1.3 ciphers, see Supported protocols and
-- ciphers between viewers and CloudFront.
[$sel:httpVersion:DistributionConfig'] :: DistributionConfig -> Maybe HttpVersion
-- | If you want CloudFront to respond to IPv6 DNS requests with an IPv6
-- address for your distribution, specify true. If you specify
-- false, CloudFront responds to IPv6 DNS requests with the DNS
-- response code NOERROR and with no IP addresses. This allows
-- viewers to submit a second request, for an IPv4 address for your
-- distribution.
--
-- In general, you should enable IPv6 if you have users on IPv6 networks
-- who want to access your content. However, if you're using signed URLs
-- or signed cookies to restrict access to your content, and if you're
-- using a custom policy that includes the IpAddress parameter
-- to restrict the IP addresses that can access your content, don't
-- enable IPv6. If you want to restrict access to some content by IP
-- address and not restrict access to other content (or restrict access
-- but not by IP address), you can create two distributions. For more
-- information, see Creating a Signed URL Using a Custom Policy in
-- the Amazon CloudFront Developer Guide.
--
-- If you're using an Route 53 Amazon Web Services Integration alias
-- resource record set to route traffic to your CloudFront distribution,
-- you need to create a second alias resource record set when both of the
-- following are true:
--
--
-- - You enable IPv6 for the distribution
-- - You're using alternate domain names in the URLs for your
-- objects
--
--
-- For more information, see Routing Traffic to an Amazon CloudFront
-- Web Distribution by Using Your Domain Name in the Route 53
-- Amazon Web Services Integration Developer Guide.
--
-- If you created a CNAME resource record set, either with Route 53
-- Amazon Web Services Integration or with another DNS service, you don't
-- need to make any changes. A CNAME record will route traffic to your
-- distribution regardless of the IP address format of the viewer
-- request.
[$sel:isIPV6Enabled:DistributionConfig'] :: DistributionConfig -> Maybe Bool
-- | A complex type that controls whether access logs are written for the
-- distribution.
--
-- For more information about logging, see Access Logs in the
-- Amazon CloudFront Developer Guide.
[$sel:logging:DistributionConfig'] :: DistributionConfig -> Maybe LoggingConfig
-- | A complex type that contains information about origin groups for this
-- distribution.
[$sel:originGroups:DistributionConfig'] :: DistributionConfig -> Maybe OriginGroups
-- | The price class that corresponds with the maximum price that you want
-- to pay for CloudFront service. If you specify PriceClass_All,
-- CloudFront responds to requests for your objects from all CloudFront
-- edge locations.
--
-- If you specify a price class other than PriceClass_All,
-- CloudFront serves your objects from the CloudFront edge location that
-- has the lowest latency among the edge locations in your price class.
-- Viewers who are in or near regions that are excluded from your
-- specified price class may encounter slower performance.
--
-- For more information about price classes, see Choosing the Price
-- Class for a CloudFront Distribution in the Amazon CloudFront
-- Developer Guide. For information about CloudFront pricing,
-- including how price classes (such as Price Class 100) map to
-- CloudFront regions, see Amazon CloudFront Pricing.
[$sel:priceClass:DistributionConfig'] :: DistributionConfig -> Maybe PriceClass
-- | A complex type that identifies ways in which you want to restrict
-- distribution of your content.
[$sel:restrictions:DistributionConfig'] :: DistributionConfig -> Maybe Restrictions
-- | A Boolean that indicates whether this is a staging distribution. When
-- this value is true, this is a staging distribution. When this
-- value is false, this is not a staging distribution.
[$sel:staging:DistributionConfig'] :: DistributionConfig -> Maybe Bool
-- | A complex type that determines the distribution's SSL/TLS
-- configuration for communicating with viewers.
[$sel:viewerCertificate:DistributionConfig'] :: DistributionConfig -> Maybe ViewerCertificate
-- | A unique identifier that specifies the WAF web ACL, if any, to
-- associate with this distribution. To specify a web ACL created using
-- the latest version of WAF, use the ACL ARN, for example
-- arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a.
-- To specify a web ACL created using WAF Classic, use the ACL ID, for
-- example 473e64fd-f30b-4765-81a0-62ad96dd167a.
--
-- WAF is a web application firewall that lets you monitor the HTTP and
-- HTTPS requests that are forwarded to CloudFront, and lets you control
-- access to your content. Based on conditions that you specify, such as
-- the IP addresses that requests originate from or the values of query
-- strings, CloudFront responds to requests either with the requested
-- content or with an HTTP 403 status code (Forbidden). You can also
-- configure CloudFront to return a custom error page when a request is
-- blocked. For more information about WAF, see the WAF Developer
-- Guide.
[$sel:webACLId:DistributionConfig'] :: DistributionConfig -> Maybe Text
-- | A unique value (for example, a date-time stamp) that ensures that the
-- request can't be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the DistributionConfig object), CloudFront creates
-- a new distribution.
--
-- If CallerReference is a value that you already sent in a
-- previous request to create a distribution, CloudFront returns a
-- DistributionAlreadyExists error.
[$sel:callerReference:DistributionConfig'] :: DistributionConfig -> Text
-- | A complex type that contains information about origins for this
-- distribution.
[$sel:origins:DistributionConfig'] :: DistributionConfig -> Origins
-- | A complex type that describes the default cache behavior if you don't
-- 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.
[$sel:defaultCacheBehavior:DistributionConfig'] :: DistributionConfig -> DefaultCacheBehavior
-- | A comment to describe the distribution. The comment cannot be longer
-- than 128 characters.
[$sel:comment:DistributionConfig'] :: DistributionConfig -> Sensitive Text
-- | From this field, you can enable or disable the selected distribution.
[$sel:enabled:DistributionConfig'] :: DistributionConfig -> Bool
-- | Create a value of DistributionConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aliases:DistributionConfig',
-- distributionConfig_aliases - A complex type that contains
-- information about CNAMEs (alternate domain names), if any, for this
-- distribution.
--
-- $sel:cacheBehaviors:DistributionConfig',
-- distributionConfig_cacheBehaviors - A complex type that
-- contains zero or more CacheBehavior elements.
--
-- $sel:continuousDeploymentPolicyId:DistributionConfig',
-- distributionConfig_continuousDeploymentPolicyId - The
-- identifier of a continuous deployment policy. For more information,
-- see CreateContinuousDeploymentPolicy.
--
-- $sel:customErrorResponses:DistributionConfig',
-- distributionConfig_customErrorResponses - A complex type that
-- controls the following:
--
--
-- - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx
-- range with custom error messages before returning the response to the
-- viewer.
-- - How long CloudFront caches HTTP status codes in the 4xx and 5xx
-- range.
--
--
-- For more information about custom error pages, see Customizing
-- Error Responses in the Amazon CloudFront Developer Guide.
--
-- $sel:defaultRootObject:DistributionConfig',
-- distributionConfig_defaultRootObject - The object that you want
-- CloudFront to request from your origin (for example,
-- index.html) when a viewer requests the root URL for your
-- distribution (https://www.example.com) instead of an object
-- in your distribution
-- (https://www.example.com/product-description.html).
-- Specifying a default root object avoids exposing the contents of your
-- distribution.
--
-- Specify only the object name, for example, index.html. Don't
-- add a / before the object name.
--
-- If you don't want to specify a default root object when you create a
-- distribution, include an empty DefaultRootObject element.
--
-- To delete the default root object from an existing distribution,
-- update the distribution configuration and include an empty
-- DefaultRootObject element.
--
-- To replace the default root object, update the distribution
-- configuration and specify the new object.
--
-- For more information about the default root object, see Creating a
-- Default Root Object in the Amazon CloudFront Developer
-- Guide.
--
-- $sel:httpVersion:DistributionConfig',
-- distributionConfig_httpVersion - (Optional) Specify the maximum
-- HTTP version(s) that you want viewers to use to communicate with
-- CloudFront. The default value for new web distributions is
-- http2. Viewers that don't support HTTP/2 automatically use an
-- earlier HTTP version.
--
-- For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2
-- or later, and must support Server Name Indication (SNI).
--
-- For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3
-- and Server Name Indication (SNI). CloudFront supports HTTP/3
-- connection migration to allow the viewer to switch networks without
-- losing connection. For more information about connection migration,
-- see Connection Migration at RFC 9000. For more information
-- about supported TLSv1.3 ciphers, see Supported protocols and
-- ciphers between viewers and CloudFront.
--
-- $sel:isIPV6Enabled:DistributionConfig',
-- distributionConfig_isIPV6Enabled - If you want CloudFront to
-- respond to IPv6 DNS requests with an IPv6 address for your
-- distribution, specify true. If you specify false,
-- CloudFront responds to IPv6 DNS requests with the DNS response code
-- NOERROR and with no IP addresses. This allows viewers to
-- submit a second request, for an IPv4 address for your distribution.
--
-- In general, you should enable IPv6 if you have users on IPv6 networks
-- who want to access your content. However, if you're using signed URLs
-- or signed cookies to restrict access to your content, and if you're
-- using a custom policy that includes the IpAddress parameter
-- to restrict the IP addresses that can access your content, don't
-- enable IPv6. If you want to restrict access to some content by IP
-- address and not restrict access to other content (or restrict access
-- but not by IP address), you can create two distributions. For more
-- information, see Creating a Signed URL Using a Custom Policy in
-- the Amazon CloudFront Developer Guide.
--
-- If you're using an Route 53 Amazon Web Services Integration alias
-- resource record set to route traffic to your CloudFront distribution,
-- you need to create a second alias resource record set when both of the
-- following are true:
--
--
-- - You enable IPv6 for the distribution
-- - You're using alternate domain names in the URLs for your
-- objects
--
--
-- For more information, see Routing Traffic to an Amazon CloudFront
-- Web Distribution by Using Your Domain Name in the Route 53
-- Amazon Web Services Integration Developer Guide.
--
-- If you created a CNAME resource record set, either with Route 53
-- Amazon Web Services Integration or with another DNS service, you don't
-- need to make any changes. A CNAME record will route traffic to your
-- distribution regardless of the IP address format of the viewer
-- request.
--
-- $sel:logging:DistributionConfig',
-- distributionConfig_logging - A complex type that controls
-- whether access logs are written for the distribution.
--
-- For more information about logging, see Access Logs in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:originGroups:DistributionConfig',
-- distributionConfig_originGroups - A complex type that contains
-- information about origin groups for this distribution.
--
-- $sel:priceClass:DistributionConfig',
-- distributionConfig_priceClass - The price class that
-- corresponds with the maximum price that you want to pay for CloudFront
-- service. If you specify PriceClass_All, CloudFront responds
-- to requests for your objects from all CloudFront edge locations.
--
-- If you specify a price class other than PriceClass_All,
-- CloudFront serves your objects from the CloudFront edge location that
-- has the lowest latency among the edge locations in your price class.
-- Viewers who are in or near regions that are excluded from your
-- specified price class may encounter slower performance.
--
-- For more information about price classes, see Choosing the Price
-- Class for a CloudFront Distribution in the Amazon CloudFront
-- Developer Guide. For information about CloudFront pricing,
-- including how price classes (such as Price Class 100) map to
-- CloudFront regions, see Amazon CloudFront Pricing.
--
-- $sel:restrictions:DistributionConfig',
-- distributionConfig_restrictions - A complex type that
-- identifies ways in which you want to restrict distribution of your
-- content.
--
-- $sel:staging:DistributionConfig',
-- distributionConfig_staging - A Boolean that indicates whether
-- this is a staging distribution. When this value is true, this
-- is a staging distribution. When this value is false, this is
-- not a staging distribution.
--
-- $sel:viewerCertificate:DistributionConfig',
-- distributionConfig_viewerCertificate - A complex type that
-- determines the distribution's SSL/TLS configuration for communicating
-- with viewers.
--
-- $sel:webACLId:DistributionConfig',
-- distributionConfig_webACLId - A unique identifier that
-- specifies the WAF web ACL, if any, to associate with this
-- distribution. To specify a web ACL created using the latest version of
-- WAF, use the ACL ARN, for example
-- arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a.
-- To specify a web ACL created using WAF Classic, use the ACL ID, for
-- example 473e64fd-f30b-4765-81a0-62ad96dd167a.
--
-- WAF is a web application firewall that lets you monitor the HTTP and
-- HTTPS requests that are forwarded to CloudFront, and lets you control
-- access to your content. Based on conditions that you specify, such as
-- the IP addresses that requests originate from or the values of query
-- strings, CloudFront responds to requests either with the requested
-- content or with an HTTP 403 status code (Forbidden). You can also
-- configure CloudFront to return a custom error page when a request is
-- blocked. For more information about WAF, see the WAF Developer
-- Guide.
--
-- $sel:callerReference:DistributionConfig',
-- distributionConfig_callerReference - A unique value (for
-- example, a date-time stamp) that ensures that the request can't be
-- replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the DistributionConfig object), CloudFront creates
-- a new distribution.
--
-- If CallerReference is a value that you already sent in a
-- previous request to create a distribution, CloudFront returns a
-- DistributionAlreadyExists error.
--
-- $sel:origins:DistributionConfig',
-- distributionConfig_origins - A complex type that contains
-- information about origins for this distribution.
--
-- $sel:defaultCacheBehavior:DistributionConfig',
-- distributionConfig_defaultCacheBehavior - A complex type that
-- describes the default cache behavior if you don't 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.
--
-- $sel:comment:DistributionConfig',
-- distributionConfig_comment - A comment to describe the
-- distribution. The comment cannot be longer than 128 characters.
--
-- DistributionConfig, distributionConfig_enabled - From
-- this field, you can enable or disable the selected distribution.
newDistributionConfig :: Text -> Origins -> DefaultCacheBehavior -> Text -> Bool -> DistributionConfig
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this distribution.
distributionConfig_aliases :: Lens' DistributionConfig (Maybe Aliases)
-- | A complex type that contains zero or more CacheBehavior
-- elements.
distributionConfig_cacheBehaviors :: Lens' DistributionConfig (Maybe CacheBehaviors)
-- | The identifier of a continuous deployment policy. For more
-- information, see CreateContinuousDeploymentPolicy.
distributionConfig_continuousDeploymentPolicyId :: Lens' DistributionConfig (Maybe Text)
-- | A complex type that controls the following:
--
--
-- - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx
-- range with custom error messages before returning the response to the
-- viewer.
-- - How long CloudFront caches HTTP status codes in the 4xx and 5xx
-- range.
--
--
-- For more information about custom error pages, see Customizing
-- Error Responses in the Amazon CloudFront Developer Guide.
distributionConfig_customErrorResponses :: Lens' DistributionConfig (Maybe CustomErrorResponses)
-- | The object that you want CloudFront to request from your origin (for
-- example, index.html) when a viewer requests the root URL for
-- your distribution (https://www.example.com) instead of an
-- object in your distribution
-- (https://www.example.com/product-description.html).
-- Specifying a default root object avoids exposing the contents of your
-- distribution.
--
-- Specify only the object name, for example, index.html. Don't
-- add a / before the object name.
--
-- If you don't want to specify a default root object when you create a
-- distribution, include an empty DefaultRootObject element.
--
-- To delete the default root object from an existing distribution,
-- update the distribution configuration and include an empty
-- DefaultRootObject element.
--
-- To replace the default root object, update the distribution
-- configuration and specify the new object.
--
-- For more information about the default root object, see Creating a
-- Default Root Object in the Amazon CloudFront Developer
-- Guide.
distributionConfig_defaultRootObject :: Lens' DistributionConfig (Maybe Text)
-- | (Optional) Specify the maximum HTTP version(s) that you want viewers
-- to use to communicate with CloudFront. The default value for new web
-- distributions is http2. Viewers that don't support HTTP/2
-- automatically use an earlier HTTP version.
--
-- For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2
-- or later, and must support Server Name Indication (SNI).
--
-- For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3
-- and Server Name Indication (SNI). CloudFront supports HTTP/3
-- connection migration to allow the viewer to switch networks without
-- losing connection. For more information about connection migration,
-- see Connection Migration at RFC 9000. For more information
-- about supported TLSv1.3 ciphers, see Supported protocols and
-- ciphers between viewers and CloudFront.
distributionConfig_httpVersion :: Lens' DistributionConfig (Maybe HttpVersion)
-- | If you want CloudFront to respond to IPv6 DNS requests with an IPv6
-- address for your distribution, specify true. If you specify
-- false, CloudFront responds to IPv6 DNS requests with the DNS
-- response code NOERROR and with no IP addresses. This allows
-- viewers to submit a second request, for an IPv4 address for your
-- distribution.
--
-- In general, you should enable IPv6 if you have users on IPv6 networks
-- who want to access your content. However, if you're using signed URLs
-- or signed cookies to restrict access to your content, and if you're
-- using a custom policy that includes the IpAddress parameter
-- to restrict the IP addresses that can access your content, don't
-- enable IPv6. If you want to restrict access to some content by IP
-- address and not restrict access to other content (or restrict access
-- but not by IP address), you can create two distributions. For more
-- information, see Creating a Signed URL Using a Custom Policy in
-- the Amazon CloudFront Developer Guide.
--
-- If you're using an Route 53 Amazon Web Services Integration alias
-- resource record set to route traffic to your CloudFront distribution,
-- you need to create a second alias resource record set when both of the
-- following are true:
--
--
-- - You enable IPv6 for the distribution
-- - You're using alternate domain names in the URLs for your
-- objects
--
--
-- For more information, see Routing Traffic to an Amazon CloudFront
-- Web Distribution by Using Your Domain Name in the Route 53
-- Amazon Web Services Integration Developer Guide.
--
-- If you created a CNAME resource record set, either with Route 53
-- Amazon Web Services Integration or with another DNS service, you don't
-- need to make any changes. A CNAME record will route traffic to your
-- distribution regardless of the IP address format of the viewer
-- request.
distributionConfig_isIPV6Enabled :: Lens' DistributionConfig (Maybe Bool)
-- | A complex type that controls whether access logs are written for the
-- distribution.
--
-- For more information about logging, see Access Logs in the
-- Amazon CloudFront Developer Guide.
distributionConfig_logging :: Lens' DistributionConfig (Maybe LoggingConfig)
-- | A complex type that contains information about origin groups for this
-- distribution.
distributionConfig_originGroups :: Lens' DistributionConfig (Maybe OriginGroups)
-- | The price class that corresponds with the maximum price that you want
-- to pay for CloudFront service. If you specify PriceClass_All,
-- CloudFront responds to requests for your objects from all CloudFront
-- edge locations.
--
-- If you specify a price class other than PriceClass_All,
-- CloudFront serves your objects from the CloudFront edge location that
-- has the lowest latency among the edge locations in your price class.
-- Viewers who are in or near regions that are excluded from your
-- specified price class may encounter slower performance.
--
-- For more information about price classes, see Choosing the Price
-- Class for a CloudFront Distribution in the Amazon CloudFront
-- Developer Guide. For information about CloudFront pricing,
-- including how price classes (such as Price Class 100) map to
-- CloudFront regions, see Amazon CloudFront Pricing.
distributionConfig_priceClass :: Lens' DistributionConfig (Maybe PriceClass)
-- | A complex type that identifies ways in which you want to restrict
-- distribution of your content.
distributionConfig_restrictions :: Lens' DistributionConfig (Maybe Restrictions)
-- | A Boolean that indicates whether this is a staging distribution. When
-- this value is true, this is a staging distribution. When this
-- value is false, this is not a staging distribution.
distributionConfig_staging :: Lens' DistributionConfig (Maybe Bool)
-- | A complex type that determines the distribution's SSL/TLS
-- configuration for communicating with viewers.
distributionConfig_viewerCertificate :: Lens' DistributionConfig (Maybe ViewerCertificate)
-- | A unique identifier that specifies the WAF web ACL, if any, to
-- associate with this distribution. To specify a web ACL created using
-- the latest version of WAF, use the ACL ARN, for example
-- arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a.
-- To specify a web ACL created using WAF Classic, use the ACL ID, for
-- example 473e64fd-f30b-4765-81a0-62ad96dd167a.
--
-- WAF is a web application firewall that lets you monitor the HTTP and
-- HTTPS requests that are forwarded to CloudFront, and lets you control
-- access to your content. Based on conditions that you specify, such as
-- the IP addresses that requests originate from or the values of query
-- strings, CloudFront responds to requests either with the requested
-- content or with an HTTP 403 status code (Forbidden). You can also
-- configure CloudFront to return a custom error page when a request is
-- blocked. For more information about WAF, see the WAF Developer
-- Guide.
distributionConfig_webACLId :: Lens' DistributionConfig (Maybe Text)
-- | A unique value (for example, a date-time stamp) that ensures that the
-- request can't be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the DistributionConfig object), CloudFront creates
-- a new distribution.
--
-- If CallerReference is a value that you already sent in a
-- previous request to create a distribution, CloudFront returns a
-- DistributionAlreadyExists error.
distributionConfig_callerReference :: Lens' DistributionConfig Text
-- | A complex type that contains information about origins for this
-- distribution.
distributionConfig_origins :: Lens' DistributionConfig Origins
-- | A complex type that describes the default cache behavior if you don't
-- 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.
distributionConfig_defaultCacheBehavior :: Lens' DistributionConfig DefaultCacheBehavior
-- | A comment to describe the distribution. The comment cannot be longer
-- than 128 characters.
distributionConfig_comment :: Lens' DistributionConfig Text
-- | From this field, you can enable or disable the selected distribution.
distributionConfig_enabled :: Lens' DistributionConfig Bool
-- | A distribution Configuration and a list of tags to be associated with
-- the distribution.
--
-- See: newDistributionConfigWithTags smart constructor.
data DistributionConfigWithTags
DistributionConfigWithTags' :: DistributionConfig -> Tags -> DistributionConfigWithTags
-- | A distribution configuration.
[$sel:distributionConfig:DistributionConfigWithTags'] :: DistributionConfigWithTags -> DistributionConfig
-- | A complex type that contains zero or more Tag elements.
[$sel:tags:DistributionConfigWithTags'] :: DistributionConfigWithTags -> Tags
-- | Create a value of DistributionConfigWithTags with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distributionConfig:DistributionConfigWithTags',
-- distributionConfigWithTags_distributionConfig - A distribution
-- configuration.
--
-- $sel:tags:DistributionConfigWithTags',
-- distributionConfigWithTags_tags - A complex type that contains
-- zero or more Tag elements.
newDistributionConfigWithTags :: DistributionConfig -> Tags -> DistributionConfigWithTags
-- | A distribution configuration.
distributionConfigWithTags_distributionConfig :: Lens' DistributionConfigWithTags DistributionConfig
-- | A complex type that contains zero or more Tag elements.
distributionConfigWithTags_tags :: Lens' DistributionConfigWithTags Tags
-- | A list of distribution IDs.
--
-- See: newDistributionIdList smart constructor.
data DistributionIdList
DistributionIdList' :: Maybe [Text] -> Maybe Text -> Text -> Int -> Bool -> Int -> DistributionIdList
-- | Contains the distribution IDs in the list.
[$sel:items:DistributionIdList'] :: DistributionIdList -> Maybe [Text]
-- | Contains the value that you should use in the Marker field of
-- a subsequent request to continue listing distribution IDs where you
-- left off.
[$sel:nextMarker:DistributionIdList'] :: DistributionIdList -> Maybe Text
-- | The value provided in the Marker request field.
[$sel:marker:DistributionIdList'] :: DistributionIdList -> Text
-- | The maximum number of distribution IDs requested.
[$sel:maxItems:DistributionIdList'] :: DistributionIdList -> Int
-- | A flag that indicates whether more distribution IDs remain to be
-- listed. If your results were truncated, you can make a subsequent
-- request using the Marker request field to retrieve more
-- distribution IDs in the list.
[$sel:isTruncated:DistributionIdList'] :: DistributionIdList -> Bool
-- | The total number of distribution IDs returned in the response.
[$sel:quantity:DistributionIdList'] :: DistributionIdList -> Int
-- | Create a value of DistributionIdList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:DistributionIdList', distributionIdList_items
-- - Contains the distribution IDs in the list.
--
-- $sel:nextMarker:DistributionIdList',
-- distributionIdList_nextMarker - Contains the value that you
-- should use in the Marker field of a subsequent request to
-- continue listing distribution IDs where you left off.
--
-- $sel:marker:DistributionIdList',
-- distributionIdList_marker - The value provided in the
-- Marker request field.
--
-- $sel:maxItems:DistributionIdList',
-- distributionIdList_maxItems - The maximum number of
-- distribution IDs requested.
--
-- $sel:isTruncated:DistributionIdList',
-- distributionIdList_isTruncated - A flag that indicates whether
-- more distribution IDs remain to be listed. If your results were
-- truncated, you can make a subsequent request using the Marker
-- request field to retrieve more distribution IDs in the list.
--
-- $sel:quantity:DistributionIdList',
-- distributionIdList_quantity - The total number of distribution
-- IDs returned in the response.
newDistributionIdList :: Text -> Int -> Bool -> Int -> DistributionIdList
-- | Contains the distribution IDs in the list.
distributionIdList_items :: Lens' DistributionIdList (Maybe [Text])
-- | Contains the value that you should use in the Marker field of
-- a subsequent request to continue listing distribution IDs where you
-- left off.
distributionIdList_nextMarker :: Lens' DistributionIdList (Maybe Text)
-- | The value provided in the Marker request field.
distributionIdList_marker :: Lens' DistributionIdList Text
-- | The maximum number of distribution IDs requested.
distributionIdList_maxItems :: Lens' DistributionIdList Int
-- | A flag that indicates whether more distribution IDs remain to be
-- listed. If your results were truncated, you can make a subsequent
-- request using the Marker request field to retrieve more
-- distribution IDs in the list.
distributionIdList_isTruncated :: Lens' DistributionIdList Bool
-- | The total number of distribution IDs returned in the response.
distributionIdList_quantity :: Lens' DistributionIdList Int
-- | A distribution list.
--
-- See: newDistributionList smart constructor.
data DistributionList
DistributionList' :: Maybe [DistributionSummary] -> Maybe Text -> Text -> Int -> Bool -> Int -> DistributionList
-- | A complex type that contains one DistributionSummary element
-- for each distribution that was created by the current Amazon Web
-- Services account.
[$sel:items:DistributionList'] :: DistributionList -> Maybe [DistributionSummary]
-- | 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.
[$sel:nextMarker:DistributionList'] :: DistributionList -> Maybe Text
-- | The value you provided for the Marker request parameter.
[$sel:marker:DistributionList'] :: DistributionList -> Text
-- | The value you provided for the MaxItems request parameter.
[$sel:maxItems:DistributionList'] :: DistributionList -> Int
-- | 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.
[$sel:isTruncated:DistributionList'] :: DistributionList -> Bool
-- | The number of distributions that were created by the current Amazon
-- Web Services account.
[$sel:quantity:DistributionList'] :: DistributionList -> Int
-- | Create a value of DistributionList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:DistributionList', distributionList_items - A
-- complex type that contains one DistributionSummary element
-- for each distribution that was created by the current Amazon Web
-- Services account.
--
-- $sel:nextMarker:DistributionList',
-- distributionList_nextMarker - 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.
--
-- $sel:marker:DistributionList', distributionList_marker -
-- The value you provided for the Marker request parameter.
--
-- $sel:maxItems:DistributionList',
-- distributionList_maxItems - The value you provided for the
-- MaxItems request parameter.
--
-- $sel:isTruncated:DistributionList',
-- distributionList_isTruncated - 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.
--
-- $sel:quantity:DistributionList',
-- distributionList_quantity - The number of distributions that
-- were created by the current Amazon Web Services account.
newDistributionList :: Text -> Int -> Bool -> Int -> DistributionList
-- | A complex type that contains one DistributionSummary element
-- for each distribution that was created by the current Amazon Web
-- Services account.
distributionList_items :: Lens' DistributionList (Maybe [DistributionSummary])
-- | 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.
distributionList_nextMarker :: Lens' DistributionList (Maybe Text)
-- | The value you provided for the Marker request parameter.
distributionList_marker :: Lens' DistributionList Text
-- | The value you provided for the MaxItems request parameter.
distributionList_maxItems :: Lens' DistributionList Int
-- | 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.
distributionList_isTruncated :: Lens' DistributionList Bool
-- | The number of distributions that were created by the current Amazon
-- Web Services account.
distributionList_quantity :: Lens' DistributionList Int
-- | A summary of the information about a CloudFront distribution.
--
-- See: newDistributionSummary smart constructor.
data DistributionSummary
DistributionSummary' :: Maybe [AliasICPRecordal] -> Maybe OriginGroups -> Text -> Text -> Text -> ISO8601 -> Text -> Aliases -> Origins -> DefaultCacheBehavior -> CacheBehaviors -> CustomErrorResponses -> Text -> PriceClass -> Bool -> ViewerCertificate -> Restrictions -> Text -> HttpVersion -> Bool -> Bool -> DistributionSummary
-- | Amazon Web Services services in China customers must file for an
-- Internet Content Provider (ICP) recordal if they want to serve content
-- publicly on an alternate domain name, also known as a CNAME, that
-- they've added to CloudFront. AliasICPRecordal provides the ICP
-- recordal status for CNAMEs associated with distributions.
--
-- For more information about ICP recordals, see Signup, Accounts, and
-- Credentials in Getting Started with Amazon Web Services
-- services in China.
[$sel:aliasICPRecordals:DistributionSummary'] :: DistributionSummary -> Maybe [AliasICPRecordal]
-- | A complex type that contains information about origin groups for this
-- distribution.
[$sel:originGroups:DistributionSummary'] :: DistributionSummary -> Maybe OriginGroups
-- | The identifier for the distribution. For example:
-- EDFDVBD632BHDS5.
[$sel:id:DistributionSummary'] :: DistributionSummary -> Text
-- | The ARN (Amazon Resource Name) for the distribution. For example:
-- arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
[$sel:arn:DistributionSummary'] :: DistributionSummary -> Text
-- | The current status of the distribution. When the status is
-- Deployed, the distribution's information is propagated to all
-- CloudFront edge locations.
[$sel:status:DistributionSummary'] :: DistributionSummary -> Text
-- | The date and time the distribution was last modified.
[$sel:lastModifiedTime:DistributionSummary'] :: DistributionSummary -> ISO8601
-- | The domain name that corresponds to the distribution, for example,
-- d111111abcdef8.cloudfront.net.
[$sel:domainName:DistributionSummary'] :: DistributionSummary -> Text
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this distribution.
[$sel:aliases:DistributionSummary'] :: DistributionSummary -> Aliases
-- | A complex type that contains information about origins for this
-- distribution.
[$sel:origins:DistributionSummary'] :: DistributionSummary -> Origins
-- | A complex type that describes the default cache behavior if you don't
-- 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.
[$sel:defaultCacheBehavior:DistributionSummary'] :: DistributionSummary -> DefaultCacheBehavior
-- | A complex type that contains zero or more CacheBehavior
-- elements.
[$sel:cacheBehaviors:DistributionSummary'] :: DistributionSummary -> CacheBehaviors
-- | A complex type that contains zero or more
-- CustomErrorResponses elements.
[$sel:customErrorResponses:DistributionSummary'] :: DistributionSummary -> CustomErrorResponses
-- | The comment originally specified when this distribution was created.
[$sel:comment:DistributionSummary'] :: DistributionSummary -> Text
-- | A complex type that contains information about price class for this
-- streaming distribution.
[$sel:priceClass:DistributionSummary'] :: DistributionSummary -> PriceClass
-- | Whether the distribution is enabled to accept user requests for
-- content.
[$sel:enabled:DistributionSummary'] :: DistributionSummary -> Bool
-- | A complex type that determines the distribution's SSL/TLS
-- configuration for communicating with viewers.
[$sel:viewerCertificate:DistributionSummary'] :: DistributionSummary -> ViewerCertificate
-- | A complex type that identifies ways in which you want to restrict
-- distribution of your content.
[$sel:restrictions:DistributionSummary'] :: DistributionSummary -> Restrictions
-- | The Web ACL Id (if any) associated with the distribution.
[$sel:webACLId:DistributionSummary'] :: DistributionSummary -> Text
-- | Specify the maximum HTTP version that you want viewers to use to
-- communicate with CloudFront. The default value for new web
-- distributions is http2. Viewers that don't support
-- HTTP/2 will automatically use an earlier version.
[$sel:httpVersion:DistributionSummary'] :: DistributionSummary -> HttpVersion
-- | Whether CloudFront responds to IPv6 DNS requests with an IPv6 address
-- for your distribution.
[$sel:isIPV6Enabled:DistributionSummary'] :: DistributionSummary -> Bool
-- | Whether the primary distribution has a staging distribution enabled.
[$sel:staging:DistributionSummary'] :: DistributionSummary -> Bool
-- | Create a value of DistributionSummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aliasICPRecordals:DistributionSummary',
-- distributionSummary_aliasICPRecordals - Amazon Web Services
-- services in China customers must file for an Internet Content Provider
-- (ICP) recordal if they want to serve content publicly on an alternate
-- domain name, also known as a CNAME, that they've added to CloudFront.
-- AliasICPRecordal provides the ICP recordal status for CNAMEs
-- associated with distributions.
--
-- For more information about ICP recordals, see Signup, Accounts, and
-- Credentials in Getting Started with Amazon Web Services
-- services in China.
--
-- $sel:originGroups:DistributionSummary',
-- distributionSummary_originGroups - A complex type that contains
-- information about origin groups for this distribution.
--
-- $sel:id:DistributionSummary', distributionSummary_id -
-- The identifier for the distribution. For example:
-- EDFDVBD632BHDS5.
--
-- $sel:arn:DistributionSummary', distributionSummary_arn -
-- The ARN (Amazon Resource Name) for the distribution. For example:
-- arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
--
-- $sel:status:DistributionSummary',
-- distributionSummary_status - The current status of the
-- distribution. When the status is Deployed, the distribution's
-- information is propagated to all CloudFront edge locations.
--
-- $sel:lastModifiedTime:DistributionSummary',
-- distributionSummary_lastModifiedTime - The date and time the
-- distribution was last modified.
--
-- $sel:domainName:DistributionSummary',
-- distributionSummary_domainName - The domain name that
-- corresponds to the distribution, for example,
-- d111111abcdef8.cloudfront.net.
--
-- $sel:aliases:DistributionSummary',
-- distributionSummary_aliases - A complex type that contains
-- information about CNAMEs (alternate domain names), if any, for this
-- distribution.
--
-- $sel:origins:DistributionSummary',
-- distributionSummary_origins - A complex type that contains
-- information about origins for this distribution.
--
-- $sel:defaultCacheBehavior:DistributionSummary',
-- distributionSummary_defaultCacheBehavior - A complex type that
-- describes the default cache behavior if you don't 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.
--
-- $sel:cacheBehaviors:DistributionSummary',
-- distributionSummary_cacheBehaviors - A complex type that
-- contains zero or more CacheBehavior elements.
--
-- $sel:customErrorResponses:DistributionSummary',
-- distributionSummary_customErrorResponses - A complex type that
-- contains zero or more CustomErrorResponses elements.
--
-- $sel:comment:DistributionSummary',
-- distributionSummary_comment - The comment originally specified
-- when this distribution was created.
--
-- $sel:priceClass:DistributionSummary',
-- distributionSummary_priceClass - A complex type that contains
-- information about price class for this streaming distribution.
--
-- $sel:enabled:DistributionSummary',
-- distributionSummary_enabled - Whether the distribution is
-- enabled to accept user requests for content.
--
-- $sel:viewerCertificate:DistributionSummary',
-- distributionSummary_viewerCertificate - A complex type that
-- determines the distribution's SSL/TLS configuration for communicating
-- with viewers.
--
-- $sel:restrictions:DistributionSummary',
-- distributionSummary_restrictions - A complex type that
-- identifies ways in which you want to restrict distribution of your
-- content.
--
-- $sel:webACLId:DistributionSummary',
-- distributionSummary_webACLId - The Web ACL Id (if any)
-- associated with the distribution.
--
-- $sel:httpVersion:DistributionSummary',
-- distributionSummary_httpVersion - Specify the maximum HTTP
-- version that you want viewers to use to communicate with CloudFront.
-- The default value for new web distributions is http2. Viewers
-- that don't support HTTP/2 will automatically use an earlier
-- version.
--
-- $sel:isIPV6Enabled:DistributionSummary',
-- distributionSummary_isIPV6Enabled - Whether CloudFront responds
-- to IPv6 DNS requests with an IPv6 address for your distribution.
--
-- $sel:staging:DistributionSummary',
-- distributionSummary_staging - Whether the primary distribution
-- has a staging distribution enabled.
newDistributionSummary :: Text -> Text -> Text -> UTCTime -> Text -> Aliases -> Origins -> DefaultCacheBehavior -> CacheBehaviors -> CustomErrorResponses -> Text -> PriceClass -> Bool -> ViewerCertificate -> Restrictions -> Text -> HttpVersion -> Bool -> Bool -> DistributionSummary
-- | Amazon Web Services services in China customers must file for an
-- Internet Content Provider (ICP) recordal if they want to serve content
-- publicly on an alternate domain name, also known as a CNAME, that
-- they've added to CloudFront. AliasICPRecordal provides the ICP
-- recordal status for CNAMEs associated with distributions.
--
-- For more information about ICP recordals, see Signup, Accounts, and
-- Credentials in Getting Started with Amazon Web Services
-- services in China.
distributionSummary_aliasICPRecordals :: Lens' DistributionSummary (Maybe [AliasICPRecordal])
-- | A complex type that contains information about origin groups for this
-- distribution.
distributionSummary_originGroups :: Lens' DistributionSummary (Maybe OriginGroups)
-- | The identifier for the distribution. For example:
-- EDFDVBD632BHDS5.
distributionSummary_id :: Lens' DistributionSummary Text
-- | The ARN (Amazon Resource Name) for the distribution. For example:
-- arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
distributionSummary_arn :: Lens' DistributionSummary Text
-- | The current status of the distribution. When the status is
-- Deployed, the distribution's information is propagated to all
-- CloudFront edge locations.
distributionSummary_status :: Lens' DistributionSummary Text
-- | The date and time the distribution was last modified.
distributionSummary_lastModifiedTime :: Lens' DistributionSummary UTCTime
-- | The domain name that corresponds to the distribution, for example,
-- d111111abcdef8.cloudfront.net.
distributionSummary_domainName :: Lens' DistributionSummary Text
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this distribution.
distributionSummary_aliases :: Lens' DistributionSummary Aliases
-- | A complex type that contains information about origins for this
-- distribution.
distributionSummary_origins :: Lens' DistributionSummary Origins
-- | A complex type that describes the default cache behavior if you don't
-- 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.
distributionSummary_defaultCacheBehavior :: Lens' DistributionSummary DefaultCacheBehavior
-- | A complex type that contains zero or more CacheBehavior
-- elements.
distributionSummary_cacheBehaviors :: Lens' DistributionSummary CacheBehaviors
-- | A complex type that contains zero or more
-- CustomErrorResponses elements.
distributionSummary_customErrorResponses :: Lens' DistributionSummary CustomErrorResponses
-- | The comment originally specified when this distribution was created.
distributionSummary_comment :: Lens' DistributionSummary Text
-- | A complex type that contains information about price class for this
-- streaming distribution.
distributionSummary_priceClass :: Lens' DistributionSummary PriceClass
-- | Whether the distribution is enabled to accept user requests for
-- content.
distributionSummary_enabled :: Lens' DistributionSummary Bool
-- | A complex type that determines the distribution's SSL/TLS
-- configuration for communicating with viewers.
distributionSummary_viewerCertificate :: Lens' DistributionSummary ViewerCertificate
-- | A complex type that identifies ways in which you want to restrict
-- distribution of your content.
distributionSummary_restrictions :: Lens' DistributionSummary Restrictions
-- | The Web ACL Id (if any) associated with the distribution.
distributionSummary_webACLId :: Lens' DistributionSummary Text
-- | Specify the maximum HTTP version that you want viewers to use to
-- communicate with CloudFront. The default value for new web
-- distributions is http2. Viewers that don't support
-- HTTP/2 will automatically use an earlier version.
distributionSummary_httpVersion :: Lens' DistributionSummary HttpVersion
-- | Whether CloudFront responds to IPv6 DNS requests with an IPv6 address
-- for your distribution.
distributionSummary_isIPV6Enabled :: Lens' DistributionSummary Bool
-- | Whether the primary distribution has a staging distribution enabled.
distributionSummary_staging :: Lens' DistributionSummary Bool
-- | Complex data type for field-level encryption profiles that includes
-- all of the encryption entities.
--
-- See: newEncryptionEntities smart constructor.
data EncryptionEntities
EncryptionEntities' :: Maybe [EncryptionEntity] -> Int -> EncryptionEntities
-- | An array of field patterns in a field-level encryption content
-- type-profile mapping.
[$sel:items:EncryptionEntities'] :: EncryptionEntities -> Maybe [EncryptionEntity]
-- | Number of field pattern items in a field-level encryption content
-- type-profile mapping.
[$sel:quantity:EncryptionEntities'] :: EncryptionEntities -> Int
-- | Create a value of EncryptionEntities with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:EncryptionEntities', encryptionEntities_items
-- - An array of field patterns in a field-level encryption content
-- type-profile mapping.
--
-- $sel:quantity:EncryptionEntities',
-- encryptionEntities_quantity - Number of field pattern items in
-- a field-level encryption content type-profile mapping.
newEncryptionEntities :: Int -> EncryptionEntities
-- | An array of field patterns in a field-level encryption content
-- type-profile mapping.
encryptionEntities_items :: Lens' EncryptionEntities (Maybe [EncryptionEntity])
-- | Number of field pattern items in a field-level encryption content
-- type-profile mapping.
encryptionEntities_quantity :: Lens' EncryptionEntities Int
-- | Complex data type for field-level encryption profiles that includes
-- the encryption key and field pattern specifications.
--
-- See: newEncryptionEntity smart constructor.
data EncryptionEntity
EncryptionEntity' :: Text -> Text -> FieldPatterns -> EncryptionEntity
-- | The public key associated with a set of field-level encryption
-- patterns, to be used when encrypting the fields that match the
-- patterns.
[$sel:publicKeyId:EncryptionEntity'] :: EncryptionEntity -> Text
-- | The provider associated with the public key being used for encryption.
-- This value must also be provided with the private key for applications
-- to be able to decrypt data.
[$sel:providerId:EncryptionEntity'] :: EncryptionEntity -> Text
-- | Field patterns in a field-level encryption content type profile
-- specify the fields that you want to be encrypted. You can provide the
-- full field name, or any beginning characters followed by a wildcard
-- (*). You can't overlap field patterns. For example, you can't have
-- both ABC* and AB*. Note that field patterns are case-sensitive.
[$sel:fieldPatterns:EncryptionEntity'] :: EncryptionEntity -> FieldPatterns
-- | Create a value of EncryptionEntity with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:publicKeyId:EncryptionEntity',
-- encryptionEntity_publicKeyId - The public key associated with a
-- set of field-level encryption patterns, to be used when encrypting the
-- fields that match the patterns.
--
-- $sel:providerId:EncryptionEntity',
-- encryptionEntity_providerId - The provider associated with the
-- public key being used for encryption. This value must also be provided
-- with the private key for applications to be able to decrypt data.
--
-- $sel:fieldPatterns:EncryptionEntity',
-- encryptionEntity_fieldPatterns - Field patterns in a
-- field-level encryption content type profile specify the fields that
-- you want to be encrypted. You can provide the full field name, or any
-- beginning characters followed by a wildcard (*). You can't overlap
-- field patterns. For example, you can't have both ABC* and AB*. Note
-- that field patterns are case-sensitive.
newEncryptionEntity :: Text -> Text -> FieldPatterns -> EncryptionEntity
-- | The public key associated with a set of field-level encryption
-- patterns, to be used when encrypting the fields that match the
-- patterns.
encryptionEntity_publicKeyId :: Lens' EncryptionEntity Text
-- | The provider associated with the public key being used for encryption.
-- This value must also be provided with the private key for applications
-- to be able to decrypt data.
encryptionEntity_providerId :: Lens' EncryptionEntity Text
-- | Field patterns in a field-level encryption content type profile
-- specify the fields that you want to be encrypted. You can provide the
-- full field name, or any beginning characters followed by a wildcard
-- (*). You can't overlap field patterns. For example, you can't have
-- both ABC* and AB*. Note that field patterns are case-sensitive.
encryptionEntity_fieldPatterns :: Lens' EncryptionEntity FieldPatterns
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data in a real-time log configuration.
--
-- See: newEndPoint smart constructor.
data EndPoint
EndPoint' :: Maybe KinesisStreamConfig -> Text -> EndPoint
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data.
[$sel:kinesisStreamConfig:EndPoint'] :: EndPoint -> Maybe KinesisStreamConfig
-- | The type of data stream where you are sending real-time log data. The
-- only valid value is Kinesis.
[$sel:streamType:EndPoint'] :: EndPoint -> Text
-- | Create a value of EndPoint with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:kinesisStreamConfig:EndPoint',
-- endPoint_kinesisStreamConfig - Contains information about the
-- Amazon Kinesis data stream where you are sending real-time log data.
--
-- $sel:streamType:EndPoint', endPoint_streamType - The
-- type of data stream where you are sending real-time log data. The only
-- valid value is Kinesis.
newEndPoint :: Text -> EndPoint
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data.
endPoint_kinesisStreamConfig :: Lens' EndPoint (Maybe KinesisStreamConfig)
-- | The type of data stream where you are sending real-time log data. The
-- only valid value is Kinesis.
endPoint_streamType :: Lens' EndPoint Text
-- | A complex data type that includes the profile configurations and other
-- options specified for field-level encryption.
--
-- See: newFieldLevelEncryption smart constructor.
data FieldLevelEncryption
FieldLevelEncryption' :: Text -> ISO8601 -> FieldLevelEncryptionConfig -> FieldLevelEncryption
-- | The configuration ID for a field-level encryption configuration which
-- includes a set of profiles that specify certain selected data fields
-- to be encrypted by specific public keys.
[$sel:id:FieldLevelEncryption'] :: FieldLevelEncryption -> Text
-- | The last time the field-level encryption configuration was changed.
[$sel:lastModifiedTime:FieldLevelEncryption'] :: FieldLevelEncryption -> ISO8601
-- | A complex data type that includes the profile configurations specified
-- for field-level encryption.
[$sel:fieldLevelEncryptionConfig:FieldLevelEncryption'] :: FieldLevelEncryption -> FieldLevelEncryptionConfig
-- | Create a value of FieldLevelEncryption with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:FieldLevelEncryption', fieldLevelEncryption_id -
-- The configuration ID for a field-level encryption configuration which
-- includes a set of profiles that specify certain selected data fields
-- to be encrypted by specific public keys.
--
-- $sel:lastModifiedTime:FieldLevelEncryption',
-- fieldLevelEncryption_lastModifiedTime - The last time the
-- field-level encryption configuration was changed.
--
-- $sel:fieldLevelEncryptionConfig:FieldLevelEncryption',
-- fieldLevelEncryption_fieldLevelEncryptionConfig - A complex
-- data type that includes the profile configurations specified for
-- field-level encryption.
newFieldLevelEncryption :: Text -> UTCTime -> FieldLevelEncryptionConfig -> FieldLevelEncryption
-- | The configuration ID for a field-level encryption configuration which
-- includes a set of profiles that specify certain selected data fields
-- to be encrypted by specific public keys.
fieldLevelEncryption_id :: Lens' FieldLevelEncryption Text
-- | The last time the field-level encryption configuration was changed.
fieldLevelEncryption_lastModifiedTime :: Lens' FieldLevelEncryption UTCTime
-- | A complex data type that includes the profile configurations specified
-- for field-level encryption.
fieldLevelEncryption_fieldLevelEncryptionConfig :: Lens' FieldLevelEncryption FieldLevelEncryptionConfig
-- | A complex data type that includes the profile configurations specified
-- for field-level encryption.
--
-- See: newFieldLevelEncryptionConfig smart constructor.
data FieldLevelEncryptionConfig
FieldLevelEncryptionConfig' :: Maybe Text -> Maybe ContentTypeProfileConfig -> Maybe QueryArgProfileConfig -> Text -> FieldLevelEncryptionConfig
-- | An optional comment about the configuration. The comment cannot be
-- longer than 128 characters.
[$sel:comment:FieldLevelEncryptionConfig'] :: FieldLevelEncryptionConfig -> Maybe Text
-- | A complex data type that specifies when to forward content if a
-- content type isn't recognized and profiles to use as by default in a
-- request if a query argument doesn't specify a profile to use.
[$sel:contentTypeProfileConfig:FieldLevelEncryptionConfig'] :: FieldLevelEncryptionConfig -> Maybe ContentTypeProfileConfig
-- | A complex data type that specifies when to forward content if a
-- profile isn't found and the profile that can be provided as a query
-- argument in a request.
[$sel:queryArgProfileConfig:FieldLevelEncryptionConfig'] :: FieldLevelEncryptionConfig -> Maybe QueryArgProfileConfig
-- | A unique number that ensures the request can't be replayed.
[$sel:callerReference:FieldLevelEncryptionConfig'] :: FieldLevelEncryptionConfig -> Text
-- | Create a value of FieldLevelEncryptionConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:FieldLevelEncryptionConfig',
-- fieldLevelEncryptionConfig_comment - An optional comment about
-- the configuration. The comment cannot be longer than 128 characters.
--
-- $sel:contentTypeProfileConfig:FieldLevelEncryptionConfig',
-- fieldLevelEncryptionConfig_contentTypeProfileConfig - A complex
-- data type that specifies when to forward content if a content type
-- isn't recognized and profiles to use as by default in a request if a
-- query argument doesn't specify a profile to use.
--
-- $sel:queryArgProfileConfig:FieldLevelEncryptionConfig',
-- fieldLevelEncryptionConfig_queryArgProfileConfig - A complex
-- data type that specifies when to forward content if a profile isn't
-- found and the profile that can be provided as a query argument in a
-- request.
--
-- $sel:callerReference:FieldLevelEncryptionConfig',
-- fieldLevelEncryptionConfig_callerReference - A unique number
-- that ensures the request can't be replayed.
newFieldLevelEncryptionConfig :: Text -> FieldLevelEncryptionConfig
-- | An optional comment about the configuration. The comment cannot be
-- longer than 128 characters.
fieldLevelEncryptionConfig_comment :: Lens' FieldLevelEncryptionConfig (Maybe Text)
-- | A complex data type that specifies when to forward content if a
-- content type isn't recognized and profiles to use as by default in a
-- request if a query argument doesn't specify a profile to use.
fieldLevelEncryptionConfig_contentTypeProfileConfig :: Lens' FieldLevelEncryptionConfig (Maybe ContentTypeProfileConfig)
-- | A complex data type that specifies when to forward content if a
-- profile isn't found and the profile that can be provided as a query
-- argument in a request.
fieldLevelEncryptionConfig_queryArgProfileConfig :: Lens' FieldLevelEncryptionConfig (Maybe QueryArgProfileConfig)
-- | A unique number that ensures the request can't be replayed.
fieldLevelEncryptionConfig_callerReference :: Lens' FieldLevelEncryptionConfig Text
-- | List of field-level encrpytion configurations.
--
-- See: newFieldLevelEncryptionList smart constructor.
data FieldLevelEncryptionList
FieldLevelEncryptionList' :: Maybe [FieldLevelEncryptionSummary] -> Maybe Text -> Int -> Int -> FieldLevelEncryptionList
-- | An array of field-level encryption items.
[$sel:items:FieldLevelEncryptionList'] :: FieldLevelEncryptionList -> Maybe [FieldLevelEncryptionSummary]
-- | If there are more elements to be listed, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your configurations where you left off.
[$sel:nextMarker:FieldLevelEncryptionList'] :: FieldLevelEncryptionList -> Maybe Text
-- | The maximum number of elements you want in the response body.
[$sel:maxItems:FieldLevelEncryptionList'] :: FieldLevelEncryptionList -> Int
-- | The number of field-level encryption items.
[$sel:quantity:FieldLevelEncryptionList'] :: FieldLevelEncryptionList -> Int
-- | Create a value of FieldLevelEncryptionList with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:FieldLevelEncryptionList',
-- fieldLevelEncryptionList_items - An array of field-level
-- encryption items.
--
-- $sel:nextMarker:FieldLevelEncryptionList',
-- fieldLevelEncryptionList_nextMarker - If there are more
-- elements to be listed, this element is present and contains the value
-- that you can use for the Marker request parameter to continue
-- listing your configurations where you left off.
--
-- $sel:maxItems:FieldLevelEncryptionList',
-- fieldLevelEncryptionList_maxItems - The maximum number of
-- elements you want in the response body.
--
-- $sel:quantity:FieldLevelEncryptionList',
-- fieldLevelEncryptionList_quantity - The number of field-level
-- encryption items.
newFieldLevelEncryptionList :: Int -> Int -> FieldLevelEncryptionList
-- | An array of field-level encryption items.
fieldLevelEncryptionList_items :: Lens' FieldLevelEncryptionList (Maybe [FieldLevelEncryptionSummary])
-- | If there are more elements to be listed, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your configurations where you left off.
fieldLevelEncryptionList_nextMarker :: Lens' FieldLevelEncryptionList (Maybe Text)
-- | The maximum number of elements you want in the response body.
fieldLevelEncryptionList_maxItems :: Lens' FieldLevelEncryptionList Int
-- | The number of field-level encryption items.
fieldLevelEncryptionList_quantity :: Lens' FieldLevelEncryptionList Int
-- | A complex data type for field-level encryption profiles.
--
-- See: newFieldLevelEncryptionProfile smart constructor.
data FieldLevelEncryptionProfile
FieldLevelEncryptionProfile' :: Text -> ISO8601 -> FieldLevelEncryptionProfileConfig -> FieldLevelEncryptionProfile
-- | The ID for a field-level encryption profile configuration which
-- includes a set of profiles that specify certain selected data fields
-- to be encrypted by specific public keys.
[$sel:id:FieldLevelEncryptionProfile'] :: FieldLevelEncryptionProfile -> Text
-- | The last time the field-level encryption profile was updated.
[$sel:lastModifiedTime:FieldLevelEncryptionProfile'] :: FieldLevelEncryptionProfile -> ISO8601
-- | A complex data type that includes the profile name and the encryption
-- entities for the field-level encryption profile.
[$sel:fieldLevelEncryptionProfileConfig:FieldLevelEncryptionProfile'] :: FieldLevelEncryptionProfile -> FieldLevelEncryptionProfileConfig
-- | Create a value of FieldLevelEncryptionProfile with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:FieldLevelEncryptionProfile',
-- fieldLevelEncryptionProfile_id - The ID for a field-level
-- encryption profile configuration which includes a set of profiles that
-- specify certain selected data fields to be encrypted by specific
-- public keys.
--
-- $sel:lastModifiedTime:FieldLevelEncryptionProfile',
-- fieldLevelEncryptionProfile_lastModifiedTime - The last time
-- the field-level encryption profile was updated.
--
--
-- $sel:fieldLevelEncryptionProfileConfig:FieldLevelEncryptionProfile',
-- fieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig -
-- A complex data type that includes the profile name and the encryption
-- entities for the field-level encryption profile.
newFieldLevelEncryptionProfile :: Text -> UTCTime -> FieldLevelEncryptionProfileConfig -> FieldLevelEncryptionProfile
-- | The ID for a field-level encryption profile configuration which
-- includes a set of profiles that specify certain selected data fields
-- to be encrypted by specific public keys.
fieldLevelEncryptionProfile_id :: Lens' FieldLevelEncryptionProfile Text
-- | The last time the field-level encryption profile was updated.
fieldLevelEncryptionProfile_lastModifiedTime :: Lens' FieldLevelEncryptionProfile UTCTime
-- | A complex data type that includes the profile name and the encryption
-- entities for the field-level encryption profile.
fieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig :: Lens' FieldLevelEncryptionProfile FieldLevelEncryptionProfileConfig
-- | A complex data type of profiles for the field-level encryption.
--
-- See: newFieldLevelEncryptionProfileConfig smart
-- constructor.
data FieldLevelEncryptionProfileConfig
FieldLevelEncryptionProfileConfig' :: Maybe Text -> Text -> Text -> EncryptionEntities -> FieldLevelEncryptionProfileConfig
-- | An optional comment for the field-level encryption profile. The
-- comment cannot be longer than 128 characters.
[$sel:comment:FieldLevelEncryptionProfileConfig'] :: FieldLevelEncryptionProfileConfig -> Maybe Text
-- | Profile name for the field-level encryption profile.
[$sel:name:FieldLevelEncryptionProfileConfig'] :: FieldLevelEncryptionProfileConfig -> Text
-- | A unique number that ensures that the request can't be replayed.
[$sel:callerReference:FieldLevelEncryptionProfileConfig'] :: FieldLevelEncryptionProfileConfig -> Text
-- | A complex data type of encryption entities for the field-level
-- encryption profile that include the public key ID, provider, and field
-- patterns for specifying which fields to encrypt with this key.
[$sel:encryptionEntities:FieldLevelEncryptionProfileConfig'] :: FieldLevelEncryptionProfileConfig -> EncryptionEntities
-- | Create a value of FieldLevelEncryptionProfileConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:FieldLevelEncryptionProfileConfig',
-- fieldLevelEncryptionProfileConfig_comment - An optional comment
-- for the field-level encryption profile. The comment cannot be longer
-- than 128 characters.
--
-- $sel:name:FieldLevelEncryptionProfileConfig',
-- fieldLevelEncryptionProfileConfig_name - Profile name for the
-- field-level encryption profile.
--
-- $sel:callerReference:FieldLevelEncryptionProfileConfig',
-- fieldLevelEncryptionProfileConfig_callerReference - A unique
-- number that ensures that the request can't be replayed.
--
-- $sel:encryptionEntities:FieldLevelEncryptionProfileConfig',
-- fieldLevelEncryptionProfileConfig_encryptionEntities - A
-- complex data type of encryption entities for the field-level
-- encryption profile that include the public key ID, provider, and field
-- patterns for specifying which fields to encrypt with this key.
newFieldLevelEncryptionProfileConfig :: Text -> Text -> EncryptionEntities -> FieldLevelEncryptionProfileConfig
-- | An optional comment for the field-level encryption profile. The
-- comment cannot be longer than 128 characters.
fieldLevelEncryptionProfileConfig_comment :: Lens' FieldLevelEncryptionProfileConfig (Maybe Text)
-- | Profile name for the field-level encryption profile.
fieldLevelEncryptionProfileConfig_name :: Lens' FieldLevelEncryptionProfileConfig Text
-- | A unique number that ensures that the request can't be replayed.
fieldLevelEncryptionProfileConfig_callerReference :: Lens' FieldLevelEncryptionProfileConfig Text
-- | A complex data type of encryption entities for the field-level
-- encryption profile that include the public key ID, provider, and field
-- patterns for specifying which fields to encrypt with this key.
fieldLevelEncryptionProfileConfig_encryptionEntities :: Lens' FieldLevelEncryptionProfileConfig EncryptionEntities
-- | List of field-level encryption profiles.
--
-- See: newFieldLevelEncryptionProfileList smart
-- constructor.
data FieldLevelEncryptionProfileList
FieldLevelEncryptionProfileList' :: Maybe [FieldLevelEncryptionProfileSummary] -> Maybe Text -> Int -> Int -> FieldLevelEncryptionProfileList
-- | The field-level encryption profile items.
[$sel:items:FieldLevelEncryptionProfileList'] :: FieldLevelEncryptionProfileList -> Maybe [FieldLevelEncryptionProfileSummary]
-- | If there are more elements to be listed, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your profiles where you left off.
[$sel:nextMarker:FieldLevelEncryptionProfileList'] :: FieldLevelEncryptionProfileList -> Maybe Text
-- | The maximum number of field-level encryption profiles you want in the
-- response body.
[$sel:maxItems:FieldLevelEncryptionProfileList'] :: FieldLevelEncryptionProfileList -> Int
-- | The number of field-level encryption profiles.
[$sel:quantity:FieldLevelEncryptionProfileList'] :: FieldLevelEncryptionProfileList -> Int
-- | Create a value of FieldLevelEncryptionProfileList with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:FieldLevelEncryptionProfileList',
-- fieldLevelEncryptionProfileList_items - The field-level
-- encryption profile items.
--
-- $sel:nextMarker:FieldLevelEncryptionProfileList',
-- fieldLevelEncryptionProfileList_nextMarker - If there are more
-- elements to be listed, this element is present and contains the value
-- that you can use for the Marker request parameter to continue
-- listing your profiles where you left off.
--
-- $sel:maxItems:FieldLevelEncryptionProfileList',
-- fieldLevelEncryptionProfileList_maxItems - The maximum number
-- of field-level encryption profiles you want in the response body.
--
-- $sel:quantity:FieldLevelEncryptionProfileList',
-- fieldLevelEncryptionProfileList_quantity - The number of
-- field-level encryption profiles.
newFieldLevelEncryptionProfileList :: Int -> Int -> FieldLevelEncryptionProfileList
-- | The field-level encryption profile items.
fieldLevelEncryptionProfileList_items :: Lens' FieldLevelEncryptionProfileList (Maybe [FieldLevelEncryptionProfileSummary])
-- | If there are more elements to be listed, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your profiles where you left off.
fieldLevelEncryptionProfileList_nextMarker :: Lens' FieldLevelEncryptionProfileList (Maybe Text)
-- | The maximum number of field-level encryption profiles you want in the
-- response body.
fieldLevelEncryptionProfileList_maxItems :: Lens' FieldLevelEncryptionProfileList Int
-- | The number of field-level encryption profiles.
fieldLevelEncryptionProfileList_quantity :: Lens' FieldLevelEncryptionProfileList Int
-- | The field-level encryption profile summary.
--
-- See: newFieldLevelEncryptionProfileSummary smart
-- constructor.
data FieldLevelEncryptionProfileSummary
FieldLevelEncryptionProfileSummary' :: Maybe Text -> Text -> ISO8601 -> Text -> EncryptionEntities -> FieldLevelEncryptionProfileSummary
-- | An optional comment for the field-level encryption profile summary.
-- The comment cannot be longer than 128 characters.
[$sel:comment:FieldLevelEncryptionProfileSummary'] :: FieldLevelEncryptionProfileSummary -> Maybe Text
-- | ID for the field-level encryption profile summary.
[$sel:id:FieldLevelEncryptionProfileSummary'] :: FieldLevelEncryptionProfileSummary -> Text
-- | The time when the the field-level encryption profile summary was last
-- updated.
[$sel:lastModifiedTime:FieldLevelEncryptionProfileSummary'] :: FieldLevelEncryptionProfileSummary -> ISO8601
-- | Name for the field-level encryption profile summary.
[$sel:name:FieldLevelEncryptionProfileSummary'] :: FieldLevelEncryptionProfileSummary -> Text
-- | A complex data type of encryption entities for the field-level
-- encryption profile that include the public key ID, provider, and field
-- patterns for specifying which fields to encrypt with this key.
[$sel:encryptionEntities:FieldLevelEncryptionProfileSummary'] :: FieldLevelEncryptionProfileSummary -> EncryptionEntities
-- | Create a value of FieldLevelEncryptionProfileSummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:FieldLevelEncryptionProfileSummary',
-- fieldLevelEncryptionProfileSummary_comment - An optional
-- comment for the field-level encryption profile summary. The comment
-- cannot be longer than 128 characters.
--
-- $sel:id:FieldLevelEncryptionProfileSummary',
-- fieldLevelEncryptionProfileSummary_id - ID for the field-level
-- encryption profile summary.
--
-- $sel:lastModifiedTime:FieldLevelEncryptionProfileSummary',
-- fieldLevelEncryptionProfileSummary_lastModifiedTime - The time
-- when the the field-level encryption profile summary was last updated.
--
-- $sel:name:FieldLevelEncryptionProfileSummary',
-- fieldLevelEncryptionProfileSummary_name - Name for the
-- field-level encryption profile summary.
--
-- $sel:encryptionEntities:FieldLevelEncryptionProfileSummary',
-- fieldLevelEncryptionProfileSummary_encryptionEntities - A
-- complex data type of encryption entities for the field-level
-- encryption profile that include the public key ID, provider, and field
-- patterns for specifying which fields to encrypt with this key.
newFieldLevelEncryptionProfileSummary :: Text -> UTCTime -> Text -> EncryptionEntities -> FieldLevelEncryptionProfileSummary
-- | An optional comment for the field-level encryption profile summary.
-- The comment cannot be longer than 128 characters.
fieldLevelEncryptionProfileSummary_comment :: Lens' FieldLevelEncryptionProfileSummary (Maybe Text)
-- | ID for the field-level encryption profile summary.
fieldLevelEncryptionProfileSummary_id :: Lens' FieldLevelEncryptionProfileSummary Text
-- | The time when the the field-level encryption profile summary was last
-- updated.
fieldLevelEncryptionProfileSummary_lastModifiedTime :: Lens' FieldLevelEncryptionProfileSummary UTCTime
-- | Name for the field-level encryption profile summary.
fieldLevelEncryptionProfileSummary_name :: Lens' FieldLevelEncryptionProfileSummary Text
-- | A complex data type of encryption entities for the field-level
-- encryption profile that include the public key ID, provider, and field
-- patterns for specifying which fields to encrypt with this key.
fieldLevelEncryptionProfileSummary_encryptionEntities :: Lens' FieldLevelEncryptionProfileSummary EncryptionEntities
-- | A summary of a field-level encryption item.
--
-- See: newFieldLevelEncryptionSummary smart constructor.
data FieldLevelEncryptionSummary
FieldLevelEncryptionSummary' :: Maybe Text -> Maybe ContentTypeProfileConfig -> Maybe QueryArgProfileConfig -> Text -> ISO8601 -> FieldLevelEncryptionSummary
-- | An optional comment about the field-level encryption item. The comment
-- cannot be longer than 128 characters.
[$sel:comment:FieldLevelEncryptionSummary'] :: FieldLevelEncryptionSummary -> Maybe Text
-- | A summary of a content type-profile mapping.
[$sel:contentTypeProfileConfig:FieldLevelEncryptionSummary'] :: FieldLevelEncryptionSummary -> Maybe ContentTypeProfileConfig
-- | A summary of a query argument-profile mapping.
[$sel:queryArgProfileConfig:FieldLevelEncryptionSummary'] :: FieldLevelEncryptionSummary -> Maybe QueryArgProfileConfig
-- | The unique ID of a field-level encryption item.
[$sel:id:FieldLevelEncryptionSummary'] :: FieldLevelEncryptionSummary -> Text
-- | The last time that the summary of field-level encryption items was
-- modified.
[$sel:lastModifiedTime:FieldLevelEncryptionSummary'] :: FieldLevelEncryptionSummary -> ISO8601
-- | Create a value of FieldLevelEncryptionSummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:FieldLevelEncryptionSummary',
-- fieldLevelEncryptionSummary_comment - An optional comment about
-- the field-level encryption item. The comment cannot be longer than 128
-- characters.
--
-- $sel:contentTypeProfileConfig:FieldLevelEncryptionSummary',
-- fieldLevelEncryptionSummary_contentTypeProfileConfig - A
-- summary of a content type-profile mapping.
--
-- $sel:queryArgProfileConfig:FieldLevelEncryptionSummary',
-- fieldLevelEncryptionSummary_queryArgProfileConfig - A summary
-- of a query argument-profile mapping.
--
-- $sel:id:FieldLevelEncryptionSummary',
-- fieldLevelEncryptionSummary_id - The unique ID of a field-level
-- encryption item.
--
-- $sel:lastModifiedTime:FieldLevelEncryptionSummary',
-- fieldLevelEncryptionSummary_lastModifiedTime - The last time
-- that the summary of field-level encryption items was modified.
newFieldLevelEncryptionSummary :: Text -> UTCTime -> FieldLevelEncryptionSummary
-- | An optional comment about the field-level encryption item. The comment
-- cannot be longer than 128 characters.
fieldLevelEncryptionSummary_comment :: Lens' FieldLevelEncryptionSummary (Maybe Text)
-- | A summary of a content type-profile mapping.
fieldLevelEncryptionSummary_contentTypeProfileConfig :: Lens' FieldLevelEncryptionSummary (Maybe ContentTypeProfileConfig)
-- | A summary of a query argument-profile mapping.
fieldLevelEncryptionSummary_queryArgProfileConfig :: Lens' FieldLevelEncryptionSummary (Maybe QueryArgProfileConfig)
-- | The unique ID of a field-level encryption item.
fieldLevelEncryptionSummary_id :: Lens' FieldLevelEncryptionSummary Text
-- | The last time that the summary of field-level encryption items was
-- modified.
fieldLevelEncryptionSummary_lastModifiedTime :: Lens' FieldLevelEncryptionSummary UTCTime
-- | A complex data type that includes the field patterns to match for
-- field-level encryption.
--
-- See: newFieldPatterns smart constructor.
data FieldPatterns
FieldPatterns' :: Maybe [Text] -> Int -> FieldPatterns
-- | An array of the field-level encryption field patterns.
[$sel:items:FieldPatterns'] :: FieldPatterns -> Maybe [Text]
-- | The number of field-level encryption field patterns.
[$sel:quantity:FieldPatterns'] :: FieldPatterns -> Int
-- | Create a value of FieldPatterns with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:FieldPatterns', fieldPatterns_items - An
-- array of the field-level encryption field patterns.
--
-- $sel:quantity:FieldPatterns', fieldPatterns_quantity -
-- The number of field-level encryption field patterns.
newFieldPatterns :: Int -> FieldPatterns
-- | An array of the field-level encryption field patterns.
fieldPatterns_items :: Lens' FieldPatterns (Maybe [Text])
-- | The number of field-level encryption field patterns.
fieldPatterns_quantity :: Lens' FieldPatterns Int
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include values in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send values to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- A complex type that specifies how CloudFront handles query strings,
-- cookies, and HTTP headers.
--
-- See: newForwardedValues smart constructor.
data ForwardedValues
ForwardedValues' :: Maybe Headers -> Maybe QueryStringCacheKeys -> Bool -> CookiePreference -> ForwardedValues
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include headers in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send headers to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- A complex type that specifies the Headers, if any, that you
-- want CloudFront to forward to the origin for this cache behavior
-- (whitelisted headers). For the headers that you specify, CloudFront
-- also caches separate versions of a specified object that is based on
-- the header values in viewer requests.
--
-- For more information, see Caching Content Based on Request
-- Headers in the Amazon CloudFront Developer Guide.
[$sel:headers:ForwardedValues'] :: ForwardedValues -> Maybe Headers
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include query strings in the cache key, use a cache
-- policy. For more information, see Creating cache policies in
-- the Amazon CloudFront Developer Guide.
--
-- If you want to send query strings to the origin but not include them
-- in the cache key, use an origin request policy. For more information,
-- see Creating origin request policies in the Amazon
-- CloudFront Developer Guide.
--
-- A complex type that contains information about the query string
-- parameters that you want CloudFront to use for caching for this cache
-- behavior.
[$sel:queryStringCacheKeys:ForwardedValues'] :: ForwardedValues -> Maybe QueryStringCacheKeys
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include query strings in the cache key, use a cache
-- policy. For more information, see Creating cache policies in
-- the Amazon CloudFront Developer Guide.
--
-- If you want to send query strings to the origin but not include them
-- in the cache key, use an origin request policy. For more information,
-- see Creating origin request policies in the Amazon
-- CloudFront Developer Guide.
--
-- Indicates whether you want CloudFront to forward query strings to the
-- origin that is associated with this cache behavior and cache based on
-- the query string parameters. CloudFront behavior depends on the value
-- of QueryString and on the values that you specify for
-- QueryStringCacheKeys, if any:
--
-- If you specify true for QueryString and you don't specify any
-- values for QueryStringCacheKeys, CloudFront forwards all
-- query string parameters to the origin and caches based on all query
-- string parameters. Depending on how many query string parameters and
-- values you have, this can adversely affect performance because
-- CloudFront must forward more requests to the origin.
--
-- If you specify true for QueryString and you specify one or
-- more values for QueryStringCacheKeys, CloudFront forwards all
-- query string parameters to the origin, but it only caches based on the
-- query string parameters that you specify.
--
-- If you specify false for QueryString, CloudFront doesn't
-- forward any query string parameters to the origin, and doesn't cache
-- based on query string parameters.
--
-- For more information, see Configuring CloudFront to Cache Based on
-- Query String Parameters in the Amazon CloudFront Developer
-- Guide.
[$sel:queryString:ForwardedValues'] :: ForwardedValues -> Bool
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- A complex type that specifies whether you want CloudFront to forward
-- cookies to the origin and, if so, which ones. For more information
-- about forwarding cookies to the origin, see How CloudFront
-- Forwards, Caches, and Logs Cookies in the Amazon CloudFront
-- Developer Guide.
[$sel:cookies:ForwardedValues'] :: ForwardedValues -> CookiePreference
-- | Create a value of ForwardedValues with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:headers:ForwardedValues', forwardedValues_headers -
-- This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include headers in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send headers to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- A complex type that specifies the Headers, if any, that you
-- want CloudFront to forward to the origin for this cache behavior
-- (whitelisted headers). For the headers that you specify, CloudFront
-- also caches separate versions of a specified object that is based on
-- the header values in viewer requests.
--
-- For more information, see Caching Content Based on Request
-- Headers in the Amazon CloudFront Developer Guide.
--
-- $sel:queryStringCacheKeys:ForwardedValues',
-- forwardedValues_queryStringCacheKeys - This field is
-- deprecated. We recommend that you use a cache policy or an origin
-- request policy instead of this field.
--
-- If you want to include query strings in the cache key, use a cache
-- policy. For more information, see Creating cache policies in
-- the Amazon CloudFront Developer Guide.
--
-- If you want to send query strings to the origin but not include them
-- in the cache key, use an origin request policy. For more information,
-- see Creating origin request policies in the Amazon
-- CloudFront Developer Guide.
--
-- A complex type that contains information about the query string
-- parameters that you want CloudFront to use for caching for this cache
-- behavior.
--
-- $sel:queryString:ForwardedValues',
-- forwardedValues_queryString - This field is deprecated. We
-- recommend that you use a cache policy or an origin request policy
-- instead of this field.
--
-- If you want to include query strings in the cache key, use a cache
-- policy. For more information, see Creating cache policies in
-- the Amazon CloudFront Developer Guide.
--
-- If you want to send query strings to the origin but not include them
-- in the cache key, use an origin request policy. For more information,
-- see Creating origin request policies in the Amazon
-- CloudFront Developer Guide.
--
-- Indicates whether you want CloudFront to forward query strings to the
-- origin that is associated with this cache behavior and cache based on
-- the query string parameters. CloudFront behavior depends on the value
-- of QueryString and on the values that you specify for
-- QueryStringCacheKeys, if any:
--
-- If you specify true for QueryString and you don't specify any
-- values for QueryStringCacheKeys, CloudFront forwards all
-- query string parameters to the origin and caches based on all query
-- string parameters. Depending on how many query string parameters and
-- values you have, this can adversely affect performance because
-- CloudFront must forward more requests to the origin.
--
-- If you specify true for QueryString and you specify one or
-- more values for QueryStringCacheKeys, CloudFront forwards all
-- query string parameters to the origin, but it only caches based on the
-- query string parameters that you specify.
--
-- If you specify false for QueryString, CloudFront doesn't
-- forward any query string parameters to the origin, and doesn't cache
-- based on query string parameters.
--
-- For more information, see Configuring CloudFront to Cache Based on
-- Query String Parameters in the Amazon CloudFront Developer
-- Guide.
--
-- $sel:cookies:ForwardedValues', forwardedValues_cookies -
-- This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- A complex type that specifies whether you want CloudFront to forward
-- cookies to the origin and, if so, which ones. For more information
-- about forwarding cookies to the origin, see How CloudFront
-- Forwards, Caches, and Logs Cookies in the Amazon CloudFront
-- Developer Guide.
newForwardedValues :: Bool -> CookiePreference -> ForwardedValues
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include headers in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send headers to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- A complex type that specifies the Headers, if any, that you
-- want CloudFront to forward to the origin for this cache behavior
-- (whitelisted headers). For the headers that you specify, CloudFront
-- also caches separate versions of a specified object that is based on
-- the header values in viewer requests.
--
-- For more information, see Caching Content Based on Request
-- Headers in the Amazon CloudFront Developer Guide.
forwardedValues_headers :: Lens' ForwardedValues (Maybe Headers)
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include query strings in the cache key, use a cache
-- policy. For more information, see Creating cache policies in
-- the Amazon CloudFront Developer Guide.
--
-- If you want to send query strings to the origin but not include them
-- in the cache key, use an origin request policy. For more information,
-- see Creating origin request policies in the Amazon
-- CloudFront Developer Guide.
--
-- A complex type that contains information about the query string
-- parameters that you want CloudFront to use for caching for this cache
-- behavior.
forwardedValues_queryStringCacheKeys :: Lens' ForwardedValues (Maybe QueryStringCacheKeys)
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include query strings in the cache key, use a cache
-- policy. For more information, see Creating cache policies in
-- the Amazon CloudFront Developer Guide.
--
-- If you want to send query strings to the origin but not include them
-- in the cache key, use an origin request policy. For more information,
-- see Creating origin request policies in the Amazon
-- CloudFront Developer Guide.
--
-- Indicates whether you want CloudFront to forward query strings to the
-- origin that is associated with this cache behavior and cache based on
-- the query string parameters. CloudFront behavior depends on the value
-- of QueryString and on the values that you specify for
-- QueryStringCacheKeys, if any:
--
-- If you specify true for QueryString and you don't specify any
-- values for QueryStringCacheKeys, CloudFront forwards all
-- query string parameters to the origin and caches based on all query
-- string parameters. Depending on how many query string parameters and
-- values you have, this can adversely affect performance because
-- CloudFront must forward more requests to the origin.
--
-- If you specify true for QueryString and you specify one or
-- more values for QueryStringCacheKeys, CloudFront forwards all
-- query string parameters to the origin, but it only caches based on the
-- query string parameters that you specify.
--
-- If you specify false for QueryString, CloudFront doesn't
-- forward any query string parameters to the origin, and doesn't cache
-- based on query string parameters.
--
-- For more information, see Configuring CloudFront to Cache Based on
-- Query String Parameters in the Amazon CloudFront Developer
-- Guide.
forwardedValues_queryString :: Lens' ForwardedValues Bool
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- A complex type that specifies whether you want CloudFront to forward
-- cookies to the origin and, if so, which ones. For more information
-- about forwarding cookies to the origin, see How CloudFront
-- Forwards, Caches, and Logs Cookies in the Amazon CloudFront
-- Developer Guide.
forwardedValues_cookies :: Lens' ForwardedValues CookiePreference
-- | A CloudFront function that is associated with a cache behavior in a
-- CloudFront distribution.
--
-- See: newFunctionAssociation smart constructor.
data FunctionAssociation
FunctionAssociation' :: Text -> EventType -> FunctionAssociation
-- | The Amazon Resource Name (ARN) of the function.
[$sel:functionARN:FunctionAssociation'] :: FunctionAssociation -> Text
-- | The event type of the function, either viewer-request or
-- viewer-response. You cannot use origin-facing event types
-- (origin-request and origin-response) with a
-- CloudFront function.
[$sel:eventType:FunctionAssociation'] :: FunctionAssociation -> EventType
-- | Create a value of FunctionAssociation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:functionARN:FunctionAssociation',
-- functionAssociation_functionARN - The Amazon Resource Name
-- (ARN) of the function.
--
-- $sel:eventType:FunctionAssociation',
-- functionAssociation_eventType - The event type of the function,
-- either viewer-request or viewer-response. You cannot
-- use origin-facing event types (origin-request and
-- origin-response) with a CloudFront function.
newFunctionAssociation :: Text -> EventType -> FunctionAssociation
-- | The Amazon Resource Name (ARN) of the function.
functionAssociation_functionARN :: Lens' FunctionAssociation Text
-- | The event type of the function, either viewer-request or
-- viewer-response. You cannot use origin-facing event types
-- (origin-request and origin-response) with a
-- CloudFront function.
functionAssociation_eventType :: Lens' FunctionAssociation EventType
-- | A list of CloudFront functions that are associated with a cache
-- behavior in a CloudFront distribution. CloudFront functions must be
-- published to the LIVE stage to associate them with a cache
-- behavior.
--
-- See: newFunctionAssociations smart constructor.
data FunctionAssociations
FunctionAssociations' :: Maybe [FunctionAssociation] -> Int -> FunctionAssociations
-- | The CloudFront functions that are associated with a cache behavior in
-- a CloudFront distribution. CloudFront functions must be published to
-- the LIVE stage to associate them with a cache behavior.
[$sel:items:FunctionAssociations'] :: FunctionAssociations -> Maybe [FunctionAssociation]
-- | The number of CloudFront functions in the list.
[$sel:quantity:FunctionAssociations'] :: FunctionAssociations -> Int
-- | Create a value of FunctionAssociations with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:FunctionAssociations',
-- functionAssociations_items - The CloudFront functions that are
-- associated with a cache behavior in a CloudFront distribution.
-- CloudFront functions must be published to the LIVE stage to
-- associate them with a cache behavior.
--
-- $sel:quantity:FunctionAssociations',
-- functionAssociations_quantity - The number of CloudFront
-- functions in the list.
newFunctionAssociations :: Int -> FunctionAssociations
-- | The CloudFront functions that are associated with a cache behavior in
-- a CloudFront distribution. CloudFront functions must be published to
-- the LIVE stage to associate them with a cache behavior.
functionAssociations_items :: Lens' FunctionAssociations (Maybe [FunctionAssociation])
-- | The number of CloudFront functions in the list.
functionAssociations_quantity :: Lens' FunctionAssociations Int
-- | Contains configuration information about a CloudFront function.
--
-- See: newFunctionConfig smart constructor.
data FunctionConfig
FunctionConfig' :: Text -> FunctionRuntime -> FunctionConfig
-- | A comment to describe the function.
[$sel:comment:FunctionConfig'] :: FunctionConfig -> Text
-- | The function's runtime environment. The only valid value is
-- cloudfront-js-1.0.
[$sel:runtime:FunctionConfig'] :: FunctionConfig -> FunctionRuntime
-- | Create a value of FunctionConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:FunctionConfig', functionConfig_comment - A
-- comment to describe the function.
--
-- $sel:runtime:FunctionConfig', functionConfig_runtime -
-- The function's runtime environment. The only valid value is
-- cloudfront-js-1.0.
newFunctionConfig :: Text -> FunctionRuntime -> FunctionConfig
-- | A comment to describe the function.
functionConfig_comment :: Lens' FunctionConfig Text
-- | The function's runtime environment. The only valid value is
-- cloudfront-js-1.0.
functionConfig_runtime :: Lens' FunctionConfig FunctionRuntime
-- | A list of CloudFront functions.
--
-- See: newFunctionList smart constructor.
data FunctionList
FunctionList' :: Maybe [FunctionSummary] -> Maybe Text -> Int -> Int -> FunctionList
-- | Contains the functions in the list.
[$sel:items:FunctionList'] :: FunctionList -> Maybe [FunctionSummary]
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- functions where you left off.
[$sel:nextMarker:FunctionList'] :: FunctionList -> Maybe Text
-- | The maximum number of functions requested.
[$sel:maxItems:FunctionList'] :: FunctionList -> Int
-- | The number of functions returned in the response.
[$sel:quantity:FunctionList'] :: FunctionList -> Int
-- | Create a value of FunctionList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:FunctionList', functionList_items - Contains
-- the functions in the list.
--
-- $sel:nextMarker:FunctionList', functionList_nextMarker -
-- If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- functions where you left off.
--
-- $sel:maxItems:FunctionList', functionList_maxItems - The
-- maximum number of functions requested.
--
-- $sel:quantity:FunctionList', functionList_quantity - The
-- number of functions returned in the response.
newFunctionList :: Int -> Int -> FunctionList
-- | Contains the functions in the list.
functionList_items :: Lens' FunctionList (Maybe [FunctionSummary])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- functions where you left off.
functionList_nextMarker :: Lens' FunctionList (Maybe Text)
-- | The maximum number of functions requested.
functionList_maxItems :: Lens' FunctionList Int
-- | The number of functions returned in the response.
functionList_quantity :: Lens' FunctionList Int
-- | Contains metadata about a CloudFront function.
--
-- See: newFunctionMetadata smart constructor.
data FunctionMetadata
FunctionMetadata' :: Maybe ISO8601 -> Maybe FunctionStage -> Text -> ISO8601 -> FunctionMetadata
-- | The date and time when the function was created.
[$sel:createdTime:FunctionMetadata'] :: FunctionMetadata -> Maybe ISO8601
-- | The stage that the function is in, either DEVELOPMENT or
-- LIVE.
--
-- When a function is in the DEVELOPMENT stage, you can test the
-- function with TestFunction, and update it with
-- UpdateFunction.
--
-- When a function is in the LIVE stage, you can attach the
-- function to a distribution's cache behavior, using the function's ARN.
[$sel:stage:FunctionMetadata'] :: FunctionMetadata -> Maybe FunctionStage
-- | The Amazon Resource Name (ARN) of the function. The ARN uniquely
-- identifies the function.
[$sel:functionARN:FunctionMetadata'] :: FunctionMetadata -> Text
-- | The date and time when the function was most recently updated.
[$sel:lastModifiedTime:FunctionMetadata'] :: FunctionMetadata -> ISO8601
-- | Create a value of FunctionMetadata with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:createdTime:FunctionMetadata',
-- functionMetadata_createdTime - The date and time when the
-- function was created.
--
-- $sel:stage:FunctionMetadata', functionMetadata_stage -
-- The stage that the function is in, either DEVELOPMENT or
-- LIVE.
--
-- When a function is in the DEVELOPMENT stage, you can test the
-- function with TestFunction, and update it with
-- UpdateFunction.
--
-- When a function is in the LIVE stage, you can attach the
-- function to a distribution's cache behavior, using the function's ARN.
--
-- $sel:functionARN:FunctionMetadata',
-- functionMetadata_functionARN - The Amazon Resource Name (ARN)
-- of the function. The ARN uniquely identifies the function.
--
-- $sel:lastModifiedTime:FunctionMetadata',
-- functionMetadata_lastModifiedTime - The date and time when the
-- function was most recently updated.
newFunctionMetadata :: Text -> UTCTime -> FunctionMetadata
-- | The date and time when the function was created.
functionMetadata_createdTime :: Lens' FunctionMetadata (Maybe UTCTime)
-- | The stage that the function is in, either DEVELOPMENT or
-- LIVE.
--
-- When a function is in the DEVELOPMENT stage, you can test the
-- function with TestFunction, and update it with
-- UpdateFunction.
--
-- When a function is in the LIVE stage, you can attach the
-- function to a distribution's cache behavior, using the function's ARN.
functionMetadata_stage :: Lens' FunctionMetadata (Maybe FunctionStage)
-- | The Amazon Resource Name (ARN) of the function. The ARN uniquely
-- identifies the function.
functionMetadata_functionARN :: Lens' FunctionMetadata Text
-- | The date and time when the function was most recently updated.
functionMetadata_lastModifiedTime :: Lens' FunctionMetadata UTCTime
-- | Contains configuration information and metadata about a CloudFront
-- function.
--
-- See: newFunctionSummary smart constructor.
data FunctionSummary
FunctionSummary' :: Maybe Text -> Text -> FunctionConfig -> FunctionMetadata -> FunctionSummary
-- | The status of the CloudFront function.
[$sel:status:FunctionSummary'] :: FunctionSummary -> Maybe Text
-- | The name of the CloudFront function.
[$sel:name:FunctionSummary'] :: FunctionSummary -> Text
-- | Contains configuration information about a CloudFront function.
[$sel:functionConfig:FunctionSummary'] :: FunctionSummary -> FunctionConfig
-- | Contains metadata about a CloudFront function.
[$sel:functionMetadata:FunctionSummary'] :: FunctionSummary -> FunctionMetadata
-- | Create a value of FunctionSummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:status:FunctionSummary', functionSummary_status -
-- The status of the CloudFront function.
--
-- $sel:name:FunctionSummary', functionSummary_name - The
-- name of the CloudFront function.
--
-- $sel:functionConfig:FunctionSummary',
-- functionSummary_functionConfig - Contains configuration
-- information about a CloudFront function.
--
-- $sel:functionMetadata:FunctionSummary',
-- functionSummary_functionMetadata - Contains metadata about a
-- CloudFront function.
newFunctionSummary :: Text -> FunctionConfig -> FunctionMetadata -> FunctionSummary
-- | The status of the CloudFront function.
functionSummary_status :: Lens' FunctionSummary (Maybe Text)
-- | The name of the CloudFront function.
functionSummary_name :: Lens' FunctionSummary Text
-- | Contains configuration information about a CloudFront function.
functionSummary_functionConfig :: Lens' FunctionSummary FunctionConfig
-- | Contains metadata about a CloudFront function.
functionSummary_functionMetadata :: Lens' FunctionSummary FunctionMetadata
-- | A complex type that controls the countries in which your content is
-- distributed. CloudFront determines the location of your users using
-- MaxMind GeoIP databases.
--
-- See: newGeoRestriction smart constructor.
data GeoRestriction
GeoRestriction' :: Maybe [Text] -> 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 on the CloudFront console, which includes both country
-- names and codes.
[$sel:items:GeoRestriction'] :: GeoRestriction -> Maybe [Text]
-- | 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 don't want CloudFront to distribute your
-- content.
-- - whitelist: The Location elements specify the
-- countries in which you want CloudFront to distribute your
-- content.
--
[$sel:restrictionType:GeoRestriction'] :: GeoRestriction -> GeoRestrictionType
-- | 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.
[$sel:quantity:GeoRestriction'] :: GeoRestriction -> Int
-- | Create a value of GeoRestriction with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:GeoRestriction', geoRestriction_items - 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 on the CloudFront console, which includes both country
-- names and codes.
--
-- $sel:restrictionType:GeoRestriction',
-- geoRestriction_restrictionType - 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 don't want CloudFront to distribute your
-- content.
-- - whitelist: The Location elements specify the
-- countries in which you want CloudFront to distribute your
-- content.
--
--
-- $sel:quantity:GeoRestriction', geoRestriction_quantity -
-- 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.
newGeoRestriction :: 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 on the CloudFront console, which includes both country
-- names and codes.
geoRestriction_items :: Lens' GeoRestriction (Maybe [Text])
-- | 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 don't want CloudFront to distribute your
-- content.
-- - whitelist: The Location elements specify the
-- countries in which you want CloudFront to distribute your
-- content.
--
geoRestriction_restrictionType :: Lens' GeoRestriction GeoRestrictionType
-- | 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.
geoRestriction_quantity :: Lens' GeoRestriction Int
-- | Contains a list of HTTP header names.
--
-- See: newHeaders smart constructor.
data Headers
Headers' :: Maybe [Text] -> Int -> Headers
-- | A list of HTTP header names.
[$sel:items:Headers'] :: Headers -> Maybe [Text]
-- | The number of header names in the Items list.
[$sel:quantity:Headers'] :: Headers -> Int
-- | Create a value of Headers with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:Headers', headers_items - A list of HTTP
-- header names.
--
-- $sel:quantity:Headers', headers_quantity - The number of
-- header names in the Items list.
newHeaders :: Int -> Headers
-- | A list of HTTP header names.
headers_items :: Lens' Headers (Maybe [Text])
-- | The number of header names in the Items list.
headers_quantity :: Lens' Headers Int
-- | An invalidation.
--
-- See: newInvalidation smart constructor.
data Invalidation
Invalidation' :: Text -> Text -> ISO8601 -> InvalidationBatch -> Invalidation
-- | The identifier for the invalidation request. For example:
-- IDFDVBD632BHDS5.
[$sel:id:Invalidation'] :: Invalidation -> Text
-- | The status of the invalidation request. When the invalidation batch is
-- finished, the status is Completed.
[$sel:status:Invalidation'] :: Invalidation -> Text
-- | The date and time the invalidation request was first made.
[$sel:createTime:Invalidation'] :: Invalidation -> ISO8601
-- | The current invalidation information for the batch request.
[$sel:invalidationBatch:Invalidation'] :: Invalidation -> InvalidationBatch
-- | Create a value of Invalidation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:Invalidation', invalidation_id - The identifier
-- for the invalidation request. For example: IDFDVBD632BHDS5.
--
-- $sel:status:Invalidation', invalidation_status - The
-- status of the invalidation request. When the invalidation batch is
-- finished, the status is Completed.
--
-- $sel:createTime:Invalidation', invalidation_createTime -
-- The date and time the invalidation request was first made.
--
-- $sel:invalidationBatch:Invalidation',
-- invalidation_invalidationBatch - The current invalidation
-- information for the batch request.
newInvalidation :: Text -> Text -> UTCTime -> InvalidationBatch -> Invalidation
-- | The identifier for the invalidation request. For example:
-- IDFDVBD632BHDS5.
invalidation_id :: Lens' Invalidation Text
-- | The status of the invalidation request. When the invalidation batch is
-- finished, the status is Completed.
invalidation_status :: Lens' Invalidation Text
-- | The date and time the invalidation request was first made.
invalidation_createTime :: Lens' Invalidation UTCTime
-- | The current invalidation information for the batch request.
invalidation_invalidationBatch :: Lens' Invalidation InvalidationBatch
-- | An invalidation batch.
--
-- See: newInvalidationBatch smart constructor.
data InvalidationBatch
InvalidationBatch' :: Paths -> Text -> InvalidationBatch
-- | A complex type that contains information about the objects that you
-- want to invalidate. For more information, see Specifying the
-- Objects to Invalidate in the Amazon CloudFront Developer
-- Guide.
[$sel:paths:InvalidationBatch'] :: InvalidationBatch -> Paths
-- | A value that you specify to uniquely identify an invalidation request.
-- CloudFront uses the value to prevent you from accidentally
-- resubmitting an identical request. Whenever you create a new
-- invalidation request, you must specify a new value for
-- CallerReference and change other values in the request as
-- applicable. One way to ensure that the value of
-- CallerReference is unique is to use a timestamp, for
-- example, 20120301090000.
--
-- If you make a second invalidation request with the same value for
-- CallerReference, and if the rest of the request is the same,
-- CloudFront doesn't create a new invalidation request. Instead,
-- CloudFront returns information about the invalidation request that you
-- previously created with the same CallerReference.
--
-- If CallerReference is a value you already sent in a previous
-- invalidation batch request but the content of any Path is
-- different from the original request, CloudFront returns an
-- InvalidationBatchAlreadyExists error.
[$sel:callerReference:InvalidationBatch'] :: InvalidationBatch -> Text
-- | Create a value of InvalidationBatch with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:paths:InvalidationBatch', invalidationBatch_paths -
-- A complex type that contains information about the objects that you
-- want to invalidate. For more information, see Specifying the
-- Objects to Invalidate in the Amazon CloudFront Developer
-- Guide.
--
-- $sel:callerReference:InvalidationBatch',
-- invalidationBatch_callerReference - A value that you specify to
-- uniquely identify an invalidation request. CloudFront uses the value
-- to prevent you from accidentally resubmitting an identical request.
-- Whenever you create a new invalidation request, you must specify a new
-- value for CallerReference and change other values in the
-- request as applicable. One way to ensure that the value of
-- CallerReference is unique is to use a timestamp, for
-- example, 20120301090000.
--
-- If you make a second invalidation request with the same value for
-- CallerReference, and if the rest of the request is the same,
-- CloudFront doesn't create a new invalidation request. Instead,
-- CloudFront returns information about the invalidation request that you
-- previously created with the same CallerReference.
--
-- If CallerReference is a value you already sent in a previous
-- invalidation batch request but the content of any Path is
-- different from the original request, CloudFront returns an
-- InvalidationBatchAlreadyExists error.
newInvalidationBatch :: Paths -> Text -> InvalidationBatch
-- | A complex type that contains information about the objects that you
-- want to invalidate. For more information, see Specifying the
-- Objects to Invalidate in the Amazon CloudFront Developer
-- Guide.
invalidationBatch_paths :: Lens' InvalidationBatch Paths
-- | A value that you specify to uniquely identify an invalidation request.
-- CloudFront uses the value to prevent you from accidentally
-- resubmitting an identical request. Whenever you create a new
-- invalidation request, you must specify a new value for
-- CallerReference and change other values in the request as
-- applicable. One way to ensure that the value of
-- CallerReference is unique is to use a timestamp, for
-- example, 20120301090000.
--
-- If you make a second invalidation request with the same value for
-- CallerReference, and if the rest of the request is the same,
-- CloudFront doesn't create a new invalidation request. Instead,
-- CloudFront returns information about the invalidation request that you
-- previously created with the same CallerReference.
--
-- If CallerReference is a value you already sent in a previous
-- invalidation batch request but the content of any Path is
-- different from the original request, CloudFront returns an
-- InvalidationBatchAlreadyExists error.
invalidationBatch_callerReference :: Lens' InvalidationBatch Text
-- | The InvalidationList complex type describes the list of
-- invalidation objects. For more information about invalidation, see
-- Invalidating Objects (Web Distributions Only) in the Amazon
-- CloudFront Developer Guide.
--
-- See: newInvalidationList smart constructor.
data InvalidationList
InvalidationList' :: Maybe [InvalidationSummary] -> Maybe Text -> Text -> Int -> Bool -> Int -> InvalidationList
-- | A complex type that contains one InvalidationSummary element
-- for each invalidation batch created by the current Amazon Web Services
-- account.
[$sel:items:InvalidationList'] :: InvalidationList -> Maybe [InvalidationSummary]
-- | If IsTruncated is true, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your invalidation batches where they
-- left off.
[$sel:nextMarker:InvalidationList'] :: InvalidationList -> Maybe Text
-- | The value that you provided for the Marker request parameter.
[$sel:marker:InvalidationList'] :: InvalidationList -> Text
-- | The value that you provided for the MaxItems request
-- parameter.
[$sel:maxItems:InvalidationList'] :: InvalidationList -> Int
-- | 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.
[$sel:isTruncated:InvalidationList'] :: InvalidationList -> Bool
-- | The number of invalidation batches that were created by the current
-- Amazon Web Services account.
[$sel:quantity:InvalidationList'] :: InvalidationList -> Int
-- | Create a value of InvalidationList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:InvalidationList', invalidationList_items - A
-- complex type that contains one InvalidationSummary element
-- for each invalidation batch created by the current Amazon Web Services
-- account.
--
-- $sel:nextMarker:InvalidationList',
-- invalidationList_nextMarker - If IsTruncated is
-- true, this element is present and contains the value that you
-- can use for the Marker request parameter to continue listing
-- your invalidation batches where they left off.
--
-- $sel:marker:InvalidationList', invalidationList_marker -
-- The value that you provided for the Marker request parameter.
--
-- $sel:maxItems:InvalidationList',
-- invalidationList_maxItems - The value that you provided for the
-- MaxItems request parameter.
--
-- $sel:isTruncated:InvalidationList',
-- invalidationList_isTruncated - 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.
--
-- $sel:quantity:InvalidationList',
-- invalidationList_quantity - The number of invalidation batches
-- that were created by the current Amazon Web Services account.
newInvalidationList :: Text -> Int -> Bool -> Int -> InvalidationList
-- | A complex type that contains one InvalidationSummary element
-- for each invalidation batch created by the current Amazon Web Services
-- account.
invalidationList_items :: Lens' InvalidationList (Maybe [InvalidationSummary])
-- | If IsTruncated is true, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your invalidation batches where they
-- left off.
invalidationList_nextMarker :: Lens' InvalidationList (Maybe Text)
-- | The value that you provided for the Marker request parameter.
invalidationList_marker :: Lens' InvalidationList Text
-- | The value that you provided for the MaxItems request
-- parameter.
invalidationList_maxItems :: Lens' InvalidationList Int
-- | 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.
invalidationList_isTruncated :: Lens' InvalidationList Bool
-- | The number of invalidation batches that were created by the current
-- Amazon Web Services account.
invalidationList_quantity :: Lens' InvalidationList Int
-- | A summary of an invalidation request.
--
-- See: newInvalidationSummary smart constructor.
data InvalidationSummary
InvalidationSummary' :: Text -> ISO8601 -> Text -> InvalidationSummary
-- | The unique ID for an invalidation request.
[$sel:id:InvalidationSummary'] :: InvalidationSummary -> Text
-- | The time that an invalidation request was created.
[$sel:createTime:InvalidationSummary'] :: InvalidationSummary -> ISO8601
-- | The status of an invalidation request.
[$sel:status:InvalidationSummary'] :: InvalidationSummary -> Text
-- | Create a value of InvalidationSummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:InvalidationSummary', invalidationSummary_id -
-- The unique ID for an invalidation request.
--
-- $sel:createTime:InvalidationSummary',
-- invalidationSummary_createTime - The time that an invalidation
-- request was created.
--
-- $sel:status:InvalidationSummary',
-- invalidationSummary_status - The status of an invalidation
-- request.
newInvalidationSummary :: Text -> UTCTime -> Text -> InvalidationSummary
-- | The unique ID for an invalidation request.
invalidationSummary_id :: Lens' InvalidationSummary Text
-- | The time that an invalidation request was created.
invalidationSummary_createTime :: Lens' InvalidationSummary UTCTime
-- | The status of an invalidation request.
invalidationSummary_status :: Lens' InvalidationSummary Text
-- | A list of identifiers for the public keys that CloudFront can use to
-- verify the signatures of signed URLs and signed cookies.
--
-- See: newKGKeyPairIds smart constructor.
data KGKeyPairIds
KGKeyPairIds' :: Maybe Text -> Maybe KeyPairIds -> KGKeyPairIds
-- | The identifier of the key group that contains the public keys.
[$sel:keyGroupId:KGKeyPairIds'] :: KGKeyPairIds -> Maybe Text
[$sel:keyPairIds:KGKeyPairIds'] :: KGKeyPairIds -> Maybe KeyPairIds
-- | Create a value of KGKeyPairIds with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:keyGroupId:KGKeyPairIds', kGKeyPairIds_keyGroupId -
-- The identifier of the key group that contains the public keys.
--
-- $sel:keyPairIds:KGKeyPairIds', kGKeyPairIds_keyPairIds -
-- Undocumented member.
newKGKeyPairIds :: KGKeyPairIds
-- | The identifier of the key group that contains the public keys.
kGKeyPairIds_keyGroupId :: Lens' KGKeyPairIds (Maybe Text)
-- | Undocumented member.
kGKeyPairIds_keyPairIds :: Lens' KGKeyPairIds (Maybe KeyPairIds)
-- | A key group.
--
-- A key group contains a list of public keys that you can use with
-- CloudFront signed URLs and signed cookies.
--
-- See: newKeyGroup smart constructor.
data KeyGroup
KeyGroup' :: Text -> ISO8601 -> KeyGroupConfig -> KeyGroup
-- | The identifier for the key group.
[$sel:id:KeyGroup'] :: KeyGroup -> Text
-- | The date and time when the key group was last modified.
[$sel:lastModifiedTime:KeyGroup'] :: KeyGroup -> ISO8601
-- | The key group configuration.
[$sel:keyGroupConfig:KeyGroup'] :: KeyGroup -> KeyGroupConfig
-- | Create a value of KeyGroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:KeyGroup', keyGroup_id - The identifier for the
-- key group.
--
-- $sel:lastModifiedTime:KeyGroup',
-- keyGroup_lastModifiedTime - The date and time when the key
-- group was last modified.
--
-- $sel:keyGroupConfig:KeyGroup', keyGroup_keyGroupConfig -
-- The key group configuration.
newKeyGroup :: Text -> UTCTime -> KeyGroupConfig -> KeyGroup
-- | The identifier for the key group.
keyGroup_id :: Lens' KeyGroup Text
-- | The date and time when the key group was last modified.
keyGroup_lastModifiedTime :: Lens' KeyGroup UTCTime
-- | The key group configuration.
keyGroup_keyGroupConfig :: Lens' KeyGroup KeyGroupConfig
-- | A key group configuration.
--
-- A key group contains a list of public keys that you can use with
-- CloudFront signed URLs and signed cookies.
--
-- See: newKeyGroupConfig smart constructor.
data KeyGroupConfig
KeyGroupConfig' :: Maybe Text -> Text -> [Text] -> KeyGroupConfig
-- | A comment to describe the key group. The comment cannot be longer than
-- 128 characters.
[$sel:comment:KeyGroupConfig'] :: KeyGroupConfig -> Maybe Text
-- | A name to identify the key group.
[$sel:name:KeyGroupConfig'] :: KeyGroupConfig -> Text
-- | A list of the identifiers of the public keys in the key group.
[$sel:items:KeyGroupConfig'] :: KeyGroupConfig -> [Text]
-- | Create a value of KeyGroupConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:KeyGroupConfig', keyGroupConfig_comment - A
-- comment to describe the key group. The comment cannot be longer than
-- 128 characters.
--
-- $sel:name:KeyGroupConfig', keyGroupConfig_name - A name
-- to identify the key group.
--
-- $sel:items:KeyGroupConfig', keyGroupConfig_items - A
-- list of the identifiers of the public keys in the key group.
newKeyGroupConfig :: Text -> KeyGroupConfig
-- | A comment to describe the key group. The comment cannot be longer than
-- 128 characters.
keyGroupConfig_comment :: Lens' KeyGroupConfig (Maybe Text)
-- | A name to identify the key group.
keyGroupConfig_name :: Lens' KeyGroupConfig Text
-- | A list of the identifiers of the public keys in the key group.
keyGroupConfig_items :: Lens' KeyGroupConfig [Text]
-- | A list of key groups.
--
-- See: newKeyGroupList smart constructor.
data KeyGroupList
KeyGroupList' :: Maybe [KeyGroupSummary] -> Maybe Text -> Int -> Int -> KeyGroupList
-- | A list of key groups.
[$sel:items:KeyGroupList'] :: KeyGroupList -> Maybe [KeyGroupSummary]
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing key
-- groups.
[$sel:nextMarker:KeyGroupList'] :: KeyGroupList -> Maybe Text
-- | The maximum number of key groups requested.
[$sel:maxItems:KeyGroupList'] :: KeyGroupList -> Int
-- | The number of key groups returned in the response.
[$sel:quantity:KeyGroupList'] :: KeyGroupList -> Int
-- | Create a value of KeyGroupList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:KeyGroupList', keyGroupList_items - A list of
-- key groups.
--
-- $sel:nextMarker:KeyGroupList', keyGroupList_nextMarker -
-- If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing key
-- groups.
--
-- $sel:maxItems:KeyGroupList', keyGroupList_maxItems - The
-- maximum number of key groups requested.
--
-- $sel:quantity:KeyGroupList', keyGroupList_quantity - The
-- number of key groups returned in the response.
newKeyGroupList :: Int -> Int -> KeyGroupList
-- | A list of key groups.
keyGroupList_items :: Lens' KeyGroupList (Maybe [KeyGroupSummary])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing key
-- groups.
keyGroupList_nextMarker :: Lens' KeyGroupList (Maybe Text)
-- | The maximum number of key groups requested.
keyGroupList_maxItems :: Lens' KeyGroupList Int
-- | The number of key groups returned in the response.
keyGroupList_quantity :: Lens' KeyGroupList Int
-- | Contains information about a key group.
--
-- See: newKeyGroupSummary smart constructor.
data KeyGroupSummary
KeyGroupSummary' :: KeyGroup -> KeyGroupSummary
-- | A key group.
[$sel:keyGroup:KeyGroupSummary'] :: KeyGroupSummary -> KeyGroup
-- | Create a value of KeyGroupSummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:keyGroup:KeyGroupSummary', keyGroupSummary_keyGroup
-- - A key group.
newKeyGroupSummary :: KeyGroup -> KeyGroupSummary
-- | A key group.
keyGroupSummary_keyGroup :: Lens' KeyGroupSummary KeyGroup
-- | A list of CloudFront key pair identifiers.
--
-- See: newKeyPairIds smart constructor.
data KeyPairIds
KeyPairIds' :: Maybe [Text] -> Int -> KeyPairIds
-- | A list of CloudFront key pair identifiers.
[$sel:items:KeyPairIds'] :: KeyPairIds -> Maybe [Text]
-- | The number of key pair identifiers in the list.
[$sel:quantity:KeyPairIds'] :: KeyPairIds -> Int
-- | Create a value of KeyPairIds with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:KeyPairIds', keyPairIds_items - A list of
-- CloudFront key pair identifiers.
--
-- $sel:quantity:KeyPairIds', keyPairIds_quantity - The
-- number of key pair identifiers in the list.
newKeyPairIds :: Int -> KeyPairIds
-- | A list of CloudFront key pair identifiers.
keyPairIds_items :: Lens' KeyPairIds (Maybe [Text])
-- | The number of key pair identifiers in the list.
keyPairIds_quantity :: Lens' KeyPairIds Int
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data.
--
-- See: newKinesisStreamConfig smart constructor.
data KinesisStreamConfig
KinesisStreamConfig' :: Text -> Text -> KinesisStreamConfig
-- | The Amazon Resource Name (ARN) of an Identity and Access Management
-- (IAM) role that CloudFront can use to send real-time log data to your
-- Kinesis data stream.
--
-- For more information the IAM role, see Real-time log configuration
-- IAM role in the Amazon CloudFront Developer Guide.
[$sel:roleARN:KinesisStreamConfig'] :: KinesisStreamConfig -> Text
-- | The Amazon Resource Name (ARN) of the Kinesis data stream where you
-- are sending real-time log data.
[$sel:streamARN:KinesisStreamConfig'] :: KinesisStreamConfig -> Text
-- | Create a value of KinesisStreamConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:roleARN:KinesisStreamConfig',
-- kinesisStreamConfig_roleARN - The Amazon Resource Name (ARN) of
-- an Identity and Access Management (IAM) role that CloudFront can use
-- to send real-time log data to your Kinesis data stream.
--
-- For more information the IAM role, see Real-time log configuration
-- IAM role in the Amazon CloudFront Developer Guide.
--
-- $sel:streamARN:KinesisStreamConfig',
-- kinesisStreamConfig_streamARN - The Amazon Resource Name (ARN)
-- of the Kinesis data stream where you are sending real-time log data.
newKinesisStreamConfig :: Text -> Text -> KinesisStreamConfig
-- | The Amazon Resource Name (ARN) of an Identity and Access Management
-- (IAM) role that CloudFront can use to send real-time log data to your
-- Kinesis data stream.
--
-- For more information the IAM role, see Real-time log configuration
-- IAM role in the Amazon CloudFront Developer Guide.
kinesisStreamConfig_roleARN :: Lens' KinesisStreamConfig Text
-- | The Amazon Resource Name (ARN) of the Kinesis data stream where you
-- are sending real-time log data.
kinesisStreamConfig_streamARN :: Lens' KinesisStreamConfig Text
-- | A complex type that contains a Lambda@Edge function association.
--
-- See: newLambdaFunctionAssociation smart constructor.
data LambdaFunctionAssociation
LambdaFunctionAssociation' :: Maybe Bool -> Text -> EventType -> LambdaFunctionAssociation
-- | A flag that allows a Lambda@Edge function to have read access to the
-- body content. For more information, see Accessing the Request Body
-- by Choosing the Include Body Option in the Amazon CloudFront
-- Developer Guide.
[$sel:includeBody:LambdaFunctionAssociation'] :: LambdaFunctionAssociation -> Maybe Bool
-- | The ARN of the Lambda@Edge function. You must specify the ARN of a
-- function version; you can't specify an alias or $LATEST.
[$sel:lambdaFunctionARN:LambdaFunctionAssociation'] :: LambdaFunctionAssociation -> Text
-- | Specifies the event type that triggers a Lambda@Edge function
-- invocation. You can specify the following values:
--
--
-- - viewer-request: The function executes when CloudFront
-- receives a request from a viewer and before it checks to see whether
-- the requested object is in the edge cache.
-- - origin-request: The function executes only when
-- CloudFront sends a request to your origin. When the requested object
-- is in the edge cache, the function doesn't execute.
-- - origin-response: The function executes after CloudFront
-- receives a response from the origin and before it caches the object in
-- the response. When the requested object is in the edge cache, the
-- function doesn't execute.
-- - viewer-response: The function executes before CloudFront
-- returns the requested object to the viewer. The function executes
-- regardless of whether the object was already in the edge cache.If the
-- origin returns an HTTP status code other than HTTP 200 (OK), the
-- function doesn't execute.
--
[$sel:eventType:LambdaFunctionAssociation'] :: LambdaFunctionAssociation -> EventType
-- | Create a value of LambdaFunctionAssociation with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:includeBody:LambdaFunctionAssociation',
-- lambdaFunctionAssociation_includeBody - A flag that allows a
-- Lambda@Edge function to have read access to the body content. For more
-- information, see Accessing the Request Body by Choosing the Include
-- Body Option in the Amazon CloudFront Developer Guide.
--
-- $sel:lambdaFunctionARN:LambdaFunctionAssociation',
-- lambdaFunctionAssociation_lambdaFunctionARN - The ARN of the
-- Lambda@Edge function. You must specify the ARN of a function version;
-- you can't specify an alias or $LATEST.
--
-- $sel:eventType:LambdaFunctionAssociation',
-- lambdaFunctionAssociation_eventType - Specifies the event type
-- that triggers a Lambda@Edge function invocation. You can specify the
-- following values:
--
--
-- - viewer-request: The function executes when CloudFront
-- receives a request from a viewer and before it checks to see whether
-- the requested object is in the edge cache.
-- - origin-request: The function executes only when
-- CloudFront sends a request to your origin. When the requested object
-- is in the edge cache, the function doesn't execute.
-- - origin-response: The function executes after CloudFront
-- receives a response from the origin and before it caches the object in
-- the response. When the requested object is in the edge cache, the
-- function doesn't execute.
-- - viewer-response: The function executes before CloudFront
-- returns the requested object to the viewer. The function executes
-- regardless of whether the object was already in the edge cache.If the
-- origin returns an HTTP status code other than HTTP 200 (OK), the
-- function doesn't execute.
--
newLambdaFunctionAssociation :: Text -> EventType -> LambdaFunctionAssociation
-- | A flag that allows a Lambda@Edge function to have read access to the
-- body content. For more information, see Accessing the Request Body
-- by Choosing the Include Body Option in the Amazon CloudFront
-- Developer Guide.
lambdaFunctionAssociation_includeBody :: Lens' LambdaFunctionAssociation (Maybe Bool)
-- | The ARN of the Lambda@Edge function. You must specify the ARN of a
-- function version; you can't specify an alias or $LATEST.
lambdaFunctionAssociation_lambdaFunctionARN :: Lens' LambdaFunctionAssociation Text
-- | Specifies the event type that triggers a Lambda@Edge function
-- invocation. You can specify the following values:
--
--
-- - viewer-request: The function executes when CloudFront
-- receives a request from a viewer and before it checks to see whether
-- the requested object is in the edge cache.
-- - origin-request: The function executes only when
-- CloudFront sends a request to your origin. When the requested object
-- is in the edge cache, the function doesn't execute.
-- - origin-response: The function executes after CloudFront
-- receives a response from the origin and before it caches the object in
-- the response. When the requested object is in the edge cache, the
-- function doesn't execute.
-- - viewer-response: The function executes before CloudFront
-- returns the requested object to the viewer. The function executes
-- regardless of whether the object was already in the edge cache.If the
-- origin returns an HTTP status code other than HTTP 200 (OK), the
-- function doesn't execute.
--
lambdaFunctionAssociation_eventType :: Lens' LambdaFunctionAssociation EventType
-- | A complex type that specifies a list of Lambda@Edge functions
-- associations for a cache behavior.
--
-- If you want to invoke one or more Lambda@Edge functions triggered by
-- requests that match the PathPattern of the cache behavior,
-- specify the applicable values for Quantity and
-- Items. Note that there can be up to 4
-- LambdaFunctionAssociation items in this list (one for each
-- possible value of EventType) and each EventType can
-- be associated with only one function.
--
-- If you don't want to invoke any Lambda@Edge functions for the requests
-- that match PathPattern, specify 0 for
-- Quantity and omit Items.
--
-- See: newLambdaFunctionAssociations smart constructor.
data LambdaFunctionAssociations
LambdaFunctionAssociations' :: Maybe [LambdaFunctionAssociation] -> Int -> LambdaFunctionAssociations
-- | Optional: A complex type that contains
-- LambdaFunctionAssociation items for this cache behavior. If
-- Quantity is 0, you can omit Items.
[$sel:items:LambdaFunctionAssociations'] :: LambdaFunctionAssociations -> Maybe [LambdaFunctionAssociation]
-- | The number of Lambda@Edge function associations for this cache
-- behavior.
[$sel:quantity:LambdaFunctionAssociations'] :: LambdaFunctionAssociations -> Int
-- | Create a value of LambdaFunctionAssociations with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:LambdaFunctionAssociations',
-- lambdaFunctionAssociations_items - Optional: A complex
-- type that contains LambdaFunctionAssociation items for this
-- cache behavior. If Quantity is 0, you can omit
-- Items.
--
-- $sel:quantity:LambdaFunctionAssociations',
-- lambdaFunctionAssociations_quantity - The number of Lambda@Edge
-- function associations for this cache behavior.
newLambdaFunctionAssociations :: Int -> LambdaFunctionAssociations
-- | Optional: A complex type that contains
-- LambdaFunctionAssociation items for this cache behavior. If
-- Quantity is 0, you can omit Items.
lambdaFunctionAssociations_items :: Lens' LambdaFunctionAssociations (Maybe [LambdaFunctionAssociation])
-- | The number of Lambda@Edge function associations for this cache
-- behavior.
lambdaFunctionAssociations_quantity :: Lens' LambdaFunctionAssociations Int
-- | A complex type that controls whether access logs are written for the
-- distribution.
--
-- See: newLoggingConfig smart constructor.
data LoggingConfig
LoggingConfig' :: Bool -> Bool -> Text -> Text -> LoggingConfig
-- | Specifies whether you want CloudFront to save access logs to an Amazon
-- S3 bucket. If you don't 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.
[$sel:enabled:LoggingConfig'] :: 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
-- don't 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.
[$sel:includeCookies:LoggingConfig'] :: LoggingConfig -> Bool
-- | The Amazon S3 bucket to store the access logs in, for example,
-- myawslogbucket.s3.amazonaws.com.
[$sel:bucket:LoggingConfig'] :: LoggingConfig -> Text
-- | An optional string that you want CloudFront to prefix to the access
-- log filenames for this distribution, for example,
-- myprefix/. If you want to enable logging, but you don't want
-- to specify a prefix, you still must include an empty Prefix
-- element in the Logging element.
[$sel:prefix:LoggingConfig'] :: LoggingConfig -> Text
-- | Create a value of LoggingConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:enabled:LoggingConfig', loggingConfig_enabled -
-- Specifies whether you want CloudFront to save access logs to an Amazon
-- S3 bucket. If you don't 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.
--
-- $sel:includeCookies:LoggingConfig',
-- loggingConfig_includeCookies - 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 don't 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.
--
-- $sel:bucket:LoggingConfig', loggingConfig_bucket - The
-- Amazon S3 bucket to store the access logs in, for example,
-- myawslogbucket.s3.amazonaws.com.
--
-- $sel:prefix:LoggingConfig', loggingConfig_prefix - 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 don't want
-- to specify a prefix, you still must include an empty Prefix
-- element in the Logging element.
newLoggingConfig :: Bool -> Bool -> Text -> Text -> LoggingConfig
-- | Specifies whether you want CloudFront to save access logs to an Amazon
-- S3 bucket. If you don't 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.
loggingConfig_enabled :: 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
-- don't 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.
loggingConfig_includeCookies :: Lens' LoggingConfig Bool
-- | The Amazon S3 bucket to store the access logs in, for example,
-- myawslogbucket.s3.amazonaws.com.
loggingConfig_bucket :: Lens' LoggingConfig Text
-- | An optional string that you want CloudFront to prefix to the access
-- log filenames for this distribution, for example,
-- myprefix/. If you want to enable logging, but you don't want
-- to specify a prefix, you still must include an empty Prefix
-- element in the Logging element.
loggingConfig_prefix :: Lens' LoggingConfig Text
-- | A monitoring subscription. This structure contains information about
-- whether additional CloudWatch metrics are enabled for a given
-- CloudFront distribution.
--
-- See: newMonitoringSubscription smart constructor.
data MonitoringSubscription
MonitoringSubscription' :: Maybe RealtimeMetricsSubscriptionConfig -> MonitoringSubscription
-- | A subscription configuration for additional CloudWatch metrics.
[$sel:realtimeMetricsSubscriptionConfig:MonitoringSubscription'] :: MonitoringSubscription -> Maybe RealtimeMetricsSubscriptionConfig
-- | Create a value of MonitoringSubscription with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:realtimeMetricsSubscriptionConfig:MonitoringSubscription',
-- monitoringSubscription_realtimeMetricsSubscriptionConfig - A
-- subscription configuration for additional CloudWatch metrics.
newMonitoringSubscription :: MonitoringSubscription
-- | A subscription configuration for additional CloudWatch metrics.
monitoringSubscription_realtimeMetricsSubscriptionConfig :: Lens' MonitoringSubscription (Maybe RealtimeMetricsSubscriptionConfig)
-- | An origin.
--
-- An origin is the location where content is stored, and from which
-- CloudFront gets content to serve to viewers. To specify an origin:
--
--
-- - Use S3OriginConfig to specify an Amazon S3 bucket that is
-- not configured with static website hosting.
-- - Use CustomOriginConfig to specify all other kinds of
-- origins, including:
- An Amazon S3 bucket that is configured with
-- static website hosting
- An Elastic Load Balancing load
-- balancer
- An AWS Elemental MediaPackage endpoint
- An AWS
-- Elemental MediaStore container
- Any other HTTP server, running
-- on an Amazon EC2 instance or any other kind of host
--
--
-- For the current maximum number of origins that you can specify per
-- distribution, see General Quotas on Web Distributions in the
-- Amazon CloudFront Developer Guide (quotas were formerly
-- referred to as limits).
--
-- See: newOrigin smart constructor.
data Origin
Origin' :: Maybe Int -> Maybe Int -> Maybe CustomHeaders -> Maybe CustomOriginConfig -> Maybe Text -> Maybe Text -> Maybe OriginShield -> Maybe S3OriginConfig -> Text -> Text -> Origin
-- | The number of times that CloudFront attempts to connect to the origin.
-- The minimum number is 1, the maximum is 3, and the default (if you
-- don't specify otherwise) is 3.
--
-- For a custom origin (including an Amazon S3 bucket that's configured
-- with static website hosting), this value also specifies the number of
-- times that CloudFront attempts to get a response from the origin, in
-- the case of an Origin Response Timeout.
--
-- For more information, see Origin Connection Attempts in the
-- Amazon CloudFront Developer Guide.
[$sel:connectionAttempts:Origin'] :: Origin -> Maybe Int
-- | The number of seconds that CloudFront waits when trying to establish a
-- connection to the origin. The minimum timeout is 1 second, the maximum
-- is 10 seconds, and the default (if you don't specify otherwise) is 10
-- seconds.
--
-- For more information, see Origin Connection Timeout in the
-- Amazon CloudFront Developer Guide.
[$sel:connectionTimeout:Origin'] :: Origin -> Maybe Int
-- | A list of HTTP header names and values that CloudFront adds to the
-- requests that it sends to the origin.
--
-- For more information, see Adding Custom Headers to Origin
-- Requests in the Amazon CloudFront Developer Guide.
[$sel:customHeaders:Origin'] :: Origin -> Maybe CustomHeaders
-- | Use this type to specify an origin that is not an Amazon S3 bucket,
-- with one exception. If the Amazon S3 bucket is configured with static
-- website hosting, use this type. If the Amazon S3 bucket is not
-- configured with static website hosting, use the
-- S3OriginConfig type instead.
[$sel:customOriginConfig:Origin'] :: Origin -> Maybe CustomOriginConfig
-- | The unique identifier of an origin access control for this origin.
--
-- For more information, see Restricting access to an Amazon S3
-- origin in the Amazon CloudFront Developer Guide.
[$sel:originAccessControlId:Origin'] :: Origin -> Maybe Text
-- | An optional path that CloudFront appends to the origin domain name
-- when CloudFront requests content from the origin.
--
-- For more information, see Origin Path in the Amazon
-- CloudFront Developer Guide.
[$sel:originPath:Origin'] :: Origin -> Maybe Text
-- | CloudFront Origin Shield. Using Origin Shield can help reduce the load
-- on your origin.
--
-- For more information, see Using Origin Shield in the Amazon
-- CloudFront Developer Guide.
[$sel:originShield:Origin'] :: Origin -> Maybe OriginShield
-- | Use this type to specify an origin that is an Amazon S3 bucket that is
-- not configured with static website hosting. To specify any other type
-- of origin, including an Amazon S3 bucket that is configured with
-- static website hosting, use the CustomOriginConfig type
-- instead.
[$sel:s3OriginConfig:Origin'] :: Origin -> Maybe S3OriginConfig
-- | A unique identifier for the origin. This value must be unique within
-- the distribution.
--
-- Use this value to specify the TargetOriginId in a
-- CacheBehavior or DefaultCacheBehavior.
[$sel:id:Origin'] :: Origin -> Text
-- | The domain name for the origin.
--
-- For more information, see Origin Domain Name in the Amazon
-- CloudFront Developer Guide.
[$sel:domainName:Origin'] :: Origin -> Text
-- | Create a value of Origin with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:connectionAttempts:Origin',
-- origin_connectionAttempts - The number of times that CloudFront
-- attempts to connect to the origin. The minimum number is 1, the
-- maximum is 3, and the default (if you don't specify otherwise) is 3.
--
-- For a custom origin (including an Amazon S3 bucket that's configured
-- with static website hosting), this value also specifies the number of
-- times that CloudFront attempts to get a response from the origin, in
-- the case of an Origin Response Timeout.
--
-- For more information, see Origin Connection Attempts in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:connectionTimeout:Origin', origin_connectionTimeout
-- - The number of seconds that CloudFront waits when trying to establish
-- a connection to the origin. The minimum timeout is 1 second, the
-- maximum is 10 seconds, and the default (if you don't specify
-- otherwise) is 10 seconds.
--
-- For more information, see Origin Connection Timeout in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:customHeaders:Origin', origin_customHeaders - A
-- list of HTTP header names and values that CloudFront adds to the
-- requests that it sends to the origin.
--
-- For more information, see Adding Custom Headers to Origin
-- Requests in the Amazon CloudFront Developer Guide.
--
-- $sel:customOriginConfig:Origin',
-- origin_customOriginConfig - Use this type to specify an origin
-- that is not an Amazon S3 bucket, with one exception. If the Amazon S3
-- bucket is configured with static website hosting, use this type. If
-- the Amazon S3 bucket is not configured with static website hosting,
-- use the S3OriginConfig type instead.
--
-- $sel:originAccessControlId:Origin',
-- origin_originAccessControlId - The unique identifier of an
-- origin access control for this origin.
--
-- For more information, see Restricting access to an Amazon S3
-- origin in the Amazon CloudFront Developer Guide.
--
-- $sel:originPath:Origin', origin_originPath - An optional
-- path that CloudFront appends to the origin domain name when CloudFront
-- requests content from the origin.
--
-- For more information, see Origin Path in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:originShield:Origin', origin_originShield -
-- CloudFront Origin Shield. Using Origin Shield can help reduce the load
-- on your origin.
--
-- For more information, see Using Origin Shield in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:s3OriginConfig:Origin', origin_s3OriginConfig - Use
-- this type to specify an origin that is an Amazon S3 bucket that is not
-- configured with static website hosting. To specify any other type of
-- origin, including an Amazon S3 bucket that is configured with static
-- website hosting, use the CustomOriginConfig type instead.
--
-- $sel:id:Origin', origin_id - A unique identifier for the
-- origin. This value must be unique within the distribution.
--
-- Use this value to specify the TargetOriginId in a
-- CacheBehavior or DefaultCacheBehavior.
--
-- $sel:domainName:Origin', origin_domainName - The domain
-- name for the origin.
--
-- For more information, see Origin Domain Name in the Amazon
-- CloudFront Developer Guide.
newOrigin :: Text -> Text -> Origin
-- | The number of times that CloudFront attempts to connect to the origin.
-- The minimum number is 1, the maximum is 3, and the default (if you
-- don't specify otherwise) is 3.
--
-- For a custom origin (including an Amazon S3 bucket that's configured
-- with static website hosting), this value also specifies the number of
-- times that CloudFront attempts to get a response from the origin, in
-- the case of an Origin Response Timeout.
--
-- For more information, see Origin Connection Attempts in the
-- Amazon CloudFront Developer Guide.
origin_connectionAttempts :: Lens' Origin (Maybe Int)
-- | The number of seconds that CloudFront waits when trying to establish a
-- connection to the origin. The minimum timeout is 1 second, the maximum
-- is 10 seconds, and the default (if you don't specify otherwise) is 10
-- seconds.
--
-- For more information, see Origin Connection Timeout in the
-- Amazon CloudFront Developer Guide.
origin_connectionTimeout :: Lens' Origin (Maybe Int)
-- | A list of HTTP header names and values that CloudFront adds to the
-- requests that it sends to the origin.
--
-- For more information, see Adding Custom Headers to Origin
-- Requests in the Amazon CloudFront Developer Guide.
origin_customHeaders :: Lens' Origin (Maybe CustomHeaders)
-- | Use this type to specify an origin that is not an Amazon S3 bucket,
-- with one exception. If the Amazon S3 bucket is configured with static
-- website hosting, use this type. If the Amazon S3 bucket is not
-- configured with static website hosting, use the
-- S3OriginConfig type instead.
origin_customOriginConfig :: Lens' Origin (Maybe CustomOriginConfig)
-- | The unique identifier of an origin access control for this origin.
--
-- For more information, see Restricting access to an Amazon S3
-- origin in the Amazon CloudFront Developer Guide.
origin_originAccessControlId :: Lens' Origin (Maybe Text)
-- | An optional path that CloudFront appends to the origin domain name
-- when CloudFront requests content from the origin.
--
-- For more information, see Origin Path in the Amazon
-- CloudFront Developer Guide.
origin_originPath :: Lens' Origin (Maybe Text)
-- | CloudFront Origin Shield. Using Origin Shield can help reduce the load
-- on your origin.
--
-- For more information, see Using Origin Shield in the Amazon
-- CloudFront Developer Guide.
origin_originShield :: Lens' Origin (Maybe OriginShield)
-- | Use this type to specify an origin that is an Amazon S3 bucket that is
-- not configured with static website hosting. To specify any other type
-- of origin, including an Amazon S3 bucket that is configured with
-- static website hosting, use the CustomOriginConfig type
-- instead.
origin_s3OriginConfig :: Lens' Origin (Maybe S3OriginConfig)
-- | A unique identifier for the origin. This value must be unique within
-- the distribution.
--
-- Use this value to specify the TargetOriginId in a
-- CacheBehavior or DefaultCacheBehavior.
origin_id :: Lens' Origin Text
-- | The domain name for the origin.
--
-- For more information, see Origin Domain Name in the Amazon
-- CloudFront Developer Guide.
origin_domainName :: Lens' Origin Text
-- | A CloudFront origin access control, including its unique identifier.
--
-- See: newOriginAccessControl smart constructor.
data OriginAccessControl
OriginAccessControl' :: Maybe OriginAccessControlConfig -> Text -> OriginAccessControl
-- | The origin access control.
[$sel:originAccessControlConfig:OriginAccessControl'] :: OriginAccessControl -> Maybe OriginAccessControlConfig
-- | The unique identifier of the origin access control.
[$sel:id:OriginAccessControl'] :: OriginAccessControl -> Text
-- | Create a value of OriginAccessControl with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:originAccessControlConfig:OriginAccessControl',
-- originAccessControl_originAccessControlConfig - The origin
-- access control.
--
-- $sel:id:OriginAccessControl', originAccessControl_id -
-- The unique identifier of the origin access control.
newOriginAccessControl :: Text -> OriginAccessControl
-- | The origin access control.
originAccessControl_originAccessControlConfig :: Lens' OriginAccessControl (Maybe OriginAccessControlConfig)
-- | The unique identifier of the origin access control.
originAccessControl_id :: Lens' OriginAccessControl Text
-- | A CloudFront origin access control configuration.
--
-- See: newOriginAccessControlConfig smart constructor.
data OriginAccessControlConfig
OriginAccessControlConfig' :: Maybe Text -> Text -> OriginAccessControlSigningProtocols -> OriginAccessControlSigningBehaviors -> OriginAccessControlOriginTypes -> OriginAccessControlConfig
-- | A description of the origin access control.
[$sel:description:OriginAccessControlConfig'] :: OriginAccessControlConfig -> Maybe Text
-- | A name to identify the origin access control.
[$sel:name:OriginAccessControlConfig'] :: OriginAccessControlConfig -> Text
-- | The signing protocol of the origin access control, which determines
-- how CloudFront signs (authenticates) requests. The only valid value is
-- sigv4.
[$sel:signingProtocol:OriginAccessControlConfig'] :: OriginAccessControlConfig -> OriginAccessControlSigningProtocols
-- | Specifies which requests CloudFront signs (adds authentication
-- information to). Specify always for the most common use case.
-- For more information, see origin access control advanced
-- settings in the Amazon CloudFront Developer Guide.
--
-- This field can have one of the following values:
--
--
-- - always – CloudFront signs all origin requests,
-- overwriting the Authorization header from the viewer request
-- if one exists.
-- - never – CloudFront doesn't sign any origin requests. This
-- value turns off origin access control for all origins in all
-- distributions that use this origin access control.
-- - no-override – If the viewer request doesn't contain the
-- Authorization header, then CloudFront signs the origin
-- request. If the viewer request contains the Authorization
-- header, then CloudFront doesn't sign the origin request and instead
-- passes along the Authorization header from the viewer
-- request. __WARNING: To pass along the Authorization header
-- from the viewer request, you must add the
-- Authorization header to a cache policy for all cache
-- behaviors that use origins associated with this origin access
-- control.__
--
[$sel:signingBehavior:OriginAccessControlConfig'] :: OriginAccessControlConfig -> OriginAccessControlSigningBehaviors
-- | The type of origin that this origin access control is for. The only
-- valid value is s3.
[$sel:originAccessControlOriginType:OriginAccessControlConfig'] :: OriginAccessControlConfig -> OriginAccessControlOriginTypes
-- | Create a value of OriginAccessControlConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:description:OriginAccessControlConfig',
-- originAccessControlConfig_description - A description of the
-- origin access control.
--
-- $sel:name:OriginAccessControlConfig',
-- originAccessControlConfig_name - A name to identify the origin
-- access control.
--
-- $sel:signingProtocol:OriginAccessControlConfig',
-- originAccessControlConfig_signingProtocol - The signing
-- protocol of the origin access control, which determines how CloudFront
-- signs (authenticates) requests. The only valid value is
-- sigv4.
--
-- $sel:signingBehavior:OriginAccessControlConfig',
-- originAccessControlConfig_signingBehavior - Specifies which
-- requests CloudFront signs (adds authentication information to).
-- Specify always for the most common use case. For more
-- information, see origin access control advanced settings in the
-- Amazon CloudFront Developer Guide.
--
-- This field can have one of the following values:
--
--
-- - always – CloudFront signs all origin requests,
-- overwriting the Authorization header from the viewer request
-- if one exists.
-- - never – CloudFront doesn't sign any origin requests. This
-- value turns off origin access control for all origins in all
-- distributions that use this origin access control.
-- - no-override – If the viewer request doesn't contain the
-- Authorization header, then CloudFront signs the origin
-- request. If the viewer request contains the Authorization
-- header, then CloudFront doesn't sign the origin request and instead
-- passes along the Authorization header from the viewer
-- request. __WARNING: To pass along the Authorization header
-- from the viewer request, you must add the
-- Authorization header to a cache policy for all cache
-- behaviors that use origins associated with this origin access
-- control.__
--
--
-- $sel:originAccessControlOriginType:OriginAccessControlConfig',
-- originAccessControlConfig_originAccessControlOriginType - The
-- type of origin that this origin access control is for. The only valid
-- value is s3.
newOriginAccessControlConfig :: Text -> OriginAccessControlSigningProtocols -> OriginAccessControlSigningBehaviors -> OriginAccessControlOriginTypes -> OriginAccessControlConfig
-- | A description of the origin access control.
originAccessControlConfig_description :: Lens' OriginAccessControlConfig (Maybe Text)
-- | A name to identify the origin access control.
originAccessControlConfig_name :: Lens' OriginAccessControlConfig Text
-- | The signing protocol of the origin access control, which determines
-- how CloudFront signs (authenticates) requests. The only valid value is
-- sigv4.
originAccessControlConfig_signingProtocol :: Lens' OriginAccessControlConfig OriginAccessControlSigningProtocols
-- | Specifies which requests CloudFront signs (adds authentication
-- information to). Specify always for the most common use case.
-- For more information, see origin access control advanced
-- settings in the Amazon CloudFront Developer Guide.
--
-- This field can have one of the following values:
--
--
-- - always – CloudFront signs all origin requests,
-- overwriting the Authorization header from the viewer request
-- if one exists.
-- - never – CloudFront doesn't sign any origin requests. This
-- value turns off origin access control for all origins in all
-- distributions that use this origin access control.
-- - no-override – If the viewer request doesn't contain the
-- Authorization header, then CloudFront signs the origin
-- request. If the viewer request contains the Authorization
-- header, then CloudFront doesn't sign the origin request and instead
-- passes along the Authorization header from the viewer
-- request. __WARNING: To pass along the Authorization header
-- from the viewer request, you must add the
-- Authorization header to a cache policy for all cache
-- behaviors that use origins associated with this origin access
-- control.__
--
originAccessControlConfig_signingBehavior :: Lens' OriginAccessControlConfig OriginAccessControlSigningBehaviors
-- | The type of origin that this origin access control is for. The only
-- valid value is s3.
originAccessControlConfig_originAccessControlOriginType :: Lens' OriginAccessControlConfig OriginAccessControlOriginTypes
-- | A list of CloudFront origin access controls.
--
-- See: newOriginAccessControlList smart constructor.
data OriginAccessControlList
OriginAccessControlList' :: Maybe [OriginAccessControlSummary] -> Maybe Text -> Text -> Int -> Bool -> Int -> OriginAccessControlList
-- | Contains the origin access controls in the list.
[$sel:items:OriginAccessControlList'] :: OriginAccessControlList -> Maybe [OriginAccessControlSummary]
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value to use in the
-- Marker field of another request to continue listing origin
-- access controls.
[$sel:nextMarker:OriginAccessControlList'] :: OriginAccessControlList -> Maybe Text
-- | The value of the Marker field that was provided in the
-- request.
[$sel:marker:OriginAccessControlList'] :: OriginAccessControlList -> Text
-- | The maximum number of origin access controls requested.
[$sel:maxItems:OriginAccessControlList'] :: OriginAccessControlList -> Int
-- | If there are more items in the list than are in this response, this
-- value is true.
[$sel:isTruncated:OriginAccessControlList'] :: OriginAccessControlList -> Bool
-- | The number of origin access controls returned in the response.
[$sel:quantity:OriginAccessControlList'] :: OriginAccessControlList -> Int
-- | Create a value of OriginAccessControlList with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:OriginAccessControlList',
-- originAccessControlList_items - Contains the origin access
-- controls in the list.
--
-- $sel:nextMarker:OriginAccessControlList',
-- originAccessControlList_nextMarker - If there are more items in
-- the list than are in this response, this element is present. It
-- contains the value to use in the Marker field of another
-- request to continue listing origin access controls.
--
-- $sel:marker:OriginAccessControlList',
-- originAccessControlList_marker - The value of the
-- Marker field that was provided in the request.
--
-- $sel:maxItems:OriginAccessControlList',
-- originAccessControlList_maxItems - The maximum number of origin
-- access controls requested.
--
-- $sel:isTruncated:OriginAccessControlList',
-- originAccessControlList_isTruncated - If there are more items
-- in the list than are in this response, this value is true.
--
-- $sel:quantity:OriginAccessControlList',
-- originAccessControlList_quantity - The number of origin access
-- controls returned in the response.
newOriginAccessControlList :: Text -> Int -> Bool -> Int -> OriginAccessControlList
-- | Contains the origin access controls in the list.
originAccessControlList_items :: Lens' OriginAccessControlList (Maybe [OriginAccessControlSummary])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value to use in the
-- Marker field of another request to continue listing origin
-- access controls.
originAccessControlList_nextMarker :: Lens' OriginAccessControlList (Maybe Text)
-- | The value of the Marker field that was provided in the
-- request.
originAccessControlList_marker :: Lens' OriginAccessControlList Text
-- | The maximum number of origin access controls requested.
originAccessControlList_maxItems :: Lens' OriginAccessControlList Int
-- | If there are more items in the list than are in this response, this
-- value is true.
originAccessControlList_isTruncated :: Lens' OriginAccessControlList Bool
-- | The number of origin access controls returned in the response.
originAccessControlList_quantity :: Lens' OriginAccessControlList Int
-- | A CloudFront origin access control.
--
-- See: newOriginAccessControlSummary smart constructor.
data OriginAccessControlSummary
OriginAccessControlSummary' :: Text -> Text -> Text -> OriginAccessControlSigningProtocols -> OriginAccessControlSigningBehaviors -> OriginAccessControlOriginTypes -> OriginAccessControlSummary
-- | The unique identifier of the origin access control.
[$sel:id:OriginAccessControlSummary'] :: OriginAccessControlSummary -> Text
-- | A description of the origin access control.
[$sel:description:OriginAccessControlSummary'] :: OriginAccessControlSummary -> Text
-- | A unique name that identifies the origin access control.
[$sel:name:OriginAccessControlSummary'] :: OriginAccessControlSummary -> Text
-- | The signing protocol of the origin access control. The signing
-- protocol determines how CloudFront signs (authenticates) requests. The
-- only valid value is sigv4.
[$sel:signingProtocol:OriginAccessControlSummary'] :: OriginAccessControlSummary -> OriginAccessControlSigningProtocols
-- | A value that specifies which requests CloudFront signs (adds
-- authentication information to). This field can have one of the
-- following values:
--
--
-- - never – CloudFront doesn't sign any origin requests.
-- - always – CloudFront signs all origin requests,
-- overwriting the Authorization header from the viewer request
-- if necessary.
-- - no-override – If the viewer request doesn't contain the
-- Authorization header, CloudFront signs the origin request. If
-- the viewer request contains the Authorization header,
-- CloudFront doesn't sign the origin request, but instead passes along
-- the Authorization header that it received in the viewer
-- request.
--
[$sel:signingBehavior:OriginAccessControlSummary'] :: OriginAccessControlSummary -> OriginAccessControlSigningBehaviors
-- | The type of origin that this origin access control is for. The only
-- valid value is s3.
[$sel:originAccessControlOriginType:OriginAccessControlSummary'] :: OriginAccessControlSummary -> OriginAccessControlOriginTypes
-- | Create a value of OriginAccessControlSummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:OriginAccessControlSummary',
-- originAccessControlSummary_id - The unique identifier of the
-- origin access control.
--
-- $sel:description:OriginAccessControlSummary',
-- originAccessControlSummary_description - A description of the
-- origin access control.
--
-- $sel:name:OriginAccessControlSummary',
-- originAccessControlSummary_name - A unique name that identifies
-- the origin access control.
--
-- $sel:signingProtocol:OriginAccessControlSummary',
-- originAccessControlSummary_signingProtocol - The signing
-- protocol of the origin access control. The signing protocol determines
-- how CloudFront signs (authenticates) requests. The only valid value is
-- sigv4.
--
-- $sel:signingBehavior:OriginAccessControlSummary',
-- originAccessControlSummary_signingBehavior - A value that
-- specifies which requests CloudFront signs (adds authentication
-- information to). This field can have one of the following values:
--
--
-- - never – CloudFront doesn't sign any origin requests.
-- - always – CloudFront signs all origin requests,
-- overwriting the Authorization header from the viewer request
-- if necessary.
-- - no-override – If the viewer request doesn't contain the
-- Authorization header, CloudFront signs the origin request. If
-- the viewer request contains the Authorization header,
-- CloudFront doesn't sign the origin request, but instead passes along
-- the Authorization header that it received in the viewer
-- request.
--
--
-- $sel:originAccessControlOriginType:OriginAccessControlSummary',
-- originAccessControlSummary_originAccessControlOriginType - The
-- type of origin that this origin access control is for. The only valid
-- value is s3.
newOriginAccessControlSummary :: Text -> Text -> Text -> OriginAccessControlSigningProtocols -> OriginAccessControlSigningBehaviors -> OriginAccessControlOriginTypes -> OriginAccessControlSummary
-- | The unique identifier of the origin access control.
originAccessControlSummary_id :: Lens' OriginAccessControlSummary Text
-- | A description of the origin access control.
originAccessControlSummary_description :: Lens' OriginAccessControlSummary Text
-- | A unique name that identifies the origin access control.
originAccessControlSummary_name :: Lens' OriginAccessControlSummary Text
-- | The signing protocol of the origin access control. The signing
-- protocol determines how CloudFront signs (authenticates) requests. The
-- only valid value is sigv4.
originAccessControlSummary_signingProtocol :: Lens' OriginAccessControlSummary OriginAccessControlSigningProtocols
-- | A value that specifies which requests CloudFront signs (adds
-- authentication information to). This field can have one of the
-- following values:
--
--
-- - never – CloudFront doesn't sign any origin requests.
-- - always – CloudFront signs all origin requests,
-- overwriting the Authorization header from the viewer request
-- if necessary.
-- - no-override – If the viewer request doesn't contain the
-- Authorization header, CloudFront signs the origin request. If
-- the viewer request contains the Authorization header,
-- CloudFront doesn't sign the origin request, but instead passes along
-- the Authorization header that it received in the viewer
-- request.
--
originAccessControlSummary_signingBehavior :: Lens' OriginAccessControlSummary OriginAccessControlSigningBehaviors
-- | The type of origin that this origin access control is for. The only
-- valid value is s3.
originAccessControlSummary_originAccessControlOriginType :: Lens' OriginAccessControlSummary OriginAccessControlOriginTypes
-- | A complex type that contains HeaderName and
-- HeaderValue elements, if any, for this distribution.
--
-- See: newOriginCustomHeader smart constructor.
data OriginCustomHeader
OriginCustomHeader' :: Text -> Sensitive Text -> OriginCustomHeader
-- | The name of a header that you want CloudFront to send to your origin.
-- For more information, see Adding Custom Headers to Origin
-- Requests in the Amazon CloudFront Developer Guide.
[$sel:headerName:OriginCustomHeader'] :: OriginCustomHeader -> Text
-- | The value for the header that you specified in the HeaderName
-- field.
[$sel:headerValue:OriginCustomHeader'] :: OriginCustomHeader -> Sensitive Text
-- | Create a value of OriginCustomHeader with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:headerName:OriginCustomHeader',
-- originCustomHeader_headerName - The name of a header that you
-- want CloudFront to send to your origin. For more information, see
-- Adding Custom Headers to Origin Requests in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:headerValue:OriginCustomHeader',
-- originCustomHeader_headerValue - The value for the header that
-- you specified in the HeaderName field.
newOriginCustomHeader :: Text -> Text -> OriginCustomHeader
-- | The name of a header that you want CloudFront to send to your origin.
-- For more information, see Adding Custom Headers to Origin
-- Requests in the Amazon CloudFront Developer Guide.
originCustomHeader_headerName :: Lens' OriginCustomHeader Text
-- | The value for the header that you specified in the HeaderName
-- field.
originCustomHeader_headerValue :: Lens' OriginCustomHeader Text
-- | An origin group includes two origins (a primary origin and a second
-- origin to failover to) and a failover criteria that you specify. You
-- create an origin group to support origin failover in CloudFront. When
-- you create or update a distribution, you can specifiy the origin group
-- instead of a single origin, and CloudFront will failover from the
-- primary origin to the second origin under the failover conditions that
-- you've chosen.
--
-- See: newOriginGroup smart constructor.
data OriginGroup
OriginGroup' :: Text -> OriginGroupFailoverCriteria -> OriginGroupMembers -> OriginGroup
-- | The origin group's ID.
[$sel:id:OriginGroup'] :: OriginGroup -> Text
-- | A complex type that contains information about the failover criteria
-- for an origin group.
[$sel:failoverCriteria:OriginGroup'] :: OriginGroup -> OriginGroupFailoverCriteria
-- | A complex type that contains information about the origins in an
-- origin group.
[$sel:members:OriginGroup'] :: OriginGroup -> OriginGroupMembers
-- | Create a value of OriginGroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:OriginGroup', originGroup_id - The origin
-- group's ID.
--
-- $sel:failoverCriteria:OriginGroup',
-- originGroup_failoverCriteria - A complex type that contains
-- information about the failover criteria for an origin group.
--
-- $sel:members:OriginGroup', originGroup_members - A
-- complex type that contains information about the origins in an origin
-- group.
newOriginGroup :: Text -> OriginGroupFailoverCriteria -> OriginGroupMembers -> OriginGroup
-- | The origin group's ID.
originGroup_id :: Lens' OriginGroup Text
-- | A complex type that contains information about the failover criteria
-- for an origin group.
originGroup_failoverCriteria :: Lens' OriginGroup OriginGroupFailoverCriteria
-- | A complex type that contains information about the origins in an
-- origin group.
originGroup_members :: Lens' OriginGroup OriginGroupMembers
-- | A complex data type that includes information about the failover
-- criteria for an origin group, including the status codes for which
-- CloudFront will failover from the primary origin to the second origin.
--
-- See: newOriginGroupFailoverCriteria smart constructor.
data OriginGroupFailoverCriteria
OriginGroupFailoverCriteria' :: StatusCodes -> OriginGroupFailoverCriteria
-- | The status codes that, when returned from the primary origin, will
-- trigger CloudFront to failover to the second origin.
[$sel:statusCodes:OriginGroupFailoverCriteria'] :: OriginGroupFailoverCriteria -> StatusCodes
-- | Create a value of OriginGroupFailoverCriteria with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:statusCodes:OriginGroupFailoverCriteria',
-- originGroupFailoverCriteria_statusCodes - The status codes
-- that, when returned from the primary origin, will trigger CloudFront
-- to failover to the second origin.
newOriginGroupFailoverCriteria :: StatusCodes -> OriginGroupFailoverCriteria
-- | The status codes that, when returned from the primary origin, will
-- trigger CloudFront to failover to the second origin.
originGroupFailoverCriteria_statusCodes :: Lens' OriginGroupFailoverCriteria StatusCodes
-- | An origin in an origin group.
--
-- See: newOriginGroupMember smart constructor.
data OriginGroupMember
OriginGroupMember' :: Text -> OriginGroupMember
-- | The ID for an origin in an origin group.
[$sel:originId:OriginGroupMember'] :: OriginGroupMember -> Text
-- | Create a value of OriginGroupMember with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:originId:OriginGroupMember',
-- originGroupMember_originId - The ID for an origin in an origin
-- group.
newOriginGroupMember :: Text -> OriginGroupMember
-- | The ID for an origin in an origin group.
originGroupMember_originId :: Lens' OriginGroupMember Text
-- | A complex data type for the origins included in an origin group.
--
-- See: newOriginGroupMembers smart constructor.
data OriginGroupMembers
OriginGroupMembers' :: Int -> NonEmpty OriginGroupMember -> OriginGroupMembers
-- | The number of origins in an origin group.
[$sel:quantity:OriginGroupMembers'] :: OriginGroupMembers -> Int
-- | Items (origins) in an origin group.
[$sel:items:OriginGroupMembers'] :: OriginGroupMembers -> NonEmpty OriginGroupMember
-- | Create a value of OriginGroupMembers with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:OriginGroupMembers',
-- originGroupMembers_quantity - The number of origins in an
-- origin group.
--
-- $sel:items:OriginGroupMembers', originGroupMembers_items
-- - Items (origins) in an origin group.
newOriginGroupMembers :: Int -> NonEmpty OriginGroupMember -> OriginGroupMembers
-- | The number of origins in an origin group.
originGroupMembers_quantity :: Lens' OriginGroupMembers Int
-- | Items (origins) in an origin group.
originGroupMembers_items :: Lens' OriginGroupMembers (NonEmpty OriginGroupMember)
-- | A complex data type for the origin groups specified for a
-- distribution.
--
-- See: newOriginGroups smart constructor.
data OriginGroups
OriginGroups' :: Maybe [OriginGroup] -> Int -> OriginGroups
-- | The items (origin groups) in a distribution.
[$sel:items:OriginGroups'] :: OriginGroups -> Maybe [OriginGroup]
-- | The number of origin groups.
[$sel:quantity:OriginGroups'] :: OriginGroups -> Int
-- | Create a value of OriginGroups with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:OriginGroups', originGroups_items - The items
-- (origin groups) in a distribution.
--
-- $sel:quantity:OriginGroups', originGroups_quantity - The
-- number of origin groups.
newOriginGroups :: Int -> OriginGroups
-- | The items (origin groups) in a distribution.
originGroups_items :: Lens' OriginGroups (Maybe [OriginGroup])
-- | The number of origin groups.
originGroups_quantity :: Lens' OriginGroups Int
-- | An origin request policy.
--
-- When it's attached to a cache behavior, the origin request policy
-- determines the values that CloudFront includes in requests that it
-- sends to the origin. Each request that CloudFront sends to the origin
-- includes the following:
--
--
-- - The request body and the URL path (without the domain name) from
-- the viewer request.
-- - The headers that CloudFront automatically includes in every origin
-- request, including Host, User-Agent, and
-- X-Amz-Cf-Id.
-- - All HTTP headers, cookies, and URL query strings that are
-- specified in the cache policy or the origin request policy. These can
-- include items from the viewer request and, in the case of headers,
-- additional ones that are added by CloudFront.
--
--
-- CloudFront sends a request when it can't find an object in its cache
-- that matches the request. If you want to send values to the origin and
-- also include them in the cache key, use CachePolicy.
--
-- See: newOriginRequestPolicy smart constructor.
data OriginRequestPolicy
OriginRequestPolicy' :: Text -> ISO8601 -> OriginRequestPolicyConfig -> OriginRequestPolicy
-- | The unique identifier for the origin request policy.
[$sel:id:OriginRequestPolicy'] :: OriginRequestPolicy -> Text
-- | The date and time when the origin request policy was last modified.
[$sel:lastModifiedTime:OriginRequestPolicy'] :: OriginRequestPolicy -> ISO8601
-- | The origin request policy configuration.
[$sel:originRequestPolicyConfig:OriginRequestPolicy'] :: OriginRequestPolicy -> OriginRequestPolicyConfig
-- | Create a value of OriginRequestPolicy with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:OriginRequestPolicy', originRequestPolicy_id -
-- The unique identifier for the origin request policy.
--
-- $sel:lastModifiedTime:OriginRequestPolicy',
-- originRequestPolicy_lastModifiedTime - The date and time when
-- the origin request policy was last modified.
--
-- $sel:originRequestPolicyConfig:OriginRequestPolicy',
-- originRequestPolicy_originRequestPolicyConfig - The origin
-- request policy configuration.
newOriginRequestPolicy :: Text -> UTCTime -> OriginRequestPolicyConfig -> OriginRequestPolicy
-- | The unique identifier for the origin request policy.
originRequestPolicy_id :: Lens' OriginRequestPolicy Text
-- | The date and time when the origin request policy was last modified.
originRequestPolicy_lastModifiedTime :: Lens' OriginRequestPolicy UTCTime
-- | The origin request policy configuration.
originRequestPolicy_originRequestPolicyConfig :: Lens' OriginRequestPolicy OriginRequestPolicyConfig
-- | An origin request policy configuration.
--
-- This configuration determines the values that CloudFront includes in
-- requests that it sends to the origin. Each request that CloudFront
-- sends to the origin includes the following:
--
--
-- - The request body and the URL path (without the domain name) from
-- the viewer request.
-- - The headers that CloudFront automatically includes in every origin
-- request, including Host, User-Agent, and
-- X-Amz-Cf-Id.
-- - All HTTP headers, cookies, and URL query strings that are
-- specified in the cache policy or the origin request policy. These can
-- include items from the viewer request and, in the case of headers,
-- additional ones that are added by CloudFront.
--
--
-- CloudFront sends a request when it can't find an object in its cache
-- that matches the request. If you want to send values to the origin and
-- also include them in the cache key, use CachePolicy.
--
-- See: newOriginRequestPolicyConfig smart constructor.
data OriginRequestPolicyConfig
OriginRequestPolicyConfig' :: Maybe Text -> Text -> OriginRequestPolicyHeadersConfig -> OriginRequestPolicyCookiesConfig -> OriginRequestPolicyQueryStringsConfig -> OriginRequestPolicyConfig
-- | A comment to describe the origin request policy. The comment cannot be
-- longer than 128 characters.
[$sel:comment:OriginRequestPolicyConfig'] :: OriginRequestPolicyConfig -> Maybe Text
-- | A unique name to identify the origin request policy.
[$sel:name:OriginRequestPolicyConfig'] :: OriginRequestPolicyConfig -> Text
-- | The HTTP headers to include in origin requests. These can include
-- headers from viewer requests and additional headers added by
-- CloudFront.
[$sel:headersConfig:OriginRequestPolicyConfig'] :: OriginRequestPolicyConfig -> OriginRequestPolicyHeadersConfig
-- | The cookies from viewer requests to include in origin requests.
[$sel:cookiesConfig:OriginRequestPolicyConfig'] :: OriginRequestPolicyConfig -> OriginRequestPolicyCookiesConfig
-- | The URL query strings from viewer requests to include in origin
-- requests.
[$sel:queryStringsConfig:OriginRequestPolicyConfig'] :: OriginRequestPolicyConfig -> OriginRequestPolicyQueryStringsConfig
-- | Create a value of OriginRequestPolicyConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:OriginRequestPolicyConfig',
-- originRequestPolicyConfig_comment - A comment to describe the
-- origin request policy. The comment cannot be longer than 128
-- characters.
--
-- $sel:name:OriginRequestPolicyConfig',
-- originRequestPolicyConfig_name - A unique name to identify the
-- origin request policy.
--
-- $sel:headersConfig:OriginRequestPolicyConfig',
-- originRequestPolicyConfig_headersConfig - The HTTP headers to
-- include in origin requests. These can include headers from viewer
-- requests and additional headers added by CloudFront.
--
-- $sel:cookiesConfig:OriginRequestPolicyConfig',
-- originRequestPolicyConfig_cookiesConfig - The cookies from
-- viewer requests to include in origin requests.
--
-- $sel:queryStringsConfig:OriginRequestPolicyConfig',
-- originRequestPolicyConfig_queryStringsConfig - The URL query
-- strings from viewer requests to include in origin requests.
newOriginRequestPolicyConfig :: Text -> OriginRequestPolicyHeadersConfig -> OriginRequestPolicyCookiesConfig -> OriginRequestPolicyQueryStringsConfig -> OriginRequestPolicyConfig
-- | A comment to describe the origin request policy. The comment cannot be
-- longer than 128 characters.
originRequestPolicyConfig_comment :: Lens' OriginRequestPolicyConfig (Maybe Text)
-- | A unique name to identify the origin request policy.
originRequestPolicyConfig_name :: Lens' OriginRequestPolicyConfig Text
-- | The HTTP headers to include in origin requests. These can include
-- headers from viewer requests and additional headers added by
-- CloudFront.
originRequestPolicyConfig_headersConfig :: Lens' OriginRequestPolicyConfig OriginRequestPolicyHeadersConfig
-- | The cookies from viewer requests to include in origin requests.
originRequestPolicyConfig_cookiesConfig :: Lens' OriginRequestPolicyConfig OriginRequestPolicyCookiesConfig
-- | The URL query strings from viewer requests to include in origin
-- requests.
originRequestPolicyConfig_queryStringsConfig :: Lens' OriginRequestPolicyConfig OriginRequestPolicyQueryStringsConfig
-- | An object that determines whether any cookies in viewer requests (and
-- if so, which cookies) are included in requests that CloudFront sends
-- to the origin.
--
-- See: newOriginRequestPolicyCookiesConfig smart
-- constructor.
data OriginRequestPolicyCookiesConfig
OriginRequestPolicyCookiesConfig' :: Maybe CookieNames -> OriginRequestPolicyCookieBehavior -> OriginRequestPolicyCookiesConfig
[$sel:cookies:OriginRequestPolicyCookiesConfig'] :: OriginRequestPolicyCookiesConfig -> Maybe CookieNames
-- | Determines whether cookies in viewer requests are included in requests
-- that CloudFront sends to the origin. Valid values are:
--
--
-- - none – Cookies in viewer requests are not included in
-- requests that CloudFront sends to the origin. Even when this field is
-- set to none, any cookies that are listed in a
-- CachePolicy are included in origin requests.
-- - whitelist – The cookies in viewer requests that are
-- listed in the CookieNames type are included in requests that
-- CloudFront sends to the origin.
-- - all – All cookies in viewer requests are included in
-- requests that CloudFront sends to the origin.
--
[$sel:cookieBehavior:OriginRequestPolicyCookiesConfig'] :: OriginRequestPolicyCookiesConfig -> OriginRequestPolicyCookieBehavior
-- | Create a value of OriginRequestPolicyCookiesConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cookies:OriginRequestPolicyCookiesConfig',
-- originRequestPolicyCookiesConfig_cookies - Undocumented member.
--
-- $sel:cookieBehavior:OriginRequestPolicyCookiesConfig',
-- originRequestPolicyCookiesConfig_cookieBehavior - Determines
-- whether cookies in viewer requests are included in requests that
-- CloudFront sends to the origin. Valid values are:
--
--
-- - none – Cookies in viewer requests are not included in
-- requests that CloudFront sends to the origin. Even when this field is
-- set to none, any cookies that are listed in a
-- CachePolicy are included in origin requests.
-- - whitelist – The cookies in viewer requests that are
-- listed in the CookieNames type are included in requests that
-- CloudFront sends to the origin.
-- - all – All cookies in viewer requests are included in
-- requests that CloudFront sends to the origin.
--
newOriginRequestPolicyCookiesConfig :: OriginRequestPolicyCookieBehavior -> OriginRequestPolicyCookiesConfig
-- | Undocumented member.
originRequestPolicyCookiesConfig_cookies :: Lens' OriginRequestPolicyCookiesConfig (Maybe CookieNames)
-- | Determines whether cookies in viewer requests are included in requests
-- that CloudFront sends to the origin. Valid values are:
--
--
-- - none – Cookies in viewer requests are not included in
-- requests that CloudFront sends to the origin. Even when this field is
-- set to none, any cookies that are listed in a
-- CachePolicy are included in origin requests.
-- - whitelist – The cookies in viewer requests that are
-- listed in the CookieNames type are included in requests that
-- CloudFront sends to the origin.
-- - all – All cookies in viewer requests are included in
-- requests that CloudFront sends to the origin.
--
originRequestPolicyCookiesConfig_cookieBehavior :: Lens' OriginRequestPolicyCookiesConfig OriginRequestPolicyCookieBehavior
-- | An object that determines whether any HTTP headers (and if so, which
-- headers) are included in requests that CloudFront sends to the origin.
--
-- See: newOriginRequestPolicyHeadersConfig smart
-- constructor.
data OriginRequestPolicyHeadersConfig
OriginRequestPolicyHeadersConfig' :: Maybe Headers -> OriginRequestPolicyHeaderBehavior -> OriginRequestPolicyHeadersConfig
[$sel:headers:OriginRequestPolicyHeadersConfig'] :: OriginRequestPolicyHeadersConfig -> Maybe Headers
-- | Determines whether any HTTP headers are included in requests that
-- CloudFront sends to the origin. Valid values are:
--
--
-- - none – HTTP headers are not included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any headers that are listed in a CachePolicy
-- are included in origin requests.
-- - whitelist – The HTTP headers that are listed in the
-- Headers type are included in requests that CloudFront sends
-- to the origin.
-- - allViewer – All HTTP headers in viewer requests are
-- included in requests that CloudFront sends to the origin.
-- - allViewerAndWhitelistCloudFront – All HTTP headers in
-- viewer requests and the additional CloudFront headers that are listed
-- in the Headers type are included in requests that CloudFront
-- sends to the origin. The additional headers are added by
-- CloudFront.
--
[$sel:headerBehavior:OriginRequestPolicyHeadersConfig'] :: OriginRequestPolicyHeadersConfig -> OriginRequestPolicyHeaderBehavior
-- | Create a value of OriginRequestPolicyHeadersConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:headers:OriginRequestPolicyHeadersConfig',
-- originRequestPolicyHeadersConfig_headers - Undocumented member.
--
-- $sel:headerBehavior:OriginRequestPolicyHeadersConfig',
-- originRequestPolicyHeadersConfig_headerBehavior - Determines
-- whether any HTTP headers are included in requests that CloudFront
-- sends to the origin. Valid values are:
--
--
-- - none – HTTP headers are not included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any headers that are listed in a CachePolicy
-- are included in origin requests.
-- - whitelist – The HTTP headers that are listed in the
-- Headers type are included in requests that CloudFront sends
-- to the origin.
-- - allViewer – All HTTP headers in viewer requests are
-- included in requests that CloudFront sends to the origin.
-- - allViewerAndWhitelistCloudFront – All HTTP headers in
-- viewer requests and the additional CloudFront headers that are listed
-- in the Headers type are included in requests that CloudFront
-- sends to the origin. The additional headers are added by
-- CloudFront.
--
newOriginRequestPolicyHeadersConfig :: OriginRequestPolicyHeaderBehavior -> OriginRequestPolicyHeadersConfig
-- | Undocumented member.
originRequestPolicyHeadersConfig_headers :: Lens' OriginRequestPolicyHeadersConfig (Maybe Headers)
-- | Determines whether any HTTP headers are included in requests that
-- CloudFront sends to the origin. Valid values are:
--
--
-- - none – HTTP headers are not included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any headers that are listed in a CachePolicy
-- are included in origin requests.
-- - whitelist – The HTTP headers that are listed in the
-- Headers type are included in requests that CloudFront sends
-- to the origin.
-- - allViewer – All HTTP headers in viewer requests are
-- included in requests that CloudFront sends to the origin.
-- - allViewerAndWhitelistCloudFront – All HTTP headers in
-- viewer requests and the additional CloudFront headers that are listed
-- in the Headers type are included in requests that CloudFront
-- sends to the origin. The additional headers are added by
-- CloudFront.
--
originRequestPolicyHeadersConfig_headerBehavior :: Lens' OriginRequestPolicyHeadersConfig OriginRequestPolicyHeaderBehavior
-- | A list of origin request policies.
--
-- See: newOriginRequestPolicyList smart constructor.
data OriginRequestPolicyList
OriginRequestPolicyList' :: Maybe [OriginRequestPolicySummary] -> Maybe Text -> Int -> Int -> OriginRequestPolicyList
-- | Contains the origin request policies in the list.
[$sel:items:OriginRequestPolicyList'] :: OriginRequestPolicyList -> Maybe [OriginRequestPolicySummary]
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- origin request policies where you left off.
[$sel:nextMarker:OriginRequestPolicyList'] :: OriginRequestPolicyList -> Maybe Text
-- | The maximum number of origin request policies requested.
[$sel:maxItems:OriginRequestPolicyList'] :: OriginRequestPolicyList -> Int
-- | The total number of origin request policies returned in the response.
[$sel:quantity:OriginRequestPolicyList'] :: OriginRequestPolicyList -> Int
-- | Create a value of OriginRequestPolicyList with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:OriginRequestPolicyList',
-- originRequestPolicyList_items - Contains the origin request
-- policies in the list.
--
-- $sel:nextMarker:OriginRequestPolicyList',
-- originRequestPolicyList_nextMarker - If there are more items in
-- the list than are in this response, this element is present. It
-- contains the value that you should use in the Marker field of
-- a subsequent request to continue listing origin request policies where
-- you left off.
--
-- $sel:maxItems:OriginRequestPolicyList',
-- originRequestPolicyList_maxItems - The maximum number of origin
-- request policies requested.
--
-- $sel:quantity:OriginRequestPolicyList',
-- originRequestPolicyList_quantity - The total number of origin
-- request policies returned in the response.
newOriginRequestPolicyList :: Int -> Int -> OriginRequestPolicyList
-- | Contains the origin request policies in the list.
originRequestPolicyList_items :: Lens' OriginRequestPolicyList (Maybe [OriginRequestPolicySummary])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- origin request policies where you left off.
originRequestPolicyList_nextMarker :: Lens' OriginRequestPolicyList (Maybe Text)
-- | The maximum number of origin request policies requested.
originRequestPolicyList_maxItems :: Lens' OriginRequestPolicyList Int
-- | The total number of origin request policies returned in the response.
originRequestPolicyList_quantity :: Lens' OriginRequestPolicyList Int
-- | An object that determines whether any URL query strings in viewer
-- requests (and if so, which query strings) are included in requests
-- that CloudFront sends to the origin.
--
-- See: newOriginRequestPolicyQueryStringsConfig smart
-- constructor.
data OriginRequestPolicyQueryStringsConfig
OriginRequestPolicyQueryStringsConfig' :: Maybe QueryStringNames -> OriginRequestPolicyQueryStringBehavior -> OriginRequestPolicyQueryStringsConfig
-- | Contains a list of the query strings in viewer requests that are
-- included in requests that CloudFront sends to the origin.
[$sel:queryStrings:OriginRequestPolicyQueryStringsConfig'] :: OriginRequestPolicyQueryStringsConfig -> Maybe QueryStringNames
-- | Determines whether any URL query strings in viewer requests are
-- included in requests that CloudFront sends to the origin. Valid values
-- are:
--
--
-- - none – Query strings in viewer requests are not included
-- in requests that CloudFront sends to the origin. Even when this field
-- is set to none, any query strings that are listed in a
-- CachePolicy are included in origin requests.
-- - whitelist – The query strings in viewer requests that are
-- listed in the QueryStringNames type are included in requests
-- that CloudFront sends to the origin.
-- - all – All query strings in viewer requests are included
-- in requests that CloudFront sends to the origin.
--
[$sel:queryStringBehavior:OriginRequestPolicyQueryStringsConfig'] :: OriginRequestPolicyQueryStringsConfig -> OriginRequestPolicyQueryStringBehavior
-- | Create a value of OriginRequestPolicyQueryStringsConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:queryStrings:OriginRequestPolicyQueryStringsConfig',
-- originRequestPolicyQueryStringsConfig_queryStrings - Contains a
-- list of the query strings in viewer requests that are included in
-- requests that CloudFront sends to the origin.
--
--
-- $sel:queryStringBehavior:OriginRequestPolicyQueryStringsConfig',
-- originRequestPolicyQueryStringsConfig_queryStringBehavior -
-- Determines whether any URL query strings in viewer requests are
-- included in requests that CloudFront sends to the origin. Valid values
-- are:
--
--
-- - none – Query strings in viewer requests are not included
-- in requests that CloudFront sends to the origin. Even when this field
-- is set to none, any query strings that are listed in a
-- CachePolicy are included in origin requests.
-- - whitelist – The query strings in viewer requests that are
-- listed in the QueryStringNames type are included in requests
-- that CloudFront sends to the origin.
-- - all – All query strings in viewer requests are included
-- in requests that CloudFront sends to the origin.
--
newOriginRequestPolicyQueryStringsConfig :: OriginRequestPolicyQueryStringBehavior -> OriginRequestPolicyQueryStringsConfig
-- | Contains a list of the query strings in viewer requests that are
-- included in requests that CloudFront sends to the origin.
originRequestPolicyQueryStringsConfig_queryStrings :: Lens' OriginRequestPolicyQueryStringsConfig (Maybe QueryStringNames)
-- | Determines whether any URL query strings in viewer requests are
-- included in requests that CloudFront sends to the origin. Valid values
-- are:
--
--
-- - none – Query strings in viewer requests are not included
-- in requests that CloudFront sends to the origin. Even when this field
-- is set to none, any query strings that are listed in a
-- CachePolicy are included in origin requests.
-- - whitelist – The query strings in viewer requests that are
-- listed in the QueryStringNames type are included in requests
-- that CloudFront sends to the origin.
-- - all – All query strings in viewer requests are included
-- in requests that CloudFront sends to the origin.
--
originRequestPolicyQueryStringsConfig_queryStringBehavior :: Lens' OriginRequestPolicyQueryStringsConfig OriginRequestPolicyQueryStringBehavior
-- | Contains an origin request policy.
--
-- See: newOriginRequestPolicySummary smart constructor.
data OriginRequestPolicySummary
OriginRequestPolicySummary' :: OriginRequestPolicyType -> OriginRequestPolicy -> OriginRequestPolicySummary
-- | The type of origin request policy, either managed (created by
-- Amazon Web Services) or custom (created in this Amazon Web
-- Services account).
[$sel:type':OriginRequestPolicySummary'] :: OriginRequestPolicySummary -> OriginRequestPolicyType
-- | The origin request policy.
[$sel:originRequestPolicy:OriginRequestPolicySummary'] :: OriginRequestPolicySummary -> OriginRequestPolicy
-- | Create a value of OriginRequestPolicySummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':OriginRequestPolicySummary',
-- originRequestPolicySummary_type - The type of origin request
-- policy, either managed (created by Amazon Web Services) or
-- custom (created in this Amazon Web Services account).
--
-- $sel:originRequestPolicy:OriginRequestPolicySummary',
-- originRequestPolicySummary_originRequestPolicy - The origin
-- request policy.
newOriginRequestPolicySummary :: OriginRequestPolicyType -> OriginRequestPolicy -> OriginRequestPolicySummary
-- | The type of origin request policy, either managed (created by
-- Amazon Web Services) or custom (created in this Amazon Web
-- Services account).
originRequestPolicySummary_type :: Lens' OriginRequestPolicySummary OriginRequestPolicyType
-- | The origin request policy.
originRequestPolicySummary_originRequestPolicy :: Lens' OriginRequestPolicySummary OriginRequestPolicy
-- | CloudFront Origin Shield.
--
-- Using Origin Shield can help reduce the load on your origin. For more
-- information, see Using Origin Shield in the Amazon
-- CloudFront Developer Guide.
--
-- See: newOriginShield smart constructor.
data OriginShield
OriginShield' :: Maybe Text -> Bool -> OriginShield
-- | The Amazon Web Services Region for Origin Shield.
--
-- Specify the Amazon Web Services Region that has the lowest latency to
-- your origin. To specify a region, use the region code, not the region
-- name. For example, specify the US East (Ohio) region as
-- us-east-2.
--
-- When you enable CloudFront Origin Shield, you must specify the Amazon
-- Web Services Region for Origin Shield. For the list of Amazon Web
-- Services Regions that you can specify, and for help choosing the best
-- Region for your origin, see Choosing the Amazon Web Services Region
-- for Origin Shield in the Amazon CloudFront Developer Guide.
[$sel:originShieldRegion:OriginShield'] :: OriginShield -> Maybe Text
-- | A flag that specifies whether Origin Shield is enabled.
--
-- When it's enabled, CloudFront routes all requests through Origin
-- Shield, which can help protect your origin. When it's disabled,
-- CloudFront might send requests directly to your origin from multiple
-- edge locations or regional edge caches.
[$sel:enabled:OriginShield'] :: OriginShield -> Bool
-- | Create a value of OriginShield with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:originShieldRegion:OriginShield',
-- originShield_originShieldRegion - The Amazon Web Services
-- Region for Origin Shield.
--
-- Specify the Amazon Web Services Region that has the lowest latency to
-- your origin. To specify a region, use the region code, not the region
-- name. For example, specify the US East (Ohio) region as
-- us-east-2.
--
-- When you enable CloudFront Origin Shield, you must specify the Amazon
-- Web Services Region for Origin Shield. For the list of Amazon Web
-- Services Regions that you can specify, and for help choosing the best
-- Region for your origin, see Choosing the Amazon Web Services Region
-- for Origin Shield in the Amazon CloudFront Developer Guide.
--
-- $sel:enabled:OriginShield', originShield_enabled - A
-- flag that specifies whether Origin Shield is enabled.
--
-- When it's enabled, CloudFront routes all requests through Origin
-- Shield, which can help protect your origin. When it's disabled,
-- CloudFront might send requests directly to your origin from multiple
-- edge locations or regional edge caches.
newOriginShield :: Bool -> OriginShield
-- | The Amazon Web Services Region for Origin Shield.
--
-- Specify the Amazon Web Services Region that has the lowest latency to
-- your origin. To specify a region, use the region code, not the region
-- name. For example, specify the US East (Ohio) region as
-- us-east-2.
--
-- When you enable CloudFront Origin Shield, you must specify the Amazon
-- Web Services Region for Origin Shield. For the list of Amazon Web
-- Services Regions that you can specify, and for help choosing the best
-- Region for your origin, see Choosing the Amazon Web Services Region
-- for Origin Shield in the Amazon CloudFront Developer Guide.
originShield_originShieldRegion :: Lens' OriginShield (Maybe Text)
-- | A flag that specifies whether Origin Shield is enabled.
--
-- When it's enabled, CloudFront routes all requests through Origin
-- Shield, which can help protect your origin. When it's disabled,
-- CloudFront might send requests directly to your origin from multiple
-- edge locations or regional edge caches.
originShield_enabled :: Lens' OriginShield Bool
-- | A complex type that contains information about the SSL/TLS protocols
-- that CloudFront can use when establishing an HTTPS connection with
-- your origin.
--
-- See: newOriginSslProtocols smart constructor.
data OriginSslProtocols
OriginSslProtocols' :: Int -> [SslProtocol] -> OriginSslProtocols
-- | The number of SSL/TLS protocols that you want to allow CloudFront to
-- use when establishing an HTTPS connection with this origin.
[$sel:quantity:OriginSslProtocols'] :: OriginSslProtocols -> Int
-- | A list that contains allowed SSL/TLS protocols for this distribution.
[$sel:items:OriginSslProtocols'] :: OriginSslProtocols -> [SslProtocol]
-- | Create a value of OriginSslProtocols with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:OriginSslProtocols',
-- originSslProtocols_quantity - The number of SSL/TLS protocols
-- that you want to allow CloudFront to use when establishing an HTTPS
-- connection with this origin.
--
-- $sel:items:OriginSslProtocols', originSslProtocols_items
-- - A list that contains allowed SSL/TLS protocols for this
-- distribution.
newOriginSslProtocols :: Int -> OriginSslProtocols
-- | The number of SSL/TLS protocols that you want to allow CloudFront to
-- use when establishing an HTTPS connection with this origin.
originSslProtocols_quantity :: Lens' OriginSslProtocols Int
-- | A list that contains allowed SSL/TLS protocols for this distribution.
originSslProtocols_items :: Lens' OriginSslProtocols [SslProtocol]
-- | Contains information about the origins for this distribution.
--
-- See: newOrigins smart constructor.
data Origins
Origins' :: Int -> NonEmpty Origin -> Origins
-- | The number of origins for this distribution.
[$sel:quantity:Origins'] :: Origins -> Int
-- | A list of origins.
[$sel:items:Origins'] :: Origins -> NonEmpty Origin
-- | Create a value of Origins with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:Origins', origins_quantity - The number of
-- origins for this distribution.
--
-- $sel:items:Origins', origins_items - A list of origins.
newOrigins :: Int -> NonEmpty Origin -> Origins
-- | The number of origins for this distribution.
origins_quantity :: Lens' Origins Int
-- | A list of origins.
origins_items :: Lens' Origins (NonEmpty Origin)
-- | This object determines the values that CloudFront includes in the
-- cache key. These values can include HTTP headers, cookies, and URL
-- query strings. CloudFront uses the cache key to find an object in its
-- cache that it can return to the viewer.
--
-- The headers, cookies, and query strings that are included in the cache
-- key are automatically included in requests that CloudFront sends to
-- the origin. CloudFront sends a request when it can't find an object in
-- its cache that matches the request's cache key. If you want to send
-- values to the origin but not include them in the cache key, use
-- OriginRequestPolicy.
--
-- See: newParametersInCacheKeyAndForwardedToOrigin smart
-- constructor.
data ParametersInCacheKeyAndForwardedToOrigin
ParametersInCacheKeyAndForwardedToOrigin' :: Maybe Bool -> Bool -> CachePolicyHeadersConfig -> CachePolicyCookiesConfig -> CachePolicyQueryStringsConfig -> ParametersInCacheKeyAndForwardedToOrigin
-- | A flag that can affect whether the Accept-Encoding HTTP
-- header is included in the cache key and included in requests that
-- CloudFront sends to the origin.
--
-- This field is related to the EnableAcceptEncodingGzip field.
-- If one or both of these fields is true and the viewer
-- request includes the Accept-Encoding header, then CloudFront
-- does the following:
--
--
-- - Normalizes the value of the viewer's Accept-Encoding
-- header
-- - Includes the normalized header in the cache key
-- - Includes the normalized header in the request to the origin, if a
-- request is necessary
--
--
-- For more information, see Compression support in the Amazon
-- CloudFront Developer Guide.
--
-- If you set this value to true, and this cache behavior also
-- has an origin request policy attached, do not include the
-- Accept-Encoding header in the origin request policy.
-- CloudFront always includes the Accept-Encoding header in
-- origin requests when the value of this field is true, so
-- including this header in an origin request policy has no effect.
--
-- If both of these fields are false, then CloudFront treats the
-- Accept-Encoding header the same as any other HTTP header in
-- the viewer request. By default, it's not included in the cache key and
-- it's not included in origin requests. In this case, you can manually
-- add Accept-Encoding to the headers whitelist like any other
-- HTTP header.
[$sel:enableAcceptEncodingBrotli:ParametersInCacheKeyAndForwardedToOrigin'] :: ParametersInCacheKeyAndForwardedToOrigin -> Maybe Bool
-- | A flag that can affect whether the Accept-Encoding HTTP
-- header is included in the cache key and included in requests that
-- CloudFront sends to the origin.
--
-- This field is related to the EnableAcceptEncodingBrotli
-- field. If one or both of these fields is true and the
-- viewer request includes the Accept-Encoding header, then
-- CloudFront does the following:
--
--
-- - Normalizes the value of the viewer's Accept-Encoding
-- header
-- - Includes the normalized header in the cache key
-- - Includes the normalized header in the request to the origin, if a
-- request is necessary
--
--
-- For more information, see Compression support in the Amazon
-- CloudFront Developer Guide.
--
-- If you set this value to true, and this cache behavior also
-- has an origin request policy attached, do not include the
-- Accept-Encoding header in the origin request policy.
-- CloudFront always includes the Accept-Encoding header in
-- origin requests when the value of this field is true, so
-- including this header in an origin request policy has no effect.
--
-- If both of these fields are false, then CloudFront treats the
-- Accept-Encoding header the same as any other HTTP header in
-- the viewer request. By default, it's not included in the cache key and
-- it's not included in origin requests. In this case, you can manually
-- add Accept-Encoding to the headers whitelist like any other
-- HTTP header.
[$sel:enableAcceptEncodingGzip:ParametersInCacheKeyAndForwardedToOrigin'] :: ParametersInCacheKeyAndForwardedToOrigin -> Bool
-- | An object that determines whether any HTTP headers (and if so, which
-- headers) are included in the cache key and automatically included in
-- requests that CloudFront sends to the origin.
[$sel:headersConfig:ParametersInCacheKeyAndForwardedToOrigin'] :: ParametersInCacheKeyAndForwardedToOrigin -> CachePolicyHeadersConfig
-- | An object that determines whether any cookies in viewer requests (and
-- if so, which cookies) are included in the cache key and automatically
-- included in requests that CloudFront sends to the origin.
[$sel:cookiesConfig:ParametersInCacheKeyAndForwardedToOrigin'] :: ParametersInCacheKeyAndForwardedToOrigin -> CachePolicyCookiesConfig
-- | An object that determines whether any URL query strings in viewer
-- requests (and if so, which query strings) are included in the cache
-- key and automatically included in requests that CloudFront sends to
-- the origin.
[$sel:queryStringsConfig:ParametersInCacheKeyAndForwardedToOrigin'] :: ParametersInCacheKeyAndForwardedToOrigin -> CachePolicyQueryStringsConfig
-- | Create a value of ParametersInCacheKeyAndForwardedToOrigin with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:enableAcceptEncodingBrotli:ParametersInCacheKeyAndForwardedToOrigin',
-- parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingBrotli
-- - A flag that can affect whether the Accept-Encoding HTTP
-- header is included in the cache key and included in requests that
-- CloudFront sends to the origin.
--
-- This field is related to the EnableAcceptEncodingGzip field.
-- If one or both of these fields is true and the viewer
-- request includes the Accept-Encoding header, then CloudFront
-- does the following:
--
--
-- - Normalizes the value of the viewer's Accept-Encoding
-- header
-- - Includes the normalized header in the cache key
-- - Includes the normalized header in the request to the origin, if a
-- request is necessary
--
--
-- For more information, see Compression support in the Amazon
-- CloudFront Developer Guide.
--
-- If you set this value to true, and this cache behavior also
-- has an origin request policy attached, do not include the
-- Accept-Encoding header in the origin request policy.
-- CloudFront always includes the Accept-Encoding header in
-- origin requests when the value of this field is true, so
-- including this header in an origin request policy has no effect.
--
-- If both of these fields are false, then CloudFront treats the
-- Accept-Encoding header the same as any other HTTP header in
-- the viewer request. By default, it's not included in the cache key and
-- it's not included in origin requests. In this case, you can manually
-- add Accept-Encoding to the headers whitelist like any other
-- HTTP header.
--
--
-- $sel:enableAcceptEncodingGzip:ParametersInCacheKeyAndForwardedToOrigin',
-- parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingGzip
-- - A flag that can affect whether the Accept-Encoding HTTP
-- header is included in the cache key and included in requests that
-- CloudFront sends to the origin.
--
-- This field is related to the EnableAcceptEncodingBrotli
-- field. If one or both of these fields is true and the
-- viewer request includes the Accept-Encoding header, then
-- CloudFront does the following:
--
--
-- - Normalizes the value of the viewer's Accept-Encoding
-- header
-- - Includes the normalized header in the cache key
-- - Includes the normalized header in the request to the origin, if a
-- request is necessary
--
--
-- For more information, see Compression support in the Amazon
-- CloudFront Developer Guide.
--
-- If you set this value to true, and this cache behavior also
-- has an origin request policy attached, do not include the
-- Accept-Encoding header in the origin request policy.
-- CloudFront always includes the Accept-Encoding header in
-- origin requests when the value of this field is true, so
-- including this header in an origin request policy has no effect.
--
-- If both of these fields are false, then CloudFront treats the
-- Accept-Encoding header the same as any other HTTP header in
-- the viewer request. By default, it's not included in the cache key and
-- it's not included in origin requests. In this case, you can manually
-- add Accept-Encoding to the headers whitelist like any other
-- HTTP header.
--
-- $sel:headersConfig:ParametersInCacheKeyAndForwardedToOrigin',
-- parametersInCacheKeyAndForwardedToOrigin_headersConfig - An
-- object that determines whether any HTTP headers (and if so, which
-- headers) are included in the cache key and automatically included in
-- requests that CloudFront sends to the origin.
--
-- $sel:cookiesConfig:ParametersInCacheKeyAndForwardedToOrigin',
-- parametersInCacheKeyAndForwardedToOrigin_cookiesConfig - An
-- object that determines whether any cookies in viewer requests (and if
-- so, which cookies) are included in the cache key and automatically
-- included in requests that CloudFront sends to the origin.
--
--
-- $sel:queryStringsConfig:ParametersInCacheKeyAndForwardedToOrigin',
-- parametersInCacheKeyAndForwardedToOrigin_queryStringsConfig -
-- An object that determines whether any URL query strings in viewer
-- requests (and if so, which query strings) are included in the cache
-- key and automatically included in requests that CloudFront sends to
-- the origin.
newParametersInCacheKeyAndForwardedToOrigin :: Bool -> CachePolicyHeadersConfig -> CachePolicyCookiesConfig -> CachePolicyQueryStringsConfig -> ParametersInCacheKeyAndForwardedToOrigin
-- | A flag that can affect whether the Accept-Encoding HTTP
-- header is included in the cache key and included in requests that
-- CloudFront sends to the origin.
--
-- This field is related to the EnableAcceptEncodingGzip field.
-- If one or both of these fields is true and the viewer
-- request includes the Accept-Encoding header, then CloudFront
-- does the following:
--
--
-- - Normalizes the value of the viewer's Accept-Encoding
-- header
-- - Includes the normalized header in the cache key
-- - Includes the normalized header in the request to the origin, if a
-- request is necessary
--
--
-- For more information, see Compression support in the Amazon
-- CloudFront Developer Guide.
--
-- If you set this value to true, and this cache behavior also
-- has an origin request policy attached, do not include the
-- Accept-Encoding header in the origin request policy.
-- CloudFront always includes the Accept-Encoding header in
-- origin requests when the value of this field is true, so
-- including this header in an origin request policy has no effect.
--
-- If both of these fields are false, then CloudFront treats the
-- Accept-Encoding header the same as any other HTTP header in
-- the viewer request. By default, it's not included in the cache key and
-- it's not included in origin requests. In this case, you can manually
-- add Accept-Encoding to the headers whitelist like any other
-- HTTP header.
parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingBrotli :: Lens' ParametersInCacheKeyAndForwardedToOrigin (Maybe Bool)
-- | A flag that can affect whether the Accept-Encoding HTTP
-- header is included in the cache key and included in requests that
-- CloudFront sends to the origin.
--
-- This field is related to the EnableAcceptEncodingBrotli
-- field. If one or both of these fields is true and the
-- viewer request includes the Accept-Encoding header, then
-- CloudFront does the following:
--
--
-- - Normalizes the value of the viewer's Accept-Encoding
-- header
-- - Includes the normalized header in the cache key
-- - Includes the normalized header in the request to the origin, if a
-- request is necessary
--
--
-- For more information, see Compression support in the Amazon
-- CloudFront Developer Guide.
--
-- If you set this value to true, and this cache behavior also
-- has an origin request policy attached, do not include the
-- Accept-Encoding header in the origin request policy.
-- CloudFront always includes the Accept-Encoding header in
-- origin requests when the value of this field is true, so
-- including this header in an origin request policy has no effect.
--
-- If both of these fields are false, then CloudFront treats the
-- Accept-Encoding header the same as any other HTTP header in
-- the viewer request. By default, it's not included in the cache key and
-- it's not included in origin requests. In this case, you can manually
-- add Accept-Encoding to the headers whitelist like any other
-- HTTP header.
parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingGzip :: Lens' ParametersInCacheKeyAndForwardedToOrigin Bool
-- | An object that determines whether any HTTP headers (and if so, which
-- headers) are included in the cache key and automatically included in
-- requests that CloudFront sends to the origin.
parametersInCacheKeyAndForwardedToOrigin_headersConfig :: Lens' ParametersInCacheKeyAndForwardedToOrigin CachePolicyHeadersConfig
-- | An object that determines whether any cookies in viewer requests (and
-- if so, which cookies) are included in the cache key and automatically
-- included in requests that CloudFront sends to the origin.
parametersInCacheKeyAndForwardedToOrigin_cookiesConfig :: Lens' ParametersInCacheKeyAndForwardedToOrigin CachePolicyCookiesConfig
-- | An object that determines whether any URL query strings in viewer
-- requests (and if so, which query strings) are included in the cache
-- key and automatically included in requests that CloudFront sends to
-- the origin.
parametersInCacheKeyAndForwardedToOrigin_queryStringsConfig :: Lens' ParametersInCacheKeyAndForwardedToOrigin CachePolicyQueryStringsConfig
-- | A complex type that contains information about the objects that you
-- want to invalidate. For more information, see Specifying the
-- Objects to Invalidate in the Amazon CloudFront Developer
-- Guide.
--
-- See: newPaths smart constructor.
data Paths
Paths' :: Maybe [Text] -> Int -> Paths
-- | A complex type that contains a list of the paths that you want to
-- invalidate.
[$sel:items:Paths'] :: Paths -> Maybe [Text]
-- | The number of invalidation paths specified for the objects that you
-- want to invalidate.
[$sel:quantity:Paths'] :: Paths -> Int
-- | Create a value of Paths with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:Paths', paths_items - A complex type that
-- contains a list of the paths that you want to invalidate.
--
-- $sel:quantity:Paths', paths_quantity - The number of
-- invalidation paths specified for the objects that you want to
-- invalidate.
newPaths :: Int -> Paths
-- | A complex type that contains a list of the paths that you want to
-- invalidate.
paths_items :: Lens' Paths (Maybe [Text])
-- | The number of invalidation paths specified for the objects that you
-- want to invalidate.
paths_quantity :: Lens' Paths Int
-- | A public key that you can use with signed URLs and signed
-- cookies, or with field-level encryption.
--
-- See: newPublicKey smart constructor.
data PublicKey
PublicKey' :: Text -> ISO8601 -> PublicKeyConfig -> PublicKey
-- | The identifier of the public key.
[$sel:id:PublicKey'] :: PublicKey -> Text
-- | The date and time when the public key was uploaded.
[$sel:createdTime:PublicKey'] :: PublicKey -> ISO8601
-- | Configuration information about a public key that you can use with
-- signed URLs and signed cookies, or with field-level
-- encryption.
[$sel:publicKeyConfig:PublicKey'] :: PublicKey -> PublicKeyConfig
-- | Create a value of PublicKey with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:PublicKey', publicKey_id - The identifier of the
-- public key.
--
-- $sel:createdTime:PublicKey', publicKey_createdTime - The
-- date and time when the public key was uploaded.
--
-- $sel:publicKeyConfig:PublicKey',
-- publicKey_publicKeyConfig - Configuration information about a
-- public key that you can use with signed URLs and signed
-- cookies, or with field-level encryption.
newPublicKey :: Text -> UTCTime -> PublicKeyConfig -> PublicKey
-- | The identifier of the public key.
publicKey_id :: Lens' PublicKey Text
-- | The date and time when the public key was uploaded.
publicKey_createdTime :: Lens' PublicKey UTCTime
-- | Configuration information about a public key that you can use with
-- signed URLs and signed cookies, or with field-level
-- encryption.
publicKey_publicKeyConfig :: Lens' PublicKey PublicKeyConfig
-- | Configuration information about a public key that you can use with
-- signed URLs and signed cookies, or with field-level
-- encryption.
--
-- See: newPublicKeyConfig smart constructor.
data PublicKeyConfig
PublicKeyConfig' :: Maybe Text -> Text -> Text -> Text -> PublicKeyConfig
-- | A comment to describe the public key. The comment cannot be longer
-- than 128 characters.
[$sel:comment:PublicKeyConfig'] :: PublicKeyConfig -> Maybe Text
-- | A string included in the request to help make sure that the request
-- can't be replayed.
[$sel:callerReference:PublicKeyConfig'] :: PublicKeyConfig -> Text
-- | A name to help identify the public key.
[$sel:name:PublicKeyConfig'] :: PublicKeyConfig -> Text
-- | The public key that you can use with signed URLs and signed
-- cookies, or with field-level encryption.
[$sel:encodedKey:PublicKeyConfig'] :: PublicKeyConfig -> Text
-- | Create a value of PublicKeyConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:PublicKeyConfig', publicKeyConfig_comment -
-- A comment to describe the public key. The comment cannot be longer
-- than 128 characters.
--
-- $sel:callerReference:PublicKeyConfig',
-- publicKeyConfig_callerReference - A string included in the
-- request to help make sure that the request can't be replayed.
--
-- $sel:name:PublicKeyConfig', publicKeyConfig_name - A
-- name to help identify the public key.
--
-- $sel:encodedKey:PublicKeyConfig',
-- publicKeyConfig_encodedKey - The public key that you can use
-- with signed URLs and signed cookies, or with field-level
-- encryption.
newPublicKeyConfig :: Text -> Text -> Text -> PublicKeyConfig
-- | A comment to describe the public key. The comment cannot be longer
-- than 128 characters.
publicKeyConfig_comment :: Lens' PublicKeyConfig (Maybe Text)
-- | A string included in the request to help make sure that the request
-- can't be replayed.
publicKeyConfig_callerReference :: Lens' PublicKeyConfig Text
-- | A name to help identify the public key.
publicKeyConfig_name :: Lens' PublicKeyConfig Text
-- | The public key that you can use with signed URLs and signed
-- cookies, or with field-level encryption.
publicKeyConfig_encodedKey :: Lens' PublicKeyConfig Text
-- | A list of public keys that you can use with signed URLs and signed
-- cookies, or with field-level encryption.
--
-- See: newPublicKeyList smart constructor.
data PublicKeyList
PublicKeyList' :: Maybe [PublicKeySummary] -> Maybe Text -> Int -> Int -> PublicKeyList
-- | A list of public keys.
[$sel:items:PublicKeyList'] :: PublicKeyList -> Maybe [PublicKeySummary]
-- | If there are more elements to be listed, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your public keys where you left off.
[$sel:nextMarker:PublicKeyList'] :: PublicKeyList -> Maybe Text
-- | The maximum number of public keys you want in the response.
[$sel:maxItems:PublicKeyList'] :: PublicKeyList -> Int
-- | The number of public keys in the list.
[$sel:quantity:PublicKeyList'] :: PublicKeyList -> Int
-- | Create a value of PublicKeyList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:PublicKeyList', publicKeyList_items - A list
-- of public keys.
--
-- $sel:nextMarker:PublicKeyList', publicKeyList_nextMarker
-- - If there are more elements to be listed, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your public keys where you left off.
--
-- $sel:maxItems:PublicKeyList', publicKeyList_maxItems -
-- The maximum number of public keys you want in the response.
--
-- $sel:quantity:PublicKeyList', publicKeyList_quantity -
-- The number of public keys in the list.
newPublicKeyList :: Int -> Int -> PublicKeyList
-- | A list of public keys.
publicKeyList_items :: Lens' PublicKeyList (Maybe [PublicKeySummary])
-- | If there are more elements to be listed, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your public keys where you left off.
publicKeyList_nextMarker :: Lens' PublicKeyList (Maybe Text)
-- | The maximum number of public keys you want in the response.
publicKeyList_maxItems :: Lens' PublicKeyList Int
-- | The number of public keys in the list.
publicKeyList_quantity :: Lens' PublicKeyList Int
-- | Contains information about a public key.
--
-- See: newPublicKeySummary smart constructor.
data PublicKeySummary
PublicKeySummary' :: Maybe Text -> Text -> Text -> ISO8601 -> Text -> PublicKeySummary
-- | A comment to describe the public key. The comment cannot be longer
-- than 128 characters.
[$sel:comment:PublicKeySummary'] :: PublicKeySummary -> Maybe Text
-- | The identifier of the public key.
[$sel:id:PublicKeySummary'] :: PublicKeySummary -> Text
-- | A name to help identify the public key.
[$sel:name:PublicKeySummary'] :: PublicKeySummary -> Text
-- | The date and time when the public key was uploaded.
[$sel:createdTime:PublicKeySummary'] :: PublicKeySummary -> ISO8601
-- | The public key.
[$sel:encodedKey:PublicKeySummary'] :: PublicKeySummary -> Text
-- | Create a value of PublicKeySummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:PublicKeySummary', publicKeySummary_comment
-- - A comment to describe the public key. The comment cannot be longer
-- than 128 characters.
--
-- $sel:id:PublicKeySummary', publicKeySummary_id - The
-- identifier of the public key.
--
-- $sel:name:PublicKeySummary', publicKeySummary_name - A
-- name to help identify the public key.
--
-- $sel:createdTime:PublicKeySummary',
-- publicKeySummary_createdTime - The date and time when the
-- public key was uploaded.
--
-- $sel:encodedKey:PublicKeySummary',
-- publicKeySummary_encodedKey - The public key.
newPublicKeySummary :: Text -> Text -> UTCTime -> Text -> PublicKeySummary
-- | A comment to describe the public key. The comment cannot be longer
-- than 128 characters.
publicKeySummary_comment :: Lens' PublicKeySummary (Maybe Text)
-- | The identifier of the public key.
publicKeySummary_id :: Lens' PublicKeySummary Text
-- | A name to help identify the public key.
publicKeySummary_name :: Lens' PublicKeySummary Text
-- | The date and time when the public key was uploaded.
publicKeySummary_createdTime :: Lens' PublicKeySummary UTCTime
-- | The public key.
publicKeySummary_encodedKey :: Lens' PublicKeySummary Text
-- | Query argument-profile mapping for field-level encryption.
--
-- See: newQueryArgProfile smart constructor.
data QueryArgProfile
QueryArgProfile' :: Text -> Text -> QueryArgProfile
-- | Query argument for field-level encryption query argument-profile
-- mapping.
[$sel:queryArg:QueryArgProfile'] :: QueryArgProfile -> Text
-- | ID of profile to use for field-level encryption query argument-profile
-- mapping
[$sel:profileId:QueryArgProfile'] :: QueryArgProfile -> Text
-- | Create a value of QueryArgProfile with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:queryArg:QueryArgProfile', queryArgProfile_queryArg
-- - Query argument for field-level encryption query argument-profile
-- mapping.
--
-- $sel:profileId:QueryArgProfile',
-- queryArgProfile_profileId - ID of profile to use for
-- field-level encryption query argument-profile mapping
newQueryArgProfile :: Text -> Text -> QueryArgProfile
-- | Query argument for field-level encryption query argument-profile
-- mapping.
queryArgProfile_queryArg :: Lens' QueryArgProfile Text
-- | ID of profile to use for field-level encryption query argument-profile
-- mapping
queryArgProfile_profileId :: Lens' QueryArgProfile Text
-- | Configuration for query argument-profile mapping for field-level
-- encryption.
--
-- See: newQueryArgProfileConfig smart constructor.
data QueryArgProfileConfig
QueryArgProfileConfig' :: Maybe QueryArgProfiles -> Bool -> QueryArgProfileConfig
-- | Profiles specified for query argument-profile mapping for field-level
-- encryption.
[$sel:queryArgProfiles:QueryArgProfileConfig'] :: QueryArgProfileConfig -> Maybe QueryArgProfiles
-- | Flag to set if you want a request to be forwarded to the origin even
-- if the profile specified by the field-level encryption query argument,
-- fle-profile, is unknown.
[$sel:forwardWhenQueryArgProfileIsUnknown:QueryArgProfileConfig'] :: QueryArgProfileConfig -> Bool
-- | Create a value of QueryArgProfileConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:queryArgProfiles:QueryArgProfileConfig',
-- queryArgProfileConfig_queryArgProfiles - Profiles specified for
-- query argument-profile mapping for field-level encryption.
--
--
-- $sel:forwardWhenQueryArgProfileIsUnknown:QueryArgProfileConfig',
-- queryArgProfileConfig_forwardWhenQueryArgProfileIsUnknown -
-- Flag to set if you want a request to be forwarded to the origin even
-- if the profile specified by the field-level encryption query argument,
-- fle-profile, is unknown.
newQueryArgProfileConfig :: Bool -> QueryArgProfileConfig
-- | Profiles specified for query argument-profile mapping for field-level
-- encryption.
queryArgProfileConfig_queryArgProfiles :: Lens' QueryArgProfileConfig (Maybe QueryArgProfiles)
-- | Flag to set if you want a request to be forwarded to the origin even
-- if the profile specified by the field-level encryption query argument,
-- fle-profile, is unknown.
queryArgProfileConfig_forwardWhenQueryArgProfileIsUnknown :: Lens' QueryArgProfileConfig Bool
-- | Query argument-profile mapping for field-level encryption.
--
-- See: newQueryArgProfiles smart constructor.
data QueryArgProfiles
QueryArgProfiles' :: Maybe [QueryArgProfile] -> Int -> QueryArgProfiles
-- | Number of items for query argument-profile mapping for field-level
-- encryption.
[$sel:items:QueryArgProfiles'] :: QueryArgProfiles -> Maybe [QueryArgProfile]
-- | Number of profiles for query argument-profile mapping for field-level
-- encryption.
[$sel:quantity:QueryArgProfiles'] :: QueryArgProfiles -> Int
-- | Create a value of QueryArgProfiles with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:QueryArgProfiles', queryArgProfiles_items -
-- Number of items for query argument-profile mapping for field-level
-- encryption.
--
-- $sel:quantity:QueryArgProfiles',
-- queryArgProfiles_quantity - Number of profiles for query
-- argument-profile mapping for field-level encryption.
newQueryArgProfiles :: Int -> QueryArgProfiles
-- | Number of items for query argument-profile mapping for field-level
-- encryption.
queryArgProfiles_items :: Lens' QueryArgProfiles (Maybe [QueryArgProfile])
-- | Number of profiles for query argument-profile mapping for field-level
-- encryption.
queryArgProfiles_quantity :: Lens' QueryArgProfiles Int
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include query strings in the cache key, use
-- QueryStringsConfig in a cache policy. See
-- CachePolicy.
--
-- If you want to send query strings to the origin but not include them
-- in the cache key, use QueryStringsConfig in an origin request
-- policy. See OriginRequestPolicy.
--
-- A complex type that contains information about the query string
-- parameters that you want CloudFront to use for caching for a cache
-- behavior.
--
-- See: newQueryStringCacheKeys smart constructor.
data QueryStringCacheKeys
QueryStringCacheKeys' :: Maybe [Text] -> Int -> QueryStringCacheKeys
-- | A list that contains the query string parameters that you want
-- CloudFront to use as a basis for caching for a cache behavior. If
-- Quantity is 0, you can omit Items.
[$sel:items:QueryStringCacheKeys'] :: QueryStringCacheKeys -> Maybe [Text]
-- | The number of whitelisted query string parameters for a cache
-- behavior.
[$sel:quantity:QueryStringCacheKeys'] :: QueryStringCacheKeys -> Int
-- | Create a value of QueryStringCacheKeys with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:QueryStringCacheKeys',
-- queryStringCacheKeys_items - A list that contains the query
-- string parameters that you want CloudFront to use as a basis for
-- caching for a cache behavior. If Quantity is 0, you can omit
-- Items.
--
-- $sel:quantity:QueryStringCacheKeys',
-- queryStringCacheKeys_quantity - The number of
-- whitelisted query string parameters for a cache behavior.
newQueryStringCacheKeys :: Int -> QueryStringCacheKeys
-- | A list that contains the query string parameters that you want
-- CloudFront to use as a basis for caching for a cache behavior. If
-- Quantity is 0, you can omit Items.
queryStringCacheKeys_items :: Lens' QueryStringCacheKeys (Maybe [Text])
-- | The number of whitelisted query string parameters for a cache
-- behavior.
queryStringCacheKeys_quantity :: Lens' QueryStringCacheKeys Int
-- | Contains a list of query string names.
--
-- See: newQueryStringNames smart constructor.
data QueryStringNames
QueryStringNames' :: Maybe [Text] -> Int -> QueryStringNames
-- | A list of query string names.
[$sel:items:QueryStringNames'] :: QueryStringNames -> Maybe [Text]
-- | The number of query string names in the Items list.
[$sel:quantity:QueryStringNames'] :: QueryStringNames -> Int
-- | Create a value of QueryStringNames with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:QueryStringNames', queryStringNames_items - A
-- list of query string names.
--
-- $sel:quantity:QueryStringNames',
-- queryStringNames_quantity - The number of query string names in
-- the Items list.
newQueryStringNames :: Int -> QueryStringNames
-- | A list of query string names.
queryStringNames_items :: Lens' QueryStringNames (Maybe [Text])
-- | The number of query string names in the Items list.
queryStringNames_quantity :: Lens' QueryStringNames Int
-- | A real-time log configuration.
--
-- See: newRealtimeLogConfig smart constructor.
data RealtimeLogConfig
RealtimeLogConfig' :: Text -> Text -> Integer -> [EndPoint] -> [Text] -> RealtimeLogConfig
-- | The Amazon Resource Name (ARN) of this real-time log configuration.
[$sel:arn:RealtimeLogConfig'] :: RealtimeLogConfig -> Text
-- | The unique name of this real-time log configuration.
[$sel:name:RealtimeLogConfig'] :: RealtimeLogConfig -> Text
-- | The sampling rate for this real-time log configuration. The sampling
-- rate determines the percentage of viewer requests that are represented
-- in the real-time log data. The sampling rate is an integer between 1
-- and 100, inclusive.
[$sel:samplingRate:RealtimeLogConfig'] :: RealtimeLogConfig -> Integer
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data for this real-time log configuration.
[$sel:endPoints:RealtimeLogConfig'] :: RealtimeLogConfig -> [EndPoint]
-- | A list of fields that are included in each real-time log record. In an
-- API response, the fields are provided in the same order in which they
-- are sent to the Amazon Kinesis data stream.
--
-- For more information about fields, see Real-time log configuration
-- fields in the Amazon CloudFront Developer Guide.
[$sel:fields:RealtimeLogConfig'] :: RealtimeLogConfig -> [Text]
-- | Create a value of RealtimeLogConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:RealtimeLogConfig', realtimeLogConfig_arn - The
-- Amazon Resource Name (ARN) of this real-time log configuration.
--
-- $sel:name:RealtimeLogConfig', realtimeLogConfig_name -
-- The unique name of this real-time log configuration.
--
-- $sel:samplingRate:RealtimeLogConfig',
-- realtimeLogConfig_samplingRate - The sampling rate for this
-- real-time log configuration. The sampling rate determines the
-- percentage of viewer requests that are represented in the real-time
-- log data. The sampling rate is an integer between 1 and 100,
-- inclusive.
--
-- $sel:endPoints:RealtimeLogConfig',
-- realtimeLogConfig_endPoints - Contains information about the
-- Amazon Kinesis data stream where you are sending real-time log data
-- for this real-time log configuration.
--
-- $sel:fields:RealtimeLogConfig', realtimeLogConfig_fields
-- - A list of fields that are included in each real-time log record. In
-- an API response, the fields are provided in the same order in which
-- they are sent to the Amazon Kinesis data stream.
--
-- For more information about fields, see Real-time log configuration
-- fields in the Amazon CloudFront Developer Guide.
newRealtimeLogConfig :: Text -> Text -> Integer -> RealtimeLogConfig
-- | The Amazon Resource Name (ARN) of this real-time log configuration.
realtimeLogConfig_arn :: Lens' RealtimeLogConfig Text
-- | The unique name of this real-time log configuration.
realtimeLogConfig_name :: Lens' RealtimeLogConfig Text
-- | The sampling rate for this real-time log configuration. The sampling
-- rate determines the percentage of viewer requests that are represented
-- in the real-time log data. The sampling rate is an integer between 1
-- and 100, inclusive.
realtimeLogConfig_samplingRate :: Lens' RealtimeLogConfig Integer
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data for this real-time log configuration.
realtimeLogConfig_endPoints :: Lens' RealtimeLogConfig [EndPoint]
-- | A list of fields that are included in each real-time log record. In an
-- API response, the fields are provided in the same order in which they
-- are sent to the Amazon Kinesis data stream.
--
-- For more information about fields, see Real-time log configuration
-- fields in the Amazon CloudFront Developer Guide.
realtimeLogConfig_fields :: Lens' RealtimeLogConfig [Text]
-- | A list of real-time log configurations.
--
-- See: newRealtimeLogConfigs smart constructor.
data RealtimeLogConfigs
RealtimeLogConfigs' :: Maybe [RealtimeLogConfig] -> Maybe Text -> Int -> Bool -> Text -> RealtimeLogConfigs
-- | Contains the list of real-time log configurations.
[$sel:items:RealtimeLogConfigs'] :: RealtimeLogConfigs -> Maybe [RealtimeLogConfig]
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- real-time log configurations where you left off.
[$sel:nextMarker:RealtimeLogConfigs'] :: RealtimeLogConfigs -> Maybe Text
-- | The maximum number of real-time log configurations requested.
[$sel:maxItems:RealtimeLogConfigs'] :: RealtimeLogConfigs -> Int
-- | A flag that indicates whether there are more real-time log
-- configurations than are contained in this list.
[$sel:isTruncated:RealtimeLogConfigs'] :: RealtimeLogConfigs -> Bool
-- | This parameter indicates where this list of real-time log
-- configurations begins. This list includes real-time log configurations
-- that occur after the marker.
[$sel:marker:RealtimeLogConfigs'] :: RealtimeLogConfigs -> Text
-- | Create a value of RealtimeLogConfigs with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:RealtimeLogConfigs', realtimeLogConfigs_items
-- - Contains the list of real-time log configurations.
--
-- $sel:nextMarker:RealtimeLogConfigs',
-- realtimeLogConfigs_nextMarker - If there are more items in the
-- list than are in this response, this element is present. It contains
-- the value that you should use in the Marker field of a
-- subsequent request to continue listing real-time log configurations
-- where you left off.
--
-- $sel:maxItems:RealtimeLogConfigs',
-- realtimeLogConfigs_maxItems - The maximum number of real-time
-- log configurations requested.
--
-- $sel:isTruncated:RealtimeLogConfigs',
-- realtimeLogConfigs_isTruncated - A flag that indicates whether
-- there are more real-time log configurations than are contained in this
-- list.
--
-- $sel:marker:RealtimeLogConfigs',
-- realtimeLogConfigs_marker - This parameter indicates where this
-- list of real-time log configurations begins. This list includes
-- real-time log configurations that occur after the marker.
newRealtimeLogConfigs :: Int -> Bool -> Text -> RealtimeLogConfigs
-- | Contains the list of real-time log configurations.
realtimeLogConfigs_items :: Lens' RealtimeLogConfigs (Maybe [RealtimeLogConfig])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- real-time log configurations where you left off.
realtimeLogConfigs_nextMarker :: Lens' RealtimeLogConfigs (Maybe Text)
-- | The maximum number of real-time log configurations requested.
realtimeLogConfigs_maxItems :: Lens' RealtimeLogConfigs Int
-- | A flag that indicates whether there are more real-time log
-- configurations than are contained in this list.
realtimeLogConfigs_isTruncated :: Lens' RealtimeLogConfigs Bool
-- | This parameter indicates where this list of real-time log
-- configurations begins. This list includes real-time log configurations
-- that occur after the marker.
realtimeLogConfigs_marker :: Lens' RealtimeLogConfigs Text
-- | A subscription configuration for additional CloudWatch metrics.
--
-- See: newRealtimeMetricsSubscriptionConfig smart
-- constructor.
data RealtimeMetricsSubscriptionConfig
RealtimeMetricsSubscriptionConfig' :: RealtimeMetricsSubscriptionStatus -> RealtimeMetricsSubscriptionConfig
-- | A flag that indicates whether additional CloudWatch metrics are
-- enabled for a given CloudFront distribution.
[$sel:realtimeMetricsSubscriptionStatus:RealtimeMetricsSubscriptionConfig'] :: RealtimeMetricsSubscriptionConfig -> RealtimeMetricsSubscriptionStatus
-- | Create a value of RealtimeMetricsSubscriptionConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:realtimeMetricsSubscriptionStatus:RealtimeMetricsSubscriptionConfig',
-- realtimeMetricsSubscriptionConfig_realtimeMetricsSubscriptionStatus
-- - A flag that indicates whether additional CloudWatch metrics are
-- enabled for a given CloudFront distribution.
newRealtimeMetricsSubscriptionConfig :: RealtimeMetricsSubscriptionStatus -> RealtimeMetricsSubscriptionConfig
-- | A flag that indicates whether additional CloudWatch metrics are
-- enabled for a given CloudFront distribution.
realtimeMetricsSubscriptionConfig_realtimeMetricsSubscriptionStatus :: Lens' RealtimeMetricsSubscriptionConfig RealtimeMetricsSubscriptionStatus
-- | A response headers policy.
--
-- A response headers policy contains information about a set of HTTP
-- response headers.
--
-- After you create a response headers policy, you can use its ID to
-- attach it to one or more cache behaviors in a CloudFront distribution.
-- When it's attached to a cache behavior, the response headers policy
-- affects the HTTP headers that CloudFront includes in HTTP responses to
-- requests that match the cache behavior. CloudFront adds or removes
-- response headers according to the configuration of the response
-- headers policy.
--
-- For more information, see Adding or removing HTTP headers in
-- CloudFront responses in the Amazon CloudFront Developer
-- Guide.
--
-- See: newResponseHeadersPolicy smart constructor.
data ResponseHeadersPolicy
ResponseHeadersPolicy' :: Text -> ISO8601 -> ResponseHeadersPolicyConfig -> ResponseHeadersPolicy
-- | The identifier for the response headers policy.
[$sel:id:ResponseHeadersPolicy'] :: ResponseHeadersPolicy -> Text
-- | The date and time when the response headers policy was last modified.
[$sel:lastModifiedTime:ResponseHeadersPolicy'] :: ResponseHeadersPolicy -> ISO8601
-- | A response headers policy configuration.
[$sel:responseHeadersPolicyConfig:ResponseHeadersPolicy'] :: ResponseHeadersPolicy -> ResponseHeadersPolicyConfig
-- | Create a value of ResponseHeadersPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:ResponseHeadersPolicy', responseHeadersPolicy_id
-- - The identifier for the response headers policy.
--
-- $sel:lastModifiedTime:ResponseHeadersPolicy',
-- responseHeadersPolicy_lastModifiedTime - The date and time when
-- the response headers policy was last modified.
--
-- $sel:responseHeadersPolicyConfig:ResponseHeadersPolicy',
-- responseHeadersPolicy_responseHeadersPolicyConfig - A response
-- headers policy configuration.
newResponseHeadersPolicy :: Text -> UTCTime -> ResponseHeadersPolicyConfig -> ResponseHeadersPolicy
-- | The identifier for the response headers policy.
responseHeadersPolicy_id :: Lens' ResponseHeadersPolicy Text
-- | The date and time when the response headers policy was last modified.
responseHeadersPolicy_lastModifiedTime :: Lens' ResponseHeadersPolicy UTCTime
-- | A response headers policy configuration.
responseHeadersPolicy_responseHeadersPolicyConfig :: Lens' ResponseHeadersPolicy ResponseHeadersPolicyConfig
-- | A list of HTTP header names that CloudFront includes as values for the
-- Access-Control-Allow-Headers HTTP response header.
--
-- For more information about the Access-Control-Allow-Headers
-- HTTP response header, see Access-Control-Allow-Headers in the
-- MDN Web Docs.
--
-- See: newResponseHeadersPolicyAccessControlAllowHeaders
-- smart constructor.
data ResponseHeadersPolicyAccessControlAllowHeaders
ResponseHeadersPolicyAccessControlAllowHeaders' :: Int -> [Text] -> ResponseHeadersPolicyAccessControlAllowHeaders
-- | The number of HTTP header names in the list.
[$sel:quantity:ResponseHeadersPolicyAccessControlAllowHeaders'] :: ResponseHeadersPolicyAccessControlAllowHeaders -> Int
-- | The list of HTTP header names. You can specify * to allow all
-- headers.
[$sel:items:ResponseHeadersPolicyAccessControlAllowHeaders'] :: ResponseHeadersPolicyAccessControlAllowHeaders -> [Text]
-- | Create a value of
-- ResponseHeadersPolicyAccessControlAllowHeaders with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:ResponseHeadersPolicyAccessControlAllowHeaders',
-- responseHeadersPolicyAccessControlAllowHeaders_quantity - The
-- number of HTTP header names in the list.
--
-- $sel:items:ResponseHeadersPolicyAccessControlAllowHeaders',
-- responseHeadersPolicyAccessControlAllowHeaders_items - The list
-- of HTTP header names. You can specify * to allow all headers.
newResponseHeadersPolicyAccessControlAllowHeaders :: Int -> ResponseHeadersPolicyAccessControlAllowHeaders
-- | The number of HTTP header names in the list.
responseHeadersPolicyAccessControlAllowHeaders_quantity :: Lens' ResponseHeadersPolicyAccessControlAllowHeaders Int
-- | The list of HTTP header names. You can specify * to allow all
-- headers.
responseHeadersPolicyAccessControlAllowHeaders_items :: Lens' ResponseHeadersPolicyAccessControlAllowHeaders [Text]
-- | A list of HTTP methods that CloudFront includes as values for the
-- Access-Control-Allow-Methods HTTP response header.
--
-- For more information about the Access-Control-Allow-Methods
-- HTTP response header, see Access-Control-Allow-Methods in the
-- MDN Web Docs.
--
-- See: newResponseHeadersPolicyAccessControlAllowMethods
-- smart constructor.
data ResponseHeadersPolicyAccessControlAllowMethods
ResponseHeadersPolicyAccessControlAllowMethods' :: Int -> [ResponseHeadersPolicyAccessControlAllowMethodsValues] -> ResponseHeadersPolicyAccessControlAllowMethods
-- | The number of HTTP methods in the list.
[$sel:quantity:ResponseHeadersPolicyAccessControlAllowMethods'] :: ResponseHeadersPolicyAccessControlAllowMethods -> Int
-- | The list of HTTP methods. Valid values are:
--
--
-- GET
-- DELETE
-- HEAD
-- OPTIONS
-- PATCH
-- POST
-- PUT
-- ALL
--
--
-- ALL is a special value that includes all of the listed HTTP
-- methods.
[$sel:items:ResponseHeadersPolicyAccessControlAllowMethods'] :: ResponseHeadersPolicyAccessControlAllowMethods -> [ResponseHeadersPolicyAccessControlAllowMethodsValues]
-- | Create a value of
-- ResponseHeadersPolicyAccessControlAllowMethods with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:ResponseHeadersPolicyAccessControlAllowMethods',
-- responseHeadersPolicyAccessControlAllowMethods_quantity - The
-- number of HTTP methods in the list.
--
-- $sel:items:ResponseHeadersPolicyAccessControlAllowMethods',
-- responseHeadersPolicyAccessControlAllowMethods_items - The list
-- of HTTP methods. Valid values are:
--
--
-- GET
-- DELETE
-- HEAD
-- OPTIONS
-- PATCH
-- POST
-- PUT
-- ALL
--
--
-- ALL is a special value that includes all of the listed HTTP
-- methods.
newResponseHeadersPolicyAccessControlAllowMethods :: Int -> ResponseHeadersPolicyAccessControlAllowMethods
-- | The number of HTTP methods in the list.
responseHeadersPolicyAccessControlAllowMethods_quantity :: Lens' ResponseHeadersPolicyAccessControlAllowMethods Int
-- | The list of HTTP methods. Valid values are:
--
--
-- GET
-- DELETE
-- HEAD
-- OPTIONS
-- PATCH
-- POST
-- PUT
-- ALL
--
--
-- ALL is a special value that includes all of the listed HTTP
-- methods.
responseHeadersPolicyAccessControlAllowMethods_items :: Lens' ResponseHeadersPolicyAccessControlAllowMethods [ResponseHeadersPolicyAccessControlAllowMethodsValues]
-- | A list of origins (domain names) that CloudFront can use as the value
-- for the Access-Control-Allow-Origin HTTP response header.
--
-- For more information about the Access-Control-Allow-Origin
-- HTTP response header, see Access-Control-Allow-Origin in the
-- MDN Web Docs.
--
-- See: newResponseHeadersPolicyAccessControlAllowOrigins
-- smart constructor.
data ResponseHeadersPolicyAccessControlAllowOrigins
ResponseHeadersPolicyAccessControlAllowOrigins' :: Int -> [Text] -> ResponseHeadersPolicyAccessControlAllowOrigins
-- | The number of origins in the list.
[$sel:quantity:ResponseHeadersPolicyAccessControlAllowOrigins'] :: ResponseHeadersPolicyAccessControlAllowOrigins -> Int
-- | The list of origins (domain names). You can specify * to
-- allow all origins.
[$sel:items:ResponseHeadersPolicyAccessControlAllowOrigins'] :: ResponseHeadersPolicyAccessControlAllowOrigins -> [Text]
-- | Create a value of
-- ResponseHeadersPolicyAccessControlAllowOrigins with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:ResponseHeadersPolicyAccessControlAllowOrigins',
-- responseHeadersPolicyAccessControlAllowOrigins_quantity - The
-- number of origins in the list.
--
-- $sel:items:ResponseHeadersPolicyAccessControlAllowOrigins',
-- responseHeadersPolicyAccessControlAllowOrigins_items - The list
-- of origins (domain names). You can specify * to allow all
-- origins.
newResponseHeadersPolicyAccessControlAllowOrigins :: Int -> ResponseHeadersPolicyAccessControlAllowOrigins
-- | The number of origins in the list.
responseHeadersPolicyAccessControlAllowOrigins_quantity :: Lens' ResponseHeadersPolicyAccessControlAllowOrigins Int
-- | The list of origins (domain names). You can specify * to
-- allow all origins.
responseHeadersPolicyAccessControlAllowOrigins_items :: Lens' ResponseHeadersPolicyAccessControlAllowOrigins [Text]
-- | A list of HTTP headers that CloudFront includes as values for the
-- Access-Control-Expose-Headers HTTP response header.
--
-- For more information about the Access-Control-Expose-Headers
-- HTTP response header, see Access-Control-Expose-Headers in the
-- MDN Web Docs.
--
-- See: newResponseHeadersPolicyAccessControlExposeHeaders
-- smart constructor.
data ResponseHeadersPolicyAccessControlExposeHeaders
ResponseHeadersPolicyAccessControlExposeHeaders' :: Maybe [Text] -> Int -> ResponseHeadersPolicyAccessControlExposeHeaders
-- | The list of HTTP headers. You can specify * to expose all
-- headers.
[$sel:items:ResponseHeadersPolicyAccessControlExposeHeaders'] :: ResponseHeadersPolicyAccessControlExposeHeaders -> Maybe [Text]
-- | The number of HTTP headers in the list.
[$sel:quantity:ResponseHeadersPolicyAccessControlExposeHeaders'] :: ResponseHeadersPolicyAccessControlExposeHeaders -> Int
-- | Create a value of
-- ResponseHeadersPolicyAccessControlExposeHeaders with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ResponseHeadersPolicyAccessControlExposeHeaders',
-- responseHeadersPolicyAccessControlExposeHeaders_items - The
-- list of HTTP headers. You can specify * to expose all
-- headers.
--
-- $sel:quantity:ResponseHeadersPolicyAccessControlExposeHeaders',
-- responseHeadersPolicyAccessControlExposeHeaders_quantity - The
-- number of HTTP headers in the list.
newResponseHeadersPolicyAccessControlExposeHeaders :: Int -> ResponseHeadersPolicyAccessControlExposeHeaders
-- | The list of HTTP headers. You can specify * to expose all
-- headers.
responseHeadersPolicyAccessControlExposeHeaders_items :: Lens' ResponseHeadersPolicyAccessControlExposeHeaders (Maybe [Text])
-- | The number of HTTP headers in the list.
responseHeadersPolicyAccessControlExposeHeaders_quantity :: Lens' ResponseHeadersPolicyAccessControlExposeHeaders Int
-- | A response headers policy configuration.
--
-- A response headers policy configuration contains metadata about the
-- response headers policy, and configurations for sets of HTTP response
-- headers.
--
-- See: newResponseHeadersPolicyConfig smart constructor.
data ResponseHeadersPolicyConfig
ResponseHeadersPolicyConfig' :: Maybe Text -> Maybe ResponseHeadersPolicyCorsConfig -> Maybe ResponseHeadersPolicyCustomHeadersConfig -> Maybe ResponseHeadersPolicyRemoveHeadersConfig -> Maybe ResponseHeadersPolicySecurityHeadersConfig -> Maybe ResponseHeadersPolicyServerTimingHeadersConfig -> Text -> ResponseHeadersPolicyConfig
-- | A comment to describe the response headers policy.
--
-- The comment cannot be longer than 128 characters.
[$sel:comment:ResponseHeadersPolicyConfig'] :: ResponseHeadersPolicyConfig -> Maybe Text
-- | A configuration for a set of HTTP response headers that are used for
-- cross-origin resource sharing (CORS).
[$sel:corsConfig:ResponseHeadersPolicyConfig'] :: ResponseHeadersPolicyConfig -> Maybe ResponseHeadersPolicyCorsConfig
-- | A configuration for a set of custom HTTP response headers.
[$sel:customHeadersConfig:ResponseHeadersPolicyConfig'] :: ResponseHeadersPolicyConfig -> Maybe ResponseHeadersPolicyCustomHeadersConfig
-- | A configuration for a set of HTTP headers to remove from the HTTP
-- response.
[$sel:removeHeadersConfig:ResponseHeadersPolicyConfig'] :: ResponseHeadersPolicyConfig -> Maybe ResponseHeadersPolicyRemoveHeadersConfig
-- | A configuration for a set of security-related HTTP response headers.
[$sel:securityHeadersConfig:ResponseHeadersPolicyConfig'] :: ResponseHeadersPolicyConfig -> Maybe ResponseHeadersPolicySecurityHeadersConfig
-- | A configuration for enabling the Server-Timing header in HTTP
-- responses sent from CloudFront.
[$sel:serverTimingHeadersConfig:ResponseHeadersPolicyConfig'] :: ResponseHeadersPolicyConfig -> Maybe ResponseHeadersPolicyServerTimingHeadersConfig
-- | A name to identify the response headers policy.
--
-- The name must be unique for response headers policies in this Amazon
-- Web Services account.
[$sel:name:ResponseHeadersPolicyConfig'] :: ResponseHeadersPolicyConfig -> Text
-- | Create a value of ResponseHeadersPolicyConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_comment - A comment to describe the
-- response headers policy.
--
-- The comment cannot be longer than 128 characters.
--
-- $sel:corsConfig:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_corsConfig - A configuration for a
-- set of HTTP response headers that are used for cross-origin resource
-- sharing (CORS).
--
-- $sel:customHeadersConfig:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_customHeadersConfig - A
-- configuration for a set of custom HTTP response headers.
--
-- $sel:removeHeadersConfig:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_removeHeadersConfig - A
-- configuration for a set of HTTP headers to remove from the HTTP
-- response.
--
-- $sel:securityHeadersConfig:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_securityHeadersConfig - A
-- configuration for a set of security-related HTTP response headers.
--
-- $sel:serverTimingHeadersConfig:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_serverTimingHeadersConfig - A
-- configuration for enabling the Server-Timing header in HTTP
-- responses sent from CloudFront.
--
-- $sel:name:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_name - A name to identify the
-- response headers policy.
--
-- The name must be unique for response headers policies in this Amazon
-- Web Services account.
newResponseHeadersPolicyConfig :: Text -> ResponseHeadersPolicyConfig
-- | A comment to describe the response headers policy.
--
-- The comment cannot be longer than 128 characters.
responseHeadersPolicyConfig_comment :: Lens' ResponseHeadersPolicyConfig (Maybe Text)
-- | A configuration for a set of HTTP response headers that are used for
-- cross-origin resource sharing (CORS).
responseHeadersPolicyConfig_corsConfig :: Lens' ResponseHeadersPolicyConfig (Maybe ResponseHeadersPolicyCorsConfig)
-- | A configuration for a set of custom HTTP response headers.
responseHeadersPolicyConfig_customHeadersConfig :: Lens' ResponseHeadersPolicyConfig (Maybe ResponseHeadersPolicyCustomHeadersConfig)
-- | A configuration for a set of HTTP headers to remove from the HTTP
-- response.
responseHeadersPolicyConfig_removeHeadersConfig :: Lens' ResponseHeadersPolicyConfig (Maybe ResponseHeadersPolicyRemoveHeadersConfig)
-- | A configuration for a set of security-related HTTP response headers.
responseHeadersPolicyConfig_securityHeadersConfig :: Lens' ResponseHeadersPolicyConfig (Maybe ResponseHeadersPolicySecurityHeadersConfig)
-- | A configuration for enabling the Server-Timing header in HTTP
-- responses sent from CloudFront.
responseHeadersPolicyConfig_serverTimingHeadersConfig :: Lens' ResponseHeadersPolicyConfig (Maybe ResponseHeadersPolicyServerTimingHeadersConfig)
-- | A name to identify the response headers policy.
--
-- The name must be unique for response headers policies in this Amazon
-- Web Services account.
responseHeadersPolicyConfig_name :: Lens' ResponseHeadersPolicyConfig Text
-- | The policy directives and their values that CloudFront includes as
-- values for the Content-Security-Policy HTTP response header.
--
-- For more information about the Content-Security-Policy HTTP
-- response header, see Content-Security-Policy in the MDN Web
-- Docs.
--
-- See: newResponseHeadersPolicyContentSecurityPolicy smart
-- constructor.
data ResponseHeadersPolicyContentSecurityPolicy
ResponseHeadersPolicyContentSecurityPolicy' :: Bool -> Text -> ResponseHeadersPolicyContentSecurityPolicy
-- | A Boolean that determines whether CloudFront overrides the
-- Content-Security-Policy HTTP response header received from
-- the origin with the one specified in this response headers policy.
[$sel:override:ResponseHeadersPolicyContentSecurityPolicy'] :: ResponseHeadersPolicyContentSecurityPolicy -> Bool
-- | The policy directives and their values that CloudFront includes as
-- values for the Content-Security-Policy HTTP response header.
[$sel:contentSecurityPolicy:ResponseHeadersPolicyContentSecurityPolicy'] :: ResponseHeadersPolicyContentSecurityPolicy -> Text
-- | Create a value of ResponseHeadersPolicyContentSecurityPolicy
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:override:ResponseHeadersPolicyContentSecurityPolicy',
-- responseHeadersPolicyContentSecurityPolicy_override - A Boolean
-- that determines whether CloudFront overrides the
-- Content-Security-Policy HTTP response header received from
-- the origin with the one specified in this response headers policy.
--
--
-- $sel:contentSecurityPolicy:ResponseHeadersPolicyContentSecurityPolicy',
-- responseHeadersPolicyContentSecurityPolicy_contentSecurityPolicy
-- - The policy directives and their values that CloudFront includes as
-- values for the Content-Security-Policy HTTP response header.
newResponseHeadersPolicyContentSecurityPolicy :: Bool -> Text -> ResponseHeadersPolicyContentSecurityPolicy
-- | A Boolean that determines whether CloudFront overrides the
-- Content-Security-Policy HTTP response header received from
-- the origin with the one specified in this response headers policy.
responseHeadersPolicyContentSecurityPolicy_override :: Lens' ResponseHeadersPolicyContentSecurityPolicy Bool
-- | The policy directives and their values that CloudFront includes as
-- values for the Content-Security-Policy HTTP response header.
responseHeadersPolicyContentSecurityPolicy_contentSecurityPolicy :: Lens' ResponseHeadersPolicyContentSecurityPolicy Text
-- | Determines whether CloudFront includes the
-- X-Content-Type-Options HTTP response header with its value
-- set to nosniff.
--
-- For more information about the X-Content-Type-Options HTTP
-- response header, see X-Content-Type-Options in the MDN Web
-- Docs.
--
-- See: newResponseHeadersPolicyContentTypeOptions smart
-- constructor.
data ResponseHeadersPolicyContentTypeOptions
ResponseHeadersPolicyContentTypeOptions' :: Bool -> ResponseHeadersPolicyContentTypeOptions
-- | A Boolean that determines whether CloudFront overrides the
-- X-Content-Type-Options HTTP response header received from the
-- origin with the one specified in this response headers policy.
[$sel:override:ResponseHeadersPolicyContentTypeOptions'] :: ResponseHeadersPolicyContentTypeOptions -> Bool
-- | Create a value of ResponseHeadersPolicyContentTypeOptions with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:override:ResponseHeadersPolicyContentTypeOptions',
-- responseHeadersPolicyContentTypeOptions_override - A Boolean
-- that determines whether CloudFront overrides the
-- X-Content-Type-Options HTTP response header received from the
-- origin with the one specified in this response headers policy.
newResponseHeadersPolicyContentTypeOptions :: Bool -> ResponseHeadersPolicyContentTypeOptions
-- | A Boolean that determines whether CloudFront overrides the
-- X-Content-Type-Options HTTP response header received from the
-- origin with the one specified in this response headers policy.
responseHeadersPolicyContentTypeOptions_override :: Lens' ResponseHeadersPolicyContentTypeOptions Bool
-- | A configuration for a set of HTTP response headers that are used for
-- cross-origin resource sharing (CORS). CloudFront adds these headers to
-- HTTP responses that it sends for CORS requests that match a cache
-- behavior associated with this response headers policy.
--
-- For more information about CORS, see Cross-Origin Resource Sharing
-- (CORS) in the MDN Web Docs.
--
-- See: newResponseHeadersPolicyCorsConfig smart
-- constructor.
data ResponseHeadersPolicyCorsConfig
ResponseHeadersPolicyCorsConfig' :: Maybe ResponseHeadersPolicyAccessControlExposeHeaders -> Maybe Int -> ResponseHeadersPolicyAccessControlAllowOrigins -> ResponseHeadersPolicyAccessControlAllowHeaders -> ResponseHeadersPolicyAccessControlAllowMethods -> Bool -> Bool -> ResponseHeadersPolicyCorsConfig
-- | A list of HTTP headers that CloudFront includes as values for the
-- Access-Control-Expose-Headers HTTP response header.
--
-- For more information about the Access-Control-Expose-Headers
-- HTTP response header, see Access-Control-Expose-Headers in the
-- MDN Web Docs.
[$sel:accessControlExposeHeaders:ResponseHeadersPolicyCorsConfig'] :: ResponseHeadersPolicyCorsConfig -> Maybe ResponseHeadersPolicyAccessControlExposeHeaders
-- | A number that CloudFront uses as the value for the
-- Access-Control-Max-Age HTTP response header.
--
-- For more information about the Access-Control-Max-Age HTTP
-- response header, see Access-Control-Max-Age in the MDN Web
-- Docs.
[$sel:accessControlMaxAgeSec:ResponseHeadersPolicyCorsConfig'] :: ResponseHeadersPolicyCorsConfig -> Maybe Int
-- | A list of origins (domain names) that CloudFront can use as the value
-- for the Access-Control-Allow-Origin HTTP response header.
--
-- For more information about the Access-Control-Allow-Origin
-- HTTP response header, see Access-Control-Allow-Origin in the
-- MDN Web Docs.
[$sel:accessControlAllowOrigins:ResponseHeadersPolicyCorsConfig'] :: ResponseHeadersPolicyCorsConfig -> ResponseHeadersPolicyAccessControlAllowOrigins
-- | A list of HTTP header names that CloudFront includes as values for the
-- Access-Control-Allow-Headers HTTP response header.
--
-- For more information about the Access-Control-Allow-Headers
-- HTTP response header, see Access-Control-Allow-Headers in the
-- MDN Web Docs.
[$sel:accessControlAllowHeaders:ResponseHeadersPolicyCorsConfig'] :: ResponseHeadersPolicyCorsConfig -> ResponseHeadersPolicyAccessControlAllowHeaders
-- | A list of HTTP methods that CloudFront includes as values for the
-- Access-Control-Allow-Methods HTTP response header.
--
-- For more information about the Access-Control-Allow-Methods
-- HTTP response header, see Access-Control-Allow-Methods in the
-- MDN Web Docs.
[$sel:accessControlAllowMethods:ResponseHeadersPolicyCorsConfig'] :: ResponseHeadersPolicyCorsConfig -> ResponseHeadersPolicyAccessControlAllowMethods
-- | A Boolean that CloudFront uses as the value for the
-- Access-Control-Allow-Credentials HTTP response header.
--
-- For more information about the
-- Access-Control-Allow-Credentials HTTP response header, see
-- Access-Control-Allow-Credentials in the MDN Web Docs.
[$sel:accessControlAllowCredentials:ResponseHeadersPolicyCorsConfig'] :: ResponseHeadersPolicyCorsConfig -> Bool
-- | A Boolean that determines whether CloudFront overrides HTTP response
-- headers received from the origin with the ones specified in this
-- response headers policy.
[$sel:originOverride:ResponseHeadersPolicyCorsConfig'] :: ResponseHeadersPolicyCorsConfig -> Bool
-- | Create a value of ResponseHeadersPolicyCorsConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:accessControlExposeHeaders:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_accessControlExposeHeaders - A
-- list of HTTP headers that CloudFront includes as values for the
-- Access-Control-Expose-Headers HTTP response header.
--
-- For more information about the Access-Control-Expose-Headers
-- HTTP response header, see Access-Control-Expose-Headers in the
-- MDN Web Docs.
--
-- $sel:accessControlMaxAgeSec:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_accessControlMaxAgeSec - A
-- number that CloudFront uses as the value for the
-- Access-Control-Max-Age HTTP response header.
--
-- For more information about the Access-Control-Max-Age HTTP
-- response header, see Access-Control-Max-Age in the MDN Web
-- Docs.
--
--
-- $sel:accessControlAllowOrigins:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_accessControlAllowOrigins - A
-- list of origins (domain names) that CloudFront can use as the value
-- for the Access-Control-Allow-Origin HTTP response header.
--
-- For more information about the Access-Control-Allow-Origin
-- HTTP response header, see Access-Control-Allow-Origin in the
-- MDN Web Docs.
--
--
-- $sel:accessControlAllowHeaders:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_accessControlAllowHeaders - A
-- list of HTTP header names that CloudFront includes as values for the
-- Access-Control-Allow-Headers HTTP response header.
--
-- For more information about the Access-Control-Allow-Headers
-- HTTP response header, see Access-Control-Allow-Headers in the
-- MDN Web Docs.
--
--
-- $sel:accessControlAllowMethods:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_accessControlAllowMethods - A
-- list of HTTP methods that CloudFront includes as values for the
-- Access-Control-Allow-Methods HTTP response header.
--
-- For more information about the Access-Control-Allow-Methods
-- HTTP response header, see Access-Control-Allow-Methods in the
-- MDN Web Docs.
--
--
-- $sel:accessControlAllowCredentials:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_accessControlAllowCredentials -
-- A Boolean that CloudFront uses as the value for the
-- Access-Control-Allow-Credentials HTTP response header.
--
-- For more information about the
-- Access-Control-Allow-Credentials HTTP response header, see
-- Access-Control-Allow-Credentials in the MDN Web Docs.
--
-- $sel:originOverride:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_originOverride - A Boolean that
-- determines whether CloudFront overrides HTTP response headers received
-- from the origin with the ones specified in this response headers
-- policy.
newResponseHeadersPolicyCorsConfig :: ResponseHeadersPolicyAccessControlAllowOrigins -> ResponseHeadersPolicyAccessControlAllowHeaders -> ResponseHeadersPolicyAccessControlAllowMethods -> Bool -> Bool -> ResponseHeadersPolicyCorsConfig
-- | A list of HTTP headers that CloudFront includes as values for the
-- Access-Control-Expose-Headers HTTP response header.
--
-- For more information about the Access-Control-Expose-Headers
-- HTTP response header, see Access-Control-Expose-Headers in the
-- MDN Web Docs.
responseHeadersPolicyCorsConfig_accessControlExposeHeaders :: Lens' ResponseHeadersPolicyCorsConfig (Maybe ResponseHeadersPolicyAccessControlExposeHeaders)
-- | A number that CloudFront uses as the value for the
-- Access-Control-Max-Age HTTP response header.
--
-- For more information about the Access-Control-Max-Age HTTP
-- response header, see Access-Control-Max-Age in the MDN Web
-- Docs.
responseHeadersPolicyCorsConfig_accessControlMaxAgeSec :: Lens' ResponseHeadersPolicyCorsConfig (Maybe Int)
-- | A list of origins (domain names) that CloudFront can use as the value
-- for the Access-Control-Allow-Origin HTTP response header.
--
-- For more information about the Access-Control-Allow-Origin
-- HTTP response header, see Access-Control-Allow-Origin in the
-- MDN Web Docs.
responseHeadersPolicyCorsConfig_accessControlAllowOrigins :: Lens' ResponseHeadersPolicyCorsConfig ResponseHeadersPolicyAccessControlAllowOrigins
-- | A list of HTTP header names that CloudFront includes as values for the
-- Access-Control-Allow-Headers HTTP response header.
--
-- For more information about the Access-Control-Allow-Headers
-- HTTP response header, see Access-Control-Allow-Headers in the
-- MDN Web Docs.
responseHeadersPolicyCorsConfig_accessControlAllowHeaders :: Lens' ResponseHeadersPolicyCorsConfig ResponseHeadersPolicyAccessControlAllowHeaders
-- | A list of HTTP methods that CloudFront includes as values for the
-- Access-Control-Allow-Methods HTTP response header.
--
-- For more information about the Access-Control-Allow-Methods
-- HTTP response header, see Access-Control-Allow-Methods in the
-- MDN Web Docs.
responseHeadersPolicyCorsConfig_accessControlAllowMethods :: Lens' ResponseHeadersPolicyCorsConfig ResponseHeadersPolicyAccessControlAllowMethods
-- | A Boolean that CloudFront uses as the value for the
-- Access-Control-Allow-Credentials HTTP response header.
--
-- For more information about the
-- Access-Control-Allow-Credentials HTTP response header, see
-- Access-Control-Allow-Credentials in the MDN Web Docs.
responseHeadersPolicyCorsConfig_accessControlAllowCredentials :: Lens' ResponseHeadersPolicyCorsConfig Bool
-- | A Boolean that determines whether CloudFront overrides HTTP response
-- headers received from the origin with the ones specified in this
-- response headers policy.
responseHeadersPolicyCorsConfig_originOverride :: Lens' ResponseHeadersPolicyCorsConfig Bool
-- | An HTTP response header name and its value. CloudFront includes this
-- header in HTTP responses that it sends for requests that match a cache
-- behavior that's associated with this response headers policy.
--
-- See: newResponseHeadersPolicyCustomHeader smart
-- constructor.
data ResponseHeadersPolicyCustomHeader
ResponseHeadersPolicyCustomHeader' :: Text -> Text -> Bool -> ResponseHeadersPolicyCustomHeader
-- | The HTTP response header name.
[$sel:header:ResponseHeadersPolicyCustomHeader'] :: ResponseHeadersPolicyCustomHeader -> Text
-- | The value for the HTTP response header.
[$sel:value:ResponseHeadersPolicyCustomHeader'] :: ResponseHeadersPolicyCustomHeader -> Text
-- | A Boolean that determines whether CloudFront overrides a response
-- header with the same name received from the origin with the header
-- specified here.
[$sel:override:ResponseHeadersPolicyCustomHeader'] :: ResponseHeadersPolicyCustomHeader -> Bool
-- | Create a value of ResponseHeadersPolicyCustomHeader with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:header:ResponseHeadersPolicyCustomHeader',
-- responseHeadersPolicyCustomHeader_header - The HTTP response
-- header name.
--
-- $sel:value:ResponseHeadersPolicyCustomHeader',
-- responseHeadersPolicyCustomHeader_value - The value for the
-- HTTP response header.
--
-- $sel:override:ResponseHeadersPolicyCustomHeader',
-- responseHeadersPolicyCustomHeader_override - A Boolean that
-- determines whether CloudFront overrides a response header with the
-- same name received from the origin with the header specified here.
newResponseHeadersPolicyCustomHeader :: Text -> Text -> Bool -> ResponseHeadersPolicyCustomHeader
-- | The HTTP response header name.
responseHeadersPolicyCustomHeader_header :: Lens' ResponseHeadersPolicyCustomHeader Text
-- | The value for the HTTP response header.
responseHeadersPolicyCustomHeader_value :: Lens' ResponseHeadersPolicyCustomHeader Text
-- | A Boolean that determines whether CloudFront overrides a response
-- header with the same name received from the origin with the header
-- specified here.
responseHeadersPolicyCustomHeader_override :: Lens' ResponseHeadersPolicyCustomHeader Bool
-- | A list of HTTP response header names and their values. CloudFront
-- includes these headers in HTTP responses that it sends for requests
-- that match a cache behavior that's associated with this response
-- headers policy.
--
-- See: newResponseHeadersPolicyCustomHeadersConfig smart
-- constructor.
data ResponseHeadersPolicyCustomHeadersConfig
ResponseHeadersPolicyCustomHeadersConfig' :: Maybe [ResponseHeadersPolicyCustomHeader] -> Int -> ResponseHeadersPolicyCustomHeadersConfig
-- | The list of HTTP response headers and their values.
[$sel:items:ResponseHeadersPolicyCustomHeadersConfig'] :: ResponseHeadersPolicyCustomHeadersConfig -> Maybe [ResponseHeadersPolicyCustomHeader]
-- | The number of HTTP response headers in the list.
[$sel:quantity:ResponseHeadersPolicyCustomHeadersConfig'] :: ResponseHeadersPolicyCustomHeadersConfig -> Int
-- | Create a value of ResponseHeadersPolicyCustomHeadersConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ResponseHeadersPolicyCustomHeadersConfig',
-- responseHeadersPolicyCustomHeadersConfig_items - The list of
-- HTTP response headers and their values.
--
-- $sel:quantity:ResponseHeadersPolicyCustomHeadersConfig',
-- responseHeadersPolicyCustomHeadersConfig_quantity - The number
-- of HTTP response headers in the list.
newResponseHeadersPolicyCustomHeadersConfig :: Int -> ResponseHeadersPolicyCustomHeadersConfig
-- | The list of HTTP response headers and their values.
responseHeadersPolicyCustomHeadersConfig_items :: Lens' ResponseHeadersPolicyCustomHeadersConfig (Maybe [ResponseHeadersPolicyCustomHeader])
-- | The number of HTTP response headers in the list.
responseHeadersPolicyCustomHeadersConfig_quantity :: Lens' ResponseHeadersPolicyCustomHeadersConfig Int
-- | Determines whether CloudFront includes the X-Frame-Options
-- HTTP response header and the header's value.
--
-- For more information about the X-Frame-Options HTTP response
-- header, see X-Frame-Options in the MDN Web Docs.
--
-- See: newResponseHeadersPolicyFrameOptions smart
-- constructor.
data ResponseHeadersPolicyFrameOptions
ResponseHeadersPolicyFrameOptions' :: Bool -> FrameOptionsList -> ResponseHeadersPolicyFrameOptions
-- | A Boolean that determines whether CloudFront overrides the
-- X-Frame-Options HTTP response header received from the origin
-- with the one specified in this response headers policy.
[$sel:override:ResponseHeadersPolicyFrameOptions'] :: ResponseHeadersPolicyFrameOptions -> Bool
-- | The value of the X-Frame-Options HTTP response header. Valid
-- values are DENY and SAMEORIGIN.
--
-- For more information about these values, see X-Frame-Options in
-- the MDN Web Docs.
[$sel:frameOption:ResponseHeadersPolicyFrameOptions'] :: ResponseHeadersPolicyFrameOptions -> FrameOptionsList
-- | Create a value of ResponseHeadersPolicyFrameOptions with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:override:ResponseHeadersPolicyFrameOptions',
-- responseHeadersPolicyFrameOptions_override - A Boolean that
-- determines whether CloudFront overrides the X-Frame-Options
-- HTTP response header received from the origin with the one specified
-- in this response headers policy.
--
-- $sel:frameOption:ResponseHeadersPolicyFrameOptions',
-- responseHeadersPolicyFrameOptions_frameOption - The value of
-- the X-Frame-Options HTTP response header. Valid values are
-- DENY and SAMEORIGIN.
--
-- For more information about these values, see X-Frame-Options in
-- the MDN Web Docs.
newResponseHeadersPolicyFrameOptions :: Bool -> FrameOptionsList -> ResponseHeadersPolicyFrameOptions
-- | A Boolean that determines whether CloudFront overrides the
-- X-Frame-Options HTTP response header received from the origin
-- with the one specified in this response headers policy.
responseHeadersPolicyFrameOptions_override :: Lens' ResponseHeadersPolicyFrameOptions Bool
-- | The value of the X-Frame-Options HTTP response header. Valid
-- values are DENY and SAMEORIGIN.
--
-- For more information about these values, see X-Frame-Options in
-- the MDN Web Docs.
responseHeadersPolicyFrameOptions_frameOption :: Lens' ResponseHeadersPolicyFrameOptions FrameOptionsList
-- | A list of response headers policies.
--
-- See: newResponseHeadersPolicyList smart constructor.
data ResponseHeadersPolicyList
ResponseHeadersPolicyList' :: Maybe [ResponseHeadersPolicySummary] -> Maybe Text -> Int -> Int -> ResponseHeadersPolicyList
-- | The response headers policies in the list.
[$sel:items:ResponseHeadersPolicyList'] :: ResponseHeadersPolicyList -> Maybe [ResponseHeadersPolicySummary]
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- response headers policies where you left off.
[$sel:nextMarker:ResponseHeadersPolicyList'] :: ResponseHeadersPolicyList -> Maybe Text
-- | The maximum number of response headers policies requested.
[$sel:maxItems:ResponseHeadersPolicyList'] :: ResponseHeadersPolicyList -> Int
-- | The number of response headers policies returned.
[$sel:quantity:ResponseHeadersPolicyList'] :: ResponseHeadersPolicyList -> Int
-- | Create a value of ResponseHeadersPolicyList with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ResponseHeadersPolicyList',
-- responseHeadersPolicyList_items - The response headers policies
-- in the list.
--
-- $sel:nextMarker:ResponseHeadersPolicyList',
-- responseHeadersPolicyList_nextMarker - If there are more items
-- in the list than are in this response, this element is present. It
-- contains the value that you should use in the Marker field of
-- a subsequent request to continue listing response headers policies
-- where you left off.
--
-- $sel:maxItems:ResponseHeadersPolicyList',
-- responseHeadersPolicyList_maxItems - The maximum number of
-- response headers policies requested.
--
-- $sel:quantity:ResponseHeadersPolicyList',
-- responseHeadersPolicyList_quantity - The number of response
-- headers policies returned.
newResponseHeadersPolicyList :: Int -> Int -> ResponseHeadersPolicyList
-- | The response headers policies in the list.
responseHeadersPolicyList_items :: Lens' ResponseHeadersPolicyList (Maybe [ResponseHeadersPolicySummary])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- response headers policies where you left off.
responseHeadersPolicyList_nextMarker :: Lens' ResponseHeadersPolicyList (Maybe Text)
-- | The maximum number of response headers policies requested.
responseHeadersPolicyList_maxItems :: Lens' ResponseHeadersPolicyList Int
-- | The number of response headers policies returned.
responseHeadersPolicyList_quantity :: Lens' ResponseHeadersPolicyList Int
-- | Determines whether CloudFront includes the Referrer-Policy
-- HTTP response header and the header's value.
--
-- For more information about the Referrer-Policy HTTP response
-- header, see Referrer-Policy in the MDN Web Docs.
--
-- See: newResponseHeadersPolicyReferrerPolicy smart
-- constructor.
data ResponseHeadersPolicyReferrerPolicy
ResponseHeadersPolicyReferrerPolicy' :: Bool -> ReferrerPolicyList -> ResponseHeadersPolicyReferrerPolicy
-- | A Boolean that determines whether CloudFront overrides the
-- Referrer-Policy HTTP response header received from the origin
-- with the one specified in this response headers policy.
[$sel:override:ResponseHeadersPolicyReferrerPolicy'] :: ResponseHeadersPolicyReferrerPolicy -> Bool
-- | The value of the Referrer-Policy HTTP response header. Valid
-- values are:
--
--
--
-- For more information about these values, see Referrer-Policy in
-- the MDN Web Docs.
[$sel:referrerPolicy:ResponseHeadersPolicyReferrerPolicy'] :: ResponseHeadersPolicyReferrerPolicy -> ReferrerPolicyList
-- | Create a value of ResponseHeadersPolicyReferrerPolicy with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:override:ResponseHeadersPolicyReferrerPolicy',
-- responseHeadersPolicyReferrerPolicy_override - A Boolean that
-- determines whether CloudFront overrides the Referrer-Policy
-- HTTP response header received from the origin with the one specified
-- in this response headers policy.
--
-- $sel:referrerPolicy:ResponseHeadersPolicyReferrerPolicy',
-- responseHeadersPolicyReferrerPolicy_referrerPolicy - The value
-- of the Referrer-Policy HTTP response header. Valid values
-- are:
--
--
--
-- For more information about these values, see Referrer-Policy in
-- the MDN Web Docs.
newResponseHeadersPolicyReferrerPolicy :: Bool -> ReferrerPolicyList -> ResponseHeadersPolicyReferrerPolicy
-- | A Boolean that determines whether CloudFront overrides the
-- Referrer-Policy HTTP response header received from the origin
-- with the one specified in this response headers policy.
responseHeadersPolicyReferrerPolicy_override :: Lens' ResponseHeadersPolicyReferrerPolicy Bool
-- | The value of the Referrer-Policy HTTP response header. Valid
-- values are:
--
--
--
-- For more information about these values, see Referrer-Policy in
-- the MDN Web Docs.
responseHeadersPolicyReferrerPolicy_referrerPolicy :: Lens' ResponseHeadersPolicyReferrerPolicy ReferrerPolicyList
-- | The name of an HTTP header that CloudFront removes from HTTP responses
-- to requests that match the cache behavior that this response headers
-- policy is attached to.
--
-- See: newResponseHeadersPolicyRemoveHeader smart
-- constructor.
data ResponseHeadersPolicyRemoveHeader
ResponseHeadersPolicyRemoveHeader' :: Text -> ResponseHeadersPolicyRemoveHeader
-- | The HTTP header name.
[$sel:header:ResponseHeadersPolicyRemoveHeader'] :: ResponseHeadersPolicyRemoveHeader -> Text
-- | Create a value of ResponseHeadersPolicyRemoveHeader with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:header:ResponseHeadersPolicyRemoveHeader',
-- responseHeadersPolicyRemoveHeader_header - The HTTP header
-- name.
newResponseHeadersPolicyRemoveHeader :: Text -> ResponseHeadersPolicyRemoveHeader
-- | The HTTP header name.
responseHeadersPolicyRemoveHeader_header :: Lens' ResponseHeadersPolicyRemoveHeader Text
-- | A list of HTTP header names that CloudFront removes from HTTP
-- responses to requests that match the cache behavior that this response
-- headers policy is attached to.
--
-- See: newResponseHeadersPolicyRemoveHeadersConfig smart
-- constructor.
data ResponseHeadersPolicyRemoveHeadersConfig
ResponseHeadersPolicyRemoveHeadersConfig' :: Maybe [ResponseHeadersPolicyRemoveHeader] -> Int -> ResponseHeadersPolicyRemoveHeadersConfig
-- | The list of HTTP header names.
[$sel:items:ResponseHeadersPolicyRemoveHeadersConfig'] :: ResponseHeadersPolicyRemoveHeadersConfig -> Maybe [ResponseHeadersPolicyRemoveHeader]
-- | The number of HTTP header names in the list.
[$sel:quantity:ResponseHeadersPolicyRemoveHeadersConfig'] :: ResponseHeadersPolicyRemoveHeadersConfig -> Int
-- | Create a value of ResponseHeadersPolicyRemoveHeadersConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ResponseHeadersPolicyRemoveHeadersConfig',
-- responseHeadersPolicyRemoveHeadersConfig_items - The list of
-- HTTP header names.
--
-- $sel:quantity:ResponseHeadersPolicyRemoveHeadersConfig',
-- responseHeadersPolicyRemoveHeadersConfig_quantity - The number
-- of HTTP header names in the list.
newResponseHeadersPolicyRemoveHeadersConfig :: Int -> ResponseHeadersPolicyRemoveHeadersConfig
-- | The list of HTTP header names.
responseHeadersPolicyRemoveHeadersConfig_items :: Lens' ResponseHeadersPolicyRemoveHeadersConfig (Maybe [ResponseHeadersPolicyRemoveHeader])
-- | The number of HTTP header names in the list.
responseHeadersPolicyRemoveHeadersConfig_quantity :: Lens' ResponseHeadersPolicyRemoveHeadersConfig Int
-- | A configuration for a set of security-related HTTP response headers.
-- CloudFront adds these headers to HTTP responses that it sends for
-- requests that match a cache behavior associated with this response
-- headers policy.
--
-- See: newResponseHeadersPolicySecurityHeadersConfig smart
-- constructor.
data ResponseHeadersPolicySecurityHeadersConfig
ResponseHeadersPolicySecurityHeadersConfig' :: Maybe ResponseHeadersPolicyContentSecurityPolicy -> Maybe ResponseHeadersPolicyContentTypeOptions -> Maybe ResponseHeadersPolicyFrameOptions -> Maybe ResponseHeadersPolicyReferrerPolicy -> Maybe ResponseHeadersPolicyStrictTransportSecurity -> Maybe ResponseHeadersPolicyXSSProtection -> ResponseHeadersPolicySecurityHeadersConfig
-- | The policy directives and their values that CloudFront includes as
-- values for the Content-Security-Policy HTTP response header.
--
-- For more information about the Content-Security-Policy HTTP
-- response header, see Content-Security-Policy in the MDN Web
-- Docs.
[$sel:contentSecurityPolicy:ResponseHeadersPolicySecurityHeadersConfig'] :: ResponseHeadersPolicySecurityHeadersConfig -> Maybe ResponseHeadersPolicyContentSecurityPolicy
-- | Determines whether CloudFront includes the
-- X-Content-Type-Options HTTP response header with its value
-- set to nosniff.
--
-- For more information about the X-Content-Type-Options HTTP
-- response header, see X-Content-Type-Options in the MDN Web
-- Docs.
[$sel:contentTypeOptions:ResponseHeadersPolicySecurityHeadersConfig'] :: ResponseHeadersPolicySecurityHeadersConfig -> Maybe ResponseHeadersPolicyContentTypeOptions
-- | Determines whether CloudFront includes the X-Frame-Options
-- HTTP response header and the header's value.
--
-- For more information about the X-Frame-Options HTTP response
-- header, see X-Frame-Options in the MDN Web Docs.
[$sel:frameOptions:ResponseHeadersPolicySecurityHeadersConfig'] :: ResponseHeadersPolicySecurityHeadersConfig -> Maybe ResponseHeadersPolicyFrameOptions
-- | Determines whether CloudFront includes the Referrer-Policy
-- HTTP response header and the header's value.
--
-- For more information about the Referrer-Policy HTTP response
-- header, see Referrer-Policy in the MDN Web Docs.
[$sel:referrerPolicy:ResponseHeadersPolicySecurityHeadersConfig'] :: ResponseHeadersPolicySecurityHeadersConfig -> Maybe ResponseHeadersPolicyReferrerPolicy
-- | Determines whether CloudFront includes the
-- Strict-Transport-Security HTTP response header and the
-- header's value.
--
-- For more information about the Strict-Transport-Security HTTP
-- response header, see Strict-Transport-Security in the MDN Web
-- Docs.
[$sel:strictTransportSecurity:ResponseHeadersPolicySecurityHeadersConfig'] :: ResponseHeadersPolicySecurityHeadersConfig -> Maybe ResponseHeadersPolicyStrictTransportSecurity
-- | Determines whether CloudFront includes the X-XSS-Protection
-- HTTP response header and the header's value.
--
-- For more information about the X-XSS-Protection HTTP response
-- header, see X-XSS-Protection in the MDN Web Docs.
[$sel:xSSProtection:ResponseHeadersPolicySecurityHeadersConfig'] :: ResponseHeadersPolicySecurityHeadersConfig -> Maybe ResponseHeadersPolicyXSSProtection
-- | Create a value of ResponseHeadersPolicySecurityHeadersConfig
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ResponseHeadersPolicySecurityHeadersConfig,
-- responseHeadersPolicySecurityHeadersConfig_contentSecurityPolicy
-- - The policy directives and their values that CloudFront includes as
-- values for the Content-Security-Policy HTTP response header.
--
-- For more information about the Content-Security-Policy HTTP
-- response header, see Content-Security-Policy in the MDN Web
-- Docs.
--
--
-- $sel:contentTypeOptions:ResponseHeadersPolicySecurityHeadersConfig',
-- responseHeadersPolicySecurityHeadersConfig_contentTypeOptions -
-- Determines whether CloudFront includes the
-- X-Content-Type-Options HTTP response header with its value
-- set to nosniff.
--
-- For more information about the X-Content-Type-Options HTTP
-- response header, see X-Content-Type-Options in the MDN Web
-- Docs.
--
-- $sel:frameOptions:ResponseHeadersPolicySecurityHeadersConfig',
-- responseHeadersPolicySecurityHeadersConfig_frameOptions -
-- Determines whether CloudFront includes the X-Frame-Options
-- HTTP response header and the header's value.
--
-- For more information about the X-Frame-Options HTTP response
-- header, see X-Frame-Options in the MDN Web Docs.
--
-- ResponseHeadersPolicySecurityHeadersConfig,
-- responseHeadersPolicySecurityHeadersConfig_referrerPolicy -
-- Determines whether CloudFront includes the Referrer-Policy
-- HTTP response header and the header's value.
--
-- For more information about the Referrer-Policy HTTP response
-- header, see Referrer-Policy in the MDN Web Docs.
--
--
-- $sel:strictTransportSecurity:ResponseHeadersPolicySecurityHeadersConfig',
-- responseHeadersPolicySecurityHeadersConfig_strictTransportSecurity
-- - Determines whether CloudFront includes the
-- Strict-Transport-Security HTTP response header and the
-- header's value.
--
-- For more information about the Strict-Transport-Security HTTP
-- response header, see Strict-Transport-Security in the MDN Web
-- Docs.
--
-- $sel:xSSProtection:ResponseHeadersPolicySecurityHeadersConfig',
-- responseHeadersPolicySecurityHeadersConfig_xSSProtection -
-- Determines whether CloudFront includes the X-XSS-Protection
-- HTTP response header and the header's value.
--
-- For more information about the X-XSS-Protection HTTP response
-- header, see X-XSS-Protection in the MDN Web Docs.
newResponseHeadersPolicySecurityHeadersConfig :: ResponseHeadersPolicySecurityHeadersConfig
-- | The policy directives and their values that CloudFront includes as
-- values for the Content-Security-Policy HTTP response header.
--
-- For more information about the Content-Security-Policy HTTP
-- response header, see Content-Security-Policy in the MDN Web
-- Docs.
responseHeadersPolicySecurityHeadersConfig_contentSecurityPolicy :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyContentSecurityPolicy)
-- | Determines whether CloudFront includes the
-- X-Content-Type-Options HTTP response header with its value
-- set to nosniff.
--
-- For more information about the X-Content-Type-Options HTTP
-- response header, see X-Content-Type-Options in the MDN Web
-- Docs.
responseHeadersPolicySecurityHeadersConfig_contentTypeOptions :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyContentTypeOptions)
-- | Determines whether CloudFront includes the X-Frame-Options
-- HTTP response header and the header's value.
--
-- For more information about the X-Frame-Options HTTP response
-- header, see X-Frame-Options in the MDN Web Docs.
responseHeadersPolicySecurityHeadersConfig_frameOptions :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyFrameOptions)
-- | Determines whether CloudFront includes the Referrer-Policy
-- HTTP response header and the header's value.
--
-- For more information about the Referrer-Policy HTTP response
-- header, see Referrer-Policy in the MDN Web Docs.
responseHeadersPolicySecurityHeadersConfig_referrerPolicy :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyReferrerPolicy)
-- | Determines whether CloudFront includes the
-- Strict-Transport-Security HTTP response header and the
-- header's value.
--
-- For more information about the Strict-Transport-Security HTTP
-- response header, see Strict-Transport-Security in the MDN Web
-- Docs.
responseHeadersPolicySecurityHeadersConfig_strictTransportSecurity :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyStrictTransportSecurity)
-- | Determines whether CloudFront includes the X-XSS-Protection
-- HTTP response header and the header's value.
--
-- For more information about the X-XSS-Protection HTTP response
-- header, see X-XSS-Protection in the MDN Web Docs.
responseHeadersPolicySecurityHeadersConfig_xSSProtection :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyXSSProtection)
-- | A configuration for enabling the Server-Timing header in HTTP
-- responses sent from CloudFront. CloudFront adds this header to HTTP
-- responses that it sends in response to requests that match a cache
-- behavior that's associated with this response headers policy.
--
-- You can use the Server-Timing header to view metrics that can
-- help you gain insights about the behavior and performance of
-- CloudFront. For example, you can see which cache layer served a cache
-- hit, or the first byte latency from the origin when there was a cache
-- miss. You can use the metrics in the Server-Timing header to
-- troubleshoot issues or test the efficiency of your CloudFront
-- configuration. For more information, see Server-Timing header
-- in the Amazon CloudFront Developer Guide.
--
-- See: newResponseHeadersPolicyServerTimingHeadersConfig
-- smart constructor.
data ResponseHeadersPolicyServerTimingHeadersConfig
ResponseHeadersPolicyServerTimingHeadersConfig' :: Maybe Double -> Bool -> ResponseHeadersPolicyServerTimingHeadersConfig
-- | A number 0–100 (inclusive) that specifies the percentage of responses
-- that you want CloudFront to add the Server-Timing header to.
-- When you set the sampling rate to 100, CloudFront adds the
-- Server-Timing header to the HTTP response for every request
-- that matches the cache behavior that this response headers policy is
-- attached to. When you set it to 50, CloudFront adds the header to 50%
-- of the responses for requests that match the cache behavior. You can
-- set the sampling rate to any number 0–100 with up to four decimal
-- places.
[$sel:samplingRate:ResponseHeadersPolicyServerTimingHeadersConfig'] :: ResponseHeadersPolicyServerTimingHeadersConfig -> Maybe Double
-- | A Boolean that determines whether CloudFront adds the
-- Server-Timing header to HTTP responses that it sends in
-- response to requests that match a cache behavior that's associated
-- with this response headers policy.
[$sel:enabled:ResponseHeadersPolicyServerTimingHeadersConfig'] :: ResponseHeadersPolicyServerTimingHeadersConfig -> Bool
-- | Create a value of
-- ResponseHeadersPolicyServerTimingHeadersConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:samplingRate:ResponseHeadersPolicyServerTimingHeadersConfig',
-- responseHeadersPolicyServerTimingHeadersConfig_samplingRate - A
-- number 0–100 (inclusive) that specifies the percentage of responses
-- that you want CloudFront to add the Server-Timing header to.
-- When you set the sampling rate to 100, CloudFront adds the
-- Server-Timing header to the HTTP response for every request
-- that matches the cache behavior that this response headers policy is
-- attached to. When you set it to 50, CloudFront adds the header to 50%
-- of the responses for requests that match the cache behavior. You can
-- set the sampling rate to any number 0–100 with up to four decimal
-- places.
--
-- $sel:enabled:ResponseHeadersPolicyServerTimingHeadersConfig',
-- responseHeadersPolicyServerTimingHeadersConfig_enabled - A
-- Boolean that determines whether CloudFront adds the
-- Server-Timing header to HTTP responses that it sends in
-- response to requests that match a cache behavior that's associated
-- with this response headers policy.
newResponseHeadersPolicyServerTimingHeadersConfig :: Bool -> ResponseHeadersPolicyServerTimingHeadersConfig
-- | A number 0–100 (inclusive) that specifies the percentage of responses
-- that you want CloudFront to add the Server-Timing header to.
-- When you set the sampling rate to 100, CloudFront adds the
-- Server-Timing header to the HTTP response for every request
-- that matches the cache behavior that this response headers policy is
-- attached to. When you set it to 50, CloudFront adds the header to 50%
-- of the responses for requests that match the cache behavior. You can
-- set the sampling rate to any number 0–100 with up to four decimal
-- places.
responseHeadersPolicyServerTimingHeadersConfig_samplingRate :: Lens' ResponseHeadersPolicyServerTimingHeadersConfig (Maybe Double)
-- | A Boolean that determines whether CloudFront adds the
-- Server-Timing header to HTTP responses that it sends in
-- response to requests that match a cache behavior that's associated
-- with this response headers policy.
responseHeadersPolicyServerTimingHeadersConfig_enabled :: Lens' ResponseHeadersPolicyServerTimingHeadersConfig Bool
-- | Determines whether CloudFront includes the
-- Strict-Transport-Security HTTP response header and the
-- header's value.
--
-- For more information about the Strict-Transport-Security HTTP
-- response header, see Strict-Transport-Security in the MDN Web
-- Docs.
--
-- See: newResponseHeadersPolicyStrictTransportSecurity
-- smart constructor.
data ResponseHeadersPolicyStrictTransportSecurity
ResponseHeadersPolicyStrictTransportSecurity' :: Maybe Bool -> Maybe Bool -> Bool -> Int -> ResponseHeadersPolicyStrictTransportSecurity
-- | A Boolean that determines whether CloudFront includes the
-- includeSubDomains directive in the
-- Strict-Transport-Security HTTP response header.
[$sel:includeSubdomains:ResponseHeadersPolicyStrictTransportSecurity'] :: ResponseHeadersPolicyStrictTransportSecurity -> Maybe Bool
-- | A Boolean that determines whether CloudFront includes the
-- preload directive in the Strict-Transport-Security
-- HTTP response header.
[$sel:preload:ResponseHeadersPolicyStrictTransportSecurity'] :: ResponseHeadersPolicyStrictTransportSecurity -> Maybe Bool
-- | A Boolean that determines whether CloudFront overrides the
-- Strict-Transport-Security HTTP response header received from
-- the origin with the one specified in this response headers policy.
[$sel:override:ResponseHeadersPolicyStrictTransportSecurity'] :: ResponseHeadersPolicyStrictTransportSecurity -> Bool
-- | A number that CloudFront uses as the value for the max-age
-- directive in the Strict-Transport-Security HTTP response
-- header.
[$sel:accessControlMaxAgeSec:ResponseHeadersPolicyStrictTransportSecurity'] :: ResponseHeadersPolicyStrictTransportSecurity -> Int
-- | Create a value of ResponseHeadersPolicyStrictTransportSecurity
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:includeSubdomains:ResponseHeadersPolicyStrictTransportSecurity',
-- responseHeadersPolicyStrictTransportSecurity_includeSubdomains
-- - A Boolean that determines whether CloudFront includes the
-- includeSubDomains directive in the
-- Strict-Transport-Security HTTP response header.
--
-- $sel:preload:ResponseHeadersPolicyStrictTransportSecurity',
-- responseHeadersPolicyStrictTransportSecurity_preload - A
-- Boolean that determines whether CloudFront includes the
-- preload directive in the Strict-Transport-Security
-- HTTP response header.
--
-- $sel:override:ResponseHeadersPolicyStrictTransportSecurity',
-- responseHeadersPolicyStrictTransportSecurity_override - A
-- Boolean that determines whether CloudFront overrides the
-- Strict-Transport-Security HTTP response header received from
-- the origin with the one specified in this response headers policy.
--
--
-- $sel:accessControlMaxAgeSec:ResponseHeadersPolicyStrictTransportSecurity',
-- responseHeadersPolicyStrictTransportSecurity_accessControlMaxAgeSec
-- - A number that CloudFront uses as the value for the max-age
-- directive in the Strict-Transport-Security HTTP response
-- header.
newResponseHeadersPolicyStrictTransportSecurity :: Bool -> Int -> ResponseHeadersPolicyStrictTransportSecurity
-- | A Boolean that determines whether CloudFront includes the
-- includeSubDomains directive in the
-- Strict-Transport-Security HTTP response header.
responseHeadersPolicyStrictTransportSecurity_includeSubdomains :: Lens' ResponseHeadersPolicyStrictTransportSecurity (Maybe Bool)
-- | A Boolean that determines whether CloudFront includes the
-- preload directive in the Strict-Transport-Security
-- HTTP response header.
responseHeadersPolicyStrictTransportSecurity_preload :: Lens' ResponseHeadersPolicyStrictTransportSecurity (Maybe Bool)
-- | A Boolean that determines whether CloudFront overrides the
-- Strict-Transport-Security HTTP response header received from
-- the origin with the one specified in this response headers policy.
responseHeadersPolicyStrictTransportSecurity_override :: Lens' ResponseHeadersPolicyStrictTransportSecurity Bool
-- | A number that CloudFront uses as the value for the max-age
-- directive in the Strict-Transport-Security HTTP response
-- header.
responseHeadersPolicyStrictTransportSecurity_accessControlMaxAgeSec :: Lens' ResponseHeadersPolicyStrictTransportSecurity Int
-- | Contains a response headers policy.
--
-- See: newResponseHeadersPolicySummary smart constructor.
data ResponseHeadersPolicySummary
ResponseHeadersPolicySummary' :: ResponseHeadersPolicyType -> ResponseHeadersPolicy -> ResponseHeadersPolicySummary
-- | The type of response headers policy, either managed (created
-- by Amazon Web Services) or custom (created in this Amazon Web
-- Services account).
[$sel:type':ResponseHeadersPolicySummary'] :: ResponseHeadersPolicySummary -> ResponseHeadersPolicyType
-- | The response headers policy.
[$sel:responseHeadersPolicy:ResponseHeadersPolicySummary'] :: ResponseHeadersPolicySummary -> ResponseHeadersPolicy
-- | Create a value of ResponseHeadersPolicySummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':ResponseHeadersPolicySummary',
-- responseHeadersPolicySummary_type - The type of response
-- headers policy, either managed (created by Amazon Web
-- Services) or custom (created in this Amazon Web Services
-- account).
--
-- $sel:responseHeadersPolicy:ResponseHeadersPolicySummary',
-- responseHeadersPolicySummary_responseHeadersPolicy - The
-- response headers policy.
newResponseHeadersPolicySummary :: ResponseHeadersPolicyType -> ResponseHeadersPolicy -> ResponseHeadersPolicySummary
-- | The type of response headers policy, either managed (created
-- by Amazon Web Services) or custom (created in this Amazon Web
-- Services account).
responseHeadersPolicySummary_type :: Lens' ResponseHeadersPolicySummary ResponseHeadersPolicyType
-- | The response headers policy.
responseHeadersPolicySummary_responseHeadersPolicy :: Lens' ResponseHeadersPolicySummary ResponseHeadersPolicy
-- | Determines whether CloudFront includes the X-XSS-Protection
-- HTTP response header and the header's value.
--
-- For more information about the X-XSS-Protection HTTP response
-- header, see X-XSS-Protection in the MDN Web Docs.
--
-- See: newResponseHeadersPolicyXSSProtection smart
-- constructor.
data ResponseHeadersPolicyXSSProtection
ResponseHeadersPolicyXSSProtection' :: Maybe Bool -> Maybe Text -> Bool -> Bool -> ResponseHeadersPolicyXSSProtection
-- | A Boolean that determines whether CloudFront includes the
-- mode=block directive in the X-XSS-Protection header.
--
-- For more information about this directive, see X-XSS-Protection
-- in the MDN Web Docs.
[$sel:modeBlock:ResponseHeadersPolicyXSSProtection'] :: ResponseHeadersPolicyXSSProtection -> Maybe Bool
-- | A reporting URI, which CloudFront uses as the value of the
-- report directive in the X-XSS-Protection header.
--
-- You cannot specify a ReportUri when ModeBlock is
-- true.
--
-- For more information about using a reporting URL, see
-- X-XSS-Protection in the MDN Web Docs.
[$sel:reportUri:ResponseHeadersPolicyXSSProtection'] :: ResponseHeadersPolicyXSSProtection -> Maybe Text
-- | A Boolean that determines whether CloudFront overrides the
-- X-XSS-Protection HTTP response header received from the
-- origin with the one specified in this response headers policy.
[$sel:override:ResponseHeadersPolicyXSSProtection'] :: ResponseHeadersPolicyXSSProtection -> Bool
-- | A Boolean that determines the value of the X-XSS-Protection
-- HTTP response header. When this setting is true, the value of
-- the X-XSS-Protection header is 1. When this setting
-- is false, the value of the X-XSS-Protection header
-- is 0.
--
-- For more information about these settings, see X-XSS-Protection
-- in the MDN Web Docs.
[$sel:protection:ResponseHeadersPolicyXSSProtection'] :: ResponseHeadersPolicyXSSProtection -> Bool
-- | Create a value of ResponseHeadersPolicyXSSProtection with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:modeBlock:ResponseHeadersPolicyXSSProtection',
-- responseHeadersPolicyXSSProtection_modeBlock - A Boolean that
-- determines whether CloudFront includes the mode=block
-- directive in the X-XSS-Protection header.
--
-- For more information about this directive, see X-XSS-Protection
-- in the MDN Web Docs.
--
-- $sel:reportUri:ResponseHeadersPolicyXSSProtection',
-- responseHeadersPolicyXSSProtection_reportUri - A reporting URI,
-- which CloudFront uses as the value of the report directive in
-- the X-XSS-Protection header.
--
-- You cannot specify a ReportUri when ModeBlock is
-- true.
--
-- For more information about using a reporting URL, see
-- X-XSS-Protection in the MDN Web Docs.
--
-- $sel:override:ResponseHeadersPolicyXSSProtection',
-- responseHeadersPolicyXSSProtection_override - A Boolean that
-- determines whether CloudFront overrides the X-XSS-Protection
-- HTTP response header received from the origin with the one specified
-- in this response headers policy.
--
-- $sel:protection:ResponseHeadersPolicyXSSProtection',
-- responseHeadersPolicyXSSProtection_protection - A Boolean that
-- determines the value of the X-XSS-Protection HTTP response
-- header. When this setting is true, the value of the
-- X-XSS-Protection header is 1. When this setting is
-- false, the value of the X-XSS-Protection header is
-- 0.
--
-- For more information about these settings, see X-XSS-Protection
-- in the MDN Web Docs.
newResponseHeadersPolicyXSSProtection :: Bool -> Bool -> ResponseHeadersPolicyXSSProtection
-- | A Boolean that determines whether CloudFront includes the
-- mode=block directive in the X-XSS-Protection header.
--
-- For more information about this directive, see X-XSS-Protection
-- in the MDN Web Docs.
responseHeadersPolicyXSSProtection_modeBlock :: Lens' ResponseHeadersPolicyXSSProtection (Maybe Bool)
-- | A reporting URI, which CloudFront uses as the value of the
-- report directive in the X-XSS-Protection header.
--
-- You cannot specify a ReportUri when ModeBlock is
-- true.
--
-- For more information about using a reporting URL, see
-- X-XSS-Protection in the MDN Web Docs.
responseHeadersPolicyXSSProtection_reportUri :: Lens' ResponseHeadersPolicyXSSProtection (Maybe Text)
-- | A Boolean that determines whether CloudFront overrides the
-- X-XSS-Protection HTTP response header received from the
-- origin with the one specified in this response headers policy.
responseHeadersPolicyXSSProtection_override :: Lens' ResponseHeadersPolicyXSSProtection Bool
-- | A Boolean that determines the value of the X-XSS-Protection
-- HTTP response header. When this setting is true, the value of
-- the X-XSS-Protection header is 1. When this setting
-- is false, the value of the X-XSS-Protection header
-- is 0.
--
-- For more information about these settings, see X-XSS-Protection
-- in the MDN Web Docs.
responseHeadersPolicyXSSProtection_protection :: Lens' ResponseHeadersPolicyXSSProtection Bool
-- | A complex type that identifies ways in which you want to restrict
-- distribution of your content.
--
-- See: newRestrictions smart constructor.
data Restrictions
Restrictions' :: GeoRestriction -> Restrictions
-- | A complex type that controls the countries in which your content is
-- distributed. CloudFront determines the location of your users using
-- MaxMind GeoIP databases.
[$sel:geoRestriction:Restrictions'] :: Restrictions -> GeoRestriction
-- | Create a value of Restrictions with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:geoRestriction:Restrictions',
-- restrictions_geoRestriction - A complex type that controls the
-- countries in which your content is distributed. CloudFront determines
-- the location of your users using MaxMind GeoIP databases.
newRestrictions :: GeoRestriction -> Restrictions
-- | A complex type that controls the countries in which your content is
-- distributed. CloudFront determines the location of your users using
-- MaxMind GeoIP databases.
restrictions_geoRestriction :: Lens' Restrictions GeoRestriction
-- | A complex type that contains information about the Amazon S3 bucket
-- from which you want CloudFront to get your media files for
-- distribution.
--
-- See: newS3Origin smart constructor.
data S3Origin
S3Origin' :: Text -> Text -> S3Origin
-- | The DNS name of the Amazon S3 origin.
[$sel:domainName:S3Origin'] :: S3Origin -> Text
-- | The CloudFront origin access identity to associate with the
-- distribution. Use an origin access identity to configure the
-- distribution so that end users can only access objects in an Amazon S3
-- bucket through CloudFront.
--
-- If you want end users to be able to access objects using either the
-- CloudFront URL or the Amazon S3 URL, specify an empty
-- OriginAccessIdentity element.
--
-- To delete the origin access identity from an existing distribution,
-- update the distribution configuration and include an empty
-- OriginAccessIdentity element.
--
-- To replace the origin access identity, update the distribution
-- configuration and specify the new origin access identity.
--
-- For more information, see Using an Origin Access Identity to
-- Restrict Access to Your Amazon S3 Content in the Amazon
-- CloudFront Developer Guide.
[$sel:originAccessIdentity:S3Origin'] :: S3Origin -> Text
-- | Create a value of S3Origin with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:domainName:S3Origin', s3Origin_domainName - The DNS
-- name of the Amazon S3 origin.
--
-- $sel:originAccessIdentity:S3Origin',
-- s3Origin_originAccessIdentity - The CloudFront origin access
-- identity to associate with the distribution. Use an origin access
-- identity to configure the distribution so that end users can only
-- access objects in an Amazon S3 bucket through CloudFront.
--
-- If you want end users to be able to access objects using either the
-- CloudFront URL or the Amazon S3 URL, specify an empty
-- OriginAccessIdentity element.
--
-- To delete the origin access identity from an existing distribution,
-- update the distribution configuration and include an empty
-- OriginAccessIdentity element.
--
-- To replace the origin access identity, update the distribution
-- configuration and specify the new origin access identity.
--
-- For more information, see Using an Origin Access Identity to
-- Restrict Access to Your Amazon S3 Content in the Amazon
-- CloudFront Developer Guide.
newS3Origin :: Text -> Text -> S3Origin
-- | The DNS name of the Amazon S3 origin.
s3Origin_domainName :: Lens' S3Origin Text
-- | The CloudFront origin access identity to associate with the
-- distribution. Use an origin access identity to configure the
-- distribution so that end users can only access objects in an Amazon S3
-- bucket through CloudFront.
--
-- If you want end users to be able to access objects using either the
-- CloudFront URL or the Amazon S3 URL, specify an empty
-- OriginAccessIdentity element.
--
-- To delete the origin access identity from an existing distribution,
-- update the distribution configuration and include an empty
-- OriginAccessIdentity element.
--
-- To replace the origin access identity, update the distribution
-- configuration and specify the new origin access identity.
--
-- For more information, see Using an Origin Access Identity to
-- Restrict Access to Your Amazon S3 Content in the Amazon
-- CloudFront Developer Guide.
s3Origin_originAccessIdentity :: Lens' S3Origin Text
-- | A complex type that contains information about the Amazon S3 origin.
-- If the origin is a custom origin or an S3 bucket that is configured as
-- a website endpoint, use the CustomOriginConfig element
-- instead.
--
-- See: newS3OriginConfig smart constructor.
data S3OriginConfig
S3OriginConfig' :: Text -> S3OriginConfig
-- | The CloudFront origin access identity to associate with the origin.
-- Use an origin access identity to configure the origin so that viewers
-- can only access objects in an Amazon S3 bucket through
-- CloudFront. The format of the value is:
--
-- origin-access-identity/cloudfront/ID-of-origin-access-identity
--
-- where ID-of-origin-access-identity
-- is the value that CloudFront returned in the ID element when
-- you created the origin access identity.
--
-- If you want viewers to be able to access objects using either the
-- CloudFront URL or the Amazon S3 URL, specify an empty
-- OriginAccessIdentity element.
--
-- To delete the origin access identity from an existing distribution,
-- update the distribution configuration and include an empty
-- OriginAccessIdentity element.
--
-- To replace the origin access identity, update the distribution
-- configuration and specify the new origin access identity.
--
-- For more information about the origin access identity, see Serving
-- Private Content through CloudFront in the Amazon CloudFront
-- Developer Guide.
[$sel:originAccessIdentity:S3OriginConfig'] :: S3OriginConfig -> Text
-- | Create a value of S3OriginConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:originAccessIdentity:S3OriginConfig',
-- s3OriginConfig_originAccessIdentity - The CloudFront origin
-- access identity to associate with the origin. Use an origin access
-- identity to configure the origin so that viewers can only
-- access objects in an Amazon S3 bucket through CloudFront. The format
-- of the value is:
--
-- origin-access-identity/cloudfront/ID-of-origin-access-identity
--
-- where ID-of-origin-access-identity
-- is the value that CloudFront returned in the ID element when
-- you created the origin access identity.
--
-- If you want viewers to be able to access objects using either the
-- CloudFront URL or the Amazon S3 URL, specify an empty
-- OriginAccessIdentity element.
--
-- To delete the origin access identity from an existing distribution,
-- update the distribution configuration and include an empty
-- OriginAccessIdentity element.
--
-- To replace the origin access identity, update the distribution
-- configuration and specify the new origin access identity.
--
-- For more information about the origin access identity, see Serving
-- Private Content through CloudFront in the Amazon CloudFront
-- Developer Guide.
newS3OriginConfig :: Text -> S3OriginConfig
-- | The CloudFront origin access identity to associate with the origin.
-- Use an origin access identity to configure the origin so that viewers
-- can only access objects in an Amazon S3 bucket through
-- CloudFront. The format of the value is:
--
-- origin-access-identity/cloudfront/ID-of-origin-access-identity
--
-- where ID-of-origin-access-identity
-- is the value that CloudFront returned in the ID element when
-- you created the origin access identity.
--
-- If you want viewers to be able to access objects using either the
-- CloudFront URL or the Amazon S3 URL, specify an empty
-- OriginAccessIdentity element.
--
-- To delete the origin access identity from an existing distribution,
-- update the distribution configuration and include an empty
-- OriginAccessIdentity element.
--
-- To replace the origin access identity, update the distribution
-- configuration and specify the new origin access identity.
--
-- For more information about the origin access identity, see Serving
-- Private Content through CloudFront in the Amazon CloudFront
-- Developer Guide.
s3OriginConfig_originAccessIdentity :: Lens' S3OriginConfig Text
-- | Session stickiness provides the ability to define multiple requests
-- from a single viewer as a single session. This prevents the
-- potentially inconsistent experience of sending some of a given user's
-- requests to your staging distribution, while others are sent to your
-- primary distribution. Define the session duration using TTL values.
--
-- See: newSessionStickinessConfig smart constructor.
data SessionStickinessConfig
SessionStickinessConfig' :: Int -> Int -> SessionStickinessConfig
-- | The amount of time after which you want sessions to cease if no
-- requests are received. Allowed values are 300–3600 seconds (5–60
-- minutes).
--
-- The value must be less than or equal to MaximumTTL.
[$sel:idleTTL:SessionStickinessConfig'] :: SessionStickinessConfig -> Int
-- | The maximum amount of time to consider requests from the viewer as
-- being part of the same session. Allowed values are 300–3600 seconds
-- (5–60 minutes).
--
-- The value must be less than or equal to IdleTTL.
[$sel:maximumTTL:SessionStickinessConfig'] :: SessionStickinessConfig -> Int
-- | Create a value of SessionStickinessConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:idleTTL:SessionStickinessConfig',
-- sessionStickinessConfig_idleTTL - The amount of time after
-- which you want sessions to cease if no requests are received. Allowed
-- values are 300–3600 seconds (5–60 minutes).
--
-- The value must be less than or equal to MaximumTTL.
--
-- $sel:maximumTTL:SessionStickinessConfig',
-- sessionStickinessConfig_maximumTTL - The maximum amount of time
-- to consider requests from the viewer as being part of the same
-- session. Allowed values are 300–3600 seconds (5–60 minutes).
--
-- The value must be less than or equal to IdleTTL.
newSessionStickinessConfig :: Int -> Int -> SessionStickinessConfig
-- | The amount of time after which you want sessions to cease if no
-- requests are received. Allowed values are 300–3600 seconds (5–60
-- minutes).
--
-- The value must be less than or equal to MaximumTTL.
sessionStickinessConfig_idleTTL :: Lens' SessionStickinessConfig Int
-- | The maximum amount of time to consider requests from the viewer as
-- being part of the same session. Allowed values are 300–3600 seconds
-- (5–60 minutes).
--
-- The value must be less than or equal to IdleTTL.
sessionStickinessConfig_maximumTTL :: Lens' SessionStickinessConfig Int
-- | A list of Amazon Web Services accounts and the active CloudFront key
-- pairs in each account that CloudFront can use to verify the signatures
-- of signed URLs and signed cookies.
--
-- See: newSigner smart constructor.
data Signer
Signer' :: Maybe Text -> Maybe KeyPairIds -> Signer
-- | An Amazon Web Services account number that contains active CloudFront
-- key pairs that CloudFront can use to verify the signatures of signed
-- URLs and signed cookies. If the Amazon Web Services account that owns
-- the key pairs is the same account that owns the CloudFront
-- distribution, the value of this field is self.
[$sel:awsAccountNumber:Signer'] :: Signer -> Maybe Text
-- | A list of CloudFront key pair identifiers.
[$sel:keyPairIds:Signer'] :: Signer -> Maybe KeyPairIds
-- | Create a value of Signer with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:awsAccountNumber:Signer', signer_awsAccountNumber -
-- An Amazon Web Services account number that contains active CloudFront
-- key pairs that CloudFront can use to verify the signatures of signed
-- URLs and signed cookies. If the Amazon Web Services account that owns
-- the key pairs is the same account that owns the CloudFront
-- distribution, the value of this field is self.
--
-- $sel:keyPairIds:Signer', signer_keyPairIds - A list of
-- CloudFront key pair identifiers.
newSigner :: Signer
-- | An Amazon Web Services account number that contains active CloudFront
-- key pairs that CloudFront can use to verify the signatures of signed
-- URLs and signed cookies. If the Amazon Web Services account that owns
-- the key pairs is the same account that owns the CloudFront
-- distribution, the value of this field is self.
signer_awsAccountNumber :: Lens' Signer (Maybe Text)
-- | A list of CloudFront key pair identifiers.
signer_keyPairIds :: Lens' Signer (Maybe KeyPairIds)
-- | The CloudFront domain name of the staging distribution.
--
-- See: newStagingDistributionDnsNames smart constructor.
data StagingDistributionDnsNames
StagingDistributionDnsNames' :: Maybe [Text] -> Int -> StagingDistributionDnsNames
-- | The CloudFront domain name of the staging distribution.
[$sel:items:StagingDistributionDnsNames'] :: StagingDistributionDnsNames -> Maybe [Text]
-- | The number of CloudFront domain names in your staging distribution.
[$sel:quantity:StagingDistributionDnsNames'] :: StagingDistributionDnsNames -> Int
-- | Create a value of StagingDistributionDnsNames with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:StagingDistributionDnsNames',
-- stagingDistributionDnsNames_items - The CloudFront domain name
-- of the staging distribution.
--
-- $sel:quantity:StagingDistributionDnsNames',
-- stagingDistributionDnsNames_quantity - The number of CloudFront
-- domain names in your staging distribution.
newStagingDistributionDnsNames :: Int -> StagingDistributionDnsNames
-- | The CloudFront domain name of the staging distribution.
stagingDistributionDnsNames_items :: Lens' StagingDistributionDnsNames (Maybe [Text])
-- | The number of CloudFront domain names in your staging distribution.
stagingDistributionDnsNames_quantity :: Lens' StagingDistributionDnsNames Int
-- | A complex data type for the status codes that you specify that, when
-- returned by a primary origin, trigger CloudFront to failover to a
-- second origin.
--
-- See: newStatusCodes smart constructor.
data StatusCodes
StatusCodes' :: Int -> NonEmpty Int -> StatusCodes
-- | The number of status codes.
[$sel:quantity:StatusCodes'] :: StatusCodes -> Int
-- | The items (status codes) for an origin group.
[$sel:items:StatusCodes'] :: StatusCodes -> NonEmpty Int
-- | Create a value of StatusCodes with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:StatusCodes', statusCodes_quantity - The
-- number of status codes.
--
-- $sel:items:StatusCodes', statusCodes_items - The items
-- (status codes) for an origin group.
newStatusCodes :: Int -> NonEmpty Int -> StatusCodes
-- | The number of status codes.
statusCodes_quantity :: Lens' StatusCodes Int
-- | The items (status codes) for an origin group.
statusCodes_items :: Lens' StatusCodes (NonEmpty Int)
-- | A streaming distribution tells CloudFront where you want RTMP content
-- to be delivered from, and the details about how to track and manage
-- content delivery.
--
-- See: newStreamingDistribution smart constructor.
data StreamingDistribution
StreamingDistribution' :: Maybe ISO8601 -> Text -> Text -> Text -> Text -> ActiveTrustedSigners -> StreamingDistributionConfig -> StreamingDistribution
-- | The date and time that the distribution was last modified.
[$sel:lastModifiedTime:StreamingDistribution'] :: StreamingDistribution -> Maybe ISO8601
-- | The identifier for the RTMP distribution. For example:
-- EGTXBD79EXAMPLE.
[$sel:id:StreamingDistribution'] :: StreamingDistribution -> Text
-- | The ARN (Amazon Resource Name) for the distribution. For example:
-- arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
[$sel:arn:StreamingDistribution'] :: StreamingDistribution -> Text
-- | The current status of the RTMP distribution. When the status is
-- Deployed, the distribution's information is propagated to all
-- CloudFront edge locations.
[$sel:status:StreamingDistribution'] :: StreamingDistribution -> Text
-- | The domain name that corresponds to the streaming distribution, for
-- example, s5c39gqb8ow64r.cloudfront.net.
[$sel:domainName:StreamingDistribution'] :: StreamingDistribution -> Text
-- | A complex type that lists the Amazon Web Services accounts, if any,
-- that you included in the TrustedSigners complex type for this
-- distribution. These are the accounts that you want to allow to create
-- signed URLs for private content.
--
-- The Signer complex type lists the Amazon Web Services account
-- number of the trusted signer or self if the signer is the
-- Amazon Web Services account that created the distribution. The
-- Signer element also includes the IDs of any active CloudFront
-- key pairs that are associated with the trusted signer's Amazon Web
-- Services account. If no KeyPairId element appears for a
-- Signer, that signer can't create signed URLs.
--
-- For more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
[$sel:activeTrustedSigners:StreamingDistribution'] :: StreamingDistribution -> ActiveTrustedSigners
-- | The current configuration information for the RTMP distribution.
[$sel:streamingDistributionConfig:StreamingDistribution'] :: StreamingDistribution -> StreamingDistributionConfig
-- | Create a value of StreamingDistribution with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:lastModifiedTime:StreamingDistribution',
-- streamingDistribution_lastModifiedTime - The date and time that
-- the distribution was last modified.
--
-- $sel:id:StreamingDistribution', streamingDistribution_id
-- - The identifier for the RTMP distribution. For example:
-- EGTXBD79EXAMPLE.
--
-- $sel:arn:StreamingDistribution',
-- streamingDistribution_arn - The ARN (Amazon Resource Name) for
-- the distribution. For example:
-- arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
--
-- $sel:status:StreamingDistribution',
-- streamingDistribution_status - The current status of the RTMP
-- distribution. When the status is Deployed, the distribution's
-- information is propagated to all CloudFront edge locations.
--
-- $sel:domainName:StreamingDistribution',
-- streamingDistribution_domainName - The domain name that
-- corresponds to the streaming distribution, for example,
-- s5c39gqb8ow64r.cloudfront.net.
--
-- $sel:activeTrustedSigners:StreamingDistribution',
-- streamingDistribution_activeTrustedSigners - A complex type
-- that lists the Amazon Web Services accounts, if any, that you included
-- in the TrustedSigners complex type for this distribution.
-- These are the accounts that you want to allow to create signed URLs
-- for private content.
--
-- The Signer complex type lists the Amazon Web Services account
-- number of the trusted signer or self if the signer is the
-- Amazon Web Services account that created the distribution. The
-- Signer element also includes the IDs of any active CloudFront
-- key pairs that are associated with the trusted signer's Amazon Web
-- Services account. If no KeyPairId element appears for a
-- Signer, that signer can't create signed URLs.
--
-- For more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
--
-- $sel:streamingDistributionConfig:StreamingDistribution',
-- streamingDistribution_streamingDistributionConfig - The current
-- configuration information for the RTMP distribution.
newStreamingDistribution :: Text -> Text -> Text -> Text -> ActiveTrustedSigners -> StreamingDistributionConfig -> StreamingDistribution
-- | The date and time that the distribution was last modified.
streamingDistribution_lastModifiedTime :: Lens' StreamingDistribution (Maybe UTCTime)
-- | The identifier for the RTMP distribution. For example:
-- EGTXBD79EXAMPLE.
streamingDistribution_id :: Lens' StreamingDistribution Text
-- | The ARN (Amazon Resource Name) for the distribution. For example:
-- arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
streamingDistribution_arn :: Lens' StreamingDistribution Text
-- | The current status of the RTMP distribution. When the status is
-- Deployed, the distribution's information is propagated to all
-- CloudFront edge locations.
streamingDistribution_status :: Lens' StreamingDistribution Text
-- | The domain name that corresponds to the streaming distribution, for
-- example, s5c39gqb8ow64r.cloudfront.net.
streamingDistribution_domainName :: Lens' StreamingDistribution Text
-- | A complex type that lists the Amazon Web Services accounts, if any,
-- that you included in the TrustedSigners complex type for this
-- distribution. These are the accounts that you want to allow to create
-- signed URLs for private content.
--
-- The Signer complex type lists the Amazon Web Services account
-- number of the trusted signer or self if the signer is the
-- Amazon Web Services account that created the distribution. The
-- Signer element also includes the IDs of any active CloudFront
-- key pairs that are associated with the trusted signer's Amazon Web
-- Services account. If no KeyPairId element appears for a
-- Signer, that signer can't create signed URLs.
--
-- For more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
streamingDistribution_activeTrustedSigners :: Lens' StreamingDistribution ActiveTrustedSigners
-- | The current configuration information for the RTMP distribution.
streamingDistribution_streamingDistributionConfig :: Lens' StreamingDistribution StreamingDistributionConfig
-- | The RTMP distribution's configuration information.
--
-- See: newStreamingDistributionConfig smart constructor.
data StreamingDistributionConfig
StreamingDistributionConfig' :: Maybe Aliases -> Maybe StreamingLoggingConfig -> Maybe PriceClass -> Text -> S3Origin -> Text -> TrustedSigners -> Bool -> StreamingDistributionConfig
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this streaming distribution.
[$sel:aliases:StreamingDistributionConfig'] :: StreamingDistributionConfig -> Maybe Aliases
-- | A complex type that controls whether access logs are written for the
-- streaming distribution.
[$sel:logging:StreamingDistributionConfig'] :: StreamingDistributionConfig -> Maybe StreamingLoggingConfig
-- | A complex type that contains information about price class for this
-- streaming distribution.
[$sel:priceClass:StreamingDistributionConfig'] :: StreamingDistributionConfig -> Maybe PriceClass
-- | A unique value (for example, a date-time stamp) that ensures that the
-- request can't be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the StreamingDistributionConfig object),
-- CloudFront creates a new distribution.
--
-- If CallerReference is a value that you already sent in a
-- previous request to create a distribution, CloudFront returns a
-- DistributionAlreadyExists error.
[$sel:callerReference:StreamingDistributionConfig'] :: StreamingDistributionConfig -> Text
-- | A complex type that contains information about the Amazon S3 bucket
-- from which you want CloudFront to get your media files for
-- distribution.
[$sel:s3Origin:StreamingDistributionConfig'] :: StreamingDistributionConfig -> S3Origin
-- | Any comments you want to include about the streaming distribution.
[$sel:comment:StreamingDistributionConfig'] :: StreamingDistributionConfig -> Text
-- | A complex type that specifies any Amazon Web Services accounts that
-- you want to permit to create signed URLs for private content. If you
-- want the distribution to use signed URLs, include this element; if you
-- want the distribution to use public URLs, remove this element. For
-- more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
[$sel:trustedSigners:StreamingDistributionConfig'] :: StreamingDistributionConfig -> TrustedSigners
-- | Whether the streaming distribution is enabled to accept user requests
-- for content.
[$sel:enabled:StreamingDistributionConfig'] :: StreamingDistributionConfig -> Bool
-- | Create a value of StreamingDistributionConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aliases:StreamingDistributionConfig',
-- streamingDistributionConfig_aliases - A complex type that
-- contains information about CNAMEs (alternate domain names), if any,
-- for this streaming distribution.
--
-- $sel:logging:StreamingDistributionConfig',
-- streamingDistributionConfig_logging - A complex type that
-- controls whether access logs are written for the streaming
-- distribution.
--
-- $sel:priceClass:StreamingDistributionConfig',
-- streamingDistributionConfig_priceClass - A complex type that
-- contains information about price class for this streaming
-- distribution.
--
-- $sel:callerReference:StreamingDistributionConfig',
-- streamingDistributionConfig_callerReference - A unique value
-- (for example, a date-time stamp) that ensures that the request can't
-- be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the StreamingDistributionConfig object),
-- CloudFront creates a new distribution.
--
-- If CallerReference is a value that you already sent in a
-- previous request to create a distribution, CloudFront returns a
-- DistributionAlreadyExists error.
--
-- $sel:s3Origin:StreamingDistributionConfig',
-- streamingDistributionConfig_s3Origin - A complex type that
-- contains information about the Amazon S3 bucket from which you want
-- CloudFront to get your media files for distribution.
--
-- $sel:comment:StreamingDistributionConfig',
-- streamingDistributionConfig_comment - Any comments you want to
-- include about the streaming distribution.
--
-- $sel:trustedSigners:StreamingDistributionConfig',
-- streamingDistributionConfig_trustedSigners - A complex type
-- that specifies any Amazon Web Services accounts that you want to
-- permit to create signed URLs for private content. If you want the
-- distribution to use signed URLs, include this element; if you want the
-- distribution to use public URLs, remove this element. For more
-- information, see Serving Private Content through CloudFront in
-- the Amazon CloudFront Developer Guide.
--
-- StreamingDistributionConfig,
-- streamingDistributionConfig_enabled - Whether the streaming
-- distribution is enabled to accept user requests for content.
newStreamingDistributionConfig :: Text -> S3Origin -> Text -> TrustedSigners -> Bool -> StreamingDistributionConfig
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this streaming distribution.
streamingDistributionConfig_aliases :: Lens' StreamingDistributionConfig (Maybe Aliases)
-- | A complex type that controls whether access logs are written for the
-- streaming distribution.
streamingDistributionConfig_logging :: Lens' StreamingDistributionConfig (Maybe StreamingLoggingConfig)
-- | A complex type that contains information about price class for this
-- streaming distribution.
streamingDistributionConfig_priceClass :: Lens' StreamingDistributionConfig (Maybe PriceClass)
-- | A unique value (for example, a date-time stamp) that ensures that the
-- request can't be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the StreamingDistributionConfig object),
-- CloudFront creates a new distribution.
--
-- If CallerReference is a value that you already sent in a
-- previous request to create a distribution, CloudFront returns a
-- DistributionAlreadyExists error.
streamingDistributionConfig_callerReference :: Lens' StreamingDistributionConfig Text
-- | A complex type that contains information about the Amazon S3 bucket
-- from which you want CloudFront to get your media files for
-- distribution.
streamingDistributionConfig_s3Origin :: Lens' StreamingDistributionConfig S3Origin
-- | Any comments you want to include about the streaming distribution.
streamingDistributionConfig_comment :: Lens' StreamingDistributionConfig Text
-- | A complex type that specifies any Amazon Web Services accounts that
-- you want to permit to create signed URLs for private content. If you
-- want the distribution to use signed URLs, include this element; if you
-- want the distribution to use public URLs, remove this element. For
-- more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
streamingDistributionConfig_trustedSigners :: Lens' StreamingDistributionConfig TrustedSigners
-- | Whether the streaming distribution is enabled to accept user requests
-- for content.
streamingDistributionConfig_enabled :: Lens' StreamingDistributionConfig Bool
-- | A streaming distribution Configuration and a list of tags to be
-- associated with the streaming distribution.
--
-- See: newStreamingDistributionConfigWithTags smart
-- constructor.
data StreamingDistributionConfigWithTags
StreamingDistributionConfigWithTags' :: StreamingDistributionConfig -> Tags -> StreamingDistributionConfigWithTags
-- | A streaming distribution Configuration.
[$sel:streamingDistributionConfig:StreamingDistributionConfigWithTags'] :: StreamingDistributionConfigWithTags -> StreamingDistributionConfig
-- | A complex type that contains zero or more Tag elements.
[$sel:tags:StreamingDistributionConfigWithTags'] :: StreamingDistributionConfigWithTags -> Tags
-- | Create a value of StreamingDistributionConfigWithTags with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:streamingDistributionConfig:StreamingDistributionConfigWithTags',
-- streamingDistributionConfigWithTags_streamingDistributionConfig
-- - A streaming distribution Configuration.
--
-- $sel:tags:StreamingDistributionConfigWithTags',
-- streamingDistributionConfigWithTags_tags - A complex type that
-- contains zero or more Tag elements.
newStreamingDistributionConfigWithTags :: StreamingDistributionConfig -> Tags -> StreamingDistributionConfigWithTags
-- | A streaming distribution Configuration.
streamingDistributionConfigWithTags_streamingDistributionConfig :: Lens' StreamingDistributionConfigWithTags StreamingDistributionConfig
-- | A complex type that contains zero or more Tag elements.
streamingDistributionConfigWithTags_tags :: Lens' StreamingDistributionConfigWithTags Tags
-- | A streaming distribution list.
--
-- See: newStreamingDistributionList smart constructor.
data StreamingDistributionList
StreamingDistributionList' :: Maybe [StreamingDistributionSummary] -> Maybe Text -> Text -> Int -> Bool -> Int -> StreamingDistributionList
-- | A complex type that contains one StreamingDistributionSummary
-- element for each distribution that was created by the current Amazon
-- Web Services account.
[$sel:items:StreamingDistributionList'] :: StreamingDistributionList -> Maybe [StreamingDistributionSummary]
-- | If IsTruncated is true, this element is present and
-- contains the value you can use for the Marker request
-- parameter to continue listing your RTMP distributions where they left
-- off.
[$sel:nextMarker:StreamingDistributionList'] :: StreamingDistributionList -> Maybe Text
-- | The value you provided for the Marker request parameter.
[$sel:marker:StreamingDistributionList'] :: StreamingDistributionList -> Text
-- | The value you provided for the MaxItems request parameter.
[$sel:maxItems:StreamingDistributionList'] :: StreamingDistributionList -> Int
-- | 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.
[$sel:isTruncated:StreamingDistributionList'] :: StreamingDistributionList -> Bool
-- | The number of streaming distributions that were created by the current
-- Amazon Web Services account.
[$sel:quantity:StreamingDistributionList'] :: StreamingDistributionList -> Int
-- | Create a value of StreamingDistributionList with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:StreamingDistributionList',
-- streamingDistributionList_items - A complex type that contains
-- one StreamingDistributionSummary element for each
-- distribution that was created by the current Amazon Web Services
-- account.
--
-- $sel:nextMarker:StreamingDistributionList',
-- streamingDistributionList_nextMarker - If IsTruncated
-- is true, this element is present and contains the value you
-- can use for the Marker request parameter to continue listing
-- your RTMP distributions where they left off.
--
-- $sel:marker:StreamingDistributionList',
-- streamingDistributionList_marker - The value you provided for
-- the Marker request parameter.
--
-- $sel:maxItems:StreamingDistributionList',
-- streamingDistributionList_maxItems - The value you provided for
-- the MaxItems request parameter.
--
-- $sel:isTruncated:StreamingDistributionList',
-- streamingDistributionList_isTruncated - 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.
--
-- $sel:quantity:StreamingDistributionList',
-- streamingDistributionList_quantity - The number of streaming
-- distributions that were created by the current Amazon Web Services
-- account.
newStreamingDistributionList :: Text -> Int -> Bool -> Int -> StreamingDistributionList
-- | A complex type that contains one StreamingDistributionSummary
-- element for each distribution that was created by the current Amazon
-- Web Services account.
streamingDistributionList_items :: Lens' StreamingDistributionList (Maybe [StreamingDistributionSummary])
-- | If IsTruncated is true, this element is present and
-- contains the value you can use for the Marker request
-- parameter to continue listing your RTMP distributions where they left
-- off.
streamingDistributionList_nextMarker :: Lens' StreamingDistributionList (Maybe Text)
-- | The value you provided for the Marker request parameter.
streamingDistributionList_marker :: Lens' StreamingDistributionList Text
-- | The value you provided for the MaxItems request parameter.
streamingDistributionList_maxItems :: Lens' StreamingDistributionList Int
-- | 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.
streamingDistributionList_isTruncated :: Lens' StreamingDistributionList Bool
-- | The number of streaming distributions that were created by the current
-- Amazon Web Services account.
streamingDistributionList_quantity :: Lens' StreamingDistributionList Int
-- | A summary of the information for a CloudFront streaming distribution.
--
-- See: newStreamingDistributionSummary smart constructor.
data StreamingDistributionSummary
StreamingDistributionSummary' :: Text -> Text -> Text -> ISO8601 -> Text -> S3Origin -> Aliases -> TrustedSigners -> Text -> PriceClass -> Bool -> StreamingDistributionSummary
-- | The identifier for the distribution, for example,
-- EDFDVBD632BHDS5.
[$sel:id:StreamingDistributionSummary'] :: StreamingDistributionSummary -> Text
-- | The ARN (Amazon Resource Name) for the streaming distribution. For
-- example:
-- arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
[$sel:arn:StreamingDistributionSummary'] :: StreamingDistributionSummary -> Text
-- | Indicates the current status of the distribution. When the status is
-- Deployed, the distribution's information is fully propagated
-- throughout the Amazon CloudFront system.
[$sel:status:StreamingDistributionSummary'] :: StreamingDistributionSummary -> Text
-- | The date and time the distribution was last modified.
[$sel:lastModifiedTime:StreamingDistributionSummary'] :: StreamingDistributionSummary -> ISO8601
-- | The domain name corresponding to the distribution, for example,
-- d111111abcdef8.cloudfront.net.
[$sel:domainName:StreamingDistributionSummary'] :: StreamingDistributionSummary -> Text
-- | A complex type that contains information about the Amazon S3 bucket
-- from which you want CloudFront to get your media files for
-- distribution.
[$sel:s3Origin:StreamingDistributionSummary'] :: StreamingDistributionSummary -> S3Origin
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this streaming distribution.
[$sel:aliases:StreamingDistributionSummary'] :: StreamingDistributionSummary -> Aliases
-- | A complex type that specifies the Amazon Web Services accounts, if
-- any, that you want to allow to create signed URLs for private content.
-- If you want to require signed URLs in requests for objects in the
-- target origin that match the PathPattern for this cache
-- behavior, specify true for Enabled, and specify the
-- applicable values for Quantity and Items.If you
-- don't want to require signed URLs in requests for objects that match
-- PathPattern, specify false for Enabled and
-- 0 for Quantity. Omit Items. To add, change,
-- or remove one or more trusted signers, change Enabled to
-- true (if it's currently false), change
-- Quantity as applicable, and specify all of the trusted
-- signers that you want to include in the updated distribution.
--
-- For more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
[$sel:trustedSigners:StreamingDistributionSummary'] :: StreamingDistributionSummary -> TrustedSigners
-- | The comment originally specified when this distribution was created.
[$sel:comment:StreamingDistributionSummary'] :: StreamingDistributionSummary -> Text
-- | A complex type that contains information about price class for this
-- streaming distribution.
[$sel:priceClass:StreamingDistributionSummary'] :: StreamingDistributionSummary -> PriceClass
-- | Whether the distribution is enabled to accept end user requests for
-- content.
[$sel:enabled:StreamingDistributionSummary'] :: StreamingDistributionSummary -> Bool
-- | Create a value of StreamingDistributionSummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:StreamingDistributionSummary',
-- streamingDistributionSummary_id - The identifier for the
-- distribution, for example, EDFDVBD632BHDS5.
--
-- $sel:arn:StreamingDistributionSummary',
-- streamingDistributionSummary_arn - The ARN (Amazon Resource
-- Name) for the streaming distribution. For example:
-- arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
--
-- $sel:status:StreamingDistributionSummary',
-- streamingDistributionSummary_status - Indicates the current
-- status of the distribution. When the status is Deployed, the
-- distribution's information is fully propagated throughout the Amazon
-- CloudFront system.
--
-- $sel:lastModifiedTime:StreamingDistributionSummary',
-- streamingDistributionSummary_lastModifiedTime - The date and
-- time the distribution was last modified.
--
-- StreamingDistributionSummary,
-- streamingDistributionSummary_domainName - The domain name
-- corresponding to the distribution, for example,
-- d111111abcdef8.cloudfront.net.
--
-- $sel:s3Origin:StreamingDistributionSummary',
-- streamingDistributionSummary_s3Origin - A complex type that
-- contains information about the Amazon S3 bucket from which you want
-- CloudFront to get your media files for distribution.
--
-- $sel:aliases:StreamingDistributionSummary',
-- streamingDistributionSummary_aliases - A complex type that
-- contains information about CNAMEs (alternate domain names), if any,
-- for this streaming distribution.
--
-- $sel:trustedSigners:StreamingDistributionSummary',
-- streamingDistributionSummary_trustedSigners - A complex type
-- that specifies the Amazon Web Services accounts, if any, that you want
-- to allow to create signed URLs for private content. If you want to
-- require signed URLs in requests for objects in the target origin that
-- match the PathPattern for this cache behavior, specify
-- true for Enabled, and specify the applicable values
-- for Quantity and Items.If you don't want to require
-- signed URLs in requests for objects that match PathPattern,
-- specify false for Enabled and 0 for
-- Quantity. Omit Items. To add, change, or remove one
-- or more trusted signers, change Enabled to true (if
-- it's currently false), change Quantity as
-- applicable, and specify all of the trusted signers that you want to
-- include in the updated distribution.
--
-- For more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
--
-- $sel:comment:StreamingDistributionSummary',
-- streamingDistributionSummary_comment - The comment originally
-- specified when this distribution was created.
--
-- $sel:priceClass:StreamingDistributionSummary',
-- streamingDistributionSummary_priceClass - A complex type that
-- contains information about price class for this streaming
-- distribution.
--
-- StreamingDistributionSummary,
-- streamingDistributionSummary_enabled - Whether the distribution
-- is enabled to accept end user requests for content.
newStreamingDistributionSummary :: Text -> Text -> Text -> UTCTime -> Text -> S3Origin -> Aliases -> TrustedSigners -> Text -> PriceClass -> Bool -> StreamingDistributionSummary
-- | The identifier for the distribution, for example,
-- EDFDVBD632BHDS5.
streamingDistributionSummary_id :: Lens' StreamingDistributionSummary Text
-- | The ARN (Amazon Resource Name) for the streaming distribution. For
-- example:
-- arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
streamingDistributionSummary_arn :: Lens' StreamingDistributionSummary Text
-- | Indicates the current status of the distribution. When the status is
-- Deployed, the distribution's information is fully propagated
-- throughout the Amazon CloudFront system.
streamingDistributionSummary_status :: Lens' StreamingDistributionSummary Text
-- | The date and time the distribution was last modified.
streamingDistributionSummary_lastModifiedTime :: Lens' StreamingDistributionSummary UTCTime
-- | The domain name corresponding to the distribution, for example,
-- d111111abcdef8.cloudfront.net.
streamingDistributionSummary_domainName :: Lens' StreamingDistributionSummary Text
-- | A complex type that contains information about the Amazon S3 bucket
-- from which you want CloudFront to get your media files for
-- distribution.
streamingDistributionSummary_s3Origin :: Lens' StreamingDistributionSummary S3Origin
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this streaming distribution.
streamingDistributionSummary_aliases :: Lens' StreamingDistributionSummary Aliases
-- | A complex type that specifies the Amazon Web Services accounts, if
-- any, that you want to allow to create signed URLs for private content.
-- If you want to require signed URLs in requests for objects in the
-- target origin that match the PathPattern for this cache
-- behavior, specify true for Enabled, and specify the
-- applicable values for Quantity and Items.If you
-- don't want to require signed URLs in requests for objects that match
-- PathPattern, specify false for Enabled and
-- 0 for Quantity. Omit Items. To add, change,
-- or remove one or more trusted signers, change Enabled to
-- true (if it's currently false), change
-- Quantity as applicable, and specify all of the trusted
-- signers that you want to include in the updated distribution.
--
-- For more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
streamingDistributionSummary_trustedSigners :: Lens' StreamingDistributionSummary TrustedSigners
-- | The comment originally specified when this distribution was created.
streamingDistributionSummary_comment :: Lens' StreamingDistributionSummary Text
-- | A complex type that contains information about price class for this
-- streaming distribution.
streamingDistributionSummary_priceClass :: Lens' StreamingDistributionSummary PriceClass
-- | Whether the distribution is enabled to accept end user requests for
-- content.
streamingDistributionSummary_enabled :: Lens' StreamingDistributionSummary Bool
-- | A complex type that controls whether access logs are written for this
-- streaming distribution.
--
-- See: newStreamingLoggingConfig smart constructor.
data StreamingLoggingConfig
StreamingLoggingConfig' :: Bool -> Text -> Text -> StreamingLoggingConfig
-- | Specifies whether you want CloudFront to save access logs to an Amazon
-- S3 bucket. If you don't 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.
[$sel:enabled:StreamingLoggingConfig'] :: StreamingLoggingConfig -> Bool
-- | The Amazon S3 bucket to store the access logs in, for example,
-- myawslogbucket.s3.amazonaws.com.
[$sel:bucket:StreamingLoggingConfig'] :: StreamingLoggingConfig -> Text
-- | An optional string that you want CloudFront to prefix to the access
-- log filenames for this streaming distribution, for example,
-- myprefix/. If you want to enable logging, but you don't want
-- to specify a prefix, you still must include an empty Prefix
-- element in the Logging element.
[$sel:prefix:StreamingLoggingConfig'] :: StreamingLoggingConfig -> Text
-- | Create a value of StreamingLoggingConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:enabled:StreamingLoggingConfig',
-- streamingLoggingConfig_enabled - Specifies whether you want
-- CloudFront to save access logs to an Amazon S3 bucket. If you don't
-- 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.
--
-- $sel:bucket:StreamingLoggingConfig',
-- streamingLoggingConfig_bucket - The Amazon S3 bucket to store
-- the access logs in, for example,
-- myawslogbucket.s3.amazonaws.com.
--
-- $sel:prefix:StreamingLoggingConfig',
-- streamingLoggingConfig_prefix - 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 don't want to specify a prefix, you still
-- must include an empty Prefix element in the Logging
-- element.
newStreamingLoggingConfig :: Bool -> Text -> Text -> StreamingLoggingConfig
-- | Specifies whether you want CloudFront to save access logs to an Amazon
-- S3 bucket. If you don't 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.
streamingLoggingConfig_enabled :: Lens' StreamingLoggingConfig Bool
-- | The Amazon S3 bucket to store the access logs in, for example,
-- myawslogbucket.s3.amazonaws.com.
streamingLoggingConfig_bucket :: Lens' StreamingLoggingConfig Text
-- | An optional string that you want CloudFront to prefix to the access
-- log filenames for this streaming distribution, for example,
-- myprefix/. If you want to enable logging, but you don't want
-- to specify a prefix, you still must include an empty Prefix
-- element in the Logging element.
streamingLoggingConfig_prefix :: Lens' StreamingLoggingConfig Text
-- | A complex type that contains Tag key and Tag value.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Maybe Text -> Text -> Tag
-- | A string that contains an optional Tag value.
--
-- The string length should be between 0 and 256 characters. Valid
-- characters include a-z, A-Z, 0-9, space,
-- and the special characters _ - . : / = + @.
[$sel:value:Tag'] :: Tag -> Maybe Text
-- | A string that contains Tag key.
--
-- The string length should be between 1 and 128 characters. Valid
-- characters include a-z, A-Z, 0-9, space,
-- and the special characters _ - . : / = + @.
[$sel:key:Tag'] :: Tag -> Text
-- | Create a value of Tag with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:value:Tag', tag_value - A string that contains an
-- optional Tag value.
--
-- The string length should be between 0 and 256 characters. Valid
-- characters include a-z, A-Z, 0-9, space,
-- and the special characters _ - . : / = + @.
--
-- $sel:key:Tag', tag_key - A string that contains
-- Tag key.
--
-- The string length should be between 1 and 128 characters. Valid
-- characters include a-z, A-Z, 0-9, space,
-- and the special characters _ - . : / = + @.
newTag :: Text -> Tag
-- | A string that contains an optional Tag value.
--
-- The string length should be between 0 and 256 characters. Valid
-- characters include a-z, A-Z, 0-9, space,
-- and the special characters _ - . : / = + @.
tag_value :: Lens' Tag (Maybe Text)
-- | A string that contains Tag key.
--
-- The string length should be between 1 and 128 characters. Valid
-- characters include a-z, A-Z, 0-9, space,
-- and the special characters _ - . : / = + @.
tag_key :: Lens' Tag Text
-- | A complex type that contains zero or more Tag elements.
--
-- See: newTagKeys smart constructor.
data TagKeys
TagKeys' :: Maybe [Text] -> TagKeys
-- | A complex type that contains Tag key elements.
[$sel:items:TagKeys'] :: TagKeys -> Maybe [Text]
-- | Create a value of TagKeys with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:TagKeys', tagKeys_items - A complex type that
-- contains Tag key elements.
newTagKeys :: TagKeys
-- | A complex type that contains Tag key elements.
tagKeys_items :: Lens' TagKeys (Maybe [Text])
-- | A complex type that contains zero or more Tag elements.
--
-- See: newTags smart constructor.
data Tags
Tags' :: Maybe [Tag] -> Tags
-- | A complex type that contains Tag elements.
[$sel:items:Tags'] :: Tags -> Maybe [Tag]
-- | Create a value of Tags with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:Tags', tags_items - A complex type that
-- contains Tag elements.
newTags :: Tags
-- | A complex type that contains Tag elements.
tags_items :: Lens' Tags (Maybe [Tag])
-- | Contains the result of testing a CloudFront function with
-- TestFunction.
--
-- See: newTestResult smart constructor.
data TestResult
TestResult' :: Maybe Text -> Maybe (Sensitive Text) -> Maybe (Sensitive [Text]) -> Maybe (Sensitive Text) -> Maybe FunctionSummary -> TestResult
-- | The amount of time that the function took to run as a percentage of
-- the maximum allowed time. For example, a compute utilization of 35
-- means that the function completed in 35% of the maximum allowed time.
[$sel:computeUtilization:TestResult'] :: TestResult -> Maybe Text
-- | If the result of testing the function was an error, this field
-- contains the error message.
[$sel:functionErrorMessage:TestResult'] :: TestResult -> Maybe (Sensitive Text)
-- | Contains the log lines that the function wrote (if any) when running
-- the test.
[$sel:functionExecutionLogs:TestResult'] :: TestResult -> Maybe (Sensitive [Text])
-- | The event object returned by the function. For more information about
-- the structure of the event object, see Event object structure
-- in the Amazon CloudFront Developer Guide.
[$sel:functionOutput:TestResult'] :: TestResult -> Maybe (Sensitive Text)
-- | Contains configuration information and metadata about the CloudFront
-- function that was tested.
[$sel:functionSummary:TestResult'] :: TestResult -> Maybe FunctionSummary
-- | Create a value of TestResult with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:computeUtilization:TestResult',
-- testResult_computeUtilization - The amount of time that the
-- function took to run as a percentage of the maximum allowed time. For
-- example, a compute utilization of 35 means that the function completed
-- in 35% of the maximum allowed time.
--
-- $sel:functionErrorMessage:TestResult',
-- testResult_functionErrorMessage - If the result of testing the
-- function was an error, this field contains the error message.
--
-- $sel:functionExecutionLogs:TestResult',
-- testResult_functionExecutionLogs - Contains the log lines that
-- the function wrote (if any) when running the test.
--
-- $sel:functionOutput:TestResult',
-- testResult_functionOutput - The event object returned by the
-- function. For more information about the structure of the event
-- object, see Event object structure in the Amazon CloudFront
-- Developer Guide.
--
-- $sel:functionSummary:TestResult',
-- testResult_functionSummary - Contains configuration information
-- and metadata about the CloudFront function that was tested.
newTestResult :: TestResult
-- | The amount of time that the function took to run as a percentage of
-- the maximum allowed time. For example, a compute utilization of 35
-- means that the function completed in 35% of the maximum allowed time.
testResult_computeUtilization :: Lens' TestResult (Maybe Text)
-- | If the result of testing the function was an error, this field
-- contains the error message.
testResult_functionErrorMessage :: Lens' TestResult (Maybe Text)
-- | Contains the log lines that the function wrote (if any) when running
-- the test.
testResult_functionExecutionLogs :: Lens' TestResult (Maybe [Text])
-- | The event object returned by the function. For more information about
-- the structure of the event object, see Event object structure
-- in the Amazon CloudFront Developer Guide.
testResult_functionOutput :: Lens' TestResult (Maybe Text)
-- | Contains configuration information and metadata about the CloudFront
-- function that was tested.
testResult_functionSummary :: Lens' TestResult (Maybe FunctionSummary)
-- | The traffic configuration of your continuous deployment.
--
-- See: newTrafficConfig smart constructor.
data TrafficConfig
TrafficConfig' :: Maybe ContinuousDeploymentSingleHeaderConfig -> Maybe ContinuousDeploymentSingleWeightConfig -> ContinuousDeploymentPolicyType -> TrafficConfig
-- | Determines which HTTP requests are sent to the staging distribution.
[$sel:singleHeaderConfig:TrafficConfig'] :: TrafficConfig -> Maybe ContinuousDeploymentSingleHeaderConfig
-- | Contains the percentage of traffic to send to the staging
-- distribution.
[$sel:singleWeightConfig:TrafficConfig'] :: TrafficConfig -> Maybe ContinuousDeploymentSingleWeightConfig
-- | The type of traffic configuration.
[$sel:type':TrafficConfig'] :: TrafficConfig -> ContinuousDeploymentPolicyType
-- | Create a value of TrafficConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:singleHeaderConfig:TrafficConfig',
-- trafficConfig_singleHeaderConfig - Determines which HTTP
-- requests are sent to the staging distribution.
--
-- $sel:singleWeightConfig:TrafficConfig',
-- trafficConfig_singleWeightConfig - Contains the percentage of
-- traffic to send to the staging distribution.
--
-- $sel:type':TrafficConfig', trafficConfig_type - The type
-- of traffic configuration.
newTrafficConfig :: ContinuousDeploymentPolicyType -> TrafficConfig
-- | Determines which HTTP requests are sent to the staging distribution.
trafficConfig_singleHeaderConfig :: Lens' TrafficConfig (Maybe ContinuousDeploymentSingleHeaderConfig)
-- | Contains the percentage of traffic to send to the staging
-- distribution.
trafficConfig_singleWeightConfig :: Lens' TrafficConfig (Maybe ContinuousDeploymentSingleWeightConfig)
-- | The type of traffic configuration.
trafficConfig_type :: Lens' TrafficConfig ContinuousDeploymentPolicyType
-- | A list of key groups whose public keys CloudFront can use to verify
-- the signatures of signed URLs and signed cookies.
--
-- See: newTrustedKeyGroups smart constructor.
data TrustedKeyGroups
TrustedKeyGroups' :: Maybe [Text] -> Bool -> Int -> TrustedKeyGroups
-- | A list of key groups identifiers.
[$sel:items:TrustedKeyGroups'] :: TrustedKeyGroups -> Maybe [Text]
-- | This field is true if any of the key groups in the list have
-- public keys that CloudFront can use to verify the signatures of signed
-- URLs and signed cookies. If not, this field is false.
[$sel:enabled:TrustedKeyGroups'] :: TrustedKeyGroups -> Bool
-- | The number of key groups in the list.
[$sel:quantity:TrustedKeyGroups'] :: TrustedKeyGroups -> Int
-- | Create a value of TrustedKeyGroups with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:TrustedKeyGroups', trustedKeyGroups_items - A
-- list of key groups identifiers.
--
-- $sel:enabled:TrustedKeyGroups', trustedKeyGroups_enabled
-- - This field is true if any of the key groups in the list
-- have public keys that CloudFront can use to verify the signatures of
-- signed URLs and signed cookies. If not, this field is false.
--
-- $sel:quantity:TrustedKeyGroups',
-- trustedKeyGroups_quantity - The number of key groups in the
-- list.
newTrustedKeyGroups :: Bool -> Int -> TrustedKeyGroups
-- | A list of key groups identifiers.
trustedKeyGroups_items :: Lens' TrustedKeyGroups (Maybe [Text])
-- | This field is true if any of the key groups in the list have
-- public keys that CloudFront can use to verify the signatures of signed
-- URLs and signed cookies. If not, this field is false.
trustedKeyGroups_enabled :: Lens' TrustedKeyGroups Bool
-- | The number of key groups in the list.
trustedKeyGroups_quantity :: Lens' TrustedKeyGroups Int
-- | A list of Amazon Web Services accounts whose public keys CloudFront
-- can use to verify the signatures of signed URLs and signed cookies.
--
-- See: newTrustedSigners smart constructor.
data TrustedSigners
TrustedSigners' :: Maybe [Text] -> Bool -> Int -> TrustedSigners
-- | A list of Amazon Web Services account identifiers.
[$sel:items:TrustedSigners'] :: TrustedSigners -> Maybe [Text]
-- | This field is true if any of the Amazon Web Services accounts
-- have public keys that CloudFront can use to verify the signatures of
-- signed URLs and signed cookies. If not, this field is false.
[$sel:enabled:TrustedSigners'] :: TrustedSigners -> Bool
-- | The number of Amazon Web Services accounts in the list.
[$sel:quantity:TrustedSigners'] :: TrustedSigners -> Int
-- | Create a value of TrustedSigners with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:TrustedSigners', trustedSigners_items - A
-- list of Amazon Web Services account identifiers.
--
-- $sel:enabled:TrustedSigners', trustedSigners_enabled -
-- This field is true if any of the Amazon Web Services accounts
-- have public keys that CloudFront can use to verify the signatures of
-- signed URLs and signed cookies. If not, this field is false.
--
-- $sel:quantity:TrustedSigners', trustedSigners_quantity -
-- The number of Amazon Web Services accounts in the list.
newTrustedSigners :: Bool -> Int -> TrustedSigners
-- | A list of Amazon Web Services account identifiers.
trustedSigners_items :: Lens' TrustedSigners (Maybe [Text])
-- | This field is true if any of the Amazon Web Services accounts
-- have public keys that CloudFront can use to verify the signatures of
-- signed URLs and signed cookies. If not, this field is false.
trustedSigners_enabled :: Lens' TrustedSigners Bool
-- | The number of Amazon Web Services accounts in the list.
trustedSigners_quantity :: Lens' TrustedSigners Int
-- | A complex type that determines the distribution's SSL/TLS
-- configuration for communicating with viewers.
--
-- If the distribution doesn't use Aliases (also known as
-- alternate domain names or CNAMEs)—that is, if the distribution uses
-- the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net—set
-- CloudFrontDefaultCertificate to true and leave all
-- other fields empty.
--
-- If the distribution uses Aliases (alternate domain names or
-- CNAMEs), use the fields in this type to specify the following
-- settings:
--
--
-- - Which viewers the distribution accepts HTTPS connections from:
-- only viewers that support server name indication (SNI)
-- (recommended), or all viewers including those that don't support
-- SNI.
- To accept HTTPS connections from only viewers that support
-- SNI, set SSLSupportMethod to sni-only. This is
-- recommended. Most browsers and clients support SNI.
- To accept
-- HTTPS connections from all viewers, including those that don't support
-- SNI, set SSLSupportMethod to vip. This is not
-- recommended, and results in additional monthly charges from
-- CloudFront.
-- - The minimum SSL/TLS protocol version that the distribution can use
-- to communicate with viewers. To specify a minimum version, choose a
-- value for MinimumProtocolVersion. For more information, see
-- Security Policy in the Amazon CloudFront Developer
-- Guide.
-- - The location of the SSL/TLS certificate, Certificate Manager
-- (ACM) (recommended) or Identity and Access Management
-- (IAM). You specify the location by setting a value in one of the
-- following fields (not
-- both):
ACMCertificateArn
IAMCertificateId
--
--
-- All distributions support HTTPS connections from viewers. To require
-- viewers to use HTTPS only, or to redirect them from HTTP to HTTPS, use
-- ViewerProtocolPolicy in the CacheBehavior or
-- DefaultCacheBehavior. To specify how CloudFront should use
-- SSL/TLS to communicate with your custom origin, use
-- CustomOriginConfig.
--
-- For more information, see Using HTTPS with CloudFront and
-- Using Alternate Domain Names and HTTPS in the Amazon
-- CloudFront Developer Guide.
--
-- See: newViewerCertificate smart constructor.
data ViewerCertificate
ViewerCertificate' :: Maybe Text -> Maybe Text -> Maybe CertificateSource -> Maybe Bool -> Maybe Text -> Maybe MinimumProtocolVersion -> Maybe SSLSupportMethod -> ViewerCertificate
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs) and the SSL/TLS certificate is stored in Certificate
-- Manager (ACM), provide the Amazon Resource Name (ARN) of the ACM
-- certificate. CloudFront only supports ACM certificates in the US East
-- (N. Virginia) Region (us-east-1).
--
-- If you specify an ACM certificate ARN, you must also specify values
-- for MinimumProtocolVersion and SSLSupportMethod.
[$sel:aCMCertificateArn:ViewerCertificate'] :: ViewerCertificate -> Maybe Text
-- | This field is deprecated. Use one of the following fields instead:
--
--
[$sel:certificate:ViewerCertificate'] :: ViewerCertificate -> Maybe Text
-- | This field is deprecated. Use one of the following fields instead:
--
--
[$sel:certificateSource:ViewerCertificate'] :: ViewerCertificate -> Maybe CertificateSource
-- | If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net, set this field to
-- true.
--
-- If the distribution uses Aliases (alternate domain names or
-- CNAMEs), set this field to false and specify values for the
-- following fields:
--
--
-- - ACMCertificateArn or IAMCertificateId (specify a
-- value for one, not both)
-- MinimumProtocolVersion
-- SSLSupportMethod
--
[$sel:cloudFrontDefaultCertificate:ViewerCertificate'] :: ViewerCertificate -> Maybe Bool
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs) and the SSL/TLS certificate is stored in Identity and
-- Access Management (IAM), provide the ID of the IAM certificate.
--
-- If you specify an IAM certificate ID, you must also specify values for
-- MinimumProtocolVersion and SSLSupportMethod.
[$sel:iAMCertificateId:ViewerCertificate'] :: ViewerCertificate -> Maybe Text
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs), specify the security policy that you want CloudFront to use
-- for HTTPS connections with viewers. The security policy determines two
-- settings:
--
--
-- - The minimum SSL/TLS protocol that CloudFront can use to
-- communicate with viewers.
-- - The ciphers that CloudFront can use to encrypt the content that it
-- returns to viewers.
--
--
-- For more information, see Security Policy and Supported
-- Protocols and Ciphers Between Viewers and CloudFront in the
-- Amazon CloudFront Developer Guide.
--
-- On the CloudFront console, this setting is called Security
-- Policy.
--
-- When you're using SNI only (you set SSLSupportMethod to
-- sni-only), you must specify TLSv1 or higher.
--
-- If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net (you set
-- CloudFrontDefaultCertificate to true), CloudFront
-- automatically sets the security policy to TLSv1 regardless of
-- the value that you set here.
[$sel:minimumProtocolVersion:ViewerCertificate'] :: ViewerCertificate -> Maybe MinimumProtocolVersion
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs), specify which viewers the distribution accepts HTTPS
-- connections from.
--
--
-- - sni-only – The distribution accepts HTTPS connections
-- from only viewers that support server name indication (SNI).
-- This is recommended. Most browsers and clients support SNI.
-- - vip – The distribution accepts HTTPS connections from all
-- viewers including those that don't support SNI. This is not
-- recommended, and results in additional monthly charges from
-- CloudFront.
-- - static-ip - Do not specify this value unless your
-- distribution has been enabled for this feature by the CloudFront team.
-- If you have a use case that requires static IP addresses for a
-- distribution, contact CloudFront through the Amazon Web Services
-- Support Center.
--
--
-- If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net, don't set a value for this
-- field.
[$sel:sSLSupportMethod:ViewerCertificate'] :: ViewerCertificate -> Maybe SSLSupportMethod
-- | Create a value of ViewerCertificate with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aCMCertificateArn:ViewerCertificate',
-- viewerCertificate_aCMCertificateArn - If the distribution uses
-- Aliases (alternate domain names or CNAMEs) and the SSL/TLS
-- certificate is stored in Certificate Manager (ACM), provide the
-- Amazon Resource Name (ARN) of the ACM certificate. CloudFront only
-- supports ACM certificates in the US East (N. Virginia) Region
-- (us-east-1).
--
-- If you specify an ACM certificate ARN, you must also specify values
-- for MinimumProtocolVersion and SSLSupportMethod.
--
-- $sel:certificate:ViewerCertificate',
-- viewerCertificate_certificate - This field is deprecated. Use
-- one of the following fields instead:
--
--
--
-- $sel:certificateSource:ViewerCertificate',
-- viewerCertificate_certificateSource - This field is deprecated.
-- Use one of the following fields instead:
--
--
--
-- $sel:cloudFrontDefaultCertificate:ViewerCertificate',
-- viewerCertificate_cloudFrontDefaultCertificate - If the
-- distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net, set this field to
-- true.
--
-- If the distribution uses Aliases (alternate domain names or
-- CNAMEs), set this field to false and specify values for the
-- following fields:
--
--
-- - ACMCertificateArn or IAMCertificateId (specify a
-- value for one, not both)
-- MinimumProtocolVersion
-- SSLSupportMethod
--
--
-- $sel:iAMCertificateId:ViewerCertificate',
-- viewerCertificate_iAMCertificateId - If the distribution uses
-- Aliases (alternate domain names or CNAMEs) and the SSL/TLS
-- certificate is stored in Identity and Access Management (IAM),
-- provide the ID of the IAM certificate.
--
-- If you specify an IAM certificate ID, you must also specify values for
-- MinimumProtocolVersion and SSLSupportMethod.
--
-- $sel:minimumProtocolVersion:ViewerCertificate',
-- viewerCertificate_minimumProtocolVersion - If the distribution
-- uses Aliases (alternate domain names or CNAMEs), specify the
-- security policy that you want CloudFront to use for HTTPS connections
-- with viewers. The security policy determines two settings:
--
--
-- - The minimum SSL/TLS protocol that CloudFront can use to
-- communicate with viewers.
-- - The ciphers that CloudFront can use to encrypt the content that it
-- returns to viewers.
--
--
-- For more information, see Security Policy and Supported
-- Protocols and Ciphers Between Viewers and CloudFront in the
-- Amazon CloudFront Developer Guide.
--
-- On the CloudFront console, this setting is called Security
-- Policy.
--
-- When you're using SNI only (you set SSLSupportMethod to
-- sni-only), you must specify TLSv1 or higher.
--
-- If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net (you set
-- CloudFrontDefaultCertificate to true), CloudFront
-- automatically sets the security policy to TLSv1 regardless of
-- the value that you set here.
--
-- $sel:sSLSupportMethod:ViewerCertificate',
-- viewerCertificate_sSLSupportMethod - If the distribution uses
-- Aliases (alternate domain names or CNAMEs), specify which
-- viewers the distribution accepts HTTPS connections from.
--
--
-- - sni-only – The distribution accepts HTTPS connections
-- from only viewers that support server name indication (SNI).
-- This is recommended. Most browsers and clients support SNI.
-- - vip – The distribution accepts HTTPS connections from all
-- viewers including those that don't support SNI. This is not
-- recommended, and results in additional monthly charges from
-- CloudFront.
-- - static-ip - Do not specify this value unless your
-- distribution has been enabled for this feature by the CloudFront team.
-- If you have a use case that requires static IP addresses for a
-- distribution, contact CloudFront through the Amazon Web Services
-- Support Center.
--
--
-- If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net, don't set a value for this
-- field.
newViewerCertificate :: ViewerCertificate
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs) and the SSL/TLS certificate is stored in Certificate
-- Manager (ACM), provide the Amazon Resource Name (ARN) of the ACM
-- certificate. CloudFront only supports ACM certificates in the US East
-- (N. Virginia) Region (us-east-1).
--
-- If you specify an ACM certificate ARN, you must also specify values
-- for MinimumProtocolVersion and SSLSupportMethod.
viewerCertificate_aCMCertificateArn :: Lens' ViewerCertificate (Maybe Text)
-- | This field is deprecated. Use one of the following fields instead:
--
--
viewerCertificate_certificate :: Lens' ViewerCertificate (Maybe Text)
-- | This field is deprecated. Use one of the following fields instead:
--
--
viewerCertificate_certificateSource :: Lens' ViewerCertificate (Maybe CertificateSource)
-- | If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net, set this field to
-- true.
--
-- If the distribution uses Aliases (alternate domain names or
-- CNAMEs), set this field to false and specify values for the
-- following fields:
--
--
-- - ACMCertificateArn or IAMCertificateId (specify a
-- value for one, not both)
-- MinimumProtocolVersion
-- SSLSupportMethod
--
viewerCertificate_cloudFrontDefaultCertificate :: Lens' ViewerCertificate (Maybe Bool)
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs) and the SSL/TLS certificate is stored in Identity and
-- Access Management (IAM), provide the ID of the IAM certificate.
--
-- If you specify an IAM certificate ID, you must also specify values for
-- MinimumProtocolVersion and SSLSupportMethod.
viewerCertificate_iAMCertificateId :: Lens' ViewerCertificate (Maybe Text)
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs), specify the security policy that you want CloudFront to use
-- for HTTPS connections with viewers. The security policy determines two
-- settings:
--
--
-- - The minimum SSL/TLS protocol that CloudFront can use to
-- communicate with viewers.
-- - The ciphers that CloudFront can use to encrypt the content that it
-- returns to viewers.
--
--
-- For more information, see Security Policy and Supported
-- Protocols and Ciphers Between Viewers and CloudFront in the
-- Amazon CloudFront Developer Guide.
--
-- On the CloudFront console, this setting is called Security
-- Policy.
--
-- When you're using SNI only (you set SSLSupportMethod to
-- sni-only), you must specify TLSv1 or higher.
--
-- If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net (you set
-- CloudFrontDefaultCertificate to true), CloudFront
-- automatically sets the security policy to TLSv1 regardless of
-- the value that you set here.
viewerCertificate_minimumProtocolVersion :: Lens' ViewerCertificate (Maybe MinimumProtocolVersion)
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs), specify which viewers the distribution accepts HTTPS
-- connections from.
--
--
-- - sni-only – The distribution accepts HTTPS connections
-- from only viewers that support server name indication (SNI).
-- This is recommended. Most browsers and clients support SNI.
-- - vip – The distribution accepts HTTPS connections from all
-- viewers including those that don't support SNI. This is not
-- recommended, and results in additional monthly charges from
-- CloudFront.
-- - static-ip - Do not specify this value unless your
-- distribution has been enabled for this feature by the CloudFront team.
-- If you have a use case that requires static IP addresses for a
-- distribution, contact CloudFront through the Amazon Web Services
-- Support Center.
--
--
-- If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net, don't set a value for this
-- field.
viewerCertificate_sSLSupportMethod :: Lens' ViewerCertificate (Maybe SSLSupportMethod)
-- | Tests a CloudFront function.
--
-- To test a function, you provide an event object that represents
-- an HTTP request or response that your CloudFront distribution could
-- receive in production. CloudFront runs the function, passing it the
-- event object that you provided, and returns the function's result (the
-- modified event object) in the response. The response also contains
-- function logs and error messages, if any exist. For more information
-- about testing functions, see Testing functions in the Amazon
-- CloudFront Developer Guide.
--
-- To test a function, you provide the function's name and version
-- (ETag value) along with the event object. To get the
-- function's name and version, you can use ListFunctions and
-- DescribeFunction.
module Amazonka.CloudFront.TestFunction
-- | See: newTestFunction smart constructor.
data TestFunction
TestFunction' :: Maybe FunctionStage -> Text -> Text -> Sensitive Base64 -> TestFunction
-- | The stage of the function that you are testing, either
-- DEVELOPMENT or LIVE.
[$sel:stage:TestFunction'] :: TestFunction -> Maybe FunctionStage
-- | The name of the function that you are testing.
[$sel:name:TestFunction'] :: TestFunction -> Text
-- | The current version (ETag value) of the function that you are
-- testing, which you can get using DescribeFunction.
[$sel:ifMatch:TestFunction'] :: TestFunction -> Text
-- | The event object to test the function with. For more information about
-- the structure of the event object, see Testing functions in the
-- Amazon CloudFront Developer Guide.
[$sel:eventObject:TestFunction'] :: TestFunction -> Sensitive Base64
-- | Create a value of TestFunction with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- TestFunction, testFunction_stage - The stage of the
-- function that you are testing, either DEVELOPMENT or
-- LIVE.
--
-- TestFunction, testFunction_name - The name of the
-- function that you are testing.
--
-- $sel:ifMatch:TestFunction', testFunction_ifMatch - The
-- current version (ETag value) of the function that you are
-- testing, which you can get using DescribeFunction.
--
-- $sel:eventObject:TestFunction', testFunction_eventObject
-- - The event object to test the function with. For more information
-- about the structure of the event object, see Testing functions
-- in the Amazon CloudFront Developer Guide.-- -- Note:
-- This Lens automatically encodes and decodes Base64 data. --
-- The underlying isomorphism will encode to Base64 representation during
-- -- serialisation, and decode from Base64 representation during
-- deserialisation. -- This Lens accepts and returns only raw
-- unencoded data.
newTestFunction :: Text -> Text -> ByteString -> TestFunction
-- | The stage of the function that you are testing, either
-- DEVELOPMENT or LIVE.
testFunction_stage :: Lens' TestFunction (Maybe FunctionStage)
-- | The name of the function that you are testing.
testFunction_name :: Lens' TestFunction Text
-- | The current version (ETag value) of the function that you are
-- testing, which you can get using DescribeFunction.
testFunction_ifMatch :: Lens' TestFunction Text
-- | The event object to test the function with. For more information about
-- the structure of the event object, see Testing functions in the
-- Amazon CloudFront Developer Guide.-- -- Note: This
-- Lens automatically encodes and decodes Base64 data. -- The
-- underlying isomorphism will encode to Base64 representation during --
-- serialisation, and decode from Base64 representation during
-- deserialisation. -- This Lens accepts and returns only raw
-- unencoded data.
testFunction_eventObject :: Lens' TestFunction ByteString
-- | See: newTestFunctionResponse smart constructor.
data TestFunctionResponse
TestFunctionResponse' :: Maybe TestResult -> Int -> TestFunctionResponse
-- | An object that represents the result of running the function with the
-- provided event object.
[$sel:testResult:TestFunctionResponse'] :: TestFunctionResponse -> Maybe TestResult
-- | The response's http status code.
[$sel:httpStatus:TestFunctionResponse'] :: TestFunctionResponse -> Int
-- | Create a value of TestFunctionResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:testResult:TestFunctionResponse',
-- testFunctionResponse_testResult - An object that represents the
-- result of running the function with the provided event object.
--
-- $sel:httpStatus:TestFunctionResponse',
-- testFunctionResponse_httpStatus - The response's http status
-- code.
newTestFunctionResponse :: Int -> TestFunctionResponse
-- | An object that represents the result of running the function with the
-- provided event object.
testFunctionResponse_testResult :: Lens' TestFunctionResponse (Maybe TestResult)
-- | The response's http status code.
testFunctionResponse_httpStatus :: Lens' TestFunctionResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.TestFunction.TestFunction
instance GHC.Show.Show Amazonka.CloudFront.TestFunction.TestFunction
instance GHC.Classes.Eq Amazonka.CloudFront.TestFunction.TestFunction
instance GHC.Generics.Generic Amazonka.CloudFront.TestFunction.TestFunctionResponse
instance GHC.Show.Show Amazonka.CloudFront.TestFunction.TestFunctionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.TestFunction.TestFunctionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.TestFunction.TestFunction
instance Control.DeepSeq.NFData Amazonka.CloudFront.TestFunction.TestFunctionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.TestFunction.TestFunction
instance Control.DeepSeq.NFData Amazonka.CloudFront.TestFunction.TestFunction
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.TestFunction.TestFunction
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.TestFunction.TestFunction
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.TestFunction.TestFunction
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.TestFunction.TestFunction
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.TestFunction.TestFunction
-- | Add tags to a CloudFront resource.
module Amazonka.CloudFront.TagResource
-- | The request to add tags to a CloudFront resource.
--
-- See: newTagResource smart constructor.
data TagResource
TagResource' :: Text -> Tags -> TagResource
-- | An ARN of a CloudFront resource.
[$sel:resource:TagResource'] :: TagResource -> Text
-- | A complex type that contains zero or more Tag elements.
[$sel:tags:TagResource'] :: TagResource -> Tags
-- | Create a value of TagResource with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resource:TagResource', tagResource_resource - An
-- ARN of a CloudFront resource.
--
-- TagResource, tagResource_tags - A complex type that
-- contains zero or more Tag elements.
newTagResource :: Text -> Tags -> TagResource
-- | An ARN of a CloudFront resource.
tagResource_resource :: Lens' TagResource Text
-- | A complex type that contains zero or more Tag elements.
tagResource_tags :: Lens' TagResource Tags
-- | See: newTagResourceResponse smart constructor.
data TagResourceResponse
TagResourceResponse' :: TagResourceResponse
-- | Create a value of TagResourceResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newTagResourceResponse :: TagResourceResponse
instance GHC.Generics.Generic Amazonka.CloudFront.TagResource.TagResource
instance GHC.Show.Show Amazonka.CloudFront.TagResource.TagResource
instance GHC.Read.Read Amazonka.CloudFront.TagResource.TagResource
instance GHC.Classes.Eq Amazonka.CloudFront.TagResource.TagResource
instance GHC.Generics.Generic Amazonka.CloudFront.TagResource.TagResourceResponse
instance GHC.Show.Show Amazonka.CloudFront.TagResource.TagResourceResponse
instance GHC.Read.Read Amazonka.CloudFront.TagResource.TagResourceResponse
instance GHC.Classes.Eq Amazonka.CloudFront.TagResource.TagResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.TagResource.TagResource
instance Control.DeepSeq.NFData Amazonka.CloudFront.TagResource.TagResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.TagResource.TagResource
instance Control.DeepSeq.NFData Amazonka.CloudFront.TagResource.TagResource
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.TagResource.TagResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.TagResource.TagResource
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.TagResource.TagResource
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.TagResource.TagResource
-- | Publishes a CloudFront function by copying the function code from the
-- DEVELOPMENT stage to LIVE. This automatically
-- updates all cache behaviors that are using this function to use the
-- newly published copy in the LIVE stage.
--
-- When a function is published to the LIVE stage, you can
-- attach the function to a distribution's cache behavior, using the
-- function's Amazon Resource Name (ARN).
--
-- To publish a function, you must provide the function's name and
-- version (ETag value). To get these values, you can use
-- ListFunctions and DescribeFunction.
module Amazonka.CloudFront.PublishFunction
-- | See: newPublishFunction smart constructor.
data PublishFunction
PublishFunction' :: Text -> Text -> PublishFunction
-- | The name of the function that you are publishing.
[$sel:name:PublishFunction'] :: PublishFunction -> Text
-- | The current version (ETag value) of the function that you are
-- publishing, which you can get using DescribeFunction.
[$sel:ifMatch:PublishFunction'] :: PublishFunction -> Text
-- | Create a value of PublishFunction with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- PublishFunction, publishFunction_name - The name of the
-- function that you are publishing.
--
-- $sel:ifMatch:PublishFunction', publishFunction_ifMatch -
-- The current version (ETag value) of the function that you are
-- publishing, which you can get using DescribeFunction.
newPublishFunction :: Text -> Text -> PublishFunction
-- | The name of the function that you are publishing.
publishFunction_name :: Lens' PublishFunction Text
-- | The current version (ETag value) of the function that you are
-- publishing, which you can get using DescribeFunction.
publishFunction_ifMatch :: Lens' PublishFunction Text
-- | See: newPublishFunctionResponse smart constructor.
data PublishFunctionResponse
PublishFunctionResponse' :: Maybe FunctionSummary -> Int -> PublishFunctionResponse
-- | Contains configuration information and metadata about a CloudFront
-- function.
[$sel:functionSummary:PublishFunctionResponse'] :: PublishFunctionResponse -> Maybe FunctionSummary
-- | The response's http status code.
[$sel:httpStatus:PublishFunctionResponse'] :: PublishFunctionResponse -> Int
-- | Create a value of PublishFunctionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- PublishFunctionResponse,
-- publishFunctionResponse_functionSummary - Contains
-- configuration information and metadata about a CloudFront function.
--
-- $sel:httpStatus:PublishFunctionResponse',
-- publishFunctionResponse_httpStatus - The response's http status
-- code.
newPublishFunctionResponse :: Int -> PublishFunctionResponse
-- | Contains configuration information and metadata about a CloudFront
-- function.
publishFunctionResponse_functionSummary :: Lens' PublishFunctionResponse (Maybe FunctionSummary)
-- | The response's http status code.
publishFunctionResponse_httpStatus :: Lens' PublishFunctionResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.PublishFunction.PublishFunction
instance GHC.Show.Show Amazonka.CloudFront.PublishFunction.PublishFunction
instance GHC.Read.Read Amazonka.CloudFront.PublishFunction.PublishFunction
instance GHC.Classes.Eq Amazonka.CloudFront.PublishFunction.PublishFunction
instance GHC.Generics.Generic Amazonka.CloudFront.PublishFunction.PublishFunctionResponse
instance GHC.Show.Show Amazonka.CloudFront.PublishFunction.PublishFunctionResponse
instance GHC.Read.Read Amazonka.CloudFront.PublishFunction.PublishFunctionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.PublishFunction.PublishFunctionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.PublishFunction.PublishFunction
instance Control.DeepSeq.NFData Amazonka.CloudFront.PublishFunction.PublishFunctionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.PublishFunction.PublishFunction
instance Control.DeepSeq.NFData Amazonka.CloudFront.PublishFunction.PublishFunction
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.PublishFunction.PublishFunction
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.PublishFunction.PublishFunction
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.PublishFunction.PublishFunction
-- | List tags for a CloudFront resource.
module Amazonka.CloudFront.ListTagsForResource
-- | The request to list tags for a CloudFront resource.
--
-- See: newListTagsForResource smart constructor.
data ListTagsForResource
ListTagsForResource' :: Text -> ListTagsForResource
-- | An ARN of a CloudFront resource.
[$sel:resource:ListTagsForResource'] :: ListTagsForResource -> Text
-- | Create a value of ListTagsForResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resource:ListTagsForResource',
-- listTagsForResource_resource - An ARN of a CloudFront resource.
newListTagsForResource :: Text -> ListTagsForResource
-- | An ARN of a CloudFront resource.
listTagsForResource_resource :: Lens' ListTagsForResource Text
-- | The returned result of the corresponding request.
--
-- See: newListTagsForResourceResponse smart constructor.
data ListTagsForResourceResponse
ListTagsForResourceResponse' :: Int -> Tags -> ListTagsForResourceResponse
-- | The response's http status code.
[$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int
-- | A complex type that contains zero or more Tag elements.
[$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Tags
-- | Create a value of ListTagsForResourceResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:ListTagsForResourceResponse',
-- listTagsForResourceResponse_httpStatus - The response's http
-- status code.
--
-- ListTagsForResourceResponse,
-- listTagsForResourceResponse_tags - A complex type that contains
-- zero or more Tag elements.
newListTagsForResourceResponse :: Int -> Tags -> ListTagsForResourceResponse
-- | The response's http status code.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
-- | A complex type that contains zero or more Tag elements.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse Tags
instance GHC.Generics.Generic Amazonka.CloudFront.ListTagsForResource.ListTagsForResource
instance GHC.Show.Show Amazonka.CloudFront.ListTagsForResource.ListTagsForResource
instance GHC.Read.Read Amazonka.CloudFront.ListTagsForResource.ListTagsForResource
instance GHC.Classes.Eq Amazonka.CloudFront.ListTagsForResource.ListTagsForResource
instance GHC.Generics.Generic Amazonka.CloudFront.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Show.Show Amazonka.CloudFront.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Read.Read Amazonka.CloudFront.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListTagsForResource.ListTagsForResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListTagsForResource.ListTagsForResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListTagsForResource.ListTagsForResource
-- | List streaming distributions.
--
-- This operation returns paginated results.
module Amazonka.CloudFront.ListStreamingDistributions
-- | The request to list your streaming distributions.
--
-- See: newListStreamingDistributions smart constructor.
data ListStreamingDistributions
ListStreamingDistributions' :: Maybe Text -> Maybe Text -> ListStreamingDistributions
-- | The value that you provided for the Marker request parameter.
[$sel:marker:ListStreamingDistributions'] :: ListStreamingDistributions -> Maybe Text
-- | The value that you provided for the MaxItems request
-- parameter.
[$sel:maxItems:ListStreamingDistributions'] :: ListStreamingDistributions -> Maybe Text
-- | Create a value of ListStreamingDistributions with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListStreamingDistributions,
-- listStreamingDistributions_marker - The value that you provided
-- for the Marker request parameter.
--
-- ListStreamingDistributions,
-- listStreamingDistributions_maxItems - The value that you
-- provided for the MaxItems request parameter.
newListStreamingDistributions :: ListStreamingDistributions
-- | The value that you provided for the Marker request parameter.
listStreamingDistributions_marker :: Lens' ListStreamingDistributions (Maybe Text)
-- | The value that you provided for the MaxItems request
-- parameter.
listStreamingDistributions_maxItems :: Lens' ListStreamingDistributions (Maybe Text)
-- | The returned result of the corresponding request.
--
-- See: newListStreamingDistributionsResponse smart
-- constructor.
data ListStreamingDistributionsResponse
ListStreamingDistributionsResponse' :: Int -> StreamingDistributionList -> ListStreamingDistributionsResponse
-- | The response's http status code.
[$sel:httpStatus:ListStreamingDistributionsResponse'] :: ListStreamingDistributionsResponse -> Int
-- | The StreamingDistributionList type.
[$sel:streamingDistributionList:ListStreamingDistributionsResponse'] :: ListStreamingDistributionsResponse -> StreamingDistributionList
-- | Create a value of ListStreamingDistributionsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:ListStreamingDistributionsResponse',
-- listStreamingDistributionsResponse_httpStatus - The response's
-- http status code.
--
--
-- $sel:streamingDistributionList:ListStreamingDistributionsResponse',
-- listStreamingDistributionsResponse_streamingDistributionList -
-- The StreamingDistributionList type.
newListStreamingDistributionsResponse :: Int -> StreamingDistributionList -> ListStreamingDistributionsResponse
-- | The response's http status code.
listStreamingDistributionsResponse_httpStatus :: Lens' ListStreamingDistributionsResponse Int
-- | The StreamingDistributionList type.
listStreamingDistributionsResponse_streamingDistributionList :: Lens' ListStreamingDistributionsResponse StreamingDistributionList
instance GHC.Generics.Generic Amazonka.CloudFront.ListStreamingDistributions.ListStreamingDistributions
instance GHC.Show.Show Amazonka.CloudFront.ListStreamingDistributions.ListStreamingDistributions
instance GHC.Read.Read Amazonka.CloudFront.ListStreamingDistributions.ListStreamingDistributions
instance GHC.Classes.Eq Amazonka.CloudFront.ListStreamingDistributions.ListStreamingDistributions
instance GHC.Generics.Generic Amazonka.CloudFront.ListStreamingDistributions.ListStreamingDistributionsResponse
instance GHC.Show.Show Amazonka.CloudFront.ListStreamingDistributions.ListStreamingDistributionsResponse
instance GHC.Read.Read Amazonka.CloudFront.ListStreamingDistributions.ListStreamingDistributionsResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListStreamingDistributions.ListStreamingDistributionsResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListStreamingDistributions.ListStreamingDistributions
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListStreamingDistributions.ListStreamingDistributionsResponse
instance Amazonka.Pager.AWSPager Amazonka.CloudFront.ListStreamingDistributions.ListStreamingDistributions
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListStreamingDistributions.ListStreamingDistributions
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListStreamingDistributions.ListStreamingDistributions
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListStreamingDistributions.ListStreamingDistributions
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListStreamingDistributions.ListStreamingDistributions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListStreamingDistributions.ListStreamingDistributions
-- | Gets a list of response headers policies.
--
-- You can optionally apply a filter to get only the managed policies
-- created by Amazon Web Services, or only the custom policies created in
-- your Amazon Web Services account.
--
-- You can optionally specify the maximum number of items to receive in
-- the response. If the total number of items in the list exceeds the
-- maximum that you specify, or the default maximum, the response is
-- paginated. To get the next page of items, send a subsequent request
-- that specifies the NextMarker value from the current response
-- as the Marker value in the subsequent request.
module Amazonka.CloudFront.ListResponseHeadersPolicies
-- | See: newListResponseHeadersPolicies smart constructor.
data ListResponseHeadersPolicies
ListResponseHeadersPolicies' :: Maybe Text -> Maybe Text -> Maybe ResponseHeadersPolicyType -> ListResponseHeadersPolicies
-- | Use this field when paginating results to indicate where to begin in
-- your list of response headers policies. The response includes response
-- headers policies in the list that occur after the marker. To get the
-- next page of the list, set this field's value to the value of
-- NextMarker from the current page's response.
[$sel:marker:ListResponseHeadersPolicies'] :: ListResponseHeadersPolicies -> Maybe Text
-- | The maximum number of response headers policies that you want to get
-- in the response.
[$sel:maxItems:ListResponseHeadersPolicies'] :: ListResponseHeadersPolicies -> Maybe Text
-- | A filter to get only the specified kind of response headers policies.
-- Valid values are:
--
--
-- - managed – Gets only the managed policies created by
-- Amazon Web Services.
-- - custom – Gets only the custom policies created in your
-- Amazon Web Services account.
--
[$sel:type':ListResponseHeadersPolicies'] :: ListResponseHeadersPolicies -> Maybe ResponseHeadersPolicyType
-- | Create a value of ListResponseHeadersPolicies with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListResponseHeadersPolicies,
-- listResponseHeadersPolicies_marker - Use this field when
-- paginating results to indicate where to begin in your list of response
-- headers policies. The response includes response headers policies in
-- the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
--
-- ListResponseHeadersPolicies,
-- listResponseHeadersPolicies_maxItems - The maximum number of
-- response headers policies that you want to get in the response.
--
-- ListResponseHeadersPolicies,
-- listResponseHeadersPolicies_type - A filter to get only the
-- specified kind of response headers policies. Valid values are:
--
--
-- - managed – Gets only the managed policies created by
-- Amazon Web Services.
-- - custom – Gets only the custom policies created in your
-- Amazon Web Services account.
--
newListResponseHeadersPolicies :: ListResponseHeadersPolicies
-- | Use this field when paginating results to indicate where to begin in
-- your list of response headers policies. The response includes response
-- headers policies in the list that occur after the marker. To get the
-- next page of the list, set this field's value to the value of
-- NextMarker from the current page's response.
listResponseHeadersPolicies_marker :: Lens' ListResponseHeadersPolicies (Maybe Text)
-- | The maximum number of response headers policies that you want to get
-- in the response.
listResponseHeadersPolicies_maxItems :: Lens' ListResponseHeadersPolicies (Maybe Text)
-- | A filter to get only the specified kind of response headers policies.
-- Valid values are:
--
--
-- - managed – Gets only the managed policies created by
-- Amazon Web Services.
-- - custom – Gets only the custom policies created in your
-- Amazon Web Services account.
--
listResponseHeadersPolicies_type :: Lens' ListResponseHeadersPolicies (Maybe ResponseHeadersPolicyType)
-- | See: newListResponseHeadersPoliciesResponse smart
-- constructor.
data ListResponseHeadersPoliciesResponse
ListResponseHeadersPoliciesResponse' :: Maybe ResponseHeadersPolicyList -> Int -> ListResponseHeadersPoliciesResponse
-- | A list of response headers policies.
[$sel:responseHeadersPolicyList:ListResponseHeadersPoliciesResponse'] :: ListResponseHeadersPoliciesResponse -> Maybe ResponseHeadersPolicyList
-- | The response's http status code.
[$sel:httpStatus:ListResponseHeadersPoliciesResponse'] :: ListResponseHeadersPoliciesResponse -> Int
-- | Create a value of ListResponseHeadersPoliciesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:responseHeadersPolicyList:ListResponseHeadersPoliciesResponse',
-- listResponseHeadersPoliciesResponse_responseHeadersPolicyList -
-- A list of response headers policies.
--
-- $sel:httpStatus:ListResponseHeadersPoliciesResponse',
-- listResponseHeadersPoliciesResponse_httpStatus - The response's
-- http status code.
newListResponseHeadersPoliciesResponse :: Int -> ListResponseHeadersPoliciesResponse
-- | A list of response headers policies.
listResponseHeadersPoliciesResponse_responseHeadersPolicyList :: Lens' ListResponseHeadersPoliciesResponse (Maybe ResponseHeadersPolicyList)
-- | The response's http status code.
listResponseHeadersPoliciesResponse_httpStatus :: Lens' ListResponseHeadersPoliciesResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.ListResponseHeadersPolicies.ListResponseHeadersPolicies
instance GHC.Show.Show Amazonka.CloudFront.ListResponseHeadersPolicies.ListResponseHeadersPolicies
instance GHC.Read.Read Amazonka.CloudFront.ListResponseHeadersPolicies.ListResponseHeadersPolicies
instance GHC.Classes.Eq Amazonka.CloudFront.ListResponseHeadersPolicies.ListResponseHeadersPolicies
instance GHC.Generics.Generic Amazonka.CloudFront.ListResponseHeadersPolicies.ListResponseHeadersPoliciesResponse
instance GHC.Show.Show Amazonka.CloudFront.ListResponseHeadersPolicies.ListResponseHeadersPoliciesResponse
instance GHC.Read.Read Amazonka.CloudFront.ListResponseHeadersPolicies.ListResponseHeadersPoliciesResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListResponseHeadersPolicies.ListResponseHeadersPoliciesResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListResponseHeadersPolicies.ListResponseHeadersPolicies
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListResponseHeadersPolicies.ListResponseHeadersPoliciesResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListResponseHeadersPolicies.ListResponseHeadersPolicies
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListResponseHeadersPolicies.ListResponseHeadersPolicies
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListResponseHeadersPolicies.ListResponseHeadersPolicies
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListResponseHeadersPolicies.ListResponseHeadersPolicies
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListResponseHeadersPolicies.ListResponseHeadersPolicies
-- | Gets a list of real-time log configurations.
--
-- You can optionally specify the maximum number of items to receive in
-- the response. If the total number of items in the list exceeds the
-- maximum that you specify, or the default maximum, the response is
-- paginated. To get the next page of items, send a subsequent request
-- that specifies the NextMarker value from the current response
-- as the Marker value in the subsequent request.
module Amazonka.CloudFront.ListRealtimeLogConfigs
-- | See: newListRealtimeLogConfigs smart constructor.
data ListRealtimeLogConfigs
ListRealtimeLogConfigs' :: Maybe Text -> Maybe Text -> ListRealtimeLogConfigs
-- | Use this field when paginating results to indicate where to begin in
-- your list of real-time log configurations. The response includes
-- real-time log configurations in the list that occur after the marker.
-- To get the next page of the list, set this field's value to the value
-- of NextMarker from the current page's response.
[$sel:marker:ListRealtimeLogConfigs'] :: ListRealtimeLogConfigs -> Maybe Text
-- | The maximum number of real-time log configurations that you want in
-- the response.
[$sel:maxItems:ListRealtimeLogConfigs'] :: ListRealtimeLogConfigs -> Maybe Text
-- | Create a value of ListRealtimeLogConfigs with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListRealtimeLogConfigs, listRealtimeLogConfigs_marker -
-- Use this field when paginating results to indicate where to begin in
-- your list of real-time log configurations. The response includes
-- real-time log configurations in the list that occur after the marker.
-- To get the next page of the list, set this field's value to the value
-- of NextMarker from the current page's response.
--
-- ListRealtimeLogConfigs, listRealtimeLogConfigs_maxItems
-- - The maximum number of real-time log configurations that you want in
-- the response.
newListRealtimeLogConfigs :: ListRealtimeLogConfigs
-- | Use this field when paginating results to indicate where to begin in
-- your list of real-time log configurations. The response includes
-- real-time log configurations in the list that occur after the marker.
-- To get the next page of the list, set this field's value to the value
-- of NextMarker from the current page's response.
listRealtimeLogConfigs_marker :: Lens' ListRealtimeLogConfigs (Maybe Text)
-- | The maximum number of real-time log configurations that you want in
-- the response.
listRealtimeLogConfigs_maxItems :: Lens' ListRealtimeLogConfigs (Maybe Text)
-- | See: newListRealtimeLogConfigsResponse smart
-- constructor.
data ListRealtimeLogConfigsResponse
ListRealtimeLogConfigsResponse' :: Maybe RealtimeLogConfigs -> Int -> ListRealtimeLogConfigsResponse
-- | A list of real-time log configurations.
[$sel:realtimeLogConfigs:ListRealtimeLogConfigsResponse'] :: ListRealtimeLogConfigsResponse -> Maybe RealtimeLogConfigs
-- | The response's http status code.
[$sel:httpStatus:ListRealtimeLogConfigsResponse'] :: ListRealtimeLogConfigsResponse -> Int
-- | Create a value of ListRealtimeLogConfigsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:realtimeLogConfigs:ListRealtimeLogConfigsResponse',
-- listRealtimeLogConfigsResponse_realtimeLogConfigs - A list of
-- real-time log configurations.
--
-- $sel:httpStatus:ListRealtimeLogConfigsResponse',
-- listRealtimeLogConfigsResponse_httpStatus - The response's http
-- status code.
newListRealtimeLogConfigsResponse :: Int -> ListRealtimeLogConfigsResponse
-- | A list of real-time log configurations.
listRealtimeLogConfigsResponse_realtimeLogConfigs :: Lens' ListRealtimeLogConfigsResponse (Maybe RealtimeLogConfigs)
-- | The response's http status code.
listRealtimeLogConfigsResponse_httpStatus :: Lens' ListRealtimeLogConfigsResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.ListRealtimeLogConfigs.ListRealtimeLogConfigs
instance GHC.Show.Show Amazonka.CloudFront.ListRealtimeLogConfigs.ListRealtimeLogConfigs
instance GHC.Read.Read Amazonka.CloudFront.ListRealtimeLogConfigs.ListRealtimeLogConfigs
instance GHC.Classes.Eq Amazonka.CloudFront.ListRealtimeLogConfigs.ListRealtimeLogConfigs
instance GHC.Generics.Generic Amazonka.CloudFront.ListRealtimeLogConfigs.ListRealtimeLogConfigsResponse
instance GHC.Show.Show Amazonka.CloudFront.ListRealtimeLogConfigs.ListRealtimeLogConfigsResponse
instance GHC.Read.Read Amazonka.CloudFront.ListRealtimeLogConfigs.ListRealtimeLogConfigsResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListRealtimeLogConfigs.ListRealtimeLogConfigsResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListRealtimeLogConfigs.ListRealtimeLogConfigs
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListRealtimeLogConfigs.ListRealtimeLogConfigsResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListRealtimeLogConfigs.ListRealtimeLogConfigs
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListRealtimeLogConfigs.ListRealtimeLogConfigs
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListRealtimeLogConfigs.ListRealtimeLogConfigs
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListRealtimeLogConfigs.ListRealtimeLogConfigs
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListRealtimeLogConfigs.ListRealtimeLogConfigs
-- | List all public keys that have been added to CloudFront for this
-- account.
module Amazonka.CloudFront.ListPublicKeys
-- | See: newListPublicKeys smart constructor.
data ListPublicKeys
ListPublicKeys' :: Maybe Text -> Maybe Text -> ListPublicKeys
-- | Use this when paginating results to indicate where to begin in your
-- list of public keys. The results include public keys 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 public key
-- on that page).
[$sel:marker:ListPublicKeys'] :: ListPublicKeys -> Maybe Text
-- | The maximum number of public keys you want in the response body.
[$sel:maxItems:ListPublicKeys'] :: ListPublicKeys -> Maybe Text
-- | Create a value of ListPublicKeys with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListPublicKeys, listPublicKeys_marker - Use this when
-- paginating results to indicate where to begin in your list of public
-- keys. The results include public keys 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 public key on that page).
--
-- ListPublicKeys, listPublicKeys_maxItems - The maximum
-- number of public keys you want in the response body.
newListPublicKeys :: ListPublicKeys
-- | Use this when paginating results to indicate where to begin in your
-- list of public keys. The results include public keys 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 public key
-- on that page).
listPublicKeys_marker :: Lens' ListPublicKeys (Maybe Text)
-- | The maximum number of public keys you want in the response body.
listPublicKeys_maxItems :: Lens' ListPublicKeys (Maybe Text)
-- | See: newListPublicKeysResponse smart constructor.
data ListPublicKeysResponse
ListPublicKeysResponse' :: Maybe PublicKeyList -> Int -> ListPublicKeysResponse
-- | Returns a list of all public keys that have been added to CloudFront
-- for this account.
[$sel:publicKeyList:ListPublicKeysResponse'] :: ListPublicKeysResponse -> Maybe PublicKeyList
-- | The response's http status code.
[$sel:httpStatus:ListPublicKeysResponse'] :: ListPublicKeysResponse -> Int
-- | Create a value of ListPublicKeysResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:publicKeyList:ListPublicKeysResponse',
-- listPublicKeysResponse_publicKeyList - Returns a list of all
-- public keys that have been added to CloudFront for this account.
--
-- $sel:httpStatus:ListPublicKeysResponse',
-- listPublicKeysResponse_httpStatus - The response's http status
-- code.
newListPublicKeysResponse :: Int -> ListPublicKeysResponse
-- | Returns a list of all public keys that have been added to CloudFront
-- for this account.
listPublicKeysResponse_publicKeyList :: Lens' ListPublicKeysResponse (Maybe PublicKeyList)
-- | The response's http status code.
listPublicKeysResponse_httpStatus :: Lens' ListPublicKeysResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.ListPublicKeys.ListPublicKeys
instance GHC.Show.Show Amazonka.CloudFront.ListPublicKeys.ListPublicKeys
instance GHC.Read.Read Amazonka.CloudFront.ListPublicKeys.ListPublicKeys
instance GHC.Classes.Eq Amazonka.CloudFront.ListPublicKeys.ListPublicKeys
instance GHC.Generics.Generic Amazonka.CloudFront.ListPublicKeys.ListPublicKeysResponse
instance GHC.Show.Show Amazonka.CloudFront.ListPublicKeys.ListPublicKeysResponse
instance GHC.Read.Read Amazonka.CloudFront.ListPublicKeys.ListPublicKeysResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListPublicKeys.ListPublicKeysResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListPublicKeys.ListPublicKeys
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListPublicKeys.ListPublicKeysResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListPublicKeys.ListPublicKeys
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListPublicKeys.ListPublicKeys
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListPublicKeys.ListPublicKeys
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListPublicKeys.ListPublicKeys
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListPublicKeys.ListPublicKeys
-- | Gets a list of origin request policies.
--
-- You can optionally apply a filter to return only the managed policies
-- created by Amazon Web Services, or only the custom policies created in
-- your Amazon Web Services account.
--
-- You can optionally specify the maximum number of items to receive in
-- the response. If the total number of items in the list exceeds the
-- maximum that you specify, or the default maximum, the response is
-- paginated. To get the next page of items, send a subsequent request
-- that specifies the NextMarker value from the current response
-- as the Marker value in the subsequent request.
module Amazonka.CloudFront.ListOriginRequestPolicies
-- | See: newListOriginRequestPolicies smart constructor.
data ListOriginRequestPolicies
ListOriginRequestPolicies' :: Maybe Text -> Maybe Text -> Maybe OriginRequestPolicyType -> ListOriginRequestPolicies
-- | Use this field when paginating results to indicate where to begin in
-- your list of origin request policies. The response includes origin
-- request policies in the list that occur after the marker. To get the
-- next page of the list, set this field's value to the value of
-- NextMarker from the current page's response.
[$sel:marker:ListOriginRequestPolicies'] :: ListOriginRequestPolicies -> Maybe Text
-- | The maximum number of origin request policies that you want in the
-- response.
[$sel:maxItems:ListOriginRequestPolicies'] :: ListOriginRequestPolicies -> Maybe Text
-- | A filter to return only the specified kinds of origin request
-- policies. Valid values are:
--
--
-- - managed – Returns only the managed policies created by
-- Amazon Web Services.
-- - custom – Returns only the custom policies created in your
-- Amazon Web Services account.
--
[$sel:type':ListOriginRequestPolicies'] :: ListOriginRequestPolicies -> Maybe OriginRequestPolicyType
-- | Create a value of ListOriginRequestPolicies with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListOriginRequestPolicies,
-- listOriginRequestPolicies_marker - Use this field when
-- paginating results to indicate where to begin in your list of origin
-- request policies. The response includes origin request policies in the
-- list that occur after the marker. To get the next page of the list,
-- set this field's value to the value of NextMarker from the
-- current page's response.
--
-- ListOriginRequestPolicies,
-- listOriginRequestPolicies_maxItems - The maximum number of
-- origin request policies that you want in the response.
--
-- ListOriginRequestPolicies,
-- listOriginRequestPolicies_type - A filter to return only the
-- specified kinds of origin request policies. Valid values are:
--
--
-- - managed – Returns only the managed policies created by
-- Amazon Web Services.
-- - custom – Returns only the custom policies created in your
-- Amazon Web Services account.
--
newListOriginRequestPolicies :: ListOriginRequestPolicies
-- | Use this field when paginating results to indicate where to begin in
-- your list of origin request policies. The response includes origin
-- request policies in the list that occur after the marker. To get the
-- next page of the list, set this field's value to the value of
-- NextMarker from the current page's response.
listOriginRequestPolicies_marker :: Lens' ListOriginRequestPolicies (Maybe Text)
-- | The maximum number of origin request policies that you want in the
-- response.
listOriginRequestPolicies_maxItems :: Lens' ListOriginRequestPolicies (Maybe Text)
-- | A filter to return only the specified kinds of origin request
-- policies. Valid values are:
--
--
-- - managed – Returns only the managed policies created by
-- Amazon Web Services.
-- - custom – Returns only the custom policies created in your
-- Amazon Web Services account.
--
listOriginRequestPolicies_type :: Lens' ListOriginRequestPolicies (Maybe OriginRequestPolicyType)
-- | See: newListOriginRequestPoliciesResponse smart
-- constructor.
data ListOriginRequestPoliciesResponse
ListOriginRequestPoliciesResponse' :: Maybe OriginRequestPolicyList -> Int -> ListOriginRequestPoliciesResponse
-- | A list of origin request policies.
[$sel:originRequestPolicyList:ListOriginRequestPoliciesResponse'] :: ListOriginRequestPoliciesResponse -> Maybe OriginRequestPolicyList
-- | The response's http status code.
[$sel:httpStatus:ListOriginRequestPoliciesResponse'] :: ListOriginRequestPoliciesResponse -> Int
-- | Create a value of ListOriginRequestPoliciesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:originRequestPolicyList:ListOriginRequestPoliciesResponse',
-- listOriginRequestPoliciesResponse_originRequestPolicyList - A
-- list of origin request policies.
--
-- $sel:httpStatus:ListOriginRequestPoliciesResponse',
-- listOriginRequestPoliciesResponse_httpStatus - The response's
-- http status code.
newListOriginRequestPoliciesResponse :: Int -> ListOriginRequestPoliciesResponse
-- | A list of origin request policies.
listOriginRequestPoliciesResponse_originRequestPolicyList :: Lens' ListOriginRequestPoliciesResponse (Maybe OriginRequestPolicyList)
-- | The response's http status code.
listOriginRequestPoliciesResponse_httpStatus :: Lens' ListOriginRequestPoliciesResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.ListOriginRequestPolicies.ListOriginRequestPolicies
instance GHC.Show.Show Amazonka.CloudFront.ListOriginRequestPolicies.ListOriginRequestPolicies
instance GHC.Read.Read Amazonka.CloudFront.ListOriginRequestPolicies.ListOriginRequestPolicies
instance GHC.Classes.Eq Amazonka.CloudFront.ListOriginRequestPolicies.ListOriginRequestPolicies
instance GHC.Generics.Generic Amazonka.CloudFront.ListOriginRequestPolicies.ListOriginRequestPoliciesResponse
instance GHC.Show.Show Amazonka.CloudFront.ListOriginRequestPolicies.ListOriginRequestPoliciesResponse
instance GHC.Read.Read Amazonka.CloudFront.ListOriginRequestPolicies.ListOriginRequestPoliciesResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListOriginRequestPolicies.ListOriginRequestPoliciesResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListOriginRequestPolicies.ListOriginRequestPolicies
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListOriginRequestPolicies.ListOriginRequestPoliciesResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListOriginRequestPolicies.ListOriginRequestPolicies
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListOriginRequestPolicies.ListOriginRequestPolicies
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListOriginRequestPolicies.ListOriginRequestPolicies
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListOriginRequestPolicies.ListOriginRequestPolicies
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListOriginRequestPolicies.ListOriginRequestPolicies
-- | Gets the list of CloudFront origin access controls in this Amazon Web
-- Services account.
--
-- You can optionally specify the maximum number of items to receive in
-- the response. If the total number of items in the list exceeds the
-- maximum that you specify, or the default maximum, the response is
-- paginated. To get the next page of items, send another request that
-- specifies the NextMarker value from the current response as
-- the Marker value in the next request.
module Amazonka.CloudFront.ListOriginAccessControls
-- | See: newListOriginAccessControls smart constructor.
data ListOriginAccessControls
ListOriginAccessControls' :: Maybe Text -> Maybe Text -> ListOriginAccessControls
-- | Use this field when paginating results to indicate where to begin in
-- your list of origin access controls. The response includes the items
-- in the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
[$sel:marker:ListOriginAccessControls'] :: ListOriginAccessControls -> Maybe Text
-- | The maximum number of origin access controls that you want in the
-- response.
[$sel:maxItems:ListOriginAccessControls'] :: ListOriginAccessControls -> Maybe Text
-- | Create a value of ListOriginAccessControls with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListOriginAccessControls,
-- listOriginAccessControls_marker - Use this field when
-- paginating results to indicate where to begin in your list of origin
-- access controls. The response includes the items in the list that
-- occur after the marker. To get the next page of the list, set this
-- field's value to the value of NextMarker from the current
-- page's response.
--
-- ListOriginAccessControls,
-- listOriginAccessControls_maxItems - The maximum number of
-- origin access controls that you want in the response.
newListOriginAccessControls :: ListOriginAccessControls
-- | Use this field when paginating results to indicate where to begin in
-- your list of origin access controls. The response includes the items
-- in the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
listOriginAccessControls_marker :: Lens' ListOriginAccessControls (Maybe Text)
-- | The maximum number of origin access controls that you want in the
-- response.
listOriginAccessControls_maxItems :: Lens' ListOriginAccessControls (Maybe Text)
-- | See: newListOriginAccessControlsResponse smart
-- constructor.
data ListOriginAccessControlsResponse
ListOriginAccessControlsResponse' :: Maybe OriginAccessControlList -> Int -> ListOriginAccessControlsResponse
-- | A list of origin access controls.
[$sel:originAccessControlList:ListOriginAccessControlsResponse'] :: ListOriginAccessControlsResponse -> Maybe OriginAccessControlList
-- | The response's http status code.
[$sel:httpStatus:ListOriginAccessControlsResponse'] :: ListOriginAccessControlsResponse -> Int
-- | Create a value of ListOriginAccessControlsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:originAccessControlList:ListOriginAccessControlsResponse',
-- listOriginAccessControlsResponse_originAccessControlList - A
-- list of origin access controls.
--
-- $sel:httpStatus:ListOriginAccessControlsResponse',
-- listOriginAccessControlsResponse_httpStatus - The response's
-- http status code.
newListOriginAccessControlsResponse :: Int -> ListOriginAccessControlsResponse
-- | A list of origin access controls.
listOriginAccessControlsResponse_originAccessControlList :: Lens' ListOriginAccessControlsResponse (Maybe OriginAccessControlList)
-- | The response's http status code.
listOriginAccessControlsResponse_httpStatus :: Lens' ListOriginAccessControlsResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.ListOriginAccessControls.ListOriginAccessControls
instance GHC.Show.Show Amazonka.CloudFront.ListOriginAccessControls.ListOriginAccessControls
instance GHC.Read.Read Amazonka.CloudFront.ListOriginAccessControls.ListOriginAccessControls
instance GHC.Classes.Eq Amazonka.CloudFront.ListOriginAccessControls.ListOriginAccessControls
instance GHC.Generics.Generic Amazonka.CloudFront.ListOriginAccessControls.ListOriginAccessControlsResponse
instance GHC.Show.Show Amazonka.CloudFront.ListOriginAccessControls.ListOriginAccessControlsResponse
instance GHC.Read.Read Amazonka.CloudFront.ListOriginAccessControls.ListOriginAccessControlsResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListOriginAccessControls.ListOriginAccessControlsResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListOriginAccessControls.ListOriginAccessControls
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListOriginAccessControls.ListOriginAccessControlsResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListOriginAccessControls.ListOriginAccessControls
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListOriginAccessControls.ListOriginAccessControls
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListOriginAccessControls.ListOriginAccessControls
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListOriginAccessControls.ListOriginAccessControls
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListOriginAccessControls.ListOriginAccessControls
-- | Gets a list of key groups.
--
-- You can optionally specify the maximum number of items to receive in
-- the response. If the total number of items in the list exceeds the
-- maximum that you specify, or the default maximum, the response is
-- paginated. To get the next page of items, send a subsequent request
-- that specifies the NextMarker value from the current response
-- as the Marker value in the subsequent request.
module Amazonka.CloudFront.ListKeyGroups
-- | See: newListKeyGroups smart constructor.
data ListKeyGroups
ListKeyGroups' :: Maybe Text -> Maybe Text -> ListKeyGroups
-- | Use this field when paginating results to indicate where to begin in
-- your list of key groups. The response includes key groups in the list
-- that occur after the marker. To get the next page of the list, set
-- this field's value to the value of NextMarker from the
-- current page's response.
[$sel:marker:ListKeyGroups'] :: ListKeyGroups -> Maybe Text
-- | The maximum number of key groups that you want in the response.
[$sel:maxItems:ListKeyGroups'] :: ListKeyGroups -> Maybe Text
-- | Create a value of ListKeyGroups with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListKeyGroups, listKeyGroups_marker - Use this field
-- when paginating results to indicate where to begin in your list of key
-- groups. The response includes key groups in the list that occur after
-- the marker. To get the next page of the list, set this field's value
-- to the value of NextMarker from the current page's response.
--
-- ListKeyGroups, listKeyGroups_maxItems - The maximum
-- number of key groups that you want in the response.
newListKeyGroups :: ListKeyGroups
-- | Use this field when paginating results to indicate where to begin in
-- your list of key groups. The response includes key groups in the list
-- that occur after the marker. To get the next page of the list, set
-- this field's value to the value of NextMarker from the
-- current page's response.
listKeyGroups_marker :: Lens' ListKeyGroups (Maybe Text)
-- | The maximum number of key groups that you want in the response.
listKeyGroups_maxItems :: Lens' ListKeyGroups (Maybe Text)
-- | See: newListKeyGroupsResponse smart constructor.
data ListKeyGroupsResponse
ListKeyGroupsResponse' :: Maybe KeyGroupList -> Int -> ListKeyGroupsResponse
-- | A list of key groups.
[$sel:keyGroupList:ListKeyGroupsResponse'] :: ListKeyGroupsResponse -> Maybe KeyGroupList
-- | The response's http status code.
[$sel:httpStatus:ListKeyGroupsResponse'] :: ListKeyGroupsResponse -> Int
-- | Create a value of ListKeyGroupsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:keyGroupList:ListKeyGroupsResponse',
-- listKeyGroupsResponse_keyGroupList - A list of key groups.
--
-- $sel:httpStatus:ListKeyGroupsResponse',
-- listKeyGroupsResponse_httpStatus - The response's http status
-- code.
newListKeyGroupsResponse :: Int -> ListKeyGroupsResponse
-- | A list of key groups.
listKeyGroupsResponse_keyGroupList :: Lens' ListKeyGroupsResponse (Maybe KeyGroupList)
-- | The response's http status code.
listKeyGroupsResponse_httpStatus :: Lens' ListKeyGroupsResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.ListKeyGroups.ListKeyGroups
instance GHC.Show.Show Amazonka.CloudFront.ListKeyGroups.ListKeyGroups
instance GHC.Read.Read Amazonka.CloudFront.ListKeyGroups.ListKeyGroups
instance GHC.Classes.Eq Amazonka.CloudFront.ListKeyGroups.ListKeyGroups
instance GHC.Generics.Generic Amazonka.CloudFront.ListKeyGroups.ListKeyGroupsResponse
instance GHC.Show.Show Amazonka.CloudFront.ListKeyGroups.ListKeyGroupsResponse
instance GHC.Read.Read Amazonka.CloudFront.ListKeyGroups.ListKeyGroupsResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListKeyGroups.ListKeyGroupsResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListKeyGroups.ListKeyGroups
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListKeyGroups.ListKeyGroupsResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListKeyGroups.ListKeyGroups
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListKeyGroups.ListKeyGroups
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListKeyGroups.ListKeyGroups
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListKeyGroups.ListKeyGroups
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListKeyGroups.ListKeyGroups
-- | Lists invalidation batches.
--
-- This operation returns paginated results.
module Amazonka.CloudFront.ListInvalidations
-- | The request to list invalidations.
--
-- See: newListInvalidations smart constructor.
data ListInvalidations
ListInvalidations' :: Maybe Text -> Maybe Text -> Text -> ListInvalidations
-- | 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
-- 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.
[$sel:marker:ListInvalidations'] :: ListInvalidations -> Maybe Text
-- | The maximum number of invalidation batches that you want in the
-- response body.
[$sel:maxItems:ListInvalidations'] :: ListInvalidations -> Maybe Text
-- | The distribution's ID.
[$sel:distributionId:ListInvalidations'] :: ListInvalidations -> Text
-- | Create a value of ListInvalidations with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListInvalidations, listInvalidations_marker - 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 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.
--
-- ListInvalidations, listInvalidations_maxItems - The
-- maximum number of invalidation batches that you want in the response
-- body.
--
-- ListInvalidations, listInvalidations_distributionId -
-- The distribution's ID.
newListInvalidations :: Text -> ListInvalidations
-- | 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
-- 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.
listInvalidations_marker :: Lens' ListInvalidations (Maybe Text)
-- | The maximum number of invalidation batches that you want in the
-- response body.
listInvalidations_maxItems :: Lens' ListInvalidations (Maybe Text)
-- | The distribution's ID.
listInvalidations_distributionId :: Lens' ListInvalidations Text
-- | The returned result of the corresponding request.
--
-- See: newListInvalidationsResponse smart constructor.
data ListInvalidationsResponse
ListInvalidationsResponse' :: Int -> InvalidationList -> ListInvalidationsResponse
-- | The response's http status code.
[$sel:httpStatus:ListInvalidationsResponse'] :: ListInvalidationsResponse -> Int
-- | Information about invalidation batches.
[$sel:invalidationList:ListInvalidationsResponse'] :: ListInvalidationsResponse -> InvalidationList
-- | Create a value of ListInvalidationsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:ListInvalidationsResponse',
-- listInvalidationsResponse_httpStatus - The response's http
-- status code.
--
-- $sel:invalidationList:ListInvalidationsResponse',
-- listInvalidationsResponse_invalidationList - Information about
-- invalidation batches.
newListInvalidationsResponse :: Int -> InvalidationList -> ListInvalidationsResponse
-- | The response's http status code.
listInvalidationsResponse_httpStatus :: Lens' ListInvalidationsResponse Int
-- | Information about invalidation batches.
listInvalidationsResponse_invalidationList :: Lens' ListInvalidationsResponse InvalidationList
instance GHC.Generics.Generic Amazonka.CloudFront.ListInvalidations.ListInvalidations
instance GHC.Show.Show Amazonka.CloudFront.ListInvalidations.ListInvalidations
instance GHC.Read.Read Amazonka.CloudFront.ListInvalidations.ListInvalidations
instance GHC.Classes.Eq Amazonka.CloudFront.ListInvalidations.ListInvalidations
instance GHC.Generics.Generic Amazonka.CloudFront.ListInvalidations.ListInvalidationsResponse
instance GHC.Show.Show Amazonka.CloudFront.ListInvalidations.ListInvalidationsResponse
instance GHC.Read.Read Amazonka.CloudFront.ListInvalidations.ListInvalidationsResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListInvalidations.ListInvalidationsResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListInvalidations.ListInvalidations
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListInvalidations.ListInvalidationsResponse
instance Amazonka.Pager.AWSPager Amazonka.CloudFront.ListInvalidations.ListInvalidations
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListInvalidations.ListInvalidations
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListInvalidations.ListInvalidations
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListInvalidations.ListInvalidations
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListInvalidations.ListInvalidations
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListInvalidations.ListInvalidations
-- | Gets a list of all CloudFront functions in your Amazon Web Services
-- account.
--
-- You can optionally apply a filter to return only the functions that
-- are in the specified stage, either DEVELOPMENT or
-- LIVE.
--
-- You can optionally specify the maximum number of items to receive in
-- the response. If the total number of items in the list exceeds the
-- maximum that you specify, or the default maximum, the response is
-- paginated. To get the next page of items, send a subsequent request
-- that specifies the NextMarker value from the current response
-- as the Marker value in the subsequent request.
module Amazonka.CloudFront.ListFunctions
-- | See: newListFunctions smart constructor.
data ListFunctions
ListFunctions' :: Maybe Text -> Maybe Text -> Maybe FunctionStage -> ListFunctions
-- | Use this field when paginating results to indicate where to begin in
-- your list of functions. The response includes functions in the list
-- that occur after the marker. To get the next page of the list, set
-- this field's value to the value of NextMarker from the
-- current page's response.
[$sel:marker:ListFunctions'] :: ListFunctions -> Maybe Text
-- | The maximum number of functions that you want in the response.
[$sel:maxItems:ListFunctions'] :: ListFunctions -> Maybe Text
-- | An optional filter to return only the functions that are in the
-- specified stage, either DEVELOPMENT or LIVE.
[$sel:stage:ListFunctions'] :: ListFunctions -> Maybe FunctionStage
-- | Create a value of ListFunctions with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListFunctions, listFunctions_marker - Use this field
-- when paginating results to indicate where to begin in your list of
-- functions. The response includes functions in the list that occur
-- after the marker. To get the next page of the list, set this field's
-- value to the value of NextMarker from the current page's
-- response.
--
-- ListFunctions, listFunctions_maxItems - The maximum
-- number of functions that you want in the response.
--
-- ListFunctions, listFunctions_stage - An optional filter
-- to return only the functions that are in the specified stage, either
-- DEVELOPMENT or LIVE.
newListFunctions :: ListFunctions
-- | Use this field when paginating results to indicate where to begin in
-- your list of functions. The response includes functions in the list
-- that occur after the marker. To get the next page of the list, set
-- this field's value to the value of NextMarker from the
-- current page's response.
listFunctions_marker :: Lens' ListFunctions (Maybe Text)
-- | The maximum number of functions that you want in the response.
listFunctions_maxItems :: Lens' ListFunctions (Maybe Text)
-- | An optional filter to return only the functions that are in the
-- specified stage, either DEVELOPMENT or LIVE.
listFunctions_stage :: Lens' ListFunctions (Maybe FunctionStage)
-- | See: newListFunctionsResponse smart constructor.
data ListFunctionsResponse
ListFunctionsResponse' :: Maybe FunctionList -> Int -> ListFunctionsResponse
-- | A list of CloudFront functions.
[$sel:functionList:ListFunctionsResponse'] :: ListFunctionsResponse -> Maybe FunctionList
-- | The response's http status code.
[$sel:httpStatus:ListFunctionsResponse'] :: ListFunctionsResponse -> Int
-- | Create a value of ListFunctionsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:functionList:ListFunctionsResponse',
-- listFunctionsResponse_functionList - A list of CloudFront
-- functions.
--
-- $sel:httpStatus:ListFunctionsResponse',
-- listFunctionsResponse_httpStatus - The response's http status
-- code.
newListFunctionsResponse :: Int -> ListFunctionsResponse
-- | A list of CloudFront functions.
listFunctionsResponse_functionList :: Lens' ListFunctionsResponse (Maybe FunctionList)
-- | The response's http status code.
listFunctionsResponse_httpStatus :: Lens' ListFunctionsResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.ListFunctions.ListFunctions
instance GHC.Show.Show Amazonka.CloudFront.ListFunctions.ListFunctions
instance GHC.Read.Read Amazonka.CloudFront.ListFunctions.ListFunctions
instance GHC.Classes.Eq Amazonka.CloudFront.ListFunctions.ListFunctions
instance GHC.Generics.Generic Amazonka.CloudFront.ListFunctions.ListFunctionsResponse
instance GHC.Show.Show Amazonka.CloudFront.ListFunctions.ListFunctionsResponse
instance GHC.Read.Read Amazonka.CloudFront.ListFunctions.ListFunctionsResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListFunctions.ListFunctionsResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListFunctions.ListFunctions
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListFunctions.ListFunctionsResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListFunctions.ListFunctions
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListFunctions.ListFunctions
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListFunctions.ListFunctions
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListFunctions.ListFunctions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListFunctions.ListFunctions
-- | Request a list of field-level encryption profiles that have been
-- created in CloudFront for this account.
module Amazonka.CloudFront.ListFieldLevelEncryptionProfiles
-- | See: newListFieldLevelEncryptionProfiles smart
-- constructor.
data ListFieldLevelEncryptionProfiles
ListFieldLevelEncryptionProfiles' :: Maybe Text -> Maybe Text -> ListFieldLevelEncryptionProfiles
-- | Use this when paginating results to indicate where to begin in your
-- list of profiles. The results include profiles 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 profile on
-- that page).
[$sel:marker:ListFieldLevelEncryptionProfiles'] :: ListFieldLevelEncryptionProfiles -> Maybe Text
-- | The maximum number of field-level encryption profiles you want in the
-- response body.
[$sel:maxItems:ListFieldLevelEncryptionProfiles'] :: ListFieldLevelEncryptionProfiles -> Maybe Text
-- | Create a value of ListFieldLevelEncryptionProfiles with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListFieldLevelEncryptionProfiles,
-- listFieldLevelEncryptionProfiles_marker - Use this when
-- paginating results to indicate where to begin in your list of
-- profiles. The results include profiles 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 profile on that page).
--
-- ListFieldLevelEncryptionProfiles,
-- listFieldLevelEncryptionProfiles_maxItems - The maximum number
-- of field-level encryption profiles you want in the response body.
newListFieldLevelEncryptionProfiles :: ListFieldLevelEncryptionProfiles
-- | Use this when paginating results to indicate where to begin in your
-- list of profiles. The results include profiles 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 profile on
-- that page).
listFieldLevelEncryptionProfiles_marker :: Lens' ListFieldLevelEncryptionProfiles (Maybe Text)
-- | The maximum number of field-level encryption profiles you want in the
-- response body.
listFieldLevelEncryptionProfiles_maxItems :: Lens' ListFieldLevelEncryptionProfiles (Maybe Text)
-- | See: newListFieldLevelEncryptionProfilesResponse smart
-- constructor.
data ListFieldLevelEncryptionProfilesResponse
ListFieldLevelEncryptionProfilesResponse' :: Maybe FieldLevelEncryptionProfileList -> Int -> ListFieldLevelEncryptionProfilesResponse
-- | Returns a list of the field-level encryption profiles that have been
-- created in CloudFront for this account.
[$sel:fieldLevelEncryptionProfileList:ListFieldLevelEncryptionProfilesResponse'] :: ListFieldLevelEncryptionProfilesResponse -> Maybe FieldLevelEncryptionProfileList
-- | The response's http status code.
[$sel:httpStatus:ListFieldLevelEncryptionProfilesResponse'] :: ListFieldLevelEncryptionProfilesResponse -> Int
-- | Create a value of ListFieldLevelEncryptionProfilesResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:fieldLevelEncryptionProfileList:ListFieldLevelEncryptionProfilesResponse',
-- listFieldLevelEncryptionProfilesResponse_fieldLevelEncryptionProfileList
-- - Returns a list of the field-level encryption profiles that have been
-- created in CloudFront for this account.
--
-- $sel:httpStatus:ListFieldLevelEncryptionProfilesResponse',
-- listFieldLevelEncryptionProfilesResponse_httpStatus - The
-- response's http status code.
newListFieldLevelEncryptionProfilesResponse :: Int -> ListFieldLevelEncryptionProfilesResponse
-- | Returns a list of the field-level encryption profiles that have been
-- created in CloudFront for this account.
listFieldLevelEncryptionProfilesResponse_fieldLevelEncryptionProfileList :: Lens' ListFieldLevelEncryptionProfilesResponse (Maybe FieldLevelEncryptionProfileList)
-- | The response's http status code.
listFieldLevelEncryptionProfilesResponse_httpStatus :: Lens' ListFieldLevelEncryptionProfilesResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.ListFieldLevelEncryptionProfiles.ListFieldLevelEncryptionProfiles
instance GHC.Show.Show Amazonka.CloudFront.ListFieldLevelEncryptionProfiles.ListFieldLevelEncryptionProfiles
instance GHC.Read.Read Amazonka.CloudFront.ListFieldLevelEncryptionProfiles.ListFieldLevelEncryptionProfiles
instance GHC.Classes.Eq Amazonka.CloudFront.ListFieldLevelEncryptionProfiles.ListFieldLevelEncryptionProfiles
instance GHC.Generics.Generic Amazonka.CloudFront.ListFieldLevelEncryptionProfiles.ListFieldLevelEncryptionProfilesResponse
instance GHC.Show.Show Amazonka.CloudFront.ListFieldLevelEncryptionProfiles.ListFieldLevelEncryptionProfilesResponse
instance GHC.Read.Read Amazonka.CloudFront.ListFieldLevelEncryptionProfiles.ListFieldLevelEncryptionProfilesResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListFieldLevelEncryptionProfiles.ListFieldLevelEncryptionProfilesResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListFieldLevelEncryptionProfiles.ListFieldLevelEncryptionProfiles
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListFieldLevelEncryptionProfiles.ListFieldLevelEncryptionProfilesResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListFieldLevelEncryptionProfiles.ListFieldLevelEncryptionProfiles
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListFieldLevelEncryptionProfiles.ListFieldLevelEncryptionProfiles
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListFieldLevelEncryptionProfiles.ListFieldLevelEncryptionProfiles
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListFieldLevelEncryptionProfiles.ListFieldLevelEncryptionProfiles
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListFieldLevelEncryptionProfiles.ListFieldLevelEncryptionProfiles
-- | List all field-level encryption configurations that have been created
-- in CloudFront for this account.
module Amazonka.CloudFront.ListFieldLevelEncryptionConfigs
-- | See: newListFieldLevelEncryptionConfigs smart
-- constructor.
data ListFieldLevelEncryptionConfigs
ListFieldLevelEncryptionConfigs' :: Maybe Text -> Maybe Text -> ListFieldLevelEncryptionConfigs
-- | Use this when paginating results to indicate where to begin in your
-- list of configurations. The results include configurations 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
-- configuration on that page).
[$sel:marker:ListFieldLevelEncryptionConfigs'] :: ListFieldLevelEncryptionConfigs -> Maybe Text
-- | The maximum number of field-level encryption configurations you want
-- in the response body.
[$sel:maxItems:ListFieldLevelEncryptionConfigs'] :: ListFieldLevelEncryptionConfigs -> Maybe Text
-- | Create a value of ListFieldLevelEncryptionConfigs with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListFieldLevelEncryptionConfigs,
-- listFieldLevelEncryptionConfigs_marker - Use this when
-- paginating results to indicate where to begin in your list of
-- configurations. The results include configurations 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
-- configuration on that page).
--
-- ListFieldLevelEncryptionConfigs,
-- listFieldLevelEncryptionConfigs_maxItems - The maximum number
-- of field-level encryption configurations you want in the response
-- body.
newListFieldLevelEncryptionConfigs :: ListFieldLevelEncryptionConfigs
-- | Use this when paginating results to indicate where to begin in your
-- list of configurations. The results include configurations 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
-- configuration on that page).
listFieldLevelEncryptionConfigs_marker :: Lens' ListFieldLevelEncryptionConfigs (Maybe Text)
-- | The maximum number of field-level encryption configurations you want
-- in the response body.
listFieldLevelEncryptionConfigs_maxItems :: Lens' ListFieldLevelEncryptionConfigs (Maybe Text)
-- | See: newListFieldLevelEncryptionConfigsResponse smart
-- constructor.
data ListFieldLevelEncryptionConfigsResponse
ListFieldLevelEncryptionConfigsResponse' :: Maybe FieldLevelEncryptionList -> Int -> ListFieldLevelEncryptionConfigsResponse
-- | Returns a list of all field-level encryption configurations that have
-- been created in CloudFront for this account.
[$sel:fieldLevelEncryptionList:ListFieldLevelEncryptionConfigsResponse'] :: ListFieldLevelEncryptionConfigsResponse -> Maybe FieldLevelEncryptionList
-- | The response's http status code.
[$sel:httpStatus:ListFieldLevelEncryptionConfigsResponse'] :: ListFieldLevelEncryptionConfigsResponse -> Int
-- | Create a value of ListFieldLevelEncryptionConfigsResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:fieldLevelEncryptionList:ListFieldLevelEncryptionConfigsResponse',
-- listFieldLevelEncryptionConfigsResponse_fieldLevelEncryptionList
-- - Returns a list of all field-level encryption configurations that
-- have been created in CloudFront for this account.
--
-- $sel:httpStatus:ListFieldLevelEncryptionConfigsResponse',
-- listFieldLevelEncryptionConfigsResponse_httpStatus - The
-- response's http status code.
newListFieldLevelEncryptionConfigsResponse :: Int -> ListFieldLevelEncryptionConfigsResponse
-- | Returns a list of all field-level encryption configurations that have
-- been created in CloudFront for this account.
listFieldLevelEncryptionConfigsResponse_fieldLevelEncryptionList :: Lens' ListFieldLevelEncryptionConfigsResponse (Maybe FieldLevelEncryptionList)
-- | The response's http status code.
listFieldLevelEncryptionConfigsResponse_httpStatus :: Lens' ListFieldLevelEncryptionConfigsResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.ListFieldLevelEncryptionConfigs.ListFieldLevelEncryptionConfigs
instance GHC.Show.Show Amazonka.CloudFront.ListFieldLevelEncryptionConfigs.ListFieldLevelEncryptionConfigs
instance GHC.Read.Read Amazonka.CloudFront.ListFieldLevelEncryptionConfigs.ListFieldLevelEncryptionConfigs
instance GHC.Classes.Eq Amazonka.CloudFront.ListFieldLevelEncryptionConfigs.ListFieldLevelEncryptionConfigs
instance GHC.Generics.Generic Amazonka.CloudFront.ListFieldLevelEncryptionConfigs.ListFieldLevelEncryptionConfigsResponse
instance GHC.Show.Show Amazonka.CloudFront.ListFieldLevelEncryptionConfigs.ListFieldLevelEncryptionConfigsResponse
instance GHC.Read.Read Amazonka.CloudFront.ListFieldLevelEncryptionConfigs.ListFieldLevelEncryptionConfigsResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListFieldLevelEncryptionConfigs.ListFieldLevelEncryptionConfigsResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListFieldLevelEncryptionConfigs.ListFieldLevelEncryptionConfigs
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListFieldLevelEncryptionConfigs.ListFieldLevelEncryptionConfigsResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListFieldLevelEncryptionConfigs.ListFieldLevelEncryptionConfigs
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListFieldLevelEncryptionConfigs.ListFieldLevelEncryptionConfigs
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListFieldLevelEncryptionConfigs.ListFieldLevelEncryptionConfigs
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListFieldLevelEncryptionConfigs.ListFieldLevelEncryptionConfigs
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListFieldLevelEncryptionConfigs.ListFieldLevelEncryptionConfigs
-- | List the distributions that are associated with a specified WAF web
-- ACL.
module Amazonka.CloudFront.ListDistributionsByWebACLId
-- | The request to list distributions that are associated with a specified
-- WAF web ACL.
--
-- See: newListDistributionsByWebACLId smart constructor.
data ListDistributionsByWebACLId
ListDistributionsByWebACLId' :: Maybe Text -> Maybe Text -> Text -> ListDistributionsByWebACLId
-- | Use Marker and MaxItems to control pagination of
-- results. If you have more than MaxItems distributions that
-- satisfy the request, the response includes a NextMarker
-- element. To get the next page of results, submit another request. For
-- the value of Marker, specify the value of NextMarker
-- from the last response. (For the first request, omit Marker.)
[$sel:marker:ListDistributionsByWebACLId'] :: ListDistributionsByWebACLId -> Maybe Text
-- | The maximum number of distributions that you want CloudFront to return
-- in the response body. The maximum and default values are both 100.
[$sel:maxItems:ListDistributionsByWebACLId'] :: ListDistributionsByWebACLId -> Maybe Text
-- | The ID of the WAF web ACL that you want to list the associated
-- distributions. If you specify "null" for the ID, the request returns a
-- list of the distributions that aren't associated with a web ACL.
[$sel:webACLId:ListDistributionsByWebACLId'] :: ListDistributionsByWebACLId -> Text
-- | Create a value of ListDistributionsByWebACLId with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDistributionsByWebACLId,
-- listDistributionsByWebACLId_marker - Use Marker and
-- MaxItems to control pagination of results. If you have more
-- than MaxItems distributions that satisfy the request, the
-- response includes a NextMarker element. To get the next page
-- of results, submit another request. For the value of Marker,
-- specify the value of NextMarker from the last response. (For
-- the first request, omit Marker.)
--
-- ListDistributionsByWebACLId,
-- listDistributionsByWebACLId_maxItems - The maximum number of
-- distributions that you want CloudFront to return in the response body.
-- The maximum and default values are both 100.
--
-- ListDistributionsByWebACLId,
-- listDistributionsByWebACLId_webACLId - The ID of the WAF web
-- ACL that you want to list the associated distributions. If you specify
-- "null" for the ID, the request returns a list of the distributions
-- that aren't associated with a web ACL.
newListDistributionsByWebACLId :: Text -> ListDistributionsByWebACLId
-- | Use Marker and MaxItems to control pagination of
-- results. If you have more than MaxItems distributions that
-- satisfy the request, the response includes a NextMarker
-- element. To get the next page of results, submit another request. For
-- the value of Marker, specify the value of NextMarker
-- from the last response. (For the first request, omit Marker.)
listDistributionsByWebACLId_marker :: Lens' ListDistributionsByWebACLId (Maybe Text)
-- | The maximum number of distributions that you want CloudFront to return
-- in the response body. The maximum and default values are both 100.
listDistributionsByWebACLId_maxItems :: Lens' ListDistributionsByWebACLId (Maybe Text)
-- | The ID of the WAF web ACL that you want to list the associated
-- distributions. If you specify "null" for the ID, the request returns a
-- list of the distributions that aren't associated with a web ACL.
listDistributionsByWebACLId_webACLId :: Lens' ListDistributionsByWebACLId Text
-- | The response to a request to list the distributions that are
-- associated with a specified WAF web ACL.
--
-- See: newListDistributionsByWebACLIdResponse smart
-- constructor.
data ListDistributionsByWebACLIdResponse
ListDistributionsByWebACLIdResponse' :: Maybe DistributionList -> Int -> ListDistributionsByWebACLIdResponse
-- | The DistributionList type.
[$sel:distributionList:ListDistributionsByWebACLIdResponse'] :: ListDistributionsByWebACLIdResponse -> Maybe DistributionList
-- | The response's http status code.
[$sel:httpStatus:ListDistributionsByWebACLIdResponse'] :: ListDistributionsByWebACLIdResponse -> Int
-- | Create a value of ListDistributionsByWebACLIdResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distributionList:ListDistributionsByWebACLIdResponse',
-- listDistributionsByWebACLIdResponse_distributionList - The
-- DistributionList type.
--
-- $sel:httpStatus:ListDistributionsByWebACLIdResponse',
-- listDistributionsByWebACLIdResponse_httpStatus - The response's
-- http status code.
newListDistributionsByWebACLIdResponse :: Int -> ListDistributionsByWebACLIdResponse
-- | The DistributionList type.
listDistributionsByWebACLIdResponse_distributionList :: Lens' ListDistributionsByWebACLIdResponse (Maybe DistributionList)
-- | The response's http status code.
listDistributionsByWebACLIdResponse_httpStatus :: Lens' ListDistributionsByWebACLIdResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.ListDistributionsByWebACLId.ListDistributionsByWebACLId
instance GHC.Show.Show Amazonka.CloudFront.ListDistributionsByWebACLId.ListDistributionsByWebACLId
instance GHC.Read.Read Amazonka.CloudFront.ListDistributionsByWebACLId.ListDistributionsByWebACLId
instance GHC.Classes.Eq Amazonka.CloudFront.ListDistributionsByWebACLId.ListDistributionsByWebACLId
instance GHC.Generics.Generic Amazonka.CloudFront.ListDistributionsByWebACLId.ListDistributionsByWebACLIdResponse
instance GHC.Show.Show Amazonka.CloudFront.ListDistributionsByWebACLId.ListDistributionsByWebACLIdResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListDistributionsByWebACLId.ListDistributionsByWebACLIdResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListDistributionsByWebACLId.ListDistributionsByWebACLId
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListDistributionsByWebACLId.ListDistributionsByWebACLIdResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListDistributionsByWebACLId.ListDistributionsByWebACLId
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListDistributionsByWebACLId.ListDistributionsByWebACLId
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListDistributionsByWebACLId.ListDistributionsByWebACLId
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListDistributionsByWebACLId.ListDistributionsByWebACLId
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListDistributionsByWebACLId.ListDistributionsByWebACLId
-- | Gets a list of distribution IDs for distributions that have a cache
-- behavior that's associated with the specified response headers policy.
--
-- You can optionally specify the maximum number of items to receive in
-- the response. If the total number of items in the list exceeds the
-- maximum that you specify, or the default maximum, the response is
-- paginated. To get the next page of items, send a subsequent request
-- that specifies the NextMarker value from the current response
-- as the Marker value in the subsequent request.
module Amazonka.CloudFront.ListDistributionsByResponseHeadersPolicyId
-- | See: newListDistributionsByResponseHeadersPolicyId smart
-- constructor.
data ListDistributionsByResponseHeadersPolicyId
ListDistributionsByResponseHeadersPolicyId' :: Maybe Text -> Maybe Text -> Text -> ListDistributionsByResponseHeadersPolicyId
-- | Use this field when paginating results to indicate where to begin in
-- your list of distribution IDs. The response includes distribution IDs
-- in the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
[$sel:marker:ListDistributionsByResponseHeadersPolicyId'] :: ListDistributionsByResponseHeadersPolicyId -> Maybe Text
-- | The maximum number of distribution IDs that you want to get in the
-- response.
[$sel:maxItems:ListDistributionsByResponseHeadersPolicyId'] :: ListDistributionsByResponseHeadersPolicyId -> Maybe Text
-- | The ID of the response headers policy whose associated distribution
-- IDs you want to list.
[$sel:responseHeadersPolicyId:ListDistributionsByResponseHeadersPolicyId'] :: ListDistributionsByResponseHeadersPolicyId -> Text
-- | Create a value of ListDistributionsByResponseHeadersPolicyId
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDistributionsByResponseHeadersPolicyId,
-- listDistributionsByResponseHeadersPolicyId_marker - Use this
-- field when paginating results to indicate where to begin in your list
-- of distribution IDs. The response includes distribution IDs in the
-- list that occur after the marker. To get the next page of the list,
-- set this field's value to the value of NextMarker from the
-- current page's response.
--
-- ListDistributionsByResponseHeadersPolicyId,
-- listDistributionsByResponseHeadersPolicyId_maxItems - The
-- maximum number of distribution IDs that you want to get in the
-- response.
--
-- ListDistributionsByResponseHeadersPolicyId,
-- listDistributionsByResponseHeadersPolicyId_responseHeadersPolicyId
-- - The ID of the response headers policy whose associated distribution
-- IDs you want to list.
newListDistributionsByResponseHeadersPolicyId :: Text -> ListDistributionsByResponseHeadersPolicyId
-- | Use this field when paginating results to indicate where to begin in
-- your list of distribution IDs. The response includes distribution IDs
-- in the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
listDistributionsByResponseHeadersPolicyId_marker :: Lens' ListDistributionsByResponseHeadersPolicyId (Maybe Text)
-- | The maximum number of distribution IDs that you want to get in the
-- response.
listDistributionsByResponseHeadersPolicyId_maxItems :: Lens' ListDistributionsByResponseHeadersPolicyId (Maybe Text)
-- | The ID of the response headers policy whose associated distribution
-- IDs you want to list.
listDistributionsByResponseHeadersPolicyId_responseHeadersPolicyId :: Lens' ListDistributionsByResponseHeadersPolicyId Text
-- | See:
-- newListDistributionsByResponseHeadersPolicyIdResponse smart
-- constructor.
data ListDistributionsByResponseHeadersPolicyIdResponse
ListDistributionsByResponseHeadersPolicyIdResponse' :: Maybe DistributionIdList -> Int -> ListDistributionsByResponseHeadersPolicyIdResponse
[$sel:distributionIdList:ListDistributionsByResponseHeadersPolicyIdResponse'] :: ListDistributionsByResponseHeadersPolicyIdResponse -> Maybe DistributionIdList
-- | The response's http status code.
[$sel:httpStatus:ListDistributionsByResponseHeadersPolicyIdResponse'] :: ListDistributionsByResponseHeadersPolicyIdResponse -> Int
-- | Create a value of
-- ListDistributionsByResponseHeadersPolicyIdResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:distributionIdList:ListDistributionsByResponseHeadersPolicyIdResponse',
-- listDistributionsByResponseHeadersPolicyIdResponse_distributionIdList
-- - Undocumented member.
--
--
-- $sel:httpStatus:ListDistributionsByResponseHeadersPolicyIdResponse',
-- listDistributionsByResponseHeadersPolicyIdResponse_httpStatus -
-- The response's http status code.
newListDistributionsByResponseHeadersPolicyIdResponse :: Int -> ListDistributionsByResponseHeadersPolicyIdResponse
-- | Undocumented member.
listDistributionsByResponseHeadersPolicyIdResponse_distributionIdList :: Lens' ListDistributionsByResponseHeadersPolicyIdResponse (Maybe DistributionIdList)
-- | The response's http status code.
listDistributionsByResponseHeadersPolicyIdResponse_httpStatus :: Lens' ListDistributionsByResponseHeadersPolicyIdResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.ListDistributionsByResponseHeadersPolicyId.ListDistributionsByResponseHeadersPolicyId
instance GHC.Show.Show Amazonka.CloudFront.ListDistributionsByResponseHeadersPolicyId.ListDistributionsByResponseHeadersPolicyId
instance GHC.Read.Read Amazonka.CloudFront.ListDistributionsByResponseHeadersPolicyId.ListDistributionsByResponseHeadersPolicyId
instance GHC.Classes.Eq Amazonka.CloudFront.ListDistributionsByResponseHeadersPolicyId.ListDistributionsByResponseHeadersPolicyId
instance GHC.Generics.Generic Amazonka.CloudFront.ListDistributionsByResponseHeadersPolicyId.ListDistributionsByResponseHeadersPolicyIdResponse
instance GHC.Show.Show Amazonka.CloudFront.ListDistributionsByResponseHeadersPolicyId.ListDistributionsByResponseHeadersPolicyIdResponse
instance GHC.Read.Read Amazonka.CloudFront.ListDistributionsByResponseHeadersPolicyId.ListDistributionsByResponseHeadersPolicyIdResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListDistributionsByResponseHeadersPolicyId.ListDistributionsByResponseHeadersPolicyIdResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListDistributionsByResponseHeadersPolicyId.ListDistributionsByResponseHeadersPolicyId
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListDistributionsByResponseHeadersPolicyId.ListDistributionsByResponseHeadersPolicyIdResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListDistributionsByResponseHeadersPolicyId.ListDistributionsByResponseHeadersPolicyId
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListDistributionsByResponseHeadersPolicyId.ListDistributionsByResponseHeadersPolicyId
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListDistributionsByResponseHeadersPolicyId.ListDistributionsByResponseHeadersPolicyId
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListDistributionsByResponseHeadersPolicyId.ListDistributionsByResponseHeadersPolicyId
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListDistributionsByResponseHeadersPolicyId.ListDistributionsByResponseHeadersPolicyId
-- | Gets a list of distributions that have a cache behavior that's
-- associated with the specified real-time log configuration.
--
-- You can specify the real-time log configuration by its name or its
-- Amazon Resource Name (ARN). You must provide at least one. If you
-- provide both, CloudFront uses the name to identify the real-time log
-- configuration to list distributions for.
--
-- You can optionally specify the maximum number of items to receive in
-- the response. If the total number of items in the list exceeds the
-- maximum that you specify, or the default maximum, the response is
-- paginated. To get the next page of items, send a subsequent request
-- that specifies the NextMarker value from the current response
-- as the Marker value in the subsequent request.
module Amazonka.CloudFront.ListDistributionsByRealtimeLogConfig
-- | See: newListDistributionsByRealtimeLogConfig smart
-- constructor.
data ListDistributionsByRealtimeLogConfig
ListDistributionsByRealtimeLogConfig' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> ListDistributionsByRealtimeLogConfig
-- | Use this field when paginating results to indicate where to begin in
-- your list of distributions. The response includes distributions in the
-- list that occur after the marker. To get the next page of the list,
-- set this field's value to the value of NextMarker from the
-- current page's response.
[$sel:marker:ListDistributionsByRealtimeLogConfig'] :: ListDistributionsByRealtimeLogConfig -> Maybe Text
-- | The maximum number of distributions that you want in the response.
[$sel:maxItems:ListDistributionsByRealtimeLogConfig'] :: ListDistributionsByRealtimeLogConfig -> Maybe Text
-- | The Amazon Resource Name (ARN) of the real-time log configuration
-- whose associated distributions you want to list.
[$sel:realtimeLogConfigArn:ListDistributionsByRealtimeLogConfig'] :: ListDistributionsByRealtimeLogConfig -> Maybe Text
-- | The name of the real-time log configuration whose associated
-- distributions you want to list.
[$sel:realtimeLogConfigName:ListDistributionsByRealtimeLogConfig'] :: ListDistributionsByRealtimeLogConfig -> Maybe Text
-- | Create a value of ListDistributionsByRealtimeLogConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDistributionsByRealtimeLogConfig,
-- listDistributionsByRealtimeLogConfig_marker - Use this field
-- when paginating results to indicate where to begin in your list of
-- distributions. The response includes distributions in the list that
-- occur after the marker. To get the next page of the list, set this
-- field's value to the value of NextMarker from the current
-- page's response.
--
-- ListDistributionsByRealtimeLogConfig,
-- listDistributionsByRealtimeLogConfig_maxItems - The maximum
-- number of distributions that you want in the response.
--
-- ListDistributionsByRealtimeLogConfig,
-- listDistributionsByRealtimeLogConfig_realtimeLogConfigArn - The
-- Amazon Resource Name (ARN) of the real-time log configuration whose
-- associated distributions you want to list.
--
--
-- $sel:realtimeLogConfigName:ListDistributionsByRealtimeLogConfig',
-- listDistributionsByRealtimeLogConfig_realtimeLogConfigName -
-- The name of the real-time log configuration whose associated
-- distributions you want to list.
newListDistributionsByRealtimeLogConfig :: ListDistributionsByRealtimeLogConfig
-- | Use this field when paginating results to indicate where to begin in
-- your list of distributions. The response includes distributions in the
-- list that occur after the marker. To get the next page of the list,
-- set this field's value to the value of NextMarker from the
-- current page's response.
listDistributionsByRealtimeLogConfig_marker :: Lens' ListDistributionsByRealtimeLogConfig (Maybe Text)
-- | The maximum number of distributions that you want in the response.
listDistributionsByRealtimeLogConfig_maxItems :: Lens' ListDistributionsByRealtimeLogConfig (Maybe Text)
-- | The Amazon Resource Name (ARN) of the real-time log configuration
-- whose associated distributions you want to list.
listDistributionsByRealtimeLogConfig_realtimeLogConfigArn :: Lens' ListDistributionsByRealtimeLogConfig (Maybe Text)
-- | The name of the real-time log configuration whose associated
-- distributions you want to list.
listDistributionsByRealtimeLogConfig_realtimeLogConfigName :: Lens' ListDistributionsByRealtimeLogConfig (Maybe Text)
-- | See: newListDistributionsByRealtimeLogConfigResponse
-- smart constructor.
data ListDistributionsByRealtimeLogConfigResponse
ListDistributionsByRealtimeLogConfigResponse' :: Maybe DistributionList -> Int -> ListDistributionsByRealtimeLogConfigResponse
[$sel:distributionList:ListDistributionsByRealtimeLogConfigResponse'] :: ListDistributionsByRealtimeLogConfigResponse -> Maybe DistributionList
-- | The response's http status code.
[$sel:httpStatus:ListDistributionsByRealtimeLogConfigResponse'] :: ListDistributionsByRealtimeLogConfigResponse -> Int
-- | Create a value of ListDistributionsByRealtimeLogConfigResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:distributionList:ListDistributionsByRealtimeLogConfigResponse',
-- listDistributionsByRealtimeLogConfigResponse_distributionList -
-- Undocumented member.
--
-- $sel:httpStatus:ListDistributionsByRealtimeLogConfigResponse',
-- listDistributionsByRealtimeLogConfigResponse_httpStatus - The
-- response's http status code.
newListDistributionsByRealtimeLogConfigResponse :: Int -> ListDistributionsByRealtimeLogConfigResponse
-- | Undocumented member.
listDistributionsByRealtimeLogConfigResponse_distributionList :: Lens' ListDistributionsByRealtimeLogConfigResponse (Maybe DistributionList)
-- | The response's http status code.
listDistributionsByRealtimeLogConfigResponse_httpStatus :: Lens' ListDistributionsByRealtimeLogConfigResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.ListDistributionsByRealtimeLogConfig.ListDistributionsByRealtimeLogConfig
instance GHC.Show.Show Amazonka.CloudFront.ListDistributionsByRealtimeLogConfig.ListDistributionsByRealtimeLogConfig
instance GHC.Read.Read Amazonka.CloudFront.ListDistributionsByRealtimeLogConfig.ListDistributionsByRealtimeLogConfig
instance GHC.Classes.Eq Amazonka.CloudFront.ListDistributionsByRealtimeLogConfig.ListDistributionsByRealtimeLogConfig
instance GHC.Generics.Generic Amazonka.CloudFront.ListDistributionsByRealtimeLogConfig.ListDistributionsByRealtimeLogConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.ListDistributionsByRealtimeLogConfig.ListDistributionsByRealtimeLogConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListDistributionsByRealtimeLogConfig.ListDistributionsByRealtimeLogConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListDistributionsByRealtimeLogConfig.ListDistributionsByRealtimeLogConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListDistributionsByRealtimeLogConfig.ListDistributionsByRealtimeLogConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListDistributionsByRealtimeLogConfig.ListDistributionsByRealtimeLogConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListDistributionsByRealtimeLogConfig.ListDistributionsByRealtimeLogConfig
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.ListDistributionsByRealtimeLogConfig.ListDistributionsByRealtimeLogConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListDistributionsByRealtimeLogConfig.ListDistributionsByRealtimeLogConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListDistributionsByRealtimeLogConfig.ListDistributionsByRealtimeLogConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListDistributionsByRealtimeLogConfig.ListDistributionsByRealtimeLogConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.ListDistributionsByRealtimeLogConfig.ListDistributionsByRealtimeLogConfig
-- | Gets a list of distribution IDs for distributions that have a cache
-- behavior that's associated with the specified origin request policy.
--
-- You can optionally specify the maximum number of items to receive in
-- the response. If the total number of items in the list exceeds the
-- maximum that you specify, or the default maximum, the response is
-- paginated. To get the next page of items, send a subsequent request
-- that specifies the NextMarker value from the current response
-- as the Marker value in the subsequent request.
module Amazonka.CloudFront.ListDistributionsByOriginRequestPolicyId
-- | See: newListDistributionsByOriginRequestPolicyId smart
-- constructor.
data ListDistributionsByOriginRequestPolicyId
ListDistributionsByOriginRequestPolicyId' :: Maybe Text -> Maybe Text -> Text -> ListDistributionsByOriginRequestPolicyId
-- | Use this field when paginating results to indicate where to begin in
-- your list of distribution IDs. The response includes distribution IDs
-- in the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
[$sel:marker:ListDistributionsByOriginRequestPolicyId'] :: ListDistributionsByOriginRequestPolicyId -> Maybe Text
-- | The maximum number of distribution IDs that you want in the response.
[$sel:maxItems:ListDistributionsByOriginRequestPolicyId'] :: ListDistributionsByOriginRequestPolicyId -> Maybe Text
-- | The ID of the origin request policy whose associated distribution IDs
-- you want to list.
[$sel:originRequestPolicyId:ListDistributionsByOriginRequestPolicyId'] :: ListDistributionsByOriginRequestPolicyId -> Text
-- | Create a value of ListDistributionsByOriginRequestPolicyId with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDistributionsByOriginRequestPolicyId,
-- listDistributionsByOriginRequestPolicyId_marker - Use this
-- field when paginating results to indicate where to begin in your list
-- of distribution IDs. The response includes distribution IDs in the
-- list that occur after the marker. To get the next page of the list,
-- set this field's value to the value of NextMarker from the
-- current page's response.
--
-- ListDistributionsByOriginRequestPolicyId,
-- listDistributionsByOriginRequestPolicyId_maxItems - The maximum
-- number of distribution IDs that you want in the response.
--
-- ListDistributionsByOriginRequestPolicyId,
-- listDistributionsByOriginRequestPolicyId_originRequestPolicyId
-- - The ID of the origin request policy whose associated distribution
-- IDs you want to list.
newListDistributionsByOriginRequestPolicyId :: Text -> ListDistributionsByOriginRequestPolicyId
-- | Use this field when paginating results to indicate where to begin in
-- your list of distribution IDs. The response includes distribution IDs
-- in the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
listDistributionsByOriginRequestPolicyId_marker :: Lens' ListDistributionsByOriginRequestPolicyId (Maybe Text)
-- | The maximum number of distribution IDs that you want in the response.
listDistributionsByOriginRequestPolicyId_maxItems :: Lens' ListDistributionsByOriginRequestPolicyId (Maybe Text)
-- | The ID of the origin request policy whose associated distribution IDs
-- you want to list.
listDistributionsByOriginRequestPolicyId_originRequestPolicyId :: Lens' ListDistributionsByOriginRequestPolicyId Text
-- | See: newListDistributionsByOriginRequestPolicyIdResponse
-- smart constructor.
data ListDistributionsByOriginRequestPolicyIdResponse
ListDistributionsByOriginRequestPolicyIdResponse' :: Maybe DistributionIdList -> Int -> ListDistributionsByOriginRequestPolicyIdResponse
-- | A list of distribution IDs.
[$sel:distributionIdList:ListDistributionsByOriginRequestPolicyIdResponse'] :: ListDistributionsByOriginRequestPolicyIdResponse -> Maybe DistributionIdList
-- | The response's http status code.
[$sel:httpStatus:ListDistributionsByOriginRequestPolicyIdResponse'] :: ListDistributionsByOriginRequestPolicyIdResponse -> Int
-- | Create a value of
-- ListDistributionsByOriginRequestPolicyIdResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:distributionIdList:ListDistributionsByOriginRequestPolicyIdResponse',
-- listDistributionsByOriginRequestPolicyIdResponse_distributionIdList
-- - A list of distribution IDs.
--
--
-- $sel:httpStatus:ListDistributionsByOriginRequestPolicyIdResponse',
-- listDistributionsByOriginRequestPolicyIdResponse_httpStatus -
-- The response's http status code.
newListDistributionsByOriginRequestPolicyIdResponse :: Int -> ListDistributionsByOriginRequestPolicyIdResponse
-- | A list of distribution IDs.
listDistributionsByOriginRequestPolicyIdResponse_distributionIdList :: Lens' ListDistributionsByOriginRequestPolicyIdResponse (Maybe DistributionIdList)
-- | The response's http status code.
listDistributionsByOriginRequestPolicyIdResponse_httpStatus :: Lens' ListDistributionsByOriginRequestPolicyIdResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.ListDistributionsByOriginRequestPolicyId.ListDistributionsByOriginRequestPolicyId
instance GHC.Show.Show Amazonka.CloudFront.ListDistributionsByOriginRequestPolicyId.ListDistributionsByOriginRequestPolicyId
instance GHC.Read.Read Amazonka.CloudFront.ListDistributionsByOriginRequestPolicyId.ListDistributionsByOriginRequestPolicyId
instance GHC.Classes.Eq Amazonka.CloudFront.ListDistributionsByOriginRequestPolicyId.ListDistributionsByOriginRequestPolicyId
instance GHC.Generics.Generic Amazonka.CloudFront.ListDistributionsByOriginRequestPolicyId.ListDistributionsByOriginRequestPolicyIdResponse
instance GHC.Show.Show Amazonka.CloudFront.ListDistributionsByOriginRequestPolicyId.ListDistributionsByOriginRequestPolicyIdResponse
instance GHC.Read.Read Amazonka.CloudFront.ListDistributionsByOriginRequestPolicyId.ListDistributionsByOriginRequestPolicyIdResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListDistributionsByOriginRequestPolicyId.ListDistributionsByOriginRequestPolicyIdResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListDistributionsByOriginRequestPolicyId.ListDistributionsByOriginRequestPolicyId
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListDistributionsByOriginRequestPolicyId.ListDistributionsByOriginRequestPolicyIdResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListDistributionsByOriginRequestPolicyId.ListDistributionsByOriginRequestPolicyId
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListDistributionsByOriginRequestPolicyId.ListDistributionsByOriginRequestPolicyId
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListDistributionsByOriginRequestPolicyId.ListDistributionsByOriginRequestPolicyId
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListDistributionsByOriginRequestPolicyId.ListDistributionsByOriginRequestPolicyId
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListDistributionsByOriginRequestPolicyId.ListDistributionsByOriginRequestPolicyId
-- | Gets a list of distribution IDs for distributions that have a cache
-- behavior that references the specified key group.
--
-- You can optionally specify the maximum number of items to receive in
-- the response. If the total number of items in the list exceeds the
-- maximum that you specify, or the default maximum, the response is
-- paginated. To get the next page of items, send a subsequent request
-- that specifies the NextMarker value from the current response
-- as the Marker value in the subsequent request.
module Amazonka.CloudFront.ListDistributionsByKeyGroup
-- | See: newListDistributionsByKeyGroup smart constructor.
data ListDistributionsByKeyGroup
ListDistributionsByKeyGroup' :: Maybe Text -> Maybe Text -> Text -> ListDistributionsByKeyGroup
-- | Use this field when paginating results to indicate where to begin in
-- your list of distribution IDs. The response includes distribution IDs
-- in the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
[$sel:marker:ListDistributionsByKeyGroup'] :: ListDistributionsByKeyGroup -> Maybe Text
-- | The maximum number of distribution IDs that you want in the response.
[$sel:maxItems:ListDistributionsByKeyGroup'] :: ListDistributionsByKeyGroup -> Maybe Text
-- | The ID of the key group whose associated distribution IDs you are
-- listing.
[$sel:keyGroupId:ListDistributionsByKeyGroup'] :: ListDistributionsByKeyGroup -> Text
-- | Create a value of ListDistributionsByKeyGroup with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDistributionsByKeyGroup,
-- listDistributionsByKeyGroup_marker - Use this field when
-- paginating results to indicate where to begin in your list of
-- distribution IDs. The response includes distribution IDs in the list
-- that occur after the marker. To get the next page of the list, set
-- this field's value to the value of NextMarker from the
-- current page's response.
--
-- ListDistributionsByKeyGroup,
-- listDistributionsByKeyGroup_maxItems - The maximum number of
-- distribution IDs that you want in the response.
--
-- ListDistributionsByKeyGroup,
-- listDistributionsByKeyGroup_keyGroupId - The ID of the key
-- group whose associated distribution IDs you are listing.
newListDistributionsByKeyGroup :: Text -> ListDistributionsByKeyGroup
-- | Use this field when paginating results to indicate where to begin in
-- your list of distribution IDs. The response includes distribution IDs
-- in the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
listDistributionsByKeyGroup_marker :: Lens' ListDistributionsByKeyGroup (Maybe Text)
-- | The maximum number of distribution IDs that you want in the response.
listDistributionsByKeyGroup_maxItems :: Lens' ListDistributionsByKeyGroup (Maybe Text)
-- | The ID of the key group whose associated distribution IDs you are
-- listing.
listDistributionsByKeyGroup_keyGroupId :: Lens' ListDistributionsByKeyGroup Text
-- | See: newListDistributionsByKeyGroupResponse smart
-- constructor.
data ListDistributionsByKeyGroupResponse
ListDistributionsByKeyGroupResponse' :: Maybe DistributionIdList -> Int -> ListDistributionsByKeyGroupResponse
[$sel:distributionIdList:ListDistributionsByKeyGroupResponse'] :: ListDistributionsByKeyGroupResponse -> Maybe DistributionIdList
-- | The response's http status code.
[$sel:httpStatus:ListDistributionsByKeyGroupResponse'] :: ListDistributionsByKeyGroupResponse -> Int
-- | Create a value of ListDistributionsByKeyGroupResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distributionIdList:ListDistributionsByKeyGroupResponse',
-- listDistributionsByKeyGroupResponse_distributionIdList -
-- Undocumented member.
--
-- $sel:httpStatus:ListDistributionsByKeyGroupResponse',
-- listDistributionsByKeyGroupResponse_httpStatus - The response's
-- http status code.
newListDistributionsByKeyGroupResponse :: Int -> ListDistributionsByKeyGroupResponse
-- | Undocumented member.
listDistributionsByKeyGroupResponse_distributionIdList :: Lens' ListDistributionsByKeyGroupResponse (Maybe DistributionIdList)
-- | The response's http status code.
listDistributionsByKeyGroupResponse_httpStatus :: Lens' ListDistributionsByKeyGroupResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.ListDistributionsByKeyGroup.ListDistributionsByKeyGroup
instance GHC.Show.Show Amazonka.CloudFront.ListDistributionsByKeyGroup.ListDistributionsByKeyGroup
instance GHC.Read.Read Amazonka.CloudFront.ListDistributionsByKeyGroup.ListDistributionsByKeyGroup
instance GHC.Classes.Eq Amazonka.CloudFront.ListDistributionsByKeyGroup.ListDistributionsByKeyGroup
instance GHC.Generics.Generic Amazonka.CloudFront.ListDistributionsByKeyGroup.ListDistributionsByKeyGroupResponse
instance GHC.Show.Show Amazonka.CloudFront.ListDistributionsByKeyGroup.ListDistributionsByKeyGroupResponse
instance GHC.Read.Read Amazonka.CloudFront.ListDistributionsByKeyGroup.ListDistributionsByKeyGroupResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListDistributionsByKeyGroup.ListDistributionsByKeyGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListDistributionsByKeyGroup.ListDistributionsByKeyGroup
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListDistributionsByKeyGroup.ListDistributionsByKeyGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListDistributionsByKeyGroup.ListDistributionsByKeyGroup
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListDistributionsByKeyGroup.ListDistributionsByKeyGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListDistributionsByKeyGroup.ListDistributionsByKeyGroup
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListDistributionsByKeyGroup.ListDistributionsByKeyGroup
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListDistributionsByKeyGroup.ListDistributionsByKeyGroup
-- | Gets a list of distribution IDs for distributions that have a cache
-- behavior that's associated with the specified cache policy.
--
-- You can optionally specify the maximum number of items to receive in
-- the response. If the total number of items in the list exceeds the
-- maximum that you specify, or the default maximum, the response is
-- paginated. To get the next page of items, send a subsequent request
-- that specifies the NextMarker value from the current response
-- as the Marker value in the subsequent request.
module Amazonka.CloudFront.ListDistributionsByCachePolicyId
-- | See: newListDistributionsByCachePolicyId smart
-- constructor.
data ListDistributionsByCachePolicyId
ListDistributionsByCachePolicyId' :: Maybe Text -> Maybe Text -> Text -> ListDistributionsByCachePolicyId
-- | Use this field when paginating results to indicate where to begin in
-- your list of distribution IDs. The response includes distribution IDs
-- in the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
[$sel:marker:ListDistributionsByCachePolicyId'] :: ListDistributionsByCachePolicyId -> Maybe Text
-- | The maximum number of distribution IDs that you want in the response.
[$sel:maxItems:ListDistributionsByCachePolicyId'] :: ListDistributionsByCachePolicyId -> Maybe Text
-- | The ID of the cache policy whose associated distribution IDs you want
-- to list.
[$sel:cachePolicyId:ListDistributionsByCachePolicyId'] :: ListDistributionsByCachePolicyId -> Text
-- | Create a value of ListDistributionsByCachePolicyId with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDistributionsByCachePolicyId,
-- listDistributionsByCachePolicyId_marker - Use this field when
-- paginating results to indicate where to begin in your list of
-- distribution IDs. The response includes distribution IDs in the list
-- that occur after the marker. To get the next page of the list, set
-- this field's value to the value of NextMarker from the
-- current page's response.
--
-- ListDistributionsByCachePolicyId,
-- listDistributionsByCachePolicyId_maxItems - The maximum number
-- of distribution IDs that you want in the response.
--
-- ListDistributionsByCachePolicyId,
-- listDistributionsByCachePolicyId_cachePolicyId - The ID of the
-- cache policy whose associated distribution IDs you want to list.
newListDistributionsByCachePolicyId :: Text -> ListDistributionsByCachePolicyId
-- | Use this field when paginating results to indicate where to begin in
-- your list of distribution IDs. The response includes distribution IDs
-- in the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
listDistributionsByCachePolicyId_marker :: Lens' ListDistributionsByCachePolicyId (Maybe Text)
-- | The maximum number of distribution IDs that you want in the response.
listDistributionsByCachePolicyId_maxItems :: Lens' ListDistributionsByCachePolicyId (Maybe Text)
-- | The ID of the cache policy whose associated distribution IDs you want
-- to list.
listDistributionsByCachePolicyId_cachePolicyId :: Lens' ListDistributionsByCachePolicyId Text
-- | See: newListDistributionsByCachePolicyIdResponse smart
-- constructor.
data ListDistributionsByCachePolicyIdResponse
ListDistributionsByCachePolicyIdResponse' :: Maybe DistributionIdList -> Int -> ListDistributionsByCachePolicyIdResponse
-- | A list of distribution IDs.
[$sel:distributionIdList:ListDistributionsByCachePolicyIdResponse'] :: ListDistributionsByCachePolicyIdResponse -> Maybe DistributionIdList
-- | The response's http status code.
[$sel:httpStatus:ListDistributionsByCachePolicyIdResponse'] :: ListDistributionsByCachePolicyIdResponse -> Int
-- | Create a value of ListDistributionsByCachePolicyIdResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:distributionIdList:ListDistributionsByCachePolicyIdResponse',
-- listDistributionsByCachePolicyIdResponse_distributionIdList - A
-- list of distribution IDs.
--
-- $sel:httpStatus:ListDistributionsByCachePolicyIdResponse',
-- listDistributionsByCachePolicyIdResponse_httpStatus - The
-- response's http status code.
newListDistributionsByCachePolicyIdResponse :: Int -> ListDistributionsByCachePolicyIdResponse
-- | A list of distribution IDs.
listDistributionsByCachePolicyIdResponse_distributionIdList :: Lens' ListDistributionsByCachePolicyIdResponse (Maybe DistributionIdList)
-- | The response's http status code.
listDistributionsByCachePolicyIdResponse_httpStatus :: Lens' ListDistributionsByCachePolicyIdResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.ListDistributionsByCachePolicyId.ListDistributionsByCachePolicyId
instance GHC.Show.Show Amazonka.CloudFront.ListDistributionsByCachePolicyId.ListDistributionsByCachePolicyId
instance GHC.Read.Read Amazonka.CloudFront.ListDistributionsByCachePolicyId.ListDistributionsByCachePolicyId
instance GHC.Classes.Eq Amazonka.CloudFront.ListDistributionsByCachePolicyId.ListDistributionsByCachePolicyId
instance GHC.Generics.Generic Amazonka.CloudFront.ListDistributionsByCachePolicyId.ListDistributionsByCachePolicyIdResponse
instance GHC.Show.Show Amazonka.CloudFront.ListDistributionsByCachePolicyId.ListDistributionsByCachePolicyIdResponse
instance GHC.Read.Read Amazonka.CloudFront.ListDistributionsByCachePolicyId.ListDistributionsByCachePolicyIdResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListDistributionsByCachePolicyId.ListDistributionsByCachePolicyIdResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListDistributionsByCachePolicyId.ListDistributionsByCachePolicyId
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListDistributionsByCachePolicyId.ListDistributionsByCachePolicyIdResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListDistributionsByCachePolicyId.ListDistributionsByCachePolicyId
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListDistributionsByCachePolicyId.ListDistributionsByCachePolicyId
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListDistributionsByCachePolicyId.ListDistributionsByCachePolicyId
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListDistributionsByCachePolicyId.ListDistributionsByCachePolicyId
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListDistributionsByCachePolicyId.ListDistributionsByCachePolicyId
-- | List CloudFront distributions.
--
-- This operation returns paginated results.
module Amazonka.CloudFront.ListDistributions
-- | The request to list your distributions.
--
-- See: newListDistributions smart constructor.
data ListDistributions
ListDistributions' :: Maybe Text -> Maybe Text -> 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).
[$sel:marker:ListDistributions'] :: ListDistributions -> Maybe Text
-- | The maximum number of distributions you want in the response body.
[$sel:maxItems:ListDistributions'] :: ListDistributions -> Maybe Text
-- | Create a value of ListDistributions with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDistributions, listDistributions_marker - 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).
--
-- ListDistributions, listDistributions_maxItems - The
-- maximum number of distributions you want in the response body.
newListDistributions :: 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).
listDistributions_marker :: Lens' ListDistributions (Maybe Text)
-- | The maximum number of distributions you want in the response body.
listDistributions_maxItems :: Lens' ListDistributions (Maybe Text)
-- | The returned result of the corresponding request.
--
-- See: newListDistributionsResponse smart constructor.
data ListDistributionsResponse
ListDistributionsResponse' :: Int -> DistributionList -> ListDistributionsResponse
-- | The response's http status code.
[$sel:httpStatus:ListDistributionsResponse'] :: ListDistributionsResponse -> Int
-- | The DistributionList type.
[$sel:distributionList:ListDistributionsResponse'] :: ListDistributionsResponse -> DistributionList
-- | Create a value of ListDistributionsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:ListDistributionsResponse',
-- listDistributionsResponse_httpStatus - The response's http
-- status code.
--
-- $sel:distributionList:ListDistributionsResponse',
-- listDistributionsResponse_distributionList - The
-- DistributionList type.
newListDistributionsResponse :: Int -> DistributionList -> ListDistributionsResponse
-- | The response's http status code.
listDistributionsResponse_httpStatus :: Lens' ListDistributionsResponse Int
-- | The DistributionList type.
listDistributionsResponse_distributionList :: Lens' ListDistributionsResponse DistributionList
instance GHC.Generics.Generic Amazonka.CloudFront.ListDistributions.ListDistributions
instance GHC.Show.Show Amazonka.CloudFront.ListDistributions.ListDistributions
instance GHC.Read.Read Amazonka.CloudFront.ListDistributions.ListDistributions
instance GHC.Classes.Eq Amazonka.CloudFront.ListDistributions.ListDistributions
instance GHC.Generics.Generic Amazonka.CloudFront.ListDistributions.ListDistributionsResponse
instance GHC.Show.Show Amazonka.CloudFront.ListDistributions.ListDistributionsResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListDistributions.ListDistributionsResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListDistributions.ListDistributions
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListDistributions.ListDistributionsResponse
instance Amazonka.Pager.AWSPager Amazonka.CloudFront.ListDistributions.ListDistributions
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListDistributions.ListDistributions
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListDistributions.ListDistributions
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListDistributions.ListDistributions
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListDistributions.ListDistributions
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListDistributions.ListDistributions
-- | Gets a list of the continuous deployment policies in your Amazon Web
-- Services account.
--
-- You can optionally specify the maximum number of items to receive in
-- the response. If the total number of items in the list exceeds the
-- maximum that you specify, or the default maximum, the response is
-- paginated. To get the next page of items, send a subsequent request
-- that specifies the NextMarker value from the current response
-- as the Marker value in the subsequent request.
module Amazonka.CloudFront.ListContinuousDeploymentPolicies
-- | See: newListContinuousDeploymentPolicies smart
-- constructor.
data ListContinuousDeploymentPolicies
ListContinuousDeploymentPolicies' :: Maybe Text -> Maybe Text -> ListContinuousDeploymentPolicies
-- | Use this field when paginating results to indicate where to begin in
-- your list of continuous deployment policies. The response includes
-- policies in the list that occur after the marker. To get the next page
-- of the list, set this field's value to the value of
-- NextMarker from the current page's response.
[$sel:marker:ListContinuousDeploymentPolicies'] :: ListContinuousDeploymentPolicies -> Maybe Text
-- | The maximum number of continuous deployment policies that you want
-- returned in the response.
[$sel:maxItems:ListContinuousDeploymentPolicies'] :: ListContinuousDeploymentPolicies -> Maybe Text
-- | Create a value of ListContinuousDeploymentPolicies with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListContinuousDeploymentPolicies,
-- listContinuousDeploymentPolicies_marker - Use this field when
-- paginating results to indicate where to begin in your list of
-- continuous deployment policies. The response includes policies in the
-- list that occur after the marker. To get the next page of the list,
-- set this field's value to the value of NextMarker from the
-- current page's response.
--
-- ListContinuousDeploymentPolicies,
-- listContinuousDeploymentPolicies_maxItems - The maximum number
-- of continuous deployment policies that you want returned in the
-- response.
newListContinuousDeploymentPolicies :: ListContinuousDeploymentPolicies
-- | Use this field when paginating results to indicate where to begin in
-- your list of continuous deployment policies. The response includes
-- policies in the list that occur after the marker. To get the next page
-- of the list, set this field's value to the value of
-- NextMarker from the current page's response.
listContinuousDeploymentPolicies_marker :: Lens' ListContinuousDeploymentPolicies (Maybe Text)
-- | The maximum number of continuous deployment policies that you want
-- returned in the response.
listContinuousDeploymentPolicies_maxItems :: Lens' ListContinuousDeploymentPolicies (Maybe Text)
-- | See: newListContinuousDeploymentPoliciesResponse smart
-- constructor.
data ListContinuousDeploymentPoliciesResponse
ListContinuousDeploymentPoliciesResponse' :: Maybe ContinuousDeploymentPolicyList -> Int -> ListContinuousDeploymentPoliciesResponse
-- | A list of continuous deployment policies.
[$sel:continuousDeploymentPolicyList:ListContinuousDeploymentPoliciesResponse'] :: ListContinuousDeploymentPoliciesResponse -> Maybe ContinuousDeploymentPolicyList
-- | The response's http status code.
[$sel:httpStatus:ListContinuousDeploymentPoliciesResponse'] :: ListContinuousDeploymentPoliciesResponse -> Int
-- | Create a value of ListContinuousDeploymentPoliciesResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:continuousDeploymentPolicyList:ListContinuousDeploymentPoliciesResponse',
-- listContinuousDeploymentPoliciesResponse_continuousDeploymentPolicyList
-- - A list of continuous deployment policies.
--
-- $sel:httpStatus:ListContinuousDeploymentPoliciesResponse',
-- listContinuousDeploymentPoliciesResponse_httpStatus - The
-- response's http status code.
newListContinuousDeploymentPoliciesResponse :: Int -> ListContinuousDeploymentPoliciesResponse
-- | A list of continuous deployment policies.
listContinuousDeploymentPoliciesResponse_continuousDeploymentPolicyList :: Lens' ListContinuousDeploymentPoliciesResponse (Maybe ContinuousDeploymentPolicyList)
-- | The response's http status code.
listContinuousDeploymentPoliciesResponse_httpStatus :: Lens' ListContinuousDeploymentPoliciesResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.ListContinuousDeploymentPolicies.ListContinuousDeploymentPolicies
instance GHC.Show.Show Amazonka.CloudFront.ListContinuousDeploymentPolicies.ListContinuousDeploymentPolicies
instance GHC.Read.Read Amazonka.CloudFront.ListContinuousDeploymentPolicies.ListContinuousDeploymentPolicies
instance GHC.Classes.Eq Amazonka.CloudFront.ListContinuousDeploymentPolicies.ListContinuousDeploymentPolicies
instance GHC.Generics.Generic Amazonka.CloudFront.ListContinuousDeploymentPolicies.ListContinuousDeploymentPoliciesResponse
instance GHC.Show.Show Amazonka.CloudFront.ListContinuousDeploymentPolicies.ListContinuousDeploymentPoliciesResponse
instance GHC.Read.Read Amazonka.CloudFront.ListContinuousDeploymentPolicies.ListContinuousDeploymentPoliciesResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListContinuousDeploymentPolicies.ListContinuousDeploymentPoliciesResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListContinuousDeploymentPolicies.ListContinuousDeploymentPolicies
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListContinuousDeploymentPolicies.ListContinuousDeploymentPoliciesResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListContinuousDeploymentPolicies.ListContinuousDeploymentPolicies
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListContinuousDeploymentPolicies.ListContinuousDeploymentPolicies
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListContinuousDeploymentPolicies.ListContinuousDeploymentPolicies
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListContinuousDeploymentPolicies.ListContinuousDeploymentPolicies
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListContinuousDeploymentPolicies.ListContinuousDeploymentPolicies
-- | Gets a list of aliases (also called CNAMEs or alternate domain names)
-- that conflict or overlap with the provided alias, and the associated
-- CloudFront distributions and Amazon Web Services accounts for each
-- conflicting alias. In the returned list, the distribution and account
-- IDs are partially hidden, which allows you to identify the
-- distributions and accounts that you own, but helps to protect the
-- information of ones that you don't own.
--
-- Use this operation to find aliases that are in use in CloudFront that
-- conflict or overlap with the provided alias. For example, if you
-- provide www.example.com as input, the returned list can
-- include www.example.com and the overlapping wildcard
-- alternate domain name (*.example.com), if they exist. If you
-- provide *.example.com as input, the returned list can include
-- *.example.com and any alternate domain names covered by that
-- wildcard (for example, www.example.com,
-- test.example.com, dev.example.com, and so on), if
-- they exist.
--
-- To list conflicting aliases, you provide the alias to search and the
-- ID of a distribution in your account that has an attached SSL/TLS
-- certificate that includes the provided alias. For more information,
-- including how to set up the distribution and certificate, see
-- Moving an alternate domain name to a different distribution in
-- the Amazon CloudFront Developer Guide.
--
-- You can optionally specify the maximum number of items to receive in
-- the response. If the total number of items in the list exceeds the
-- maximum that you specify, or the default maximum, the response is
-- paginated. To get the next page of items, send a subsequent request
-- that specifies the NextMarker value from the current response
-- as the Marker value in the subsequent request.
module Amazonka.CloudFront.ListConflictingAliases
-- | See: newListConflictingAliases smart constructor.
data ListConflictingAliases
ListConflictingAliases' :: Maybe Text -> Maybe Int -> Text -> Text -> ListConflictingAliases
-- | Use this field when paginating results to indicate where to begin in
-- the list of conflicting aliases. The response includes conflicting
-- aliases in the list that occur after the marker. To get the next page
-- of the list, set this field's value to the value of
-- NextMarker from the current page's response.
[$sel:marker:ListConflictingAliases'] :: ListConflictingAliases -> Maybe Text
-- | The maximum number of conflicting aliases that you want in the
-- response.
[$sel:maxItems:ListConflictingAliases'] :: ListConflictingAliases -> Maybe Int
-- | The ID of a distribution in your account that has an attached SSL/TLS
-- certificate that includes the provided alias.
[$sel:distributionId:ListConflictingAliases'] :: ListConflictingAliases -> Text
-- | The alias (also called a CNAME) to search for conflicting aliases.
[$sel:alias:ListConflictingAliases'] :: ListConflictingAliases -> Text
-- | Create a value of ListConflictingAliases with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListConflictingAliases, listConflictingAliases_marker -
-- Use this field when paginating results to indicate where to begin in
-- the list of conflicting aliases. The response includes conflicting
-- aliases in the list that occur after the marker. To get the next page
-- of the list, set this field's value to the value of
-- NextMarker from the current page's response.
--
-- ListConflictingAliases, listConflictingAliases_maxItems
-- - The maximum number of conflicting aliases that you want in the
-- response.
--
-- ListConflictingAliases,
-- listConflictingAliases_distributionId - The ID of a
-- distribution in your account that has an attached SSL/TLS certificate
-- that includes the provided alias.
--
-- ListConflictingAliases, listConflictingAliases_alias -
-- The alias (also called a CNAME) to search for conflicting aliases.
newListConflictingAliases :: Text -> Text -> ListConflictingAliases
-- | Use this field when paginating results to indicate where to begin in
-- the list of conflicting aliases. The response includes conflicting
-- aliases in the list that occur after the marker. To get the next page
-- of the list, set this field's value to the value of
-- NextMarker from the current page's response.
listConflictingAliases_marker :: Lens' ListConflictingAliases (Maybe Text)
-- | The maximum number of conflicting aliases that you want in the
-- response.
listConflictingAliases_maxItems :: Lens' ListConflictingAliases (Maybe Int)
-- | The ID of a distribution in your account that has an attached SSL/TLS
-- certificate that includes the provided alias.
listConflictingAliases_distributionId :: Lens' ListConflictingAliases Text
-- | The alias (also called a CNAME) to search for conflicting aliases.
listConflictingAliases_alias :: Lens' ListConflictingAliases Text
-- | See: newListConflictingAliasesResponse smart
-- constructor.
data ListConflictingAliasesResponse
ListConflictingAliasesResponse' :: Maybe ConflictingAliasesList -> Int -> ListConflictingAliasesResponse
-- | A list of conflicting aliases.
[$sel:conflictingAliasesList:ListConflictingAliasesResponse'] :: ListConflictingAliasesResponse -> Maybe ConflictingAliasesList
-- | The response's http status code.
[$sel:httpStatus:ListConflictingAliasesResponse'] :: ListConflictingAliasesResponse -> Int
-- | Create a value of ListConflictingAliasesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:conflictingAliasesList:ListConflictingAliasesResponse',
-- listConflictingAliasesResponse_conflictingAliasesList - A list
-- of conflicting aliases.
--
-- $sel:httpStatus:ListConflictingAliasesResponse',
-- listConflictingAliasesResponse_httpStatus - The response's http
-- status code.
newListConflictingAliasesResponse :: Int -> ListConflictingAliasesResponse
-- | A list of conflicting aliases.
listConflictingAliasesResponse_conflictingAliasesList :: Lens' ListConflictingAliasesResponse (Maybe ConflictingAliasesList)
-- | The response's http status code.
listConflictingAliasesResponse_httpStatus :: Lens' ListConflictingAliasesResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.ListConflictingAliases.ListConflictingAliases
instance GHC.Show.Show Amazonka.CloudFront.ListConflictingAliases.ListConflictingAliases
instance GHC.Read.Read Amazonka.CloudFront.ListConflictingAliases.ListConflictingAliases
instance GHC.Classes.Eq Amazonka.CloudFront.ListConflictingAliases.ListConflictingAliases
instance GHC.Generics.Generic Amazonka.CloudFront.ListConflictingAliases.ListConflictingAliasesResponse
instance GHC.Show.Show Amazonka.CloudFront.ListConflictingAliases.ListConflictingAliasesResponse
instance GHC.Read.Read Amazonka.CloudFront.ListConflictingAliases.ListConflictingAliasesResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListConflictingAliases.ListConflictingAliasesResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListConflictingAliases.ListConflictingAliases
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListConflictingAliases.ListConflictingAliasesResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListConflictingAliases.ListConflictingAliases
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListConflictingAliases.ListConflictingAliases
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListConflictingAliases.ListConflictingAliases
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListConflictingAliases.ListConflictingAliases
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListConflictingAliases.ListConflictingAliases
-- | Lists origin access identities.
--
-- This operation returns paginated results.
module Amazonka.CloudFront.ListCloudFrontOriginAccessIdentities
-- | The request to list origin access identities.
--
-- See: newListCloudFrontOriginAccessIdentities smart
-- constructor.
data ListCloudFrontOriginAccessIdentities
ListCloudFrontOriginAccessIdentities' :: Maybe Text -> Maybe Text -> 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).
[$sel:marker:ListCloudFrontOriginAccessIdentities'] :: ListCloudFrontOriginAccessIdentities -> Maybe Text
-- | The maximum number of origin access identities you want in the
-- response body.
[$sel:maxItems:ListCloudFrontOriginAccessIdentities'] :: ListCloudFrontOriginAccessIdentities -> Maybe Text
-- | Create a value of ListCloudFrontOriginAccessIdentities with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListCloudFrontOriginAccessIdentities,
-- listCloudFrontOriginAccessIdentities_marker - 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).
--
-- ListCloudFrontOriginAccessIdentities,
-- listCloudFrontOriginAccessIdentities_maxItems - The maximum
-- number of origin access identities you want in the response body.
newListCloudFrontOriginAccessIdentities :: 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).
listCloudFrontOriginAccessIdentities_marker :: Lens' ListCloudFrontOriginAccessIdentities (Maybe Text)
-- | The maximum number of origin access identities you want in the
-- response body.
listCloudFrontOriginAccessIdentities_maxItems :: Lens' ListCloudFrontOriginAccessIdentities (Maybe Text)
-- | The returned result of the corresponding request.
--
-- See: newListCloudFrontOriginAccessIdentitiesResponse
-- smart constructor.
data ListCloudFrontOriginAccessIdentitiesResponse
ListCloudFrontOriginAccessIdentitiesResponse' :: Int -> CloudFrontOriginAccessIdentityList -> ListCloudFrontOriginAccessIdentitiesResponse
-- | The response's http status code.
[$sel:httpStatus:ListCloudFrontOriginAccessIdentitiesResponse'] :: ListCloudFrontOriginAccessIdentitiesResponse -> Int
-- | The CloudFrontOriginAccessIdentityList type.
[$sel:cloudFrontOriginAccessIdentityList:ListCloudFrontOriginAccessIdentitiesResponse'] :: ListCloudFrontOriginAccessIdentitiesResponse -> CloudFrontOriginAccessIdentityList
-- | Create a value of ListCloudFrontOriginAccessIdentitiesResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:ListCloudFrontOriginAccessIdentitiesResponse',
-- listCloudFrontOriginAccessIdentitiesResponse_httpStatus - The
-- response's http status code.
--
--
-- $sel:cloudFrontOriginAccessIdentityList:ListCloudFrontOriginAccessIdentitiesResponse',
-- listCloudFrontOriginAccessIdentitiesResponse_cloudFrontOriginAccessIdentityList
-- - The CloudFrontOriginAccessIdentityList type.
newListCloudFrontOriginAccessIdentitiesResponse :: Int -> CloudFrontOriginAccessIdentityList -> ListCloudFrontOriginAccessIdentitiesResponse
-- | The response's http status code.
listCloudFrontOriginAccessIdentitiesResponse_httpStatus :: Lens' ListCloudFrontOriginAccessIdentitiesResponse Int
-- | The CloudFrontOriginAccessIdentityList type.
listCloudFrontOriginAccessIdentitiesResponse_cloudFrontOriginAccessIdentityList :: Lens' ListCloudFrontOriginAccessIdentitiesResponse CloudFrontOriginAccessIdentityList
instance GHC.Generics.Generic Amazonka.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities
instance GHC.Show.Show Amazonka.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities
instance GHC.Read.Read Amazonka.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities
instance GHC.Classes.Eq Amazonka.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities
instance GHC.Generics.Generic Amazonka.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentitiesResponse
instance GHC.Show.Show Amazonka.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentitiesResponse
instance GHC.Read.Read Amazonka.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentitiesResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentitiesResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentitiesResponse
instance Amazonka.Pager.AWSPager Amazonka.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListCloudFrontOriginAccessIdentities.ListCloudFrontOriginAccessIdentities
-- | Gets a list of cache policies.
--
-- You can optionally apply a filter to return only the managed policies
-- created by Amazon Web Services, or only the custom policies created in
-- your Amazon Web Services account.
--
-- You can optionally specify the maximum number of items to receive in
-- the response. If the total number of items in the list exceeds the
-- maximum that you specify, or the default maximum, the response is
-- paginated. To get the next page of items, send a subsequent request
-- that specifies the NextMarker value from the current response
-- as the Marker value in the subsequent request.
module Amazonka.CloudFront.ListCachePolicies
-- | See: newListCachePolicies smart constructor.
data ListCachePolicies
ListCachePolicies' :: Maybe Text -> Maybe Text -> Maybe CachePolicyType -> ListCachePolicies
-- | Use this field when paginating results to indicate where to begin in
-- your list of cache policies. The response includes cache policies in
-- the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
[$sel:marker:ListCachePolicies'] :: ListCachePolicies -> Maybe Text
-- | The maximum number of cache policies that you want in the response.
[$sel:maxItems:ListCachePolicies'] :: ListCachePolicies -> Maybe Text
-- | A filter to return only the specified kinds of cache policies. Valid
-- values are:
--
--
-- - managed – Returns only the managed policies created by
-- Amazon Web Services.
-- - custom – Returns only the custom policies created in your
-- Amazon Web Services account.
--
[$sel:type':ListCachePolicies'] :: ListCachePolicies -> Maybe CachePolicyType
-- | Create a value of ListCachePolicies with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListCachePolicies, listCachePolicies_marker - Use this
-- field when paginating results to indicate where to begin in your list
-- of cache policies. The response includes cache policies in the list
-- that occur after the marker. To get the next page of the list, set
-- this field's value to the value of NextMarker from the
-- current page's response.
--
-- ListCachePolicies, listCachePolicies_maxItems - The
-- maximum number of cache policies that you want in the response.
--
-- ListCachePolicies, listCachePolicies_type - A filter to
-- return only the specified kinds of cache policies. Valid values are:
--
--
-- - managed – Returns only the managed policies created by
-- Amazon Web Services.
-- - custom – Returns only the custom policies created in your
-- Amazon Web Services account.
--
newListCachePolicies :: ListCachePolicies
-- | Use this field when paginating results to indicate where to begin in
-- your list of cache policies. The response includes cache policies in
-- the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
listCachePolicies_marker :: Lens' ListCachePolicies (Maybe Text)
-- | The maximum number of cache policies that you want in the response.
listCachePolicies_maxItems :: Lens' ListCachePolicies (Maybe Text)
-- | A filter to return only the specified kinds of cache policies. Valid
-- values are:
--
--
-- - managed – Returns only the managed policies created by
-- Amazon Web Services.
-- - custom – Returns only the custom policies created in your
-- Amazon Web Services account.
--
listCachePolicies_type :: Lens' ListCachePolicies (Maybe CachePolicyType)
-- | See: newListCachePoliciesResponse smart constructor.
data ListCachePoliciesResponse
ListCachePoliciesResponse' :: Maybe CachePolicyList -> Int -> ListCachePoliciesResponse
-- | A list of cache policies.
[$sel:cachePolicyList:ListCachePoliciesResponse'] :: ListCachePoliciesResponse -> Maybe CachePolicyList
-- | The response's http status code.
[$sel:httpStatus:ListCachePoliciesResponse'] :: ListCachePoliciesResponse -> Int
-- | Create a value of ListCachePoliciesResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cachePolicyList:ListCachePoliciesResponse',
-- listCachePoliciesResponse_cachePolicyList - A list of cache
-- policies.
--
-- $sel:httpStatus:ListCachePoliciesResponse',
-- listCachePoliciesResponse_httpStatus - The response's http
-- status code.
newListCachePoliciesResponse :: Int -> ListCachePoliciesResponse
-- | A list of cache policies.
listCachePoliciesResponse_cachePolicyList :: Lens' ListCachePoliciesResponse (Maybe CachePolicyList)
-- | The response's http status code.
listCachePoliciesResponse_httpStatus :: Lens' ListCachePoliciesResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.ListCachePolicies.ListCachePolicies
instance GHC.Show.Show Amazonka.CloudFront.ListCachePolicies.ListCachePolicies
instance GHC.Read.Read Amazonka.CloudFront.ListCachePolicies.ListCachePolicies
instance GHC.Classes.Eq Amazonka.CloudFront.ListCachePolicies.ListCachePolicies
instance GHC.Generics.Generic Amazonka.CloudFront.ListCachePolicies.ListCachePoliciesResponse
instance GHC.Show.Show Amazonka.CloudFront.ListCachePolicies.ListCachePoliciesResponse
instance GHC.Read.Read Amazonka.CloudFront.ListCachePolicies.ListCachePoliciesResponse
instance GHC.Classes.Eq Amazonka.CloudFront.ListCachePolicies.ListCachePoliciesResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.ListCachePolicies.ListCachePolicies
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListCachePolicies.ListCachePoliciesResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.ListCachePolicies.ListCachePolicies
instance Control.DeepSeq.NFData Amazonka.CloudFront.ListCachePolicies.ListCachePolicies
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.ListCachePolicies.ListCachePolicies
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.ListCachePolicies.ListCachePolicies
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.ListCachePolicies.ListCachePolicies
-- | Get the configuration information about a streaming distribution.
module Amazonka.CloudFront.GetStreamingDistributionConfig
-- | To request to get a streaming distribution configuration.
--
-- See: newGetStreamingDistributionConfig smart
-- constructor.
data GetStreamingDistributionConfig
GetStreamingDistributionConfig' :: Text -> GetStreamingDistributionConfig
-- | The streaming distribution's ID.
[$sel:id:GetStreamingDistributionConfig'] :: GetStreamingDistributionConfig -> Text
-- | Create a value of GetStreamingDistributionConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetStreamingDistributionConfig,
-- getStreamingDistributionConfig_id - The streaming
-- distribution's ID.
newGetStreamingDistributionConfig :: Text -> GetStreamingDistributionConfig
-- | The streaming distribution's ID.
getStreamingDistributionConfig_id :: Lens' GetStreamingDistributionConfig Text
-- | The returned result of the corresponding request.
--
-- See: newGetStreamingDistributionConfigResponse smart
-- constructor.
data GetStreamingDistributionConfigResponse
GetStreamingDistributionConfigResponse' :: Maybe Text -> Maybe StreamingDistributionConfig -> Int -> GetStreamingDistributionConfigResponse
-- | The current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
[$sel:eTag:GetStreamingDistributionConfigResponse'] :: GetStreamingDistributionConfigResponse -> Maybe Text
-- | The streaming distribution's configuration information.
[$sel:streamingDistributionConfig:GetStreamingDistributionConfigResponse'] :: GetStreamingDistributionConfigResponse -> Maybe StreamingDistributionConfig
-- | The response's http status code.
[$sel:httpStatus:GetStreamingDistributionConfigResponse'] :: GetStreamingDistributionConfigResponse -> Int
-- | Create a value of GetStreamingDistributionConfigResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetStreamingDistributionConfigResponse',
-- getStreamingDistributionConfigResponse_eTag - The current
-- version of the configuration. For example: E2QWRUHAPOMQZL.
--
-- GetStreamingDistributionConfigResponse,
-- getStreamingDistributionConfigResponse_streamingDistributionConfig
-- - The streaming distribution's configuration information.
--
-- $sel:httpStatus:GetStreamingDistributionConfigResponse',
-- getStreamingDistributionConfigResponse_httpStatus - The
-- response's http status code.
newGetStreamingDistributionConfigResponse :: Int -> GetStreamingDistributionConfigResponse
-- | The current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
getStreamingDistributionConfigResponse_eTag :: Lens' GetStreamingDistributionConfigResponse (Maybe Text)
-- | The streaming distribution's configuration information.
getStreamingDistributionConfigResponse_streamingDistributionConfig :: Lens' GetStreamingDistributionConfigResponse (Maybe StreamingDistributionConfig)
-- | The response's http status code.
getStreamingDistributionConfigResponse_httpStatus :: Lens' GetStreamingDistributionConfigResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfig
instance GHC.Show.Show Amazonka.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfig
instance GHC.Read.Read Amazonka.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfig
instance GHC.Classes.Eq Amazonka.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfig
instance GHC.Generics.Generic Amazonka.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfigResponse
instance GHC.Read.Read Amazonka.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetStreamingDistributionConfig.GetStreamingDistributionConfig
-- | Gets information about a specified RTMP distribution, including the
-- distribution configuration.
module Amazonka.CloudFront.GetStreamingDistribution
-- | The request to get a streaming distribution's information.
--
-- See: newGetStreamingDistribution smart constructor.
data GetStreamingDistribution
GetStreamingDistribution' :: Text -> GetStreamingDistribution
-- | The streaming distribution's ID.
[$sel:id:GetStreamingDistribution'] :: GetStreamingDistribution -> Text
-- | Create a value of GetStreamingDistribution with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetStreamingDistribution, getStreamingDistribution_id -
-- The streaming distribution's ID.
newGetStreamingDistribution :: Text -> GetStreamingDistribution
-- | The streaming distribution's ID.
getStreamingDistribution_id :: Lens' GetStreamingDistribution Text
-- | The returned result of the corresponding request.
--
-- See: newGetStreamingDistributionResponse smart
-- constructor.
data GetStreamingDistributionResponse
GetStreamingDistributionResponse' :: Maybe Text -> Maybe StreamingDistribution -> Int -> GetStreamingDistributionResponse
-- | The current version of the streaming distribution's information. For
-- example: E2QWRUHAPOMQZL.
[$sel:eTag:GetStreamingDistributionResponse'] :: GetStreamingDistributionResponse -> Maybe Text
-- | The streaming distribution's information.
[$sel:streamingDistribution:GetStreamingDistributionResponse'] :: GetStreamingDistributionResponse -> Maybe StreamingDistribution
-- | The response's http status code.
[$sel:httpStatus:GetStreamingDistributionResponse'] :: GetStreamingDistributionResponse -> Int
-- | Create a value of GetStreamingDistributionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetStreamingDistributionResponse',
-- getStreamingDistributionResponse_eTag - The current version of
-- the streaming distribution's information. For example:
-- E2QWRUHAPOMQZL.
--
-- $sel:streamingDistribution:GetStreamingDistributionResponse',
-- getStreamingDistributionResponse_streamingDistribution - The
-- streaming distribution's information.
--
-- $sel:httpStatus:GetStreamingDistributionResponse',
-- getStreamingDistributionResponse_httpStatus - The response's
-- http status code.
newGetStreamingDistributionResponse :: Int -> GetStreamingDistributionResponse
-- | The current version of the streaming distribution's information. For
-- example: E2QWRUHAPOMQZL.
getStreamingDistributionResponse_eTag :: Lens' GetStreamingDistributionResponse (Maybe Text)
-- | The streaming distribution's information.
getStreamingDistributionResponse_streamingDistribution :: Lens' GetStreamingDistributionResponse (Maybe StreamingDistribution)
-- | The response's http status code.
getStreamingDistributionResponse_httpStatus :: Lens' GetStreamingDistributionResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetStreamingDistribution.GetStreamingDistribution
instance GHC.Show.Show Amazonka.CloudFront.GetStreamingDistribution.GetStreamingDistribution
instance GHC.Read.Read Amazonka.CloudFront.GetStreamingDistribution.GetStreamingDistribution
instance GHC.Classes.Eq Amazonka.CloudFront.GetStreamingDistribution.GetStreamingDistribution
instance GHC.Generics.Generic Amazonka.CloudFront.GetStreamingDistribution.GetStreamingDistributionResponse
instance GHC.Show.Show Amazonka.CloudFront.GetStreamingDistribution.GetStreamingDistributionResponse
instance GHC.Read.Read Amazonka.CloudFront.GetStreamingDistribution.GetStreamingDistributionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetStreamingDistribution.GetStreamingDistributionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetStreamingDistribution.GetStreamingDistribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetStreamingDistribution.GetStreamingDistributionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetStreamingDistribution.GetStreamingDistribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetStreamingDistribution.GetStreamingDistribution
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetStreamingDistribution.GetStreamingDistribution
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetStreamingDistribution.GetStreamingDistribution
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetStreamingDistribution.GetStreamingDistribution
-- | Gets a response headers policy configuration.
--
-- To get a response headers policy configuration, you must provide the
-- policy's identifier. If the response headers policy is attached to a
-- distribution's cache behavior, you can get the policy's identifier
-- using ListDistributions or GetDistribution. If the
-- response headers policy is not attached to a cache behavior, you can
-- get the identifier using ListResponseHeadersPolicies.
module Amazonka.CloudFront.GetResponseHeadersPolicyConfig
-- | See: newGetResponseHeadersPolicyConfig smart
-- constructor.
data GetResponseHeadersPolicyConfig
GetResponseHeadersPolicyConfig' :: Text -> GetResponseHeadersPolicyConfig
-- | The identifier for the response headers policy.
--
-- If the response headers policy is attached to a distribution's cache
-- behavior, you can get the policy's identifier using
-- ListDistributions or GetDistribution. If the
-- response headers policy is not attached to a cache behavior, you can
-- get the identifier using ListResponseHeadersPolicies.
[$sel:id:GetResponseHeadersPolicyConfig'] :: GetResponseHeadersPolicyConfig -> Text
-- | Create a value of GetResponseHeadersPolicyConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetResponseHeadersPolicyConfig,
-- getResponseHeadersPolicyConfig_id - The identifier for the
-- response headers policy.
--
-- If the response headers policy is attached to a distribution's cache
-- behavior, you can get the policy's identifier using
-- ListDistributions or GetDistribution. If the
-- response headers policy is not attached to a cache behavior, you can
-- get the identifier using ListResponseHeadersPolicies.
newGetResponseHeadersPolicyConfig :: Text -> GetResponseHeadersPolicyConfig
-- | The identifier for the response headers policy.
--
-- If the response headers policy is attached to a distribution's cache
-- behavior, you can get the policy's identifier using
-- ListDistributions or GetDistribution. If the
-- response headers policy is not attached to a cache behavior, you can
-- get the identifier using ListResponseHeadersPolicies.
getResponseHeadersPolicyConfig_id :: Lens' GetResponseHeadersPolicyConfig Text
-- | See: newGetResponseHeadersPolicyConfigResponse smart
-- constructor.
data GetResponseHeadersPolicyConfigResponse
GetResponseHeadersPolicyConfigResponse' :: Maybe Text -> Maybe ResponseHeadersPolicyConfig -> Int -> GetResponseHeadersPolicyConfigResponse
-- | The version identifier for the current version of the response headers
-- policy.
[$sel:eTag:GetResponseHeadersPolicyConfigResponse'] :: GetResponseHeadersPolicyConfigResponse -> Maybe Text
-- | Contains a response headers policy.
[$sel:responseHeadersPolicyConfig:GetResponseHeadersPolicyConfigResponse'] :: GetResponseHeadersPolicyConfigResponse -> Maybe ResponseHeadersPolicyConfig
-- | The response's http status code.
[$sel:httpStatus:GetResponseHeadersPolicyConfigResponse'] :: GetResponseHeadersPolicyConfigResponse -> Int
-- | Create a value of GetResponseHeadersPolicyConfigResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetResponseHeadersPolicyConfigResponse',
-- getResponseHeadersPolicyConfigResponse_eTag - The version
-- identifier for the current version of the response headers policy.
--
-- GetResponseHeadersPolicyConfigResponse,
-- getResponseHeadersPolicyConfigResponse_responseHeadersPolicyConfig
-- - Contains a response headers policy.
--
-- $sel:httpStatus:GetResponseHeadersPolicyConfigResponse',
-- getResponseHeadersPolicyConfigResponse_httpStatus - The
-- response's http status code.
newGetResponseHeadersPolicyConfigResponse :: Int -> GetResponseHeadersPolicyConfigResponse
-- | The version identifier for the current version of the response headers
-- policy.
getResponseHeadersPolicyConfigResponse_eTag :: Lens' GetResponseHeadersPolicyConfigResponse (Maybe Text)
-- | Contains a response headers policy.
getResponseHeadersPolicyConfigResponse_responseHeadersPolicyConfig :: Lens' GetResponseHeadersPolicyConfigResponse (Maybe ResponseHeadersPolicyConfig)
-- | The response's http status code.
getResponseHeadersPolicyConfigResponse_httpStatus :: Lens' GetResponseHeadersPolicyConfigResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetResponseHeadersPolicyConfig.GetResponseHeadersPolicyConfig
instance GHC.Show.Show Amazonka.CloudFront.GetResponseHeadersPolicyConfig.GetResponseHeadersPolicyConfig
instance GHC.Read.Read Amazonka.CloudFront.GetResponseHeadersPolicyConfig.GetResponseHeadersPolicyConfig
instance GHC.Classes.Eq Amazonka.CloudFront.GetResponseHeadersPolicyConfig.GetResponseHeadersPolicyConfig
instance GHC.Generics.Generic Amazonka.CloudFront.GetResponseHeadersPolicyConfig.GetResponseHeadersPolicyConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.GetResponseHeadersPolicyConfig.GetResponseHeadersPolicyConfigResponse
instance GHC.Read.Read Amazonka.CloudFront.GetResponseHeadersPolicyConfig.GetResponseHeadersPolicyConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetResponseHeadersPolicyConfig.GetResponseHeadersPolicyConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetResponseHeadersPolicyConfig.GetResponseHeadersPolicyConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetResponseHeadersPolicyConfig.GetResponseHeadersPolicyConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetResponseHeadersPolicyConfig.GetResponseHeadersPolicyConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetResponseHeadersPolicyConfig.GetResponseHeadersPolicyConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetResponseHeadersPolicyConfig.GetResponseHeadersPolicyConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetResponseHeadersPolicyConfig.GetResponseHeadersPolicyConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetResponseHeadersPolicyConfig.GetResponseHeadersPolicyConfig
-- | Gets a response headers policy, including metadata (the policy's
-- identifier and the date and time when the policy was last modified).
--
-- To get a response headers policy, you must provide the policy's
-- identifier. If the response headers policy is attached to a
-- distribution's cache behavior, you can get the policy's identifier
-- using ListDistributions or GetDistribution. If the
-- response headers policy is not attached to a cache behavior, you can
-- get the identifier using ListResponseHeadersPolicies.
module Amazonka.CloudFront.GetResponseHeadersPolicy
-- | See: newGetResponseHeadersPolicy smart constructor.
data GetResponseHeadersPolicy
GetResponseHeadersPolicy' :: Text -> GetResponseHeadersPolicy
-- | The identifier for the response headers policy.
--
-- If the response headers policy is attached to a distribution's cache
-- behavior, you can get the policy's identifier using
-- ListDistributions or GetDistribution. If the
-- response headers policy is not attached to a cache behavior, you can
-- get the identifier using ListResponseHeadersPolicies.
[$sel:id:GetResponseHeadersPolicy'] :: GetResponseHeadersPolicy -> Text
-- | Create a value of GetResponseHeadersPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetResponseHeadersPolicy, getResponseHeadersPolicy_id -
-- The identifier for the response headers policy.
--
-- If the response headers policy is attached to a distribution's cache
-- behavior, you can get the policy's identifier using
-- ListDistributions or GetDistribution. If the
-- response headers policy is not attached to a cache behavior, you can
-- get the identifier using ListResponseHeadersPolicies.
newGetResponseHeadersPolicy :: Text -> GetResponseHeadersPolicy
-- | The identifier for the response headers policy.
--
-- If the response headers policy is attached to a distribution's cache
-- behavior, you can get the policy's identifier using
-- ListDistributions or GetDistribution. If the
-- response headers policy is not attached to a cache behavior, you can
-- get the identifier using ListResponseHeadersPolicies.
getResponseHeadersPolicy_id :: Lens' GetResponseHeadersPolicy Text
-- | See: newGetResponseHeadersPolicyResponse smart
-- constructor.
data GetResponseHeadersPolicyResponse
GetResponseHeadersPolicyResponse' :: Maybe Text -> Maybe ResponseHeadersPolicy -> Int -> GetResponseHeadersPolicyResponse
-- | The version identifier for the current version of the response headers
-- policy.
[$sel:eTag:GetResponseHeadersPolicyResponse'] :: GetResponseHeadersPolicyResponse -> Maybe Text
-- | Contains a response headers policy.
[$sel:responseHeadersPolicy:GetResponseHeadersPolicyResponse'] :: GetResponseHeadersPolicyResponse -> Maybe ResponseHeadersPolicy
-- | The response's http status code.
[$sel:httpStatus:GetResponseHeadersPolicyResponse'] :: GetResponseHeadersPolicyResponse -> Int
-- | Create a value of GetResponseHeadersPolicyResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetResponseHeadersPolicyResponse',
-- getResponseHeadersPolicyResponse_eTag - The version identifier
-- for the current version of the response headers policy.
--
-- GetResponseHeadersPolicyResponse,
-- getResponseHeadersPolicyResponse_responseHeadersPolicy -
-- Contains a response headers policy.
--
-- $sel:httpStatus:GetResponseHeadersPolicyResponse',
-- getResponseHeadersPolicyResponse_httpStatus - The response's
-- http status code.
newGetResponseHeadersPolicyResponse :: Int -> GetResponseHeadersPolicyResponse
-- | The version identifier for the current version of the response headers
-- policy.
getResponseHeadersPolicyResponse_eTag :: Lens' GetResponseHeadersPolicyResponse (Maybe Text)
-- | Contains a response headers policy.
getResponseHeadersPolicyResponse_responseHeadersPolicy :: Lens' GetResponseHeadersPolicyResponse (Maybe ResponseHeadersPolicy)
-- | The response's http status code.
getResponseHeadersPolicyResponse_httpStatus :: Lens' GetResponseHeadersPolicyResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetResponseHeadersPolicy.GetResponseHeadersPolicy
instance GHC.Show.Show Amazonka.CloudFront.GetResponseHeadersPolicy.GetResponseHeadersPolicy
instance GHC.Read.Read Amazonka.CloudFront.GetResponseHeadersPolicy.GetResponseHeadersPolicy
instance GHC.Classes.Eq Amazonka.CloudFront.GetResponseHeadersPolicy.GetResponseHeadersPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.GetResponseHeadersPolicy.GetResponseHeadersPolicyResponse
instance GHC.Show.Show Amazonka.CloudFront.GetResponseHeadersPolicy.GetResponseHeadersPolicyResponse
instance GHC.Read.Read Amazonka.CloudFront.GetResponseHeadersPolicy.GetResponseHeadersPolicyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetResponseHeadersPolicy.GetResponseHeadersPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetResponseHeadersPolicy.GetResponseHeadersPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetResponseHeadersPolicy.GetResponseHeadersPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetResponseHeadersPolicy.GetResponseHeadersPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetResponseHeadersPolicy.GetResponseHeadersPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetResponseHeadersPolicy.GetResponseHeadersPolicy
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetResponseHeadersPolicy.GetResponseHeadersPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetResponseHeadersPolicy.GetResponseHeadersPolicy
-- | Gets a real-time log configuration.
--
-- To get a real-time log configuration, you can provide the
-- configuration's name or its Amazon Resource Name (ARN). You must
-- provide at least one. If you provide both, CloudFront uses the name to
-- identify the real-time log configuration to get.
module Amazonka.CloudFront.GetRealtimeLogConfig
-- | See: newGetRealtimeLogConfig smart constructor.
data GetRealtimeLogConfig
GetRealtimeLogConfig' :: Maybe Text -> Maybe Text -> GetRealtimeLogConfig
-- | The Amazon Resource Name (ARN) of the real-time log configuration to
-- get.
[$sel:arn:GetRealtimeLogConfig'] :: GetRealtimeLogConfig -> Maybe Text
-- | The name of the real-time log configuration to get.
[$sel:name:GetRealtimeLogConfig'] :: GetRealtimeLogConfig -> Maybe Text
-- | Create a value of GetRealtimeLogConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetRealtimeLogConfig, getRealtimeLogConfig_arn - The
-- Amazon Resource Name (ARN) of the real-time log configuration to get.
--
-- GetRealtimeLogConfig, getRealtimeLogConfig_name - The
-- name of the real-time log configuration to get.
newGetRealtimeLogConfig :: GetRealtimeLogConfig
-- | The Amazon Resource Name (ARN) of the real-time log configuration to
-- get.
getRealtimeLogConfig_arn :: Lens' GetRealtimeLogConfig (Maybe Text)
-- | The name of the real-time log configuration to get.
getRealtimeLogConfig_name :: Lens' GetRealtimeLogConfig (Maybe Text)
-- | See: newGetRealtimeLogConfigResponse smart constructor.
data GetRealtimeLogConfigResponse
GetRealtimeLogConfigResponse' :: Maybe RealtimeLogConfig -> Int -> GetRealtimeLogConfigResponse
-- | A real-time log configuration.
[$sel:realtimeLogConfig:GetRealtimeLogConfigResponse'] :: GetRealtimeLogConfigResponse -> Maybe RealtimeLogConfig
-- | The response's http status code.
[$sel:httpStatus:GetRealtimeLogConfigResponse'] :: GetRealtimeLogConfigResponse -> Int
-- | Create a value of GetRealtimeLogConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:realtimeLogConfig:GetRealtimeLogConfigResponse',
-- getRealtimeLogConfigResponse_realtimeLogConfig - A real-time
-- log configuration.
--
-- $sel:httpStatus:GetRealtimeLogConfigResponse',
-- getRealtimeLogConfigResponse_httpStatus - The response's http
-- status code.
newGetRealtimeLogConfigResponse :: Int -> GetRealtimeLogConfigResponse
-- | A real-time log configuration.
getRealtimeLogConfigResponse_realtimeLogConfig :: Lens' GetRealtimeLogConfigResponse (Maybe RealtimeLogConfig)
-- | The response's http status code.
getRealtimeLogConfigResponse_httpStatus :: Lens' GetRealtimeLogConfigResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetRealtimeLogConfig.GetRealtimeLogConfig
instance GHC.Show.Show Amazonka.CloudFront.GetRealtimeLogConfig.GetRealtimeLogConfig
instance GHC.Read.Read Amazonka.CloudFront.GetRealtimeLogConfig.GetRealtimeLogConfig
instance GHC.Classes.Eq Amazonka.CloudFront.GetRealtimeLogConfig.GetRealtimeLogConfig
instance GHC.Generics.Generic Amazonka.CloudFront.GetRealtimeLogConfig.GetRealtimeLogConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.GetRealtimeLogConfig.GetRealtimeLogConfigResponse
instance GHC.Read.Read Amazonka.CloudFront.GetRealtimeLogConfig.GetRealtimeLogConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetRealtimeLogConfig.GetRealtimeLogConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetRealtimeLogConfig.GetRealtimeLogConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetRealtimeLogConfig.GetRealtimeLogConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetRealtimeLogConfig.GetRealtimeLogConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetRealtimeLogConfig.GetRealtimeLogConfig
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.GetRealtimeLogConfig.GetRealtimeLogConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetRealtimeLogConfig.GetRealtimeLogConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetRealtimeLogConfig.GetRealtimeLogConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetRealtimeLogConfig.GetRealtimeLogConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.GetRealtimeLogConfig.GetRealtimeLogConfig
-- | Gets a public key configuration.
module Amazonka.CloudFront.GetPublicKeyConfig
-- | See: newGetPublicKeyConfig smart constructor.
data GetPublicKeyConfig
GetPublicKeyConfig' :: Text -> GetPublicKeyConfig
-- | The identifier of the public key whose configuration you are getting.
[$sel:id:GetPublicKeyConfig'] :: GetPublicKeyConfig -> Text
-- | Create a value of GetPublicKeyConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetPublicKeyConfig, getPublicKeyConfig_id - The
-- identifier of the public key whose configuration you are getting.
newGetPublicKeyConfig :: Text -> GetPublicKeyConfig
-- | The identifier of the public key whose configuration you are getting.
getPublicKeyConfig_id :: Lens' GetPublicKeyConfig Text
-- | See: newGetPublicKeyConfigResponse smart constructor.
data GetPublicKeyConfigResponse
GetPublicKeyConfigResponse' :: Maybe Text -> Maybe PublicKeyConfig -> Int -> GetPublicKeyConfigResponse
-- | The identifier for this version of the public key configuration.
[$sel:eTag:GetPublicKeyConfigResponse'] :: GetPublicKeyConfigResponse -> Maybe Text
-- | A public key configuration.
[$sel:publicKeyConfig:GetPublicKeyConfigResponse'] :: GetPublicKeyConfigResponse -> Maybe PublicKeyConfig
-- | The response's http status code.
[$sel:httpStatus:GetPublicKeyConfigResponse'] :: GetPublicKeyConfigResponse -> Int
-- | Create a value of GetPublicKeyConfigResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetPublicKeyConfigResponse',
-- getPublicKeyConfigResponse_eTag - The identifier for this
-- version of the public key configuration.
--
-- GetPublicKeyConfigResponse,
-- getPublicKeyConfigResponse_publicKeyConfig - A public key
-- configuration.
--
-- $sel:httpStatus:GetPublicKeyConfigResponse',
-- getPublicKeyConfigResponse_httpStatus - The response's http
-- status code.
newGetPublicKeyConfigResponse :: Int -> GetPublicKeyConfigResponse
-- | The identifier for this version of the public key configuration.
getPublicKeyConfigResponse_eTag :: Lens' GetPublicKeyConfigResponse (Maybe Text)
-- | A public key configuration.
getPublicKeyConfigResponse_publicKeyConfig :: Lens' GetPublicKeyConfigResponse (Maybe PublicKeyConfig)
-- | The response's http status code.
getPublicKeyConfigResponse_httpStatus :: Lens' GetPublicKeyConfigResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetPublicKeyConfig.GetPublicKeyConfig
instance GHC.Show.Show Amazonka.CloudFront.GetPublicKeyConfig.GetPublicKeyConfig
instance GHC.Read.Read Amazonka.CloudFront.GetPublicKeyConfig.GetPublicKeyConfig
instance GHC.Classes.Eq Amazonka.CloudFront.GetPublicKeyConfig.GetPublicKeyConfig
instance GHC.Generics.Generic Amazonka.CloudFront.GetPublicKeyConfig.GetPublicKeyConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.GetPublicKeyConfig.GetPublicKeyConfigResponse
instance GHC.Read.Read Amazonka.CloudFront.GetPublicKeyConfig.GetPublicKeyConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetPublicKeyConfig.GetPublicKeyConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetPublicKeyConfig.GetPublicKeyConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetPublicKeyConfig.GetPublicKeyConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetPublicKeyConfig.GetPublicKeyConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetPublicKeyConfig.GetPublicKeyConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetPublicKeyConfig.GetPublicKeyConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetPublicKeyConfig.GetPublicKeyConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetPublicKeyConfig.GetPublicKeyConfig
-- | Gets a public key.
module Amazonka.CloudFront.GetPublicKey
-- | See: newGetPublicKey smart constructor.
data GetPublicKey
GetPublicKey' :: Text -> GetPublicKey
-- | The identifier of the public key you are getting.
[$sel:id:GetPublicKey'] :: GetPublicKey -> Text
-- | Create a value of GetPublicKey with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetPublicKey, getPublicKey_id - The identifier of the
-- public key you are getting.
newGetPublicKey :: Text -> GetPublicKey
-- | The identifier of the public key you are getting.
getPublicKey_id :: Lens' GetPublicKey Text
-- | See: newGetPublicKeyResponse smart constructor.
data GetPublicKeyResponse
GetPublicKeyResponse' :: Maybe Text -> Maybe PublicKey -> Int -> GetPublicKeyResponse
-- | The identifier for this version of the public key.
[$sel:eTag:GetPublicKeyResponse'] :: GetPublicKeyResponse -> Maybe Text
-- | The public key.
[$sel:publicKey:GetPublicKeyResponse'] :: GetPublicKeyResponse -> Maybe PublicKey
-- | The response's http status code.
[$sel:httpStatus:GetPublicKeyResponse'] :: GetPublicKeyResponse -> Int
-- | Create a value of GetPublicKeyResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetPublicKeyResponse',
-- getPublicKeyResponse_eTag - The identifier for this version of
-- the public key.
--
-- $sel:publicKey:GetPublicKeyResponse',
-- getPublicKeyResponse_publicKey - The public key.
--
-- $sel:httpStatus:GetPublicKeyResponse',
-- getPublicKeyResponse_httpStatus - The response's http status
-- code.
newGetPublicKeyResponse :: Int -> GetPublicKeyResponse
-- | The identifier for this version of the public key.
getPublicKeyResponse_eTag :: Lens' GetPublicKeyResponse (Maybe Text)
-- | The public key.
getPublicKeyResponse_publicKey :: Lens' GetPublicKeyResponse (Maybe PublicKey)
-- | The response's http status code.
getPublicKeyResponse_httpStatus :: Lens' GetPublicKeyResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetPublicKey.GetPublicKey
instance GHC.Show.Show Amazonka.CloudFront.GetPublicKey.GetPublicKey
instance GHC.Read.Read Amazonka.CloudFront.GetPublicKey.GetPublicKey
instance GHC.Classes.Eq Amazonka.CloudFront.GetPublicKey.GetPublicKey
instance GHC.Generics.Generic Amazonka.CloudFront.GetPublicKey.GetPublicKeyResponse
instance GHC.Show.Show Amazonka.CloudFront.GetPublicKey.GetPublicKeyResponse
instance GHC.Read.Read Amazonka.CloudFront.GetPublicKey.GetPublicKeyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetPublicKey.GetPublicKeyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetPublicKey.GetPublicKey
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetPublicKey.GetPublicKeyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetPublicKey.GetPublicKey
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetPublicKey.GetPublicKey
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetPublicKey.GetPublicKey
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetPublicKey.GetPublicKey
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetPublicKey.GetPublicKey
-- | Gets an origin request policy configuration.
--
-- To get an origin request policy configuration, you must provide the
-- policy's identifier. If the origin request policy is attached to a
-- distribution's cache behavior, you can get the policy's identifier
-- using ListDistributions or GetDistribution. If the
-- origin request policy is not attached to a cache behavior, you can get
-- the identifier using ListOriginRequestPolicies.
module Amazonka.CloudFront.GetOriginRequestPolicyConfig
-- | See: newGetOriginRequestPolicyConfig smart constructor.
data GetOriginRequestPolicyConfig
GetOriginRequestPolicyConfig' :: Text -> GetOriginRequestPolicyConfig
-- | The unique identifier for the origin request policy. If the origin
-- request policy is attached to a distribution's cache behavior, you can
-- get the policy's identifier using ListDistributions or
-- GetDistribution. If the origin request policy is not attached
-- to a cache behavior, you can get the identifier using
-- ListOriginRequestPolicies.
[$sel:id:GetOriginRequestPolicyConfig'] :: GetOriginRequestPolicyConfig -> Text
-- | Create a value of GetOriginRequestPolicyConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetOriginRequestPolicyConfig,
-- getOriginRequestPolicyConfig_id - The unique identifier for the
-- origin request policy. If the origin request policy is attached to a
-- distribution's cache behavior, you can get the policy's identifier
-- using ListDistributions or GetDistribution. If the
-- origin request policy is not attached to a cache behavior, you can get
-- the identifier using ListOriginRequestPolicies.
newGetOriginRequestPolicyConfig :: Text -> GetOriginRequestPolicyConfig
-- | The unique identifier for the origin request policy. If the origin
-- request policy is attached to a distribution's cache behavior, you can
-- get the policy's identifier using ListDistributions or
-- GetDistribution. If the origin request policy is not attached
-- to a cache behavior, you can get the identifier using
-- ListOriginRequestPolicies.
getOriginRequestPolicyConfig_id :: Lens' GetOriginRequestPolicyConfig Text
-- | See: newGetOriginRequestPolicyConfigResponse smart
-- constructor.
data GetOriginRequestPolicyConfigResponse
GetOriginRequestPolicyConfigResponse' :: Maybe Text -> Maybe OriginRequestPolicyConfig -> Int -> GetOriginRequestPolicyConfigResponse
-- | The current version of the origin request policy.
[$sel:eTag:GetOriginRequestPolicyConfigResponse'] :: GetOriginRequestPolicyConfigResponse -> Maybe Text
-- | The origin request policy configuration.
[$sel:originRequestPolicyConfig:GetOriginRequestPolicyConfigResponse'] :: GetOriginRequestPolicyConfigResponse -> Maybe OriginRequestPolicyConfig
-- | The response's http status code.
[$sel:httpStatus:GetOriginRequestPolicyConfigResponse'] :: GetOriginRequestPolicyConfigResponse -> Int
-- | Create a value of GetOriginRequestPolicyConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetOriginRequestPolicyConfigResponse',
-- getOriginRequestPolicyConfigResponse_eTag - The current version
-- of the origin request policy.
--
-- GetOriginRequestPolicyConfigResponse,
-- getOriginRequestPolicyConfigResponse_originRequestPolicyConfig
-- - The origin request policy configuration.
--
-- $sel:httpStatus:GetOriginRequestPolicyConfigResponse',
-- getOriginRequestPolicyConfigResponse_httpStatus - The
-- response's http status code.
newGetOriginRequestPolicyConfigResponse :: Int -> GetOriginRequestPolicyConfigResponse
-- | The current version of the origin request policy.
getOriginRequestPolicyConfigResponse_eTag :: Lens' GetOriginRequestPolicyConfigResponse (Maybe Text)
-- | The origin request policy configuration.
getOriginRequestPolicyConfigResponse_originRequestPolicyConfig :: Lens' GetOriginRequestPolicyConfigResponse (Maybe OriginRequestPolicyConfig)
-- | The response's http status code.
getOriginRequestPolicyConfigResponse_httpStatus :: Lens' GetOriginRequestPolicyConfigResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetOriginRequestPolicyConfig.GetOriginRequestPolicyConfig
instance GHC.Show.Show Amazonka.CloudFront.GetOriginRequestPolicyConfig.GetOriginRequestPolicyConfig
instance GHC.Read.Read Amazonka.CloudFront.GetOriginRequestPolicyConfig.GetOriginRequestPolicyConfig
instance GHC.Classes.Eq Amazonka.CloudFront.GetOriginRequestPolicyConfig.GetOriginRequestPolicyConfig
instance GHC.Generics.Generic Amazonka.CloudFront.GetOriginRequestPolicyConfig.GetOriginRequestPolicyConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.GetOriginRequestPolicyConfig.GetOriginRequestPolicyConfigResponse
instance GHC.Read.Read Amazonka.CloudFront.GetOriginRequestPolicyConfig.GetOriginRequestPolicyConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetOriginRequestPolicyConfig.GetOriginRequestPolicyConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetOriginRequestPolicyConfig.GetOriginRequestPolicyConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetOriginRequestPolicyConfig.GetOriginRequestPolicyConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetOriginRequestPolicyConfig.GetOriginRequestPolicyConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetOriginRequestPolicyConfig.GetOriginRequestPolicyConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetOriginRequestPolicyConfig.GetOriginRequestPolicyConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetOriginRequestPolicyConfig.GetOriginRequestPolicyConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetOriginRequestPolicyConfig.GetOriginRequestPolicyConfig
-- | Gets an origin request policy, including the following metadata:
--
--
-- - The policy's identifier.
-- - The date and time when the policy was last modified.
--
--
-- To get an origin request policy, you must provide the policy's
-- identifier. If the origin request policy is attached to a
-- distribution's cache behavior, you can get the policy's identifier
-- using ListDistributions or GetDistribution. If the
-- origin request policy is not attached to a cache behavior, you can get
-- the identifier using ListOriginRequestPolicies.
module Amazonka.CloudFront.GetOriginRequestPolicy
-- | See: newGetOriginRequestPolicy smart constructor.
data GetOriginRequestPolicy
GetOriginRequestPolicy' :: Text -> GetOriginRequestPolicy
-- | The unique identifier for the origin request policy. If the origin
-- request policy is attached to a distribution's cache behavior, you can
-- get the policy's identifier using ListDistributions or
-- GetDistribution. If the origin request policy is not attached
-- to a cache behavior, you can get the identifier using
-- ListOriginRequestPolicies.
[$sel:id:GetOriginRequestPolicy'] :: GetOriginRequestPolicy -> Text
-- | Create a value of GetOriginRequestPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetOriginRequestPolicy, getOriginRequestPolicy_id - The
-- unique identifier for the origin request policy. If the origin request
-- policy is attached to a distribution's cache behavior, you can get the
-- policy's identifier using ListDistributions or
-- GetDistribution. If the origin request policy is not attached
-- to a cache behavior, you can get the identifier using
-- ListOriginRequestPolicies.
newGetOriginRequestPolicy :: Text -> GetOriginRequestPolicy
-- | The unique identifier for the origin request policy. If the origin
-- request policy is attached to a distribution's cache behavior, you can
-- get the policy's identifier using ListDistributions or
-- GetDistribution. If the origin request policy is not attached
-- to a cache behavior, you can get the identifier using
-- ListOriginRequestPolicies.
getOriginRequestPolicy_id :: Lens' GetOriginRequestPolicy Text
-- | See: newGetOriginRequestPolicyResponse smart
-- constructor.
data GetOriginRequestPolicyResponse
GetOriginRequestPolicyResponse' :: Maybe Text -> Maybe OriginRequestPolicy -> Int -> GetOriginRequestPolicyResponse
-- | The current version of the origin request policy.
[$sel:eTag:GetOriginRequestPolicyResponse'] :: GetOriginRequestPolicyResponse -> Maybe Text
-- | The origin request policy.
[$sel:originRequestPolicy:GetOriginRequestPolicyResponse'] :: GetOriginRequestPolicyResponse -> Maybe OriginRequestPolicy
-- | The response's http status code.
[$sel:httpStatus:GetOriginRequestPolicyResponse'] :: GetOriginRequestPolicyResponse -> Int
-- | Create a value of GetOriginRequestPolicyResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetOriginRequestPolicyResponse',
-- getOriginRequestPolicyResponse_eTag - The current version of
-- the origin request policy.
--
-- GetOriginRequestPolicyResponse,
-- getOriginRequestPolicyResponse_originRequestPolicy - The origin
-- request policy.
--
-- $sel:httpStatus:GetOriginRequestPolicyResponse',
-- getOriginRequestPolicyResponse_httpStatus - The response's http
-- status code.
newGetOriginRequestPolicyResponse :: Int -> GetOriginRequestPolicyResponse
-- | The current version of the origin request policy.
getOriginRequestPolicyResponse_eTag :: Lens' GetOriginRequestPolicyResponse (Maybe Text)
-- | The origin request policy.
getOriginRequestPolicyResponse_originRequestPolicy :: Lens' GetOriginRequestPolicyResponse (Maybe OriginRequestPolicy)
-- | The response's http status code.
getOriginRequestPolicyResponse_httpStatus :: Lens' GetOriginRequestPolicyResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetOriginRequestPolicy.GetOriginRequestPolicy
instance GHC.Show.Show Amazonka.CloudFront.GetOriginRequestPolicy.GetOriginRequestPolicy
instance GHC.Read.Read Amazonka.CloudFront.GetOriginRequestPolicy.GetOriginRequestPolicy
instance GHC.Classes.Eq Amazonka.CloudFront.GetOriginRequestPolicy.GetOriginRequestPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.GetOriginRequestPolicy.GetOriginRequestPolicyResponse
instance GHC.Show.Show Amazonka.CloudFront.GetOriginRequestPolicy.GetOriginRequestPolicyResponse
instance GHC.Read.Read Amazonka.CloudFront.GetOriginRequestPolicy.GetOriginRequestPolicyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetOriginRequestPolicy.GetOriginRequestPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetOriginRequestPolicy.GetOriginRequestPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetOriginRequestPolicy.GetOriginRequestPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetOriginRequestPolicy.GetOriginRequestPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetOriginRequestPolicy.GetOriginRequestPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetOriginRequestPolicy.GetOriginRequestPolicy
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetOriginRequestPolicy.GetOriginRequestPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetOriginRequestPolicy.GetOriginRequestPolicy
-- | Gets a CloudFront origin access control configuration.
module Amazonka.CloudFront.GetOriginAccessControlConfig
-- | See: newGetOriginAccessControlConfig smart constructor.
data GetOriginAccessControlConfig
GetOriginAccessControlConfig' :: Text -> GetOriginAccessControlConfig
-- | The unique identifier of the origin access control.
[$sel:id:GetOriginAccessControlConfig'] :: GetOriginAccessControlConfig -> Text
-- | Create a value of GetOriginAccessControlConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetOriginAccessControlConfig,
-- getOriginAccessControlConfig_id - The unique identifier of the
-- origin access control.
newGetOriginAccessControlConfig :: Text -> GetOriginAccessControlConfig
-- | The unique identifier of the origin access control.
getOriginAccessControlConfig_id :: Lens' GetOriginAccessControlConfig Text
-- | See: newGetOriginAccessControlConfigResponse smart
-- constructor.
data GetOriginAccessControlConfigResponse
GetOriginAccessControlConfigResponse' :: Maybe Text -> Maybe OriginAccessControlConfig -> Int -> GetOriginAccessControlConfigResponse
-- | The version identifier for the current version of the origin access
-- control.
[$sel:eTag:GetOriginAccessControlConfigResponse'] :: GetOriginAccessControlConfigResponse -> Maybe Text
-- | Contains an origin access control configuration.
[$sel:originAccessControlConfig:GetOriginAccessControlConfigResponse'] :: GetOriginAccessControlConfigResponse -> Maybe OriginAccessControlConfig
-- | The response's http status code.
[$sel:httpStatus:GetOriginAccessControlConfigResponse'] :: GetOriginAccessControlConfigResponse -> Int
-- | Create a value of GetOriginAccessControlConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetOriginAccessControlConfigResponse',
-- getOriginAccessControlConfigResponse_eTag - The version
-- identifier for the current version of the origin access control.
--
-- GetOriginAccessControlConfigResponse,
-- getOriginAccessControlConfigResponse_originAccessControlConfig
-- - Contains an origin access control configuration.
--
-- $sel:httpStatus:GetOriginAccessControlConfigResponse',
-- getOriginAccessControlConfigResponse_httpStatus - The
-- response's http status code.
newGetOriginAccessControlConfigResponse :: Int -> GetOriginAccessControlConfigResponse
-- | The version identifier for the current version of the origin access
-- control.
getOriginAccessControlConfigResponse_eTag :: Lens' GetOriginAccessControlConfigResponse (Maybe Text)
-- | Contains an origin access control configuration.
getOriginAccessControlConfigResponse_originAccessControlConfig :: Lens' GetOriginAccessControlConfigResponse (Maybe OriginAccessControlConfig)
-- | The response's http status code.
getOriginAccessControlConfigResponse_httpStatus :: Lens' GetOriginAccessControlConfigResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetOriginAccessControlConfig.GetOriginAccessControlConfig
instance GHC.Show.Show Amazonka.CloudFront.GetOriginAccessControlConfig.GetOriginAccessControlConfig
instance GHC.Read.Read Amazonka.CloudFront.GetOriginAccessControlConfig.GetOriginAccessControlConfig
instance GHC.Classes.Eq Amazonka.CloudFront.GetOriginAccessControlConfig.GetOriginAccessControlConfig
instance GHC.Generics.Generic Amazonka.CloudFront.GetOriginAccessControlConfig.GetOriginAccessControlConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.GetOriginAccessControlConfig.GetOriginAccessControlConfigResponse
instance GHC.Read.Read Amazonka.CloudFront.GetOriginAccessControlConfig.GetOriginAccessControlConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetOriginAccessControlConfig.GetOriginAccessControlConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetOriginAccessControlConfig.GetOriginAccessControlConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetOriginAccessControlConfig.GetOriginAccessControlConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetOriginAccessControlConfig.GetOriginAccessControlConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetOriginAccessControlConfig.GetOriginAccessControlConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetOriginAccessControlConfig.GetOriginAccessControlConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetOriginAccessControlConfig.GetOriginAccessControlConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetOriginAccessControlConfig.GetOriginAccessControlConfig
-- | Gets a CloudFront origin access control, including its unique
-- identifier.
module Amazonka.CloudFront.GetOriginAccessControl
-- | See: newGetOriginAccessControl smart constructor.
data GetOriginAccessControl
GetOriginAccessControl' :: Text -> GetOriginAccessControl
-- | The unique identifier of the origin access control.
[$sel:id:GetOriginAccessControl'] :: GetOriginAccessControl -> Text
-- | Create a value of GetOriginAccessControl with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetOriginAccessControl, getOriginAccessControl_id - The
-- unique identifier of the origin access control.
newGetOriginAccessControl :: Text -> GetOriginAccessControl
-- | The unique identifier of the origin access control.
getOriginAccessControl_id :: Lens' GetOriginAccessControl Text
-- | See: newGetOriginAccessControlResponse smart
-- constructor.
data GetOriginAccessControlResponse
GetOriginAccessControlResponse' :: Maybe Text -> Maybe OriginAccessControl -> Int -> GetOriginAccessControlResponse
-- | The version identifier for the current version of the origin access
-- control.
[$sel:eTag:GetOriginAccessControlResponse'] :: GetOriginAccessControlResponse -> Maybe Text
-- | Contains an origin access control, including its unique identifier.
[$sel:originAccessControl:GetOriginAccessControlResponse'] :: GetOriginAccessControlResponse -> Maybe OriginAccessControl
-- | The response's http status code.
[$sel:httpStatus:GetOriginAccessControlResponse'] :: GetOriginAccessControlResponse -> Int
-- | Create a value of GetOriginAccessControlResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetOriginAccessControlResponse',
-- getOriginAccessControlResponse_eTag - The version identifier
-- for the current version of the origin access control.
--
-- $sel:originAccessControl:GetOriginAccessControlResponse',
-- getOriginAccessControlResponse_originAccessControl - Contains
-- an origin access control, including its unique identifier.
--
-- $sel:httpStatus:GetOriginAccessControlResponse',
-- getOriginAccessControlResponse_httpStatus - The response's http
-- status code.
newGetOriginAccessControlResponse :: Int -> GetOriginAccessControlResponse
-- | The version identifier for the current version of the origin access
-- control.
getOriginAccessControlResponse_eTag :: Lens' GetOriginAccessControlResponse (Maybe Text)
-- | Contains an origin access control, including its unique identifier.
getOriginAccessControlResponse_originAccessControl :: Lens' GetOriginAccessControlResponse (Maybe OriginAccessControl)
-- | The response's http status code.
getOriginAccessControlResponse_httpStatus :: Lens' GetOriginAccessControlResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetOriginAccessControl.GetOriginAccessControl
instance GHC.Show.Show Amazonka.CloudFront.GetOriginAccessControl.GetOriginAccessControl
instance GHC.Read.Read Amazonka.CloudFront.GetOriginAccessControl.GetOriginAccessControl
instance GHC.Classes.Eq Amazonka.CloudFront.GetOriginAccessControl.GetOriginAccessControl
instance GHC.Generics.Generic Amazonka.CloudFront.GetOriginAccessControl.GetOriginAccessControlResponse
instance GHC.Show.Show Amazonka.CloudFront.GetOriginAccessControl.GetOriginAccessControlResponse
instance GHC.Read.Read Amazonka.CloudFront.GetOriginAccessControl.GetOriginAccessControlResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetOriginAccessControl.GetOriginAccessControlResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetOriginAccessControl.GetOriginAccessControl
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetOriginAccessControl.GetOriginAccessControlResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetOriginAccessControl.GetOriginAccessControl
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetOriginAccessControl.GetOriginAccessControl
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetOriginAccessControl.GetOriginAccessControl
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetOriginAccessControl.GetOriginAccessControl
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetOriginAccessControl.GetOriginAccessControl
-- | Gets information about whether additional CloudWatch metrics are
-- enabled for the specified CloudFront distribution.
module Amazonka.CloudFront.GetMonitoringSubscription
-- | See: newGetMonitoringSubscription smart constructor.
data GetMonitoringSubscription
GetMonitoringSubscription' :: Text -> GetMonitoringSubscription
-- | The ID of the distribution that you are getting metrics information
-- for.
[$sel:distributionId:GetMonitoringSubscription'] :: GetMonitoringSubscription -> Text
-- | Create a value of GetMonitoringSubscription with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetMonitoringSubscription,
-- getMonitoringSubscription_distributionId - The ID of the
-- distribution that you are getting metrics information for.
newGetMonitoringSubscription :: Text -> GetMonitoringSubscription
-- | The ID of the distribution that you are getting metrics information
-- for.
getMonitoringSubscription_distributionId :: Lens' GetMonitoringSubscription Text
-- | See: newGetMonitoringSubscriptionResponse smart
-- constructor.
data GetMonitoringSubscriptionResponse
GetMonitoringSubscriptionResponse' :: Maybe MonitoringSubscription -> Int -> GetMonitoringSubscriptionResponse
-- | A monitoring subscription. This structure contains information about
-- whether additional CloudWatch metrics are enabled for a given
-- CloudFront distribution.
[$sel:monitoringSubscription:GetMonitoringSubscriptionResponse'] :: GetMonitoringSubscriptionResponse -> Maybe MonitoringSubscription
-- | The response's http status code.
[$sel:httpStatus:GetMonitoringSubscriptionResponse'] :: GetMonitoringSubscriptionResponse -> Int
-- | Create a value of GetMonitoringSubscriptionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:monitoringSubscription:GetMonitoringSubscriptionResponse',
-- getMonitoringSubscriptionResponse_monitoringSubscription - A
-- monitoring subscription. This structure contains information about
-- whether additional CloudWatch metrics are enabled for a given
-- CloudFront distribution.
--
-- $sel:httpStatus:GetMonitoringSubscriptionResponse',
-- getMonitoringSubscriptionResponse_httpStatus - The response's
-- http status code.
newGetMonitoringSubscriptionResponse :: Int -> GetMonitoringSubscriptionResponse
-- | A monitoring subscription. This structure contains information about
-- whether additional CloudWatch metrics are enabled for a given
-- CloudFront distribution.
getMonitoringSubscriptionResponse_monitoringSubscription :: Lens' GetMonitoringSubscriptionResponse (Maybe MonitoringSubscription)
-- | The response's http status code.
getMonitoringSubscriptionResponse_httpStatus :: Lens' GetMonitoringSubscriptionResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetMonitoringSubscription.GetMonitoringSubscription
instance GHC.Show.Show Amazonka.CloudFront.GetMonitoringSubscription.GetMonitoringSubscription
instance GHC.Read.Read Amazonka.CloudFront.GetMonitoringSubscription.GetMonitoringSubscription
instance GHC.Classes.Eq Amazonka.CloudFront.GetMonitoringSubscription.GetMonitoringSubscription
instance GHC.Generics.Generic Amazonka.CloudFront.GetMonitoringSubscription.GetMonitoringSubscriptionResponse
instance GHC.Show.Show Amazonka.CloudFront.GetMonitoringSubscription.GetMonitoringSubscriptionResponse
instance GHC.Read.Read Amazonka.CloudFront.GetMonitoringSubscription.GetMonitoringSubscriptionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetMonitoringSubscription.GetMonitoringSubscriptionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetMonitoringSubscription.GetMonitoringSubscription
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetMonitoringSubscription.GetMonitoringSubscriptionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetMonitoringSubscription.GetMonitoringSubscription
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetMonitoringSubscription.GetMonitoringSubscription
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetMonitoringSubscription.GetMonitoringSubscription
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetMonitoringSubscription.GetMonitoringSubscription
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetMonitoringSubscription.GetMonitoringSubscription
-- | Gets a key group configuration.
--
-- To get a key group configuration, you must provide the key group's
-- identifier. If the key group is referenced in a distribution's cache
-- behavior, you can get the key group's identifier using
-- ListDistributions or GetDistribution. If the key
-- group is not referenced in a cache behavior, you can get the
-- identifier using ListKeyGroups.
module Amazonka.CloudFront.GetKeyGroupConfig
-- | See: newGetKeyGroupConfig smart constructor.
data GetKeyGroupConfig
GetKeyGroupConfig' :: Text -> GetKeyGroupConfig
-- | The identifier of the key group whose configuration you are getting.
-- To get the identifier, use ListKeyGroups.
[$sel:id:GetKeyGroupConfig'] :: GetKeyGroupConfig -> Text
-- | Create a value of GetKeyGroupConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetKeyGroupConfig, getKeyGroupConfig_id - The identifier
-- of the key group whose configuration you are getting. To get the
-- identifier, use ListKeyGroups.
newGetKeyGroupConfig :: Text -> GetKeyGroupConfig
-- | The identifier of the key group whose configuration you are getting.
-- To get the identifier, use ListKeyGroups.
getKeyGroupConfig_id :: Lens' GetKeyGroupConfig Text
-- | See: newGetKeyGroupConfigResponse smart constructor.
data GetKeyGroupConfigResponse
GetKeyGroupConfigResponse' :: Maybe Text -> Maybe KeyGroupConfig -> Int -> GetKeyGroupConfigResponse
-- | The identifier for this version of the key group.
[$sel:eTag:GetKeyGroupConfigResponse'] :: GetKeyGroupConfigResponse -> Maybe Text
-- | The key group configuration.
[$sel:keyGroupConfig:GetKeyGroupConfigResponse'] :: GetKeyGroupConfigResponse -> Maybe KeyGroupConfig
-- | The response's http status code.
[$sel:httpStatus:GetKeyGroupConfigResponse'] :: GetKeyGroupConfigResponse -> Int
-- | Create a value of GetKeyGroupConfigResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetKeyGroupConfigResponse',
-- getKeyGroupConfigResponse_eTag - The identifier for this
-- version of the key group.
--
-- GetKeyGroupConfigResponse,
-- getKeyGroupConfigResponse_keyGroupConfig - The key group
-- configuration.
--
-- $sel:httpStatus:GetKeyGroupConfigResponse',
-- getKeyGroupConfigResponse_httpStatus - The response's http
-- status code.
newGetKeyGroupConfigResponse :: Int -> GetKeyGroupConfigResponse
-- | The identifier for this version of the key group.
getKeyGroupConfigResponse_eTag :: Lens' GetKeyGroupConfigResponse (Maybe Text)
-- | The key group configuration.
getKeyGroupConfigResponse_keyGroupConfig :: Lens' GetKeyGroupConfigResponse (Maybe KeyGroupConfig)
-- | The response's http status code.
getKeyGroupConfigResponse_httpStatus :: Lens' GetKeyGroupConfigResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetKeyGroupConfig.GetKeyGroupConfig
instance GHC.Show.Show Amazonka.CloudFront.GetKeyGroupConfig.GetKeyGroupConfig
instance GHC.Read.Read Amazonka.CloudFront.GetKeyGroupConfig.GetKeyGroupConfig
instance GHC.Classes.Eq Amazonka.CloudFront.GetKeyGroupConfig.GetKeyGroupConfig
instance GHC.Generics.Generic Amazonka.CloudFront.GetKeyGroupConfig.GetKeyGroupConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.GetKeyGroupConfig.GetKeyGroupConfigResponse
instance GHC.Read.Read Amazonka.CloudFront.GetKeyGroupConfig.GetKeyGroupConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetKeyGroupConfig.GetKeyGroupConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetKeyGroupConfig.GetKeyGroupConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetKeyGroupConfig.GetKeyGroupConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetKeyGroupConfig.GetKeyGroupConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetKeyGroupConfig.GetKeyGroupConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetKeyGroupConfig.GetKeyGroupConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetKeyGroupConfig.GetKeyGroupConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetKeyGroupConfig.GetKeyGroupConfig
-- | Gets a key group, including the date and time when the key group was
-- last modified.
--
-- To get a key group, you must provide the key group's identifier. If
-- the key group is referenced in a distribution's cache behavior, you
-- can get the key group's identifier using ListDistributions or
-- GetDistribution. If the key group is not referenced in a
-- cache behavior, you can get the identifier using
-- ListKeyGroups.
module Amazonka.CloudFront.GetKeyGroup
-- | See: newGetKeyGroup smart constructor.
data GetKeyGroup
GetKeyGroup' :: Text -> GetKeyGroup
-- | The identifier of the key group that you are getting. To get the
-- identifier, use ListKeyGroups.
[$sel:id:GetKeyGroup'] :: GetKeyGroup -> Text
-- | Create a value of GetKeyGroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetKeyGroup, getKeyGroup_id - The identifier of the key
-- group that you are getting. To get the identifier, use
-- ListKeyGroups.
newGetKeyGroup :: Text -> GetKeyGroup
-- | The identifier of the key group that you are getting. To get the
-- identifier, use ListKeyGroups.
getKeyGroup_id :: Lens' GetKeyGroup Text
-- | See: newGetKeyGroupResponse smart constructor.
data GetKeyGroupResponse
GetKeyGroupResponse' :: Maybe Text -> Maybe KeyGroup -> Int -> GetKeyGroupResponse
-- | The identifier for this version of the key group.
[$sel:eTag:GetKeyGroupResponse'] :: GetKeyGroupResponse -> Maybe Text
-- | The key group.
[$sel:keyGroup:GetKeyGroupResponse'] :: GetKeyGroupResponse -> Maybe KeyGroup
-- | The response's http status code.
[$sel:httpStatus:GetKeyGroupResponse'] :: GetKeyGroupResponse -> Int
-- | Create a value of GetKeyGroupResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetKeyGroupResponse', getKeyGroupResponse_eTag
-- - The identifier for this version of the key group.
--
-- GetKeyGroupResponse, getKeyGroupResponse_keyGroup - The
-- key group.
--
-- $sel:httpStatus:GetKeyGroupResponse',
-- getKeyGroupResponse_httpStatus - The response's http status
-- code.
newGetKeyGroupResponse :: Int -> GetKeyGroupResponse
-- | The identifier for this version of the key group.
getKeyGroupResponse_eTag :: Lens' GetKeyGroupResponse (Maybe Text)
-- | The key group.
getKeyGroupResponse_keyGroup :: Lens' GetKeyGroupResponse (Maybe KeyGroup)
-- | The response's http status code.
getKeyGroupResponse_httpStatus :: Lens' GetKeyGroupResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetKeyGroup.GetKeyGroup
instance GHC.Show.Show Amazonka.CloudFront.GetKeyGroup.GetKeyGroup
instance GHC.Read.Read Amazonka.CloudFront.GetKeyGroup.GetKeyGroup
instance GHC.Classes.Eq Amazonka.CloudFront.GetKeyGroup.GetKeyGroup
instance GHC.Generics.Generic Amazonka.CloudFront.GetKeyGroup.GetKeyGroupResponse
instance GHC.Show.Show Amazonka.CloudFront.GetKeyGroup.GetKeyGroupResponse
instance GHC.Read.Read Amazonka.CloudFront.GetKeyGroup.GetKeyGroupResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetKeyGroup.GetKeyGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetKeyGroup.GetKeyGroup
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetKeyGroup.GetKeyGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetKeyGroup.GetKeyGroup
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetKeyGroup.GetKeyGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetKeyGroup.GetKeyGroup
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetKeyGroup.GetKeyGroup
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetKeyGroup.GetKeyGroup
-- | Get the information about an invalidation.
module Amazonka.CloudFront.GetInvalidation
-- | The request to get an invalidation's information.
--
-- See: newGetInvalidation smart constructor.
data GetInvalidation
GetInvalidation' :: Text -> Text -> GetInvalidation
-- | The distribution's ID.
[$sel:distributionId:GetInvalidation'] :: GetInvalidation -> Text
-- | The identifier for the invalidation request, for example,
-- IDFDVBD632BHDS5.
[$sel:id:GetInvalidation'] :: GetInvalidation -> Text
-- | Create a value of GetInvalidation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetInvalidation, getInvalidation_distributionId - The
-- distribution's ID.
--
-- GetInvalidation, getInvalidation_id - The identifier for
-- the invalidation request, for example, IDFDVBD632BHDS5.
newGetInvalidation :: Text -> Text -> GetInvalidation
-- | The distribution's ID.
getInvalidation_distributionId :: Lens' GetInvalidation Text
-- | The identifier for the invalidation request, for example,
-- IDFDVBD632BHDS5.
getInvalidation_id :: Lens' GetInvalidation Text
-- | The returned result of the corresponding request.
--
-- See: newGetInvalidationResponse smart constructor.
data GetInvalidationResponse
GetInvalidationResponse' :: Maybe Invalidation -> Int -> GetInvalidationResponse
-- | The invalidation's information. For more information, see
-- Invalidation Complex Type.
[$sel:invalidation:GetInvalidationResponse'] :: GetInvalidationResponse -> Maybe Invalidation
-- | The response's http status code.
[$sel:httpStatus:GetInvalidationResponse'] :: GetInvalidationResponse -> Int
-- | Create a value of GetInvalidationResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:invalidation:GetInvalidationResponse',
-- getInvalidationResponse_invalidation - The invalidation's
-- information. For more information, see Invalidation Complex
-- Type.
--
-- $sel:httpStatus:GetInvalidationResponse',
-- getInvalidationResponse_httpStatus - The response's http status
-- code.
newGetInvalidationResponse :: Int -> GetInvalidationResponse
-- | The invalidation's information. For more information, see
-- Invalidation Complex Type.
getInvalidationResponse_invalidation :: Lens' GetInvalidationResponse (Maybe Invalidation)
-- | The response's http status code.
getInvalidationResponse_httpStatus :: Lens' GetInvalidationResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetInvalidation.GetInvalidation
instance GHC.Show.Show Amazonka.CloudFront.GetInvalidation.GetInvalidation
instance GHC.Read.Read Amazonka.CloudFront.GetInvalidation.GetInvalidation
instance GHC.Classes.Eq Amazonka.CloudFront.GetInvalidation.GetInvalidation
instance GHC.Generics.Generic Amazonka.CloudFront.GetInvalidation.GetInvalidationResponse
instance GHC.Show.Show Amazonka.CloudFront.GetInvalidation.GetInvalidationResponse
instance GHC.Read.Read Amazonka.CloudFront.GetInvalidation.GetInvalidationResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetInvalidation.GetInvalidationResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetInvalidation.GetInvalidation
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetInvalidation.GetInvalidationResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetInvalidation.GetInvalidation
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetInvalidation.GetInvalidation
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetInvalidation.GetInvalidation
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetInvalidation.GetInvalidation
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetInvalidation.GetInvalidation
-- | Gets the code of a CloudFront function. To get configuration
-- information and metadata about a function, use
-- DescribeFunction.
--
-- To get a function's code, you must provide the function's name and
-- stage. To get these values, you can use ListFunctions.
module Amazonka.CloudFront.GetFunction
-- | See: newGetFunction smart constructor.
data GetFunction
GetFunction' :: Maybe FunctionStage -> Text -> GetFunction
-- | The function's stage, either DEVELOPMENT or LIVE.
[$sel:stage:GetFunction'] :: GetFunction -> Maybe FunctionStage
-- | The name of the function whose code you are getting.
[$sel:name:GetFunction'] :: GetFunction -> Text
-- | Create a value of GetFunction with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetFunction, getFunction_stage - The function's stage,
-- either DEVELOPMENT or LIVE.
--
-- GetFunction, getFunction_name - The name of the function
-- whose code you are getting.
newGetFunction :: Text -> GetFunction
-- | The function's stage, either DEVELOPMENT or LIVE.
getFunction_stage :: Lens' GetFunction (Maybe FunctionStage)
-- | The name of the function whose code you are getting.
getFunction_name :: Lens' GetFunction Text
-- | See: newGetFunctionResponse smart constructor.
data GetFunctionResponse
GetFunctionResponse' :: Maybe Text -> Maybe Text -> Maybe (Sensitive ByteString) -> Int -> GetFunctionResponse
-- | The content type (media type) of the response.
[$sel:contentType:GetFunctionResponse'] :: GetFunctionResponse -> Maybe Text
-- | The version identifier for the current version of the CloudFront
-- function.
[$sel:eTag:GetFunctionResponse'] :: GetFunctionResponse -> Maybe Text
-- | The function code of a CloudFront function.
[$sel:functionCode:GetFunctionResponse'] :: GetFunctionResponse -> Maybe (Sensitive ByteString)
-- | The response's http status code.
[$sel:httpStatus:GetFunctionResponse'] :: GetFunctionResponse -> Int
-- | Create a value of GetFunctionResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetFunctionResponse, getFunctionResponse_contentType -
-- The content type (media type) of the response.
--
-- $sel:eTag:GetFunctionResponse', getFunctionResponse_eTag
-- - The version identifier for the current version of the CloudFront
-- function.
--
-- $sel:functionCode:GetFunctionResponse',
-- getFunctionResponse_functionCode - The function code of a
-- CloudFront function.
--
-- $sel:httpStatus:GetFunctionResponse',
-- getFunctionResponse_httpStatus - The response's http status
-- code.
newGetFunctionResponse :: Int -> GetFunctionResponse
-- | The content type (media type) of the response.
getFunctionResponse_contentType :: Lens' GetFunctionResponse (Maybe Text)
-- | The version identifier for the current version of the CloudFront
-- function.
getFunctionResponse_eTag :: Lens' GetFunctionResponse (Maybe Text)
-- | The function code of a CloudFront function.
getFunctionResponse_functionCode :: Lens' GetFunctionResponse (Maybe ByteString)
-- | The response's http status code.
getFunctionResponse_httpStatus :: Lens' GetFunctionResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetFunction.GetFunction
instance GHC.Show.Show Amazonka.CloudFront.GetFunction.GetFunction
instance GHC.Read.Read Amazonka.CloudFront.GetFunction.GetFunction
instance GHC.Classes.Eq Amazonka.CloudFront.GetFunction.GetFunction
instance GHC.Generics.Generic Amazonka.CloudFront.GetFunction.GetFunctionResponse
instance GHC.Show.Show Amazonka.CloudFront.GetFunction.GetFunctionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetFunction.GetFunctionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetFunction.GetFunction
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetFunction.GetFunctionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetFunction.GetFunction
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetFunction.GetFunction
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetFunction.GetFunction
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetFunction.GetFunction
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetFunction.GetFunction
-- | Get the field-level encryption profile configuration information.
module Amazonka.CloudFront.GetFieldLevelEncryptionProfileConfig
-- | See: newGetFieldLevelEncryptionProfileConfig smart
-- constructor.
data GetFieldLevelEncryptionProfileConfig
GetFieldLevelEncryptionProfileConfig' :: Text -> GetFieldLevelEncryptionProfileConfig
-- | Get the ID for the field-level encryption profile configuration
-- information.
[$sel:id:GetFieldLevelEncryptionProfileConfig'] :: GetFieldLevelEncryptionProfileConfig -> Text
-- | Create a value of GetFieldLevelEncryptionProfileConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetFieldLevelEncryptionProfileConfig,
-- getFieldLevelEncryptionProfileConfig_id - Get the ID for the
-- field-level encryption profile configuration information.
newGetFieldLevelEncryptionProfileConfig :: Text -> GetFieldLevelEncryptionProfileConfig
-- | Get the ID for the field-level encryption profile configuration
-- information.
getFieldLevelEncryptionProfileConfig_id :: Lens' GetFieldLevelEncryptionProfileConfig Text
-- | See: newGetFieldLevelEncryptionProfileConfigResponse
-- smart constructor.
data GetFieldLevelEncryptionProfileConfigResponse
GetFieldLevelEncryptionProfileConfigResponse' :: Maybe Text -> Maybe FieldLevelEncryptionProfileConfig -> Int -> GetFieldLevelEncryptionProfileConfigResponse
-- | The current version of the field-level encryption profile
-- configuration result. For example: E2QWRUHAPOMQZL.
[$sel:eTag:GetFieldLevelEncryptionProfileConfigResponse'] :: GetFieldLevelEncryptionProfileConfigResponse -> Maybe Text
-- | Return the field-level encryption profile configuration information.
[$sel:fieldLevelEncryptionProfileConfig:GetFieldLevelEncryptionProfileConfigResponse'] :: GetFieldLevelEncryptionProfileConfigResponse -> Maybe FieldLevelEncryptionProfileConfig
-- | The response's http status code.
[$sel:httpStatus:GetFieldLevelEncryptionProfileConfigResponse'] :: GetFieldLevelEncryptionProfileConfigResponse -> Int
-- | Create a value of GetFieldLevelEncryptionProfileConfigResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetFieldLevelEncryptionProfileConfigResponse',
-- getFieldLevelEncryptionProfileConfigResponse_eTag - The current
-- version of the field-level encryption profile configuration result.
-- For example: E2QWRUHAPOMQZL.
--
-- GetFieldLevelEncryptionProfileConfigResponse,
-- getFieldLevelEncryptionProfileConfigResponse_fieldLevelEncryptionProfileConfig
-- - Return the field-level encryption profile configuration information.
--
-- $sel:httpStatus:GetFieldLevelEncryptionProfileConfigResponse',
-- getFieldLevelEncryptionProfileConfigResponse_httpStatus - The
-- response's http status code.
newGetFieldLevelEncryptionProfileConfigResponse :: Int -> GetFieldLevelEncryptionProfileConfigResponse
-- | The current version of the field-level encryption profile
-- configuration result. For example: E2QWRUHAPOMQZL.
getFieldLevelEncryptionProfileConfigResponse_eTag :: Lens' GetFieldLevelEncryptionProfileConfigResponse (Maybe Text)
-- | Return the field-level encryption profile configuration information.
getFieldLevelEncryptionProfileConfigResponse_fieldLevelEncryptionProfileConfig :: Lens' GetFieldLevelEncryptionProfileConfigResponse (Maybe FieldLevelEncryptionProfileConfig)
-- | The response's http status code.
getFieldLevelEncryptionProfileConfigResponse_httpStatus :: Lens' GetFieldLevelEncryptionProfileConfigResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetFieldLevelEncryptionProfileConfig.GetFieldLevelEncryptionProfileConfig
instance GHC.Show.Show Amazonka.CloudFront.GetFieldLevelEncryptionProfileConfig.GetFieldLevelEncryptionProfileConfig
instance GHC.Read.Read Amazonka.CloudFront.GetFieldLevelEncryptionProfileConfig.GetFieldLevelEncryptionProfileConfig
instance GHC.Classes.Eq Amazonka.CloudFront.GetFieldLevelEncryptionProfileConfig.GetFieldLevelEncryptionProfileConfig
instance GHC.Generics.Generic Amazonka.CloudFront.GetFieldLevelEncryptionProfileConfig.GetFieldLevelEncryptionProfileConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.GetFieldLevelEncryptionProfileConfig.GetFieldLevelEncryptionProfileConfigResponse
instance GHC.Read.Read Amazonka.CloudFront.GetFieldLevelEncryptionProfileConfig.GetFieldLevelEncryptionProfileConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetFieldLevelEncryptionProfileConfig.GetFieldLevelEncryptionProfileConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetFieldLevelEncryptionProfileConfig.GetFieldLevelEncryptionProfileConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetFieldLevelEncryptionProfileConfig.GetFieldLevelEncryptionProfileConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetFieldLevelEncryptionProfileConfig.GetFieldLevelEncryptionProfileConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetFieldLevelEncryptionProfileConfig.GetFieldLevelEncryptionProfileConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetFieldLevelEncryptionProfileConfig.GetFieldLevelEncryptionProfileConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetFieldLevelEncryptionProfileConfig.GetFieldLevelEncryptionProfileConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetFieldLevelEncryptionProfileConfig.GetFieldLevelEncryptionProfileConfig
-- | Get the field-level encryption profile information.
module Amazonka.CloudFront.GetFieldLevelEncryptionProfile
-- | See: newGetFieldLevelEncryptionProfile smart
-- constructor.
data GetFieldLevelEncryptionProfile
GetFieldLevelEncryptionProfile' :: Text -> GetFieldLevelEncryptionProfile
-- | Get the ID for the field-level encryption profile information.
[$sel:id:GetFieldLevelEncryptionProfile'] :: GetFieldLevelEncryptionProfile -> Text
-- | Create a value of GetFieldLevelEncryptionProfile with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetFieldLevelEncryptionProfile,
-- getFieldLevelEncryptionProfile_id - Get the ID for the
-- field-level encryption profile information.
newGetFieldLevelEncryptionProfile :: Text -> GetFieldLevelEncryptionProfile
-- | Get the ID for the field-level encryption profile information.
getFieldLevelEncryptionProfile_id :: Lens' GetFieldLevelEncryptionProfile Text
-- | See: newGetFieldLevelEncryptionProfileResponse smart
-- constructor.
data GetFieldLevelEncryptionProfileResponse
GetFieldLevelEncryptionProfileResponse' :: Maybe Text -> Maybe FieldLevelEncryptionProfile -> Int -> GetFieldLevelEncryptionProfileResponse
-- | The current version of the field level encryption profile. For
-- example: E2QWRUHAPOMQZL.
[$sel:eTag:GetFieldLevelEncryptionProfileResponse'] :: GetFieldLevelEncryptionProfileResponse -> Maybe Text
-- | Return the field-level encryption profile information.
[$sel:fieldLevelEncryptionProfile:GetFieldLevelEncryptionProfileResponse'] :: GetFieldLevelEncryptionProfileResponse -> Maybe FieldLevelEncryptionProfile
-- | The response's http status code.
[$sel:httpStatus:GetFieldLevelEncryptionProfileResponse'] :: GetFieldLevelEncryptionProfileResponse -> Int
-- | Create a value of GetFieldLevelEncryptionProfileResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetFieldLevelEncryptionProfileResponse',
-- getFieldLevelEncryptionProfileResponse_eTag - The current
-- version of the field level encryption profile. For example:
-- E2QWRUHAPOMQZL.
--
--
-- $sel:fieldLevelEncryptionProfile:GetFieldLevelEncryptionProfileResponse',
-- getFieldLevelEncryptionProfileResponse_fieldLevelEncryptionProfile
-- - Return the field-level encryption profile information.
--
-- $sel:httpStatus:GetFieldLevelEncryptionProfileResponse',
-- getFieldLevelEncryptionProfileResponse_httpStatus - The
-- response's http status code.
newGetFieldLevelEncryptionProfileResponse :: Int -> GetFieldLevelEncryptionProfileResponse
-- | The current version of the field level encryption profile. For
-- example: E2QWRUHAPOMQZL.
getFieldLevelEncryptionProfileResponse_eTag :: Lens' GetFieldLevelEncryptionProfileResponse (Maybe Text)
-- | Return the field-level encryption profile information.
getFieldLevelEncryptionProfileResponse_fieldLevelEncryptionProfile :: Lens' GetFieldLevelEncryptionProfileResponse (Maybe FieldLevelEncryptionProfile)
-- | The response's http status code.
getFieldLevelEncryptionProfileResponse_httpStatus :: Lens' GetFieldLevelEncryptionProfileResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetFieldLevelEncryptionProfile.GetFieldLevelEncryptionProfile
instance GHC.Show.Show Amazonka.CloudFront.GetFieldLevelEncryptionProfile.GetFieldLevelEncryptionProfile
instance GHC.Read.Read Amazonka.CloudFront.GetFieldLevelEncryptionProfile.GetFieldLevelEncryptionProfile
instance GHC.Classes.Eq Amazonka.CloudFront.GetFieldLevelEncryptionProfile.GetFieldLevelEncryptionProfile
instance GHC.Generics.Generic Amazonka.CloudFront.GetFieldLevelEncryptionProfile.GetFieldLevelEncryptionProfileResponse
instance GHC.Show.Show Amazonka.CloudFront.GetFieldLevelEncryptionProfile.GetFieldLevelEncryptionProfileResponse
instance GHC.Read.Read Amazonka.CloudFront.GetFieldLevelEncryptionProfile.GetFieldLevelEncryptionProfileResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetFieldLevelEncryptionProfile.GetFieldLevelEncryptionProfileResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetFieldLevelEncryptionProfile.GetFieldLevelEncryptionProfile
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetFieldLevelEncryptionProfile.GetFieldLevelEncryptionProfileResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetFieldLevelEncryptionProfile.GetFieldLevelEncryptionProfile
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetFieldLevelEncryptionProfile.GetFieldLevelEncryptionProfile
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetFieldLevelEncryptionProfile.GetFieldLevelEncryptionProfile
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetFieldLevelEncryptionProfile.GetFieldLevelEncryptionProfile
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetFieldLevelEncryptionProfile.GetFieldLevelEncryptionProfile
-- | Get the field-level encryption configuration information.
module Amazonka.CloudFront.GetFieldLevelEncryptionConfig
-- | See: newGetFieldLevelEncryptionConfig smart constructor.
data GetFieldLevelEncryptionConfig
GetFieldLevelEncryptionConfig' :: Text -> GetFieldLevelEncryptionConfig
-- | Request the ID for the field-level encryption configuration
-- information.
[$sel:id:GetFieldLevelEncryptionConfig'] :: GetFieldLevelEncryptionConfig -> Text
-- | Create a value of GetFieldLevelEncryptionConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetFieldLevelEncryptionConfig,
-- getFieldLevelEncryptionConfig_id - Request the ID for the
-- field-level encryption configuration information.
newGetFieldLevelEncryptionConfig :: Text -> GetFieldLevelEncryptionConfig
-- | Request the ID for the field-level encryption configuration
-- information.
getFieldLevelEncryptionConfig_id :: Lens' GetFieldLevelEncryptionConfig Text
-- | See: newGetFieldLevelEncryptionConfigResponse smart
-- constructor.
data GetFieldLevelEncryptionConfigResponse
GetFieldLevelEncryptionConfigResponse' :: Maybe Text -> Maybe FieldLevelEncryptionConfig -> Int -> GetFieldLevelEncryptionConfigResponse
-- | The current version of the field level encryption configuration. For
-- example: E2QWRUHAPOMQZL.
[$sel:eTag:GetFieldLevelEncryptionConfigResponse'] :: GetFieldLevelEncryptionConfigResponse -> Maybe Text
-- | Return the field-level encryption configuration information.
[$sel:fieldLevelEncryptionConfig:GetFieldLevelEncryptionConfigResponse'] :: GetFieldLevelEncryptionConfigResponse -> Maybe FieldLevelEncryptionConfig
-- | The response's http status code.
[$sel:httpStatus:GetFieldLevelEncryptionConfigResponse'] :: GetFieldLevelEncryptionConfigResponse -> Int
-- | Create a value of GetFieldLevelEncryptionConfigResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetFieldLevelEncryptionConfigResponse',
-- getFieldLevelEncryptionConfigResponse_eTag - The current
-- version of the field level encryption configuration. For example:
-- E2QWRUHAPOMQZL.
--
-- GetFieldLevelEncryptionConfigResponse,
-- getFieldLevelEncryptionConfigResponse_fieldLevelEncryptionConfig
-- - Return the field-level encryption configuration information.
--
-- $sel:httpStatus:GetFieldLevelEncryptionConfigResponse',
-- getFieldLevelEncryptionConfigResponse_httpStatus - The
-- response's http status code.
newGetFieldLevelEncryptionConfigResponse :: Int -> GetFieldLevelEncryptionConfigResponse
-- | The current version of the field level encryption configuration. For
-- example: E2QWRUHAPOMQZL.
getFieldLevelEncryptionConfigResponse_eTag :: Lens' GetFieldLevelEncryptionConfigResponse (Maybe Text)
-- | Return the field-level encryption configuration information.
getFieldLevelEncryptionConfigResponse_fieldLevelEncryptionConfig :: Lens' GetFieldLevelEncryptionConfigResponse (Maybe FieldLevelEncryptionConfig)
-- | The response's http status code.
getFieldLevelEncryptionConfigResponse_httpStatus :: Lens' GetFieldLevelEncryptionConfigResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetFieldLevelEncryptionConfig.GetFieldLevelEncryptionConfig
instance GHC.Show.Show Amazonka.CloudFront.GetFieldLevelEncryptionConfig.GetFieldLevelEncryptionConfig
instance GHC.Read.Read Amazonka.CloudFront.GetFieldLevelEncryptionConfig.GetFieldLevelEncryptionConfig
instance GHC.Classes.Eq Amazonka.CloudFront.GetFieldLevelEncryptionConfig.GetFieldLevelEncryptionConfig
instance GHC.Generics.Generic Amazonka.CloudFront.GetFieldLevelEncryptionConfig.GetFieldLevelEncryptionConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.GetFieldLevelEncryptionConfig.GetFieldLevelEncryptionConfigResponse
instance GHC.Read.Read Amazonka.CloudFront.GetFieldLevelEncryptionConfig.GetFieldLevelEncryptionConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetFieldLevelEncryptionConfig.GetFieldLevelEncryptionConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetFieldLevelEncryptionConfig.GetFieldLevelEncryptionConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetFieldLevelEncryptionConfig.GetFieldLevelEncryptionConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetFieldLevelEncryptionConfig.GetFieldLevelEncryptionConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetFieldLevelEncryptionConfig.GetFieldLevelEncryptionConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetFieldLevelEncryptionConfig.GetFieldLevelEncryptionConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetFieldLevelEncryptionConfig.GetFieldLevelEncryptionConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetFieldLevelEncryptionConfig.GetFieldLevelEncryptionConfig
-- | Get the field-level encryption configuration information.
module Amazonka.CloudFront.GetFieldLevelEncryption
-- | See: newGetFieldLevelEncryption smart constructor.
data GetFieldLevelEncryption
GetFieldLevelEncryption' :: Text -> GetFieldLevelEncryption
-- | Request the ID for the field-level encryption configuration
-- information.
[$sel:id:GetFieldLevelEncryption'] :: GetFieldLevelEncryption -> Text
-- | Create a value of GetFieldLevelEncryption with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetFieldLevelEncryption, getFieldLevelEncryption_id -
-- Request the ID for the field-level encryption configuration
-- information.
newGetFieldLevelEncryption :: Text -> GetFieldLevelEncryption
-- | Request the ID for the field-level encryption configuration
-- information.
getFieldLevelEncryption_id :: Lens' GetFieldLevelEncryption Text
-- | See: newGetFieldLevelEncryptionResponse smart
-- constructor.
data GetFieldLevelEncryptionResponse
GetFieldLevelEncryptionResponse' :: Maybe Text -> Maybe FieldLevelEncryption -> Int -> GetFieldLevelEncryptionResponse
-- | The current version of the field level encryption configuration. For
-- example: E2QWRUHAPOMQZL.
[$sel:eTag:GetFieldLevelEncryptionResponse'] :: GetFieldLevelEncryptionResponse -> Maybe Text
-- | Return the field-level encryption configuration information.
[$sel:fieldLevelEncryption:GetFieldLevelEncryptionResponse'] :: GetFieldLevelEncryptionResponse -> Maybe FieldLevelEncryption
-- | The response's http status code.
[$sel:httpStatus:GetFieldLevelEncryptionResponse'] :: GetFieldLevelEncryptionResponse -> Int
-- | Create a value of GetFieldLevelEncryptionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetFieldLevelEncryptionResponse',
-- getFieldLevelEncryptionResponse_eTag - The current version of
-- the field level encryption configuration. For example:
-- E2QWRUHAPOMQZL.
--
-- $sel:fieldLevelEncryption:GetFieldLevelEncryptionResponse',
-- getFieldLevelEncryptionResponse_fieldLevelEncryption - Return
-- the field-level encryption configuration information.
--
-- $sel:httpStatus:GetFieldLevelEncryptionResponse',
-- getFieldLevelEncryptionResponse_httpStatus - The response's
-- http status code.
newGetFieldLevelEncryptionResponse :: Int -> GetFieldLevelEncryptionResponse
-- | The current version of the field level encryption configuration. For
-- example: E2QWRUHAPOMQZL.
getFieldLevelEncryptionResponse_eTag :: Lens' GetFieldLevelEncryptionResponse (Maybe Text)
-- | Return the field-level encryption configuration information.
getFieldLevelEncryptionResponse_fieldLevelEncryption :: Lens' GetFieldLevelEncryptionResponse (Maybe FieldLevelEncryption)
-- | The response's http status code.
getFieldLevelEncryptionResponse_httpStatus :: Lens' GetFieldLevelEncryptionResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetFieldLevelEncryption.GetFieldLevelEncryption
instance GHC.Show.Show Amazonka.CloudFront.GetFieldLevelEncryption.GetFieldLevelEncryption
instance GHC.Read.Read Amazonka.CloudFront.GetFieldLevelEncryption.GetFieldLevelEncryption
instance GHC.Classes.Eq Amazonka.CloudFront.GetFieldLevelEncryption.GetFieldLevelEncryption
instance GHC.Generics.Generic Amazonka.CloudFront.GetFieldLevelEncryption.GetFieldLevelEncryptionResponse
instance GHC.Show.Show Amazonka.CloudFront.GetFieldLevelEncryption.GetFieldLevelEncryptionResponse
instance GHC.Read.Read Amazonka.CloudFront.GetFieldLevelEncryption.GetFieldLevelEncryptionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetFieldLevelEncryption.GetFieldLevelEncryptionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetFieldLevelEncryption.GetFieldLevelEncryption
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetFieldLevelEncryption.GetFieldLevelEncryptionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetFieldLevelEncryption.GetFieldLevelEncryption
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetFieldLevelEncryption.GetFieldLevelEncryption
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetFieldLevelEncryption.GetFieldLevelEncryption
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetFieldLevelEncryption.GetFieldLevelEncryption
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetFieldLevelEncryption.GetFieldLevelEncryption
-- | Get the configuration information about a distribution.
module Amazonka.CloudFront.GetDistributionConfig
-- | The request to get a distribution configuration.
--
-- See: newGetDistributionConfig smart constructor.
data GetDistributionConfig
GetDistributionConfig' :: Text -> GetDistributionConfig
-- | The distribution's ID. If the ID is empty, an empty distribution
-- configuration is returned.
[$sel:id:GetDistributionConfig'] :: GetDistributionConfig -> Text
-- | Create a value of GetDistributionConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetDistributionConfig, getDistributionConfig_id - The
-- distribution's ID. If the ID is empty, an empty distribution
-- configuration is returned.
newGetDistributionConfig :: Text -> GetDistributionConfig
-- | The distribution's ID. If the ID is empty, an empty distribution
-- configuration is returned.
getDistributionConfig_id :: Lens' GetDistributionConfig Text
-- | The returned result of the corresponding request.
--
-- See: newGetDistributionConfigResponse smart constructor.
data GetDistributionConfigResponse
GetDistributionConfigResponse' :: Maybe DistributionConfig -> Maybe Text -> Int -> GetDistributionConfigResponse
-- | The distribution's configuration information.
[$sel:distributionConfig:GetDistributionConfigResponse'] :: GetDistributionConfigResponse -> Maybe DistributionConfig
-- | The current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
[$sel:eTag:GetDistributionConfigResponse'] :: GetDistributionConfigResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetDistributionConfigResponse'] :: GetDistributionConfigResponse -> Int
-- | Create a value of GetDistributionConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetDistributionConfigResponse,
-- getDistributionConfigResponse_distributionConfig - The
-- distribution's configuration information.
--
-- $sel:eTag:GetDistributionConfigResponse',
-- getDistributionConfigResponse_eTag - The current version of the
-- configuration. For example: E2QWRUHAPOMQZL.
--
-- $sel:httpStatus:GetDistributionConfigResponse',
-- getDistributionConfigResponse_httpStatus - The response's http
-- status code.
newGetDistributionConfigResponse :: Int -> GetDistributionConfigResponse
-- | The distribution's configuration information.
getDistributionConfigResponse_distributionConfig :: Lens' GetDistributionConfigResponse (Maybe DistributionConfig)
-- | The current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
getDistributionConfigResponse_eTag :: Lens' GetDistributionConfigResponse (Maybe Text)
-- | The response's http status code.
getDistributionConfigResponse_httpStatus :: Lens' GetDistributionConfigResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetDistributionConfig.GetDistributionConfig
instance GHC.Show.Show Amazonka.CloudFront.GetDistributionConfig.GetDistributionConfig
instance GHC.Read.Read Amazonka.CloudFront.GetDistributionConfig.GetDistributionConfig
instance GHC.Classes.Eq Amazonka.CloudFront.GetDistributionConfig.GetDistributionConfig
instance GHC.Generics.Generic Amazonka.CloudFront.GetDistributionConfig.GetDistributionConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.GetDistributionConfig.GetDistributionConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetDistributionConfig.GetDistributionConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetDistributionConfig.GetDistributionConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetDistributionConfig.GetDistributionConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetDistributionConfig.GetDistributionConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetDistributionConfig.GetDistributionConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetDistributionConfig.GetDistributionConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetDistributionConfig.GetDistributionConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetDistributionConfig.GetDistributionConfig
-- | Get the information about a distribution.
module Amazonka.CloudFront.GetDistribution
-- | The request to get a distribution's information.
--
-- See: newGetDistribution smart constructor.
data GetDistribution
GetDistribution' :: Text -> GetDistribution
-- | The distribution's ID. If the ID is empty, an empty distribution
-- configuration is returned.
[$sel:id:GetDistribution'] :: GetDistribution -> Text
-- | Create a value of GetDistribution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetDistribution, getDistribution_id - The distribution's
-- ID. If the ID is empty, an empty distribution configuration is
-- returned.
newGetDistribution :: Text -> GetDistribution
-- | The distribution's ID. If the ID is empty, an empty distribution
-- configuration is returned.
getDistribution_id :: Lens' GetDistribution Text
-- | The returned result of the corresponding request.
--
-- See: newGetDistributionResponse smart constructor.
data GetDistributionResponse
GetDistributionResponse' :: Maybe Distribution -> Maybe Text -> Int -> GetDistributionResponse
-- | The distribution's information.
[$sel:distribution:GetDistributionResponse'] :: GetDistributionResponse -> Maybe Distribution
-- | The current version of the distribution's information. For example:
-- E2QWRUHAPOMQZL.
[$sel:eTag:GetDistributionResponse'] :: GetDistributionResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetDistributionResponse'] :: GetDistributionResponse -> Int
-- | Create a value of GetDistributionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distribution:GetDistributionResponse',
-- getDistributionResponse_distribution - The distribution's
-- information.
--
-- $sel:eTag:GetDistributionResponse',
-- getDistributionResponse_eTag - The current version of the
-- distribution's information. For example: E2QWRUHAPOMQZL.
--
-- $sel:httpStatus:GetDistributionResponse',
-- getDistributionResponse_httpStatus - The response's http status
-- code.
newGetDistributionResponse :: Int -> GetDistributionResponse
-- | The distribution's information.
getDistributionResponse_distribution :: Lens' GetDistributionResponse (Maybe Distribution)
-- | The current version of the distribution's information. For example:
-- E2QWRUHAPOMQZL.
getDistributionResponse_eTag :: Lens' GetDistributionResponse (Maybe Text)
-- | The response's http status code.
getDistributionResponse_httpStatus :: Lens' GetDistributionResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetDistribution.GetDistribution
instance GHC.Show.Show Amazonka.CloudFront.GetDistribution.GetDistribution
instance GHC.Read.Read Amazonka.CloudFront.GetDistribution.GetDistribution
instance GHC.Classes.Eq Amazonka.CloudFront.GetDistribution.GetDistribution
instance GHC.Generics.Generic Amazonka.CloudFront.GetDistribution.GetDistributionResponse
instance GHC.Show.Show Amazonka.CloudFront.GetDistribution.GetDistributionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetDistribution.GetDistributionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetDistribution.GetDistribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetDistribution.GetDistributionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetDistribution.GetDistribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetDistribution.GetDistribution
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetDistribution.GetDistribution
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetDistribution.GetDistribution
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetDistribution.GetDistribution
-- | Gets configuration information about a continuous deployment policy.
module Amazonka.CloudFront.GetContinuousDeploymentPolicyConfig
-- | See: newGetContinuousDeploymentPolicyConfig smart
-- constructor.
data GetContinuousDeploymentPolicyConfig
GetContinuousDeploymentPolicyConfig' :: Text -> GetContinuousDeploymentPolicyConfig
-- | The identifier of the continuous deployment policy whose configuration
-- you are getting.
[$sel:id:GetContinuousDeploymentPolicyConfig'] :: GetContinuousDeploymentPolicyConfig -> Text
-- | Create a value of GetContinuousDeploymentPolicyConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetContinuousDeploymentPolicyConfig,
-- getContinuousDeploymentPolicyConfig_id - The identifier of the
-- continuous deployment policy whose configuration you are getting.
newGetContinuousDeploymentPolicyConfig :: Text -> GetContinuousDeploymentPolicyConfig
-- | The identifier of the continuous deployment policy whose configuration
-- you are getting.
getContinuousDeploymentPolicyConfig_id :: Lens' GetContinuousDeploymentPolicyConfig Text
-- | See: newGetContinuousDeploymentPolicyConfigResponse
-- smart constructor.
data GetContinuousDeploymentPolicyConfigResponse
GetContinuousDeploymentPolicyConfigResponse' :: Maybe ContinuousDeploymentPolicyConfig -> Maybe Text -> Int -> GetContinuousDeploymentPolicyConfigResponse
[$sel:continuousDeploymentPolicyConfig:GetContinuousDeploymentPolicyConfigResponse'] :: GetContinuousDeploymentPolicyConfigResponse -> Maybe ContinuousDeploymentPolicyConfig
-- | The version identifier for the current version of the continuous
-- deployment policy.
[$sel:eTag:GetContinuousDeploymentPolicyConfigResponse'] :: GetContinuousDeploymentPolicyConfigResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetContinuousDeploymentPolicyConfigResponse'] :: GetContinuousDeploymentPolicyConfigResponse -> Int
-- | Create a value of GetContinuousDeploymentPolicyConfigResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetContinuousDeploymentPolicyConfigResponse,
-- getContinuousDeploymentPolicyConfigResponse_continuousDeploymentPolicyConfig
-- - Undocumented member.
--
-- $sel:eTag:GetContinuousDeploymentPolicyConfigResponse',
-- getContinuousDeploymentPolicyConfigResponse_eTag - The version
-- identifier for the current version of the continuous deployment
-- policy.
--
-- $sel:httpStatus:GetContinuousDeploymentPolicyConfigResponse',
-- getContinuousDeploymentPolicyConfigResponse_httpStatus - The
-- response's http status code.
newGetContinuousDeploymentPolicyConfigResponse :: Int -> GetContinuousDeploymentPolicyConfigResponse
-- | Undocumented member.
getContinuousDeploymentPolicyConfigResponse_continuousDeploymentPolicyConfig :: Lens' GetContinuousDeploymentPolicyConfigResponse (Maybe ContinuousDeploymentPolicyConfig)
-- | The version identifier for the current version of the continuous
-- deployment policy.
getContinuousDeploymentPolicyConfigResponse_eTag :: Lens' GetContinuousDeploymentPolicyConfigResponse (Maybe Text)
-- | The response's http status code.
getContinuousDeploymentPolicyConfigResponse_httpStatus :: Lens' GetContinuousDeploymentPolicyConfigResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetContinuousDeploymentPolicyConfig.GetContinuousDeploymentPolicyConfig
instance GHC.Show.Show Amazonka.CloudFront.GetContinuousDeploymentPolicyConfig.GetContinuousDeploymentPolicyConfig
instance GHC.Read.Read Amazonka.CloudFront.GetContinuousDeploymentPolicyConfig.GetContinuousDeploymentPolicyConfig
instance GHC.Classes.Eq Amazonka.CloudFront.GetContinuousDeploymentPolicyConfig.GetContinuousDeploymentPolicyConfig
instance GHC.Generics.Generic Amazonka.CloudFront.GetContinuousDeploymentPolicyConfig.GetContinuousDeploymentPolicyConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.GetContinuousDeploymentPolicyConfig.GetContinuousDeploymentPolicyConfigResponse
instance GHC.Read.Read Amazonka.CloudFront.GetContinuousDeploymentPolicyConfig.GetContinuousDeploymentPolicyConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetContinuousDeploymentPolicyConfig.GetContinuousDeploymentPolicyConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetContinuousDeploymentPolicyConfig.GetContinuousDeploymentPolicyConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetContinuousDeploymentPolicyConfig.GetContinuousDeploymentPolicyConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetContinuousDeploymentPolicyConfig.GetContinuousDeploymentPolicyConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetContinuousDeploymentPolicyConfig.GetContinuousDeploymentPolicyConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetContinuousDeploymentPolicyConfig.GetContinuousDeploymentPolicyConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetContinuousDeploymentPolicyConfig.GetContinuousDeploymentPolicyConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetContinuousDeploymentPolicyConfig.GetContinuousDeploymentPolicyConfig
-- | Gets a continuous deployment policy, including metadata (the policy's
-- identifier and the date and time when the policy was last modified).
module Amazonka.CloudFront.GetContinuousDeploymentPolicy
-- | See: newGetContinuousDeploymentPolicy smart constructor.
data GetContinuousDeploymentPolicy
GetContinuousDeploymentPolicy' :: Text -> GetContinuousDeploymentPolicy
-- | The identifier of the continuous deployment policy that you are
-- getting.
[$sel:id:GetContinuousDeploymentPolicy'] :: GetContinuousDeploymentPolicy -> Text
-- | Create a value of GetContinuousDeploymentPolicy with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetContinuousDeploymentPolicy,
-- getContinuousDeploymentPolicy_id - The identifier of the
-- continuous deployment policy that you are getting.
newGetContinuousDeploymentPolicy :: Text -> GetContinuousDeploymentPolicy
-- | The identifier of the continuous deployment policy that you are
-- getting.
getContinuousDeploymentPolicy_id :: Lens' GetContinuousDeploymentPolicy Text
-- | See: newGetContinuousDeploymentPolicyResponse smart
-- constructor.
data GetContinuousDeploymentPolicyResponse
GetContinuousDeploymentPolicyResponse' :: Maybe ContinuousDeploymentPolicy -> Maybe Text -> Int -> GetContinuousDeploymentPolicyResponse
-- | A continuous deployment policy.
[$sel:continuousDeploymentPolicy:GetContinuousDeploymentPolicyResponse'] :: GetContinuousDeploymentPolicyResponse -> Maybe ContinuousDeploymentPolicy
-- | The version identifier for the current version of the continuous
-- deployment policy.
[$sel:eTag:GetContinuousDeploymentPolicyResponse'] :: GetContinuousDeploymentPolicyResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetContinuousDeploymentPolicyResponse'] :: GetContinuousDeploymentPolicyResponse -> Int
-- | Create a value of GetContinuousDeploymentPolicyResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetContinuousDeploymentPolicyResponse,
-- getContinuousDeploymentPolicyResponse_continuousDeploymentPolicy
-- - A continuous deployment policy.
--
-- $sel:eTag:GetContinuousDeploymentPolicyResponse',
-- getContinuousDeploymentPolicyResponse_eTag - The version
-- identifier for the current version of the continuous deployment
-- policy.
--
-- $sel:httpStatus:GetContinuousDeploymentPolicyResponse',
-- getContinuousDeploymentPolicyResponse_httpStatus - The
-- response's http status code.
newGetContinuousDeploymentPolicyResponse :: Int -> GetContinuousDeploymentPolicyResponse
-- | A continuous deployment policy.
getContinuousDeploymentPolicyResponse_continuousDeploymentPolicy :: Lens' GetContinuousDeploymentPolicyResponse (Maybe ContinuousDeploymentPolicy)
-- | The version identifier for the current version of the continuous
-- deployment policy.
getContinuousDeploymentPolicyResponse_eTag :: Lens' GetContinuousDeploymentPolicyResponse (Maybe Text)
-- | The response's http status code.
getContinuousDeploymentPolicyResponse_httpStatus :: Lens' GetContinuousDeploymentPolicyResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetContinuousDeploymentPolicy.GetContinuousDeploymentPolicy
instance GHC.Show.Show Amazonka.CloudFront.GetContinuousDeploymentPolicy.GetContinuousDeploymentPolicy
instance GHC.Read.Read Amazonka.CloudFront.GetContinuousDeploymentPolicy.GetContinuousDeploymentPolicy
instance GHC.Classes.Eq Amazonka.CloudFront.GetContinuousDeploymentPolicy.GetContinuousDeploymentPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.GetContinuousDeploymentPolicy.GetContinuousDeploymentPolicyResponse
instance GHC.Show.Show Amazonka.CloudFront.GetContinuousDeploymentPolicy.GetContinuousDeploymentPolicyResponse
instance GHC.Read.Read Amazonka.CloudFront.GetContinuousDeploymentPolicy.GetContinuousDeploymentPolicyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetContinuousDeploymentPolicy.GetContinuousDeploymentPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetContinuousDeploymentPolicy.GetContinuousDeploymentPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetContinuousDeploymentPolicy.GetContinuousDeploymentPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetContinuousDeploymentPolicy.GetContinuousDeploymentPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetContinuousDeploymentPolicy.GetContinuousDeploymentPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetContinuousDeploymentPolicy.GetContinuousDeploymentPolicy
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetContinuousDeploymentPolicy.GetContinuousDeploymentPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetContinuousDeploymentPolicy.GetContinuousDeploymentPolicy
-- | Get the configuration information about an origin access identity.
module Amazonka.CloudFront.GetCloudFrontOriginAccessIdentityConfig
-- | The origin access identity's configuration information. For more
-- information, see CloudFrontOriginAccessIdentityConfig.
--
-- See: newGetCloudFrontOriginAccessIdentityConfig smart
-- constructor.
data GetCloudFrontOriginAccessIdentityConfig
GetCloudFrontOriginAccessIdentityConfig' :: Text -> GetCloudFrontOriginAccessIdentityConfig
-- | The identity's ID.
[$sel:id:GetCloudFrontOriginAccessIdentityConfig'] :: GetCloudFrontOriginAccessIdentityConfig -> Text
-- | Create a value of GetCloudFrontOriginAccessIdentityConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetCloudFrontOriginAccessIdentityConfig,
-- getCloudFrontOriginAccessIdentityConfig_id - The identity's ID.
newGetCloudFrontOriginAccessIdentityConfig :: Text -> GetCloudFrontOriginAccessIdentityConfig
-- | The identity's ID.
getCloudFrontOriginAccessIdentityConfig_id :: Lens' GetCloudFrontOriginAccessIdentityConfig Text
-- | The returned result of the corresponding request.
--
-- See: newGetCloudFrontOriginAccessIdentityConfigResponse
-- smart constructor.
data GetCloudFrontOriginAccessIdentityConfigResponse
GetCloudFrontOriginAccessIdentityConfigResponse' :: Maybe CloudFrontOriginAccessIdentityConfig -> Maybe Text -> Int -> GetCloudFrontOriginAccessIdentityConfigResponse
-- | The origin access identity's configuration information.
[$sel:cloudFrontOriginAccessIdentityConfig:GetCloudFrontOriginAccessIdentityConfigResponse'] :: GetCloudFrontOriginAccessIdentityConfigResponse -> Maybe CloudFrontOriginAccessIdentityConfig
-- | The current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
[$sel:eTag:GetCloudFrontOriginAccessIdentityConfigResponse'] :: GetCloudFrontOriginAccessIdentityConfigResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetCloudFrontOriginAccessIdentityConfigResponse'] :: GetCloudFrontOriginAccessIdentityConfigResponse -> Int
-- | Create a value of
-- GetCloudFrontOriginAccessIdentityConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetCloudFrontOriginAccessIdentityConfigResponse,
-- getCloudFrontOriginAccessIdentityConfigResponse_cloudFrontOriginAccessIdentityConfig
-- - The origin access identity's configuration information.
--
-- $sel:eTag:GetCloudFrontOriginAccessIdentityConfigResponse',
-- getCloudFrontOriginAccessIdentityConfigResponse_eTag - The
-- current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
--
--
-- $sel:httpStatus:GetCloudFrontOriginAccessIdentityConfigResponse',
-- getCloudFrontOriginAccessIdentityConfigResponse_httpStatus -
-- The response's http status code.
newGetCloudFrontOriginAccessIdentityConfigResponse :: Int -> GetCloudFrontOriginAccessIdentityConfigResponse
-- | The origin access identity's configuration information.
getCloudFrontOriginAccessIdentityConfigResponse_cloudFrontOriginAccessIdentityConfig :: Lens' GetCloudFrontOriginAccessIdentityConfigResponse (Maybe CloudFrontOriginAccessIdentityConfig)
-- | The current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
getCloudFrontOriginAccessIdentityConfigResponse_eTag :: Lens' GetCloudFrontOriginAccessIdentityConfigResponse (Maybe Text)
-- | The response's http status code.
getCloudFrontOriginAccessIdentityConfigResponse_httpStatus :: Lens' GetCloudFrontOriginAccessIdentityConfigResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfig
instance GHC.Show.Show Amazonka.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfig
instance GHC.Read.Read Amazonka.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfig
instance GHC.Classes.Eq Amazonka.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfig
instance GHC.Generics.Generic Amazonka.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfigResponse
instance GHC.Read.Read Amazonka.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetCloudFrontOriginAccessIdentityConfig.GetCloudFrontOriginAccessIdentityConfig
-- | Get the information about an origin access identity.
module Amazonka.CloudFront.GetCloudFrontOriginAccessIdentity
-- | The request to get an origin access identity's information.
--
-- See: newGetCloudFrontOriginAccessIdentity smart
-- constructor.
data GetCloudFrontOriginAccessIdentity
GetCloudFrontOriginAccessIdentity' :: Text -> GetCloudFrontOriginAccessIdentity
-- | The identity's ID.
[$sel:id:GetCloudFrontOriginAccessIdentity'] :: GetCloudFrontOriginAccessIdentity -> Text
-- | Create a value of GetCloudFrontOriginAccessIdentity with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetCloudFrontOriginAccessIdentity,
-- getCloudFrontOriginAccessIdentity_id - The identity's ID.
newGetCloudFrontOriginAccessIdentity :: Text -> GetCloudFrontOriginAccessIdentity
-- | The identity's ID.
getCloudFrontOriginAccessIdentity_id :: Lens' GetCloudFrontOriginAccessIdentity Text
-- | The returned result of the corresponding request.
--
-- See: newGetCloudFrontOriginAccessIdentityResponse smart
-- constructor.
data GetCloudFrontOriginAccessIdentityResponse
GetCloudFrontOriginAccessIdentityResponse' :: Maybe CloudFrontOriginAccessIdentity -> Maybe Text -> Int -> GetCloudFrontOriginAccessIdentityResponse
-- | The origin access identity's information.
[$sel:cloudFrontOriginAccessIdentity:GetCloudFrontOriginAccessIdentityResponse'] :: GetCloudFrontOriginAccessIdentityResponse -> Maybe CloudFrontOriginAccessIdentity
-- | The current version of the origin access identity's information. For
-- example: E2QWRUHAPOMQZL.
[$sel:eTag:GetCloudFrontOriginAccessIdentityResponse'] :: GetCloudFrontOriginAccessIdentityResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetCloudFrontOriginAccessIdentityResponse'] :: GetCloudFrontOriginAccessIdentityResponse -> Int
-- | Create a value of GetCloudFrontOriginAccessIdentityResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:cloudFrontOriginAccessIdentity:GetCloudFrontOriginAccessIdentityResponse',
-- getCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity
-- - The origin access identity's information.
--
-- $sel:eTag:GetCloudFrontOriginAccessIdentityResponse',
-- getCloudFrontOriginAccessIdentityResponse_eTag - The current
-- version of the origin access identity's information. For example:
-- E2QWRUHAPOMQZL.
--
-- $sel:httpStatus:GetCloudFrontOriginAccessIdentityResponse',
-- getCloudFrontOriginAccessIdentityResponse_httpStatus - The
-- response's http status code.
newGetCloudFrontOriginAccessIdentityResponse :: Int -> GetCloudFrontOriginAccessIdentityResponse
-- | The origin access identity's information.
getCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity)
-- | The current version of the origin access identity's information. For
-- example: E2QWRUHAPOMQZL.
getCloudFrontOriginAccessIdentityResponse_eTag :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe Text)
-- | The response's http status code.
getCloudFrontOriginAccessIdentityResponse_httpStatus :: Lens' GetCloudFrontOriginAccessIdentityResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentity
instance GHC.Show.Show Amazonka.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentity
instance GHC.Read.Read Amazonka.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentity
instance GHC.Classes.Eq Amazonka.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentity
instance GHC.Generics.Generic Amazonka.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentityResponse
instance GHC.Show.Show Amazonka.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentityResponse
instance GHC.Read.Read Amazonka.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentityResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentityResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentity
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentityResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentity
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentity
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentity
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentity
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetCloudFrontOriginAccessIdentity.GetCloudFrontOriginAccessIdentity
-- | Gets a cache policy configuration.
--
-- To get a cache policy configuration, you must provide the policy's
-- identifier. If the cache policy is attached to a distribution's cache
-- behavior, you can get the policy's identifier using
-- ListDistributions or GetDistribution. If the cache
-- policy is not attached to a cache behavior, you can get the identifier
-- using ListCachePolicies.
module Amazonka.CloudFront.GetCachePolicyConfig
-- | See: newGetCachePolicyConfig smart constructor.
data GetCachePolicyConfig
GetCachePolicyConfig' :: Text -> GetCachePolicyConfig
-- | The unique identifier for the cache policy. If the cache policy is
-- attached to a distribution's cache behavior, you can get the policy's
-- identifier using ListDistributions or
-- GetDistribution. If the cache policy is not attached to a
-- cache behavior, you can get the identifier using
-- ListCachePolicies.
[$sel:id:GetCachePolicyConfig'] :: GetCachePolicyConfig -> Text
-- | Create a value of GetCachePolicyConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetCachePolicyConfig, getCachePolicyConfig_id - The
-- unique identifier for the cache policy. If the cache policy is
-- attached to a distribution's cache behavior, you can get the policy's
-- identifier using ListDistributions or
-- GetDistribution. If the cache policy is not attached to a
-- cache behavior, you can get the identifier using
-- ListCachePolicies.
newGetCachePolicyConfig :: Text -> GetCachePolicyConfig
-- | The unique identifier for the cache policy. If the cache policy is
-- attached to a distribution's cache behavior, you can get the policy's
-- identifier using ListDistributions or
-- GetDistribution. If the cache policy is not attached to a
-- cache behavior, you can get the identifier using
-- ListCachePolicies.
getCachePolicyConfig_id :: Lens' GetCachePolicyConfig Text
-- | See: newGetCachePolicyConfigResponse smart constructor.
data GetCachePolicyConfigResponse
GetCachePolicyConfigResponse' :: Maybe CachePolicyConfig -> Maybe Text -> Int -> GetCachePolicyConfigResponse
-- | The cache policy configuration.
[$sel:cachePolicyConfig:GetCachePolicyConfigResponse'] :: GetCachePolicyConfigResponse -> Maybe CachePolicyConfig
-- | The current version of the cache policy.
[$sel:eTag:GetCachePolicyConfigResponse'] :: GetCachePolicyConfigResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetCachePolicyConfigResponse'] :: GetCachePolicyConfigResponse -> Int
-- | Create a value of GetCachePolicyConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetCachePolicyConfigResponse,
-- getCachePolicyConfigResponse_cachePolicyConfig - The cache
-- policy configuration.
--
-- $sel:eTag:GetCachePolicyConfigResponse',
-- getCachePolicyConfigResponse_eTag - The current version of the
-- cache policy.
--
-- $sel:httpStatus:GetCachePolicyConfigResponse',
-- getCachePolicyConfigResponse_httpStatus - The response's http
-- status code.
newGetCachePolicyConfigResponse :: Int -> GetCachePolicyConfigResponse
-- | The cache policy configuration.
getCachePolicyConfigResponse_cachePolicyConfig :: Lens' GetCachePolicyConfigResponse (Maybe CachePolicyConfig)
-- | The current version of the cache policy.
getCachePolicyConfigResponse_eTag :: Lens' GetCachePolicyConfigResponse (Maybe Text)
-- | The response's http status code.
getCachePolicyConfigResponse_httpStatus :: Lens' GetCachePolicyConfigResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetCachePolicyConfig.GetCachePolicyConfig
instance GHC.Show.Show Amazonka.CloudFront.GetCachePolicyConfig.GetCachePolicyConfig
instance GHC.Read.Read Amazonka.CloudFront.GetCachePolicyConfig.GetCachePolicyConfig
instance GHC.Classes.Eq Amazonka.CloudFront.GetCachePolicyConfig.GetCachePolicyConfig
instance GHC.Generics.Generic Amazonka.CloudFront.GetCachePolicyConfig.GetCachePolicyConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.GetCachePolicyConfig.GetCachePolicyConfigResponse
instance GHC.Read.Read Amazonka.CloudFront.GetCachePolicyConfig.GetCachePolicyConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetCachePolicyConfig.GetCachePolicyConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetCachePolicyConfig.GetCachePolicyConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetCachePolicyConfig.GetCachePolicyConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetCachePolicyConfig.GetCachePolicyConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetCachePolicyConfig.GetCachePolicyConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetCachePolicyConfig.GetCachePolicyConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetCachePolicyConfig.GetCachePolicyConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetCachePolicyConfig.GetCachePolicyConfig
-- | Gets a cache policy, including the following metadata:
--
--
-- - The policy's identifier.
-- - The date and time when the policy was last modified.
--
--
-- To get a cache policy, you must provide the policy's identifier. If
-- the cache policy is attached to a distribution's cache behavior, you
-- can get the policy's identifier using ListDistributions or
-- GetDistribution. If the cache policy is not attached to a
-- cache behavior, you can get the identifier using
-- ListCachePolicies.
module Amazonka.CloudFront.GetCachePolicy
-- | See: newGetCachePolicy smart constructor.
data GetCachePolicy
GetCachePolicy' :: Text -> GetCachePolicy
-- | The unique identifier for the cache policy. If the cache policy is
-- attached to a distribution's cache behavior, you can get the policy's
-- identifier using ListDistributions or
-- GetDistribution. If the cache policy is not attached to a
-- cache behavior, you can get the identifier using
-- ListCachePolicies.
[$sel:id:GetCachePolicy'] :: GetCachePolicy -> Text
-- | Create a value of GetCachePolicy with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetCachePolicy, getCachePolicy_id - The unique
-- identifier for the cache policy. If the cache policy is attached to a
-- distribution's cache behavior, you can get the policy's identifier
-- using ListDistributions or GetDistribution. If the
-- cache policy is not attached to a cache behavior, you can get the
-- identifier using ListCachePolicies.
newGetCachePolicy :: Text -> GetCachePolicy
-- | The unique identifier for the cache policy. If the cache policy is
-- attached to a distribution's cache behavior, you can get the policy's
-- identifier using ListDistributions or
-- GetDistribution. If the cache policy is not attached to a
-- cache behavior, you can get the identifier using
-- ListCachePolicies.
getCachePolicy_id :: Lens' GetCachePolicy Text
-- | See: newGetCachePolicyResponse smart constructor.
data GetCachePolicyResponse
GetCachePolicyResponse' :: Maybe CachePolicy -> Maybe Text -> Int -> GetCachePolicyResponse
-- | The cache policy.
[$sel:cachePolicy:GetCachePolicyResponse'] :: GetCachePolicyResponse -> Maybe CachePolicy
-- | The current version of the cache policy.
[$sel:eTag:GetCachePolicyResponse'] :: GetCachePolicyResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetCachePolicyResponse'] :: GetCachePolicyResponse -> Int
-- | Create a value of GetCachePolicyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetCachePolicyResponse,
-- getCachePolicyResponse_cachePolicy - The cache policy.
--
-- $sel:eTag:GetCachePolicyResponse',
-- getCachePolicyResponse_eTag - The current version of the cache
-- policy.
--
-- $sel:httpStatus:GetCachePolicyResponse',
-- getCachePolicyResponse_httpStatus - The response's http status
-- code.
newGetCachePolicyResponse :: Int -> GetCachePolicyResponse
-- | The cache policy.
getCachePolicyResponse_cachePolicy :: Lens' GetCachePolicyResponse (Maybe CachePolicy)
-- | The current version of the cache policy.
getCachePolicyResponse_eTag :: Lens' GetCachePolicyResponse (Maybe Text)
-- | The response's http status code.
getCachePolicyResponse_httpStatus :: Lens' GetCachePolicyResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.GetCachePolicy.GetCachePolicy
instance GHC.Show.Show Amazonka.CloudFront.GetCachePolicy.GetCachePolicy
instance GHC.Read.Read Amazonka.CloudFront.GetCachePolicy.GetCachePolicy
instance GHC.Classes.Eq Amazonka.CloudFront.GetCachePolicy.GetCachePolicy
instance GHC.Generics.Generic Amazonka.CloudFront.GetCachePolicy.GetCachePolicyResponse
instance GHC.Show.Show Amazonka.CloudFront.GetCachePolicy.GetCachePolicyResponse
instance GHC.Read.Read Amazonka.CloudFront.GetCachePolicy.GetCachePolicyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.GetCachePolicy.GetCachePolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.GetCachePolicy.GetCachePolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetCachePolicy.GetCachePolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.GetCachePolicy.GetCachePolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.GetCachePolicy.GetCachePolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.GetCachePolicy.GetCachePolicy
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.GetCachePolicy.GetCachePolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.GetCachePolicy.GetCachePolicy
-- | Gets configuration information and metadata about a CloudFront
-- function, but not the function's code. To get a function's code, use
-- GetFunction.
--
-- To get configuration information and metadata about a function, you
-- must provide the function's name and stage. To get these values, you
-- can use ListFunctions.
module Amazonka.CloudFront.DescribeFunction
-- | See: newDescribeFunction smart constructor.
data DescribeFunction
DescribeFunction' :: Maybe FunctionStage -> Text -> DescribeFunction
-- | The function's stage, either DEVELOPMENT or LIVE.
[$sel:stage:DescribeFunction'] :: DescribeFunction -> Maybe FunctionStage
-- | The name of the function that you are getting information about.
[$sel:name:DescribeFunction'] :: DescribeFunction -> Text
-- | Create a value of DescribeFunction with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeFunction, describeFunction_stage - The
-- function's stage, either DEVELOPMENT or LIVE.
--
-- DescribeFunction, describeFunction_name - The name of
-- the function that you are getting information about.
newDescribeFunction :: Text -> DescribeFunction
-- | The function's stage, either DEVELOPMENT or LIVE.
describeFunction_stage :: Lens' DescribeFunction (Maybe FunctionStage)
-- | The name of the function that you are getting information about.
describeFunction_name :: Lens' DescribeFunction Text
-- | See: newDescribeFunctionResponse smart constructor.
data DescribeFunctionResponse
DescribeFunctionResponse' :: Maybe Text -> Maybe FunctionSummary -> Int -> DescribeFunctionResponse
-- | The version identifier for the current version of the CloudFront
-- function.
[$sel:eTag:DescribeFunctionResponse'] :: DescribeFunctionResponse -> Maybe Text
-- | Contains configuration information and metadata about a CloudFront
-- function.
[$sel:functionSummary:DescribeFunctionResponse'] :: DescribeFunctionResponse -> Maybe FunctionSummary
-- | The response's http status code.
[$sel:httpStatus:DescribeFunctionResponse'] :: DescribeFunctionResponse -> Int
-- | Create a value of DescribeFunctionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:DescribeFunctionResponse',
-- describeFunctionResponse_eTag - The version identifier for the
-- current version of the CloudFront function.
--
-- DescribeFunctionResponse,
-- describeFunctionResponse_functionSummary - Contains
-- configuration information and metadata about a CloudFront function.
--
-- $sel:httpStatus:DescribeFunctionResponse',
-- describeFunctionResponse_httpStatus - The response's http
-- status code.
newDescribeFunctionResponse :: Int -> DescribeFunctionResponse
-- | The version identifier for the current version of the CloudFront
-- function.
describeFunctionResponse_eTag :: Lens' DescribeFunctionResponse (Maybe Text)
-- | Contains configuration information and metadata about a CloudFront
-- function.
describeFunctionResponse_functionSummary :: Lens' DescribeFunctionResponse (Maybe FunctionSummary)
-- | The response's http status code.
describeFunctionResponse_httpStatus :: Lens' DescribeFunctionResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.DescribeFunction.DescribeFunction
instance GHC.Show.Show Amazonka.CloudFront.DescribeFunction.DescribeFunction
instance GHC.Read.Read Amazonka.CloudFront.DescribeFunction.DescribeFunction
instance GHC.Classes.Eq Amazonka.CloudFront.DescribeFunction.DescribeFunction
instance GHC.Generics.Generic Amazonka.CloudFront.DescribeFunction.DescribeFunctionResponse
instance GHC.Show.Show Amazonka.CloudFront.DescribeFunction.DescribeFunctionResponse
instance GHC.Read.Read Amazonka.CloudFront.DescribeFunction.DescribeFunctionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.DescribeFunction.DescribeFunctionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.DescribeFunction.DescribeFunction
instance Control.DeepSeq.NFData Amazonka.CloudFront.DescribeFunction.DescribeFunctionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.DescribeFunction.DescribeFunction
instance Control.DeepSeq.NFData Amazonka.CloudFront.DescribeFunction.DescribeFunction
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.DescribeFunction.DescribeFunction
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.DescribeFunction.DescribeFunction
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.DescribeFunction.DescribeFunction
-- | Delete a streaming distribution. To delete an RTMP distribution using
-- the CloudFront API, perform the following steps.
--
-- To delete an RTMP distribution using the CloudFront API:
--
--
-- - Disable the RTMP distribution.
-- - Submit a GET Streaming Distribution Config request to get
-- the current configuration and the Etag header for the
-- distribution.
-- - Update the XML document that was returned in the response to your
-- GET Streaming Distribution Config request to change the value
-- of Enabled to false.
-- - Submit a PUT Streaming Distribution Config request to
-- update the configuration for your distribution. In the request body,
-- include the XML document that you updated in Step 3. Then set the
-- value of the HTTP If-Match header to the value of the
-- ETag header that CloudFront returned when you submitted the
-- GET Streaming Distribution Config request in Step 2.
-- - Review the response to the PUT Streaming Distribution
-- Config request to confirm that the distribution was successfully
-- disabled.
-- - Submit a GET Streaming Distribution Config request to
-- confirm that your changes have propagated. When propagation is
-- complete, the value of Status is Deployed.
-- - Submit a DELETE Streaming Distribution request. Set the
-- value of the HTTP If-Match header to the value of the
-- ETag header that CloudFront returned when you submitted the
-- GET Streaming Distribution Config request in Step 2.
-- - Review the response to your DELETE Streaming Distribution
-- request to confirm that the distribution was successfully
-- deleted.
--
--
-- For information about deleting a distribution using the CloudFront
-- console, see Deleting a Distribution in the Amazon
-- CloudFront Developer Guide.
module Amazonka.CloudFront.DeleteStreamingDistribution
-- | The request to delete a streaming distribution.
--
-- See: newDeleteStreamingDistribution smart constructor.
data DeleteStreamingDistribution
DeleteStreamingDistribution' :: Maybe Text -> Text -> DeleteStreamingDistribution
-- | The value of the ETag header that you received when you
-- disabled the streaming distribution. For example:
-- E2QWRUHAPOMQZL.
[$sel:ifMatch:DeleteStreamingDistribution'] :: DeleteStreamingDistribution -> Maybe Text
-- | The distribution ID.
[$sel:id:DeleteStreamingDistribution'] :: DeleteStreamingDistribution -> Text
-- | Create a value of DeleteStreamingDistribution with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteStreamingDistribution',
-- deleteStreamingDistribution_ifMatch - The value of the
-- ETag header that you received when you disabled the streaming
-- distribution. For example: E2QWRUHAPOMQZL.
--
-- DeleteStreamingDistribution,
-- deleteStreamingDistribution_id - The distribution ID.
newDeleteStreamingDistribution :: Text -> DeleteStreamingDistribution
-- | The value of the ETag header that you received when you
-- disabled the streaming distribution. For example:
-- E2QWRUHAPOMQZL.
deleteStreamingDistribution_ifMatch :: Lens' DeleteStreamingDistribution (Maybe Text)
-- | The distribution ID.
deleteStreamingDistribution_id :: Lens' DeleteStreamingDistribution Text
-- | See: newDeleteStreamingDistributionResponse smart
-- constructor.
data DeleteStreamingDistributionResponse
DeleteStreamingDistributionResponse' :: DeleteStreamingDistributionResponse
-- | Create a value of DeleteStreamingDistributionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteStreamingDistributionResponse :: DeleteStreamingDistributionResponse
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistribution
instance GHC.Show.Show Amazonka.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistribution
instance GHC.Read.Read Amazonka.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistribution
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistribution
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistributionResponse
instance GHC.Show.Show Amazonka.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistributionResponse
instance GHC.Read.Read Amazonka.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistributionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistributionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistributionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistribution
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistribution
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistribution
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.DeleteStreamingDistribution.DeleteStreamingDistribution
-- | Deletes a response headers policy.
--
-- You cannot delete a response headers policy if it's attached to a
-- cache behavior. First update your distributions to remove the response
-- headers policy from all cache behaviors, then delete the response
-- headers policy.
--
-- To delete a response headers policy, you must provide the policy's
-- identifier and version. To get these values, you can use
-- ListResponseHeadersPolicies or
-- GetResponseHeadersPolicy.
module Amazonka.CloudFront.DeleteResponseHeadersPolicy
-- | See: newDeleteResponseHeadersPolicy smart constructor.
data DeleteResponseHeadersPolicy
DeleteResponseHeadersPolicy' :: Maybe Text -> Text -> DeleteResponseHeadersPolicy
-- | The version of the response headers policy that you are deleting.
--
-- The version is the response headers policy's ETag value,
-- which you can get using ListResponseHeadersPolicies,
-- GetResponseHeadersPolicy, or
-- GetResponseHeadersPolicyConfig.
[$sel:ifMatch:DeleteResponseHeadersPolicy'] :: DeleteResponseHeadersPolicy -> Maybe Text
-- | The identifier for the response headers policy that you are deleting.
--
-- To get the identifier, you can use
-- ListResponseHeadersPolicies.
[$sel:id:DeleteResponseHeadersPolicy'] :: DeleteResponseHeadersPolicy -> Text
-- | Create a value of DeleteResponseHeadersPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteResponseHeadersPolicy',
-- deleteResponseHeadersPolicy_ifMatch - The version of the
-- response headers policy that you are deleting.
--
-- The version is the response headers policy's ETag value,
-- which you can get using ListResponseHeadersPolicies,
-- GetResponseHeadersPolicy, or
-- GetResponseHeadersPolicyConfig.
--
-- DeleteResponseHeadersPolicy,
-- deleteResponseHeadersPolicy_id - The identifier for the
-- response headers policy that you are deleting.
--
-- To get the identifier, you can use
-- ListResponseHeadersPolicies.
newDeleteResponseHeadersPolicy :: Text -> DeleteResponseHeadersPolicy
-- | The version of the response headers policy that you are deleting.
--
-- The version is the response headers policy's ETag value,
-- which you can get using ListResponseHeadersPolicies,
-- GetResponseHeadersPolicy, or
-- GetResponseHeadersPolicyConfig.
deleteResponseHeadersPolicy_ifMatch :: Lens' DeleteResponseHeadersPolicy (Maybe Text)
-- | The identifier for the response headers policy that you are deleting.
--
-- To get the identifier, you can use
-- ListResponseHeadersPolicies.
deleteResponseHeadersPolicy_id :: Lens' DeleteResponseHeadersPolicy Text
-- | See: newDeleteResponseHeadersPolicyResponse smart
-- constructor.
data DeleteResponseHeadersPolicyResponse
DeleteResponseHeadersPolicyResponse' :: DeleteResponseHeadersPolicyResponse
-- | Create a value of DeleteResponseHeadersPolicyResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteResponseHeadersPolicyResponse :: DeleteResponseHeadersPolicyResponse
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteResponseHeadersPolicy.DeleteResponseHeadersPolicy
instance GHC.Show.Show Amazonka.CloudFront.DeleteResponseHeadersPolicy.DeleteResponseHeadersPolicy
instance GHC.Read.Read Amazonka.CloudFront.DeleteResponseHeadersPolicy.DeleteResponseHeadersPolicy
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteResponseHeadersPolicy.DeleteResponseHeadersPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteResponseHeadersPolicy.DeleteResponseHeadersPolicyResponse
instance GHC.Show.Show Amazonka.CloudFront.DeleteResponseHeadersPolicy.DeleteResponseHeadersPolicyResponse
instance GHC.Read.Read Amazonka.CloudFront.DeleteResponseHeadersPolicy.DeleteResponseHeadersPolicyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteResponseHeadersPolicy.DeleteResponseHeadersPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.DeleteResponseHeadersPolicy.DeleteResponseHeadersPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteResponseHeadersPolicy.DeleteResponseHeadersPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.DeleteResponseHeadersPolicy.DeleteResponseHeadersPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteResponseHeadersPolicy.DeleteResponseHeadersPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.DeleteResponseHeadersPolicy.DeleteResponseHeadersPolicy
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.DeleteResponseHeadersPolicy.DeleteResponseHeadersPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.DeleteResponseHeadersPolicy.DeleteResponseHeadersPolicy
-- | Deletes a real-time log configuration.
--
-- You cannot delete a real-time log configuration if it's attached to a
-- cache behavior. First update your distributions to remove the
-- real-time log configuration from all cache behaviors, then delete the
-- real-time log configuration.
--
-- To delete a real-time log configuration, you can provide the
-- configuration's name or its Amazon Resource Name (ARN). You must
-- provide at least one. If you provide both, CloudFront uses the name to
-- identify the real-time log configuration to delete.
module Amazonka.CloudFront.DeleteRealtimeLogConfig
-- | See: newDeleteRealtimeLogConfig smart constructor.
data DeleteRealtimeLogConfig
DeleteRealtimeLogConfig' :: Maybe Text -> Maybe Text -> DeleteRealtimeLogConfig
-- | The Amazon Resource Name (ARN) of the real-time log configuration to
-- delete.
[$sel:arn:DeleteRealtimeLogConfig'] :: DeleteRealtimeLogConfig -> Maybe Text
-- | The name of the real-time log configuration to delete.
[$sel:name:DeleteRealtimeLogConfig'] :: DeleteRealtimeLogConfig -> Maybe Text
-- | Create a value of DeleteRealtimeLogConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteRealtimeLogConfig, deleteRealtimeLogConfig_arn -
-- The Amazon Resource Name (ARN) of the real-time log configuration to
-- delete.
--
-- DeleteRealtimeLogConfig, deleteRealtimeLogConfig_name -
-- The name of the real-time log configuration to delete.
newDeleteRealtimeLogConfig :: DeleteRealtimeLogConfig
-- | The Amazon Resource Name (ARN) of the real-time log configuration to
-- delete.
deleteRealtimeLogConfig_arn :: Lens' DeleteRealtimeLogConfig (Maybe Text)
-- | The name of the real-time log configuration to delete.
deleteRealtimeLogConfig_name :: Lens' DeleteRealtimeLogConfig (Maybe Text)
-- | See: newDeleteRealtimeLogConfigResponse smart
-- constructor.
data DeleteRealtimeLogConfigResponse
DeleteRealtimeLogConfigResponse' :: DeleteRealtimeLogConfigResponse
-- | Create a value of DeleteRealtimeLogConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteRealtimeLogConfigResponse :: DeleteRealtimeLogConfigResponse
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteRealtimeLogConfig.DeleteRealtimeLogConfig
instance GHC.Show.Show Amazonka.CloudFront.DeleteRealtimeLogConfig.DeleteRealtimeLogConfig
instance GHC.Read.Read Amazonka.CloudFront.DeleteRealtimeLogConfig.DeleteRealtimeLogConfig
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteRealtimeLogConfig.DeleteRealtimeLogConfig
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteRealtimeLogConfig.DeleteRealtimeLogConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.DeleteRealtimeLogConfig.DeleteRealtimeLogConfigResponse
instance GHC.Read.Read Amazonka.CloudFront.DeleteRealtimeLogConfig.DeleteRealtimeLogConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteRealtimeLogConfig.DeleteRealtimeLogConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.DeleteRealtimeLogConfig.DeleteRealtimeLogConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteRealtimeLogConfig.DeleteRealtimeLogConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.DeleteRealtimeLogConfig.DeleteRealtimeLogConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteRealtimeLogConfig.DeleteRealtimeLogConfig
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.DeleteRealtimeLogConfig.DeleteRealtimeLogConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.DeleteRealtimeLogConfig.DeleteRealtimeLogConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.DeleteRealtimeLogConfig.DeleteRealtimeLogConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.DeleteRealtimeLogConfig.DeleteRealtimeLogConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.DeleteRealtimeLogConfig.DeleteRealtimeLogConfig
-- | Remove a public key you previously added to CloudFront.
module Amazonka.CloudFront.DeletePublicKey
-- | See: newDeletePublicKey smart constructor.
data DeletePublicKey
DeletePublicKey' :: Maybe Text -> Text -> DeletePublicKey
-- | The value of the ETag header that you received when
-- retrieving the public key identity to delete. For example:
-- E2QWRUHAPOMQZL.
[$sel:ifMatch:DeletePublicKey'] :: DeletePublicKey -> Maybe Text
-- | The ID of the public key you want to remove from CloudFront.
[$sel:id:DeletePublicKey'] :: DeletePublicKey -> Text
-- | Create a value of DeletePublicKey with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeletePublicKey', deletePublicKey_ifMatch -
-- The value of the ETag header that you received when
-- retrieving the public key identity to delete. For example:
-- E2QWRUHAPOMQZL.
--
-- DeletePublicKey, deletePublicKey_id - The ID of the
-- public key you want to remove from CloudFront.
newDeletePublicKey :: Text -> DeletePublicKey
-- | The value of the ETag header that you received when
-- retrieving the public key identity to delete. For example:
-- E2QWRUHAPOMQZL.
deletePublicKey_ifMatch :: Lens' DeletePublicKey (Maybe Text)
-- | The ID of the public key you want to remove from CloudFront.
deletePublicKey_id :: Lens' DeletePublicKey Text
-- | See: newDeletePublicKeyResponse smart constructor.
data DeletePublicKeyResponse
DeletePublicKeyResponse' :: DeletePublicKeyResponse
-- | Create a value of DeletePublicKeyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeletePublicKeyResponse :: DeletePublicKeyResponse
instance GHC.Generics.Generic Amazonka.CloudFront.DeletePublicKey.DeletePublicKey
instance GHC.Show.Show Amazonka.CloudFront.DeletePublicKey.DeletePublicKey
instance GHC.Read.Read Amazonka.CloudFront.DeletePublicKey.DeletePublicKey
instance GHC.Classes.Eq Amazonka.CloudFront.DeletePublicKey.DeletePublicKey
instance GHC.Generics.Generic Amazonka.CloudFront.DeletePublicKey.DeletePublicKeyResponse
instance GHC.Show.Show Amazonka.CloudFront.DeletePublicKey.DeletePublicKeyResponse
instance GHC.Read.Read Amazonka.CloudFront.DeletePublicKey.DeletePublicKeyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.DeletePublicKey.DeletePublicKeyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.DeletePublicKey.DeletePublicKey
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeletePublicKey.DeletePublicKeyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.DeletePublicKey.DeletePublicKey
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeletePublicKey.DeletePublicKey
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.DeletePublicKey.DeletePublicKey
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.DeletePublicKey.DeletePublicKey
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.DeletePublicKey.DeletePublicKey
-- | Deletes an origin request policy.
--
-- You cannot delete an origin request policy if it's attached to any
-- cache behaviors. First update your distributions to remove the origin
-- request policy from all cache behaviors, then delete the origin
-- request policy.
--
-- To delete an origin request policy, you must provide the policy's
-- identifier and version. To get the identifier, you can use
-- ListOriginRequestPolicies or GetOriginRequestPolicy.
module Amazonka.CloudFront.DeleteOriginRequestPolicy
-- | See: newDeleteOriginRequestPolicy smart constructor.
data DeleteOriginRequestPolicy
DeleteOriginRequestPolicy' :: Maybe Text -> Text -> DeleteOriginRequestPolicy
-- | The version of the origin request policy that you are deleting. The
-- version is the origin request policy's ETag value, which you
-- can get using ListOriginRequestPolicies,
-- GetOriginRequestPolicy, or
-- GetOriginRequestPolicyConfig.
[$sel:ifMatch:DeleteOriginRequestPolicy'] :: DeleteOriginRequestPolicy -> Maybe Text
-- | The unique identifier for the origin request policy that you are
-- deleting. To get the identifier, you can use
-- ListOriginRequestPolicies.
[$sel:id:DeleteOriginRequestPolicy'] :: DeleteOriginRequestPolicy -> Text
-- | Create a value of DeleteOriginRequestPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteOriginRequestPolicy',
-- deleteOriginRequestPolicy_ifMatch - The version of the origin
-- request policy that you are deleting. The version is the origin
-- request policy's ETag value, which you can get using
-- ListOriginRequestPolicies, GetOriginRequestPolicy,
-- or GetOriginRequestPolicyConfig.
--
-- DeleteOriginRequestPolicy, deleteOriginRequestPolicy_id
-- - The unique identifier for the origin request policy that you are
-- deleting. To get the identifier, you can use
-- ListOriginRequestPolicies.
newDeleteOriginRequestPolicy :: Text -> DeleteOriginRequestPolicy
-- | The version of the origin request policy that you are deleting. The
-- version is the origin request policy's ETag value, which you
-- can get using ListOriginRequestPolicies,
-- GetOriginRequestPolicy, or
-- GetOriginRequestPolicyConfig.
deleteOriginRequestPolicy_ifMatch :: Lens' DeleteOriginRequestPolicy (Maybe Text)
-- | The unique identifier for the origin request policy that you are
-- deleting. To get the identifier, you can use
-- ListOriginRequestPolicies.
deleteOriginRequestPolicy_id :: Lens' DeleteOriginRequestPolicy Text
-- | See: newDeleteOriginRequestPolicyResponse smart
-- constructor.
data DeleteOriginRequestPolicyResponse
DeleteOriginRequestPolicyResponse' :: DeleteOriginRequestPolicyResponse
-- | Create a value of DeleteOriginRequestPolicyResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteOriginRequestPolicyResponse :: DeleteOriginRequestPolicyResponse
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteOriginRequestPolicy.DeleteOriginRequestPolicy
instance GHC.Show.Show Amazonka.CloudFront.DeleteOriginRequestPolicy.DeleteOriginRequestPolicy
instance GHC.Read.Read Amazonka.CloudFront.DeleteOriginRequestPolicy.DeleteOriginRequestPolicy
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteOriginRequestPolicy.DeleteOriginRequestPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteOriginRequestPolicy.DeleteOriginRequestPolicyResponse
instance GHC.Show.Show Amazonka.CloudFront.DeleteOriginRequestPolicy.DeleteOriginRequestPolicyResponse
instance GHC.Read.Read Amazonka.CloudFront.DeleteOriginRequestPolicy.DeleteOriginRequestPolicyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteOriginRequestPolicy.DeleteOriginRequestPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.DeleteOriginRequestPolicy.DeleteOriginRequestPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteOriginRequestPolicy.DeleteOriginRequestPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.DeleteOriginRequestPolicy.DeleteOriginRequestPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteOriginRequestPolicy.DeleteOriginRequestPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.DeleteOriginRequestPolicy.DeleteOriginRequestPolicy
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.DeleteOriginRequestPolicy.DeleteOriginRequestPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.DeleteOriginRequestPolicy.DeleteOriginRequestPolicy
-- | Deletes a CloudFront origin access control.
--
-- You cannot delete an origin access control if it's in use. First,
-- update all distributions to remove the origin access control from all
-- origins, then delete the origin access control.
module Amazonka.CloudFront.DeleteOriginAccessControl
-- | See: newDeleteOriginAccessControl smart constructor.
data DeleteOriginAccessControl
DeleteOriginAccessControl' :: Maybe Text -> Text -> DeleteOriginAccessControl
-- | The current version (ETag value) of the origin access control
-- that you are deleting.
[$sel:ifMatch:DeleteOriginAccessControl'] :: DeleteOriginAccessControl -> Maybe Text
-- | The unique identifier of the origin access control that you are
-- deleting.
[$sel:id:DeleteOriginAccessControl'] :: DeleteOriginAccessControl -> Text
-- | Create a value of DeleteOriginAccessControl with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteOriginAccessControl',
-- deleteOriginAccessControl_ifMatch - The current version
-- (ETag value) of the origin access control that you are
-- deleting.
--
-- DeleteOriginAccessControl, deleteOriginAccessControl_id
-- - The unique identifier of the origin access control that you are
-- deleting.
newDeleteOriginAccessControl :: Text -> DeleteOriginAccessControl
-- | The current version (ETag value) of the origin access control
-- that you are deleting.
deleteOriginAccessControl_ifMatch :: Lens' DeleteOriginAccessControl (Maybe Text)
-- | The unique identifier of the origin access control that you are
-- deleting.
deleteOriginAccessControl_id :: Lens' DeleteOriginAccessControl Text
-- | See: newDeleteOriginAccessControlResponse smart
-- constructor.
data DeleteOriginAccessControlResponse
DeleteOriginAccessControlResponse' :: DeleteOriginAccessControlResponse
-- | Create a value of DeleteOriginAccessControlResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteOriginAccessControlResponse :: DeleteOriginAccessControlResponse
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteOriginAccessControl.DeleteOriginAccessControl
instance GHC.Show.Show Amazonka.CloudFront.DeleteOriginAccessControl.DeleteOriginAccessControl
instance GHC.Read.Read Amazonka.CloudFront.DeleteOriginAccessControl.DeleteOriginAccessControl
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteOriginAccessControl.DeleteOriginAccessControl
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteOriginAccessControl.DeleteOriginAccessControlResponse
instance GHC.Show.Show Amazonka.CloudFront.DeleteOriginAccessControl.DeleteOriginAccessControlResponse
instance GHC.Read.Read Amazonka.CloudFront.DeleteOriginAccessControl.DeleteOriginAccessControlResponse
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteOriginAccessControl.DeleteOriginAccessControlResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.DeleteOriginAccessControl.DeleteOriginAccessControl
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteOriginAccessControl.DeleteOriginAccessControlResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.DeleteOriginAccessControl.DeleteOriginAccessControl
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteOriginAccessControl.DeleteOriginAccessControl
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.DeleteOriginAccessControl.DeleteOriginAccessControl
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.DeleteOriginAccessControl.DeleteOriginAccessControl
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.DeleteOriginAccessControl.DeleteOriginAccessControl
-- | Disables additional CloudWatch metrics for the specified CloudFront
-- distribution.
module Amazonka.CloudFront.DeleteMonitoringSubscription
-- | See: newDeleteMonitoringSubscription smart constructor.
data DeleteMonitoringSubscription
DeleteMonitoringSubscription' :: Text -> DeleteMonitoringSubscription
-- | The ID of the distribution that you are disabling metrics for.
[$sel:distributionId:DeleteMonitoringSubscription'] :: DeleteMonitoringSubscription -> Text
-- | Create a value of DeleteMonitoringSubscription with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteMonitoringSubscription,
-- deleteMonitoringSubscription_distributionId - The ID of the
-- distribution that you are disabling metrics for.
newDeleteMonitoringSubscription :: Text -> DeleteMonitoringSubscription
-- | The ID of the distribution that you are disabling metrics for.
deleteMonitoringSubscription_distributionId :: Lens' DeleteMonitoringSubscription Text
-- | See: newDeleteMonitoringSubscriptionResponse smart
-- constructor.
data DeleteMonitoringSubscriptionResponse
DeleteMonitoringSubscriptionResponse' :: Int -> DeleteMonitoringSubscriptionResponse
-- | The response's http status code.
[$sel:httpStatus:DeleteMonitoringSubscriptionResponse'] :: DeleteMonitoringSubscriptionResponse -> Int
-- | Create a value of DeleteMonitoringSubscriptionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteMonitoringSubscriptionResponse',
-- deleteMonitoringSubscriptionResponse_httpStatus - The
-- response's http status code.
newDeleteMonitoringSubscriptionResponse :: Int -> DeleteMonitoringSubscriptionResponse
-- | The response's http status code.
deleteMonitoringSubscriptionResponse_httpStatus :: Lens' DeleteMonitoringSubscriptionResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteMonitoringSubscription.DeleteMonitoringSubscription
instance GHC.Show.Show Amazonka.CloudFront.DeleteMonitoringSubscription.DeleteMonitoringSubscription
instance GHC.Read.Read Amazonka.CloudFront.DeleteMonitoringSubscription.DeleteMonitoringSubscription
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteMonitoringSubscription.DeleteMonitoringSubscription
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteMonitoringSubscription.DeleteMonitoringSubscriptionResponse
instance GHC.Show.Show Amazonka.CloudFront.DeleteMonitoringSubscription.DeleteMonitoringSubscriptionResponse
instance GHC.Read.Read Amazonka.CloudFront.DeleteMonitoringSubscription.DeleteMonitoringSubscriptionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteMonitoringSubscription.DeleteMonitoringSubscriptionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.DeleteMonitoringSubscription.DeleteMonitoringSubscription
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteMonitoringSubscription.DeleteMonitoringSubscriptionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.DeleteMonitoringSubscription.DeleteMonitoringSubscription
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteMonitoringSubscription.DeleteMonitoringSubscription
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.DeleteMonitoringSubscription.DeleteMonitoringSubscription
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.DeleteMonitoringSubscription.DeleteMonitoringSubscription
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.DeleteMonitoringSubscription.DeleteMonitoringSubscription
-- | Deletes a key group.
--
-- You cannot delete a key group that is referenced in a cache behavior.
-- First update your distributions to remove the key group from all cache
-- behaviors, then delete the key group.
--
-- To delete a key group, you must provide the key group's identifier and
-- version. To get these values, use ListKeyGroups followed by
-- GetKeyGroup or GetKeyGroupConfig.
module Amazonka.CloudFront.DeleteKeyGroup
-- | See: newDeleteKeyGroup smart constructor.
data DeleteKeyGroup
DeleteKeyGroup' :: Maybe Text -> Text -> DeleteKeyGroup
-- | The version of the key group that you are deleting. The version is the
-- key group's ETag value. To get the ETag, use
-- GetKeyGroup or GetKeyGroupConfig.
[$sel:ifMatch:DeleteKeyGroup'] :: DeleteKeyGroup -> Maybe Text
-- | The identifier of the key group that you are deleting. To get the
-- identifier, use ListKeyGroups.
[$sel:id:DeleteKeyGroup'] :: DeleteKeyGroup -> Text
-- | Create a value of DeleteKeyGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteKeyGroup', deleteKeyGroup_ifMatch -
-- The version of the key group that you are deleting. The version is the
-- key group's ETag value. To get the ETag, use
-- GetKeyGroup or GetKeyGroupConfig.
--
-- DeleteKeyGroup, deleteKeyGroup_id - The identifier of
-- the key group that you are deleting. To get the identifier, use
-- ListKeyGroups.
newDeleteKeyGroup :: Text -> DeleteKeyGroup
-- | The version of the key group that you are deleting. The version is the
-- key group's ETag value. To get the ETag, use
-- GetKeyGroup or GetKeyGroupConfig.
deleteKeyGroup_ifMatch :: Lens' DeleteKeyGroup (Maybe Text)
-- | The identifier of the key group that you are deleting. To get the
-- identifier, use ListKeyGroups.
deleteKeyGroup_id :: Lens' DeleteKeyGroup Text
-- | See: newDeleteKeyGroupResponse smart constructor.
data DeleteKeyGroupResponse
DeleteKeyGroupResponse' :: DeleteKeyGroupResponse
-- | Create a value of DeleteKeyGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteKeyGroupResponse :: DeleteKeyGroupResponse
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteKeyGroup.DeleteKeyGroup
instance GHC.Show.Show Amazonka.CloudFront.DeleteKeyGroup.DeleteKeyGroup
instance GHC.Read.Read Amazonka.CloudFront.DeleteKeyGroup.DeleteKeyGroup
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteKeyGroup.DeleteKeyGroup
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteKeyGroup.DeleteKeyGroupResponse
instance GHC.Show.Show Amazonka.CloudFront.DeleteKeyGroup.DeleteKeyGroupResponse
instance GHC.Read.Read Amazonka.CloudFront.DeleteKeyGroup.DeleteKeyGroupResponse
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteKeyGroup.DeleteKeyGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.DeleteKeyGroup.DeleteKeyGroup
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteKeyGroup.DeleteKeyGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.DeleteKeyGroup.DeleteKeyGroup
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteKeyGroup.DeleteKeyGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.DeleteKeyGroup.DeleteKeyGroup
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.DeleteKeyGroup.DeleteKeyGroup
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.DeleteKeyGroup.DeleteKeyGroup
-- | Deletes a CloudFront function.
--
-- You cannot delete a function if it's associated with a cache behavior.
-- First, update your distributions to remove the function association
-- from all cache behaviors, then delete the function.
--
-- To delete a function, you must provide the function's name and version
-- (ETag value). To get these values, you can use
-- ListFunctions and DescribeFunction.
module Amazonka.CloudFront.DeleteFunction
-- | See: newDeleteFunction smart constructor.
data DeleteFunction
DeleteFunction' :: Text -> Text -> DeleteFunction
-- | The current version (ETag value) of the function that you are
-- deleting, which you can get using DescribeFunction.
[$sel:ifMatch:DeleteFunction'] :: DeleteFunction -> Text
-- | The name of the function that you are deleting.
[$sel:name:DeleteFunction'] :: DeleteFunction -> Text
-- | Create a value of DeleteFunction with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteFunction', deleteFunction_ifMatch -
-- The current version (ETag value) of the function that you are
-- deleting, which you can get using DescribeFunction.
--
-- DeleteFunction, deleteFunction_name - The name of the
-- function that you are deleting.
newDeleteFunction :: Text -> Text -> DeleteFunction
-- | The current version (ETag value) of the function that you are
-- deleting, which you can get using DescribeFunction.
deleteFunction_ifMatch :: Lens' DeleteFunction Text
-- | The name of the function that you are deleting.
deleteFunction_name :: Lens' DeleteFunction Text
-- | See: newDeleteFunctionResponse smart constructor.
data DeleteFunctionResponse
DeleteFunctionResponse' :: DeleteFunctionResponse
-- | Create a value of DeleteFunctionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteFunctionResponse :: DeleteFunctionResponse
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteFunction.DeleteFunction
instance GHC.Show.Show Amazonka.CloudFront.DeleteFunction.DeleteFunction
instance GHC.Read.Read Amazonka.CloudFront.DeleteFunction.DeleteFunction
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteFunction.DeleteFunction
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteFunction.DeleteFunctionResponse
instance GHC.Show.Show Amazonka.CloudFront.DeleteFunction.DeleteFunctionResponse
instance GHC.Read.Read Amazonka.CloudFront.DeleteFunction.DeleteFunctionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteFunction.DeleteFunctionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.DeleteFunction.DeleteFunction
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteFunction.DeleteFunctionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.DeleteFunction.DeleteFunction
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteFunction.DeleteFunction
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.DeleteFunction.DeleteFunction
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.DeleteFunction.DeleteFunction
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.DeleteFunction.DeleteFunction
-- | Remove a field-level encryption profile.
module Amazonka.CloudFront.DeleteFieldLevelEncryptionProfile
-- | See: newDeleteFieldLevelEncryptionProfile smart
-- constructor.
data DeleteFieldLevelEncryptionProfile
DeleteFieldLevelEncryptionProfile' :: Maybe Text -> Text -> DeleteFieldLevelEncryptionProfile
-- | The value of the ETag header that you received when
-- retrieving the profile to delete. For example:
-- E2QWRUHAPOMQZL.
[$sel:ifMatch:DeleteFieldLevelEncryptionProfile'] :: DeleteFieldLevelEncryptionProfile -> Maybe Text
-- | Request the ID of the profile you want to delete from CloudFront.
[$sel:id:DeleteFieldLevelEncryptionProfile'] :: DeleteFieldLevelEncryptionProfile -> Text
-- | Create a value of DeleteFieldLevelEncryptionProfile with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteFieldLevelEncryptionProfile',
-- deleteFieldLevelEncryptionProfile_ifMatch - The value of the
-- ETag header that you received when retrieving the profile to
-- delete. For example: E2QWRUHAPOMQZL.
--
-- DeleteFieldLevelEncryptionProfile,
-- deleteFieldLevelEncryptionProfile_id - Request the ID of the
-- profile you want to delete from CloudFront.
newDeleteFieldLevelEncryptionProfile :: Text -> DeleteFieldLevelEncryptionProfile
-- | The value of the ETag header that you received when
-- retrieving the profile to delete. For example:
-- E2QWRUHAPOMQZL.
deleteFieldLevelEncryptionProfile_ifMatch :: Lens' DeleteFieldLevelEncryptionProfile (Maybe Text)
-- | Request the ID of the profile you want to delete from CloudFront.
deleteFieldLevelEncryptionProfile_id :: Lens' DeleteFieldLevelEncryptionProfile Text
-- | See: newDeleteFieldLevelEncryptionProfileResponse smart
-- constructor.
data DeleteFieldLevelEncryptionProfileResponse
DeleteFieldLevelEncryptionProfileResponse' :: DeleteFieldLevelEncryptionProfileResponse
-- | Create a value of DeleteFieldLevelEncryptionProfileResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteFieldLevelEncryptionProfileResponse :: DeleteFieldLevelEncryptionProfileResponse
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteFieldLevelEncryptionProfile.DeleteFieldLevelEncryptionProfile
instance GHC.Show.Show Amazonka.CloudFront.DeleteFieldLevelEncryptionProfile.DeleteFieldLevelEncryptionProfile
instance GHC.Read.Read Amazonka.CloudFront.DeleteFieldLevelEncryptionProfile.DeleteFieldLevelEncryptionProfile
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteFieldLevelEncryptionProfile.DeleteFieldLevelEncryptionProfile
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteFieldLevelEncryptionProfile.DeleteFieldLevelEncryptionProfileResponse
instance GHC.Show.Show Amazonka.CloudFront.DeleteFieldLevelEncryptionProfile.DeleteFieldLevelEncryptionProfileResponse
instance GHC.Read.Read Amazonka.CloudFront.DeleteFieldLevelEncryptionProfile.DeleteFieldLevelEncryptionProfileResponse
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteFieldLevelEncryptionProfile.DeleteFieldLevelEncryptionProfileResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.DeleteFieldLevelEncryptionProfile.DeleteFieldLevelEncryptionProfile
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteFieldLevelEncryptionProfile.DeleteFieldLevelEncryptionProfileResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.DeleteFieldLevelEncryptionProfile.DeleteFieldLevelEncryptionProfile
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteFieldLevelEncryptionProfile.DeleteFieldLevelEncryptionProfile
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.DeleteFieldLevelEncryptionProfile.DeleteFieldLevelEncryptionProfile
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.DeleteFieldLevelEncryptionProfile.DeleteFieldLevelEncryptionProfile
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.DeleteFieldLevelEncryptionProfile.DeleteFieldLevelEncryptionProfile
-- | Remove a field-level encryption configuration.
module Amazonka.CloudFront.DeleteFieldLevelEncryptionConfig
-- | See: newDeleteFieldLevelEncryptionConfig smart
-- constructor.
data DeleteFieldLevelEncryptionConfig
DeleteFieldLevelEncryptionConfig' :: Maybe Text -> Text -> DeleteFieldLevelEncryptionConfig
-- | The value of the ETag header that you received when
-- retrieving the configuration identity to delete. For example:
-- E2QWRUHAPOMQZL.
[$sel:ifMatch:DeleteFieldLevelEncryptionConfig'] :: DeleteFieldLevelEncryptionConfig -> Maybe Text
-- | The ID of the configuration you want to delete from CloudFront.
[$sel:id:DeleteFieldLevelEncryptionConfig'] :: DeleteFieldLevelEncryptionConfig -> Text
-- | Create a value of DeleteFieldLevelEncryptionConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteFieldLevelEncryptionConfig',
-- deleteFieldLevelEncryptionConfig_ifMatch - The value of the
-- ETag header that you received when retrieving the
-- configuration identity to delete. For example:
-- E2QWRUHAPOMQZL.
--
-- DeleteFieldLevelEncryptionConfig,
-- deleteFieldLevelEncryptionConfig_id - The ID of the
-- configuration you want to delete from CloudFront.
newDeleteFieldLevelEncryptionConfig :: Text -> DeleteFieldLevelEncryptionConfig
-- | The value of the ETag header that you received when
-- retrieving the configuration identity to delete. For example:
-- E2QWRUHAPOMQZL.
deleteFieldLevelEncryptionConfig_ifMatch :: Lens' DeleteFieldLevelEncryptionConfig (Maybe Text)
-- | The ID of the configuration you want to delete from CloudFront.
deleteFieldLevelEncryptionConfig_id :: Lens' DeleteFieldLevelEncryptionConfig Text
-- | See: newDeleteFieldLevelEncryptionConfigResponse smart
-- constructor.
data DeleteFieldLevelEncryptionConfigResponse
DeleteFieldLevelEncryptionConfigResponse' :: DeleteFieldLevelEncryptionConfigResponse
-- | Create a value of DeleteFieldLevelEncryptionConfigResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteFieldLevelEncryptionConfigResponse :: DeleteFieldLevelEncryptionConfigResponse
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteFieldLevelEncryptionConfig.DeleteFieldLevelEncryptionConfig
instance GHC.Show.Show Amazonka.CloudFront.DeleteFieldLevelEncryptionConfig.DeleteFieldLevelEncryptionConfig
instance GHC.Read.Read Amazonka.CloudFront.DeleteFieldLevelEncryptionConfig.DeleteFieldLevelEncryptionConfig
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteFieldLevelEncryptionConfig.DeleteFieldLevelEncryptionConfig
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteFieldLevelEncryptionConfig.DeleteFieldLevelEncryptionConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.DeleteFieldLevelEncryptionConfig.DeleteFieldLevelEncryptionConfigResponse
instance GHC.Read.Read Amazonka.CloudFront.DeleteFieldLevelEncryptionConfig.DeleteFieldLevelEncryptionConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteFieldLevelEncryptionConfig.DeleteFieldLevelEncryptionConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.DeleteFieldLevelEncryptionConfig.DeleteFieldLevelEncryptionConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteFieldLevelEncryptionConfig.DeleteFieldLevelEncryptionConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.DeleteFieldLevelEncryptionConfig.DeleteFieldLevelEncryptionConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteFieldLevelEncryptionConfig.DeleteFieldLevelEncryptionConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.DeleteFieldLevelEncryptionConfig.DeleteFieldLevelEncryptionConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.DeleteFieldLevelEncryptionConfig.DeleteFieldLevelEncryptionConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.DeleteFieldLevelEncryptionConfig.DeleteFieldLevelEncryptionConfig
-- | Delete a distribution.
module Amazonka.CloudFront.DeleteDistribution
-- | This action deletes a web distribution. To delete a web distribution
-- using the CloudFront API, perform the following steps.
--
-- To delete a web distribution using the CloudFront API:
--
--
-- - Disable the web distribution
-- - Submit a GET Distribution Config request to get the
-- current configuration and the Etag header for the
-- distribution.
-- - Update the XML document that was returned in the response to your
-- GET Distribution Config request to change the value of
-- Enabled to false.
-- - Submit a PUT Distribution Config request to update the
-- configuration for your distribution. In the request body, include the
-- XML document that you updated in Step 3. Set the value of the HTTP
-- If-Match header to the value of the ETag header that
-- CloudFront returned when you submitted the GET Distribution
-- Config request in Step 2.
-- - Review the response to the PUT Distribution Config
-- request to confirm that the distribution was successfully
-- disabled.
-- - Submit a GET Distribution request to confirm that your
-- changes have propagated. When propagation is complete, the value of
-- Status is Deployed.
-- - Submit a DELETE Distribution request. Set the value of
-- the HTTP If-Match header to the value of the ETag
-- header that CloudFront returned when you submitted the GET
-- Distribution Config request in Step 6.
-- - Review the response to your DELETE Distribution request
-- to confirm that the distribution was successfully deleted.
--
--
-- For information about deleting a distribution using the CloudFront
-- console, see Deleting a Distribution in the Amazon
-- CloudFront Developer Guide.
--
-- See: newDeleteDistribution smart constructor.
data DeleteDistribution
DeleteDistribution' :: Maybe Text -> Text -> DeleteDistribution
-- | The value of the ETag header that you received when you
-- disabled the distribution. For example: E2QWRUHAPOMQZL.
[$sel:ifMatch:DeleteDistribution'] :: DeleteDistribution -> Maybe Text
-- | The distribution ID.
[$sel:id:DeleteDistribution'] :: DeleteDistribution -> Text
-- | Create a value of DeleteDistribution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteDistribution',
-- deleteDistribution_ifMatch - The value of the ETag
-- header that you received when you disabled the distribution. For
-- example: E2QWRUHAPOMQZL.
--
-- DeleteDistribution, deleteDistribution_id - The
-- distribution ID.
newDeleteDistribution :: Text -> DeleteDistribution
-- | The value of the ETag header that you received when you
-- disabled the distribution. For example: E2QWRUHAPOMQZL.
deleteDistribution_ifMatch :: Lens' DeleteDistribution (Maybe Text)
-- | The distribution ID.
deleteDistribution_id :: Lens' DeleteDistribution Text
-- | See: newDeleteDistributionResponse smart constructor.
data DeleteDistributionResponse
DeleteDistributionResponse' :: DeleteDistributionResponse
-- | Create a value of DeleteDistributionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteDistributionResponse :: DeleteDistributionResponse
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteDistribution.DeleteDistribution
instance GHC.Show.Show Amazonka.CloudFront.DeleteDistribution.DeleteDistribution
instance GHC.Read.Read Amazonka.CloudFront.DeleteDistribution.DeleteDistribution
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteDistribution.DeleteDistribution
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteDistribution.DeleteDistributionResponse
instance GHC.Show.Show Amazonka.CloudFront.DeleteDistribution.DeleteDistributionResponse
instance GHC.Read.Read Amazonka.CloudFront.DeleteDistribution.DeleteDistributionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteDistribution.DeleteDistributionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.DeleteDistribution.DeleteDistribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteDistribution.DeleteDistributionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.DeleteDistribution.DeleteDistribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteDistribution.DeleteDistribution
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.DeleteDistribution.DeleteDistribution
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.DeleteDistribution.DeleteDistribution
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.DeleteDistribution.DeleteDistribution
-- | Deletes a continuous deployment policy.
--
-- You cannot delete a continuous deployment policy that's attached to a
-- primary distribution. First update your distribution to remove the
-- continuous deployment policy, then you can delete the policy.
module Amazonka.CloudFront.DeleteContinuousDeploymentPolicy
-- | See: newDeleteContinuousDeploymentPolicy smart
-- constructor.
data DeleteContinuousDeploymentPolicy
DeleteContinuousDeploymentPolicy' :: Maybe Text -> Text -> DeleteContinuousDeploymentPolicy
-- | The current version (ETag value) of the continuous deployment
-- policy that you are deleting.
[$sel:ifMatch:DeleteContinuousDeploymentPolicy'] :: DeleteContinuousDeploymentPolicy -> Maybe Text
-- | The identifier of the continuous deployment policy that you are
-- deleting.
[$sel:id:DeleteContinuousDeploymentPolicy'] :: DeleteContinuousDeploymentPolicy -> Text
-- | Create a value of DeleteContinuousDeploymentPolicy with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteContinuousDeploymentPolicy',
-- deleteContinuousDeploymentPolicy_ifMatch - The current version
-- (ETag value) of the continuous deployment policy that you are
-- deleting.
--
-- DeleteContinuousDeploymentPolicy,
-- deleteContinuousDeploymentPolicy_id - The identifier of the
-- continuous deployment policy that you are deleting.
newDeleteContinuousDeploymentPolicy :: Text -> DeleteContinuousDeploymentPolicy
-- | The current version (ETag value) of the continuous deployment
-- policy that you are deleting.
deleteContinuousDeploymentPolicy_ifMatch :: Lens' DeleteContinuousDeploymentPolicy (Maybe Text)
-- | The identifier of the continuous deployment policy that you are
-- deleting.
deleteContinuousDeploymentPolicy_id :: Lens' DeleteContinuousDeploymentPolicy Text
-- | See: newDeleteContinuousDeploymentPolicyResponse smart
-- constructor.
data DeleteContinuousDeploymentPolicyResponse
DeleteContinuousDeploymentPolicyResponse' :: DeleteContinuousDeploymentPolicyResponse
-- | Create a value of DeleteContinuousDeploymentPolicyResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteContinuousDeploymentPolicyResponse :: DeleteContinuousDeploymentPolicyResponse
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteContinuousDeploymentPolicy.DeleteContinuousDeploymentPolicy
instance GHC.Show.Show Amazonka.CloudFront.DeleteContinuousDeploymentPolicy.DeleteContinuousDeploymentPolicy
instance GHC.Read.Read Amazonka.CloudFront.DeleteContinuousDeploymentPolicy.DeleteContinuousDeploymentPolicy
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteContinuousDeploymentPolicy.DeleteContinuousDeploymentPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteContinuousDeploymentPolicy.DeleteContinuousDeploymentPolicyResponse
instance GHC.Show.Show Amazonka.CloudFront.DeleteContinuousDeploymentPolicy.DeleteContinuousDeploymentPolicyResponse
instance GHC.Read.Read Amazonka.CloudFront.DeleteContinuousDeploymentPolicy.DeleteContinuousDeploymentPolicyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteContinuousDeploymentPolicy.DeleteContinuousDeploymentPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.DeleteContinuousDeploymentPolicy.DeleteContinuousDeploymentPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteContinuousDeploymentPolicy.DeleteContinuousDeploymentPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.DeleteContinuousDeploymentPolicy.DeleteContinuousDeploymentPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteContinuousDeploymentPolicy.DeleteContinuousDeploymentPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.DeleteContinuousDeploymentPolicy.DeleteContinuousDeploymentPolicy
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.DeleteContinuousDeploymentPolicy.DeleteContinuousDeploymentPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.DeleteContinuousDeploymentPolicy.DeleteContinuousDeploymentPolicy
-- | Delete an origin access identity.
module Amazonka.CloudFront.DeleteCloudFrontOriginAccessIdentity
-- | Deletes a origin access identity.
--
-- See: newDeleteCloudFrontOriginAccessIdentity smart
-- constructor.
data DeleteCloudFrontOriginAccessIdentity
DeleteCloudFrontOriginAccessIdentity' :: Maybe Text -> Text -> DeleteCloudFrontOriginAccessIdentity
-- | The value of the ETag header you received from a previous
-- GET or PUT request. For example:
-- E2QWRUHAPOMQZL.
[$sel:ifMatch:DeleteCloudFrontOriginAccessIdentity'] :: DeleteCloudFrontOriginAccessIdentity -> Maybe Text
-- | The origin access identity's ID.
[$sel:id:DeleteCloudFrontOriginAccessIdentity'] :: DeleteCloudFrontOriginAccessIdentity -> Text
-- | Create a value of DeleteCloudFrontOriginAccessIdentity with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteCloudFrontOriginAccessIdentity',
-- deleteCloudFrontOriginAccessIdentity_ifMatch - The value of the
-- ETag header you received from a previous GET or
-- PUT request. For example: E2QWRUHAPOMQZL.
--
-- DeleteCloudFrontOriginAccessIdentity,
-- deleteCloudFrontOriginAccessIdentity_id - The origin access
-- identity's ID.
newDeleteCloudFrontOriginAccessIdentity :: Text -> DeleteCloudFrontOriginAccessIdentity
-- | The value of the ETag header you received from a previous
-- GET or PUT request. For example:
-- E2QWRUHAPOMQZL.
deleteCloudFrontOriginAccessIdentity_ifMatch :: Lens' DeleteCloudFrontOriginAccessIdentity (Maybe Text)
-- | The origin access identity's ID.
deleteCloudFrontOriginAccessIdentity_id :: Lens' DeleteCloudFrontOriginAccessIdentity Text
-- | See: newDeleteCloudFrontOriginAccessIdentityResponse
-- smart constructor.
data DeleteCloudFrontOriginAccessIdentityResponse
DeleteCloudFrontOriginAccessIdentityResponse' :: DeleteCloudFrontOriginAccessIdentityResponse
-- | Create a value of DeleteCloudFrontOriginAccessIdentityResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteCloudFrontOriginAccessIdentityResponse :: DeleteCloudFrontOriginAccessIdentityResponse
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentity
instance GHC.Show.Show Amazonka.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentity
instance GHC.Read.Read Amazonka.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentity
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentity
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentityResponse
instance GHC.Show.Show Amazonka.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentityResponse
instance GHC.Read.Read Amazonka.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentityResponse
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentityResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentity
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentityResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentity
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentity
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentity
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentity
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.DeleteCloudFrontOriginAccessIdentity.DeleteCloudFrontOriginAccessIdentity
-- | Deletes a cache policy.
--
-- You cannot delete a cache policy if it's attached to a cache behavior.
-- First update your distributions to remove the cache policy from all
-- cache behaviors, then delete the cache policy.
--
-- To delete a cache policy, you must provide the policy's identifier and
-- version. To get these values, you can use ListCachePolicies
-- or GetCachePolicy.
module Amazonka.CloudFront.DeleteCachePolicy
-- | See: newDeleteCachePolicy smart constructor.
data DeleteCachePolicy
DeleteCachePolicy' :: Maybe Text -> Text -> DeleteCachePolicy
-- | The version of the cache policy that you are deleting. The version is
-- the cache policy's ETag value, which you can get using
-- ListCachePolicies, GetCachePolicy, or
-- GetCachePolicyConfig.
[$sel:ifMatch:DeleteCachePolicy'] :: DeleteCachePolicy -> Maybe Text
-- | The unique identifier for the cache policy that you are deleting. To
-- get the identifier, you can use ListCachePolicies.
[$sel:id:DeleteCachePolicy'] :: DeleteCachePolicy -> Text
-- | Create a value of DeleteCachePolicy with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteCachePolicy',
-- deleteCachePolicy_ifMatch - The version of the cache policy
-- that you are deleting. The version is the cache policy's ETag
-- value, which you can get using ListCachePolicies,
-- GetCachePolicy, or GetCachePolicyConfig.
--
-- DeleteCachePolicy, deleteCachePolicy_id - The unique
-- identifier for the cache policy that you are deleting. To get the
-- identifier, you can use ListCachePolicies.
newDeleteCachePolicy :: Text -> DeleteCachePolicy
-- | The version of the cache policy that you are deleting. The version is
-- the cache policy's ETag value, which you can get using
-- ListCachePolicies, GetCachePolicy, or
-- GetCachePolicyConfig.
deleteCachePolicy_ifMatch :: Lens' DeleteCachePolicy (Maybe Text)
-- | The unique identifier for the cache policy that you are deleting. To
-- get the identifier, you can use ListCachePolicies.
deleteCachePolicy_id :: Lens' DeleteCachePolicy Text
-- | See: newDeleteCachePolicyResponse smart constructor.
data DeleteCachePolicyResponse
DeleteCachePolicyResponse' :: DeleteCachePolicyResponse
-- | Create a value of DeleteCachePolicyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteCachePolicyResponse :: DeleteCachePolicyResponse
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteCachePolicy.DeleteCachePolicy
instance GHC.Show.Show Amazonka.CloudFront.DeleteCachePolicy.DeleteCachePolicy
instance GHC.Read.Read Amazonka.CloudFront.DeleteCachePolicy.DeleteCachePolicy
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteCachePolicy.DeleteCachePolicy
instance GHC.Generics.Generic Amazonka.CloudFront.DeleteCachePolicy.DeleteCachePolicyResponse
instance GHC.Show.Show Amazonka.CloudFront.DeleteCachePolicy.DeleteCachePolicyResponse
instance GHC.Read.Read Amazonka.CloudFront.DeleteCachePolicy.DeleteCachePolicyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.DeleteCachePolicy.DeleteCachePolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.DeleteCachePolicy.DeleteCachePolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteCachePolicy.DeleteCachePolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.DeleteCachePolicy.DeleteCachePolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.DeleteCachePolicy.DeleteCachePolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.DeleteCachePolicy.DeleteCachePolicy
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.DeleteCachePolicy.DeleteCachePolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.DeleteCachePolicy.DeleteCachePolicy
-- | This API is deprecated. Amazon CloudFront is deprecating real-time
-- messaging protocol (RTMP) distributions on December 31, 2020. For more
-- information, read the announcement on the Amazon CloudFront
-- discussion forum.
module Amazonka.CloudFront.CreateStreamingDistributionWithTags
-- | The request to create a new streaming distribution with tags.
--
-- See: newCreateStreamingDistributionWithTags smart
-- constructor.
data CreateStreamingDistributionWithTags
CreateStreamingDistributionWithTags' :: StreamingDistributionConfigWithTags -> CreateStreamingDistributionWithTags
-- | The streaming distribution's configuration information.
[$sel:streamingDistributionConfigWithTags:CreateStreamingDistributionWithTags'] :: CreateStreamingDistributionWithTags -> StreamingDistributionConfigWithTags
-- | Create a value of CreateStreamingDistributionWithTags with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:streamingDistributionConfigWithTags:CreateStreamingDistributionWithTags',
-- createStreamingDistributionWithTags_streamingDistributionConfigWithTags
-- - The streaming distribution's configuration information.
newCreateStreamingDistributionWithTags :: StreamingDistributionConfigWithTags -> CreateStreamingDistributionWithTags
-- | The streaming distribution's configuration information.
createStreamingDistributionWithTags_streamingDistributionConfigWithTags :: Lens' CreateStreamingDistributionWithTags StreamingDistributionConfigWithTags
-- | The returned result of the corresponding request.
--
-- See: newCreateStreamingDistributionWithTagsResponse
-- smart constructor.
data CreateStreamingDistributionWithTagsResponse
CreateStreamingDistributionWithTagsResponse' :: Maybe Text -> Maybe Text -> Maybe StreamingDistribution -> Int -> CreateStreamingDistributionWithTagsResponse
-- | The current version of the distribution created.
[$sel:eTag:CreateStreamingDistributionWithTagsResponse'] :: CreateStreamingDistributionWithTagsResponse -> Maybe Text
-- | The fully qualified URI of the new streaming distribution resource
-- just created.
[$sel:location:CreateStreamingDistributionWithTagsResponse'] :: CreateStreamingDistributionWithTagsResponse -> Maybe Text
-- | The streaming distribution's information.
[$sel:streamingDistribution:CreateStreamingDistributionWithTagsResponse'] :: CreateStreamingDistributionWithTagsResponse -> Maybe StreamingDistribution
-- | The response's http status code.
[$sel:httpStatus:CreateStreamingDistributionWithTagsResponse'] :: CreateStreamingDistributionWithTagsResponse -> Int
-- | Create a value of CreateStreamingDistributionWithTagsResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreateStreamingDistributionWithTagsResponse',
-- createStreamingDistributionWithTagsResponse_eTag - The current
-- version of the distribution created.
--
-- $sel:location:CreateStreamingDistributionWithTagsResponse',
-- createStreamingDistributionWithTagsResponse_location - The
-- fully qualified URI of the new streaming distribution resource just
-- created.
--
--
-- $sel:streamingDistribution:CreateStreamingDistributionWithTagsResponse',
-- createStreamingDistributionWithTagsResponse_streamingDistribution
-- - The streaming distribution's information.
--
-- $sel:httpStatus:CreateStreamingDistributionWithTagsResponse',
-- createStreamingDistributionWithTagsResponse_httpStatus - The
-- response's http status code.
newCreateStreamingDistributionWithTagsResponse :: Int -> CreateStreamingDistributionWithTagsResponse
-- | The current version of the distribution created.
createStreamingDistributionWithTagsResponse_eTag :: Lens' CreateStreamingDistributionWithTagsResponse (Maybe Text)
-- | The fully qualified URI of the new streaming distribution resource
-- just created.
createStreamingDistributionWithTagsResponse_location :: Lens' CreateStreamingDistributionWithTagsResponse (Maybe Text)
-- | The streaming distribution's information.
createStreamingDistributionWithTagsResponse_streamingDistribution :: Lens' CreateStreamingDistributionWithTagsResponse (Maybe StreamingDistribution)
-- | The response's http status code.
createStreamingDistributionWithTagsResponse_httpStatus :: Lens' CreateStreamingDistributionWithTagsResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.CreateStreamingDistributionWithTags.CreateStreamingDistributionWithTags
instance GHC.Show.Show Amazonka.CloudFront.CreateStreamingDistributionWithTags.CreateStreamingDistributionWithTags
instance GHC.Read.Read Amazonka.CloudFront.CreateStreamingDistributionWithTags.CreateStreamingDistributionWithTags
instance GHC.Classes.Eq Amazonka.CloudFront.CreateStreamingDistributionWithTags.CreateStreamingDistributionWithTags
instance GHC.Generics.Generic Amazonka.CloudFront.CreateStreamingDistributionWithTags.CreateStreamingDistributionWithTagsResponse
instance GHC.Show.Show Amazonka.CloudFront.CreateStreamingDistributionWithTags.CreateStreamingDistributionWithTagsResponse
instance GHC.Read.Read Amazonka.CloudFront.CreateStreamingDistributionWithTags.CreateStreamingDistributionWithTagsResponse
instance GHC.Classes.Eq Amazonka.CloudFront.CreateStreamingDistributionWithTags.CreateStreamingDistributionWithTagsResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.CreateStreamingDistributionWithTags.CreateStreamingDistributionWithTags
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateStreamingDistributionWithTags.CreateStreamingDistributionWithTagsResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.CreateStreamingDistributionWithTags.CreateStreamingDistributionWithTags
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateStreamingDistributionWithTags.CreateStreamingDistributionWithTags
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.CreateStreamingDistributionWithTags.CreateStreamingDistributionWithTags
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.CreateStreamingDistributionWithTags.CreateStreamingDistributionWithTags
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.CreateStreamingDistributionWithTags.CreateStreamingDistributionWithTags
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.CreateStreamingDistributionWithTags.CreateStreamingDistributionWithTags
-- | This API is deprecated. Amazon CloudFront is deprecating real-time
-- messaging protocol (RTMP) distributions on December 31, 2020. For more
-- information, read the announcement on the Amazon CloudFront
-- discussion forum.
module Amazonka.CloudFront.CreateStreamingDistribution
-- | The request to create a new streaming distribution.
--
-- See: newCreateStreamingDistribution smart constructor.
data CreateStreamingDistribution
CreateStreamingDistribution' :: StreamingDistributionConfig -> CreateStreamingDistribution
-- | The streaming distribution's configuration information.
[$sel:streamingDistributionConfig:CreateStreamingDistribution'] :: CreateStreamingDistribution -> StreamingDistributionConfig
-- | Create a value of CreateStreamingDistribution with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateStreamingDistribution,
-- createStreamingDistribution_streamingDistributionConfig - The
-- streaming distribution's configuration information.
newCreateStreamingDistribution :: StreamingDistributionConfig -> CreateStreamingDistribution
-- | The streaming distribution's configuration information.
createStreamingDistribution_streamingDistributionConfig :: Lens' CreateStreamingDistribution StreamingDistributionConfig
-- | The returned result of the corresponding request.
--
-- See: newCreateStreamingDistributionResponse smart
-- constructor.
data CreateStreamingDistributionResponse
CreateStreamingDistributionResponse' :: Maybe Text -> Maybe Text -> Maybe StreamingDistribution -> Int -> CreateStreamingDistributionResponse
-- | The current version of the streaming distribution created.
[$sel:eTag:CreateStreamingDistributionResponse'] :: CreateStreamingDistributionResponse -> Maybe Text
-- | The fully qualified URI of the new streaming distribution resource
-- just created.
[$sel:location:CreateStreamingDistributionResponse'] :: CreateStreamingDistributionResponse -> Maybe Text
-- | The streaming distribution's information.
[$sel:streamingDistribution:CreateStreamingDistributionResponse'] :: CreateStreamingDistributionResponse -> Maybe StreamingDistribution
-- | The response's http status code.
[$sel:httpStatus:CreateStreamingDistributionResponse'] :: CreateStreamingDistributionResponse -> Int
-- | Create a value of CreateStreamingDistributionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreateStreamingDistributionResponse',
-- createStreamingDistributionResponse_eTag - The current version
-- of the streaming distribution created.
--
-- $sel:location:CreateStreamingDistributionResponse',
-- createStreamingDistributionResponse_location - The fully
-- qualified URI of the new streaming distribution resource just created.
--
--
-- $sel:streamingDistribution:CreateStreamingDistributionResponse',
-- createStreamingDistributionResponse_streamingDistribution - The
-- streaming distribution's information.
--
-- $sel:httpStatus:CreateStreamingDistributionResponse',
-- createStreamingDistributionResponse_httpStatus - The response's
-- http status code.
newCreateStreamingDistributionResponse :: Int -> CreateStreamingDistributionResponse
-- | The current version of the streaming distribution created.
createStreamingDistributionResponse_eTag :: Lens' CreateStreamingDistributionResponse (Maybe Text)
-- | The fully qualified URI of the new streaming distribution resource
-- just created.
createStreamingDistributionResponse_location :: Lens' CreateStreamingDistributionResponse (Maybe Text)
-- | The streaming distribution's information.
createStreamingDistributionResponse_streamingDistribution :: Lens' CreateStreamingDistributionResponse (Maybe StreamingDistribution)
-- | The response's http status code.
createStreamingDistributionResponse_httpStatus :: Lens' CreateStreamingDistributionResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution
instance GHC.Show.Show Amazonka.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution
instance GHC.Read.Read Amazonka.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution
instance GHC.Classes.Eq Amazonka.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution
instance GHC.Generics.Generic Amazonka.CloudFront.CreateStreamingDistribution.CreateStreamingDistributionResponse
instance GHC.Show.Show Amazonka.CloudFront.CreateStreamingDistribution.CreateStreamingDistributionResponse
instance GHC.Read.Read Amazonka.CloudFront.CreateStreamingDistribution.CreateStreamingDistributionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.CreateStreamingDistribution.CreateStreamingDistributionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateStreamingDistribution.CreateStreamingDistributionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.CreateStreamingDistribution.CreateStreamingDistribution
-- | Creates a response headers policy.
--
-- A response headers policy contains information about a set of HTTP
-- headers. To create a response headers policy, you provide some
-- metadata about the policy and a set of configurations that specify the
-- headers.
--
-- After you create a response headers policy, you can use its ID to
-- attach it to one or more cache behaviors in a CloudFront distribution.
-- When it's attached to a cache behavior, the response headers policy
-- affects the HTTP headers that CloudFront includes in HTTP responses to
-- requests that match the cache behavior. CloudFront adds or removes
-- response headers according to the configuration of the response
-- headers policy.
--
-- For more information, see Adding or removing HTTP headers in
-- CloudFront responses in the Amazon CloudFront Developer
-- Guide.
module Amazonka.CloudFront.CreateResponseHeadersPolicy
-- | See: newCreateResponseHeadersPolicy smart constructor.
data CreateResponseHeadersPolicy
CreateResponseHeadersPolicy' :: ResponseHeadersPolicyConfig -> CreateResponseHeadersPolicy
-- | Contains metadata about the response headers policy, and a set of
-- configurations that specify the HTTP headers.
[$sel:responseHeadersPolicyConfig:CreateResponseHeadersPolicy'] :: CreateResponseHeadersPolicy -> ResponseHeadersPolicyConfig
-- | Create a value of CreateResponseHeadersPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateResponseHeadersPolicy,
-- createResponseHeadersPolicy_responseHeadersPolicyConfig -
-- Contains metadata about the response headers policy, and a set of
-- configurations that specify the HTTP headers.
newCreateResponseHeadersPolicy :: ResponseHeadersPolicyConfig -> CreateResponseHeadersPolicy
-- | Contains metadata about the response headers policy, and a set of
-- configurations that specify the HTTP headers.
createResponseHeadersPolicy_responseHeadersPolicyConfig :: Lens' CreateResponseHeadersPolicy ResponseHeadersPolicyConfig
-- | See: newCreateResponseHeadersPolicyResponse smart
-- constructor.
data CreateResponseHeadersPolicyResponse
CreateResponseHeadersPolicyResponse' :: Maybe Text -> Maybe Text -> Maybe ResponseHeadersPolicy -> Int -> CreateResponseHeadersPolicyResponse
-- | The version identifier for the current version of the response headers
-- policy.
[$sel:eTag:CreateResponseHeadersPolicyResponse'] :: CreateResponseHeadersPolicyResponse -> Maybe Text
-- | The URL of the response headers policy.
[$sel:location:CreateResponseHeadersPolicyResponse'] :: CreateResponseHeadersPolicyResponse -> Maybe Text
-- | Contains a response headers policy.
[$sel:responseHeadersPolicy:CreateResponseHeadersPolicyResponse'] :: CreateResponseHeadersPolicyResponse -> Maybe ResponseHeadersPolicy
-- | The response's http status code.
[$sel:httpStatus:CreateResponseHeadersPolicyResponse'] :: CreateResponseHeadersPolicyResponse -> Int
-- | Create a value of CreateResponseHeadersPolicyResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreateResponseHeadersPolicyResponse',
-- createResponseHeadersPolicyResponse_eTag - The version
-- identifier for the current version of the response headers policy.
--
-- $sel:location:CreateResponseHeadersPolicyResponse',
-- createResponseHeadersPolicyResponse_location - The URL of the
-- response headers policy.
--
-- CreateResponseHeadersPolicyResponse,
-- createResponseHeadersPolicyResponse_responseHeadersPolicy -
-- Contains a response headers policy.
--
-- $sel:httpStatus:CreateResponseHeadersPolicyResponse',
-- createResponseHeadersPolicyResponse_httpStatus - The response's
-- http status code.
newCreateResponseHeadersPolicyResponse :: Int -> CreateResponseHeadersPolicyResponse
-- | The version identifier for the current version of the response headers
-- policy.
createResponseHeadersPolicyResponse_eTag :: Lens' CreateResponseHeadersPolicyResponse (Maybe Text)
-- | The URL of the response headers policy.
createResponseHeadersPolicyResponse_location :: Lens' CreateResponseHeadersPolicyResponse (Maybe Text)
-- | Contains a response headers policy.
createResponseHeadersPolicyResponse_responseHeadersPolicy :: Lens' CreateResponseHeadersPolicyResponse (Maybe ResponseHeadersPolicy)
-- | The response's http status code.
createResponseHeadersPolicyResponse_httpStatus :: Lens' CreateResponseHeadersPolicyResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.CreateResponseHeadersPolicy.CreateResponseHeadersPolicy
instance GHC.Show.Show Amazonka.CloudFront.CreateResponseHeadersPolicy.CreateResponseHeadersPolicy
instance GHC.Read.Read Amazonka.CloudFront.CreateResponseHeadersPolicy.CreateResponseHeadersPolicy
instance GHC.Classes.Eq Amazonka.CloudFront.CreateResponseHeadersPolicy.CreateResponseHeadersPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.CreateResponseHeadersPolicy.CreateResponseHeadersPolicyResponse
instance GHC.Show.Show Amazonka.CloudFront.CreateResponseHeadersPolicy.CreateResponseHeadersPolicyResponse
instance GHC.Read.Read Amazonka.CloudFront.CreateResponseHeadersPolicy.CreateResponseHeadersPolicyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.CreateResponseHeadersPolicy.CreateResponseHeadersPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.CreateResponseHeadersPolicy.CreateResponseHeadersPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateResponseHeadersPolicy.CreateResponseHeadersPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.CreateResponseHeadersPolicy.CreateResponseHeadersPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateResponseHeadersPolicy.CreateResponseHeadersPolicy
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.CreateResponseHeadersPolicy.CreateResponseHeadersPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.CreateResponseHeadersPolicy.CreateResponseHeadersPolicy
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.CreateResponseHeadersPolicy.CreateResponseHeadersPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.CreateResponseHeadersPolicy.CreateResponseHeadersPolicy
-- | Creates a real-time log configuration.
--
-- After you create a real-time log configuration, you can attach it to
-- one or more cache behaviors to send real-time log data to the
-- specified Amazon Kinesis data stream.
--
-- For more information about real-time log configurations, see
-- Real-time logs in the Amazon CloudFront Developer Guide.
module Amazonka.CloudFront.CreateRealtimeLogConfig
-- | See: newCreateRealtimeLogConfig smart constructor.
data CreateRealtimeLogConfig
CreateRealtimeLogConfig' :: [EndPoint] -> [Text] -> Text -> Integer -> CreateRealtimeLogConfig
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data.
[$sel:endPoints:CreateRealtimeLogConfig'] :: CreateRealtimeLogConfig -> [EndPoint]
-- | A list of fields to include in each real-time log record.
--
-- For more information about fields, see Real-time log configuration
-- fields in the Amazon CloudFront Developer Guide.
[$sel:fields:CreateRealtimeLogConfig'] :: CreateRealtimeLogConfig -> [Text]
-- | A unique name to identify this real-time log configuration.
[$sel:name:CreateRealtimeLogConfig'] :: CreateRealtimeLogConfig -> Text
-- | The sampling rate for this real-time log configuration. The sampling
-- rate determines the percentage of viewer requests that are represented
-- in the real-time log data. You must provide an integer between 1 and
-- 100, inclusive.
[$sel:samplingRate:CreateRealtimeLogConfig'] :: CreateRealtimeLogConfig -> Integer
-- | Create a value of CreateRealtimeLogConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateRealtimeLogConfig,
-- createRealtimeLogConfig_endPoints - Contains information about
-- the Amazon Kinesis data stream where you are sending real-time log
-- data.
--
-- CreateRealtimeLogConfig, createRealtimeLogConfig_fields
-- - A list of fields to include in each real-time log record.
--
-- For more information about fields, see Real-time log configuration
-- fields in the Amazon CloudFront Developer Guide.
--
-- CreateRealtimeLogConfig, createRealtimeLogConfig_name -
-- A unique name to identify this real-time log configuration.
--
-- CreateRealtimeLogConfig,
-- createRealtimeLogConfig_samplingRate - The sampling rate for
-- this real-time log configuration. The sampling rate determines the
-- percentage of viewer requests that are represented in the real-time
-- log data. You must provide an integer between 1 and 100, inclusive.
newCreateRealtimeLogConfig :: Text -> Integer -> CreateRealtimeLogConfig
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data.
createRealtimeLogConfig_endPoints :: Lens' CreateRealtimeLogConfig [EndPoint]
-- | A list of fields to include in each real-time log record.
--
-- For more information about fields, see Real-time log configuration
-- fields in the Amazon CloudFront Developer Guide.
createRealtimeLogConfig_fields :: Lens' CreateRealtimeLogConfig [Text]
-- | A unique name to identify this real-time log configuration.
createRealtimeLogConfig_name :: Lens' CreateRealtimeLogConfig Text
-- | The sampling rate for this real-time log configuration. The sampling
-- rate determines the percentage of viewer requests that are represented
-- in the real-time log data. You must provide an integer between 1 and
-- 100, inclusive.
createRealtimeLogConfig_samplingRate :: Lens' CreateRealtimeLogConfig Integer
-- | See: newCreateRealtimeLogConfigResponse smart
-- constructor.
data CreateRealtimeLogConfigResponse
CreateRealtimeLogConfigResponse' :: Maybe RealtimeLogConfig -> Int -> CreateRealtimeLogConfigResponse
-- | A real-time log configuration.
[$sel:realtimeLogConfig:CreateRealtimeLogConfigResponse'] :: CreateRealtimeLogConfigResponse -> Maybe RealtimeLogConfig
-- | The response's http status code.
[$sel:httpStatus:CreateRealtimeLogConfigResponse'] :: CreateRealtimeLogConfigResponse -> Int
-- | Create a value of CreateRealtimeLogConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:realtimeLogConfig:CreateRealtimeLogConfigResponse',
-- createRealtimeLogConfigResponse_realtimeLogConfig - A real-time
-- log configuration.
--
-- $sel:httpStatus:CreateRealtimeLogConfigResponse',
-- createRealtimeLogConfigResponse_httpStatus - The response's
-- http status code.
newCreateRealtimeLogConfigResponse :: Int -> CreateRealtimeLogConfigResponse
-- | A real-time log configuration.
createRealtimeLogConfigResponse_realtimeLogConfig :: Lens' CreateRealtimeLogConfigResponse (Maybe RealtimeLogConfig)
-- | The response's http status code.
createRealtimeLogConfigResponse_httpStatus :: Lens' CreateRealtimeLogConfigResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.CreateRealtimeLogConfig.CreateRealtimeLogConfig
instance GHC.Show.Show Amazonka.CloudFront.CreateRealtimeLogConfig.CreateRealtimeLogConfig
instance GHC.Read.Read Amazonka.CloudFront.CreateRealtimeLogConfig.CreateRealtimeLogConfig
instance GHC.Classes.Eq Amazonka.CloudFront.CreateRealtimeLogConfig.CreateRealtimeLogConfig
instance GHC.Generics.Generic Amazonka.CloudFront.CreateRealtimeLogConfig.CreateRealtimeLogConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.CreateRealtimeLogConfig.CreateRealtimeLogConfigResponse
instance GHC.Read.Read Amazonka.CloudFront.CreateRealtimeLogConfig.CreateRealtimeLogConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.CreateRealtimeLogConfig.CreateRealtimeLogConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.CreateRealtimeLogConfig.CreateRealtimeLogConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateRealtimeLogConfig.CreateRealtimeLogConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.CreateRealtimeLogConfig.CreateRealtimeLogConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateRealtimeLogConfig.CreateRealtimeLogConfig
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.CreateRealtimeLogConfig.CreateRealtimeLogConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.CreateRealtimeLogConfig.CreateRealtimeLogConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.CreateRealtimeLogConfig.CreateRealtimeLogConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.CreateRealtimeLogConfig.CreateRealtimeLogConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.CreateRealtimeLogConfig.CreateRealtimeLogConfig
-- | Uploads a public key to CloudFront that you can use with signed
-- URLs and signed cookies, or with field-level encryption.
module Amazonka.CloudFront.CreatePublicKey
-- | See: newCreatePublicKey smart constructor.
data CreatePublicKey
CreatePublicKey' :: PublicKeyConfig -> CreatePublicKey
-- | A CloudFront public key configuration.
[$sel:publicKeyConfig:CreatePublicKey'] :: CreatePublicKey -> PublicKeyConfig
-- | Create a value of CreatePublicKey with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreatePublicKey, createPublicKey_publicKeyConfig - A
-- CloudFront public key configuration.
newCreatePublicKey :: PublicKeyConfig -> CreatePublicKey
-- | A CloudFront public key configuration.
createPublicKey_publicKeyConfig :: Lens' CreatePublicKey PublicKeyConfig
-- | See: newCreatePublicKeyResponse smart constructor.
data CreatePublicKeyResponse
CreatePublicKeyResponse' :: Maybe Text -> Maybe Text -> Maybe PublicKey -> Int -> CreatePublicKeyResponse
-- | The identifier for this version of the public key.
[$sel:eTag:CreatePublicKeyResponse'] :: CreatePublicKeyResponse -> Maybe Text
-- | The URL of the public key.
[$sel:location:CreatePublicKeyResponse'] :: CreatePublicKeyResponse -> Maybe Text
-- | The public key.
[$sel:publicKey:CreatePublicKeyResponse'] :: CreatePublicKeyResponse -> Maybe PublicKey
-- | The response's http status code.
[$sel:httpStatus:CreatePublicKeyResponse'] :: CreatePublicKeyResponse -> Int
-- | Create a value of CreatePublicKeyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreatePublicKeyResponse',
-- createPublicKeyResponse_eTag - The identifier for this version
-- of the public key.
--
-- $sel:location:CreatePublicKeyResponse',
-- createPublicKeyResponse_location - The URL of the public key.
--
-- $sel:publicKey:CreatePublicKeyResponse',
-- createPublicKeyResponse_publicKey - The public key.
--
-- $sel:httpStatus:CreatePublicKeyResponse',
-- createPublicKeyResponse_httpStatus - The response's http status
-- code.
newCreatePublicKeyResponse :: Int -> CreatePublicKeyResponse
-- | The identifier for this version of the public key.
createPublicKeyResponse_eTag :: Lens' CreatePublicKeyResponse (Maybe Text)
-- | The URL of the public key.
createPublicKeyResponse_location :: Lens' CreatePublicKeyResponse (Maybe Text)
-- | The public key.
createPublicKeyResponse_publicKey :: Lens' CreatePublicKeyResponse (Maybe PublicKey)
-- | The response's http status code.
createPublicKeyResponse_httpStatus :: Lens' CreatePublicKeyResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.CreatePublicKey.CreatePublicKey
instance GHC.Show.Show Amazonka.CloudFront.CreatePublicKey.CreatePublicKey
instance GHC.Read.Read Amazonka.CloudFront.CreatePublicKey.CreatePublicKey
instance GHC.Classes.Eq Amazonka.CloudFront.CreatePublicKey.CreatePublicKey
instance GHC.Generics.Generic Amazonka.CloudFront.CreatePublicKey.CreatePublicKeyResponse
instance GHC.Show.Show Amazonka.CloudFront.CreatePublicKey.CreatePublicKeyResponse
instance GHC.Read.Read Amazonka.CloudFront.CreatePublicKey.CreatePublicKeyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.CreatePublicKey.CreatePublicKeyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.CreatePublicKey.CreatePublicKey
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreatePublicKey.CreatePublicKeyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.CreatePublicKey.CreatePublicKey
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreatePublicKey.CreatePublicKey
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.CreatePublicKey.CreatePublicKey
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.CreatePublicKey.CreatePublicKey
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.CreatePublicKey.CreatePublicKey
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.CreatePublicKey.CreatePublicKey
-- | Creates an origin request policy.
--
-- After you create an origin request policy, you can attach it to one or
-- more cache behaviors. When it's attached to a cache behavior, the
-- origin request policy determines the values that CloudFront includes
-- in requests that it sends to the origin. Each request that CloudFront
-- sends to the origin includes the following:
--
--
-- - The request body and the URL path (without the domain name) from
-- the viewer request.
-- - The headers that CloudFront automatically includes in every origin
-- request, including Host, User-Agent, and
-- X-Amz-Cf-Id.
-- - All HTTP headers, cookies, and URL query strings that are
-- specified in the cache policy or the origin request policy. These can
-- include items from the viewer request and, in the case of headers,
-- additional ones that are added by CloudFront.
--
--
-- CloudFront sends a request when it can't find a valid object in its
-- cache that matches the request. If you want to send values to the
-- origin and also include them in the cache key, use
-- CachePolicy.
--
-- For more information about origin request policies, see Controlling
-- origin requests in the Amazon CloudFront Developer Guide.
module Amazonka.CloudFront.CreateOriginRequestPolicy
-- | See: newCreateOriginRequestPolicy smart constructor.
data CreateOriginRequestPolicy
CreateOriginRequestPolicy' :: OriginRequestPolicyConfig -> CreateOriginRequestPolicy
-- | An origin request policy configuration.
[$sel:originRequestPolicyConfig:CreateOriginRequestPolicy'] :: CreateOriginRequestPolicy -> OriginRequestPolicyConfig
-- | Create a value of CreateOriginRequestPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateOriginRequestPolicy,
-- createOriginRequestPolicy_originRequestPolicyConfig - An origin
-- request policy configuration.
newCreateOriginRequestPolicy :: OriginRequestPolicyConfig -> CreateOriginRequestPolicy
-- | An origin request policy configuration.
createOriginRequestPolicy_originRequestPolicyConfig :: Lens' CreateOriginRequestPolicy OriginRequestPolicyConfig
-- | See: newCreateOriginRequestPolicyResponse smart
-- constructor.
data CreateOriginRequestPolicyResponse
CreateOriginRequestPolicyResponse' :: Maybe Text -> Maybe Text -> Maybe OriginRequestPolicy -> Int -> CreateOriginRequestPolicyResponse
-- | The current version of the origin request policy.
[$sel:eTag:CreateOriginRequestPolicyResponse'] :: CreateOriginRequestPolicyResponse -> Maybe Text
-- | The fully qualified URI of the origin request policy just created.
[$sel:location:CreateOriginRequestPolicyResponse'] :: CreateOriginRequestPolicyResponse -> Maybe Text
-- | An origin request policy.
[$sel:originRequestPolicy:CreateOriginRequestPolicyResponse'] :: CreateOriginRequestPolicyResponse -> Maybe OriginRequestPolicy
-- | The response's http status code.
[$sel:httpStatus:CreateOriginRequestPolicyResponse'] :: CreateOriginRequestPolicyResponse -> Int
-- | Create a value of CreateOriginRequestPolicyResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreateOriginRequestPolicyResponse',
-- createOriginRequestPolicyResponse_eTag - The current version of
-- the origin request policy.
--
-- $sel:location:CreateOriginRequestPolicyResponse',
-- createOriginRequestPolicyResponse_location - The fully
-- qualified URI of the origin request policy just created.
--
-- CreateOriginRequestPolicyResponse,
-- createOriginRequestPolicyResponse_originRequestPolicy - An
-- origin request policy.
--
-- $sel:httpStatus:CreateOriginRequestPolicyResponse',
-- createOriginRequestPolicyResponse_httpStatus - The response's
-- http status code.
newCreateOriginRequestPolicyResponse :: Int -> CreateOriginRequestPolicyResponse
-- | The current version of the origin request policy.
createOriginRequestPolicyResponse_eTag :: Lens' CreateOriginRequestPolicyResponse (Maybe Text)
-- | The fully qualified URI of the origin request policy just created.
createOriginRequestPolicyResponse_location :: Lens' CreateOriginRequestPolicyResponse (Maybe Text)
-- | An origin request policy.
createOriginRequestPolicyResponse_originRequestPolicy :: Lens' CreateOriginRequestPolicyResponse (Maybe OriginRequestPolicy)
-- | The response's http status code.
createOriginRequestPolicyResponse_httpStatus :: Lens' CreateOriginRequestPolicyResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.CreateOriginRequestPolicy.CreateOriginRequestPolicy
instance GHC.Show.Show Amazonka.CloudFront.CreateOriginRequestPolicy.CreateOriginRequestPolicy
instance GHC.Read.Read Amazonka.CloudFront.CreateOriginRequestPolicy.CreateOriginRequestPolicy
instance GHC.Classes.Eq Amazonka.CloudFront.CreateOriginRequestPolicy.CreateOriginRequestPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.CreateOriginRequestPolicy.CreateOriginRequestPolicyResponse
instance GHC.Show.Show Amazonka.CloudFront.CreateOriginRequestPolicy.CreateOriginRequestPolicyResponse
instance GHC.Read.Read Amazonka.CloudFront.CreateOriginRequestPolicy.CreateOriginRequestPolicyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.CreateOriginRequestPolicy.CreateOriginRequestPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.CreateOriginRequestPolicy.CreateOriginRequestPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateOriginRequestPolicy.CreateOriginRequestPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.CreateOriginRequestPolicy.CreateOriginRequestPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateOriginRequestPolicy.CreateOriginRequestPolicy
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.CreateOriginRequestPolicy.CreateOriginRequestPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.CreateOriginRequestPolicy.CreateOriginRequestPolicy
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.CreateOriginRequestPolicy.CreateOriginRequestPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.CreateOriginRequestPolicy.CreateOriginRequestPolicy
-- | Creates a new origin access control in CloudFront. After you create an
-- origin access control, you can add it to an origin in a CloudFront
-- distribution so that CloudFront sends authenticated (signed) requests
-- to the origin.
--
-- For an Amazon S3 origin, this makes it possible to block public access
-- to the Amazon S3 bucket so that viewers (users) can access the content
-- in the bucket only through CloudFront.
--
-- For more information about using a CloudFront origin access control,
-- see Restricting access to an Amazon S3 origin in the Amazon
-- CloudFront Developer Guide.
module Amazonka.CloudFront.CreateOriginAccessControl
-- | See: newCreateOriginAccessControl smart constructor.
data CreateOriginAccessControl
CreateOriginAccessControl' :: OriginAccessControlConfig -> CreateOriginAccessControl
-- | Contains the origin access control.
[$sel:originAccessControlConfig:CreateOriginAccessControl'] :: CreateOriginAccessControl -> OriginAccessControlConfig
-- | Create a value of CreateOriginAccessControl with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateOriginAccessControl,
-- createOriginAccessControl_originAccessControlConfig - Contains
-- the origin access control.
newCreateOriginAccessControl :: OriginAccessControlConfig -> CreateOriginAccessControl
-- | Contains the origin access control.
createOriginAccessControl_originAccessControlConfig :: Lens' CreateOriginAccessControl OriginAccessControlConfig
-- | See: newCreateOriginAccessControlResponse smart
-- constructor.
data CreateOriginAccessControlResponse
CreateOriginAccessControlResponse' :: Maybe Text -> Maybe Text -> Maybe OriginAccessControl -> Int -> CreateOriginAccessControlResponse
-- | The version identifier for the current version of the origin access
-- control.
[$sel:eTag:CreateOriginAccessControlResponse'] :: CreateOriginAccessControlResponse -> Maybe Text
-- | The URL of the origin access control.
[$sel:location:CreateOriginAccessControlResponse'] :: CreateOriginAccessControlResponse -> Maybe Text
-- | Contains an origin access control.
[$sel:originAccessControl:CreateOriginAccessControlResponse'] :: CreateOriginAccessControlResponse -> Maybe OriginAccessControl
-- | The response's http status code.
[$sel:httpStatus:CreateOriginAccessControlResponse'] :: CreateOriginAccessControlResponse -> Int
-- | Create a value of CreateOriginAccessControlResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreateOriginAccessControlResponse',
-- createOriginAccessControlResponse_eTag - The version identifier
-- for the current version of the origin access control.
--
-- $sel:location:CreateOriginAccessControlResponse',
-- createOriginAccessControlResponse_location - The URL of the
-- origin access control.
--
-- $sel:originAccessControl:CreateOriginAccessControlResponse',
-- createOriginAccessControlResponse_originAccessControl -
-- Contains an origin access control.
--
-- $sel:httpStatus:CreateOriginAccessControlResponse',
-- createOriginAccessControlResponse_httpStatus - The response's
-- http status code.
newCreateOriginAccessControlResponse :: Int -> CreateOriginAccessControlResponse
-- | The version identifier for the current version of the origin access
-- control.
createOriginAccessControlResponse_eTag :: Lens' CreateOriginAccessControlResponse (Maybe Text)
-- | The URL of the origin access control.
createOriginAccessControlResponse_location :: Lens' CreateOriginAccessControlResponse (Maybe Text)
-- | Contains an origin access control.
createOriginAccessControlResponse_originAccessControl :: Lens' CreateOriginAccessControlResponse (Maybe OriginAccessControl)
-- | The response's http status code.
createOriginAccessControlResponse_httpStatus :: Lens' CreateOriginAccessControlResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.CreateOriginAccessControl.CreateOriginAccessControl
instance GHC.Show.Show Amazonka.CloudFront.CreateOriginAccessControl.CreateOriginAccessControl
instance GHC.Read.Read Amazonka.CloudFront.CreateOriginAccessControl.CreateOriginAccessControl
instance GHC.Classes.Eq Amazonka.CloudFront.CreateOriginAccessControl.CreateOriginAccessControl
instance GHC.Generics.Generic Amazonka.CloudFront.CreateOriginAccessControl.CreateOriginAccessControlResponse
instance GHC.Show.Show Amazonka.CloudFront.CreateOriginAccessControl.CreateOriginAccessControlResponse
instance GHC.Read.Read Amazonka.CloudFront.CreateOriginAccessControl.CreateOriginAccessControlResponse
instance GHC.Classes.Eq Amazonka.CloudFront.CreateOriginAccessControl.CreateOriginAccessControlResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.CreateOriginAccessControl.CreateOriginAccessControl
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateOriginAccessControl.CreateOriginAccessControlResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.CreateOriginAccessControl.CreateOriginAccessControl
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateOriginAccessControl.CreateOriginAccessControl
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.CreateOriginAccessControl.CreateOriginAccessControl
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.CreateOriginAccessControl.CreateOriginAccessControl
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.CreateOriginAccessControl.CreateOriginAccessControl
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.CreateOriginAccessControl.CreateOriginAccessControl
-- | Enables additional CloudWatch metrics for the specified CloudFront
-- distribution. The additional metrics incur an additional cost.
--
-- For more information, see Viewing additional CloudFront
-- distribution metrics in the Amazon CloudFront Developer
-- Guide.
module Amazonka.CloudFront.CreateMonitoringSubscription
-- | See: newCreateMonitoringSubscription smart constructor.
data CreateMonitoringSubscription
CreateMonitoringSubscription' :: MonitoringSubscription -> Text -> CreateMonitoringSubscription
-- | A monitoring subscription. This structure contains information about
-- whether additional CloudWatch metrics are enabled for a given
-- CloudFront distribution.
[$sel:monitoringSubscription:CreateMonitoringSubscription'] :: CreateMonitoringSubscription -> MonitoringSubscription
-- | The ID of the distribution that you are enabling metrics for.
[$sel:distributionId:CreateMonitoringSubscription'] :: CreateMonitoringSubscription -> Text
-- | Create a value of CreateMonitoringSubscription with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateMonitoringSubscription,
-- createMonitoringSubscription_monitoringSubscription - A
-- monitoring subscription. This structure contains information about
-- whether additional CloudWatch metrics are enabled for a given
-- CloudFront distribution.
--
-- CreateMonitoringSubscription,
-- createMonitoringSubscription_distributionId - The ID of the
-- distribution that you are enabling metrics for.
newCreateMonitoringSubscription :: MonitoringSubscription -> Text -> CreateMonitoringSubscription
-- | A monitoring subscription. This structure contains information about
-- whether additional CloudWatch metrics are enabled for a given
-- CloudFront distribution.
createMonitoringSubscription_monitoringSubscription :: Lens' CreateMonitoringSubscription MonitoringSubscription
-- | The ID of the distribution that you are enabling metrics for.
createMonitoringSubscription_distributionId :: Lens' CreateMonitoringSubscription Text
-- | See: newCreateMonitoringSubscriptionResponse smart
-- constructor.
data CreateMonitoringSubscriptionResponse
CreateMonitoringSubscriptionResponse' :: Maybe MonitoringSubscription -> Int -> CreateMonitoringSubscriptionResponse
-- | A monitoring subscription. This structure contains information about
-- whether additional CloudWatch metrics are enabled for a given
-- CloudFront distribution.
[$sel:monitoringSubscription:CreateMonitoringSubscriptionResponse'] :: CreateMonitoringSubscriptionResponse -> Maybe MonitoringSubscription
-- | The response's http status code.
[$sel:httpStatus:CreateMonitoringSubscriptionResponse'] :: CreateMonitoringSubscriptionResponse -> Int
-- | Create a value of CreateMonitoringSubscriptionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateMonitoringSubscription,
-- createMonitoringSubscriptionResponse_monitoringSubscription - A
-- monitoring subscription. This structure contains information about
-- whether additional CloudWatch metrics are enabled for a given
-- CloudFront distribution.
--
-- $sel:httpStatus:CreateMonitoringSubscriptionResponse',
-- createMonitoringSubscriptionResponse_httpStatus - The
-- response's http status code.
newCreateMonitoringSubscriptionResponse :: Int -> CreateMonitoringSubscriptionResponse
-- | A monitoring subscription. This structure contains information about
-- whether additional CloudWatch metrics are enabled for a given
-- CloudFront distribution.
createMonitoringSubscriptionResponse_monitoringSubscription :: Lens' CreateMonitoringSubscriptionResponse (Maybe MonitoringSubscription)
-- | The response's http status code.
createMonitoringSubscriptionResponse_httpStatus :: Lens' CreateMonitoringSubscriptionResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.CreateMonitoringSubscription.CreateMonitoringSubscription
instance GHC.Show.Show Amazonka.CloudFront.CreateMonitoringSubscription.CreateMonitoringSubscription
instance GHC.Read.Read Amazonka.CloudFront.CreateMonitoringSubscription.CreateMonitoringSubscription
instance GHC.Classes.Eq Amazonka.CloudFront.CreateMonitoringSubscription.CreateMonitoringSubscription
instance GHC.Generics.Generic Amazonka.CloudFront.CreateMonitoringSubscription.CreateMonitoringSubscriptionResponse
instance GHC.Show.Show Amazonka.CloudFront.CreateMonitoringSubscription.CreateMonitoringSubscriptionResponse
instance GHC.Read.Read Amazonka.CloudFront.CreateMonitoringSubscription.CreateMonitoringSubscriptionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.CreateMonitoringSubscription.CreateMonitoringSubscriptionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.CreateMonitoringSubscription.CreateMonitoringSubscription
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateMonitoringSubscription.CreateMonitoringSubscriptionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.CreateMonitoringSubscription.CreateMonitoringSubscription
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateMonitoringSubscription.CreateMonitoringSubscription
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.CreateMonitoringSubscription.CreateMonitoringSubscription
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.CreateMonitoringSubscription.CreateMonitoringSubscription
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.CreateMonitoringSubscription.CreateMonitoringSubscription
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.CreateMonitoringSubscription.CreateMonitoringSubscription
-- | Creates a key group that you can use with CloudFront signed URLs
-- and signed cookies.
--
-- To create a key group, you must specify at least one public key for
-- the key group. After you create a key group, you can reference it from
-- one or more cache behaviors. When you reference a key group in a cache
-- behavior, CloudFront requires signed URLs or signed cookies for all
-- requests that match the cache behavior. The URLs or cookies must be
-- signed with a private key whose corresponding public key is in the key
-- group. The signed URL or cookie contains information about which
-- public key CloudFront should use to verify the signature. For more
-- information, see Serving private content in the Amazon
-- CloudFront Developer Guide.
module Amazonka.CloudFront.CreateKeyGroup
-- | See: newCreateKeyGroup smart constructor.
data CreateKeyGroup
CreateKeyGroup' :: KeyGroupConfig -> CreateKeyGroup
-- | A key group configuration.
[$sel:keyGroupConfig:CreateKeyGroup'] :: CreateKeyGroup -> KeyGroupConfig
-- | Create a value of CreateKeyGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateKeyGroup, createKeyGroup_keyGroupConfig - A key
-- group configuration.
newCreateKeyGroup :: KeyGroupConfig -> CreateKeyGroup
-- | A key group configuration.
createKeyGroup_keyGroupConfig :: Lens' CreateKeyGroup KeyGroupConfig
-- | See: newCreateKeyGroupResponse smart constructor.
data CreateKeyGroupResponse
CreateKeyGroupResponse' :: Maybe Text -> Maybe KeyGroup -> Maybe Text -> Int -> CreateKeyGroupResponse
-- | The identifier for this version of the key group.
[$sel:eTag:CreateKeyGroupResponse'] :: CreateKeyGroupResponse -> Maybe Text
-- | The key group that was just created.
[$sel:keyGroup:CreateKeyGroupResponse'] :: CreateKeyGroupResponse -> Maybe KeyGroup
-- | The URL of the key group.
[$sel:location:CreateKeyGroupResponse'] :: CreateKeyGroupResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateKeyGroupResponse'] :: CreateKeyGroupResponse -> Int
-- | Create a value of CreateKeyGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreateKeyGroupResponse',
-- createKeyGroupResponse_eTag - The identifier for this version
-- of the key group.
--
-- CreateKeyGroupResponse, createKeyGroupResponse_keyGroup
-- - The key group that was just created.
--
-- $sel:location:CreateKeyGroupResponse',
-- createKeyGroupResponse_location - The URL of the key group.
--
-- $sel:httpStatus:CreateKeyGroupResponse',
-- createKeyGroupResponse_httpStatus - The response's http status
-- code.
newCreateKeyGroupResponse :: Int -> CreateKeyGroupResponse
-- | The identifier for this version of the key group.
createKeyGroupResponse_eTag :: Lens' CreateKeyGroupResponse (Maybe Text)
-- | The key group that was just created.
createKeyGroupResponse_keyGroup :: Lens' CreateKeyGroupResponse (Maybe KeyGroup)
-- | The URL of the key group.
createKeyGroupResponse_location :: Lens' CreateKeyGroupResponse (Maybe Text)
-- | The response's http status code.
createKeyGroupResponse_httpStatus :: Lens' CreateKeyGroupResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.CreateKeyGroup.CreateKeyGroup
instance GHC.Show.Show Amazonka.CloudFront.CreateKeyGroup.CreateKeyGroup
instance GHC.Read.Read Amazonka.CloudFront.CreateKeyGroup.CreateKeyGroup
instance GHC.Classes.Eq Amazonka.CloudFront.CreateKeyGroup.CreateKeyGroup
instance GHC.Generics.Generic Amazonka.CloudFront.CreateKeyGroup.CreateKeyGroupResponse
instance GHC.Show.Show Amazonka.CloudFront.CreateKeyGroup.CreateKeyGroupResponse
instance GHC.Read.Read Amazonka.CloudFront.CreateKeyGroup.CreateKeyGroupResponse
instance GHC.Classes.Eq Amazonka.CloudFront.CreateKeyGroup.CreateKeyGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.CreateKeyGroup.CreateKeyGroup
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateKeyGroup.CreateKeyGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.CreateKeyGroup.CreateKeyGroup
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateKeyGroup.CreateKeyGroup
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.CreateKeyGroup.CreateKeyGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.CreateKeyGroup.CreateKeyGroup
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.CreateKeyGroup.CreateKeyGroup
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.CreateKeyGroup.CreateKeyGroup
-- | Create a new invalidation.
module Amazonka.CloudFront.CreateInvalidation
-- | The request to create an invalidation.
--
-- See: newCreateInvalidation smart constructor.
data CreateInvalidation
CreateInvalidation' :: Text -> InvalidationBatch -> CreateInvalidation
-- | The distribution's id.
[$sel:distributionId:CreateInvalidation'] :: CreateInvalidation -> Text
-- | The batch information for the invalidation.
[$sel:invalidationBatch:CreateInvalidation'] :: CreateInvalidation -> InvalidationBatch
-- | Create a value of CreateInvalidation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateInvalidation, createInvalidation_distributionId -
-- The distribution's id.
--
-- CreateInvalidation, createInvalidation_invalidationBatch
-- - The batch information for the invalidation.
newCreateInvalidation :: Text -> InvalidationBatch -> CreateInvalidation
-- | The distribution's id.
createInvalidation_distributionId :: Lens' CreateInvalidation Text
-- | The batch information for the invalidation.
createInvalidation_invalidationBatch :: Lens' CreateInvalidation InvalidationBatch
-- | The returned result of the corresponding request.
--
-- See: newCreateInvalidationResponse smart constructor.
data CreateInvalidationResponse
CreateInvalidationResponse' :: Maybe Invalidation -> Maybe Text -> Int -> CreateInvalidationResponse
-- | The invalidation's information.
[$sel:invalidation:CreateInvalidationResponse'] :: CreateInvalidationResponse -> Maybe Invalidation
-- | The fully qualified URI of the distribution and invalidation batch
-- request, including the Invalidation ID.
[$sel:location:CreateInvalidationResponse'] :: CreateInvalidationResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateInvalidationResponse'] :: CreateInvalidationResponse -> Int
-- | Create a value of CreateInvalidationResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:invalidation:CreateInvalidationResponse',
-- createInvalidationResponse_invalidation - The invalidation's
-- information.
--
-- $sel:location:CreateInvalidationResponse',
-- createInvalidationResponse_location - The fully qualified URI
-- of the distribution and invalidation batch request, including the
-- Invalidation ID.
--
-- $sel:httpStatus:CreateInvalidationResponse',
-- createInvalidationResponse_httpStatus - The response's http
-- status code.
newCreateInvalidationResponse :: Int -> CreateInvalidationResponse
-- | The invalidation's information.
createInvalidationResponse_invalidation :: Lens' CreateInvalidationResponse (Maybe Invalidation)
-- | The fully qualified URI of the distribution and invalidation batch
-- request, including the Invalidation ID.
createInvalidationResponse_location :: Lens' CreateInvalidationResponse (Maybe Text)
-- | The response's http status code.
createInvalidationResponse_httpStatus :: Lens' CreateInvalidationResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.CreateInvalidation.CreateInvalidation
instance GHC.Show.Show Amazonka.CloudFront.CreateInvalidation.CreateInvalidation
instance GHC.Read.Read Amazonka.CloudFront.CreateInvalidation.CreateInvalidation
instance GHC.Classes.Eq Amazonka.CloudFront.CreateInvalidation.CreateInvalidation
instance GHC.Generics.Generic Amazonka.CloudFront.CreateInvalidation.CreateInvalidationResponse
instance GHC.Show.Show Amazonka.CloudFront.CreateInvalidation.CreateInvalidationResponse
instance GHC.Read.Read Amazonka.CloudFront.CreateInvalidation.CreateInvalidationResponse
instance GHC.Classes.Eq Amazonka.CloudFront.CreateInvalidation.CreateInvalidationResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.CreateInvalidation.CreateInvalidation
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateInvalidation.CreateInvalidationResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.CreateInvalidation.CreateInvalidation
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateInvalidation.CreateInvalidation
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.CreateInvalidation.CreateInvalidation
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.CreateInvalidation.CreateInvalidation
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.CreateInvalidation.CreateInvalidation
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.CreateInvalidation.CreateInvalidation
-- | Creates a CloudFront function.
--
-- To create a function, you provide the function code and some
-- configuration information about the function. The response contains an
-- Amazon Resource Name (ARN) that uniquely identifies the function.
--
-- When you create a function, it's in the DEVELOPMENT stage. In
-- this stage, you can test the function with TestFunction, and
-- update it with UpdateFunction.
--
-- When you're ready to use your function with a CloudFront distribution,
-- use PublishFunction to copy the function from the
-- DEVELOPMENT stage to LIVE. When it's live, you can
-- attach the function to a distribution's cache behavior, using the
-- function's ARN.
module Amazonka.CloudFront.CreateFunction
-- | See: newCreateFunction smart constructor.
data CreateFunction
CreateFunction' :: Text -> FunctionConfig -> Sensitive Base64 -> CreateFunction
-- | A name to identify the function.
[$sel:name:CreateFunction'] :: CreateFunction -> Text
-- | Configuration information about the function, including an optional
-- comment and the function's runtime.
[$sel:functionConfig:CreateFunction'] :: CreateFunction -> FunctionConfig
-- | The function code. For more information about writing a CloudFront
-- function, see Writing function code for CloudFront Functions in
-- the Amazon CloudFront Developer Guide.
[$sel:functionCode:CreateFunction'] :: CreateFunction -> Sensitive Base64
-- | Create a value of CreateFunction with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateFunction, createFunction_name - A name to identify
-- the function.
--
-- CreateFunction, createFunction_functionConfig -
-- Configuration information about the function, including an optional
-- comment and the function's runtime.
--
-- $sel:functionCode:CreateFunction',
-- createFunction_functionCode - The function code. For more
-- information about writing a CloudFront function, see Writing
-- function code for CloudFront Functions in the Amazon CloudFront
-- Developer Guide.-- -- Note: This Lens
-- automatically encodes and decodes Base64 data. -- The underlying
-- isomorphism will encode to Base64 representation during --
-- serialisation, and decode from Base64 representation during
-- deserialisation. -- This Lens accepts and returns only raw
-- unencoded data.
newCreateFunction :: Text -> FunctionConfig -> ByteString -> CreateFunction
-- | A name to identify the function.
createFunction_name :: Lens' CreateFunction Text
-- | Configuration information about the function, including an optional
-- comment and the function's runtime.
createFunction_functionConfig :: Lens' CreateFunction FunctionConfig
-- | The function code. For more information about writing a CloudFront
-- function, see Writing function code for CloudFront Functions in
-- the Amazon CloudFront Developer Guide.-- -- Note: This
-- Lens automatically encodes and decodes Base64 data. -- The
-- underlying isomorphism will encode to Base64 representation during --
-- serialisation, and decode from Base64 representation during
-- deserialisation. -- This Lens accepts and returns only raw
-- unencoded data.
createFunction_functionCode :: Lens' CreateFunction ByteString
-- | See: newCreateFunctionResponse smart constructor.
data CreateFunctionResponse
CreateFunctionResponse' :: Maybe Text -> Maybe FunctionSummary -> Maybe Text -> Int -> CreateFunctionResponse
-- | The version identifier for the current version of the CloudFront
-- function.
[$sel:eTag:CreateFunctionResponse'] :: CreateFunctionResponse -> Maybe Text
-- | Contains configuration information and metadata about a CloudFront
-- function.
[$sel:functionSummary:CreateFunctionResponse'] :: CreateFunctionResponse -> Maybe FunctionSummary
-- | The URL of the CloudFront function. Use the URL to manage the function
-- with the CloudFront API.
[$sel:location:CreateFunctionResponse'] :: CreateFunctionResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateFunctionResponse'] :: CreateFunctionResponse -> Int
-- | Create a value of CreateFunctionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreateFunctionResponse',
-- createFunctionResponse_eTag - The version identifier for the
-- current version of the CloudFront function.
--
-- CreateFunctionResponse,
-- createFunctionResponse_functionSummary - Contains configuration
-- information and metadata about a CloudFront function.
--
-- $sel:location:CreateFunctionResponse',
-- createFunctionResponse_location - The URL of the CloudFront
-- function. Use the URL to manage the function with the CloudFront API.
--
-- $sel:httpStatus:CreateFunctionResponse',
-- createFunctionResponse_httpStatus - The response's http status
-- code.
newCreateFunctionResponse :: Int -> CreateFunctionResponse
-- | The version identifier for the current version of the CloudFront
-- function.
createFunctionResponse_eTag :: Lens' CreateFunctionResponse (Maybe Text)
-- | Contains configuration information and metadata about a CloudFront
-- function.
createFunctionResponse_functionSummary :: Lens' CreateFunctionResponse (Maybe FunctionSummary)
-- | The URL of the CloudFront function. Use the URL to manage the function
-- with the CloudFront API.
createFunctionResponse_location :: Lens' CreateFunctionResponse (Maybe Text)
-- | The response's http status code.
createFunctionResponse_httpStatus :: Lens' CreateFunctionResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.CreateFunction.CreateFunction
instance GHC.Show.Show Amazonka.CloudFront.CreateFunction.CreateFunction
instance GHC.Classes.Eq Amazonka.CloudFront.CreateFunction.CreateFunction
instance GHC.Generics.Generic Amazonka.CloudFront.CreateFunction.CreateFunctionResponse
instance GHC.Show.Show Amazonka.CloudFront.CreateFunction.CreateFunctionResponse
instance GHC.Read.Read Amazonka.CloudFront.CreateFunction.CreateFunctionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.CreateFunction.CreateFunctionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.CreateFunction.CreateFunction
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateFunction.CreateFunctionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.CreateFunction.CreateFunction
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateFunction.CreateFunction
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.CreateFunction.CreateFunction
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.CreateFunction.CreateFunction
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.CreateFunction.CreateFunction
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.CreateFunction.CreateFunction
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.CreateFunction.CreateFunction
-- | Create a field-level encryption profile.
module Amazonka.CloudFront.CreateFieldLevelEncryptionProfile
-- | See: newCreateFieldLevelEncryptionProfile smart
-- constructor.
data CreateFieldLevelEncryptionProfile
CreateFieldLevelEncryptionProfile' :: FieldLevelEncryptionProfileConfig -> CreateFieldLevelEncryptionProfile
-- | The request to create a field-level encryption profile.
[$sel:fieldLevelEncryptionProfileConfig:CreateFieldLevelEncryptionProfile'] :: CreateFieldLevelEncryptionProfile -> FieldLevelEncryptionProfileConfig
-- | Create a value of CreateFieldLevelEncryptionProfile with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateFieldLevelEncryptionProfile,
-- createFieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig
-- - The request to create a field-level encryption profile.
newCreateFieldLevelEncryptionProfile :: FieldLevelEncryptionProfileConfig -> CreateFieldLevelEncryptionProfile
-- | The request to create a field-level encryption profile.
createFieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig :: Lens' CreateFieldLevelEncryptionProfile FieldLevelEncryptionProfileConfig
-- | See: newCreateFieldLevelEncryptionProfileResponse smart
-- constructor.
data CreateFieldLevelEncryptionProfileResponse
CreateFieldLevelEncryptionProfileResponse' :: Maybe Text -> Maybe FieldLevelEncryptionProfile -> Maybe Text -> Int -> CreateFieldLevelEncryptionProfileResponse
-- | The current version of the field level encryption profile. For
-- example: E2QWRUHAPOMQZL.
[$sel:eTag:CreateFieldLevelEncryptionProfileResponse'] :: CreateFieldLevelEncryptionProfileResponse -> Maybe Text
-- | Returned when you create a new field-level encryption profile.
[$sel:fieldLevelEncryptionProfile:CreateFieldLevelEncryptionProfileResponse'] :: CreateFieldLevelEncryptionProfileResponse -> Maybe FieldLevelEncryptionProfile
-- | The fully qualified URI of the new profile resource just created.
[$sel:location:CreateFieldLevelEncryptionProfileResponse'] :: CreateFieldLevelEncryptionProfileResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateFieldLevelEncryptionProfileResponse'] :: CreateFieldLevelEncryptionProfileResponse -> Int
-- | Create a value of CreateFieldLevelEncryptionProfileResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreateFieldLevelEncryptionProfileResponse',
-- createFieldLevelEncryptionProfileResponse_eTag - The current
-- version of the field level encryption profile. For example:
-- E2QWRUHAPOMQZL.
--
--
-- $sel:fieldLevelEncryptionProfile:CreateFieldLevelEncryptionProfileResponse',
-- createFieldLevelEncryptionProfileResponse_fieldLevelEncryptionProfile
-- - Returned when you create a new field-level encryption profile.
--
-- $sel:location:CreateFieldLevelEncryptionProfileResponse',
-- createFieldLevelEncryptionProfileResponse_location - The fully
-- qualified URI of the new profile resource just created.
--
-- $sel:httpStatus:CreateFieldLevelEncryptionProfileResponse',
-- createFieldLevelEncryptionProfileResponse_httpStatus - The
-- response's http status code.
newCreateFieldLevelEncryptionProfileResponse :: Int -> CreateFieldLevelEncryptionProfileResponse
-- | The current version of the field level encryption profile. For
-- example: E2QWRUHAPOMQZL.
createFieldLevelEncryptionProfileResponse_eTag :: Lens' CreateFieldLevelEncryptionProfileResponse (Maybe Text)
-- | Returned when you create a new field-level encryption profile.
createFieldLevelEncryptionProfileResponse_fieldLevelEncryptionProfile :: Lens' CreateFieldLevelEncryptionProfileResponse (Maybe FieldLevelEncryptionProfile)
-- | The fully qualified URI of the new profile resource just created.
createFieldLevelEncryptionProfileResponse_location :: Lens' CreateFieldLevelEncryptionProfileResponse (Maybe Text)
-- | The response's http status code.
createFieldLevelEncryptionProfileResponse_httpStatus :: Lens' CreateFieldLevelEncryptionProfileResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.CreateFieldLevelEncryptionProfile.CreateFieldLevelEncryptionProfile
instance GHC.Show.Show Amazonka.CloudFront.CreateFieldLevelEncryptionProfile.CreateFieldLevelEncryptionProfile
instance GHC.Read.Read Amazonka.CloudFront.CreateFieldLevelEncryptionProfile.CreateFieldLevelEncryptionProfile
instance GHC.Classes.Eq Amazonka.CloudFront.CreateFieldLevelEncryptionProfile.CreateFieldLevelEncryptionProfile
instance GHC.Generics.Generic Amazonka.CloudFront.CreateFieldLevelEncryptionProfile.CreateFieldLevelEncryptionProfileResponse
instance GHC.Show.Show Amazonka.CloudFront.CreateFieldLevelEncryptionProfile.CreateFieldLevelEncryptionProfileResponse
instance GHC.Read.Read Amazonka.CloudFront.CreateFieldLevelEncryptionProfile.CreateFieldLevelEncryptionProfileResponse
instance GHC.Classes.Eq Amazonka.CloudFront.CreateFieldLevelEncryptionProfile.CreateFieldLevelEncryptionProfileResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.CreateFieldLevelEncryptionProfile.CreateFieldLevelEncryptionProfile
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateFieldLevelEncryptionProfile.CreateFieldLevelEncryptionProfileResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.CreateFieldLevelEncryptionProfile.CreateFieldLevelEncryptionProfile
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateFieldLevelEncryptionProfile.CreateFieldLevelEncryptionProfile
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.CreateFieldLevelEncryptionProfile.CreateFieldLevelEncryptionProfile
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.CreateFieldLevelEncryptionProfile.CreateFieldLevelEncryptionProfile
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.CreateFieldLevelEncryptionProfile.CreateFieldLevelEncryptionProfile
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.CreateFieldLevelEncryptionProfile.CreateFieldLevelEncryptionProfile
-- | Create a new field-level encryption configuration.
module Amazonka.CloudFront.CreateFieldLevelEncryptionConfig
-- | See: newCreateFieldLevelEncryptionConfig smart
-- constructor.
data CreateFieldLevelEncryptionConfig
CreateFieldLevelEncryptionConfig' :: FieldLevelEncryptionConfig -> CreateFieldLevelEncryptionConfig
-- | The request to create a new field-level encryption configuration.
[$sel:fieldLevelEncryptionConfig:CreateFieldLevelEncryptionConfig'] :: CreateFieldLevelEncryptionConfig -> FieldLevelEncryptionConfig
-- | Create a value of CreateFieldLevelEncryptionConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateFieldLevelEncryptionConfig,
-- createFieldLevelEncryptionConfig_fieldLevelEncryptionConfig -
-- The request to create a new field-level encryption configuration.
newCreateFieldLevelEncryptionConfig :: FieldLevelEncryptionConfig -> CreateFieldLevelEncryptionConfig
-- | The request to create a new field-level encryption configuration.
createFieldLevelEncryptionConfig_fieldLevelEncryptionConfig :: Lens' CreateFieldLevelEncryptionConfig FieldLevelEncryptionConfig
-- | See: newCreateFieldLevelEncryptionConfigResponse smart
-- constructor.
data CreateFieldLevelEncryptionConfigResponse
CreateFieldLevelEncryptionConfigResponse' :: Maybe Text -> Maybe FieldLevelEncryption -> Maybe Text -> Int -> CreateFieldLevelEncryptionConfigResponse
-- | The current version of the field level encryption configuration. For
-- example: E2QWRUHAPOMQZL.
[$sel:eTag:CreateFieldLevelEncryptionConfigResponse'] :: CreateFieldLevelEncryptionConfigResponse -> Maybe Text
-- | Returned when you create a new field-level encryption configuration.
[$sel:fieldLevelEncryption:CreateFieldLevelEncryptionConfigResponse'] :: CreateFieldLevelEncryptionConfigResponse -> Maybe FieldLevelEncryption
-- | The fully qualified URI of the new configuration resource just
-- created.
[$sel:location:CreateFieldLevelEncryptionConfigResponse'] :: CreateFieldLevelEncryptionConfigResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateFieldLevelEncryptionConfigResponse'] :: CreateFieldLevelEncryptionConfigResponse -> Int
-- | Create a value of CreateFieldLevelEncryptionConfigResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreateFieldLevelEncryptionConfigResponse',
-- createFieldLevelEncryptionConfigResponse_eTag - The current
-- version of the field level encryption configuration. For example:
-- E2QWRUHAPOMQZL.
--
--
-- $sel:fieldLevelEncryption:CreateFieldLevelEncryptionConfigResponse',
-- createFieldLevelEncryptionConfigResponse_fieldLevelEncryption -
-- Returned when you create a new field-level encryption configuration.
--
-- $sel:location:CreateFieldLevelEncryptionConfigResponse',
-- createFieldLevelEncryptionConfigResponse_location - The fully
-- qualified URI of the new configuration resource just created.
--
-- $sel:httpStatus:CreateFieldLevelEncryptionConfigResponse',
-- createFieldLevelEncryptionConfigResponse_httpStatus - The
-- response's http status code.
newCreateFieldLevelEncryptionConfigResponse :: Int -> CreateFieldLevelEncryptionConfigResponse
-- | The current version of the field level encryption configuration. For
-- example: E2QWRUHAPOMQZL.
createFieldLevelEncryptionConfigResponse_eTag :: Lens' CreateFieldLevelEncryptionConfigResponse (Maybe Text)
-- | Returned when you create a new field-level encryption configuration.
createFieldLevelEncryptionConfigResponse_fieldLevelEncryption :: Lens' CreateFieldLevelEncryptionConfigResponse (Maybe FieldLevelEncryption)
-- | The fully qualified URI of the new configuration resource just
-- created.
createFieldLevelEncryptionConfigResponse_location :: Lens' CreateFieldLevelEncryptionConfigResponse (Maybe Text)
-- | The response's http status code.
createFieldLevelEncryptionConfigResponse_httpStatus :: Lens' CreateFieldLevelEncryptionConfigResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.CreateFieldLevelEncryptionConfig.CreateFieldLevelEncryptionConfig
instance GHC.Show.Show Amazonka.CloudFront.CreateFieldLevelEncryptionConfig.CreateFieldLevelEncryptionConfig
instance GHC.Read.Read Amazonka.CloudFront.CreateFieldLevelEncryptionConfig.CreateFieldLevelEncryptionConfig
instance GHC.Classes.Eq Amazonka.CloudFront.CreateFieldLevelEncryptionConfig.CreateFieldLevelEncryptionConfig
instance GHC.Generics.Generic Amazonka.CloudFront.CreateFieldLevelEncryptionConfig.CreateFieldLevelEncryptionConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.CreateFieldLevelEncryptionConfig.CreateFieldLevelEncryptionConfigResponse
instance GHC.Read.Read Amazonka.CloudFront.CreateFieldLevelEncryptionConfig.CreateFieldLevelEncryptionConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.CreateFieldLevelEncryptionConfig.CreateFieldLevelEncryptionConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.CreateFieldLevelEncryptionConfig.CreateFieldLevelEncryptionConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateFieldLevelEncryptionConfig.CreateFieldLevelEncryptionConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.CreateFieldLevelEncryptionConfig.CreateFieldLevelEncryptionConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateFieldLevelEncryptionConfig.CreateFieldLevelEncryptionConfig
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.CreateFieldLevelEncryptionConfig.CreateFieldLevelEncryptionConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.CreateFieldLevelEncryptionConfig.CreateFieldLevelEncryptionConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.CreateFieldLevelEncryptionConfig.CreateFieldLevelEncryptionConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.CreateFieldLevelEncryptionConfig.CreateFieldLevelEncryptionConfig
-- | Create a new distribution with tags.
module Amazonka.CloudFront.CreateDistributionWithTags
-- | The request to create a new distribution with tags.
--
-- See: newCreateDistributionWithTags smart constructor.
data CreateDistributionWithTags
CreateDistributionWithTags' :: DistributionConfigWithTags -> CreateDistributionWithTags
-- | The distribution's configuration information.
[$sel:distributionConfigWithTags:CreateDistributionWithTags'] :: CreateDistributionWithTags -> DistributionConfigWithTags
-- | Create a value of CreateDistributionWithTags with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distributionConfigWithTags:CreateDistributionWithTags',
-- createDistributionWithTags_distributionConfigWithTags - The
-- distribution's configuration information.
newCreateDistributionWithTags :: DistributionConfigWithTags -> CreateDistributionWithTags
-- | The distribution's configuration information.
createDistributionWithTags_distributionConfigWithTags :: Lens' CreateDistributionWithTags DistributionConfigWithTags
-- | The returned result of the corresponding request.
--
-- See: newCreateDistributionWithTagsResponse smart
-- constructor.
data CreateDistributionWithTagsResponse
CreateDistributionWithTagsResponse' :: Maybe Distribution -> Maybe Text -> Maybe Text -> Int -> CreateDistributionWithTagsResponse
-- | The distribution's information.
[$sel:distribution:CreateDistributionWithTagsResponse'] :: CreateDistributionWithTagsResponse -> Maybe Distribution
-- | The current version of the distribution created.
[$sel:eTag:CreateDistributionWithTagsResponse'] :: CreateDistributionWithTagsResponse -> Maybe Text
-- | The fully qualified URI of the new distribution resource just created.
[$sel:location:CreateDistributionWithTagsResponse'] :: CreateDistributionWithTagsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateDistributionWithTagsResponse'] :: CreateDistributionWithTagsResponse -> Int
-- | Create a value of CreateDistributionWithTagsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distribution:CreateDistributionWithTagsResponse',
-- createDistributionWithTagsResponse_distribution - The
-- distribution's information.
--
-- $sel:eTag:CreateDistributionWithTagsResponse',
-- createDistributionWithTagsResponse_eTag - The current version
-- of the distribution created.
--
-- $sel:location:CreateDistributionWithTagsResponse',
-- createDistributionWithTagsResponse_location - The fully
-- qualified URI of the new distribution resource just created.
--
-- $sel:httpStatus:CreateDistributionWithTagsResponse',
-- createDistributionWithTagsResponse_httpStatus - The response's
-- http status code.
newCreateDistributionWithTagsResponse :: Int -> CreateDistributionWithTagsResponse
-- | The distribution's information.
createDistributionWithTagsResponse_distribution :: Lens' CreateDistributionWithTagsResponse (Maybe Distribution)
-- | The current version of the distribution created.
createDistributionWithTagsResponse_eTag :: Lens' CreateDistributionWithTagsResponse (Maybe Text)
-- | The fully qualified URI of the new distribution resource just created.
createDistributionWithTagsResponse_location :: Lens' CreateDistributionWithTagsResponse (Maybe Text)
-- | The response's http status code.
createDistributionWithTagsResponse_httpStatus :: Lens' CreateDistributionWithTagsResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.CreateDistributionWithTags.CreateDistributionWithTags
instance GHC.Show.Show Amazonka.CloudFront.CreateDistributionWithTags.CreateDistributionWithTags
instance GHC.Classes.Eq Amazonka.CloudFront.CreateDistributionWithTags.CreateDistributionWithTags
instance GHC.Generics.Generic Amazonka.CloudFront.CreateDistributionWithTags.CreateDistributionWithTagsResponse
instance GHC.Show.Show Amazonka.CloudFront.CreateDistributionWithTags.CreateDistributionWithTagsResponse
instance GHC.Classes.Eq Amazonka.CloudFront.CreateDistributionWithTags.CreateDistributionWithTagsResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.CreateDistributionWithTags.CreateDistributionWithTags
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateDistributionWithTags.CreateDistributionWithTagsResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.CreateDistributionWithTags.CreateDistributionWithTags
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateDistributionWithTags.CreateDistributionWithTags
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.CreateDistributionWithTags.CreateDistributionWithTags
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.CreateDistributionWithTags.CreateDistributionWithTags
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.CreateDistributionWithTags.CreateDistributionWithTags
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.CreateDistributionWithTags.CreateDistributionWithTags
-- | Creates a CloudFront distribution.
module Amazonka.CloudFront.CreateDistribution
-- | The request to create a new distribution.
--
-- See: newCreateDistribution smart constructor.
data CreateDistribution
CreateDistribution' :: DistributionConfig -> CreateDistribution
-- | The distribution's configuration information.
[$sel:distributionConfig:CreateDistribution'] :: CreateDistribution -> DistributionConfig
-- | Create a value of CreateDistribution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateDistribution,
-- createDistribution_distributionConfig - The distribution's
-- configuration information.
newCreateDistribution :: DistributionConfig -> CreateDistribution
-- | The distribution's configuration information.
createDistribution_distributionConfig :: Lens' CreateDistribution DistributionConfig
-- | The returned result of the corresponding request.
--
-- See: newCreateDistributionResponse smart constructor.
data CreateDistributionResponse
CreateDistributionResponse' :: Maybe Distribution -> Maybe Text -> Maybe Text -> Int -> CreateDistributionResponse
-- | The distribution's information.
[$sel:distribution:CreateDistributionResponse'] :: CreateDistributionResponse -> Maybe Distribution
-- | The current version of the distribution created.
[$sel:eTag:CreateDistributionResponse'] :: CreateDistributionResponse -> Maybe Text
-- | The fully qualified URI of the new distribution resource just created.
[$sel:location:CreateDistributionResponse'] :: CreateDistributionResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateDistributionResponse'] :: CreateDistributionResponse -> Int
-- | Create a value of CreateDistributionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distribution:CreateDistributionResponse',
-- createDistributionResponse_distribution - The distribution's
-- information.
--
-- $sel:eTag:CreateDistributionResponse',
-- createDistributionResponse_eTag - The current version of the
-- distribution created.
--
-- $sel:location:CreateDistributionResponse',
-- createDistributionResponse_location - The fully qualified URI
-- of the new distribution resource just created.
--
-- $sel:httpStatus:CreateDistributionResponse',
-- createDistributionResponse_httpStatus - The response's http
-- status code.
newCreateDistributionResponse :: Int -> CreateDistributionResponse
-- | The distribution's information.
createDistributionResponse_distribution :: Lens' CreateDistributionResponse (Maybe Distribution)
-- | The current version of the distribution created.
createDistributionResponse_eTag :: Lens' CreateDistributionResponse (Maybe Text)
-- | The fully qualified URI of the new distribution resource just created.
createDistributionResponse_location :: Lens' CreateDistributionResponse (Maybe Text)
-- | The response's http status code.
createDistributionResponse_httpStatus :: Lens' CreateDistributionResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.CreateDistribution.CreateDistribution
instance GHC.Show.Show Amazonka.CloudFront.CreateDistribution.CreateDistribution
instance GHC.Classes.Eq Amazonka.CloudFront.CreateDistribution.CreateDistribution
instance GHC.Generics.Generic Amazonka.CloudFront.CreateDistribution.CreateDistributionResponse
instance GHC.Show.Show Amazonka.CloudFront.CreateDistribution.CreateDistributionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.CreateDistribution.CreateDistributionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.CreateDistribution.CreateDistribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateDistribution.CreateDistributionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.CreateDistribution.CreateDistribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateDistribution.CreateDistribution
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.CreateDistribution.CreateDistribution
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.CreateDistribution.CreateDistribution
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.CreateDistribution.CreateDistribution
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.CreateDistribution.CreateDistribution
-- | Creates a continuous deployment policy that distributes traffic for a
-- custom domain name to two different CloudFront distributions.
--
-- To use a continuous deployment policy, first use
-- CopyDistribution to create a staging distribution, then use
-- UpdateDistribution to modify the staging distribution's
-- configuration.
--
-- After you create and update a staging distribution, you can use a
-- continuous deployment policy to incrementally move traffic to the
-- staging distribution. This workflow enables you to test changes to a
-- distribution's configuration before moving all of your domain's
-- production traffic to the new configuration.
module Amazonka.CloudFront.CreateContinuousDeploymentPolicy
-- | See: newCreateContinuousDeploymentPolicy smart
-- constructor.
data CreateContinuousDeploymentPolicy
CreateContinuousDeploymentPolicy' :: ContinuousDeploymentPolicyConfig -> CreateContinuousDeploymentPolicy
-- | Contains the configuration for a continuous deployment policy.
[$sel:continuousDeploymentPolicyConfig:CreateContinuousDeploymentPolicy'] :: CreateContinuousDeploymentPolicy -> ContinuousDeploymentPolicyConfig
-- | Create a value of CreateContinuousDeploymentPolicy with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateContinuousDeploymentPolicy,
-- createContinuousDeploymentPolicy_continuousDeploymentPolicyConfig
-- - Contains the configuration for a continuous deployment policy.
newCreateContinuousDeploymentPolicy :: ContinuousDeploymentPolicyConfig -> CreateContinuousDeploymentPolicy
-- | Contains the configuration for a continuous deployment policy.
createContinuousDeploymentPolicy_continuousDeploymentPolicyConfig :: Lens' CreateContinuousDeploymentPolicy ContinuousDeploymentPolicyConfig
-- | See: newCreateContinuousDeploymentPolicyResponse smart
-- constructor.
data CreateContinuousDeploymentPolicyResponse
CreateContinuousDeploymentPolicyResponse' :: Maybe ContinuousDeploymentPolicy -> Maybe Text -> Maybe Text -> Int -> CreateContinuousDeploymentPolicyResponse
-- | A continuous deployment policy.
[$sel:continuousDeploymentPolicy:CreateContinuousDeploymentPolicyResponse'] :: CreateContinuousDeploymentPolicyResponse -> Maybe ContinuousDeploymentPolicy
-- | The version identifier for the current version of the continuous
-- deployment policy.
[$sel:eTag:CreateContinuousDeploymentPolicyResponse'] :: CreateContinuousDeploymentPolicyResponse -> Maybe Text
-- | The location of the continuous deployment policy.
[$sel:location:CreateContinuousDeploymentPolicyResponse'] :: CreateContinuousDeploymentPolicyResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateContinuousDeploymentPolicyResponse'] :: CreateContinuousDeploymentPolicyResponse -> Int
-- | Create a value of CreateContinuousDeploymentPolicyResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateContinuousDeploymentPolicyResponse,
-- createContinuousDeploymentPolicyResponse_continuousDeploymentPolicy
-- - A continuous deployment policy.
--
-- $sel:eTag:CreateContinuousDeploymentPolicyResponse',
-- createContinuousDeploymentPolicyResponse_eTag - The version
-- identifier for the current version of the continuous deployment
-- policy.
--
-- $sel:location:CreateContinuousDeploymentPolicyResponse',
-- createContinuousDeploymentPolicyResponse_location - The
-- location of the continuous deployment policy.
--
-- $sel:httpStatus:CreateContinuousDeploymentPolicyResponse',
-- createContinuousDeploymentPolicyResponse_httpStatus - The
-- response's http status code.
newCreateContinuousDeploymentPolicyResponse :: Int -> CreateContinuousDeploymentPolicyResponse
-- | A continuous deployment policy.
createContinuousDeploymentPolicyResponse_continuousDeploymentPolicy :: Lens' CreateContinuousDeploymentPolicyResponse (Maybe ContinuousDeploymentPolicy)
-- | The version identifier for the current version of the continuous
-- deployment policy.
createContinuousDeploymentPolicyResponse_eTag :: Lens' CreateContinuousDeploymentPolicyResponse (Maybe Text)
-- | The location of the continuous deployment policy.
createContinuousDeploymentPolicyResponse_location :: Lens' CreateContinuousDeploymentPolicyResponse (Maybe Text)
-- | The response's http status code.
createContinuousDeploymentPolicyResponse_httpStatus :: Lens' CreateContinuousDeploymentPolicyResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.CreateContinuousDeploymentPolicy.CreateContinuousDeploymentPolicy
instance GHC.Show.Show Amazonka.CloudFront.CreateContinuousDeploymentPolicy.CreateContinuousDeploymentPolicy
instance GHC.Read.Read Amazonka.CloudFront.CreateContinuousDeploymentPolicy.CreateContinuousDeploymentPolicy
instance GHC.Classes.Eq Amazonka.CloudFront.CreateContinuousDeploymentPolicy.CreateContinuousDeploymentPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.CreateContinuousDeploymentPolicy.CreateContinuousDeploymentPolicyResponse
instance GHC.Show.Show Amazonka.CloudFront.CreateContinuousDeploymentPolicy.CreateContinuousDeploymentPolicyResponse
instance GHC.Read.Read Amazonka.CloudFront.CreateContinuousDeploymentPolicy.CreateContinuousDeploymentPolicyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.CreateContinuousDeploymentPolicy.CreateContinuousDeploymentPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.CreateContinuousDeploymentPolicy.CreateContinuousDeploymentPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateContinuousDeploymentPolicy.CreateContinuousDeploymentPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.CreateContinuousDeploymentPolicy.CreateContinuousDeploymentPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateContinuousDeploymentPolicy.CreateContinuousDeploymentPolicy
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.CreateContinuousDeploymentPolicy.CreateContinuousDeploymentPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.CreateContinuousDeploymentPolicy.CreateContinuousDeploymentPolicy
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.CreateContinuousDeploymentPolicy.CreateContinuousDeploymentPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.CreateContinuousDeploymentPolicy.CreateContinuousDeploymentPolicy
-- | Creates a new origin access identity. If you're using Amazon S3 for
-- your origin, you can use an origin access identity to require users to
-- access your content using a CloudFront URL instead of the Amazon S3
-- URL. For more information about how to use origin access identities,
-- see Serving Private Content through CloudFront in the Amazon
-- CloudFront Developer Guide.
module Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity
-- | The request to create a new origin access identity (OAI). An origin
-- access identity is a special CloudFront user that you can associate
-- with Amazon S3 origins, so that you can secure all or just some of
-- your Amazon S3 content. For more information, see Restricting
-- Access to Amazon S3 Content by Using an Origin Access Identity in
-- the Amazon CloudFront Developer Guide.
--
-- See: newCreateCloudFrontOriginAccessIdentity smart
-- constructor.
data CreateCloudFrontOriginAccessIdentity
CreateCloudFrontOriginAccessIdentity' :: CloudFrontOriginAccessIdentityConfig -> CreateCloudFrontOriginAccessIdentity
-- | The current configuration information for the identity.
[$sel:cloudFrontOriginAccessIdentityConfig:CreateCloudFrontOriginAccessIdentity'] :: CreateCloudFrontOriginAccessIdentity -> CloudFrontOriginAccessIdentityConfig
-- | Create a value of CreateCloudFrontOriginAccessIdentity with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateCloudFrontOriginAccessIdentity,
-- createCloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig
-- - The current configuration information for the identity.
newCreateCloudFrontOriginAccessIdentity :: CloudFrontOriginAccessIdentityConfig -> CreateCloudFrontOriginAccessIdentity
-- | The current configuration information for the identity.
createCloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig :: Lens' CreateCloudFrontOriginAccessIdentity CloudFrontOriginAccessIdentityConfig
-- | The returned result of the corresponding request.
--
-- See: newCreateCloudFrontOriginAccessIdentityResponse
-- smart constructor.
data CreateCloudFrontOriginAccessIdentityResponse
CreateCloudFrontOriginAccessIdentityResponse' :: Maybe CloudFrontOriginAccessIdentity -> Maybe Text -> Maybe Text -> Int -> CreateCloudFrontOriginAccessIdentityResponse
-- | The origin access identity's information.
[$sel:cloudFrontOriginAccessIdentity:CreateCloudFrontOriginAccessIdentityResponse'] :: CreateCloudFrontOriginAccessIdentityResponse -> Maybe CloudFrontOriginAccessIdentity
-- | The current version of the origin access identity created.
[$sel:eTag:CreateCloudFrontOriginAccessIdentityResponse'] :: CreateCloudFrontOriginAccessIdentityResponse -> Maybe Text
-- | The fully qualified URI of the new origin access identity just
-- created.
[$sel:location:CreateCloudFrontOriginAccessIdentityResponse'] :: CreateCloudFrontOriginAccessIdentityResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateCloudFrontOriginAccessIdentityResponse'] :: CreateCloudFrontOriginAccessIdentityResponse -> Int
-- | Create a value of CreateCloudFrontOriginAccessIdentityResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:cloudFrontOriginAccessIdentity:CreateCloudFrontOriginAccessIdentityResponse',
-- createCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity
-- - The origin access identity's information.
--
-- $sel:eTag:CreateCloudFrontOriginAccessIdentityResponse',
-- createCloudFrontOriginAccessIdentityResponse_eTag - The current
-- version of the origin access identity created.
--
-- $sel:location:CreateCloudFrontOriginAccessIdentityResponse',
-- createCloudFrontOriginAccessIdentityResponse_location - The
-- fully qualified URI of the new origin access identity just created.
--
-- $sel:httpStatus:CreateCloudFrontOriginAccessIdentityResponse',
-- createCloudFrontOriginAccessIdentityResponse_httpStatus - The
-- response's http status code.
newCreateCloudFrontOriginAccessIdentityResponse :: Int -> CreateCloudFrontOriginAccessIdentityResponse
-- | The origin access identity's information.
createCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity :: Lens' CreateCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity)
-- | The current version of the origin access identity created.
createCloudFrontOriginAccessIdentityResponse_eTag :: Lens' CreateCloudFrontOriginAccessIdentityResponse (Maybe Text)
-- | The fully qualified URI of the new origin access identity just
-- created.
createCloudFrontOriginAccessIdentityResponse_location :: Lens' CreateCloudFrontOriginAccessIdentityResponse (Maybe Text)
-- | The response's http status code.
createCloudFrontOriginAccessIdentityResponse_httpStatus :: Lens' CreateCloudFrontOriginAccessIdentityResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity
instance GHC.Show.Show Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity
instance GHC.Read.Read Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity
instance GHC.Classes.Eq Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity
instance GHC.Generics.Generic Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentityResponse
instance GHC.Show.Show Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentityResponse
instance GHC.Read.Read Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentityResponse
instance GHC.Classes.Eq Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentityResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentityResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.CreateCloudFrontOriginAccessIdentity.CreateCloudFrontOriginAccessIdentity
-- | Creates a cache policy.
--
-- After you create a cache policy, you can attach it to one or more
-- cache behaviors. When it's attached to a cache behavior, the cache
-- policy determines the following:
--
--
-- - The values that CloudFront includes in the cache key. These
-- values can include HTTP headers, cookies, and URL query strings.
-- CloudFront uses the cache key to find an object in its cache that it
-- can return to the viewer.
-- - The default, minimum, and maximum time to live (TTL) values that
-- you want objects to stay in the CloudFront cache.
--
--
-- The headers, cookies, and query strings that are included in the cache
-- key are automatically included in requests that CloudFront sends to
-- the origin. CloudFront sends a request when it can't find an object in
-- its cache that matches the request's cache key. If you want to send
-- values to the origin but not include them in the cache key, use
-- OriginRequestPolicy.
--
-- For more information about cache policies, see Controlling the
-- cache key in the Amazon CloudFront Developer Guide.
module Amazonka.CloudFront.CreateCachePolicy
-- | See: newCreateCachePolicy smart constructor.
data CreateCachePolicy
CreateCachePolicy' :: CachePolicyConfig -> CreateCachePolicy
-- | A cache policy configuration.
[$sel:cachePolicyConfig:CreateCachePolicy'] :: CreateCachePolicy -> CachePolicyConfig
-- | Create a value of CreateCachePolicy with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateCachePolicy, createCachePolicy_cachePolicyConfig -
-- A cache policy configuration.
newCreateCachePolicy :: CachePolicyConfig -> CreateCachePolicy
-- | A cache policy configuration.
createCachePolicy_cachePolicyConfig :: Lens' CreateCachePolicy CachePolicyConfig
-- | See: newCreateCachePolicyResponse smart constructor.
data CreateCachePolicyResponse
CreateCachePolicyResponse' :: Maybe CachePolicy -> Maybe Text -> Maybe Text -> Int -> CreateCachePolicyResponse
-- | A cache policy.
[$sel:cachePolicy:CreateCachePolicyResponse'] :: CreateCachePolicyResponse -> Maybe CachePolicy
-- | The current version of the cache policy.
[$sel:eTag:CreateCachePolicyResponse'] :: CreateCachePolicyResponse -> Maybe Text
-- | The fully qualified URI of the cache policy just created.
[$sel:location:CreateCachePolicyResponse'] :: CreateCachePolicyResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateCachePolicyResponse'] :: CreateCachePolicyResponse -> Int
-- | Create a value of CreateCachePolicyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateCachePolicyResponse,
-- createCachePolicyResponse_cachePolicy - A cache policy.
--
-- $sel:eTag:CreateCachePolicyResponse',
-- createCachePolicyResponse_eTag - The current version of the
-- cache policy.
--
-- $sel:location:CreateCachePolicyResponse',
-- createCachePolicyResponse_location - The fully qualified URI of
-- the cache policy just created.
--
-- $sel:httpStatus:CreateCachePolicyResponse',
-- createCachePolicyResponse_httpStatus - The response's http
-- status code.
newCreateCachePolicyResponse :: Int -> CreateCachePolicyResponse
-- | A cache policy.
createCachePolicyResponse_cachePolicy :: Lens' CreateCachePolicyResponse (Maybe CachePolicy)
-- | The current version of the cache policy.
createCachePolicyResponse_eTag :: Lens' CreateCachePolicyResponse (Maybe Text)
-- | The fully qualified URI of the cache policy just created.
createCachePolicyResponse_location :: Lens' CreateCachePolicyResponse (Maybe Text)
-- | The response's http status code.
createCachePolicyResponse_httpStatus :: Lens' CreateCachePolicyResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.CreateCachePolicy.CreateCachePolicy
instance GHC.Show.Show Amazonka.CloudFront.CreateCachePolicy.CreateCachePolicy
instance GHC.Read.Read Amazonka.CloudFront.CreateCachePolicy.CreateCachePolicy
instance GHC.Classes.Eq Amazonka.CloudFront.CreateCachePolicy.CreateCachePolicy
instance GHC.Generics.Generic Amazonka.CloudFront.CreateCachePolicy.CreateCachePolicyResponse
instance GHC.Show.Show Amazonka.CloudFront.CreateCachePolicy.CreateCachePolicyResponse
instance GHC.Read.Read Amazonka.CloudFront.CreateCachePolicy.CreateCachePolicyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.CreateCachePolicy.CreateCachePolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.CreateCachePolicy.CreateCachePolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateCachePolicy.CreateCachePolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.CreateCachePolicy.CreateCachePolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.CreateCachePolicy.CreateCachePolicy
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.CreateCachePolicy.CreateCachePolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.CreateCachePolicy.CreateCachePolicy
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.CreateCachePolicy.CreateCachePolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.CreateCachePolicy.CreateCachePolicy
-- | Creates a staging distribution using the configuration of the provided
-- primary distribution. A staging distribution is a copy of an existing
-- distribution (called the primary distribution) that you can use in a
-- continuous deployment workflow.
--
-- After you create a staging distribution, you can use
-- UpdateDistribution to modify the staging distribution's
-- configuration. Then you can use
-- CreateContinuousDeploymentPolicy to incrementally move
-- traffic to the staging distribution.
module Amazonka.CloudFront.CopyDistribution
-- | See: newCopyDistribution smart constructor.
data CopyDistribution
CopyDistribution' :: Maybe Text -> Maybe Bool -> Text -> Text -> CopyDistribution
-- | The version identifier of the primary distribution whose configuration
-- you are copying. This is the ETag value returned in the
-- response to GetDistribution and
-- GetDistributionConfig.
[$sel:ifMatch:CopyDistribution'] :: CopyDistribution -> Maybe Text
-- | The type of distribution that your primary distribution will be copied
-- to. The only valid value is True, indicating that you are
-- copying to a staging distribution.
[$sel:staging:CopyDistribution'] :: CopyDistribution -> Maybe Bool
-- | The identifier of the primary distribution whose configuration you are
-- copying. To get a distribution ID, use ListDistributions.
[$sel:primaryDistributionId:CopyDistribution'] :: CopyDistribution -> Text
-- | A value that uniquely identifies a request to create a resource. This
-- helps to prevent CloudFront from creating a duplicate resource if you
-- accidentally resubmit an identical request.
[$sel:callerReference:CopyDistribution'] :: CopyDistribution -> Text
-- | Create a value of CopyDistribution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:CopyDistribution', copyDistribution_ifMatch
-- - The version identifier of the primary distribution whose
-- configuration you are copying. This is the ETag value
-- returned in the response to GetDistribution and
-- GetDistributionConfig.
--
-- CopyDistribution, copyDistribution_staging - The type of
-- distribution that your primary distribution will be copied to. The
-- only valid value is True, indicating that you are copying to
-- a staging distribution.
--
-- $sel:primaryDistributionId:CopyDistribution',
-- copyDistribution_primaryDistributionId - The identifier of the
-- primary distribution whose configuration you are copying. To get a
-- distribution ID, use ListDistributions.
--
-- CopyDistribution, copyDistribution_callerReference - A
-- value that uniquely identifies a request to create a resource. This
-- helps to prevent CloudFront from creating a duplicate resource if you
-- accidentally resubmit an identical request.
newCopyDistribution :: Text -> Text -> CopyDistribution
-- | The version identifier of the primary distribution whose configuration
-- you are copying. This is the ETag value returned in the
-- response to GetDistribution and
-- GetDistributionConfig.
copyDistribution_ifMatch :: Lens' CopyDistribution (Maybe Text)
-- | The type of distribution that your primary distribution will be copied
-- to. The only valid value is True, indicating that you are
-- copying to a staging distribution.
copyDistribution_staging :: Lens' CopyDistribution (Maybe Bool)
-- | The identifier of the primary distribution whose configuration you are
-- copying. To get a distribution ID, use ListDistributions.
copyDistribution_primaryDistributionId :: Lens' CopyDistribution Text
-- | A value that uniquely identifies a request to create a resource. This
-- helps to prevent CloudFront from creating a duplicate resource if you
-- accidentally resubmit an identical request.
copyDistribution_callerReference :: Lens' CopyDistribution Text
-- | See: newCopyDistributionResponse smart constructor.
data CopyDistributionResponse
CopyDistributionResponse' :: Maybe Distribution -> Maybe Text -> Maybe Text -> Int -> CopyDistributionResponse
[$sel:distribution:CopyDistributionResponse'] :: CopyDistributionResponse -> Maybe Distribution
-- | The version identifier for the current version of the staging
-- distribution.
[$sel:eTag:CopyDistributionResponse'] :: CopyDistributionResponse -> Maybe Text
-- | The URL of the staging distribution.
[$sel:location:CopyDistributionResponse'] :: CopyDistributionResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CopyDistributionResponse'] :: CopyDistributionResponse -> Int
-- | Create a value of CopyDistributionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distribution:CopyDistributionResponse',
-- copyDistributionResponse_distribution - Undocumented member.
--
-- $sel:eTag:CopyDistributionResponse',
-- copyDistributionResponse_eTag - The version identifier for the
-- current version of the staging distribution.
--
-- $sel:location:CopyDistributionResponse',
-- copyDistributionResponse_location - The URL of the staging
-- distribution.
--
-- $sel:httpStatus:CopyDistributionResponse',
-- copyDistributionResponse_httpStatus - The response's http
-- status code.
newCopyDistributionResponse :: Int -> CopyDistributionResponse
-- | Undocumented member.
copyDistributionResponse_distribution :: Lens' CopyDistributionResponse (Maybe Distribution)
-- | The version identifier for the current version of the staging
-- distribution.
copyDistributionResponse_eTag :: Lens' CopyDistributionResponse (Maybe Text)
-- | The URL of the staging distribution.
copyDistributionResponse_location :: Lens' CopyDistributionResponse (Maybe Text)
-- | The response's http status code.
copyDistributionResponse_httpStatus :: Lens' CopyDistributionResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.CopyDistribution.CopyDistribution
instance GHC.Show.Show Amazonka.CloudFront.CopyDistribution.CopyDistribution
instance GHC.Read.Read Amazonka.CloudFront.CopyDistribution.CopyDistribution
instance GHC.Classes.Eq Amazonka.CloudFront.CopyDistribution.CopyDistribution
instance GHC.Generics.Generic Amazonka.CloudFront.CopyDistribution.CopyDistributionResponse
instance GHC.Show.Show Amazonka.CloudFront.CopyDistribution.CopyDistributionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.CopyDistribution.CopyDistributionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.CopyDistribution.CopyDistribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.CopyDistribution.CopyDistributionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.CopyDistribution.CopyDistribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.CopyDistribution.CopyDistribution
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.CopyDistribution.CopyDistribution
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.CopyDistribution.CopyDistribution
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.CopyDistribution.CopyDistribution
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.CopyDistribution.CopyDistribution
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.CopyDistribution.CopyDistribution
-- | Associates an alias (also known as a CNAME or an alternate domain
-- name) with a CloudFront distribution.
--
-- With this operation you can move an alias that's already in use on a
-- CloudFront distribution to a different distribution in one step. This
-- prevents the downtime that could occur if you first remove the alias
-- from one distribution and then separately add the alias to another
-- distribution.
--
-- To use this operation to associate an alias with a distribution, you
-- provide the alias and the ID of the target distribution for the alias.
-- For more information, including how to set up the target distribution,
-- prerequisites that you must complete, and other restrictions, see
-- Moving an alternate domain name to a different distribution in
-- the Amazon CloudFront Developer Guide.
module Amazonka.CloudFront.AssociateAlias
-- | See: newAssociateAlias smart constructor.
data AssociateAlias
AssociateAlias' :: Text -> Text -> AssociateAlias
-- | The ID of the distribution that you're associating the alias with.
[$sel:targetDistributionId:AssociateAlias'] :: AssociateAlias -> Text
-- | The alias (also known as a CNAME) to add to the target distribution.
[$sel:alias:AssociateAlias'] :: AssociateAlias -> Text
-- | Create a value of AssociateAlias with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:targetDistributionId:AssociateAlias',
-- associateAlias_targetDistributionId - The ID of the
-- distribution that you're associating the alias with.
--
-- AssociateAlias, associateAlias_alias - The alias (also
-- known as a CNAME) to add to the target distribution.
newAssociateAlias :: Text -> Text -> AssociateAlias
-- | The ID of the distribution that you're associating the alias with.
associateAlias_targetDistributionId :: Lens' AssociateAlias Text
-- | The alias (also known as a CNAME) to add to the target distribution.
associateAlias_alias :: Lens' AssociateAlias Text
-- | See: newAssociateAliasResponse smart constructor.
data AssociateAliasResponse
AssociateAliasResponse' :: AssociateAliasResponse
-- | Create a value of AssociateAliasResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newAssociateAliasResponse :: AssociateAliasResponse
instance GHC.Generics.Generic Amazonka.CloudFront.AssociateAlias.AssociateAlias
instance GHC.Show.Show Amazonka.CloudFront.AssociateAlias.AssociateAlias
instance GHC.Read.Read Amazonka.CloudFront.AssociateAlias.AssociateAlias
instance GHC.Classes.Eq Amazonka.CloudFront.AssociateAlias.AssociateAlias
instance GHC.Generics.Generic Amazonka.CloudFront.AssociateAlias.AssociateAliasResponse
instance GHC.Show.Show Amazonka.CloudFront.AssociateAlias.AssociateAliasResponse
instance GHC.Read.Read Amazonka.CloudFront.AssociateAlias.AssociateAliasResponse
instance GHC.Classes.Eq Amazonka.CloudFront.AssociateAlias.AssociateAliasResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.AssociateAlias.AssociateAlias
instance Control.DeepSeq.NFData Amazonka.CloudFront.AssociateAlias.AssociateAliasResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.AssociateAlias.AssociateAlias
instance Control.DeepSeq.NFData Amazonka.CloudFront.AssociateAlias.AssociateAlias
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.AssociateAlias.AssociateAlias
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.AssociateAlias.AssociateAlias
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.AssociateAlias.AssociateAlias
-- | Remove tags from a CloudFront resource.
module Amazonka.CloudFront.UntagResource
-- | The request to remove tags from a CloudFront resource.
--
-- See: newUntagResource smart constructor.
data UntagResource
UntagResource' :: Text -> TagKeys -> UntagResource
-- | An ARN of a CloudFront resource.
[$sel:resource:UntagResource'] :: UntagResource -> Text
-- | A complex type that contains zero or more Tag key elements.
[$sel:tagKeys:UntagResource'] :: UntagResource -> TagKeys
-- | Create a value of UntagResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resource:UntagResource', untagResource_resource -
-- An ARN of a CloudFront resource.
--
-- $sel:tagKeys:UntagResource', untagResource_tagKeys - A
-- complex type that contains zero or more Tag key elements.
newUntagResource :: Text -> TagKeys -> UntagResource
-- | An ARN of a CloudFront resource.
untagResource_resource :: Lens' UntagResource Text
-- | A complex type that contains zero or more Tag key elements.
untagResource_tagKeys :: Lens' UntagResource TagKeys
-- | See: newUntagResourceResponse smart constructor.
data UntagResourceResponse
UntagResourceResponse' :: UntagResourceResponse
-- | Create a value of UntagResourceResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newUntagResourceResponse :: UntagResourceResponse
instance GHC.Generics.Generic Amazonka.CloudFront.UntagResource.UntagResource
instance GHC.Show.Show Amazonka.CloudFront.UntagResource.UntagResource
instance GHC.Read.Read Amazonka.CloudFront.UntagResource.UntagResource
instance GHC.Classes.Eq Amazonka.CloudFront.UntagResource.UntagResource
instance GHC.Generics.Generic Amazonka.CloudFront.UntagResource.UntagResourceResponse
instance GHC.Show.Show Amazonka.CloudFront.UntagResource.UntagResourceResponse
instance GHC.Read.Read Amazonka.CloudFront.UntagResource.UntagResourceResponse
instance GHC.Classes.Eq Amazonka.CloudFront.UntagResource.UntagResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.UntagResource.UntagResource
instance Control.DeepSeq.NFData Amazonka.CloudFront.UntagResource.UntagResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.UntagResource.UntagResource
instance Control.DeepSeq.NFData Amazonka.CloudFront.UntagResource.UntagResource
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.UntagResource.UntagResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.UntagResource.UntagResource
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.UntagResource.UntagResource
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.UntagResource.UntagResource
-- | Updates a cache policy configuration.
--
-- When you update a cache policy configuration, all the fields are
-- updated with the values provided in the request. You cannot update
-- some fields independent of others. To update a cache policy
-- configuration:
--
--
-- - Use GetCachePolicyConfig to get the current
-- configuration.
-- - Locally modify the fields in the cache policy configuration that
-- you want to update.
-- - Call UpdateCachePolicy by providing the entire cache
-- policy configuration, including the fields that you modified and those
-- that you didn't.
--
module Amazonka.CloudFront.UpdateCachePolicy
-- | See: newUpdateCachePolicy smart constructor.
data UpdateCachePolicy
UpdateCachePolicy' :: Maybe Text -> CachePolicyConfig -> Text -> UpdateCachePolicy
-- | The version of the cache policy that you are updating. The version is
-- returned in the cache policy's ETag field in the response to
-- GetCachePolicyConfig.
[$sel:ifMatch:UpdateCachePolicy'] :: UpdateCachePolicy -> Maybe Text
-- | A cache policy configuration.
[$sel:cachePolicyConfig:UpdateCachePolicy'] :: UpdateCachePolicy -> CachePolicyConfig
-- | The unique identifier for the cache policy that you are updating. The
-- identifier is returned in a cache behavior's CachePolicyId
-- field in the response to GetDistributionConfig.
[$sel:id:UpdateCachePolicy'] :: UpdateCachePolicy -> Text
-- | Create a value of UpdateCachePolicy with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateCachePolicy',
-- updateCachePolicy_ifMatch - The version of the cache policy
-- that you are updating. The version is returned in the cache policy's
-- ETag field in the response to GetCachePolicyConfig.
--
-- UpdateCachePolicy, updateCachePolicy_cachePolicyConfig -
-- A cache policy configuration.
--
-- UpdateCachePolicy, updateCachePolicy_id - The unique
-- identifier for the cache policy that you are updating. The identifier
-- is returned in a cache behavior's CachePolicyId field in the
-- response to GetDistributionConfig.
newUpdateCachePolicy :: CachePolicyConfig -> Text -> UpdateCachePolicy
-- | The version of the cache policy that you are updating. The version is
-- returned in the cache policy's ETag field in the response to
-- GetCachePolicyConfig.
updateCachePolicy_ifMatch :: Lens' UpdateCachePolicy (Maybe Text)
-- | A cache policy configuration.
updateCachePolicy_cachePolicyConfig :: Lens' UpdateCachePolicy CachePolicyConfig
-- | The unique identifier for the cache policy that you are updating. The
-- identifier is returned in a cache behavior's CachePolicyId
-- field in the response to GetDistributionConfig.
updateCachePolicy_id :: Lens' UpdateCachePolicy Text
-- | See: newUpdateCachePolicyResponse smart constructor.
data UpdateCachePolicyResponse
UpdateCachePolicyResponse' :: Maybe CachePolicy -> Maybe Text -> Int -> UpdateCachePolicyResponse
-- | A cache policy.
[$sel:cachePolicy:UpdateCachePolicyResponse'] :: UpdateCachePolicyResponse -> Maybe CachePolicy
-- | The current version of the cache policy.
[$sel:eTag:UpdateCachePolicyResponse'] :: UpdateCachePolicyResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:UpdateCachePolicyResponse'] :: UpdateCachePolicyResponse -> Int
-- | Create a value of UpdateCachePolicyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateCachePolicyResponse,
-- updateCachePolicyResponse_cachePolicy - A cache policy.
--
-- $sel:eTag:UpdateCachePolicyResponse',
-- updateCachePolicyResponse_eTag - The current version of the
-- cache policy.
--
-- $sel:httpStatus:UpdateCachePolicyResponse',
-- updateCachePolicyResponse_httpStatus - The response's http
-- status code.
newUpdateCachePolicyResponse :: Int -> UpdateCachePolicyResponse
-- | A cache policy.
updateCachePolicyResponse_cachePolicy :: Lens' UpdateCachePolicyResponse (Maybe CachePolicy)
-- | The current version of the cache policy.
updateCachePolicyResponse_eTag :: Lens' UpdateCachePolicyResponse (Maybe Text)
-- | The response's http status code.
updateCachePolicyResponse_httpStatus :: Lens' UpdateCachePolicyResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateCachePolicy.UpdateCachePolicy
instance GHC.Show.Show Amazonka.CloudFront.UpdateCachePolicy.UpdateCachePolicy
instance GHC.Read.Read Amazonka.CloudFront.UpdateCachePolicy.UpdateCachePolicy
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateCachePolicy.UpdateCachePolicy
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateCachePolicy.UpdateCachePolicyResponse
instance GHC.Show.Show Amazonka.CloudFront.UpdateCachePolicy.UpdateCachePolicyResponse
instance GHC.Read.Read Amazonka.CloudFront.UpdateCachePolicy.UpdateCachePolicyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateCachePolicy.UpdateCachePolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.UpdateCachePolicy.UpdateCachePolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateCachePolicy.UpdateCachePolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.UpdateCachePolicy.UpdateCachePolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateCachePolicy.UpdateCachePolicy
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.UpdateCachePolicy.UpdateCachePolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.UpdateCachePolicy.UpdateCachePolicy
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.UpdateCachePolicy.UpdateCachePolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.UpdateCachePolicy.UpdateCachePolicy
-- | Update an origin access identity.
module Amazonka.CloudFront.UpdateCloudFrontOriginAccessIdentity
-- | The request to update an origin access identity.
--
-- See: newUpdateCloudFrontOriginAccessIdentity smart
-- constructor.
data UpdateCloudFrontOriginAccessIdentity
UpdateCloudFrontOriginAccessIdentity' :: Maybe Text -> CloudFrontOriginAccessIdentityConfig -> Text -> UpdateCloudFrontOriginAccessIdentity
-- | The value of the ETag header that you received when
-- retrieving the identity's configuration. For example:
-- E2QWRUHAPOMQZL.
[$sel:ifMatch:UpdateCloudFrontOriginAccessIdentity'] :: UpdateCloudFrontOriginAccessIdentity -> Maybe Text
-- | The identity's configuration information.
[$sel:cloudFrontOriginAccessIdentityConfig:UpdateCloudFrontOriginAccessIdentity'] :: UpdateCloudFrontOriginAccessIdentity -> CloudFrontOriginAccessIdentityConfig
-- | The identity's id.
[$sel:id:UpdateCloudFrontOriginAccessIdentity'] :: UpdateCloudFrontOriginAccessIdentity -> Text
-- | Create a value of UpdateCloudFrontOriginAccessIdentity with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateCloudFrontOriginAccessIdentity',
-- updateCloudFrontOriginAccessIdentity_ifMatch - The value of the
-- ETag header that you received when retrieving the identity's
-- configuration. For example: E2QWRUHAPOMQZL.
--
-- UpdateCloudFrontOriginAccessIdentity,
-- updateCloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig
-- - The identity's configuration information.
--
-- UpdateCloudFrontOriginAccessIdentity,
-- updateCloudFrontOriginAccessIdentity_id - The identity's id.
newUpdateCloudFrontOriginAccessIdentity :: CloudFrontOriginAccessIdentityConfig -> Text -> UpdateCloudFrontOriginAccessIdentity
-- | The value of the ETag header that you received when
-- retrieving the identity's configuration. For example:
-- E2QWRUHAPOMQZL.
updateCloudFrontOriginAccessIdentity_ifMatch :: Lens' UpdateCloudFrontOriginAccessIdentity (Maybe Text)
-- | The identity's configuration information.
updateCloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig :: Lens' UpdateCloudFrontOriginAccessIdentity CloudFrontOriginAccessIdentityConfig
-- | The identity's id.
updateCloudFrontOriginAccessIdentity_id :: Lens' UpdateCloudFrontOriginAccessIdentity Text
-- | The returned result of the corresponding request.
--
-- See: newUpdateCloudFrontOriginAccessIdentityResponse
-- smart constructor.
data UpdateCloudFrontOriginAccessIdentityResponse
UpdateCloudFrontOriginAccessIdentityResponse' :: Maybe CloudFrontOriginAccessIdentity -> Maybe Text -> Int -> UpdateCloudFrontOriginAccessIdentityResponse
-- | The origin access identity's information.
[$sel:cloudFrontOriginAccessIdentity:UpdateCloudFrontOriginAccessIdentityResponse'] :: UpdateCloudFrontOriginAccessIdentityResponse -> Maybe CloudFrontOriginAccessIdentity
-- | The current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
[$sel:eTag:UpdateCloudFrontOriginAccessIdentityResponse'] :: UpdateCloudFrontOriginAccessIdentityResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:UpdateCloudFrontOriginAccessIdentityResponse'] :: UpdateCloudFrontOriginAccessIdentityResponse -> Int
-- | Create a value of UpdateCloudFrontOriginAccessIdentityResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:cloudFrontOriginAccessIdentity:UpdateCloudFrontOriginAccessIdentityResponse',
-- updateCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity
-- - The origin access identity's information.
--
-- $sel:eTag:UpdateCloudFrontOriginAccessIdentityResponse',
-- updateCloudFrontOriginAccessIdentityResponse_eTag - The current
-- version of the configuration. For example: E2QWRUHAPOMQZL.
--
-- $sel:httpStatus:UpdateCloudFrontOriginAccessIdentityResponse',
-- updateCloudFrontOriginAccessIdentityResponse_httpStatus - The
-- response's http status code.
newUpdateCloudFrontOriginAccessIdentityResponse :: Int -> UpdateCloudFrontOriginAccessIdentityResponse
-- | The origin access identity's information.
updateCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity)
-- | The current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
updateCloudFrontOriginAccessIdentityResponse_eTag :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe Text)
-- | The response's http status code.
updateCloudFrontOriginAccessIdentityResponse_httpStatus :: Lens' UpdateCloudFrontOriginAccessIdentityResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity
instance GHC.Show.Show Amazonka.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity
instance GHC.Read.Read Amazonka.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentityResponse
instance GHC.Show.Show Amazonka.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentityResponse
instance GHC.Read.Read Amazonka.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentityResponse
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentityResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentityResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.UpdateCloudFrontOriginAccessIdentity.UpdateCloudFrontOriginAccessIdentity
-- | Updates a continuous deployment policy. You can update a continuous
-- deployment policy to enable or disable it, to change the percentage of
-- traffic that it sends to the staging distribution, or to change the
-- staging distribution that it sends traffic to.
--
-- When you update a continuous deployment policy configuration, all the
-- fields are updated with the values that are provided in the request.
-- You cannot update some fields independent of others. To update a
-- continuous deployment policy configuration:
--
--
-- - Use GetContinuousDeploymentPolicyConfig to get the
-- current configuration.
-- - Locally modify the fields in the continuous deployment policy
-- configuration that you want to update.
-- - Use UpdateContinuousDeploymentPolicy, providing the
-- entire continuous deployment policy configuration, including the
-- fields that you modified and those that you didn't.
--
module Amazonka.CloudFront.UpdateContinuousDeploymentPolicy
-- | See: newUpdateContinuousDeploymentPolicy smart
-- constructor.
data UpdateContinuousDeploymentPolicy
UpdateContinuousDeploymentPolicy' :: Maybe Text -> ContinuousDeploymentPolicyConfig -> Text -> UpdateContinuousDeploymentPolicy
-- | The current version (ETag value) of the continuous deployment
-- policy that you are updating.
[$sel:ifMatch:UpdateContinuousDeploymentPolicy'] :: UpdateContinuousDeploymentPolicy -> Maybe Text
-- | The continuous deployment policy configuration.
[$sel:continuousDeploymentPolicyConfig:UpdateContinuousDeploymentPolicy'] :: UpdateContinuousDeploymentPolicy -> ContinuousDeploymentPolicyConfig
-- | The identifier of the continuous deployment policy that you are
-- updating.
[$sel:id:UpdateContinuousDeploymentPolicy'] :: UpdateContinuousDeploymentPolicy -> Text
-- | Create a value of UpdateContinuousDeploymentPolicy with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateContinuousDeploymentPolicy',
-- updateContinuousDeploymentPolicy_ifMatch - The current version
-- (ETag value) of the continuous deployment policy that you are
-- updating.
--
-- UpdateContinuousDeploymentPolicy,
-- updateContinuousDeploymentPolicy_continuousDeploymentPolicyConfig
-- - The continuous deployment policy configuration.
--
-- UpdateContinuousDeploymentPolicy,
-- updateContinuousDeploymentPolicy_id - The identifier of the
-- continuous deployment policy that you are updating.
newUpdateContinuousDeploymentPolicy :: ContinuousDeploymentPolicyConfig -> Text -> UpdateContinuousDeploymentPolicy
-- | The current version (ETag value) of the continuous deployment
-- policy that you are updating.
updateContinuousDeploymentPolicy_ifMatch :: Lens' UpdateContinuousDeploymentPolicy (Maybe Text)
-- | The continuous deployment policy configuration.
updateContinuousDeploymentPolicy_continuousDeploymentPolicyConfig :: Lens' UpdateContinuousDeploymentPolicy ContinuousDeploymentPolicyConfig
-- | The identifier of the continuous deployment policy that you are
-- updating.
updateContinuousDeploymentPolicy_id :: Lens' UpdateContinuousDeploymentPolicy Text
-- | See: newUpdateContinuousDeploymentPolicyResponse smart
-- constructor.
data UpdateContinuousDeploymentPolicyResponse
UpdateContinuousDeploymentPolicyResponse' :: Maybe ContinuousDeploymentPolicy -> Maybe Text -> Int -> UpdateContinuousDeploymentPolicyResponse
-- | A continuous deployment policy.
[$sel:continuousDeploymentPolicy:UpdateContinuousDeploymentPolicyResponse'] :: UpdateContinuousDeploymentPolicyResponse -> Maybe ContinuousDeploymentPolicy
-- | The version identifier for the current version of the continuous
-- deployment policy.
[$sel:eTag:UpdateContinuousDeploymentPolicyResponse'] :: UpdateContinuousDeploymentPolicyResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:UpdateContinuousDeploymentPolicyResponse'] :: UpdateContinuousDeploymentPolicyResponse -> Int
-- | Create a value of UpdateContinuousDeploymentPolicyResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateContinuousDeploymentPolicyResponse,
-- updateContinuousDeploymentPolicyResponse_continuousDeploymentPolicy
-- - A continuous deployment policy.
--
-- $sel:eTag:UpdateContinuousDeploymentPolicyResponse',
-- updateContinuousDeploymentPolicyResponse_eTag - The version
-- identifier for the current version of the continuous deployment
-- policy.
--
-- $sel:httpStatus:UpdateContinuousDeploymentPolicyResponse',
-- updateContinuousDeploymentPolicyResponse_httpStatus - The
-- response's http status code.
newUpdateContinuousDeploymentPolicyResponse :: Int -> UpdateContinuousDeploymentPolicyResponse
-- | A continuous deployment policy.
updateContinuousDeploymentPolicyResponse_continuousDeploymentPolicy :: Lens' UpdateContinuousDeploymentPolicyResponse (Maybe ContinuousDeploymentPolicy)
-- | The version identifier for the current version of the continuous
-- deployment policy.
updateContinuousDeploymentPolicyResponse_eTag :: Lens' UpdateContinuousDeploymentPolicyResponse (Maybe Text)
-- | The response's http status code.
updateContinuousDeploymentPolicyResponse_httpStatus :: Lens' UpdateContinuousDeploymentPolicyResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateContinuousDeploymentPolicy.UpdateContinuousDeploymentPolicy
instance GHC.Show.Show Amazonka.CloudFront.UpdateContinuousDeploymentPolicy.UpdateContinuousDeploymentPolicy
instance GHC.Read.Read Amazonka.CloudFront.UpdateContinuousDeploymentPolicy.UpdateContinuousDeploymentPolicy
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateContinuousDeploymentPolicy.UpdateContinuousDeploymentPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateContinuousDeploymentPolicy.UpdateContinuousDeploymentPolicyResponse
instance GHC.Show.Show Amazonka.CloudFront.UpdateContinuousDeploymentPolicy.UpdateContinuousDeploymentPolicyResponse
instance GHC.Read.Read Amazonka.CloudFront.UpdateContinuousDeploymentPolicy.UpdateContinuousDeploymentPolicyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateContinuousDeploymentPolicy.UpdateContinuousDeploymentPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.UpdateContinuousDeploymentPolicy.UpdateContinuousDeploymentPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateContinuousDeploymentPolicy.UpdateContinuousDeploymentPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.UpdateContinuousDeploymentPolicy.UpdateContinuousDeploymentPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateContinuousDeploymentPolicy.UpdateContinuousDeploymentPolicy
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.UpdateContinuousDeploymentPolicy.UpdateContinuousDeploymentPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.UpdateContinuousDeploymentPolicy.UpdateContinuousDeploymentPolicy
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.UpdateContinuousDeploymentPolicy.UpdateContinuousDeploymentPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.UpdateContinuousDeploymentPolicy.UpdateContinuousDeploymentPolicy
-- | Updates the configuration for a CloudFront distribution.
--
-- The update process includes getting the current distribution
-- configuration, updating it to make your changes, and then submitting
-- an UpdateDistribution request to make the updates.
--
-- To update a web distribution using the CloudFront API
--
--
-- - Use GetDistributionConfig to get the current
-- configuration, including the version identifier (ETag).
-- - Update the distribution configuration that was returned in the
-- response. Note the following important requirements and
-- restrictions:
- You must rename the ETag field to
-- IfMatch, leaving the value unchanged. (Set the value of
-- IfMatch to the value of ETag, then remove the
-- ETag field.)
- You can't change the value of
-- CallerReference.
-- - Submit an UpdateDistribution request, providing the
-- distribution configuration. The new configuration replaces the
-- existing configuration. The values that you specify in an
-- UpdateDistribution request are not merged into your existing
-- configuration. Make sure to include all fields: the ones that you
-- modified and also the ones that you didn't.
--
module Amazonka.CloudFront.UpdateDistribution
-- | The request to update a distribution.
--
-- See: newUpdateDistribution smart constructor.
data UpdateDistribution
UpdateDistribution' :: Maybe Text -> DistributionConfig -> Text -> UpdateDistribution
-- | The value of the ETag header that you received when
-- retrieving the distribution's configuration. For example:
-- E2QWRUHAPOMQZL.
[$sel:ifMatch:UpdateDistribution'] :: UpdateDistribution -> Maybe Text
-- | The distribution's configuration information.
[$sel:distributionConfig:UpdateDistribution'] :: UpdateDistribution -> DistributionConfig
-- | The distribution's id.
[$sel:id:UpdateDistribution'] :: UpdateDistribution -> Text
-- | Create a value of UpdateDistribution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateDistribution',
-- updateDistribution_ifMatch - The value of the ETag
-- header that you received when retrieving the distribution's
-- configuration. For example: E2QWRUHAPOMQZL.
--
-- UpdateDistribution,
-- updateDistribution_distributionConfig - The distribution's
-- configuration information.
--
-- UpdateDistribution, updateDistribution_id - The
-- distribution's id.
newUpdateDistribution :: DistributionConfig -> Text -> UpdateDistribution
-- | The value of the ETag header that you received when
-- retrieving the distribution's configuration. For example:
-- E2QWRUHAPOMQZL.
updateDistribution_ifMatch :: Lens' UpdateDistribution (Maybe Text)
-- | The distribution's configuration information.
updateDistribution_distributionConfig :: Lens' UpdateDistribution DistributionConfig
-- | The distribution's id.
updateDistribution_id :: Lens' UpdateDistribution Text
-- | The returned result of the corresponding request.
--
-- See: newUpdateDistributionResponse smart constructor.
data UpdateDistributionResponse
UpdateDistributionResponse' :: Maybe Distribution -> Maybe Text -> Int -> UpdateDistributionResponse
-- | The distribution's information.
[$sel:distribution:UpdateDistributionResponse'] :: UpdateDistributionResponse -> Maybe Distribution
-- | The current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
[$sel:eTag:UpdateDistributionResponse'] :: UpdateDistributionResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:UpdateDistributionResponse'] :: UpdateDistributionResponse -> Int
-- | Create a value of UpdateDistributionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distribution:UpdateDistributionResponse',
-- updateDistributionResponse_distribution - The distribution's
-- information.
--
-- $sel:eTag:UpdateDistributionResponse',
-- updateDistributionResponse_eTag - The current version of the
-- configuration. For example: E2QWRUHAPOMQZL.
--
-- $sel:httpStatus:UpdateDistributionResponse',
-- updateDistributionResponse_httpStatus - The response's http
-- status code.
newUpdateDistributionResponse :: Int -> UpdateDistributionResponse
-- | The distribution's information.
updateDistributionResponse_distribution :: Lens' UpdateDistributionResponse (Maybe Distribution)
-- | The current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
updateDistributionResponse_eTag :: Lens' UpdateDistributionResponse (Maybe Text)
-- | The response's http status code.
updateDistributionResponse_httpStatus :: Lens' UpdateDistributionResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateDistribution.UpdateDistribution
instance GHC.Show.Show Amazonka.CloudFront.UpdateDistribution.UpdateDistribution
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateDistribution.UpdateDistribution
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateDistribution.UpdateDistributionResponse
instance GHC.Show.Show Amazonka.CloudFront.UpdateDistribution.UpdateDistributionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateDistribution.UpdateDistributionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.UpdateDistribution.UpdateDistribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateDistribution.UpdateDistributionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.UpdateDistribution.UpdateDistribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateDistribution.UpdateDistribution
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.UpdateDistribution.UpdateDistribution
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.UpdateDistribution.UpdateDistribution
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.UpdateDistribution.UpdateDistribution
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.UpdateDistribution.UpdateDistribution
-- | Copies the staging distribution's configuration to its corresponding
-- primary distribution. The primary distribution retains its
-- Aliases (also known as alternate domain names or CNAMEs) and
-- ContinuousDeploymentPolicyId value, but otherwise its
-- configuration is overwritten to match the staging distribution.
--
-- You can use this operation in a continuous deployment workflow after
-- you have tested configuration changes on the staging distribution.
-- After using a continuous deployment policy to move a portion of your
-- domain name's traffic to the staging distribution and verifying that
-- it works as intended, you can use this operation to copy the staging
-- distribution's configuration to the primary distribution. This action
-- will disable the continuous deployment policy and move your domain's
-- traffic back to the primary distribution.
module Amazonka.CloudFront.UpdateDistributionWithStagingConfig
-- | See: newUpdateDistributionWithStagingConfig smart
-- constructor.
data UpdateDistributionWithStagingConfig
UpdateDistributionWithStagingConfig' :: Maybe Text -> Maybe Text -> Text -> UpdateDistributionWithStagingConfig
-- | The current versions (ETag values) of both primary and
-- staging distributions. Provide these in the following format:
--
--
-- <primary ETag>, <staging ETag>
--
[$sel:ifMatch:UpdateDistributionWithStagingConfig'] :: UpdateDistributionWithStagingConfig -> Maybe Text
-- | The identifier of the staging distribution whose configuration you are
-- copying to the primary distribution.
[$sel:stagingDistributionId:UpdateDistributionWithStagingConfig'] :: UpdateDistributionWithStagingConfig -> Maybe Text
-- | The identifier of the primary distribution to which you are copying a
-- staging distribution's configuration.
[$sel:id:UpdateDistributionWithStagingConfig'] :: UpdateDistributionWithStagingConfig -> Text
-- | Create a value of UpdateDistributionWithStagingConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateDistributionWithStagingConfig',
-- updateDistributionWithStagingConfig_ifMatch - The current
-- versions (ETag values) of both primary and staging
-- distributions. Provide these in the following format:
--
--
-- <primary ETag>, <staging ETag>
--
--
--
-- $sel:stagingDistributionId:UpdateDistributionWithStagingConfig',
-- updateDistributionWithStagingConfig_stagingDistributionId - The
-- identifier of the staging distribution whose configuration you are
-- copying to the primary distribution.
--
-- UpdateDistributionWithStagingConfig,
-- updateDistributionWithStagingConfig_id - The identifier of the
-- primary distribution to which you are copying a staging distribution's
-- configuration.
newUpdateDistributionWithStagingConfig :: Text -> UpdateDistributionWithStagingConfig
-- | The current versions (ETag values) of both primary and
-- staging distributions. Provide these in the following format:
--
--
-- <primary ETag>, <staging ETag>
--
updateDistributionWithStagingConfig_ifMatch :: Lens' UpdateDistributionWithStagingConfig (Maybe Text)
-- | The identifier of the staging distribution whose configuration you are
-- copying to the primary distribution.
updateDistributionWithStagingConfig_stagingDistributionId :: Lens' UpdateDistributionWithStagingConfig (Maybe Text)
-- | The identifier of the primary distribution to which you are copying a
-- staging distribution's configuration.
updateDistributionWithStagingConfig_id :: Lens' UpdateDistributionWithStagingConfig Text
-- | See: newUpdateDistributionWithStagingConfigResponse
-- smart constructor.
data UpdateDistributionWithStagingConfigResponse
UpdateDistributionWithStagingConfigResponse' :: Maybe Distribution -> Maybe Text -> Int -> UpdateDistributionWithStagingConfigResponse
[$sel:distribution:UpdateDistributionWithStagingConfigResponse'] :: UpdateDistributionWithStagingConfigResponse -> Maybe Distribution
-- | The current version of the primary distribution (after it's updated).
[$sel:eTag:UpdateDistributionWithStagingConfigResponse'] :: UpdateDistributionWithStagingConfigResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:UpdateDistributionWithStagingConfigResponse'] :: UpdateDistributionWithStagingConfigResponse -> Int
-- | Create a value of UpdateDistributionWithStagingConfigResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distribution:UpdateDistributionWithStagingConfigResponse',
-- updateDistributionWithStagingConfigResponse_distribution -
-- Undocumented member.
--
-- $sel:eTag:UpdateDistributionWithStagingConfigResponse',
-- updateDistributionWithStagingConfigResponse_eTag - The current
-- version of the primary distribution (after it's updated).
--
-- $sel:httpStatus:UpdateDistributionWithStagingConfigResponse',
-- updateDistributionWithStagingConfigResponse_httpStatus - The
-- response's http status code.
newUpdateDistributionWithStagingConfigResponse :: Int -> UpdateDistributionWithStagingConfigResponse
-- | Undocumented member.
updateDistributionWithStagingConfigResponse_distribution :: Lens' UpdateDistributionWithStagingConfigResponse (Maybe Distribution)
-- | The current version of the primary distribution (after it's updated).
updateDistributionWithStagingConfigResponse_eTag :: Lens' UpdateDistributionWithStagingConfigResponse (Maybe Text)
-- | The response's http status code.
updateDistributionWithStagingConfigResponse_httpStatus :: Lens' UpdateDistributionWithStagingConfigResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateDistributionWithStagingConfig.UpdateDistributionWithStagingConfig
instance GHC.Show.Show Amazonka.CloudFront.UpdateDistributionWithStagingConfig.UpdateDistributionWithStagingConfig
instance GHC.Read.Read Amazonka.CloudFront.UpdateDistributionWithStagingConfig.UpdateDistributionWithStagingConfig
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateDistributionWithStagingConfig.UpdateDistributionWithStagingConfig
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateDistributionWithStagingConfig.UpdateDistributionWithStagingConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.UpdateDistributionWithStagingConfig.UpdateDistributionWithStagingConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateDistributionWithStagingConfig.UpdateDistributionWithStagingConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.UpdateDistributionWithStagingConfig.UpdateDistributionWithStagingConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateDistributionWithStagingConfig.UpdateDistributionWithStagingConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.UpdateDistributionWithStagingConfig.UpdateDistributionWithStagingConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateDistributionWithStagingConfig.UpdateDistributionWithStagingConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.UpdateDistributionWithStagingConfig.UpdateDistributionWithStagingConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.UpdateDistributionWithStagingConfig.UpdateDistributionWithStagingConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.UpdateDistributionWithStagingConfig.UpdateDistributionWithStagingConfig
-- | Update a field-level encryption configuration.
module Amazonka.CloudFront.UpdateFieldLevelEncryptionConfig
-- | See: newUpdateFieldLevelEncryptionConfig smart
-- constructor.
data UpdateFieldLevelEncryptionConfig
UpdateFieldLevelEncryptionConfig' :: Maybe Text -> FieldLevelEncryptionConfig -> Text -> UpdateFieldLevelEncryptionConfig
-- | The value of the ETag header that you received when
-- retrieving the configuration identity to update. For example:
-- E2QWRUHAPOMQZL.
[$sel:ifMatch:UpdateFieldLevelEncryptionConfig'] :: UpdateFieldLevelEncryptionConfig -> Maybe Text
-- | Request to update a field-level encryption configuration.
[$sel:fieldLevelEncryptionConfig:UpdateFieldLevelEncryptionConfig'] :: UpdateFieldLevelEncryptionConfig -> FieldLevelEncryptionConfig
-- | The ID of the configuration you want to update.
[$sel:id:UpdateFieldLevelEncryptionConfig'] :: UpdateFieldLevelEncryptionConfig -> Text
-- | Create a value of UpdateFieldLevelEncryptionConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateFieldLevelEncryptionConfig',
-- updateFieldLevelEncryptionConfig_ifMatch - The value of the
-- ETag header that you received when retrieving the
-- configuration identity to update. For example:
-- E2QWRUHAPOMQZL.
--
-- UpdateFieldLevelEncryptionConfig,
-- updateFieldLevelEncryptionConfig_fieldLevelEncryptionConfig -
-- Request to update a field-level encryption configuration.
--
-- UpdateFieldLevelEncryptionConfig,
-- updateFieldLevelEncryptionConfig_id - The ID of the
-- configuration you want to update.
newUpdateFieldLevelEncryptionConfig :: FieldLevelEncryptionConfig -> Text -> UpdateFieldLevelEncryptionConfig
-- | The value of the ETag header that you received when
-- retrieving the configuration identity to update. For example:
-- E2QWRUHAPOMQZL.
updateFieldLevelEncryptionConfig_ifMatch :: Lens' UpdateFieldLevelEncryptionConfig (Maybe Text)
-- | Request to update a field-level encryption configuration.
updateFieldLevelEncryptionConfig_fieldLevelEncryptionConfig :: Lens' UpdateFieldLevelEncryptionConfig FieldLevelEncryptionConfig
-- | The ID of the configuration you want to update.
updateFieldLevelEncryptionConfig_id :: Lens' UpdateFieldLevelEncryptionConfig Text
-- | See: newUpdateFieldLevelEncryptionConfigResponse smart
-- constructor.
data UpdateFieldLevelEncryptionConfigResponse
UpdateFieldLevelEncryptionConfigResponse' :: Maybe Text -> Maybe FieldLevelEncryption -> Int -> UpdateFieldLevelEncryptionConfigResponse
-- | The value of the ETag header that you received when updating
-- the configuration. For example: E2QWRUHAPOMQZL.
[$sel:eTag:UpdateFieldLevelEncryptionConfigResponse'] :: UpdateFieldLevelEncryptionConfigResponse -> Maybe Text
-- | Return the results of updating the configuration.
[$sel:fieldLevelEncryption:UpdateFieldLevelEncryptionConfigResponse'] :: UpdateFieldLevelEncryptionConfigResponse -> Maybe FieldLevelEncryption
-- | The response's http status code.
[$sel:httpStatus:UpdateFieldLevelEncryptionConfigResponse'] :: UpdateFieldLevelEncryptionConfigResponse -> Int
-- | Create a value of UpdateFieldLevelEncryptionConfigResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:UpdateFieldLevelEncryptionConfigResponse',
-- updateFieldLevelEncryptionConfigResponse_eTag - The value of
-- the ETag header that you received when updating the
-- configuration. For example: E2QWRUHAPOMQZL.
--
--
-- $sel:fieldLevelEncryption:UpdateFieldLevelEncryptionConfigResponse',
-- updateFieldLevelEncryptionConfigResponse_fieldLevelEncryption -
-- Return the results of updating the configuration.
--
-- $sel:httpStatus:UpdateFieldLevelEncryptionConfigResponse',
-- updateFieldLevelEncryptionConfigResponse_httpStatus - The
-- response's http status code.
newUpdateFieldLevelEncryptionConfigResponse :: Int -> UpdateFieldLevelEncryptionConfigResponse
-- | The value of the ETag header that you received when updating
-- the configuration. For example: E2QWRUHAPOMQZL.
updateFieldLevelEncryptionConfigResponse_eTag :: Lens' UpdateFieldLevelEncryptionConfigResponse (Maybe Text)
-- | Return the results of updating the configuration.
updateFieldLevelEncryptionConfigResponse_fieldLevelEncryption :: Lens' UpdateFieldLevelEncryptionConfigResponse (Maybe FieldLevelEncryption)
-- | The response's http status code.
updateFieldLevelEncryptionConfigResponse_httpStatus :: Lens' UpdateFieldLevelEncryptionConfigResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateFieldLevelEncryptionConfig.UpdateFieldLevelEncryptionConfig
instance GHC.Show.Show Amazonka.CloudFront.UpdateFieldLevelEncryptionConfig.UpdateFieldLevelEncryptionConfig
instance GHC.Read.Read Amazonka.CloudFront.UpdateFieldLevelEncryptionConfig.UpdateFieldLevelEncryptionConfig
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateFieldLevelEncryptionConfig.UpdateFieldLevelEncryptionConfig
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateFieldLevelEncryptionConfig.UpdateFieldLevelEncryptionConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.UpdateFieldLevelEncryptionConfig.UpdateFieldLevelEncryptionConfigResponse
instance GHC.Read.Read Amazonka.CloudFront.UpdateFieldLevelEncryptionConfig.UpdateFieldLevelEncryptionConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateFieldLevelEncryptionConfig.UpdateFieldLevelEncryptionConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.UpdateFieldLevelEncryptionConfig.UpdateFieldLevelEncryptionConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateFieldLevelEncryptionConfig.UpdateFieldLevelEncryptionConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.UpdateFieldLevelEncryptionConfig.UpdateFieldLevelEncryptionConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateFieldLevelEncryptionConfig.UpdateFieldLevelEncryptionConfig
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.UpdateFieldLevelEncryptionConfig.UpdateFieldLevelEncryptionConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.UpdateFieldLevelEncryptionConfig.UpdateFieldLevelEncryptionConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.UpdateFieldLevelEncryptionConfig.UpdateFieldLevelEncryptionConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.UpdateFieldLevelEncryptionConfig.UpdateFieldLevelEncryptionConfig
-- | Update a field-level encryption profile.
module Amazonka.CloudFront.UpdateFieldLevelEncryptionProfile
-- | See: newUpdateFieldLevelEncryptionProfile smart
-- constructor.
data UpdateFieldLevelEncryptionProfile
UpdateFieldLevelEncryptionProfile' :: Maybe Text -> FieldLevelEncryptionProfileConfig -> Text -> UpdateFieldLevelEncryptionProfile
-- | The value of the ETag header that you received when
-- retrieving the profile identity to update. For example:
-- E2QWRUHAPOMQZL.
[$sel:ifMatch:UpdateFieldLevelEncryptionProfile'] :: UpdateFieldLevelEncryptionProfile -> Maybe Text
-- | Request to update a field-level encryption profile.
[$sel:fieldLevelEncryptionProfileConfig:UpdateFieldLevelEncryptionProfile'] :: UpdateFieldLevelEncryptionProfile -> FieldLevelEncryptionProfileConfig
-- | The ID of the field-level encryption profile request.
[$sel:id:UpdateFieldLevelEncryptionProfile'] :: UpdateFieldLevelEncryptionProfile -> Text
-- | Create a value of UpdateFieldLevelEncryptionProfile with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateFieldLevelEncryptionProfile',
-- updateFieldLevelEncryptionProfile_ifMatch - The value of the
-- ETag header that you received when retrieving the profile
-- identity to update. For example: E2QWRUHAPOMQZL.
--
-- UpdateFieldLevelEncryptionProfile,
-- updateFieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig
-- - Request to update a field-level encryption profile.
--
-- UpdateFieldLevelEncryptionProfile,
-- updateFieldLevelEncryptionProfile_id - The ID of the
-- field-level encryption profile request.
newUpdateFieldLevelEncryptionProfile :: FieldLevelEncryptionProfileConfig -> Text -> UpdateFieldLevelEncryptionProfile
-- | The value of the ETag header that you received when
-- retrieving the profile identity to update. For example:
-- E2QWRUHAPOMQZL.
updateFieldLevelEncryptionProfile_ifMatch :: Lens' UpdateFieldLevelEncryptionProfile (Maybe Text)
-- | Request to update a field-level encryption profile.
updateFieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig :: Lens' UpdateFieldLevelEncryptionProfile FieldLevelEncryptionProfileConfig
-- | The ID of the field-level encryption profile request.
updateFieldLevelEncryptionProfile_id :: Lens' UpdateFieldLevelEncryptionProfile Text
-- | See: newUpdateFieldLevelEncryptionProfileResponse smart
-- constructor.
data UpdateFieldLevelEncryptionProfileResponse
UpdateFieldLevelEncryptionProfileResponse' :: Maybe Text -> Maybe FieldLevelEncryptionProfile -> Int -> UpdateFieldLevelEncryptionProfileResponse
-- | The result of the field-level encryption profile request.
[$sel:eTag:UpdateFieldLevelEncryptionProfileResponse'] :: UpdateFieldLevelEncryptionProfileResponse -> Maybe Text
-- | Return the results of updating the profile.
[$sel:fieldLevelEncryptionProfile:UpdateFieldLevelEncryptionProfileResponse'] :: UpdateFieldLevelEncryptionProfileResponse -> Maybe FieldLevelEncryptionProfile
-- | The response's http status code.
[$sel:httpStatus:UpdateFieldLevelEncryptionProfileResponse'] :: UpdateFieldLevelEncryptionProfileResponse -> Int
-- | Create a value of UpdateFieldLevelEncryptionProfileResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:UpdateFieldLevelEncryptionProfileResponse',
-- updateFieldLevelEncryptionProfileResponse_eTag - The result of
-- the field-level encryption profile request.
--
--
-- $sel:fieldLevelEncryptionProfile:UpdateFieldLevelEncryptionProfileResponse',
-- updateFieldLevelEncryptionProfileResponse_fieldLevelEncryptionProfile
-- - Return the results of updating the profile.
--
-- $sel:httpStatus:UpdateFieldLevelEncryptionProfileResponse',
-- updateFieldLevelEncryptionProfileResponse_httpStatus - The
-- response's http status code.
newUpdateFieldLevelEncryptionProfileResponse :: Int -> UpdateFieldLevelEncryptionProfileResponse
-- | The result of the field-level encryption profile request.
updateFieldLevelEncryptionProfileResponse_eTag :: Lens' UpdateFieldLevelEncryptionProfileResponse (Maybe Text)
-- | Return the results of updating the profile.
updateFieldLevelEncryptionProfileResponse_fieldLevelEncryptionProfile :: Lens' UpdateFieldLevelEncryptionProfileResponse (Maybe FieldLevelEncryptionProfile)
-- | The response's http status code.
updateFieldLevelEncryptionProfileResponse_httpStatus :: Lens' UpdateFieldLevelEncryptionProfileResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateFieldLevelEncryptionProfile.UpdateFieldLevelEncryptionProfile
instance GHC.Show.Show Amazonka.CloudFront.UpdateFieldLevelEncryptionProfile.UpdateFieldLevelEncryptionProfile
instance GHC.Read.Read Amazonka.CloudFront.UpdateFieldLevelEncryptionProfile.UpdateFieldLevelEncryptionProfile
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateFieldLevelEncryptionProfile.UpdateFieldLevelEncryptionProfile
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateFieldLevelEncryptionProfile.UpdateFieldLevelEncryptionProfileResponse
instance GHC.Show.Show Amazonka.CloudFront.UpdateFieldLevelEncryptionProfile.UpdateFieldLevelEncryptionProfileResponse
instance GHC.Read.Read Amazonka.CloudFront.UpdateFieldLevelEncryptionProfile.UpdateFieldLevelEncryptionProfileResponse
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateFieldLevelEncryptionProfile.UpdateFieldLevelEncryptionProfileResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.UpdateFieldLevelEncryptionProfile.UpdateFieldLevelEncryptionProfile
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateFieldLevelEncryptionProfile.UpdateFieldLevelEncryptionProfileResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.UpdateFieldLevelEncryptionProfile.UpdateFieldLevelEncryptionProfile
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateFieldLevelEncryptionProfile.UpdateFieldLevelEncryptionProfile
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.UpdateFieldLevelEncryptionProfile.UpdateFieldLevelEncryptionProfile
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.UpdateFieldLevelEncryptionProfile.UpdateFieldLevelEncryptionProfile
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.UpdateFieldLevelEncryptionProfile.UpdateFieldLevelEncryptionProfile
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.UpdateFieldLevelEncryptionProfile.UpdateFieldLevelEncryptionProfile
-- | Updates a CloudFront function.
--
-- You can update a function's code or the comment that describes the
-- function. You cannot update a function's name.
--
-- To update a function, you provide the function's name and version
-- (ETag value) along with the updated function code. To get the
-- name and version, you can use ListFunctions and
-- DescribeFunction.
module Amazonka.CloudFront.UpdateFunction
-- | See: newUpdateFunction smart constructor.
data UpdateFunction
UpdateFunction' :: Text -> FunctionConfig -> Sensitive Base64 -> Text -> UpdateFunction
-- | The current version (ETag value) of the function that you are
-- updating, which you can get using DescribeFunction.
[$sel:ifMatch:UpdateFunction'] :: UpdateFunction -> Text
-- | Configuration information about the function.
[$sel:functionConfig:UpdateFunction'] :: UpdateFunction -> FunctionConfig
-- | The function code. For more information about writing a CloudFront
-- function, see Writing function code for CloudFront Functions in
-- the Amazon CloudFront Developer Guide.
[$sel:functionCode:UpdateFunction'] :: UpdateFunction -> Sensitive Base64
-- | The name of the function that you are updating.
[$sel:name:UpdateFunction'] :: UpdateFunction -> Text
-- | Create a value of UpdateFunction with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateFunction', updateFunction_ifMatch -
-- The current version (ETag value) of the function that you are
-- updating, which you can get using DescribeFunction.
--
-- UpdateFunction, updateFunction_functionConfig -
-- Configuration information about the function.
--
-- $sel:functionCode:UpdateFunction',
-- updateFunction_functionCode - The function code. For more
-- information about writing a CloudFront function, see Writing
-- function code for CloudFront Functions in the Amazon CloudFront
-- Developer Guide.-- -- Note: This Lens
-- automatically encodes and decodes Base64 data. -- The underlying
-- isomorphism will encode to Base64 representation during --
-- serialisation, and decode from Base64 representation during
-- deserialisation. -- This Lens accepts and returns only raw
-- unencoded data.
--
-- UpdateFunction, updateFunction_name - The name of the
-- function that you are updating.
newUpdateFunction :: Text -> FunctionConfig -> ByteString -> Text -> UpdateFunction
-- | The current version (ETag value) of the function that you are
-- updating, which you can get using DescribeFunction.
updateFunction_ifMatch :: Lens' UpdateFunction Text
-- | Configuration information about the function.
updateFunction_functionConfig :: Lens' UpdateFunction FunctionConfig
-- | The function code. For more information about writing a CloudFront
-- function, see Writing function code for CloudFront Functions in
-- the Amazon CloudFront Developer Guide.-- -- Note: This
-- Lens automatically encodes and decodes Base64 data. -- The
-- underlying isomorphism will encode to Base64 representation during --
-- serialisation, and decode from Base64 representation during
-- deserialisation. -- This Lens accepts and returns only raw
-- unencoded data.
updateFunction_functionCode :: Lens' UpdateFunction ByteString
-- | The name of the function that you are updating.
updateFunction_name :: Lens' UpdateFunction Text
-- | See: newUpdateFunctionResponse smart constructor.
data UpdateFunctionResponse
UpdateFunctionResponse' :: Maybe Text -> Maybe FunctionSummary -> Int -> UpdateFunctionResponse
-- | The version identifier for the current version of the CloudFront
-- function.
[$sel:eTag:UpdateFunctionResponse'] :: UpdateFunctionResponse -> Maybe Text
-- | Contains configuration information and metadata about a CloudFront
-- function.
[$sel:functionSummary:UpdateFunctionResponse'] :: UpdateFunctionResponse -> Maybe FunctionSummary
-- | The response's http status code.
[$sel:httpStatus:UpdateFunctionResponse'] :: UpdateFunctionResponse -> Int
-- | Create a value of UpdateFunctionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:UpdateFunctionResponse',
-- updateFunctionResponse_eTag - The version identifier for the
-- current version of the CloudFront function.
--
-- UpdateFunctionResponse,
-- updateFunctionResponse_functionSummary - Contains configuration
-- information and metadata about a CloudFront function.
--
-- $sel:httpStatus:UpdateFunctionResponse',
-- updateFunctionResponse_httpStatus - The response's http status
-- code.
newUpdateFunctionResponse :: Int -> UpdateFunctionResponse
-- | The version identifier for the current version of the CloudFront
-- function.
updateFunctionResponse_eTag :: Lens' UpdateFunctionResponse (Maybe Text)
-- | Contains configuration information and metadata about a CloudFront
-- function.
updateFunctionResponse_functionSummary :: Lens' UpdateFunctionResponse (Maybe FunctionSummary)
-- | The response's http status code.
updateFunctionResponse_httpStatus :: Lens' UpdateFunctionResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateFunction.UpdateFunction
instance GHC.Show.Show Amazonka.CloudFront.UpdateFunction.UpdateFunction
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateFunction.UpdateFunction
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateFunction.UpdateFunctionResponse
instance GHC.Show.Show Amazonka.CloudFront.UpdateFunction.UpdateFunctionResponse
instance GHC.Read.Read Amazonka.CloudFront.UpdateFunction.UpdateFunctionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateFunction.UpdateFunctionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.UpdateFunction.UpdateFunction
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateFunction.UpdateFunctionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.UpdateFunction.UpdateFunction
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateFunction.UpdateFunction
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.UpdateFunction.UpdateFunction
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.UpdateFunction.UpdateFunction
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.UpdateFunction.UpdateFunction
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.UpdateFunction.UpdateFunction
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.UpdateFunction.UpdateFunction
-- | Updates a key group.
--
-- When you update a key group, all the fields are updated with the
-- values provided in the request. You cannot update some fields
-- independent of others. To update a key group:
--
--
-- - Get the current key group with GetKeyGroup or
-- GetKeyGroupConfig.
-- - Locally modify the fields in the key group that you want to
-- update. For example, add or remove public key IDs.
-- - Call UpdateKeyGroup with the entire key group object,
-- including the fields that you modified and those that you didn't.
--
module Amazonka.CloudFront.UpdateKeyGroup
-- | See: newUpdateKeyGroup smart constructor.
data UpdateKeyGroup
UpdateKeyGroup' :: Maybe Text -> KeyGroupConfig -> Text -> UpdateKeyGroup
-- | The version of the key group that you are updating. The version is the
-- key group's ETag value.
[$sel:ifMatch:UpdateKeyGroup'] :: UpdateKeyGroup -> Maybe Text
-- | The key group configuration.
[$sel:keyGroupConfig:UpdateKeyGroup'] :: UpdateKeyGroup -> KeyGroupConfig
-- | The identifier of the key group that you are updating.
[$sel:id:UpdateKeyGroup'] :: UpdateKeyGroup -> Text
-- | Create a value of UpdateKeyGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateKeyGroup', updateKeyGroup_ifMatch -
-- The version of the key group that you are updating. The version is the
-- key group's ETag value.
--
-- UpdateKeyGroup, updateKeyGroup_keyGroupConfig - The key
-- group configuration.
--
-- UpdateKeyGroup, updateKeyGroup_id - The identifier of
-- the key group that you are updating.
newUpdateKeyGroup :: KeyGroupConfig -> Text -> UpdateKeyGroup
-- | The version of the key group that you are updating. The version is the
-- key group's ETag value.
updateKeyGroup_ifMatch :: Lens' UpdateKeyGroup (Maybe Text)
-- | The key group configuration.
updateKeyGroup_keyGroupConfig :: Lens' UpdateKeyGroup KeyGroupConfig
-- | The identifier of the key group that you are updating.
updateKeyGroup_id :: Lens' UpdateKeyGroup Text
-- | See: newUpdateKeyGroupResponse smart constructor.
data UpdateKeyGroupResponse
UpdateKeyGroupResponse' :: Maybe Text -> Maybe KeyGroup -> Int -> UpdateKeyGroupResponse
-- | The identifier for this version of the key group.
[$sel:eTag:UpdateKeyGroupResponse'] :: UpdateKeyGroupResponse -> Maybe Text
-- | The key group that was just updated.
[$sel:keyGroup:UpdateKeyGroupResponse'] :: UpdateKeyGroupResponse -> Maybe KeyGroup
-- | The response's http status code.
[$sel:httpStatus:UpdateKeyGroupResponse'] :: UpdateKeyGroupResponse -> Int
-- | Create a value of UpdateKeyGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:UpdateKeyGroupResponse',
-- updateKeyGroupResponse_eTag - The identifier for this version
-- of the key group.
--
-- UpdateKeyGroupResponse, updateKeyGroupResponse_keyGroup
-- - The key group that was just updated.
--
-- $sel:httpStatus:UpdateKeyGroupResponse',
-- updateKeyGroupResponse_httpStatus - The response's http status
-- code.
newUpdateKeyGroupResponse :: Int -> UpdateKeyGroupResponse
-- | The identifier for this version of the key group.
updateKeyGroupResponse_eTag :: Lens' UpdateKeyGroupResponse (Maybe Text)
-- | The key group that was just updated.
updateKeyGroupResponse_keyGroup :: Lens' UpdateKeyGroupResponse (Maybe KeyGroup)
-- | The response's http status code.
updateKeyGroupResponse_httpStatus :: Lens' UpdateKeyGroupResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateKeyGroup.UpdateKeyGroup
instance GHC.Show.Show Amazonka.CloudFront.UpdateKeyGroup.UpdateKeyGroup
instance GHC.Read.Read Amazonka.CloudFront.UpdateKeyGroup.UpdateKeyGroup
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateKeyGroup.UpdateKeyGroup
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateKeyGroup.UpdateKeyGroupResponse
instance GHC.Show.Show Amazonka.CloudFront.UpdateKeyGroup.UpdateKeyGroupResponse
instance GHC.Read.Read Amazonka.CloudFront.UpdateKeyGroup.UpdateKeyGroupResponse
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateKeyGroup.UpdateKeyGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.UpdateKeyGroup.UpdateKeyGroup
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateKeyGroup.UpdateKeyGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.UpdateKeyGroup.UpdateKeyGroup
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateKeyGroup.UpdateKeyGroup
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.UpdateKeyGroup.UpdateKeyGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.UpdateKeyGroup.UpdateKeyGroup
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.UpdateKeyGroup.UpdateKeyGroup
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.UpdateKeyGroup.UpdateKeyGroup
-- | Updates a CloudFront origin access control.
module Amazonka.CloudFront.UpdateOriginAccessControl
-- | See: newUpdateOriginAccessControl smart constructor.
data UpdateOriginAccessControl
UpdateOriginAccessControl' :: Maybe Text -> OriginAccessControlConfig -> Text -> UpdateOriginAccessControl
-- | The current version (ETag value) of the origin access control
-- that you are updating.
[$sel:ifMatch:UpdateOriginAccessControl'] :: UpdateOriginAccessControl -> Maybe Text
-- | An origin access control.
[$sel:originAccessControlConfig:UpdateOriginAccessControl'] :: UpdateOriginAccessControl -> OriginAccessControlConfig
-- | The unique identifier of the origin access control that you are
-- updating.
[$sel:id:UpdateOriginAccessControl'] :: UpdateOriginAccessControl -> Text
-- | Create a value of UpdateOriginAccessControl with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateOriginAccessControl',
-- updateOriginAccessControl_ifMatch - The current version
-- (ETag value) of the origin access control that you are
-- updating.
--
-- UpdateOriginAccessControl,
-- updateOriginAccessControl_originAccessControlConfig - An origin
-- access control.
--
-- UpdateOriginAccessControl, updateOriginAccessControl_id
-- - The unique identifier of the origin access control that you are
-- updating.
newUpdateOriginAccessControl :: OriginAccessControlConfig -> Text -> UpdateOriginAccessControl
-- | The current version (ETag value) of the origin access control
-- that you are updating.
updateOriginAccessControl_ifMatch :: Lens' UpdateOriginAccessControl (Maybe Text)
-- | An origin access control.
updateOriginAccessControl_originAccessControlConfig :: Lens' UpdateOriginAccessControl OriginAccessControlConfig
-- | The unique identifier of the origin access control that you are
-- updating.
updateOriginAccessControl_id :: Lens' UpdateOriginAccessControl Text
-- | See: newUpdateOriginAccessControlResponse smart
-- constructor.
data UpdateOriginAccessControlResponse
UpdateOriginAccessControlResponse' :: Maybe Text -> Maybe OriginAccessControl -> Int -> UpdateOriginAccessControlResponse
-- | The new version of the origin access control after it has been
-- updated.
[$sel:eTag:UpdateOriginAccessControlResponse'] :: UpdateOriginAccessControlResponse -> Maybe Text
-- | The origin access control after it has been updated.
[$sel:originAccessControl:UpdateOriginAccessControlResponse'] :: UpdateOriginAccessControlResponse -> Maybe OriginAccessControl
-- | The response's http status code.
[$sel:httpStatus:UpdateOriginAccessControlResponse'] :: UpdateOriginAccessControlResponse -> Int
-- | Create a value of UpdateOriginAccessControlResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:UpdateOriginAccessControlResponse',
-- updateOriginAccessControlResponse_eTag - The new version of the
-- origin access control after it has been updated.
--
-- $sel:originAccessControl:UpdateOriginAccessControlResponse',
-- updateOriginAccessControlResponse_originAccessControl - The
-- origin access control after it has been updated.
--
-- $sel:httpStatus:UpdateOriginAccessControlResponse',
-- updateOriginAccessControlResponse_httpStatus - The response's
-- http status code.
newUpdateOriginAccessControlResponse :: Int -> UpdateOriginAccessControlResponse
-- | The new version of the origin access control after it has been
-- updated.
updateOriginAccessControlResponse_eTag :: Lens' UpdateOriginAccessControlResponse (Maybe Text)
-- | The origin access control after it has been updated.
updateOriginAccessControlResponse_originAccessControl :: Lens' UpdateOriginAccessControlResponse (Maybe OriginAccessControl)
-- | The response's http status code.
updateOriginAccessControlResponse_httpStatus :: Lens' UpdateOriginAccessControlResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateOriginAccessControl.UpdateOriginAccessControl
instance GHC.Show.Show Amazonka.CloudFront.UpdateOriginAccessControl.UpdateOriginAccessControl
instance GHC.Read.Read Amazonka.CloudFront.UpdateOriginAccessControl.UpdateOriginAccessControl
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateOriginAccessControl.UpdateOriginAccessControl
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateOriginAccessControl.UpdateOriginAccessControlResponse
instance GHC.Show.Show Amazonka.CloudFront.UpdateOriginAccessControl.UpdateOriginAccessControlResponse
instance GHC.Read.Read Amazonka.CloudFront.UpdateOriginAccessControl.UpdateOriginAccessControlResponse
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateOriginAccessControl.UpdateOriginAccessControlResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.UpdateOriginAccessControl.UpdateOriginAccessControl
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateOriginAccessControl.UpdateOriginAccessControlResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.UpdateOriginAccessControl.UpdateOriginAccessControl
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateOriginAccessControl.UpdateOriginAccessControl
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.UpdateOriginAccessControl.UpdateOriginAccessControl
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.UpdateOriginAccessControl.UpdateOriginAccessControl
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.UpdateOriginAccessControl.UpdateOriginAccessControl
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.UpdateOriginAccessControl.UpdateOriginAccessControl
-- | Updates an origin request policy configuration.
--
-- When you update an origin request policy configuration, all the fields
-- are updated with the values provided in the request. You cannot update
-- some fields independent of others. To update an origin request policy
-- configuration:
--
--
-- - Use GetOriginRequestPolicyConfig to get the current
-- configuration.
-- - Locally modify the fields in the origin request policy
-- configuration that you want to update.
-- - Call UpdateOriginRequestPolicy by providing the entire
-- origin request policy configuration, including the fields that you
-- modified and those that you didn't.
--
module Amazonka.CloudFront.UpdateOriginRequestPolicy
-- | See: newUpdateOriginRequestPolicy smart constructor.
data UpdateOriginRequestPolicy
UpdateOriginRequestPolicy' :: Maybe Text -> OriginRequestPolicyConfig -> Text -> UpdateOriginRequestPolicy
-- | The version of the origin request policy that you are updating. The
-- version is returned in the origin request policy's ETag field
-- in the response to GetOriginRequestPolicyConfig.
[$sel:ifMatch:UpdateOriginRequestPolicy'] :: UpdateOriginRequestPolicy -> Maybe Text
-- | An origin request policy configuration.
[$sel:originRequestPolicyConfig:UpdateOriginRequestPolicy'] :: UpdateOriginRequestPolicy -> OriginRequestPolicyConfig
-- | The unique identifier for the origin request policy that you are
-- updating. The identifier is returned in a cache behavior's
-- OriginRequestPolicyId field in the response to
-- GetDistributionConfig.
[$sel:id:UpdateOriginRequestPolicy'] :: UpdateOriginRequestPolicy -> Text
-- | Create a value of UpdateOriginRequestPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateOriginRequestPolicy',
-- updateOriginRequestPolicy_ifMatch - The version of the origin
-- request policy that you are updating. The version is returned in the
-- origin request policy's ETag field in the response to
-- GetOriginRequestPolicyConfig.
--
-- UpdateOriginRequestPolicy,
-- updateOriginRequestPolicy_originRequestPolicyConfig - An origin
-- request policy configuration.
--
-- UpdateOriginRequestPolicy, updateOriginRequestPolicy_id
-- - The unique identifier for the origin request policy that you are
-- updating. The identifier is returned in a cache behavior's
-- OriginRequestPolicyId field in the response to
-- GetDistributionConfig.
newUpdateOriginRequestPolicy :: OriginRequestPolicyConfig -> Text -> UpdateOriginRequestPolicy
-- | The version of the origin request policy that you are updating. The
-- version is returned in the origin request policy's ETag field
-- in the response to GetOriginRequestPolicyConfig.
updateOriginRequestPolicy_ifMatch :: Lens' UpdateOriginRequestPolicy (Maybe Text)
-- | An origin request policy configuration.
updateOriginRequestPolicy_originRequestPolicyConfig :: Lens' UpdateOriginRequestPolicy OriginRequestPolicyConfig
-- | The unique identifier for the origin request policy that you are
-- updating. The identifier is returned in a cache behavior's
-- OriginRequestPolicyId field in the response to
-- GetDistributionConfig.
updateOriginRequestPolicy_id :: Lens' UpdateOriginRequestPolicy Text
-- | See: newUpdateOriginRequestPolicyResponse smart
-- constructor.
data UpdateOriginRequestPolicyResponse
UpdateOriginRequestPolicyResponse' :: Maybe Text -> Maybe OriginRequestPolicy -> Int -> UpdateOriginRequestPolicyResponse
-- | The current version of the origin request policy.
[$sel:eTag:UpdateOriginRequestPolicyResponse'] :: UpdateOriginRequestPolicyResponse -> Maybe Text
-- | An origin request policy.
[$sel:originRequestPolicy:UpdateOriginRequestPolicyResponse'] :: UpdateOriginRequestPolicyResponse -> Maybe OriginRequestPolicy
-- | The response's http status code.
[$sel:httpStatus:UpdateOriginRequestPolicyResponse'] :: UpdateOriginRequestPolicyResponse -> Int
-- | Create a value of UpdateOriginRequestPolicyResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:UpdateOriginRequestPolicyResponse',
-- updateOriginRequestPolicyResponse_eTag - The current version of
-- the origin request policy.
--
-- UpdateOriginRequestPolicyResponse,
-- updateOriginRequestPolicyResponse_originRequestPolicy - An
-- origin request policy.
--
-- $sel:httpStatus:UpdateOriginRequestPolicyResponse',
-- updateOriginRequestPolicyResponse_httpStatus - The response's
-- http status code.
newUpdateOriginRequestPolicyResponse :: Int -> UpdateOriginRequestPolicyResponse
-- | The current version of the origin request policy.
updateOriginRequestPolicyResponse_eTag :: Lens' UpdateOriginRequestPolicyResponse (Maybe Text)
-- | An origin request policy.
updateOriginRequestPolicyResponse_originRequestPolicy :: Lens' UpdateOriginRequestPolicyResponse (Maybe OriginRequestPolicy)
-- | The response's http status code.
updateOriginRequestPolicyResponse_httpStatus :: Lens' UpdateOriginRequestPolicyResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateOriginRequestPolicy.UpdateOriginRequestPolicy
instance GHC.Show.Show Amazonka.CloudFront.UpdateOriginRequestPolicy.UpdateOriginRequestPolicy
instance GHC.Read.Read Amazonka.CloudFront.UpdateOriginRequestPolicy.UpdateOriginRequestPolicy
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateOriginRequestPolicy.UpdateOriginRequestPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateOriginRequestPolicy.UpdateOriginRequestPolicyResponse
instance GHC.Show.Show Amazonka.CloudFront.UpdateOriginRequestPolicy.UpdateOriginRequestPolicyResponse
instance GHC.Read.Read Amazonka.CloudFront.UpdateOriginRequestPolicy.UpdateOriginRequestPolicyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateOriginRequestPolicy.UpdateOriginRequestPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.UpdateOriginRequestPolicy.UpdateOriginRequestPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateOriginRequestPolicy.UpdateOriginRequestPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.UpdateOriginRequestPolicy.UpdateOriginRequestPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateOriginRequestPolicy.UpdateOriginRequestPolicy
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.UpdateOriginRequestPolicy.UpdateOriginRequestPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.UpdateOriginRequestPolicy.UpdateOriginRequestPolicy
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.UpdateOriginRequestPolicy.UpdateOriginRequestPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.UpdateOriginRequestPolicy.UpdateOriginRequestPolicy
-- | Update public key information. Note that the only value you can change
-- is the comment.
module Amazonka.CloudFront.UpdatePublicKey
-- | See: newUpdatePublicKey smart constructor.
data UpdatePublicKey
UpdatePublicKey' :: Maybe Text -> PublicKeyConfig -> Text -> UpdatePublicKey
-- | The value of the ETag header that you received when
-- retrieving the public key to update. For example:
-- E2QWRUHAPOMQZL.
[$sel:ifMatch:UpdatePublicKey'] :: UpdatePublicKey -> Maybe Text
-- | A public key configuration.
[$sel:publicKeyConfig:UpdatePublicKey'] :: UpdatePublicKey -> PublicKeyConfig
-- | The identifier of the public key that you are updating.
[$sel:id:UpdatePublicKey'] :: UpdatePublicKey -> Text
-- | Create a value of UpdatePublicKey with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdatePublicKey', updatePublicKey_ifMatch -
-- The value of the ETag header that you received when
-- retrieving the public key to update. For example:
-- E2QWRUHAPOMQZL.
--
-- UpdatePublicKey, updatePublicKey_publicKeyConfig - A
-- public key configuration.
--
-- UpdatePublicKey, updatePublicKey_id - The identifier of
-- the public key that you are updating.
newUpdatePublicKey :: PublicKeyConfig -> Text -> UpdatePublicKey
-- | The value of the ETag header that you received when
-- retrieving the public key to update. For example:
-- E2QWRUHAPOMQZL.
updatePublicKey_ifMatch :: Lens' UpdatePublicKey (Maybe Text)
-- | A public key configuration.
updatePublicKey_publicKeyConfig :: Lens' UpdatePublicKey PublicKeyConfig
-- | The identifier of the public key that you are updating.
updatePublicKey_id :: Lens' UpdatePublicKey Text
-- | See: newUpdatePublicKeyResponse smart constructor.
data UpdatePublicKeyResponse
UpdatePublicKeyResponse' :: Maybe Text -> Maybe PublicKey -> Int -> UpdatePublicKeyResponse
-- | The identifier of the current version of the public key.
[$sel:eTag:UpdatePublicKeyResponse'] :: UpdatePublicKeyResponse -> Maybe Text
-- | The public key.
[$sel:publicKey:UpdatePublicKeyResponse'] :: UpdatePublicKeyResponse -> Maybe PublicKey
-- | The response's http status code.
[$sel:httpStatus:UpdatePublicKeyResponse'] :: UpdatePublicKeyResponse -> Int
-- | Create a value of UpdatePublicKeyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:UpdatePublicKeyResponse',
-- updatePublicKeyResponse_eTag - The identifier of the current
-- version of the public key.
--
-- $sel:publicKey:UpdatePublicKeyResponse',
-- updatePublicKeyResponse_publicKey - The public key.
--
-- $sel:httpStatus:UpdatePublicKeyResponse',
-- updatePublicKeyResponse_httpStatus - The response's http status
-- code.
newUpdatePublicKeyResponse :: Int -> UpdatePublicKeyResponse
-- | The identifier of the current version of the public key.
updatePublicKeyResponse_eTag :: Lens' UpdatePublicKeyResponse (Maybe Text)
-- | The public key.
updatePublicKeyResponse_publicKey :: Lens' UpdatePublicKeyResponse (Maybe PublicKey)
-- | The response's http status code.
updatePublicKeyResponse_httpStatus :: Lens' UpdatePublicKeyResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.UpdatePublicKey.UpdatePublicKey
instance GHC.Show.Show Amazonka.CloudFront.UpdatePublicKey.UpdatePublicKey
instance GHC.Read.Read Amazonka.CloudFront.UpdatePublicKey.UpdatePublicKey
instance GHC.Classes.Eq Amazonka.CloudFront.UpdatePublicKey.UpdatePublicKey
instance GHC.Generics.Generic Amazonka.CloudFront.UpdatePublicKey.UpdatePublicKeyResponse
instance GHC.Show.Show Amazonka.CloudFront.UpdatePublicKey.UpdatePublicKeyResponse
instance GHC.Read.Read Amazonka.CloudFront.UpdatePublicKey.UpdatePublicKeyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.UpdatePublicKey.UpdatePublicKeyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.UpdatePublicKey.UpdatePublicKey
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdatePublicKey.UpdatePublicKeyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.UpdatePublicKey.UpdatePublicKey
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdatePublicKey.UpdatePublicKey
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.UpdatePublicKey.UpdatePublicKey
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.UpdatePublicKey.UpdatePublicKey
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.UpdatePublicKey.UpdatePublicKey
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.UpdatePublicKey.UpdatePublicKey
-- | Updates a real-time log configuration.
--
-- When you update a real-time log configuration, all the parameters are
-- updated with the values provided in the request. You cannot update
-- some parameters independent of others. To update a real-time log
-- configuration:
--
--
-- - Call GetRealtimeLogConfig to get the current real-time
-- log configuration.
-- - Locally modify the parameters in the real-time log configuration
-- that you want to update.
-- - Call this API (UpdateRealtimeLogConfig) by providing the
-- entire real-time log configuration, including the parameters that you
-- modified and those that you didn't.
--
--
-- You cannot update a real-time log configuration's Name or
-- ARN.
module Amazonka.CloudFront.UpdateRealtimeLogConfig
-- | See: newUpdateRealtimeLogConfig smart constructor.
data UpdateRealtimeLogConfig
UpdateRealtimeLogConfig' :: Maybe Text -> Maybe [EndPoint] -> Maybe [Text] -> Maybe Text -> Maybe Integer -> UpdateRealtimeLogConfig
-- | The Amazon Resource Name (ARN) for this real-time log configuration.
[$sel:arn:UpdateRealtimeLogConfig'] :: UpdateRealtimeLogConfig -> Maybe Text
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data.
[$sel:endPoints:UpdateRealtimeLogConfig'] :: UpdateRealtimeLogConfig -> Maybe [EndPoint]
-- | A list of fields to include in each real-time log record.
--
-- For more information about fields, see Real-time log configuration
-- fields in the Amazon CloudFront Developer Guide.
[$sel:fields:UpdateRealtimeLogConfig'] :: UpdateRealtimeLogConfig -> Maybe [Text]
-- | The name for this real-time log configuration.
[$sel:name:UpdateRealtimeLogConfig'] :: UpdateRealtimeLogConfig -> Maybe Text
-- | The sampling rate for this real-time log configuration. The sampling
-- rate determines the percentage of viewer requests that are represented
-- in the real-time log data. You must provide an integer between 1 and
-- 100, inclusive.
[$sel:samplingRate:UpdateRealtimeLogConfig'] :: UpdateRealtimeLogConfig -> Maybe Integer
-- | Create a value of UpdateRealtimeLogConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateRealtimeLogConfig, updateRealtimeLogConfig_arn -
-- The Amazon Resource Name (ARN) for this real-time log configuration.
--
-- UpdateRealtimeLogConfig,
-- updateRealtimeLogConfig_endPoints - Contains information about
-- the Amazon Kinesis data stream where you are sending real-time log
-- data.
--
-- UpdateRealtimeLogConfig, updateRealtimeLogConfig_fields
-- - A list of fields to include in each real-time log record.
--
-- For more information about fields, see Real-time log configuration
-- fields in the Amazon CloudFront Developer Guide.
--
-- UpdateRealtimeLogConfig, updateRealtimeLogConfig_name -
-- The name for this real-time log configuration.
--
-- UpdateRealtimeLogConfig,
-- updateRealtimeLogConfig_samplingRate - The sampling rate for
-- this real-time log configuration. The sampling rate determines the
-- percentage of viewer requests that are represented in the real-time
-- log data. You must provide an integer between 1 and 100, inclusive.
newUpdateRealtimeLogConfig :: UpdateRealtimeLogConfig
-- | The Amazon Resource Name (ARN) for this real-time log configuration.
updateRealtimeLogConfig_arn :: Lens' UpdateRealtimeLogConfig (Maybe Text)
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data.
updateRealtimeLogConfig_endPoints :: Lens' UpdateRealtimeLogConfig (Maybe [EndPoint])
-- | A list of fields to include in each real-time log record.
--
-- For more information about fields, see Real-time log configuration
-- fields in the Amazon CloudFront Developer Guide.
updateRealtimeLogConfig_fields :: Lens' UpdateRealtimeLogConfig (Maybe [Text])
-- | The name for this real-time log configuration.
updateRealtimeLogConfig_name :: Lens' UpdateRealtimeLogConfig (Maybe Text)
-- | The sampling rate for this real-time log configuration. The sampling
-- rate determines the percentage of viewer requests that are represented
-- in the real-time log data. You must provide an integer between 1 and
-- 100, inclusive.
updateRealtimeLogConfig_samplingRate :: Lens' UpdateRealtimeLogConfig (Maybe Integer)
-- | See: newUpdateRealtimeLogConfigResponse smart
-- constructor.
data UpdateRealtimeLogConfigResponse
UpdateRealtimeLogConfigResponse' :: Maybe RealtimeLogConfig -> Int -> UpdateRealtimeLogConfigResponse
-- | A real-time log configuration.
[$sel:realtimeLogConfig:UpdateRealtimeLogConfigResponse'] :: UpdateRealtimeLogConfigResponse -> Maybe RealtimeLogConfig
-- | The response's http status code.
[$sel:httpStatus:UpdateRealtimeLogConfigResponse'] :: UpdateRealtimeLogConfigResponse -> Int
-- | Create a value of UpdateRealtimeLogConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:realtimeLogConfig:UpdateRealtimeLogConfigResponse',
-- updateRealtimeLogConfigResponse_realtimeLogConfig - A real-time
-- log configuration.
--
-- $sel:httpStatus:UpdateRealtimeLogConfigResponse',
-- updateRealtimeLogConfigResponse_httpStatus - The response's
-- http status code.
newUpdateRealtimeLogConfigResponse :: Int -> UpdateRealtimeLogConfigResponse
-- | A real-time log configuration.
updateRealtimeLogConfigResponse_realtimeLogConfig :: Lens' UpdateRealtimeLogConfigResponse (Maybe RealtimeLogConfig)
-- | The response's http status code.
updateRealtimeLogConfigResponse_httpStatus :: Lens' UpdateRealtimeLogConfigResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateRealtimeLogConfig.UpdateRealtimeLogConfig
instance GHC.Show.Show Amazonka.CloudFront.UpdateRealtimeLogConfig.UpdateRealtimeLogConfig
instance GHC.Read.Read Amazonka.CloudFront.UpdateRealtimeLogConfig.UpdateRealtimeLogConfig
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateRealtimeLogConfig.UpdateRealtimeLogConfig
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateRealtimeLogConfig.UpdateRealtimeLogConfigResponse
instance GHC.Show.Show Amazonka.CloudFront.UpdateRealtimeLogConfig.UpdateRealtimeLogConfigResponse
instance GHC.Read.Read Amazonka.CloudFront.UpdateRealtimeLogConfig.UpdateRealtimeLogConfigResponse
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateRealtimeLogConfig.UpdateRealtimeLogConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.UpdateRealtimeLogConfig.UpdateRealtimeLogConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateRealtimeLogConfig.UpdateRealtimeLogConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.UpdateRealtimeLogConfig.UpdateRealtimeLogConfig
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateRealtimeLogConfig.UpdateRealtimeLogConfig
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.UpdateRealtimeLogConfig.UpdateRealtimeLogConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.UpdateRealtimeLogConfig.UpdateRealtimeLogConfig
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.UpdateRealtimeLogConfig.UpdateRealtimeLogConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.UpdateRealtimeLogConfig.UpdateRealtimeLogConfig
instance Amazonka.Data.XML.ToXML Amazonka.CloudFront.UpdateRealtimeLogConfig.UpdateRealtimeLogConfig
-- | Updates a response headers policy.
--
-- When you update a response headers policy, the entire policy is
-- replaced. You cannot update some policy fields independent of others.
-- To update a response headers policy configuration:
--
--
-- - Use GetResponseHeadersPolicyConfig to get the current
-- policy's configuration.
-- - Modify the fields in the response headers policy configuration
-- that you want to update.
-- - Call UpdateResponseHeadersPolicy, providing the entire
-- response headers policy configuration, including the fields that you
-- modified and those that you didn't.
--
module Amazonka.CloudFront.UpdateResponseHeadersPolicy
-- | See: newUpdateResponseHeadersPolicy smart constructor.
data UpdateResponseHeadersPolicy
UpdateResponseHeadersPolicy' :: Maybe Text -> ResponseHeadersPolicyConfig -> Text -> UpdateResponseHeadersPolicy
-- | The version of the response headers policy that you are updating.
--
-- The version is returned in the cache policy's ETag field in
-- the response to GetResponseHeadersPolicyConfig.
[$sel:ifMatch:UpdateResponseHeadersPolicy'] :: UpdateResponseHeadersPolicy -> Maybe Text
-- | A response headers policy configuration.
[$sel:responseHeadersPolicyConfig:UpdateResponseHeadersPolicy'] :: UpdateResponseHeadersPolicy -> ResponseHeadersPolicyConfig
-- | The identifier for the response headers policy that you are updating.
[$sel:id:UpdateResponseHeadersPolicy'] :: UpdateResponseHeadersPolicy -> Text
-- | Create a value of UpdateResponseHeadersPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateResponseHeadersPolicy',
-- updateResponseHeadersPolicy_ifMatch - The version of the
-- response headers policy that you are updating.
--
-- The version is returned in the cache policy's ETag field in
-- the response to GetResponseHeadersPolicyConfig.
--
-- UpdateResponseHeadersPolicy,
-- updateResponseHeadersPolicy_responseHeadersPolicyConfig - A
-- response headers policy configuration.
--
-- UpdateResponseHeadersPolicy,
-- updateResponseHeadersPolicy_id - The identifier for the
-- response headers policy that you are updating.
newUpdateResponseHeadersPolicy :: ResponseHeadersPolicyConfig -> Text -> UpdateResponseHeadersPolicy
-- | The version of the response headers policy that you are updating.
--
-- The version is returned in the cache policy's ETag field in
-- the response to GetResponseHeadersPolicyConfig.
updateResponseHeadersPolicy_ifMatch :: Lens' UpdateResponseHeadersPolicy (Maybe Text)
-- | A response headers policy configuration.
updateResponseHeadersPolicy_responseHeadersPolicyConfig :: Lens' UpdateResponseHeadersPolicy ResponseHeadersPolicyConfig
-- | The identifier for the response headers policy that you are updating.
updateResponseHeadersPolicy_id :: Lens' UpdateResponseHeadersPolicy Text
-- | See: newUpdateResponseHeadersPolicyResponse smart
-- constructor.
data UpdateResponseHeadersPolicyResponse
UpdateResponseHeadersPolicyResponse' :: Maybe Text -> Maybe ResponseHeadersPolicy -> Int -> UpdateResponseHeadersPolicyResponse
-- | The current version of the response headers policy.
[$sel:eTag:UpdateResponseHeadersPolicyResponse'] :: UpdateResponseHeadersPolicyResponse -> Maybe Text
-- | A response headers policy.
[$sel:responseHeadersPolicy:UpdateResponseHeadersPolicyResponse'] :: UpdateResponseHeadersPolicyResponse -> Maybe ResponseHeadersPolicy
-- | The response's http status code.
[$sel:httpStatus:UpdateResponseHeadersPolicyResponse'] :: UpdateResponseHeadersPolicyResponse -> Int
-- | Create a value of UpdateResponseHeadersPolicyResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:UpdateResponseHeadersPolicyResponse',
-- updateResponseHeadersPolicyResponse_eTag - The current version
-- of the response headers policy.
--
-- UpdateResponseHeadersPolicyResponse,
-- updateResponseHeadersPolicyResponse_responseHeadersPolicy - A
-- response headers policy.
--
-- $sel:httpStatus:UpdateResponseHeadersPolicyResponse',
-- updateResponseHeadersPolicyResponse_httpStatus - The response's
-- http status code.
newUpdateResponseHeadersPolicyResponse :: Int -> UpdateResponseHeadersPolicyResponse
-- | The current version of the response headers policy.
updateResponseHeadersPolicyResponse_eTag :: Lens' UpdateResponseHeadersPolicyResponse (Maybe Text)
-- | A response headers policy.
updateResponseHeadersPolicyResponse_responseHeadersPolicy :: Lens' UpdateResponseHeadersPolicyResponse (Maybe ResponseHeadersPolicy)
-- | The response's http status code.
updateResponseHeadersPolicyResponse_httpStatus :: Lens' UpdateResponseHeadersPolicyResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateResponseHeadersPolicy.UpdateResponseHeadersPolicy
instance GHC.Show.Show Amazonka.CloudFront.UpdateResponseHeadersPolicy.UpdateResponseHeadersPolicy
instance GHC.Read.Read Amazonka.CloudFront.UpdateResponseHeadersPolicy.UpdateResponseHeadersPolicy
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateResponseHeadersPolicy.UpdateResponseHeadersPolicy
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateResponseHeadersPolicy.UpdateResponseHeadersPolicyResponse
instance GHC.Show.Show Amazonka.CloudFront.UpdateResponseHeadersPolicy.UpdateResponseHeadersPolicyResponse
instance GHC.Read.Read Amazonka.CloudFront.UpdateResponseHeadersPolicy.UpdateResponseHeadersPolicyResponse
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateResponseHeadersPolicy.UpdateResponseHeadersPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.UpdateResponseHeadersPolicy.UpdateResponseHeadersPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateResponseHeadersPolicy.UpdateResponseHeadersPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.UpdateResponseHeadersPolicy.UpdateResponseHeadersPolicy
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateResponseHeadersPolicy.UpdateResponseHeadersPolicy
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.UpdateResponseHeadersPolicy.UpdateResponseHeadersPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.UpdateResponseHeadersPolicy.UpdateResponseHeadersPolicy
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.UpdateResponseHeadersPolicy.UpdateResponseHeadersPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.UpdateResponseHeadersPolicy.UpdateResponseHeadersPolicy
-- | Update a streaming distribution.
module Amazonka.CloudFront.UpdateStreamingDistribution
-- | The request to update a streaming distribution.
--
-- See: newUpdateStreamingDistribution smart constructor.
data UpdateStreamingDistribution
UpdateStreamingDistribution' :: Maybe Text -> StreamingDistributionConfig -> Text -> UpdateStreamingDistribution
-- | The value of the ETag header that you received when
-- retrieving the streaming distribution's configuration. For example:
-- E2QWRUHAPOMQZL.
[$sel:ifMatch:UpdateStreamingDistribution'] :: UpdateStreamingDistribution -> Maybe Text
-- | The streaming distribution's configuration information.
[$sel:streamingDistributionConfig:UpdateStreamingDistribution'] :: UpdateStreamingDistribution -> StreamingDistributionConfig
-- | The streaming distribution's id.
[$sel:id:UpdateStreamingDistribution'] :: UpdateStreamingDistribution -> Text
-- | Create a value of UpdateStreamingDistribution with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateStreamingDistribution',
-- updateStreamingDistribution_ifMatch - The value of the
-- ETag header that you received when retrieving the streaming
-- distribution's configuration. For example: E2QWRUHAPOMQZL.
--
-- UpdateStreamingDistribution,
-- updateStreamingDistribution_streamingDistributionConfig - The
-- streaming distribution's configuration information.
--
-- UpdateStreamingDistribution,
-- updateStreamingDistribution_id - The streaming distribution's
-- id.
newUpdateStreamingDistribution :: StreamingDistributionConfig -> Text -> UpdateStreamingDistribution
-- | The value of the ETag header that you received when
-- retrieving the streaming distribution's configuration. For example:
-- E2QWRUHAPOMQZL.
updateStreamingDistribution_ifMatch :: Lens' UpdateStreamingDistribution (Maybe Text)
-- | The streaming distribution's configuration information.
updateStreamingDistribution_streamingDistributionConfig :: Lens' UpdateStreamingDistribution StreamingDistributionConfig
-- | The streaming distribution's id.
updateStreamingDistribution_id :: Lens' UpdateStreamingDistribution Text
-- | The returned result of the corresponding request.
--
-- See: newUpdateStreamingDistributionResponse smart
-- constructor.
data UpdateStreamingDistributionResponse
UpdateStreamingDistributionResponse' :: Maybe Text -> Maybe StreamingDistribution -> Int -> UpdateStreamingDistributionResponse
-- | The current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
[$sel:eTag:UpdateStreamingDistributionResponse'] :: UpdateStreamingDistributionResponse -> Maybe Text
-- | The streaming distribution's information.
[$sel:streamingDistribution:UpdateStreamingDistributionResponse'] :: UpdateStreamingDistributionResponse -> Maybe StreamingDistribution
-- | The response's http status code.
[$sel:httpStatus:UpdateStreamingDistributionResponse'] :: UpdateStreamingDistributionResponse -> Int
-- | Create a value of UpdateStreamingDistributionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:UpdateStreamingDistributionResponse',
-- updateStreamingDistributionResponse_eTag - The current version
-- of the configuration. For example: E2QWRUHAPOMQZL.
--
--
-- $sel:streamingDistribution:UpdateStreamingDistributionResponse',
-- updateStreamingDistributionResponse_streamingDistribution - The
-- streaming distribution's information.
--
-- $sel:httpStatus:UpdateStreamingDistributionResponse',
-- updateStreamingDistributionResponse_httpStatus - The response's
-- http status code.
newUpdateStreamingDistributionResponse :: Int -> UpdateStreamingDistributionResponse
-- | The current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
updateStreamingDistributionResponse_eTag :: Lens' UpdateStreamingDistributionResponse (Maybe Text)
-- | The streaming distribution's information.
updateStreamingDistributionResponse_streamingDistribution :: Lens' UpdateStreamingDistributionResponse (Maybe StreamingDistribution)
-- | The response's http status code.
updateStreamingDistributionResponse_httpStatus :: Lens' UpdateStreamingDistributionResponse Int
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution
instance GHC.Show.Show Amazonka.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution
instance GHC.Read.Read Amazonka.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution
instance GHC.Generics.Generic Amazonka.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistributionResponse
instance GHC.Show.Show Amazonka.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistributionResponse
instance GHC.Read.Read Amazonka.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistributionResponse
instance GHC.Classes.Eq Amazonka.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistributionResponse
instance Amazonka.Types.AWSRequest Amazonka.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistributionResponse
instance Data.Hashable.Class.Hashable Amazonka.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution
instance Control.DeepSeq.NFData Amazonka.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution
instance Amazonka.Data.XML.ToElement Amazonka.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution
instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution
instance Amazonka.Data.Path.ToPath Amazonka.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution
instance Amazonka.Data.Query.ToQuery Amazonka.CloudFront.UpdateStreamingDistribution.UpdateStreamingDistribution
module Amazonka.CloudFront.Lens
-- | The ID of the distribution that you're associating the alias with.
associateAlias_targetDistributionId :: Lens' AssociateAlias Text
-- | The alias (also known as a CNAME) to add to the target distribution.
associateAlias_alias :: Lens' AssociateAlias Text
-- | The version identifier of the primary distribution whose configuration
-- you are copying. This is the ETag value returned in the
-- response to GetDistribution and
-- GetDistributionConfig.
copyDistribution_ifMatch :: Lens' CopyDistribution (Maybe Text)
-- | The type of distribution that your primary distribution will be copied
-- to. The only valid value is True, indicating that you are
-- copying to a staging distribution.
copyDistribution_staging :: Lens' CopyDistribution (Maybe Bool)
-- | The identifier of the primary distribution whose configuration you are
-- copying. To get a distribution ID, use ListDistributions.
copyDistribution_primaryDistributionId :: Lens' CopyDistribution Text
-- | A value that uniquely identifies a request to create a resource. This
-- helps to prevent CloudFront from creating a duplicate resource if you
-- accidentally resubmit an identical request.
copyDistribution_callerReference :: Lens' CopyDistribution Text
-- | Undocumented member.
copyDistributionResponse_distribution :: Lens' CopyDistributionResponse (Maybe Distribution)
-- | The version identifier for the current version of the staging
-- distribution.
copyDistributionResponse_eTag :: Lens' CopyDistributionResponse (Maybe Text)
-- | The URL of the staging distribution.
copyDistributionResponse_location :: Lens' CopyDistributionResponse (Maybe Text)
-- | The response's http status code.
copyDistributionResponse_httpStatus :: Lens' CopyDistributionResponse Int
-- | A cache policy configuration.
createCachePolicy_cachePolicyConfig :: Lens' CreateCachePolicy CachePolicyConfig
-- | A cache policy.
createCachePolicyResponse_cachePolicy :: Lens' CreateCachePolicyResponse (Maybe CachePolicy)
-- | The current version of the cache policy.
createCachePolicyResponse_eTag :: Lens' CreateCachePolicyResponse (Maybe Text)
-- | The fully qualified URI of the cache policy just created.
createCachePolicyResponse_location :: Lens' CreateCachePolicyResponse (Maybe Text)
-- | The response's http status code.
createCachePolicyResponse_httpStatus :: Lens' CreateCachePolicyResponse Int
-- | The current configuration information for the identity.
createCloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig :: Lens' CreateCloudFrontOriginAccessIdentity CloudFrontOriginAccessIdentityConfig
-- | The origin access identity's information.
createCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity :: Lens' CreateCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity)
-- | The current version of the origin access identity created.
createCloudFrontOriginAccessIdentityResponse_eTag :: Lens' CreateCloudFrontOriginAccessIdentityResponse (Maybe Text)
-- | The fully qualified URI of the new origin access identity just
-- created.
createCloudFrontOriginAccessIdentityResponse_location :: Lens' CreateCloudFrontOriginAccessIdentityResponse (Maybe Text)
-- | The response's http status code.
createCloudFrontOriginAccessIdentityResponse_httpStatus :: Lens' CreateCloudFrontOriginAccessIdentityResponse Int
-- | Contains the configuration for a continuous deployment policy.
createContinuousDeploymentPolicy_continuousDeploymentPolicyConfig :: Lens' CreateContinuousDeploymentPolicy ContinuousDeploymentPolicyConfig
-- | A continuous deployment policy.
createContinuousDeploymentPolicyResponse_continuousDeploymentPolicy :: Lens' CreateContinuousDeploymentPolicyResponse (Maybe ContinuousDeploymentPolicy)
-- | The version identifier for the current version of the continuous
-- deployment policy.
createContinuousDeploymentPolicyResponse_eTag :: Lens' CreateContinuousDeploymentPolicyResponse (Maybe Text)
-- | The location of the continuous deployment policy.
createContinuousDeploymentPolicyResponse_location :: Lens' CreateContinuousDeploymentPolicyResponse (Maybe Text)
-- | The response's http status code.
createContinuousDeploymentPolicyResponse_httpStatus :: Lens' CreateContinuousDeploymentPolicyResponse Int
-- | The distribution's configuration information.
createDistribution_distributionConfig :: Lens' CreateDistribution DistributionConfig
-- | The distribution's information.
createDistributionResponse_distribution :: Lens' CreateDistributionResponse (Maybe Distribution)
-- | The current version of the distribution created.
createDistributionResponse_eTag :: Lens' CreateDistributionResponse (Maybe Text)
-- | The fully qualified URI of the new distribution resource just created.
createDistributionResponse_location :: Lens' CreateDistributionResponse (Maybe Text)
-- | The response's http status code.
createDistributionResponse_httpStatus :: Lens' CreateDistributionResponse Int
-- | The distribution's configuration information.
createDistributionWithTags_distributionConfigWithTags :: Lens' CreateDistributionWithTags DistributionConfigWithTags
-- | The distribution's information.
createDistributionWithTagsResponse_distribution :: Lens' CreateDistributionWithTagsResponse (Maybe Distribution)
-- | The current version of the distribution created.
createDistributionWithTagsResponse_eTag :: Lens' CreateDistributionWithTagsResponse (Maybe Text)
-- | The fully qualified URI of the new distribution resource just created.
createDistributionWithTagsResponse_location :: Lens' CreateDistributionWithTagsResponse (Maybe Text)
-- | The response's http status code.
createDistributionWithTagsResponse_httpStatus :: Lens' CreateDistributionWithTagsResponse Int
-- | The request to create a new field-level encryption configuration.
createFieldLevelEncryptionConfig_fieldLevelEncryptionConfig :: Lens' CreateFieldLevelEncryptionConfig FieldLevelEncryptionConfig
-- | The current version of the field level encryption configuration. For
-- example: E2QWRUHAPOMQZL.
createFieldLevelEncryptionConfigResponse_eTag :: Lens' CreateFieldLevelEncryptionConfigResponse (Maybe Text)
-- | Returned when you create a new field-level encryption configuration.
createFieldLevelEncryptionConfigResponse_fieldLevelEncryption :: Lens' CreateFieldLevelEncryptionConfigResponse (Maybe FieldLevelEncryption)
-- | The fully qualified URI of the new configuration resource just
-- created.
createFieldLevelEncryptionConfigResponse_location :: Lens' CreateFieldLevelEncryptionConfigResponse (Maybe Text)
-- | The response's http status code.
createFieldLevelEncryptionConfigResponse_httpStatus :: Lens' CreateFieldLevelEncryptionConfigResponse Int
-- | The request to create a field-level encryption profile.
createFieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig :: Lens' CreateFieldLevelEncryptionProfile FieldLevelEncryptionProfileConfig
-- | The current version of the field level encryption profile. For
-- example: E2QWRUHAPOMQZL.
createFieldLevelEncryptionProfileResponse_eTag :: Lens' CreateFieldLevelEncryptionProfileResponse (Maybe Text)
-- | Returned when you create a new field-level encryption profile.
createFieldLevelEncryptionProfileResponse_fieldLevelEncryptionProfile :: Lens' CreateFieldLevelEncryptionProfileResponse (Maybe FieldLevelEncryptionProfile)
-- | The fully qualified URI of the new profile resource just created.
createFieldLevelEncryptionProfileResponse_location :: Lens' CreateFieldLevelEncryptionProfileResponse (Maybe Text)
-- | The response's http status code.
createFieldLevelEncryptionProfileResponse_httpStatus :: Lens' CreateFieldLevelEncryptionProfileResponse Int
-- | A name to identify the function.
createFunction_name :: Lens' CreateFunction Text
-- | Configuration information about the function, including an optional
-- comment and the function's runtime.
createFunction_functionConfig :: Lens' CreateFunction FunctionConfig
-- | The function code. For more information about writing a CloudFront
-- function, see Writing function code for CloudFront Functions in
-- the Amazon CloudFront Developer Guide.-- -- Note: This
-- Lens automatically encodes and decodes Base64 data. -- The
-- underlying isomorphism will encode to Base64 representation during --
-- serialisation, and decode from Base64 representation during
-- deserialisation. -- This Lens accepts and returns only raw
-- unencoded data.
createFunction_functionCode :: Lens' CreateFunction ByteString
-- | The version identifier for the current version of the CloudFront
-- function.
createFunctionResponse_eTag :: Lens' CreateFunctionResponse (Maybe Text)
-- | Contains configuration information and metadata about a CloudFront
-- function.
createFunctionResponse_functionSummary :: Lens' CreateFunctionResponse (Maybe FunctionSummary)
-- | The URL of the CloudFront function. Use the URL to manage the function
-- with the CloudFront API.
createFunctionResponse_location :: Lens' CreateFunctionResponse (Maybe Text)
-- | The response's http status code.
createFunctionResponse_httpStatus :: Lens' CreateFunctionResponse Int
-- | The distribution's id.
createInvalidation_distributionId :: Lens' CreateInvalidation Text
-- | The batch information for the invalidation.
createInvalidation_invalidationBatch :: Lens' CreateInvalidation InvalidationBatch
-- | The invalidation's information.
createInvalidationResponse_invalidation :: Lens' CreateInvalidationResponse (Maybe Invalidation)
-- | The fully qualified URI of the distribution and invalidation batch
-- request, including the Invalidation ID.
createInvalidationResponse_location :: Lens' CreateInvalidationResponse (Maybe Text)
-- | The response's http status code.
createInvalidationResponse_httpStatus :: Lens' CreateInvalidationResponse Int
-- | A key group configuration.
createKeyGroup_keyGroupConfig :: Lens' CreateKeyGroup KeyGroupConfig
-- | The identifier for this version of the key group.
createKeyGroupResponse_eTag :: Lens' CreateKeyGroupResponse (Maybe Text)
-- | The key group that was just created.
createKeyGroupResponse_keyGroup :: Lens' CreateKeyGroupResponse (Maybe KeyGroup)
-- | The URL of the key group.
createKeyGroupResponse_location :: Lens' CreateKeyGroupResponse (Maybe Text)
-- | The response's http status code.
createKeyGroupResponse_httpStatus :: Lens' CreateKeyGroupResponse Int
-- | A monitoring subscription. This structure contains information about
-- whether additional CloudWatch metrics are enabled for a given
-- CloudFront distribution.
createMonitoringSubscription_monitoringSubscription :: Lens' CreateMonitoringSubscription MonitoringSubscription
-- | The ID of the distribution that you are enabling metrics for.
createMonitoringSubscription_distributionId :: Lens' CreateMonitoringSubscription Text
-- | A monitoring subscription. This structure contains information about
-- whether additional CloudWatch metrics are enabled for a given
-- CloudFront distribution.
createMonitoringSubscriptionResponse_monitoringSubscription :: Lens' CreateMonitoringSubscriptionResponse (Maybe MonitoringSubscription)
-- | The response's http status code.
createMonitoringSubscriptionResponse_httpStatus :: Lens' CreateMonitoringSubscriptionResponse Int
-- | Contains the origin access control.
createOriginAccessControl_originAccessControlConfig :: Lens' CreateOriginAccessControl OriginAccessControlConfig
-- | The version identifier for the current version of the origin access
-- control.
createOriginAccessControlResponse_eTag :: Lens' CreateOriginAccessControlResponse (Maybe Text)
-- | The URL of the origin access control.
createOriginAccessControlResponse_location :: Lens' CreateOriginAccessControlResponse (Maybe Text)
-- | Contains an origin access control.
createOriginAccessControlResponse_originAccessControl :: Lens' CreateOriginAccessControlResponse (Maybe OriginAccessControl)
-- | The response's http status code.
createOriginAccessControlResponse_httpStatus :: Lens' CreateOriginAccessControlResponse Int
-- | An origin request policy configuration.
createOriginRequestPolicy_originRequestPolicyConfig :: Lens' CreateOriginRequestPolicy OriginRequestPolicyConfig
-- | The current version of the origin request policy.
createOriginRequestPolicyResponse_eTag :: Lens' CreateOriginRequestPolicyResponse (Maybe Text)
-- | The fully qualified URI of the origin request policy just created.
createOriginRequestPolicyResponse_location :: Lens' CreateOriginRequestPolicyResponse (Maybe Text)
-- | An origin request policy.
createOriginRequestPolicyResponse_originRequestPolicy :: Lens' CreateOriginRequestPolicyResponse (Maybe OriginRequestPolicy)
-- | The response's http status code.
createOriginRequestPolicyResponse_httpStatus :: Lens' CreateOriginRequestPolicyResponse Int
-- | A CloudFront public key configuration.
createPublicKey_publicKeyConfig :: Lens' CreatePublicKey PublicKeyConfig
-- | The identifier for this version of the public key.
createPublicKeyResponse_eTag :: Lens' CreatePublicKeyResponse (Maybe Text)
-- | The URL of the public key.
createPublicKeyResponse_location :: Lens' CreatePublicKeyResponse (Maybe Text)
-- | The public key.
createPublicKeyResponse_publicKey :: Lens' CreatePublicKeyResponse (Maybe PublicKey)
-- | The response's http status code.
createPublicKeyResponse_httpStatus :: Lens' CreatePublicKeyResponse Int
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data.
createRealtimeLogConfig_endPoints :: Lens' CreateRealtimeLogConfig [EndPoint]
-- | A list of fields to include in each real-time log record.
--
-- For more information about fields, see Real-time log configuration
-- fields in the Amazon CloudFront Developer Guide.
createRealtimeLogConfig_fields :: Lens' CreateRealtimeLogConfig [Text]
-- | A unique name to identify this real-time log configuration.
createRealtimeLogConfig_name :: Lens' CreateRealtimeLogConfig Text
-- | The sampling rate for this real-time log configuration. The sampling
-- rate determines the percentage of viewer requests that are represented
-- in the real-time log data. You must provide an integer between 1 and
-- 100, inclusive.
createRealtimeLogConfig_samplingRate :: Lens' CreateRealtimeLogConfig Integer
-- | A real-time log configuration.
createRealtimeLogConfigResponse_realtimeLogConfig :: Lens' CreateRealtimeLogConfigResponse (Maybe RealtimeLogConfig)
-- | The response's http status code.
createRealtimeLogConfigResponse_httpStatus :: Lens' CreateRealtimeLogConfigResponse Int
-- | Contains metadata about the response headers policy, and a set of
-- configurations that specify the HTTP headers.
createResponseHeadersPolicy_responseHeadersPolicyConfig :: Lens' CreateResponseHeadersPolicy ResponseHeadersPolicyConfig
-- | The version identifier for the current version of the response headers
-- policy.
createResponseHeadersPolicyResponse_eTag :: Lens' CreateResponseHeadersPolicyResponse (Maybe Text)
-- | The URL of the response headers policy.
createResponseHeadersPolicyResponse_location :: Lens' CreateResponseHeadersPolicyResponse (Maybe Text)
-- | Contains a response headers policy.
createResponseHeadersPolicyResponse_responseHeadersPolicy :: Lens' CreateResponseHeadersPolicyResponse (Maybe ResponseHeadersPolicy)
-- | The response's http status code.
createResponseHeadersPolicyResponse_httpStatus :: Lens' CreateResponseHeadersPolicyResponse Int
-- | The streaming distribution's configuration information.
createStreamingDistribution_streamingDistributionConfig :: Lens' CreateStreamingDistribution StreamingDistributionConfig
-- | The current version of the streaming distribution created.
createStreamingDistributionResponse_eTag :: Lens' CreateStreamingDistributionResponse (Maybe Text)
-- | The fully qualified URI of the new streaming distribution resource
-- just created.
createStreamingDistributionResponse_location :: Lens' CreateStreamingDistributionResponse (Maybe Text)
-- | The streaming distribution's information.
createStreamingDistributionResponse_streamingDistribution :: Lens' CreateStreamingDistributionResponse (Maybe StreamingDistribution)
-- | The response's http status code.
createStreamingDistributionResponse_httpStatus :: Lens' CreateStreamingDistributionResponse Int
-- | The streaming distribution's configuration information.
createStreamingDistributionWithTags_streamingDistributionConfigWithTags :: Lens' CreateStreamingDistributionWithTags StreamingDistributionConfigWithTags
-- | The current version of the distribution created.
createStreamingDistributionWithTagsResponse_eTag :: Lens' CreateStreamingDistributionWithTagsResponse (Maybe Text)
-- | The fully qualified URI of the new streaming distribution resource
-- just created.
createStreamingDistributionWithTagsResponse_location :: Lens' CreateStreamingDistributionWithTagsResponse (Maybe Text)
-- | The streaming distribution's information.
createStreamingDistributionWithTagsResponse_streamingDistribution :: Lens' CreateStreamingDistributionWithTagsResponse (Maybe StreamingDistribution)
-- | The response's http status code.
createStreamingDistributionWithTagsResponse_httpStatus :: Lens' CreateStreamingDistributionWithTagsResponse Int
-- | The version of the cache policy that you are deleting. The version is
-- the cache policy's ETag value, which you can get using
-- ListCachePolicies, GetCachePolicy, or
-- GetCachePolicyConfig.
deleteCachePolicy_ifMatch :: Lens' DeleteCachePolicy (Maybe Text)
-- | The unique identifier for the cache policy that you are deleting. To
-- get the identifier, you can use ListCachePolicies.
deleteCachePolicy_id :: Lens' DeleteCachePolicy Text
-- | The value of the ETag header you received from a previous
-- GET or PUT request. For example:
-- E2QWRUHAPOMQZL.
deleteCloudFrontOriginAccessIdentity_ifMatch :: Lens' DeleteCloudFrontOriginAccessIdentity (Maybe Text)
-- | The origin access identity's ID.
deleteCloudFrontOriginAccessIdentity_id :: Lens' DeleteCloudFrontOriginAccessIdentity Text
-- | The current version (ETag value) of the continuous deployment
-- policy that you are deleting.
deleteContinuousDeploymentPolicy_ifMatch :: Lens' DeleteContinuousDeploymentPolicy (Maybe Text)
-- | The identifier of the continuous deployment policy that you are
-- deleting.
deleteContinuousDeploymentPolicy_id :: Lens' DeleteContinuousDeploymentPolicy Text
-- | The value of the ETag header that you received when you
-- disabled the distribution. For example: E2QWRUHAPOMQZL.
deleteDistribution_ifMatch :: Lens' DeleteDistribution (Maybe Text)
-- | The distribution ID.
deleteDistribution_id :: Lens' DeleteDistribution Text
-- | The value of the ETag header that you received when
-- retrieving the configuration identity to delete. For example:
-- E2QWRUHAPOMQZL.
deleteFieldLevelEncryptionConfig_ifMatch :: Lens' DeleteFieldLevelEncryptionConfig (Maybe Text)
-- | The ID of the configuration you want to delete from CloudFront.
deleteFieldLevelEncryptionConfig_id :: Lens' DeleteFieldLevelEncryptionConfig Text
-- | The value of the ETag header that you received when
-- retrieving the profile to delete. For example:
-- E2QWRUHAPOMQZL.
deleteFieldLevelEncryptionProfile_ifMatch :: Lens' DeleteFieldLevelEncryptionProfile (Maybe Text)
-- | Request the ID of the profile you want to delete from CloudFront.
deleteFieldLevelEncryptionProfile_id :: Lens' DeleteFieldLevelEncryptionProfile Text
-- | The current version (ETag value) of the function that you are
-- deleting, which you can get using DescribeFunction.
deleteFunction_ifMatch :: Lens' DeleteFunction Text
-- | The name of the function that you are deleting.
deleteFunction_name :: Lens' DeleteFunction Text
-- | The version of the key group that you are deleting. The version is the
-- key group's ETag value. To get the ETag, use
-- GetKeyGroup or GetKeyGroupConfig.
deleteKeyGroup_ifMatch :: Lens' DeleteKeyGroup (Maybe Text)
-- | The identifier of the key group that you are deleting. To get the
-- identifier, use ListKeyGroups.
deleteKeyGroup_id :: Lens' DeleteKeyGroup Text
-- | The ID of the distribution that you are disabling metrics for.
deleteMonitoringSubscription_distributionId :: Lens' DeleteMonitoringSubscription Text
-- | The response's http status code.
deleteMonitoringSubscriptionResponse_httpStatus :: Lens' DeleteMonitoringSubscriptionResponse Int
-- | The current version (ETag value) of the origin access control
-- that you are deleting.
deleteOriginAccessControl_ifMatch :: Lens' DeleteOriginAccessControl (Maybe Text)
-- | The unique identifier of the origin access control that you are
-- deleting.
deleteOriginAccessControl_id :: Lens' DeleteOriginAccessControl Text
-- | The version of the origin request policy that you are deleting. The
-- version is the origin request policy's ETag value, which you
-- can get using ListOriginRequestPolicies,
-- GetOriginRequestPolicy, or
-- GetOriginRequestPolicyConfig.
deleteOriginRequestPolicy_ifMatch :: Lens' DeleteOriginRequestPolicy (Maybe Text)
-- | The unique identifier for the origin request policy that you are
-- deleting. To get the identifier, you can use
-- ListOriginRequestPolicies.
deleteOriginRequestPolicy_id :: Lens' DeleteOriginRequestPolicy Text
-- | The value of the ETag header that you received when
-- retrieving the public key identity to delete. For example:
-- E2QWRUHAPOMQZL.
deletePublicKey_ifMatch :: Lens' DeletePublicKey (Maybe Text)
-- | The ID of the public key you want to remove from CloudFront.
deletePublicKey_id :: Lens' DeletePublicKey Text
-- | The Amazon Resource Name (ARN) of the real-time log configuration to
-- delete.
deleteRealtimeLogConfig_arn :: Lens' DeleteRealtimeLogConfig (Maybe Text)
-- | The name of the real-time log configuration to delete.
deleteRealtimeLogConfig_name :: Lens' DeleteRealtimeLogConfig (Maybe Text)
-- | The version of the response headers policy that you are deleting.
--
-- The version is the response headers policy's ETag value,
-- which you can get using ListResponseHeadersPolicies,
-- GetResponseHeadersPolicy, or
-- GetResponseHeadersPolicyConfig.
deleteResponseHeadersPolicy_ifMatch :: Lens' DeleteResponseHeadersPolicy (Maybe Text)
-- | The identifier for the response headers policy that you are deleting.
--
-- To get the identifier, you can use
-- ListResponseHeadersPolicies.
deleteResponseHeadersPolicy_id :: Lens' DeleteResponseHeadersPolicy Text
-- | The value of the ETag header that you received when you
-- disabled the streaming distribution. For example:
-- E2QWRUHAPOMQZL.
deleteStreamingDistribution_ifMatch :: Lens' DeleteStreamingDistribution (Maybe Text)
-- | The distribution ID.
deleteStreamingDistribution_id :: Lens' DeleteStreamingDistribution Text
-- | The function's stage, either DEVELOPMENT or LIVE.
describeFunction_stage :: Lens' DescribeFunction (Maybe FunctionStage)
-- | The name of the function that you are getting information about.
describeFunction_name :: Lens' DescribeFunction Text
-- | The version identifier for the current version of the CloudFront
-- function.
describeFunctionResponse_eTag :: Lens' DescribeFunctionResponse (Maybe Text)
-- | Contains configuration information and metadata about a CloudFront
-- function.
describeFunctionResponse_functionSummary :: Lens' DescribeFunctionResponse (Maybe FunctionSummary)
-- | The response's http status code.
describeFunctionResponse_httpStatus :: Lens' DescribeFunctionResponse Int
-- | The unique identifier for the cache policy. If the cache policy is
-- attached to a distribution's cache behavior, you can get the policy's
-- identifier using ListDistributions or
-- GetDistribution. If the cache policy is not attached to a
-- cache behavior, you can get the identifier using
-- ListCachePolicies.
getCachePolicy_id :: Lens' GetCachePolicy Text
-- | The cache policy.
getCachePolicyResponse_cachePolicy :: Lens' GetCachePolicyResponse (Maybe CachePolicy)
-- | The current version of the cache policy.
getCachePolicyResponse_eTag :: Lens' GetCachePolicyResponse (Maybe Text)
-- | The response's http status code.
getCachePolicyResponse_httpStatus :: Lens' GetCachePolicyResponse Int
-- | The unique identifier for the cache policy. If the cache policy is
-- attached to a distribution's cache behavior, you can get the policy's
-- identifier using ListDistributions or
-- GetDistribution. If the cache policy is not attached to a
-- cache behavior, you can get the identifier using
-- ListCachePolicies.
getCachePolicyConfig_id :: Lens' GetCachePolicyConfig Text
-- | The cache policy configuration.
getCachePolicyConfigResponse_cachePolicyConfig :: Lens' GetCachePolicyConfigResponse (Maybe CachePolicyConfig)
-- | The current version of the cache policy.
getCachePolicyConfigResponse_eTag :: Lens' GetCachePolicyConfigResponse (Maybe Text)
-- | The response's http status code.
getCachePolicyConfigResponse_httpStatus :: Lens' GetCachePolicyConfigResponse Int
-- | The identity's ID.
getCloudFrontOriginAccessIdentity_id :: Lens' GetCloudFrontOriginAccessIdentity Text
-- | The origin access identity's information.
getCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity)
-- | The current version of the origin access identity's information. For
-- example: E2QWRUHAPOMQZL.
getCloudFrontOriginAccessIdentityResponse_eTag :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe Text)
-- | The response's http status code.
getCloudFrontOriginAccessIdentityResponse_httpStatus :: Lens' GetCloudFrontOriginAccessIdentityResponse Int
-- | The identity's ID.
getCloudFrontOriginAccessIdentityConfig_id :: Lens' GetCloudFrontOriginAccessIdentityConfig Text
-- | The origin access identity's configuration information.
getCloudFrontOriginAccessIdentityConfigResponse_cloudFrontOriginAccessIdentityConfig :: Lens' GetCloudFrontOriginAccessIdentityConfigResponse (Maybe CloudFrontOriginAccessIdentityConfig)
-- | The current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
getCloudFrontOriginAccessIdentityConfigResponse_eTag :: Lens' GetCloudFrontOriginAccessIdentityConfigResponse (Maybe Text)
-- | The response's http status code.
getCloudFrontOriginAccessIdentityConfigResponse_httpStatus :: Lens' GetCloudFrontOriginAccessIdentityConfigResponse Int
-- | The identifier of the continuous deployment policy that you are
-- getting.
getContinuousDeploymentPolicy_id :: Lens' GetContinuousDeploymentPolicy Text
-- | A continuous deployment policy.
getContinuousDeploymentPolicyResponse_continuousDeploymentPolicy :: Lens' GetContinuousDeploymentPolicyResponse (Maybe ContinuousDeploymentPolicy)
-- | The version identifier for the current version of the continuous
-- deployment policy.
getContinuousDeploymentPolicyResponse_eTag :: Lens' GetContinuousDeploymentPolicyResponse (Maybe Text)
-- | The response's http status code.
getContinuousDeploymentPolicyResponse_httpStatus :: Lens' GetContinuousDeploymentPolicyResponse Int
-- | The identifier of the continuous deployment policy whose configuration
-- you are getting.
getContinuousDeploymentPolicyConfig_id :: Lens' GetContinuousDeploymentPolicyConfig Text
-- | Undocumented member.
getContinuousDeploymentPolicyConfigResponse_continuousDeploymentPolicyConfig :: Lens' GetContinuousDeploymentPolicyConfigResponse (Maybe ContinuousDeploymentPolicyConfig)
-- | The version identifier for the current version of the continuous
-- deployment policy.
getContinuousDeploymentPolicyConfigResponse_eTag :: Lens' GetContinuousDeploymentPolicyConfigResponse (Maybe Text)
-- | The response's http status code.
getContinuousDeploymentPolicyConfigResponse_httpStatus :: Lens' GetContinuousDeploymentPolicyConfigResponse Int
-- | The distribution's ID. If the ID is empty, an empty distribution
-- configuration is returned.
getDistribution_id :: Lens' GetDistribution Text
-- | The distribution's information.
getDistributionResponse_distribution :: Lens' GetDistributionResponse (Maybe Distribution)
-- | The current version of the distribution's information. For example:
-- E2QWRUHAPOMQZL.
getDistributionResponse_eTag :: Lens' GetDistributionResponse (Maybe Text)
-- | The response's http status code.
getDistributionResponse_httpStatus :: Lens' GetDistributionResponse Int
-- | The distribution's ID. If the ID is empty, an empty distribution
-- configuration is returned.
getDistributionConfig_id :: Lens' GetDistributionConfig Text
-- | The distribution's configuration information.
getDistributionConfigResponse_distributionConfig :: Lens' GetDistributionConfigResponse (Maybe DistributionConfig)
-- | The current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
getDistributionConfigResponse_eTag :: Lens' GetDistributionConfigResponse (Maybe Text)
-- | The response's http status code.
getDistributionConfigResponse_httpStatus :: Lens' GetDistributionConfigResponse Int
-- | Request the ID for the field-level encryption configuration
-- information.
getFieldLevelEncryption_id :: Lens' GetFieldLevelEncryption Text
-- | The current version of the field level encryption configuration. For
-- example: E2QWRUHAPOMQZL.
getFieldLevelEncryptionResponse_eTag :: Lens' GetFieldLevelEncryptionResponse (Maybe Text)
-- | Return the field-level encryption configuration information.
getFieldLevelEncryptionResponse_fieldLevelEncryption :: Lens' GetFieldLevelEncryptionResponse (Maybe FieldLevelEncryption)
-- | The response's http status code.
getFieldLevelEncryptionResponse_httpStatus :: Lens' GetFieldLevelEncryptionResponse Int
-- | Request the ID for the field-level encryption configuration
-- information.
getFieldLevelEncryptionConfig_id :: Lens' GetFieldLevelEncryptionConfig Text
-- | The current version of the field level encryption configuration. For
-- example: E2QWRUHAPOMQZL.
getFieldLevelEncryptionConfigResponse_eTag :: Lens' GetFieldLevelEncryptionConfigResponse (Maybe Text)
-- | Return the field-level encryption configuration information.
getFieldLevelEncryptionConfigResponse_fieldLevelEncryptionConfig :: Lens' GetFieldLevelEncryptionConfigResponse (Maybe FieldLevelEncryptionConfig)
-- | The response's http status code.
getFieldLevelEncryptionConfigResponse_httpStatus :: Lens' GetFieldLevelEncryptionConfigResponse Int
-- | Get the ID for the field-level encryption profile information.
getFieldLevelEncryptionProfile_id :: Lens' GetFieldLevelEncryptionProfile Text
-- | The current version of the field level encryption profile. For
-- example: E2QWRUHAPOMQZL.
getFieldLevelEncryptionProfileResponse_eTag :: Lens' GetFieldLevelEncryptionProfileResponse (Maybe Text)
-- | Return the field-level encryption profile information.
getFieldLevelEncryptionProfileResponse_fieldLevelEncryptionProfile :: Lens' GetFieldLevelEncryptionProfileResponse (Maybe FieldLevelEncryptionProfile)
-- | The response's http status code.
getFieldLevelEncryptionProfileResponse_httpStatus :: Lens' GetFieldLevelEncryptionProfileResponse Int
-- | Get the ID for the field-level encryption profile configuration
-- information.
getFieldLevelEncryptionProfileConfig_id :: Lens' GetFieldLevelEncryptionProfileConfig Text
-- | The current version of the field-level encryption profile
-- configuration result. For example: E2QWRUHAPOMQZL.
getFieldLevelEncryptionProfileConfigResponse_eTag :: Lens' GetFieldLevelEncryptionProfileConfigResponse (Maybe Text)
-- | Return the field-level encryption profile configuration information.
getFieldLevelEncryptionProfileConfigResponse_fieldLevelEncryptionProfileConfig :: Lens' GetFieldLevelEncryptionProfileConfigResponse (Maybe FieldLevelEncryptionProfileConfig)
-- | The response's http status code.
getFieldLevelEncryptionProfileConfigResponse_httpStatus :: Lens' GetFieldLevelEncryptionProfileConfigResponse Int
-- | The function's stage, either DEVELOPMENT or LIVE.
getFunction_stage :: Lens' GetFunction (Maybe FunctionStage)
-- | The name of the function whose code you are getting.
getFunction_name :: Lens' GetFunction Text
-- | The content type (media type) of the response.
getFunctionResponse_contentType :: Lens' GetFunctionResponse (Maybe Text)
-- | The version identifier for the current version of the CloudFront
-- function.
getFunctionResponse_eTag :: Lens' GetFunctionResponse (Maybe Text)
-- | The function code of a CloudFront function.
getFunctionResponse_functionCode :: Lens' GetFunctionResponse (Maybe ByteString)
-- | The response's http status code.
getFunctionResponse_httpStatus :: Lens' GetFunctionResponse Int
-- | The distribution's ID.
getInvalidation_distributionId :: Lens' GetInvalidation Text
-- | The identifier for the invalidation request, for example,
-- IDFDVBD632BHDS5.
getInvalidation_id :: Lens' GetInvalidation Text
-- | The invalidation's information. For more information, see
-- Invalidation Complex Type.
getInvalidationResponse_invalidation :: Lens' GetInvalidationResponse (Maybe Invalidation)
-- | The response's http status code.
getInvalidationResponse_httpStatus :: Lens' GetInvalidationResponse Int
-- | The identifier of the key group that you are getting. To get the
-- identifier, use ListKeyGroups.
getKeyGroup_id :: Lens' GetKeyGroup Text
-- | The identifier for this version of the key group.
getKeyGroupResponse_eTag :: Lens' GetKeyGroupResponse (Maybe Text)
-- | The key group.
getKeyGroupResponse_keyGroup :: Lens' GetKeyGroupResponse (Maybe KeyGroup)
-- | The response's http status code.
getKeyGroupResponse_httpStatus :: Lens' GetKeyGroupResponse Int
-- | The identifier of the key group whose configuration you are getting.
-- To get the identifier, use ListKeyGroups.
getKeyGroupConfig_id :: Lens' GetKeyGroupConfig Text
-- | The identifier for this version of the key group.
getKeyGroupConfigResponse_eTag :: Lens' GetKeyGroupConfigResponse (Maybe Text)
-- | The key group configuration.
getKeyGroupConfigResponse_keyGroupConfig :: Lens' GetKeyGroupConfigResponse (Maybe KeyGroupConfig)
-- | The response's http status code.
getKeyGroupConfigResponse_httpStatus :: Lens' GetKeyGroupConfigResponse Int
-- | The ID of the distribution that you are getting metrics information
-- for.
getMonitoringSubscription_distributionId :: Lens' GetMonitoringSubscription Text
-- | A monitoring subscription. This structure contains information about
-- whether additional CloudWatch metrics are enabled for a given
-- CloudFront distribution.
getMonitoringSubscriptionResponse_monitoringSubscription :: Lens' GetMonitoringSubscriptionResponse (Maybe MonitoringSubscription)
-- | The response's http status code.
getMonitoringSubscriptionResponse_httpStatus :: Lens' GetMonitoringSubscriptionResponse Int
-- | The unique identifier of the origin access control.
getOriginAccessControl_id :: Lens' GetOriginAccessControl Text
-- | The version identifier for the current version of the origin access
-- control.
getOriginAccessControlResponse_eTag :: Lens' GetOriginAccessControlResponse (Maybe Text)
-- | Contains an origin access control, including its unique identifier.
getOriginAccessControlResponse_originAccessControl :: Lens' GetOriginAccessControlResponse (Maybe OriginAccessControl)
-- | The response's http status code.
getOriginAccessControlResponse_httpStatus :: Lens' GetOriginAccessControlResponse Int
-- | The unique identifier of the origin access control.
getOriginAccessControlConfig_id :: Lens' GetOriginAccessControlConfig Text
-- | The version identifier for the current version of the origin access
-- control.
getOriginAccessControlConfigResponse_eTag :: Lens' GetOriginAccessControlConfigResponse (Maybe Text)
-- | Contains an origin access control configuration.
getOriginAccessControlConfigResponse_originAccessControlConfig :: Lens' GetOriginAccessControlConfigResponse (Maybe OriginAccessControlConfig)
-- | The response's http status code.
getOriginAccessControlConfigResponse_httpStatus :: Lens' GetOriginAccessControlConfigResponse Int
-- | The unique identifier for the origin request policy. If the origin
-- request policy is attached to a distribution's cache behavior, you can
-- get the policy's identifier using ListDistributions or
-- GetDistribution. If the origin request policy is not attached
-- to a cache behavior, you can get the identifier using
-- ListOriginRequestPolicies.
getOriginRequestPolicy_id :: Lens' GetOriginRequestPolicy Text
-- | The current version of the origin request policy.
getOriginRequestPolicyResponse_eTag :: Lens' GetOriginRequestPolicyResponse (Maybe Text)
-- | The origin request policy.
getOriginRequestPolicyResponse_originRequestPolicy :: Lens' GetOriginRequestPolicyResponse (Maybe OriginRequestPolicy)
-- | The response's http status code.
getOriginRequestPolicyResponse_httpStatus :: Lens' GetOriginRequestPolicyResponse Int
-- | The unique identifier for the origin request policy. If the origin
-- request policy is attached to a distribution's cache behavior, you can
-- get the policy's identifier using ListDistributions or
-- GetDistribution. If the origin request policy is not attached
-- to a cache behavior, you can get the identifier using
-- ListOriginRequestPolicies.
getOriginRequestPolicyConfig_id :: Lens' GetOriginRequestPolicyConfig Text
-- | The current version of the origin request policy.
getOriginRequestPolicyConfigResponse_eTag :: Lens' GetOriginRequestPolicyConfigResponse (Maybe Text)
-- | The origin request policy configuration.
getOriginRequestPolicyConfigResponse_originRequestPolicyConfig :: Lens' GetOriginRequestPolicyConfigResponse (Maybe OriginRequestPolicyConfig)
-- | The response's http status code.
getOriginRequestPolicyConfigResponse_httpStatus :: Lens' GetOriginRequestPolicyConfigResponse Int
-- | The identifier of the public key you are getting.
getPublicKey_id :: Lens' GetPublicKey Text
-- | The identifier for this version of the public key.
getPublicKeyResponse_eTag :: Lens' GetPublicKeyResponse (Maybe Text)
-- | The public key.
getPublicKeyResponse_publicKey :: Lens' GetPublicKeyResponse (Maybe PublicKey)
-- | The response's http status code.
getPublicKeyResponse_httpStatus :: Lens' GetPublicKeyResponse Int
-- | The identifier of the public key whose configuration you are getting.
getPublicKeyConfig_id :: Lens' GetPublicKeyConfig Text
-- | The identifier for this version of the public key configuration.
getPublicKeyConfigResponse_eTag :: Lens' GetPublicKeyConfigResponse (Maybe Text)
-- | A public key configuration.
getPublicKeyConfigResponse_publicKeyConfig :: Lens' GetPublicKeyConfigResponse (Maybe PublicKeyConfig)
-- | The response's http status code.
getPublicKeyConfigResponse_httpStatus :: Lens' GetPublicKeyConfigResponse Int
-- | The Amazon Resource Name (ARN) of the real-time log configuration to
-- get.
getRealtimeLogConfig_arn :: Lens' GetRealtimeLogConfig (Maybe Text)
-- | The name of the real-time log configuration to get.
getRealtimeLogConfig_name :: Lens' GetRealtimeLogConfig (Maybe Text)
-- | A real-time log configuration.
getRealtimeLogConfigResponse_realtimeLogConfig :: Lens' GetRealtimeLogConfigResponse (Maybe RealtimeLogConfig)
-- | The response's http status code.
getRealtimeLogConfigResponse_httpStatus :: Lens' GetRealtimeLogConfigResponse Int
-- | The identifier for the response headers policy.
--
-- If the response headers policy is attached to a distribution's cache
-- behavior, you can get the policy's identifier using
-- ListDistributions or GetDistribution. If the
-- response headers policy is not attached to a cache behavior, you can
-- get the identifier using ListResponseHeadersPolicies.
getResponseHeadersPolicy_id :: Lens' GetResponseHeadersPolicy Text
-- | The version identifier for the current version of the response headers
-- policy.
getResponseHeadersPolicyResponse_eTag :: Lens' GetResponseHeadersPolicyResponse (Maybe Text)
-- | Contains a response headers policy.
getResponseHeadersPolicyResponse_responseHeadersPolicy :: Lens' GetResponseHeadersPolicyResponse (Maybe ResponseHeadersPolicy)
-- | The response's http status code.
getResponseHeadersPolicyResponse_httpStatus :: Lens' GetResponseHeadersPolicyResponse Int
-- | The identifier for the response headers policy.
--
-- If the response headers policy is attached to a distribution's cache
-- behavior, you can get the policy's identifier using
-- ListDistributions or GetDistribution. If the
-- response headers policy is not attached to a cache behavior, you can
-- get the identifier using ListResponseHeadersPolicies.
getResponseHeadersPolicyConfig_id :: Lens' GetResponseHeadersPolicyConfig Text
-- | The version identifier for the current version of the response headers
-- policy.
getResponseHeadersPolicyConfigResponse_eTag :: Lens' GetResponseHeadersPolicyConfigResponse (Maybe Text)
-- | Contains a response headers policy.
getResponseHeadersPolicyConfigResponse_responseHeadersPolicyConfig :: Lens' GetResponseHeadersPolicyConfigResponse (Maybe ResponseHeadersPolicyConfig)
-- | The response's http status code.
getResponseHeadersPolicyConfigResponse_httpStatus :: Lens' GetResponseHeadersPolicyConfigResponse Int
-- | The streaming distribution's ID.
getStreamingDistribution_id :: Lens' GetStreamingDistribution Text
-- | The current version of the streaming distribution's information. For
-- example: E2QWRUHAPOMQZL.
getStreamingDistributionResponse_eTag :: Lens' GetStreamingDistributionResponse (Maybe Text)
-- | The streaming distribution's information.
getStreamingDistributionResponse_streamingDistribution :: Lens' GetStreamingDistributionResponse (Maybe StreamingDistribution)
-- | The response's http status code.
getStreamingDistributionResponse_httpStatus :: Lens' GetStreamingDistributionResponse Int
-- | The streaming distribution's ID.
getStreamingDistributionConfig_id :: Lens' GetStreamingDistributionConfig Text
-- | The current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
getStreamingDistributionConfigResponse_eTag :: Lens' GetStreamingDistributionConfigResponse (Maybe Text)
-- | The streaming distribution's configuration information.
getStreamingDistributionConfigResponse_streamingDistributionConfig :: Lens' GetStreamingDistributionConfigResponse (Maybe StreamingDistributionConfig)
-- | The response's http status code.
getStreamingDistributionConfigResponse_httpStatus :: Lens' GetStreamingDistributionConfigResponse Int
-- | Use this field when paginating results to indicate where to begin in
-- your list of cache policies. The response includes cache policies in
-- the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
listCachePolicies_marker :: Lens' ListCachePolicies (Maybe Text)
-- | The maximum number of cache policies that you want in the response.
listCachePolicies_maxItems :: Lens' ListCachePolicies (Maybe Text)
-- | A filter to return only the specified kinds of cache policies. Valid
-- values are:
--
--
-- - managed – Returns only the managed policies created by
-- Amazon Web Services.
-- - custom – Returns only the custom policies created in your
-- Amazon Web Services account.
--
listCachePolicies_type :: Lens' ListCachePolicies (Maybe CachePolicyType)
-- | A list of cache policies.
listCachePoliciesResponse_cachePolicyList :: Lens' ListCachePoliciesResponse (Maybe CachePolicyList)
-- | The response's http status code.
listCachePoliciesResponse_httpStatus :: Lens' ListCachePoliciesResponse Int
-- | 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).
listCloudFrontOriginAccessIdentities_marker :: Lens' ListCloudFrontOriginAccessIdentities (Maybe Text)
-- | The maximum number of origin access identities you want in the
-- response body.
listCloudFrontOriginAccessIdentities_maxItems :: Lens' ListCloudFrontOriginAccessIdentities (Maybe Text)
-- | The response's http status code.
listCloudFrontOriginAccessIdentitiesResponse_httpStatus :: Lens' ListCloudFrontOriginAccessIdentitiesResponse Int
-- | The CloudFrontOriginAccessIdentityList type.
listCloudFrontOriginAccessIdentitiesResponse_cloudFrontOriginAccessIdentityList :: Lens' ListCloudFrontOriginAccessIdentitiesResponse CloudFrontOriginAccessIdentityList
-- | Use this field when paginating results to indicate where to begin in
-- the list of conflicting aliases. The response includes conflicting
-- aliases in the list that occur after the marker. To get the next page
-- of the list, set this field's value to the value of
-- NextMarker from the current page's response.
listConflictingAliases_marker :: Lens' ListConflictingAliases (Maybe Text)
-- | The maximum number of conflicting aliases that you want in the
-- response.
listConflictingAliases_maxItems :: Lens' ListConflictingAliases (Maybe Int)
-- | The ID of a distribution in your account that has an attached SSL/TLS
-- certificate that includes the provided alias.
listConflictingAliases_distributionId :: Lens' ListConflictingAliases Text
-- | The alias (also called a CNAME) to search for conflicting aliases.
listConflictingAliases_alias :: Lens' ListConflictingAliases Text
-- | A list of conflicting aliases.
listConflictingAliasesResponse_conflictingAliasesList :: Lens' ListConflictingAliasesResponse (Maybe ConflictingAliasesList)
-- | The response's http status code.
listConflictingAliasesResponse_httpStatus :: Lens' ListConflictingAliasesResponse Int
-- | Use this field when paginating results to indicate where to begin in
-- your list of continuous deployment policies. The response includes
-- policies in the list that occur after the marker. To get the next page
-- of the list, set this field's value to the value of
-- NextMarker from the current page's response.
listContinuousDeploymentPolicies_marker :: Lens' ListContinuousDeploymentPolicies (Maybe Text)
-- | The maximum number of continuous deployment policies that you want
-- returned in the response.
listContinuousDeploymentPolicies_maxItems :: Lens' ListContinuousDeploymentPolicies (Maybe Text)
-- | A list of continuous deployment policies.
listContinuousDeploymentPoliciesResponse_continuousDeploymentPolicyList :: Lens' ListContinuousDeploymentPoliciesResponse (Maybe ContinuousDeploymentPolicyList)
-- | The response's http status code.
listContinuousDeploymentPoliciesResponse_httpStatus :: Lens' ListContinuousDeploymentPoliciesResponse Int
-- | 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).
listDistributions_marker :: Lens' ListDistributions (Maybe Text)
-- | The maximum number of distributions you want in the response body.
listDistributions_maxItems :: Lens' ListDistributions (Maybe Text)
-- | The response's http status code.
listDistributionsResponse_httpStatus :: Lens' ListDistributionsResponse Int
-- | The DistributionList type.
listDistributionsResponse_distributionList :: Lens' ListDistributionsResponse DistributionList
-- | Use this field when paginating results to indicate where to begin in
-- your list of distribution IDs. The response includes distribution IDs
-- in the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
listDistributionsByCachePolicyId_marker :: Lens' ListDistributionsByCachePolicyId (Maybe Text)
-- | The maximum number of distribution IDs that you want in the response.
listDistributionsByCachePolicyId_maxItems :: Lens' ListDistributionsByCachePolicyId (Maybe Text)
-- | The ID of the cache policy whose associated distribution IDs you want
-- to list.
listDistributionsByCachePolicyId_cachePolicyId :: Lens' ListDistributionsByCachePolicyId Text
-- | A list of distribution IDs.
listDistributionsByCachePolicyIdResponse_distributionIdList :: Lens' ListDistributionsByCachePolicyIdResponse (Maybe DistributionIdList)
-- | The response's http status code.
listDistributionsByCachePolicyIdResponse_httpStatus :: Lens' ListDistributionsByCachePolicyIdResponse Int
-- | Use this field when paginating results to indicate where to begin in
-- your list of distribution IDs. The response includes distribution IDs
-- in the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
listDistributionsByKeyGroup_marker :: Lens' ListDistributionsByKeyGroup (Maybe Text)
-- | The maximum number of distribution IDs that you want in the response.
listDistributionsByKeyGroup_maxItems :: Lens' ListDistributionsByKeyGroup (Maybe Text)
-- | The ID of the key group whose associated distribution IDs you are
-- listing.
listDistributionsByKeyGroup_keyGroupId :: Lens' ListDistributionsByKeyGroup Text
-- | Undocumented member.
listDistributionsByKeyGroupResponse_distributionIdList :: Lens' ListDistributionsByKeyGroupResponse (Maybe DistributionIdList)
-- | The response's http status code.
listDistributionsByKeyGroupResponse_httpStatus :: Lens' ListDistributionsByKeyGroupResponse Int
-- | Use this field when paginating results to indicate where to begin in
-- your list of distribution IDs. The response includes distribution IDs
-- in the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
listDistributionsByOriginRequestPolicyId_marker :: Lens' ListDistributionsByOriginRequestPolicyId (Maybe Text)
-- | The maximum number of distribution IDs that you want in the response.
listDistributionsByOriginRequestPolicyId_maxItems :: Lens' ListDistributionsByOriginRequestPolicyId (Maybe Text)
-- | The ID of the origin request policy whose associated distribution IDs
-- you want to list.
listDistributionsByOriginRequestPolicyId_originRequestPolicyId :: Lens' ListDistributionsByOriginRequestPolicyId Text
-- | A list of distribution IDs.
listDistributionsByOriginRequestPolicyIdResponse_distributionIdList :: Lens' ListDistributionsByOriginRequestPolicyIdResponse (Maybe DistributionIdList)
-- | The response's http status code.
listDistributionsByOriginRequestPolicyIdResponse_httpStatus :: Lens' ListDistributionsByOriginRequestPolicyIdResponse Int
-- | Use this field when paginating results to indicate where to begin in
-- your list of distributions. The response includes distributions in the
-- list that occur after the marker. To get the next page of the list,
-- set this field's value to the value of NextMarker from the
-- current page's response.
listDistributionsByRealtimeLogConfig_marker :: Lens' ListDistributionsByRealtimeLogConfig (Maybe Text)
-- | The maximum number of distributions that you want in the response.
listDistributionsByRealtimeLogConfig_maxItems :: Lens' ListDistributionsByRealtimeLogConfig (Maybe Text)
-- | The Amazon Resource Name (ARN) of the real-time log configuration
-- whose associated distributions you want to list.
listDistributionsByRealtimeLogConfig_realtimeLogConfigArn :: Lens' ListDistributionsByRealtimeLogConfig (Maybe Text)
-- | The name of the real-time log configuration whose associated
-- distributions you want to list.
listDistributionsByRealtimeLogConfig_realtimeLogConfigName :: Lens' ListDistributionsByRealtimeLogConfig (Maybe Text)
-- | Undocumented member.
listDistributionsByRealtimeLogConfigResponse_distributionList :: Lens' ListDistributionsByRealtimeLogConfigResponse (Maybe DistributionList)
-- | The response's http status code.
listDistributionsByRealtimeLogConfigResponse_httpStatus :: Lens' ListDistributionsByRealtimeLogConfigResponse Int
-- | Use this field when paginating results to indicate where to begin in
-- your list of distribution IDs. The response includes distribution IDs
-- in the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
listDistributionsByResponseHeadersPolicyId_marker :: Lens' ListDistributionsByResponseHeadersPolicyId (Maybe Text)
-- | The maximum number of distribution IDs that you want to get in the
-- response.
listDistributionsByResponseHeadersPolicyId_maxItems :: Lens' ListDistributionsByResponseHeadersPolicyId (Maybe Text)
-- | The ID of the response headers policy whose associated distribution
-- IDs you want to list.
listDistributionsByResponseHeadersPolicyId_responseHeadersPolicyId :: Lens' ListDistributionsByResponseHeadersPolicyId Text
-- | Undocumented member.
listDistributionsByResponseHeadersPolicyIdResponse_distributionIdList :: Lens' ListDistributionsByResponseHeadersPolicyIdResponse (Maybe DistributionIdList)
-- | The response's http status code.
listDistributionsByResponseHeadersPolicyIdResponse_httpStatus :: Lens' ListDistributionsByResponseHeadersPolicyIdResponse Int
-- | Use Marker and MaxItems to control pagination of
-- results. If you have more than MaxItems distributions that
-- satisfy the request, the response includes a NextMarker
-- element. To get the next page of results, submit another request. For
-- the value of Marker, specify the value of NextMarker
-- from the last response. (For the first request, omit Marker.)
listDistributionsByWebACLId_marker :: Lens' ListDistributionsByWebACLId (Maybe Text)
-- | The maximum number of distributions that you want CloudFront to return
-- in the response body. The maximum and default values are both 100.
listDistributionsByWebACLId_maxItems :: Lens' ListDistributionsByWebACLId (Maybe Text)
-- | The ID of the WAF web ACL that you want to list the associated
-- distributions. If you specify "null" for the ID, the request returns a
-- list of the distributions that aren't associated with a web ACL.
listDistributionsByWebACLId_webACLId :: Lens' ListDistributionsByWebACLId Text
-- | The DistributionList type.
listDistributionsByWebACLIdResponse_distributionList :: Lens' ListDistributionsByWebACLIdResponse (Maybe DistributionList)
-- | The response's http status code.
listDistributionsByWebACLIdResponse_httpStatus :: Lens' ListDistributionsByWebACLIdResponse Int
-- | Use this when paginating results to indicate where to begin in your
-- list of configurations. The results include configurations 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
-- configuration on that page).
listFieldLevelEncryptionConfigs_marker :: Lens' ListFieldLevelEncryptionConfigs (Maybe Text)
-- | The maximum number of field-level encryption configurations you want
-- in the response body.
listFieldLevelEncryptionConfigs_maxItems :: Lens' ListFieldLevelEncryptionConfigs (Maybe Text)
-- | Returns a list of all field-level encryption configurations that have
-- been created in CloudFront for this account.
listFieldLevelEncryptionConfigsResponse_fieldLevelEncryptionList :: Lens' ListFieldLevelEncryptionConfigsResponse (Maybe FieldLevelEncryptionList)
-- | The response's http status code.
listFieldLevelEncryptionConfigsResponse_httpStatus :: Lens' ListFieldLevelEncryptionConfigsResponse Int
-- | Use this when paginating results to indicate where to begin in your
-- list of profiles. The results include profiles 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 profile on
-- that page).
listFieldLevelEncryptionProfiles_marker :: Lens' ListFieldLevelEncryptionProfiles (Maybe Text)
-- | The maximum number of field-level encryption profiles you want in the
-- response body.
listFieldLevelEncryptionProfiles_maxItems :: Lens' ListFieldLevelEncryptionProfiles (Maybe Text)
-- | Returns a list of the field-level encryption profiles that have been
-- created in CloudFront for this account.
listFieldLevelEncryptionProfilesResponse_fieldLevelEncryptionProfileList :: Lens' ListFieldLevelEncryptionProfilesResponse (Maybe FieldLevelEncryptionProfileList)
-- | The response's http status code.
listFieldLevelEncryptionProfilesResponse_httpStatus :: Lens' ListFieldLevelEncryptionProfilesResponse Int
-- | Use this field when paginating results to indicate where to begin in
-- your list of functions. The response includes functions in the list
-- that occur after the marker. To get the next page of the list, set
-- this field's value to the value of NextMarker from the
-- current page's response.
listFunctions_marker :: Lens' ListFunctions (Maybe Text)
-- | The maximum number of functions that you want in the response.
listFunctions_maxItems :: Lens' ListFunctions (Maybe Text)
-- | An optional filter to return only the functions that are in the
-- specified stage, either DEVELOPMENT or LIVE.
listFunctions_stage :: Lens' ListFunctions (Maybe FunctionStage)
-- | A list of CloudFront functions.
listFunctionsResponse_functionList :: Lens' ListFunctionsResponse (Maybe FunctionList)
-- | The response's http status code.
listFunctionsResponse_httpStatus :: Lens' ListFunctionsResponse Int
-- | 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
-- 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.
listInvalidations_marker :: Lens' ListInvalidations (Maybe Text)
-- | The maximum number of invalidation batches that you want in the
-- response body.
listInvalidations_maxItems :: Lens' ListInvalidations (Maybe Text)
-- | The distribution's ID.
listInvalidations_distributionId :: Lens' ListInvalidations Text
-- | The response's http status code.
listInvalidationsResponse_httpStatus :: Lens' ListInvalidationsResponse Int
-- | Information about invalidation batches.
listInvalidationsResponse_invalidationList :: Lens' ListInvalidationsResponse InvalidationList
-- | Use this field when paginating results to indicate where to begin in
-- your list of key groups. The response includes key groups in the list
-- that occur after the marker. To get the next page of the list, set
-- this field's value to the value of NextMarker from the
-- current page's response.
listKeyGroups_marker :: Lens' ListKeyGroups (Maybe Text)
-- | The maximum number of key groups that you want in the response.
listKeyGroups_maxItems :: Lens' ListKeyGroups (Maybe Text)
-- | A list of key groups.
listKeyGroupsResponse_keyGroupList :: Lens' ListKeyGroupsResponse (Maybe KeyGroupList)
-- | The response's http status code.
listKeyGroupsResponse_httpStatus :: Lens' ListKeyGroupsResponse Int
-- | Use this field when paginating results to indicate where to begin in
-- your list of origin access controls. The response includes the items
-- in the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
listOriginAccessControls_marker :: Lens' ListOriginAccessControls (Maybe Text)
-- | The maximum number of origin access controls that you want in the
-- response.
listOriginAccessControls_maxItems :: Lens' ListOriginAccessControls (Maybe Text)
-- | A list of origin access controls.
listOriginAccessControlsResponse_originAccessControlList :: Lens' ListOriginAccessControlsResponse (Maybe OriginAccessControlList)
-- | The response's http status code.
listOriginAccessControlsResponse_httpStatus :: Lens' ListOriginAccessControlsResponse Int
-- | Use this field when paginating results to indicate where to begin in
-- your list of origin request policies. The response includes origin
-- request policies in the list that occur after the marker. To get the
-- next page of the list, set this field's value to the value of
-- NextMarker from the current page's response.
listOriginRequestPolicies_marker :: Lens' ListOriginRequestPolicies (Maybe Text)
-- | The maximum number of origin request policies that you want in the
-- response.
listOriginRequestPolicies_maxItems :: Lens' ListOriginRequestPolicies (Maybe Text)
-- | A filter to return only the specified kinds of origin request
-- policies. Valid values are:
--
--
-- - managed – Returns only the managed policies created by
-- Amazon Web Services.
-- - custom – Returns only the custom policies created in your
-- Amazon Web Services account.
--
listOriginRequestPolicies_type :: Lens' ListOriginRequestPolicies (Maybe OriginRequestPolicyType)
-- | A list of origin request policies.
listOriginRequestPoliciesResponse_originRequestPolicyList :: Lens' ListOriginRequestPoliciesResponse (Maybe OriginRequestPolicyList)
-- | The response's http status code.
listOriginRequestPoliciesResponse_httpStatus :: Lens' ListOriginRequestPoliciesResponse Int
-- | Use this when paginating results to indicate where to begin in your
-- list of public keys. The results include public keys 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 public key
-- on that page).
listPublicKeys_marker :: Lens' ListPublicKeys (Maybe Text)
-- | The maximum number of public keys you want in the response body.
listPublicKeys_maxItems :: Lens' ListPublicKeys (Maybe Text)
-- | Returns a list of all public keys that have been added to CloudFront
-- for this account.
listPublicKeysResponse_publicKeyList :: Lens' ListPublicKeysResponse (Maybe PublicKeyList)
-- | The response's http status code.
listPublicKeysResponse_httpStatus :: Lens' ListPublicKeysResponse Int
-- | Use this field when paginating results to indicate where to begin in
-- your list of real-time log configurations. The response includes
-- real-time log configurations in the list that occur after the marker.
-- To get the next page of the list, set this field's value to the value
-- of NextMarker from the current page's response.
listRealtimeLogConfigs_marker :: Lens' ListRealtimeLogConfigs (Maybe Text)
-- | The maximum number of real-time log configurations that you want in
-- the response.
listRealtimeLogConfigs_maxItems :: Lens' ListRealtimeLogConfigs (Maybe Text)
-- | A list of real-time log configurations.
listRealtimeLogConfigsResponse_realtimeLogConfigs :: Lens' ListRealtimeLogConfigsResponse (Maybe RealtimeLogConfigs)
-- | The response's http status code.
listRealtimeLogConfigsResponse_httpStatus :: Lens' ListRealtimeLogConfigsResponse Int
-- | Use this field when paginating results to indicate where to begin in
-- your list of response headers policies. The response includes response
-- headers policies in the list that occur after the marker. To get the
-- next page of the list, set this field's value to the value of
-- NextMarker from the current page's response.
listResponseHeadersPolicies_marker :: Lens' ListResponseHeadersPolicies (Maybe Text)
-- | The maximum number of response headers policies that you want to get
-- in the response.
listResponseHeadersPolicies_maxItems :: Lens' ListResponseHeadersPolicies (Maybe Text)
-- | A filter to get only the specified kind of response headers policies.
-- Valid values are:
--
--
-- - managed – Gets only the managed policies created by
-- Amazon Web Services.
-- - custom – Gets only the custom policies created in your
-- Amazon Web Services account.
--
listResponseHeadersPolicies_type :: Lens' ListResponseHeadersPolicies (Maybe ResponseHeadersPolicyType)
-- | A list of response headers policies.
listResponseHeadersPoliciesResponse_responseHeadersPolicyList :: Lens' ListResponseHeadersPoliciesResponse (Maybe ResponseHeadersPolicyList)
-- | The response's http status code.
listResponseHeadersPoliciesResponse_httpStatus :: Lens' ListResponseHeadersPoliciesResponse Int
-- | The value that you provided for the Marker request parameter.
listStreamingDistributions_marker :: Lens' ListStreamingDistributions (Maybe Text)
-- | The value that you provided for the MaxItems request
-- parameter.
listStreamingDistributions_maxItems :: Lens' ListStreamingDistributions (Maybe Text)
-- | The response's http status code.
listStreamingDistributionsResponse_httpStatus :: Lens' ListStreamingDistributionsResponse Int
-- | The StreamingDistributionList type.
listStreamingDistributionsResponse_streamingDistributionList :: Lens' ListStreamingDistributionsResponse StreamingDistributionList
-- | An ARN of a CloudFront resource.
listTagsForResource_resource :: Lens' ListTagsForResource Text
-- | The response's http status code.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
-- | A complex type that contains zero or more Tag elements.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse Tags
-- | The name of the function that you are publishing.
publishFunction_name :: Lens' PublishFunction Text
-- | The current version (ETag value) of the function that you are
-- publishing, which you can get using DescribeFunction.
publishFunction_ifMatch :: Lens' PublishFunction Text
-- | Contains configuration information and metadata about a CloudFront
-- function.
publishFunctionResponse_functionSummary :: Lens' PublishFunctionResponse (Maybe FunctionSummary)
-- | The response's http status code.
publishFunctionResponse_httpStatus :: Lens' PublishFunctionResponse Int
-- | An ARN of a CloudFront resource.
tagResource_resource :: Lens' TagResource Text
-- | A complex type that contains zero or more Tag elements.
tagResource_tags :: Lens' TagResource Tags
-- | The stage of the function that you are testing, either
-- DEVELOPMENT or LIVE.
testFunction_stage :: Lens' TestFunction (Maybe FunctionStage)
-- | The name of the function that you are testing.
testFunction_name :: Lens' TestFunction Text
-- | The current version (ETag value) of the function that you are
-- testing, which you can get using DescribeFunction.
testFunction_ifMatch :: Lens' TestFunction Text
-- | The event object to test the function with. For more information about
-- the structure of the event object, see Testing functions in the
-- Amazon CloudFront Developer Guide.-- -- Note: This
-- Lens automatically encodes and decodes Base64 data. -- The
-- underlying isomorphism will encode to Base64 representation during --
-- serialisation, and decode from Base64 representation during
-- deserialisation. -- This Lens accepts and returns only raw
-- unencoded data.
testFunction_eventObject :: Lens' TestFunction ByteString
-- | An object that represents the result of running the function with the
-- provided event object.
testFunctionResponse_testResult :: Lens' TestFunctionResponse (Maybe TestResult)
-- | The response's http status code.
testFunctionResponse_httpStatus :: Lens' TestFunctionResponse Int
-- | An ARN of a CloudFront resource.
untagResource_resource :: Lens' UntagResource Text
-- | A complex type that contains zero or more Tag key elements.
untagResource_tagKeys :: Lens' UntagResource TagKeys
-- | The version of the cache policy that you are updating. The version is
-- returned in the cache policy's ETag field in the response to
-- GetCachePolicyConfig.
updateCachePolicy_ifMatch :: Lens' UpdateCachePolicy (Maybe Text)
-- | A cache policy configuration.
updateCachePolicy_cachePolicyConfig :: Lens' UpdateCachePolicy CachePolicyConfig
-- | The unique identifier for the cache policy that you are updating. The
-- identifier is returned in a cache behavior's CachePolicyId
-- field in the response to GetDistributionConfig.
updateCachePolicy_id :: Lens' UpdateCachePolicy Text
-- | A cache policy.
updateCachePolicyResponse_cachePolicy :: Lens' UpdateCachePolicyResponse (Maybe CachePolicy)
-- | The current version of the cache policy.
updateCachePolicyResponse_eTag :: Lens' UpdateCachePolicyResponse (Maybe Text)
-- | The response's http status code.
updateCachePolicyResponse_httpStatus :: Lens' UpdateCachePolicyResponse Int
-- | The value of the ETag header that you received when
-- retrieving the identity's configuration. For example:
-- E2QWRUHAPOMQZL.
updateCloudFrontOriginAccessIdentity_ifMatch :: Lens' UpdateCloudFrontOriginAccessIdentity (Maybe Text)
-- | The identity's configuration information.
updateCloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig :: Lens' UpdateCloudFrontOriginAccessIdentity CloudFrontOriginAccessIdentityConfig
-- | The identity's id.
updateCloudFrontOriginAccessIdentity_id :: Lens' UpdateCloudFrontOriginAccessIdentity Text
-- | The origin access identity's information.
updateCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity)
-- | The current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
updateCloudFrontOriginAccessIdentityResponse_eTag :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe Text)
-- | The response's http status code.
updateCloudFrontOriginAccessIdentityResponse_httpStatus :: Lens' UpdateCloudFrontOriginAccessIdentityResponse Int
-- | The current version (ETag value) of the continuous deployment
-- policy that you are updating.
updateContinuousDeploymentPolicy_ifMatch :: Lens' UpdateContinuousDeploymentPolicy (Maybe Text)
-- | The continuous deployment policy configuration.
updateContinuousDeploymentPolicy_continuousDeploymentPolicyConfig :: Lens' UpdateContinuousDeploymentPolicy ContinuousDeploymentPolicyConfig
-- | The identifier of the continuous deployment policy that you are
-- updating.
updateContinuousDeploymentPolicy_id :: Lens' UpdateContinuousDeploymentPolicy Text
-- | A continuous deployment policy.
updateContinuousDeploymentPolicyResponse_continuousDeploymentPolicy :: Lens' UpdateContinuousDeploymentPolicyResponse (Maybe ContinuousDeploymentPolicy)
-- | The version identifier for the current version of the continuous
-- deployment policy.
updateContinuousDeploymentPolicyResponse_eTag :: Lens' UpdateContinuousDeploymentPolicyResponse (Maybe Text)
-- | The response's http status code.
updateContinuousDeploymentPolicyResponse_httpStatus :: Lens' UpdateContinuousDeploymentPolicyResponse Int
-- | The value of the ETag header that you received when
-- retrieving the distribution's configuration. For example:
-- E2QWRUHAPOMQZL.
updateDistribution_ifMatch :: Lens' UpdateDistribution (Maybe Text)
-- | The distribution's configuration information.
updateDistribution_distributionConfig :: Lens' UpdateDistribution DistributionConfig
-- | The distribution's id.
updateDistribution_id :: Lens' UpdateDistribution Text
-- | The distribution's information.
updateDistributionResponse_distribution :: Lens' UpdateDistributionResponse (Maybe Distribution)
-- | The current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
updateDistributionResponse_eTag :: Lens' UpdateDistributionResponse (Maybe Text)
-- | The response's http status code.
updateDistributionResponse_httpStatus :: Lens' UpdateDistributionResponse Int
-- | The current versions (ETag values) of both primary and
-- staging distributions. Provide these in the following format:
--
--
-- <primary ETag>, <staging ETag>
--
updateDistributionWithStagingConfig_ifMatch :: Lens' UpdateDistributionWithStagingConfig (Maybe Text)
-- | The identifier of the staging distribution whose configuration you are
-- copying to the primary distribution.
updateDistributionWithStagingConfig_stagingDistributionId :: Lens' UpdateDistributionWithStagingConfig (Maybe Text)
-- | The identifier of the primary distribution to which you are copying a
-- staging distribution's configuration.
updateDistributionWithStagingConfig_id :: Lens' UpdateDistributionWithStagingConfig Text
-- | Undocumented member.
updateDistributionWithStagingConfigResponse_distribution :: Lens' UpdateDistributionWithStagingConfigResponse (Maybe Distribution)
-- | The current version of the primary distribution (after it's updated).
updateDistributionWithStagingConfigResponse_eTag :: Lens' UpdateDistributionWithStagingConfigResponse (Maybe Text)
-- | The response's http status code.
updateDistributionWithStagingConfigResponse_httpStatus :: Lens' UpdateDistributionWithStagingConfigResponse Int
-- | The value of the ETag header that you received when
-- retrieving the configuration identity to update. For example:
-- E2QWRUHAPOMQZL.
updateFieldLevelEncryptionConfig_ifMatch :: Lens' UpdateFieldLevelEncryptionConfig (Maybe Text)
-- | Request to update a field-level encryption configuration.
updateFieldLevelEncryptionConfig_fieldLevelEncryptionConfig :: Lens' UpdateFieldLevelEncryptionConfig FieldLevelEncryptionConfig
-- | The ID of the configuration you want to update.
updateFieldLevelEncryptionConfig_id :: Lens' UpdateFieldLevelEncryptionConfig Text
-- | The value of the ETag header that you received when updating
-- the configuration. For example: E2QWRUHAPOMQZL.
updateFieldLevelEncryptionConfigResponse_eTag :: Lens' UpdateFieldLevelEncryptionConfigResponse (Maybe Text)
-- | Return the results of updating the configuration.
updateFieldLevelEncryptionConfigResponse_fieldLevelEncryption :: Lens' UpdateFieldLevelEncryptionConfigResponse (Maybe FieldLevelEncryption)
-- | The response's http status code.
updateFieldLevelEncryptionConfigResponse_httpStatus :: Lens' UpdateFieldLevelEncryptionConfigResponse Int
-- | The value of the ETag header that you received when
-- retrieving the profile identity to update. For example:
-- E2QWRUHAPOMQZL.
updateFieldLevelEncryptionProfile_ifMatch :: Lens' UpdateFieldLevelEncryptionProfile (Maybe Text)
-- | Request to update a field-level encryption profile.
updateFieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig :: Lens' UpdateFieldLevelEncryptionProfile FieldLevelEncryptionProfileConfig
-- | The ID of the field-level encryption profile request.
updateFieldLevelEncryptionProfile_id :: Lens' UpdateFieldLevelEncryptionProfile Text
-- | The result of the field-level encryption profile request.
updateFieldLevelEncryptionProfileResponse_eTag :: Lens' UpdateFieldLevelEncryptionProfileResponse (Maybe Text)
-- | Return the results of updating the profile.
updateFieldLevelEncryptionProfileResponse_fieldLevelEncryptionProfile :: Lens' UpdateFieldLevelEncryptionProfileResponse (Maybe FieldLevelEncryptionProfile)
-- | The response's http status code.
updateFieldLevelEncryptionProfileResponse_httpStatus :: Lens' UpdateFieldLevelEncryptionProfileResponse Int
-- | The current version (ETag value) of the function that you are
-- updating, which you can get using DescribeFunction.
updateFunction_ifMatch :: Lens' UpdateFunction Text
-- | Configuration information about the function.
updateFunction_functionConfig :: Lens' UpdateFunction FunctionConfig
-- | The function code. For more information about writing a CloudFront
-- function, see Writing function code for CloudFront Functions in
-- the Amazon CloudFront Developer Guide.-- -- Note: This
-- Lens automatically encodes and decodes Base64 data. -- The
-- underlying isomorphism will encode to Base64 representation during --
-- serialisation, and decode from Base64 representation during
-- deserialisation. -- This Lens accepts and returns only raw
-- unencoded data.
updateFunction_functionCode :: Lens' UpdateFunction ByteString
-- | The name of the function that you are updating.
updateFunction_name :: Lens' UpdateFunction Text
-- | The version identifier for the current version of the CloudFront
-- function.
updateFunctionResponse_eTag :: Lens' UpdateFunctionResponse (Maybe Text)
-- | Contains configuration information and metadata about a CloudFront
-- function.
updateFunctionResponse_functionSummary :: Lens' UpdateFunctionResponse (Maybe FunctionSummary)
-- | The response's http status code.
updateFunctionResponse_httpStatus :: Lens' UpdateFunctionResponse Int
-- | The version of the key group that you are updating. The version is the
-- key group's ETag value.
updateKeyGroup_ifMatch :: Lens' UpdateKeyGroup (Maybe Text)
-- | The key group configuration.
updateKeyGroup_keyGroupConfig :: Lens' UpdateKeyGroup KeyGroupConfig
-- | The identifier of the key group that you are updating.
updateKeyGroup_id :: Lens' UpdateKeyGroup Text
-- | The identifier for this version of the key group.
updateKeyGroupResponse_eTag :: Lens' UpdateKeyGroupResponse (Maybe Text)
-- | The key group that was just updated.
updateKeyGroupResponse_keyGroup :: Lens' UpdateKeyGroupResponse (Maybe KeyGroup)
-- | The response's http status code.
updateKeyGroupResponse_httpStatus :: Lens' UpdateKeyGroupResponse Int
-- | The current version (ETag value) of the origin access control
-- that you are updating.
updateOriginAccessControl_ifMatch :: Lens' UpdateOriginAccessControl (Maybe Text)
-- | An origin access control.
updateOriginAccessControl_originAccessControlConfig :: Lens' UpdateOriginAccessControl OriginAccessControlConfig
-- | The unique identifier of the origin access control that you are
-- updating.
updateOriginAccessControl_id :: Lens' UpdateOriginAccessControl Text
-- | The new version of the origin access control after it has been
-- updated.
updateOriginAccessControlResponse_eTag :: Lens' UpdateOriginAccessControlResponse (Maybe Text)
-- | The origin access control after it has been updated.
updateOriginAccessControlResponse_originAccessControl :: Lens' UpdateOriginAccessControlResponse (Maybe OriginAccessControl)
-- | The response's http status code.
updateOriginAccessControlResponse_httpStatus :: Lens' UpdateOriginAccessControlResponse Int
-- | The version of the origin request policy that you are updating. The
-- version is returned in the origin request policy's ETag field
-- in the response to GetOriginRequestPolicyConfig.
updateOriginRequestPolicy_ifMatch :: Lens' UpdateOriginRequestPolicy (Maybe Text)
-- | An origin request policy configuration.
updateOriginRequestPolicy_originRequestPolicyConfig :: Lens' UpdateOriginRequestPolicy OriginRequestPolicyConfig
-- | The unique identifier for the origin request policy that you are
-- updating. The identifier is returned in a cache behavior's
-- OriginRequestPolicyId field in the response to
-- GetDistributionConfig.
updateOriginRequestPolicy_id :: Lens' UpdateOriginRequestPolicy Text
-- | The current version of the origin request policy.
updateOriginRequestPolicyResponse_eTag :: Lens' UpdateOriginRequestPolicyResponse (Maybe Text)
-- | An origin request policy.
updateOriginRequestPolicyResponse_originRequestPolicy :: Lens' UpdateOriginRequestPolicyResponse (Maybe OriginRequestPolicy)
-- | The response's http status code.
updateOriginRequestPolicyResponse_httpStatus :: Lens' UpdateOriginRequestPolicyResponse Int
-- | The value of the ETag header that you received when
-- retrieving the public key to update. For example:
-- E2QWRUHAPOMQZL.
updatePublicKey_ifMatch :: Lens' UpdatePublicKey (Maybe Text)
-- | A public key configuration.
updatePublicKey_publicKeyConfig :: Lens' UpdatePublicKey PublicKeyConfig
-- | The identifier of the public key that you are updating.
updatePublicKey_id :: Lens' UpdatePublicKey Text
-- | The identifier of the current version of the public key.
updatePublicKeyResponse_eTag :: Lens' UpdatePublicKeyResponse (Maybe Text)
-- | The public key.
updatePublicKeyResponse_publicKey :: Lens' UpdatePublicKeyResponse (Maybe PublicKey)
-- | The response's http status code.
updatePublicKeyResponse_httpStatus :: Lens' UpdatePublicKeyResponse Int
-- | The Amazon Resource Name (ARN) for this real-time log configuration.
updateRealtimeLogConfig_arn :: Lens' UpdateRealtimeLogConfig (Maybe Text)
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data.
updateRealtimeLogConfig_endPoints :: Lens' UpdateRealtimeLogConfig (Maybe [EndPoint])
-- | A list of fields to include in each real-time log record.
--
-- For more information about fields, see Real-time log configuration
-- fields in the Amazon CloudFront Developer Guide.
updateRealtimeLogConfig_fields :: Lens' UpdateRealtimeLogConfig (Maybe [Text])
-- | The name for this real-time log configuration.
updateRealtimeLogConfig_name :: Lens' UpdateRealtimeLogConfig (Maybe Text)
-- | The sampling rate for this real-time log configuration. The sampling
-- rate determines the percentage of viewer requests that are represented
-- in the real-time log data. You must provide an integer between 1 and
-- 100, inclusive.
updateRealtimeLogConfig_samplingRate :: Lens' UpdateRealtimeLogConfig (Maybe Integer)
-- | A real-time log configuration.
updateRealtimeLogConfigResponse_realtimeLogConfig :: Lens' UpdateRealtimeLogConfigResponse (Maybe RealtimeLogConfig)
-- | The response's http status code.
updateRealtimeLogConfigResponse_httpStatus :: Lens' UpdateRealtimeLogConfigResponse Int
-- | The version of the response headers policy that you are updating.
--
-- The version is returned in the cache policy's ETag field in
-- the response to GetResponseHeadersPolicyConfig.
updateResponseHeadersPolicy_ifMatch :: Lens' UpdateResponseHeadersPolicy (Maybe Text)
-- | A response headers policy configuration.
updateResponseHeadersPolicy_responseHeadersPolicyConfig :: Lens' UpdateResponseHeadersPolicy ResponseHeadersPolicyConfig
-- | The identifier for the response headers policy that you are updating.
updateResponseHeadersPolicy_id :: Lens' UpdateResponseHeadersPolicy Text
-- | The current version of the response headers policy.
updateResponseHeadersPolicyResponse_eTag :: Lens' UpdateResponseHeadersPolicyResponse (Maybe Text)
-- | A response headers policy.
updateResponseHeadersPolicyResponse_responseHeadersPolicy :: Lens' UpdateResponseHeadersPolicyResponse (Maybe ResponseHeadersPolicy)
-- | The response's http status code.
updateResponseHeadersPolicyResponse_httpStatus :: Lens' UpdateResponseHeadersPolicyResponse Int
-- | The value of the ETag header that you received when
-- retrieving the streaming distribution's configuration. For example:
-- E2QWRUHAPOMQZL.
updateStreamingDistribution_ifMatch :: Lens' UpdateStreamingDistribution (Maybe Text)
-- | The streaming distribution's configuration information.
updateStreamingDistribution_streamingDistributionConfig :: Lens' UpdateStreamingDistribution StreamingDistributionConfig
-- | The streaming distribution's id.
updateStreamingDistribution_id :: Lens' UpdateStreamingDistribution Text
-- | The current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
updateStreamingDistributionResponse_eTag :: Lens' UpdateStreamingDistributionResponse (Maybe Text)
-- | The streaming distribution's information.
updateStreamingDistributionResponse_streamingDistribution :: Lens' UpdateStreamingDistributionResponse (Maybe StreamingDistribution)
-- | The response's http status code.
updateStreamingDistributionResponse_httpStatus :: Lens' UpdateStreamingDistributionResponse Int
-- | A list of key groups, including the identifiers of the public keys in
-- each key group that CloudFront can use to verify the signatures of
-- signed URLs and signed cookies.
activeTrustedKeyGroups_items :: Lens' ActiveTrustedKeyGroups (Maybe [KGKeyPairIds])
-- | This field is true if any of the key groups have public keys
-- that CloudFront can use to verify the signatures of signed URLs and
-- signed cookies. If not, this field is false.
activeTrustedKeyGroups_enabled :: Lens' ActiveTrustedKeyGroups Bool
-- | The number of key groups in the list.
activeTrustedKeyGroups_quantity :: Lens' ActiveTrustedKeyGroups Int
-- | A list of Amazon Web Services accounts and the identifiers of active
-- CloudFront key pairs in each account that CloudFront can use to verify
-- the signatures of signed URLs and signed cookies.
activeTrustedSigners_items :: Lens' ActiveTrustedSigners (Maybe [Signer])
-- | This field is true if any of the Amazon Web Services accounts
-- in the list have active CloudFront key pairs that CloudFront can use
-- to verify the signatures of signed URLs and signed cookies. If not,
-- this field is false.
activeTrustedSigners_enabled :: Lens' ActiveTrustedSigners Bool
-- | The number of Amazon Web Services accounts in the list.
activeTrustedSigners_quantity :: Lens' ActiveTrustedSigners Int
-- | A domain name associated with a distribution.
aliasICPRecordal_cname :: Lens' AliasICPRecordal (Maybe Text)
-- | The Internet Content Provider (ICP) recordal status for a CNAME. The
-- ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in
-- regions outside of China.
--
-- The status values returned are the following:
--
--
-- - APPROVED indicates that the associated CNAME has a valid
-- ICP recordal number. Multiple CNAMEs can be associated with a
-- distribution, and CNAMEs can correspond to different ICP recordals. To
-- be marked as APPROVED, that is, valid to use with China region, a
-- CNAME must have one ICP recordal number associated with it.
-- - SUSPENDED indicates that the associated CNAME does not have
-- a valid ICP recordal number.
-- - PENDING indicates that CloudFront can't determine the ICP
-- recordal status of the CNAME associated with the distribution because
-- there was an error in trying to determine the status. You can try
-- again to see if the error is resolved in which case CloudFront returns
-- an APPROVED or SUSPENDED status.
--
aliasICPRecordal_iCPRecordalStatus :: Lens' AliasICPRecordal (Maybe ICPRecordalStatus)
-- | A complex type that contains the CNAME aliases, if any, that you want
-- to associate with this distribution.
aliases_items :: Lens' Aliases (Maybe [Text])
-- | The number of CNAME aliases, if any, that you want to associate with
-- this distribution.
aliases_quantity :: Lens' Aliases Int
-- | Undocumented member.
allowedMethods_cachedMethods :: Lens' AllowedMethods (Maybe CachedMethods)
-- | The number of HTTP methods that you want CloudFront to forward to your
-- origin. Valid values are 2 (for GET and HEAD
-- requests), 3 (for GET, HEAD, and OPTIONS
-- requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST,
-- and DELETE requests).
allowedMethods_quantity :: Lens' AllowedMethods Int
-- | A complex type that contains the HTTP methods that you want CloudFront
-- to process and forward to your origin.
allowedMethods_items :: Lens' AllowedMethods [Method]
-- | Undocumented member.
cacheBehavior_allowedMethods :: Lens' CacheBehavior (Maybe AllowedMethods)
-- | The unique identifier of the cache policy that is attached to this
-- cache behavior. For more information, see Creating cache
-- policies or Using the managed cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- A CacheBehavior must include either a CachePolicyId
-- or ForwardedValues. We recommend that you use a
-- CachePolicyId.
cacheBehavior_cachePolicyId :: Lens' CacheBehavior (Maybe Text)
-- | Whether you want CloudFront to automatically compress certain files
-- for this cache behavior. If so, specify true; if not, specify false.
-- For more information, see Serving Compressed Files in the
-- Amazon CloudFront Developer Guide.
cacheBehavior_compress :: Lens' CacheBehavior (Maybe Bool)
-- | This field is deprecated. We recommend that you use the
-- DefaultTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The default amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin does not add HTTP headers such
-- as Cache-Control max-age, Cache-Control s-maxage,
-- and Expires to objects. For more information, see Managing
-- How Long Content Stays in an Edge Cache (Expiration) in the
-- Amazon CloudFront Developer Guide.
cacheBehavior_defaultTTL :: Lens' CacheBehavior (Maybe Integer)
-- | The value of ID for the field-level encryption configuration
-- that you want CloudFront to use for encrypting specific fields of data
-- for this cache behavior.
cacheBehavior_fieldLevelEncryptionId :: Lens' CacheBehavior (Maybe Text)
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field. For more information,
-- see Working with policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to include values in the cache key, use a cache policy.
-- For more information, see Creating cache policies or Using
-- the managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to send values to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies or Using the managed origin
-- request policies in the Amazon CloudFront Developer Guide.
--
-- A CacheBehavior must include either a CachePolicyId
-- or ForwardedValues. We recommend that you use a
-- CachePolicyId.
--
-- A complex type that specifies how CloudFront handles query strings,
-- cookies, and HTTP headers.
cacheBehavior_forwardedValues :: Lens' CacheBehavior (Maybe ForwardedValues)
-- | A list of CloudFront functions that are associated with this cache
-- behavior. CloudFront functions must be published to the LIVE
-- stage to associate them with a cache behavior.
cacheBehavior_functionAssociations :: Lens' CacheBehavior (Maybe FunctionAssociations)
-- | A complex type that contains zero or more Lambda@Edge function
-- associations for a cache behavior.
cacheBehavior_lambdaFunctionAssociations :: Lens' CacheBehavior (Maybe LambdaFunctionAssociations)
-- | This field is deprecated. We recommend that you use the
-- MaxTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The maximum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin adds HTTP headers such as
-- Cache-Control max-age, Cache-Control s-maxage, and
-- Expires to objects. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
cacheBehavior_maxTTL :: Lens' CacheBehavior (Maybe Integer)
-- | This field is deprecated. We recommend that you use the
-- MinTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The minimum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
--
-- You must specify 0 for MinTTL if you configure
-- CloudFront to forward all headers to your origin (under
-- Headers, if you specify 1 for Quantity and
-- * for Name).
cacheBehavior_minTTL :: Lens' CacheBehavior (Maybe Integer)
-- | The unique identifier of the origin request policy that is attached to
-- this cache behavior. For more information, see Creating origin
-- request policies or Using the managed origin request
-- policies in the Amazon CloudFront Developer Guide.
cacheBehavior_originRequestPolicyId :: Lens' CacheBehavior (Maybe Text)
-- | The Amazon Resource Name (ARN) of the real-time log configuration that
-- is attached to this cache behavior. For more information, see
-- Real-time logs in the Amazon CloudFront Developer Guide.
cacheBehavior_realtimeLogConfigArn :: Lens' CacheBehavior (Maybe Text)
-- | The identifier for a response headers policy.
cacheBehavior_responseHeadersPolicyId :: Lens' CacheBehavior (Maybe Text)
-- | Indicates whether you want to distribute media files in the Microsoft
-- Smooth Streaming format using the origin that is associated with this
-- cache behavior. If so, specify true; if not, specify
-- false. If you specify true for
-- SmoothStreaming, you can still distribute other content using
-- this cache behavior if the content matches the value of
-- PathPattern.
cacheBehavior_smoothStreaming :: Lens' CacheBehavior (Maybe Bool)
-- | A list of key groups that CloudFront can use to validate signed URLs
-- or signed cookies.
--
-- When a cache behavior contains trusted key groups, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with a private key whose
-- corresponding public key is in the key group. The signed URL or cookie
-- contains information about which public key CloudFront should use to
-- verify the signature. For more information, see Serving private
-- content in the Amazon CloudFront Developer Guide.
cacheBehavior_trustedKeyGroups :: Lens' CacheBehavior (Maybe TrustedKeyGroups)
-- | We recommend using TrustedKeyGroups instead of
-- TrustedSigners.
--
-- A list of Amazon Web Services account IDs whose public keys CloudFront
-- can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted signers, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with the private key of a
-- CloudFront key pair in the trusted signer's Amazon Web Services
-- account. The signed URL or cookie contains information about which
-- public key CloudFront should use to verify the signature. For more
-- information, see Serving private content in the Amazon
-- CloudFront Developer Guide.
cacheBehavior_trustedSigners :: Lens' CacheBehavior (Maybe TrustedSigners)
-- | The pattern (for example, images/*.jpg) that specifies which
-- requests to apply the behavior to. When CloudFront receives a viewer
-- request, the requested path is compared with path patterns in the
-- order in which cache behaviors are listed in the distribution.
--
-- You can optionally include a slash (/) at the beginning of
-- the path pattern. For example, /images/*.jpg. CloudFront
-- behavior is the same with or without the leading /.
--
-- The path pattern for the default cache behavior is * and
-- cannot be changed. If the request for an object does not match the
-- path pattern for any cache behaviors, CloudFront applies the behavior
-- in the default cache behavior.
--
-- For more information, see Path Pattern in the Amazon
-- CloudFront Developer Guide.
cacheBehavior_pathPattern :: Lens' CacheBehavior Text
-- | The value of ID for the origin that you want CloudFront to
-- route requests to when they match this cache behavior.
cacheBehavior_targetOriginId :: Lens' CacheBehavior Text
-- | The protocol that viewers can use to access the files in the origin
-- specified by TargetOriginId when a request matches the path
-- pattern in PathPattern. You can specify the following
-- options:
--
--
-- - allow-all: Viewers can use HTTP or HTTPS.
-- - redirect-to-https: If a viewer submits an HTTP request,
-- CloudFront returns an HTTP status code of 301 (Moved Permanently) to
-- the viewer along with the HTTPS URL. The viewer then resubmits the
-- request using the new URL.
-- - https-only: If a viewer sends an HTTP request, CloudFront
-- returns an HTTP status code of 403 (Forbidden).
--
--
-- For more information about requiring the HTTPS protocol, see
-- Requiring HTTPS Between Viewers and CloudFront in the Amazon
-- CloudFront Developer Guide.
--
-- The only way to guarantee that viewers retrieve an object that was
-- fetched from the origin using HTTPS is never to use any other protocol
-- to fetch the object. If you have recently changed from HTTP to HTTPS,
-- we recommend that you clear your objects' cache because cached objects
-- are protocol agnostic. That means that an edge location will return an
-- object from the cache regardless of whether the current request
-- protocol matches the protocol used previously. For more information,
-- see Managing Cache Expiration in the Amazon CloudFront
-- Developer Guide.
cacheBehavior_viewerProtocolPolicy :: Lens' CacheBehavior ViewerProtocolPolicy
-- | Optional: A complex type that contains cache behaviors for this
-- distribution. If Quantity is 0, you can omit
-- Items.
cacheBehaviors_items :: Lens' CacheBehaviors (Maybe [CacheBehavior])
-- | The number of cache behaviors for this distribution.
cacheBehaviors_quantity :: Lens' CacheBehaviors Int
-- | The unique identifier for the cache policy.
cachePolicy_id :: Lens' CachePolicy Text
-- | The date and time when the cache policy was last modified.
cachePolicy_lastModifiedTime :: Lens' CachePolicy UTCTime
-- | The cache policy configuration.
cachePolicy_cachePolicyConfig :: Lens' CachePolicy CachePolicyConfig
-- | A comment to describe the cache policy. The comment cannot be longer
-- than 128 characters.
cachePolicyConfig_comment :: Lens' CachePolicyConfig (Maybe Text)
-- | The default amount of time, in seconds, that you want objects to stay
-- in the CloudFront cache before CloudFront sends another request to the
-- origin to see if the object has been updated. CloudFront uses this
-- value as the object's time to live (TTL) only when the origin does
-- not send Cache-Control or Expires headers
-- with the object. For more information, see Managing How Long
-- Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
--
-- The default value for this field is 86400 seconds (one day). If the
-- value of MinTTL is more than 86400 seconds, then the default
-- value for this field is the same as the value of MinTTL.
cachePolicyConfig_defaultTTL :: Lens' CachePolicyConfig (Maybe Integer)
-- | The maximum amount of time, in seconds, that objects stay in the
-- CloudFront cache before CloudFront sends another request to the origin
-- to see if the object has been updated. CloudFront uses this value only
-- when the origin sends Cache-Control or Expires
-- headers with the object. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
--
-- The default value for this field is 31536000 seconds (one year). If
-- the value of MinTTL or DefaultTTL is more than
-- 31536000 seconds, then the default value for this field is the same as
-- the value of DefaultTTL.
cachePolicyConfig_maxTTL :: Lens' CachePolicyConfig (Maybe Integer)
-- | The HTTP headers, cookies, and URL query strings to include in the
-- cache key. The values included in the cache key are automatically
-- included in requests that CloudFront sends to the origin.
cachePolicyConfig_parametersInCacheKeyAndForwardedToOrigin :: Lens' CachePolicyConfig (Maybe ParametersInCacheKeyAndForwardedToOrigin)
-- | A unique name to identify the cache policy.
cachePolicyConfig_name :: Lens' CachePolicyConfig Text
-- | The minimum amount of time, in seconds, that you want objects to stay
-- in the CloudFront cache before CloudFront sends another request to the
-- origin to see if the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
cachePolicyConfig_minTTL :: Lens' CachePolicyConfig Integer
-- | Undocumented member.
cachePolicyCookiesConfig_cookies :: Lens' CachePolicyCookiesConfig (Maybe CookieNames)
-- | Determines whether any cookies in viewer requests are included in the
-- cache key and automatically included in requests that CloudFront sends
-- to the origin. Valid values are:
--
--
-- - none – Cookies in viewer requests are not included in the
-- cache key and are not automatically included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any cookies that are listed in an
-- OriginRequestPolicy are included in origin
-- requests.
-- - whitelist – The cookies in viewer requests that are
-- listed in the CookieNames type are included in the cache key
-- and automatically included in requests that CloudFront sends to the
-- origin.
-- - allExcept – All cookies in viewer requests that are
-- not listed in the CookieNames type are included
-- in the cache key and automatically included in requests that
-- CloudFront sends to the origin.
-- - all – All cookies in viewer requests are included in the
-- cache key and are automatically included in requests that CloudFront
-- sends to the origin.
--
cachePolicyCookiesConfig_cookieBehavior :: Lens' CachePolicyCookiesConfig CachePolicyCookieBehavior
-- | Undocumented member.
cachePolicyHeadersConfig_headers :: Lens' CachePolicyHeadersConfig (Maybe Headers)
-- | Determines whether any HTTP headers are included in the cache key and
-- automatically included in requests that CloudFront sends to the
-- origin. Valid values are:
--
--
-- - none – HTTP headers are not included in the cache key and
-- are not automatically included in requests that CloudFront sends to
-- the origin. Even when this field is set to none, any headers
-- that are listed in an OriginRequestPolicy are included
-- in origin requests.
-- - whitelist – The HTTP headers that are listed in the
-- Headers type are included in the cache key and are
-- automatically included in requests that CloudFront sends to the
-- origin.
--
cachePolicyHeadersConfig_headerBehavior :: Lens' CachePolicyHeadersConfig CachePolicyHeaderBehavior
-- | Contains the cache policies in the list.
cachePolicyList_items :: Lens' CachePolicyList (Maybe [CachePolicySummary])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- cache policies where you left off.
cachePolicyList_nextMarker :: Lens' CachePolicyList (Maybe Text)
-- | The maximum number of cache policies requested.
cachePolicyList_maxItems :: Lens' CachePolicyList Int
-- | The total number of cache policies returned in the response.
cachePolicyList_quantity :: Lens' CachePolicyList Int
-- | Contains the specific query strings in viewer requests that either
-- are or are not included in the cache key
-- and automatically included in requests that CloudFront sends to the
-- origin. The behavior depends on whether the
-- QueryStringBehavior field in the
-- CachePolicyQueryStringsConfig type is set to
-- whitelist (the listed query strings are
-- included) or allExcept (the listed query strings are
-- not included, but all other query strings are).
cachePolicyQueryStringsConfig_queryStrings :: Lens' CachePolicyQueryStringsConfig (Maybe QueryStringNames)
-- | Determines whether any URL query strings in viewer requests are
-- included in the cache key and automatically included in requests that
-- CloudFront sends to the origin. Valid values are:
--
--
-- - none – Query strings in viewer requests are not included
-- in the cache key and are not automatically included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any query strings that are listed in an
-- OriginRequestPolicy are included in origin
-- requests.
-- - whitelist – The query strings in viewer requests that are
-- listed in the QueryStringNames type are included in the cache
-- key and automatically included in requests that CloudFront sends to
-- the origin.
-- - allExcept – All query strings in viewer requests that are
-- not listed in the QueryStringNames type are
-- included in the cache key and automatically included in requests that
-- CloudFront sends to the origin.
-- - all – All query strings in viewer requests are included
-- in the cache key and are automatically included in requests that
-- CloudFront sends to the origin.
--
cachePolicyQueryStringsConfig_queryStringBehavior :: Lens' CachePolicyQueryStringsConfig CachePolicyQueryStringBehavior
-- | The type of cache policy, either managed (created by Amazon
-- Web Services) or custom (created in this Amazon Web Services
-- account).
cachePolicySummary_type :: Lens' CachePolicySummary CachePolicyType
-- | The cache policy.
cachePolicySummary_cachePolicy :: Lens' CachePolicySummary CachePolicy
-- | The number of HTTP methods for which you want CloudFront to cache
-- responses. Valid values are 2 (for caching responses to
-- GET and HEAD requests) and 3 (for caching
-- responses to GET, HEAD, and OPTIONS
-- requests).
cachedMethods_quantity :: Lens' CachedMethods Int
-- | A complex type that contains the HTTP methods that you want CloudFront
-- to cache responses to.
cachedMethods_items :: Lens' CachedMethods [Method]
-- | The current configuration information for the identity.
cloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig :: Lens' CloudFrontOriginAccessIdentity (Maybe CloudFrontOriginAccessIdentityConfig)
-- | The ID for the origin access identity, for example,
-- E74FTE3AJFJ256A.
cloudFrontOriginAccessIdentity_id :: Lens' CloudFrontOriginAccessIdentity Text
-- | The Amazon S3 canonical user ID for the origin access identity, used
-- when giving the origin access identity read permission to an object in
-- Amazon S3.
cloudFrontOriginAccessIdentity_s3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentity Text
-- | A unique value (for example, a date-time stamp) that ensures that the
-- request can't be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the CloudFrontOriginAccessIdentityConfig object),
-- a new origin access identity is created.
--
-- If the CallerReference is a value already sent in a previous
-- identity request, and the content of the
-- CloudFrontOriginAccessIdentityConfig is identical to the
-- original request (ignoring white space), the response includes the
-- same information returned to the original request.
--
-- If the CallerReference is a value you already sent in a
-- previous request to create an identity, but the content of the
-- CloudFrontOriginAccessIdentityConfig is different from the
-- original request, CloudFront returns a
-- CloudFrontOriginAccessIdentityAlreadyExists error.
cloudFrontOriginAccessIdentityConfig_callerReference :: Lens' CloudFrontOriginAccessIdentityConfig Text
-- | A comment to describe the origin access identity. The comment cannot
-- be longer than 128 characters.
cloudFrontOriginAccessIdentityConfig_comment :: Lens' CloudFrontOriginAccessIdentityConfig Text
-- | A complex type that contains one
-- CloudFrontOriginAccessIdentitySummary element for each origin
-- access identity that was created by the current Amazon Web Services
-- account.
cloudFrontOriginAccessIdentityList_items :: Lens' CloudFrontOriginAccessIdentityList (Maybe [CloudFrontOriginAccessIdentitySummary])
-- | 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.
cloudFrontOriginAccessIdentityList_nextMarker :: Lens' CloudFrontOriginAccessIdentityList (Maybe Text)
-- | Use this when paginating results to indicate where to begin in your
-- list of origin access identities. The results include identities in
-- the list that occur after the marker. To get the next page of results,
-- set the Marker to the value of the NextMarker from
-- the current page's response (which is also the ID of the last identity
-- on that page).
cloudFrontOriginAccessIdentityList_marker :: Lens' CloudFrontOriginAccessIdentityList Text
-- | The maximum number of origin access identities you want in the
-- response body.
cloudFrontOriginAccessIdentityList_maxItems :: Lens' CloudFrontOriginAccessIdentityList Int
-- | 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.
cloudFrontOriginAccessIdentityList_isTruncated :: Lens' CloudFrontOriginAccessIdentityList Bool
-- | The number of CloudFront origin access identities that were created by
-- the current Amazon Web Services account.
cloudFrontOriginAccessIdentityList_quantity :: Lens' CloudFrontOriginAccessIdentityList Int
-- | The ID for the origin access identity. For example:
-- E74FTE3AJFJ256A.
cloudFrontOriginAccessIdentitySummary_id :: 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.
cloudFrontOriginAccessIdentitySummary_s3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentitySummary Text
-- | The comment for this origin access identity, as originally specified
-- when created.
cloudFrontOriginAccessIdentitySummary_comment :: Lens' CloudFrontOriginAccessIdentitySummary Text
-- | The (partially hidden) ID of the Amazon Web Services account that owns
-- the distribution that's associated with the alias.
conflictingAlias_accountId :: Lens' ConflictingAlias (Maybe Text)
-- | An alias (also called a CNAME).
conflictingAlias_alias :: Lens' ConflictingAlias (Maybe Text)
-- | The (partially hidden) ID of the CloudFront distribution associated
-- with the alias.
conflictingAlias_distributionId :: Lens' ConflictingAlias (Maybe Text)
-- | Contains the conflicting aliases in the list.
conflictingAliasesList_items :: Lens' ConflictingAliasesList (Maybe [ConflictingAlias])
-- | The maximum number of conflicting aliases requested.
conflictingAliasesList_maxItems :: Lens' ConflictingAliasesList (Maybe Int)
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- conflicting aliases where you left off.
conflictingAliasesList_nextMarker :: Lens' ConflictingAliasesList (Maybe Text)
-- | The number of conflicting aliases returned in the response.
conflictingAliasesList_quantity :: Lens' ConflictingAliasesList (Maybe Int)
-- | The profile ID for a field-level encryption content type-profile
-- mapping.
contentTypeProfile_profileId :: Lens' ContentTypeProfile (Maybe Text)
-- | The format for a field-level encryption content type-profile mapping.
contentTypeProfile_format :: Lens' ContentTypeProfile Format
-- | The content type for a field-level encryption content type-profile
-- mapping.
contentTypeProfile_contentType :: Lens' ContentTypeProfile Text
-- | The configuration for a field-level encryption content type-profile.
contentTypeProfileConfig_contentTypeProfiles :: Lens' ContentTypeProfileConfig (Maybe ContentTypeProfiles)
-- | The setting in a field-level encryption content type-profile mapping
-- that specifies what to do when an unknown content type is provided for
-- the profile. If true, content is forwarded without being encrypted
-- when the content type is unknown. If false (the default), an error is
-- returned when the content type is unknown.
contentTypeProfileConfig_forwardWhenContentTypeIsUnknown :: Lens' ContentTypeProfileConfig Bool
-- | Items in a field-level encryption content type-profile mapping.
contentTypeProfiles_items :: Lens' ContentTypeProfiles (Maybe [ContentTypeProfile])
-- | The number of field-level encryption content type-profile mappings.
contentTypeProfiles_quantity :: Lens' ContentTypeProfiles Int
-- | The identifier of the continuous deployment policy.
continuousDeploymentPolicy_id :: Lens' ContinuousDeploymentPolicy Text
-- | The date and time the continuous deployment policy was last modified.
continuousDeploymentPolicy_lastModifiedTime :: Lens' ContinuousDeploymentPolicy UTCTime
-- | Undocumented member.
continuousDeploymentPolicy_continuousDeploymentPolicyConfig :: Lens' ContinuousDeploymentPolicy ContinuousDeploymentPolicyConfig
-- | Contains the parameters for routing production traffic from your
-- primary to staging distributions.
continuousDeploymentPolicyConfig_trafficConfig :: Lens' ContinuousDeploymentPolicyConfig (Maybe TrafficConfig)
-- | The CloudFront domain name of the staging distribution. For example:
-- d111111abcdef8.cloudfront.net.
continuousDeploymentPolicyConfig_stagingDistributionDnsNames :: Lens' ContinuousDeploymentPolicyConfig StagingDistributionDnsNames
-- | A Boolean that indicates whether this continuous deployment policy is
-- enabled (in effect). When this value is true, this policy is
-- enabled and in effect. When this value is false, this policy
-- is not enabled and has no effect.
continuousDeploymentPolicyConfig_enabled :: Lens' ContinuousDeploymentPolicyConfig Bool
-- | A list of continuous deployment policy items.
continuousDeploymentPolicyList_items :: Lens' ContinuousDeploymentPolicyList (Maybe [ContinuousDeploymentPolicySummary])
-- | Indicates the next page of continuous deployment policies. To get the
-- next page of the list, use this value in the Marker field of
-- your request.
continuousDeploymentPolicyList_nextMarker :: Lens' ContinuousDeploymentPolicyList (Maybe Text)
-- | The maximum number of continuous deployment policies that were
-- specified in your request.
continuousDeploymentPolicyList_maxItems :: Lens' ContinuousDeploymentPolicyList Int
-- | The total number of continuous deployment policies in your Amazon Web
-- Services account, regardless of the MaxItems value.
continuousDeploymentPolicyList_quantity :: Lens' ContinuousDeploymentPolicyList Int
-- | The continuous deployment policy.
continuousDeploymentPolicySummary_continuousDeploymentPolicy :: Lens' ContinuousDeploymentPolicySummary ContinuousDeploymentPolicy
-- | The request header name that you want CloudFront to send to your
-- staging distribution. The header must contain the prefix
-- aws-cf-cd-.
continuousDeploymentSingleHeaderConfig_header :: Lens' ContinuousDeploymentSingleHeaderConfig Text
-- | The request header value.
continuousDeploymentSingleHeaderConfig_value :: Lens' ContinuousDeploymentSingleHeaderConfig Text
-- | Undocumented member.
continuousDeploymentSingleWeightConfig_sessionStickinessConfig :: Lens' ContinuousDeploymentSingleWeightConfig (Maybe SessionStickinessConfig)
-- | The percentage of traffic to send to a staging distribution, expressed
-- as a decimal number between 0 and .15.
continuousDeploymentSingleWeightConfig_weight :: Lens' ContinuousDeploymentSingleWeightConfig Double
-- | A list of cookie names.
cookieNames_items :: Lens' CookieNames (Maybe [Text])
-- | The number of cookie names in the Items list.
cookieNames_quantity :: Lens' CookieNames Int
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- Required if you specify whitelist for the value of
-- Forward. A complex type that specifies how many different
-- cookies you want CloudFront to forward to the origin for this cache
-- behavior and, if you want to forward selected cookies, the names of
-- those cookies.
--
-- If you specify all or none for the value of
-- Forward, omit WhitelistedNames. If you change the
-- value of Forward from whitelist to all or
-- none and you don't delete the WhitelistedNames
-- element and its child elements, CloudFront deletes them automatically.
--
-- For the current limit on the number of cookie names that you can
-- whitelist for each cache behavior, see CloudFront Limits in the
-- Amazon Web Services General Reference.
cookiePreference_whitelistedNames :: Lens' CookiePreference (Maybe CookieNames)
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- Specifies which cookies to forward to the origin for this cache
-- behavior: all, none, or the list of cookies specified in the
-- WhitelistedNames complex type.
--
-- Amazon S3 doesn't process cookies. When the cache behavior is
-- forwarding requests to an Amazon S3 origin, specify none for the
-- Forward element.
cookiePreference_forward :: Lens' CookiePreference ItemSelection
-- | The minimum amount of time, in seconds, that you want CloudFront to
-- cache the HTTP status code specified in ErrorCode. When this
-- time period has elapsed, CloudFront queries your origin to see whether
-- the problem that caused the error has been resolved and the requested
-- object is now available.
--
-- For more information, see Customizing Error Responses in the
-- Amazon CloudFront Developer Guide.
customErrorResponse_errorCachingMinTTL :: Lens' CustomErrorResponse (Maybe Integer)
-- | The HTTP status code that you want CloudFront to return to the viewer
-- along with the custom error page. There are a variety of reasons that
-- you might want CloudFront to return a status code different from the
-- status code that your origin returned to CloudFront, for example:
--
--
-- - Some Internet devices (some firewalls and corporate proxies, for
-- example) intercept HTTP 4xx and 5xx and prevent the response from
-- being returned to the viewer. If you substitute 200, the
-- response typically won't be intercepted.
-- - If you don't care about distinguishing among different client
-- errors or server errors, you can specify 400 or 500
-- as the ResponseCode for all 4xx or 5xx errors.
-- - You might want to return a 200 status code (OK) and
-- static website so your customers don't know that your website is
-- down.
--
--
-- If you specify a value for ResponseCode, you must also
-- specify a value for ResponsePagePath.
customErrorResponse_responseCode :: Lens' CustomErrorResponse (Maybe Text)
-- | The path to the custom error page that you want CloudFront to return
-- to a viewer when your origin returns the HTTP status code specified by
-- ErrorCode, for example,
-- /4xx-errors/403-forbidden.html. If you want to store your
-- objects and your custom error pages in different locations, your
-- distribution must include a cache behavior for which the following is
-- true:
--
--
-- - The value of PathPattern matches the path to your custom
-- error messages. For example, suppose you saved custom error pages for
-- 4xx errors in an Amazon S3 bucket in a directory named
-- /4xx-errors. Your distribution must include a cache behavior
-- for which the path pattern routes requests for your custom error pages
-- to that location, for example, /4xx-errors/*.
-- - The value of TargetOriginId specifies the value of the
-- ID element for the origin that contains your custom error
-- pages.
--
--
-- If you specify a value for ResponsePagePath, you must also
-- specify a value for ResponseCode.
--
-- We recommend that you store custom error pages in an Amazon S3 bucket.
-- If you store custom error pages on an HTTP server and the server
-- starts to return 5xx errors, CloudFront can't get the files that you
-- want to return to viewers because the origin server is unavailable.
customErrorResponse_responsePagePath :: Lens' CustomErrorResponse (Maybe Text)
-- | The HTTP status code for which you want to specify a custom error page
-- and/or a caching duration.
customErrorResponse_errorCode :: Lens' CustomErrorResponse Int
-- | A complex type that contains a CustomErrorResponse element
-- for each HTTP status code for which you want to specify a custom error
-- page and/or a caching duration.
customErrorResponses_items :: Lens' CustomErrorResponses (Maybe [CustomErrorResponse])
-- | The number of HTTP status codes for which you want to specify a custom
-- error page and/or a caching duration. If Quantity is
-- 0, you can omit Items.
customErrorResponses_quantity :: Lens' CustomErrorResponses Int
-- | Optional: A list that contains one OriginCustomHeader
-- element for each custom header that you want CloudFront to forward to
-- the origin. If Quantity is 0, omit Items.
customHeaders_items :: Lens' CustomHeaders (Maybe [OriginCustomHeader])
-- | The number of custom headers, if any, for this distribution.
customHeaders_quantity :: Lens' CustomHeaders Int
-- | Specifies how long, in seconds, CloudFront persists its connection to
-- the origin. The minimum timeout is 1 second, the maximum is 60
-- seconds, and the default (if you don't specify otherwise) is 5
-- seconds.
--
-- For more information, see Origin Keep-alive Timeout in the
-- Amazon CloudFront Developer Guide.
customOriginConfig_originKeepaliveTimeout :: Lens' CustomOriginConfig (Maybe Int)
-- | Specifies how long, in seconds, CloudFront waits for a response from
-- the origin. This is also known as the origin response timeout.
-- The minimum timeout is 1 second, the maximum is 60 seconds, and the
-- default (if you don't specify otherwise) is 30 seconds.
--
-- For more information, see Origin Response Timeout in the
-- Amazon CloudFront Developer Guide.
customOriginConfig_originReadTimeout :: Lens' CustomOriginConfig (Maybe Int)
-- | Specifies the minimum SSL/TLS protocol that CloudFront uses when
-- connecting to your origin over HTTPS. Valid values include
-- SSLv3, TLSv1, TLSv1.1, and
-- TLSv1.2.
--
-- For more information, see Minimum Origin SSL Protocol in the
-- Amazon CloudFront Developer Guide.
customOriginConfig_originSslProtocols :: Lens' CustomOriginConfig (Maybe OriginSslProtocols)
-- | The HTTP port that CloudFront uses to connect to the origin. Specify
-- the HTTP port that the origin listens on.
customOriginConfig_hTTPPort :: Lens' CustomOriginConfig Int
-- | The HTTPS port that CloudFront uses to connect to the origin. Specify
-- the HTTPS port that the origin listens on.
customOriginConfig_hTTPSPort :: Lens' CustomOriginConfig Int
-- | Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect
-- to the origin. Valid values are:
--
--
-- - http-only – CloudFront always uses HTTP to connect to the
-- origin.
-- - match-viewer – CloudFront connects to the origin using
-- the same protocol that the viewer used to connect to CloudFront.
-- - https-only – CloudFront always uses HTTPS to connect to
-- the origin.
--
customOriginConfig_originProtocolPolicy :: Lens' CustomOriginConfig OriginProtocolPolicy
-- | Undocumented member.
defaultCacheBehavior_allowedMethods :: Lens' DefaultCacheBehavior (Maybe AllowedMethods)
-- | The unique identifier of the cache policy that is attached to the
-- default cache behavior. For more information, see Creating cache
-- policies or Using the managed cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- A DefaultCacheBehavior must include either a
-- CachePolicyId or ForwardedValues. We recommend that
-- you use a CachePolicyId.
defaultCacheBehavior_cachePolicyId :: Lens' DefaultCacheBehavior (Maybe Text)
-- | Whether you want CloudFront to automatically compress certain files
-- for this cache behavior. If so, specify true; if not, specify
-- false. For more information, see Serving Compressed
-- Files in the Amazon CloudFront Developer Guide.
defaultCacheBehavior_compress :: Lens' DefaultCacheBehavior (Maybe Bool)
-- | This field is deprecated. We recommend that you use the
-- DefaultTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The default amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin does not add HTTP headers such
-- as Cache-Control max-age, Cache-Control s-maxage,
-- and Expires to objects. For more information, see Managing
-- How Long Content Stays in an Edge Cache (Expiration) in the
-- Amazon CloudFront Developer Guide.
defaultCacheBehavior_defaultTTL :: Lens' DefaultCacheBehavior (Maybe Integer)
-- | The value of ID for the field-level encryption configuration
-- that you want CloudFront to use for encrypting specific fields of data
-- for the default cache behavior.
defaultCacheBehavior_fieldLevelEncryptionId :: Lens' DefaultCacheBehavior (Maybe Text)
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field. For more information,
-- see Working with policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to include values in the cache key, use a cache policy.
-- For more information, see Creating cache policies or Using
-- the managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to send values to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies or Using the managed origin
-- request policies in the Amazon CloudFront Developer Guide.
--
-- A DefaultCacheBehavior must include either a
-- CachePolicyId or ForwardedValues. We recommend that
-- you use a CachePolicyId.
--
-- A complex type that specifies how CloudFront handles query strings,
-- cookies, and HTTP headers.
defaultCacheBehavior_forwardedValues :: Lens' DefaultCacheBehavior (Maybe ForwardedValues)
-- | A list of CloudFront functions that are associated with this cache
-- behavior. CloudFront functions must be published to the LIVE
-- stage to associate them with a cache behavior.
defaultCacheBehavior_functionAssociations :: Lens' DefaultCacheBehavior (Maybe FunctionAssociations)
-- | A complex type that contains zero or more Lambda@Edge function
-- associations for a cache behavior.
defaultCacheBehavior_lambdaFunctionAssociations :: Lens' DefaultCacheBehavior (Maybe LambdaFunctionAssociations)
-- | This field is deprecated. We recommend that you use the
-- MaxTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The maximum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin adds HTTP headers such as
-- Cache-Control max-age, Cache-Control s-maxage, and
-- Expires to objects. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
defaultCacheBehavior_maxTTL :: Lens' DefaultCacheBehavior (Maybe Integer)
-- | This field is deprecated. We recommend that you use the
-- MinTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The minimum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
--
-- You must specify 0 for MinTTL if you configure
-- CloudFront to forward all headers to your origin (under
-- Headers, if you specify 1 for Quantity and
-- * for Name).
defaultCacheBehavior_minTTL :: Lens' DefaultCacheBehavior (Maybe Integer)
-- | The unique identifier of the origin request policy that is attached to
-- the default cache behavior. For more information, see Creating
-- origin request policies or Using the managed origin request
-- policies in the Amazon CloudFront Developer Guide.
defaultCacheBehavior_originRequestPolicyId :: Lens' DefaultCacheBehavior (Maybe Text)
-- | The Amazon Resource Name (ARN) of the real-time log configuration that
-- is attached to this cache behavior. For more information, see
-- Real-time logs in the Amazon CloudFront Developer Guide.
defaultCacheBehavior_realtimeLogConfigArn :: Lens' DefaultCacheBehavior (Maybe Text)
-- | The identifier for a response headers policy.
defaultCacheBehavior_responseHeadersPolicyId :: Lens' DefaultCacheBehavior (Maybe Text)
-- | Indicates whether you want to distribute media files in the Microsoft
-- Smooth Streaming format using the origin that is associated with this
-- cache behavior. If so, specify true; if not, specify
-- false. If you specify true for
-- SmoothStreaming, you can still distribute other content using
-- this cache behavior if the content matches the value of
-- PathPattern.
defaultCacheBehavior_smoothStreaming :: Lens' DefaultCacheBehavior (Maybe Bool)
-- | A list of key groups that CloudFront can use to validate signed URLs
-- or signed cookies.
--
-- When a cache behavior contains trusted key groups, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with a private key whose
-- corresponding public key is in the key group. The signed URL or cookie
-- contains information about which public key CloudFront should use to
-- verify the signature. For more information, see Serving private
-- content in the Amazon CloudFront Developer Guide.
defaultCacheBehavior_trustedKeyGroups :: Lens' DefaultCacheBehavior (Maybe TrustedKeyGroups)
-- | We recommend using TrustedKeyGroups instead of
-- TrustedSigners.
--
-- A list of Amazon Web Services account IDs whose public keys CloudFront
-- can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted signers, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with the private key of a
-- CloudFront key pair in a trusted signer's Amazon Web Services account.
-- The signed URL or cookie contains information about which public key
-- CloudFront should use to verify the signature. For more information,
-- see Serving private content in the Amazon CloudFront
-- Developer Guide.
defaultCacheBehavior_trustedSigners :: Lens' DefaultCacheBehavior (Maybe TrustedSigners)
-- | The value of ID for the origin that you want CloudFront to
-- route requests to when they use the default cache behavior.
defaultCacheBehavior_targetOriginId :: Lens' DefaultCacheBehavior Text
-- | The protocol that viewers can use to access the files in the origin
-- specified by TargetOriginId when a request matches the path
-- pattern in PathPattern. You can specify the following
-- options:
--
--
-- - allow-all: Viewers can use HTTP or HTTPS.
-- - redirect-to-https: If a viewer submits an HTTP request,
-- CloudFront returns an HTTP status code of 301 (Moved Permanently) to
-- the viewer along with the HTTPS URL. The viewer then resubmits the
-- request using the new URL.
-- - https-only: If a viewer sends an HTTP request, CloudFront
-- returns an HTTP status code of 403 (Forbidden).
--
--
-- For more information about requiring the HTTPS protocol, see
-- Requiring HTTPS Between Viewers and CloudFront in the Amazon
-- CloudFront Developer Guide.
--
-- The only way to guarantee that viewers retrieve an object that was
-- fetched from the origin using HTTPS is never to use any other protocol
-- to fetch the object. If you have recently changed from HTTP to HTTPS,
-- we recommend that you clear your objects' cache because cached objects
-- are protocol agnostic. That means that an edge location will return an
-- object from the cache regardless of whether the current request
-- protocol matches the protocol used previously. For more information,
-- see Managing Cache Expiration in the Amazon CloudFront
-- Developer Guide.
defaultCacheBehavior_viewerProtocolPolicy :: Lens' DefaultCacheBehavior ViewerProtocolPolicy
-- | This field contains a list of key groups and the public keys in each
-- key group that CloudFront can use to verify the signatures of signed
-- URLs or signed cookies.
distribution_activeTrustedKeyGroups :: Lens' Distribution (Maybe ActiveTrustedKeyGroups)
-- | We recommend using TrustedKeyGroups instead of
-- TrustedSigners.
--
-- This field contains a list of Amazon Web Services account IDs and the
-- active CloudFront key pairs in each account that CloudFront can use to
-- verify the signatures of signed URLs or signed cookies.
distribution_activeTrustedSigners :: Lens' Distribution (Maybe ActiveTrustedSigners)
-- | Amazon Web Services services in China customers must file for an
-- Internet Content Provider (ICP) recordal if they want to serve content
-- publicly on an alternate domain name, also known as a CNAME, that
-- they've added to CloudFront. AliasICPRecordal provides the ICP
-- recordal status for CNAMEs associated with distributions.
--
-- For more information about ICP recordals, see Signup, Accounts, and
-- Credentials in Getting Started with Amazon Web Services
-- services in China.
distribution_aliasICPRecordals :: Lens' Distribution (Maybe [AliasICPRecordal])
-- | The distribution's identifier. For example: E1U5RQF7T870K0.
distribution_id :: Lens' Distribution Text
-- | The distribution's Amazon Resource Name (ARN).
distribution_arn :: Lens' Distribution Text
-- | The distribution's status. When the status is Deployed, the
-- distribution's information is fully propagated to all CloudFront edge
-- locations.
distribution_status :: Lens' Distribution Text
-- | The date and time when the distribution was last modified.
distribution_lastModifiedTime :: Lens' Distribution UTCTime
-- | The number of invalidation batches currently in progress.
distribution_inProgressInvalidationBatches :: Lens' Distribution Int
-- | The distribution's CloudFront domain name. For example:
-- d111111abcdef8.cloudfront.net.
distribution_domainName :: Lens' Distribution Text
-- | The distribution's configuration.
distribution_distributionConfig :: Lens' Distribution DistributionConfig
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this distribution.
distributionConfig_aliases :: Lens' DistributionConfig (Maybe Aliases)
-- | A complex type that contains zero or more CacheBehavior
-- elements.
distributionConfig_cacheBehaviors :: Lens' DistributionConfig (Maybe CacheBehaviors)
-- | The identifier of a continuous deployment policy. For more
-- information, see CreateContinuousDeploymentPolicy.
distributionConfig_continuousDeploymentPolicyId :: Lens' DistributionConfig (Maybe Text)
-- | A complex type that controls the following:
--
--
-- - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx
-- range with custom error messages before returning the response to the
-- viewer.
-- - How long CloudFront caches HTTP status codes in the 4xx and 5xx
-- range.
--
--
-- For more information about custom error pages, see Customizing
-- Error Responses in the Amazon CloudFront Developer Guide.
distributionConfig_customErrorResponses :: Lens' DistributionConfig (Maybe CustomErrorResponses)
-- | The object that you want CloudFront to request from your origin (for
-- example, index.html) when a viewer requests the root URL for
-- your distribution (https://www.example.com) instead of an
-- object in your distribution
-- (https://www.example.com/product-description.html).
-- Specifying a default root object avoids exposing the contents of your
-- distribution.
--
-- Specify only the object name, for example, index.html. Don't
-- add a / before the object name.
--
-- If you don't want to specify a default root object when you create a
-- distribution, include an empty DefaultRootObject element.
--
-- To delete the default root object from an existing distribution,
-- update the distribution configuration and include an empty
-- DefaultRootObject element.
--
-- To replace the default root object, update the distribution
-- configuration and specify the new object.
--
-- For more information about the default root object, see Creating a
-- Default Root Object in the Amazon CloudFront Developer
-- Guide.
distributionConfig_defaultRootObject :: Lens' DistributionConfig (Maybe Text)
-- | (Optional) Specify the maximum HTTP version(s) that you want viewers
-- to use to communicate with CloudFront. The default value for new web
-- distributions is http2. Viewers that don't support HTTP/2
-- automatically use an earlier HTTP version.
--
-- For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2
-- or later, and must support Server Name Indication (SNI).
--
-- For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3
-- and Server Name Indication (SNI). CloudFront supports HTTP/3
-- connection migration to allow the viewer to switch networks without
-- losing connection. For more information about connection migration,
-- see Connection Migration at RFC 9000. For more information
-- about supported TLSv1.3 ciphers, see Supported protocols and
-- ciphers between viewers and CloudFront.
distributionConfig_httpVersion :: Lens' DistributionConfig (Maybe HttpVersion)
-- | If you want CloudFront to respond to IPv6 DNS requests with an IPv6
-- address for your distribution, specify true. If you specify
-- false, CloudFront responds to IPv6 DNS requests with the DNS
-- response code NOERROR and with no IP addresses. This allows
-- viewers to submit a second request, for an IPv4 address for your
-- distribution.
--
-- In general, you should enable IPv6 if you have users on IPv6 networks
-- who want to access your content. However, if you're using signed URLs
-- or signed cookies to restrict access to your content, and if you're
-- using a custom policy that includes the IpAddress parameter
-- to restrict the IP addresses that can access your content, don't
-- enable IPv6. If you want to restrict access to some content by IP
-- address and not restrict access to other content (or restrict access
-- but not by IP address), you can create two distributions. For more
-- information, see Creating a Signed URL Using a Custom Policy in
-- the Amazon CloudFront Developer Guide.
--
-- If you're using an Route 53 Amazon Web Services Integration alias
-- resource record set to route traffic to your CloudFront distribution,
-- you need to create a second alias resource record set when both of the
-- following are true:
--
--
-- - You enable IPv6 for the distribution
-- - You're using alternate domain names in the URLs for your
-- objects
--
--
-- For more information, see Routing Traffic to an Amazon CloudFront
-- Web Distribution by Using Your Domain Name in the Route 53
-- Amazon Web Services Integration Developer Guide.
--
-- If you created a CNAME resource record set, either with Route 53
-- Amazon Web Services Integration or with another DNS service, you don't
-- need to make any changes. A CNAME record will route traffic to your
-- distribution regardless of the IP address format of the viewer
-- request.
distributionConfig_isIPV6Enabled :: Lens' DistributionConfig (Maybe Bool)
-- | A complex type that controls whether access logs are written for the
-- distribution.
--
-- For more information about logging, see Access Logs in the
-- Amazon CloudFront Developer Guide.
distributionConfig_logging :: Lens' DistributionConfig (Maybe LoggingConfig)
-- | A complex type that contains information about origin groups for this
-- distribution.
distributionConfig_originGroups :: Lens' DistributionConfig (Maybe OriginGroups)
-- | The price class that corresponds with the maximum price that you want
-- to pay for CloudFront service. If you specify PriceClass_All,
-- CloudFront responds to requests for your objects from all CloudFront
-- edge locations.
--
-- If you specify a price class other than PriceClass_All,
-- CloudFront serves your objects from the CloudFront edge location that
-- has the lowest latency among the edge locations in your price class.
-- Viewers who are in or near regions that are excluded from your
-- specified price class may encounter slower performance.
--
-- For more information about price classes, see Choosing the Price
-- Class for a CloudFront Distribution in the Amazon CloudFront
-- Developer Guide. For information about CloudFront pricing,
-- including how price classes (such as Price Class 100) map to
-- CloudFront regions, see Amazon CloudFront Pricing.
distributionConfig_priceClass :: Lens' DistributionConfig (Maybe PriceClass)
-- | A complex type that identifies ways in which you want to restrict
-- distribution of your content.
distributionConfig_restrictions :: Lens' DistributionConfig (Maybe Restrictions)
-- | A Boolean that indicates whether this is a staging distribution. When
-- this value is true, this is a staging distribution. When this
-- value is false, this is not a staging distribution.
distributionConfig_staging :: Lens' DistributionConfig (Maybe Bool)
-- | A complex type that determines the distribution's SSL/TLS
-- configuration for communicating with viewers.
distributionConfig_viewerCertificate :: Lens' DistributionConfig (Maybe ViewerCertificate)
-- | A unique identifier that specifies the WAF web ACL, if any, to
-- associate with this distribution. To specify a web ACL created using
-- the latest version of WAF, use the ACL ARN, for example
-- arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a.
-- To specify a web ACL created using WAF Classic, use the ACL ID, for
-- example 473e64fd-f30b-4765-81a0-62ad96dd167a.
--
-- WAF is a web application firewall that lets you monitor the HTTP and
-- HTTPS requests that are forwarded to CloudFront, and lets you control
-- access to your content. Based on conditions that you specify, such as
-- the IP addresses that requests originate from or the values of query
-- strings, CloudFront responds to requests either with the requested
-- content or with an HTTP 403 status code (Forbidden). You can also
-- configure CloudFront to return a custom error page when a request is
-- blocked. For more information about WAF, see the WAF Developer
-- Guide.
distributionConfig_webACLId :: Lens' DistributionConfig (Maybe Text)
-- | A unique value (for example, a date-time stamp) that ensures that the
-- request can't be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the DistributionConfig object), CloudFront creates
-- a new distribution.
--
-- If CallerReference is a value that you already sent in a
-- previous request to create a distribution, CloudFront returns a
-- DistributionAlreadyExists error.
distributionConfig_callerReference :: Lens' DistributionConfig Text
-- | A complex type that contains information about origins for this
-- distribution.
distributionConfig_origins :: Lens' DistributionConfig Origins
-- | A complex type that describes the default cache behavior if you don't
-- 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.
distributionConfig_defaultCacheBehavior :: Lens' DistributionConfig DefaultCacheBehavior
-- | A comment to describe the distribution. The comment cannot be longer
-- than 128 characters.
distributionConfig_comment :: Lens' DistributionConfig Text
-- | From this field, you can enable or disable the selected distribution.
distributionConfig_enabled :: Lens' DistributionConfig Bool
-- | A distribution configuration.
distributionConfigWithTags_distributionConfig :: Lens' DistributionConfigWithTags DistributionConfig
-- | A complex type that contains zero or more Tag elements.
distributionConfigWithTags_tags :: Lens' DistributionConfigWithTags Tags
-- | Contains the distribution IDs in the list.
distributionIdList_items :: Lens' DistributionIdList (Maybe [Text])
-- | Contains the value that you should use in the Marker field of
-- a subsequent request to continue listing distribution IDs where you
-- left off.
distributionIdList_nextMarker :: Lens' DistributionIdList (Maybe Text)
-- | The value provided in the Marker request field.
distributionIdList_marker :: Lens' DistributionIdList Text
-- | The maximum number of distribution IDs requested.
distributionIdList_maxItems :: Lens' DistributionIdList Int
-- | A flag that indicates whether more distribution IDs remain to be
-- listed. If your results were truncated, you can make a subsequent
-- request using the Marker request field to retrieve more
-- distribution IDs in the list.
distributionIdList_isTruncated :: Lens' DistributionIdList Bool
-- | The total number of distribution IDs returned in the response.
distributionIdList_quantity :: Lens' DistributionIdList Int
-- | A complex type that contains one DistributionSummary element
-- for each distribution that was created by the current Amazon Web
-- Services account.
distributionList_items :: Lens' DistributionList (Maybe [DistributionSummary])
-- | 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.
distributionList_nextMarker :: Lens' DistributionList (Maybe Text)
-- | The value you provided for the Marker request parameter.
distributionList_marker :: Lens' DistributionList Text
-- | The value you provided for the MaxItems request parameter.
distributionList_maxItems :: Lens' DistributionList Int
-- | 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.
distributionList_isTruncated :: Lens' DistributionList Bool
-- | The number of distributions that were created by the current Amazon
-- Web Services account.
distributionList_quantity :: Lens' DistributionList Int
-- | Amazon Web Services services in China customers must file for an
-- Internet Content Provider (ICP) recordal if they want to serve content
-- publicly on an alternate domain name, also known as a CNAME, that
-- they've added to CloudFront. AliasICPRecordal provides the ICP
-- recordal status for CNAMEs associated with distributions.
--
-- For more information about ICP recordals, see Signup, Accounts, and
-- Credentials in Getting Started with Amazon Web Services
-- services in China.
distributionSummary_aliasICPRecordals :: Lens' DistributionSummary (Maybe [AliasICPRecordal])
-- | A complex type that contains information about origin groups for this
-- distribution.
distributionSummary_originGroups :: Lens' DistributionSummary (Maybe OriginGroups)
-- | The identifier for the distribution. For example:
-- EDFDVBD632BHDS5.
distributionSummary_id :: Lens' DistributionSummary Text
-- | The ARN (Amazon Resource Name) for the distribution. For example:
-- arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
distributionSummary_arn :: Lens' DistributionSummary Text
-- | The current status of the distribution. When the status is
-- Deployed, the distribution's information is propagated to all
-- CloudFront edge locations.
distributionSummary_status :: Lens' DistributionSummary Text
-- | The date and time the distribution was last modified.
distributionSummary_lastModifiedTime :: Lens' DistributionSummary UTCTime
-- | The domain name that corresponds to the distribution, for example,
-- d111111abcdef8.cloudfront.net.
distributionSummary_domainName :: Lens' DistributionSummary Text
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this distribution.
distributionSummary_aliases :: Lens' DistributionSummary Aliases
-- | A complex type that contains information about origins for this
-- distribution.
distributionSummary_origins :: Lens' DistributionSummary Origins
-- | A complex type that describes the default cache behavior if you don't
-- 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.
distributionSummary_defaultCacheBehavior :: Lens' DistributionSummary DefaultCacheBehavior
-- | A complex type that contains zero or more CacheBehavior
-- elements.
distributionSummary_cacheBehaviors :: Lens' DistributionSummary CacheBehaviors
-- | A complex type that contains zero or more
-- CustomErrorResponses elements.
distributionSummary_customErrorResponses :: Lens' DistributionSummary CustomErrorResponses
-- | The comment originally specified when this distribution was created.
distributionSummary_comment :: Lens' DistributionSummary Text
-- | A complex type that contains information about price class for this
-- streaming distribution.
distributionSummary_priceClass :: Lens' DistributionSummary PriceClass
-- | Whether the distribution is enabled to accept user requests for
-- content.
distributionSummary_enabled :: Lens' DistributionSummary Bool
-- | A complex type that determines the distribution's SSL/TLS
-- configuration for communicating with viewers.
distributionSummary_viewerCertificate :: Lens' DistributionSummary ViewerCertificate
-- | A complex type that identifies ways in which you want to restrict
-- distribution of your content.
distributionSummary_restrictions :: Lens' DistributionSummary Restrictions
-- | The Web ACL Id (if any) associated with the distribution.
distributionSummary_webACLId :: Lens' DistributionSummary Text
-- | Specify the maximum HTTP version that you want viewers to use to
-- communicate with CloudFront. The default value for new web
-- distributions is http2. Viewers that don't support
-- HTTP/2 will automatically use an earlier version.
distributionSummary_httpVersion :: Lens' DistributionSummary HttpVersion
-- | Whether CloudFront responds to IPv6 DNS requests with an IPv6 address
-- for your distribution.
distributionSummary_isIPV6Enabled :: Lens' DistributionSummary Bool
-- | Whether the primary distribution has a staging distribution enabled.
distributionSummary_staging :: Lens' DistributionSummary Bool
-- | An array of field patterns in a field-level encryption content
-- type-profile mapping.
encryptionEntities_items :: Lens' EncryptionEntities (Maybe [EncryptionEntity])
-- | Number of field pattern items in a field-level encryption content
-- type-profile mapping.
encryptionEntities_quantity :: Lens' EncryptionEntities Int
-- | The public key associated with a set of field-level encryption
-- patterns, to be used when encrypting the fields that match the
-- patterns.
encryptionEntity_publicKeyId :: Lens' EncryptionEntity Text
-- | The provider associated with the public key being used for encryption.
-- This value must also be provided with the private key for applications
-- to be able to decrypt data.
encryptionEntity_providerId :: Lens' EncryptionEntity Text
-- | Field patterns in a field-level encryption content type profile
-- specify the fields that you want to be encrypted. You can provide the
-- full field name, or any beginning characters followed by a wildcard
-- (*). You can't overlap field patterns. For example, you can't have
-- both ABC* and AB*. Note that field patterns are case-sensitive.
encryptionEntity_fieldPatterns :: Lens' EncryptionEntity FieldPatterns
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data.
endPoint_kinesisStreamConfig :: Lens' EndPoint (Maybe KinesisStreamConfig)
-- | The type of data stream where you are sending real-time log data. The
-- only valid value is Kinesis.
endPoint_streamType :: Lens' EndPoint Text
-- | The configuration ID for a field-level encryption configuration which
-- includes a set of profiles that specify certain selected data fields
-- to be encrypted by specific public keys.
fieldLevelEncryption_id :: Lens' FieldLevelEncryption Text
-- | The last time the field-level encryption configuration was changed.
fieldLevelEncryption_lastModifiedTime :: Lens' FieldLevelEncryption UTCTime
-- | A complex data type that includes the profile configurations specified
-- for field-level encryption.
fieldLevelEncryption_fieldLevelEncryptionConfig :: Lens' FieldLevelEncryption FieldLevelEncryptionConfig
-- | An optional comment about the configuration. The comment cannot be
-- longer than 128 characters.
fieldLevelEncryptionConfig_comment :: Lens' FieldLevelEncryptionConfig (Maybe Text)
-- | A complex data type that specifies when to forward content if a
-- content type isn't recognized and profiles to use as by default in a
-- request if a query argument doesn't specify a profile to use.
fieldLevelEncryptionConfig_contentTypeProfileConfig :: Lens' FieldLevelEncryptionConfig (Maybe ContentTypeProfileConfig)
-- | A complex data type that specifies when to forward content if a
-- profile isn't found and the profile that can be provided as a query
-- argument in a request.
fieldLevelEncryptionConfig_queryArgProfileConfig :: Lens' FieldLevelEncryptionConfig (Maybe QueryArgProfileConfig)
-- | A unique number that ensures the request can't be replayed.
fieldLevelEncryptionConfig_callerReference :: Lens' FieldLevelEncryptionConfig Text
-- | An array of field-level encryption items.
fieldLevelEncryptionList_items :: Lens' FieldLevelEncryptionList (Maybe [FieldLevelEncryptionSummary])
-- | If there are more elements to be listed, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your configurations where you left off.
fieldLevelEncryptionList_nextMarker :: Lens' FieldLevelEncryptionList (Maybe Text)
-- | The maximum number of elements you want in the response body.
fieldLevelEncryptionList_maxItems :: Lens' FieldLevelEncryptionList Int
-- | The number of field-level encryption items.
fieldLevelEncryptionList_quantity :: Lens' FieldLevelEncryptionList Int
-- | The ID for a field-level encryption profile configuration which
-- includes a set of profiles that specify certain selected data fields
-- to be encrypted by specific public keys.
fieldLevelEncryptionProfile_id :: Lens' FieldLevelEncryptionProfile Text
-- | The last time the field-level encryption profile was updated.
fieldLevelEncryptionProfile_lastModifiedTime :: Lens' FieldLevelEncryptionProfile UTCTime
-- | A complex data type that includes the profile name and the encryption
-- entities for the field-level encryption profile.
fieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig :: Lens' FieldLevelEncryptionProfile FieldLevelEncryptionProfileConfig
-- | An optional comment for the field-level encryption profile. The
-- comment cannot be longer than 128 characters.
fieldLevelEncryptionProfileConfig_comment :: Lens' FieldLevelEncryptionProfileConfig (Maybe Text)
-- | Profile name for the field-level encryption profile.
fieldLevelEncryptionProfileConfig_name :: Lens' FieldLevelEncryptionProfileConfig Text
-- | A unique number that ensures that the request can't be replayed.
fieldLevelEncryptionProfileConfig_callerReference :: Lens' FieldLevelEncryptionProfileConfig Text
-- | A complex data type of encryption entities for the field-level
-- encryption profile that include the public key ID, provider, and field
-- patterns for specifying which fields to encrypt with this key.
fieldLevelEncryptionProfileConfig_encryptionEntities :: Lens' FieldLevelEncryptionProfileConfig EncryptionEntities
-- | The field-level encryption profile items.
fieldLevelEncryptionProfileList_items :: Lens' FieldLevelEncryptionProfileList (Maybe [FieldLevelEncryptionProfileSummary])
-- | If there are more elements to be listed, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your profiles where you left off.
fieldLevelEncryptionProfileList_nextMarker :: Lens' FieldLevelEncryptionProfileList (Maybe Text)
-- | The maximum number of field-level encryption profiles you want in the
-- response body.
fieldLevelEncryptionProfileList_maxItems :: Lens' FieldLevelEncryptionProfileList Int
-- | The number of field-level encryption profiles.
fieldLevelEncryptionProfileList_quantity :: Lens' FieldLevelEncryptionProfileList Int
-- | An optional comment for the field-level encryption profile summary.
-- The comment cannot be longer than 128 characters.
fieldLevelEncryptionProfileSummary_comment :: Lens' FieldLevelEncryptionProfileSummary (Maybe Text)
-- | ID for the field-level encryption profile summary.
fieldLevelEncryptionProfileSummary_id :: Lens' FieldLevelEncryptionProfileSummary Text
-- | The time when the the field-level encryption profile summary was last
-- updated.
fieldLevelEncryptionProfileSummary_lastModifiedTime :: Lens' FieldLevelEncryptionProfileSummary UTCTime
-- | Name for the field-level encryption profile summary.
fieldLevelEncryptionProfileSummary_name :: Lens' FieldLevelEncryptionProfileSummary Text
-- | A complex data type of encryption entities for the field-level
-- encryption profile that include the public key ID, provider, and field
-- patterns for specifying which fields to encrypt with this key.
fieldLevelEncryptionProfileSummary_encryptionEntities :: Lens' FieldLevelEncryptionProfileSummary EncryptionEntities
-- | An optional comment about the field-level encryption item. The comment
-- cannot be longer than 128 characters.
fieldLevelEncryptionSummary_comment :: Lens' FieldLevelEncryptionSummary (Maybe Text)
-- | A summary of a content type-profile mapping.
fieldLevelEncryptionSummary_contentTypeProfileConfig :: Lens' FieldLevelEncryptionSummary (Maybe ContentTypeProfileConfig)
-- | A summary of a query argument-profile mapping.
fieldLevelEncryptionSummary_queryArgProfileConfig :: Lens' FieldLevelEncryptionSummary (Maybe QueryArgProfileConfig)
-- | The unique ID of a field-level encryption item.
fieldLevelEncryptionSummary_id :: Lens' FieldLevelEncryptionSummary Text
-- | The last time that the summary of field-level encryption items was
-- modified.
fieldLevelEncryptionSummary_lastModifiedTime :: Lens' FieldLevelEncryptionSummary UTCTime
-- | An array of the field-level encryption field patterns.
fieldPatterns_items :: Lens' FieldPatterns (Maybe [Text])
-- | The number of field-level encryption field patterns.
fieldPatterns_quantity :: Lens' FieldPatterns Int
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include headers in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send headers to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- A complex type that specifies the Headers, if any, that you
-- want CloudFront to forward to the origin for this cache behavior
-- (whitelisted headers). For the headers that you specify, CloudFront
-- also caches separate versions of a specified object that is based on
-- the header values in viewer requests.
--
-- For more information, see Caching Content Based on Request
-- Headers in the Amazon CloudFront Developer Guide.
forwardedValues_headers :: Lens' ForwardedValues (Maybe Headers)
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include query strings in the cache key, use a cache
-- policy. For more information, see Creating cache policies in
-- the Amazon CloudFront Developer Guide.
--
-- If you want to send query strings to the origin but not include them
-- in the cache key, use an origin request policy. For more information,
-- see Creating origin request policies in the Amazon
-- CloudFront Developer Guide.
--
-- A complex type that contains information about the query string
-- parameters that you want CloudFront to use for caching for this cache
-- behavior.
forwardedValues_queryStringCacheKeys :: Lens' ForwardedValues (Maybe QueryStringCacheKeys)
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include query strings in the cache key, use a cache
-- policy. For more information, see Creating cache policies in
-- the Amazon CloudFront Developer Guide.
--
-- If you want to send query strings to the origin but not include them
-- in the cache key, use an origin request policy. For more information,
-- see Creating origin request policies in the Amazon
-- CloudFront Developer Guide.
--
-- Indicates whether you want CloudFront to forward query strings to the
-- origin that is associated with this cache behavior and cache based on
-- the query string parameters. CloudFront behavior depends on the value
-- of QueryString and on the values that you specify for
-- QueryStringCacheKeys, if any:
--
-- If you specify true for QueryString and you don't specify any
-- values for QueryStringCacheKeys, CloudFront forwards all
-- query string parameters to the origin and caches based on all query
-- string parameters. Depending on how many query string parameters and
-- values you have, this can adversely affect performance because
-- CloudFront must forward more requests to the origin.
--
-- If you specify true for QueryString and you specify one or
-- more values for QueryStringCacheKeys, CloudFront forwards all
-- query string parameters to the origin, but it only caches based on the
-- query string parameters that you specify.
--
-- If you specify false for QueryString, CloudFront doesn't
-- forward any query string parameters to the origin, and doesn't cache
-- based on query string parameters.
--
-- For more information, see Configuring CloudFront to Cache Based on
-- Query String Parameters in the Amazon CloudFront Developer
-- Guide.
forwardedValues_queryString :: Lens' ForwardedValues Bool
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- A complex type that specifies whether you want CloudFront to forward
-- cookies to the origin and, if so, which ones. For more information
-- about forwarding cookies to the origin, see How CloudFront
-- Forwards, Caches, and Logs Cookies in the Amazon CloudFront
-- Developer Guide.
forwardedValues_cookies :: Lens' ForwardedValues CookiePreference
-- | The Amazon Resource Name (ARN) of the function.
functionAssociation_functionARN :: Lens' FunctionAssociation Text
-- | The event type of the function, either viewer-request or
-- viewer-response. You cannot use origin-facing event types
-- (origin-request and origin-response) with a
-- CloudFront function.
functionAssociation_eventType :: Lens' FunctionAssociation EventType
-- | The CloudFront functions that are associated with a cache behavior in
-- a CloudFront distribution. CloudFront functions must be published to
-- the LIVE stage to associate them with a cache behavior.
functionAssociations_items :: Lens' FunctionAssociations (Maybe [FunctionAssociation])
-- | The number of CloudFront functions in the list.
functionAssociations_quantity :: Lens' FunctionAssociations Int
-- | A comment to describe the function.
functionConfig_comment :: Lens' FunctionConfig Text
-- | The function's runtime environment. The only valid value is
-- cloudfront-js-1.0.
functionConfig_runtime :: Lens' FunctionConfig FunctionRuntime
-- | Contains the functions in the list.
functionList_items :: Lens' FunctionList (Maybe [FunctionSummary])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- functions where you left off.
functionList_nextMarker :: Lens' FunctionList (Maybe Text)
-- | The maximum number of functions requested.
functionList_maxItems :: Lens' FunctionList Int
-- | The number of functions returned in the response.
functionList_quantity :: Lens' FunctionList Int
-- | The date and time when the function was created.
functionMetadata_createdTime :: Lens' FunctionMetadata (Maybe UTCTime)
-- | The stage that the function is in, either DEVELOPMENT or
-- LIVE.
--
-- When a function is in the DEVELOPMENT stage, you can test the
-- function with TestFunction, and update it with
-- UpdateFunction.
--
-- When a function is in the LIVE stage, you can attach the
-- function to a distribution's cache behavior, using the function's ARN.
functionMetadata_stage :: Lens' FunctionMetadata (Maybe FunctionStage)
-- | The Amazon Resource Name (ARN) of the function. The ARN uniquely
-- identifies the function.
functionMetadata_functionARN :: Lens' FunctionMetadata Text
-- | The date and time when the function was most recently updated.
functionMetadata_lastModifiedTime :: Lens' FunctionMetadata UTCTime
-- | The status of the CloudFront function.
functionSummary_status :: Lens' FunctionSummary (Maybe Text)
-- | The name of the CloudFront function.
functionSummary_name :: Lens' FunctionSummary Text
-- | Contains configuration information about a CloudFront function.
functionSummary_functionConfig :: Lens' FunctionSummary FunctionConfig
-- | Contains metadata about a CloudFront function.
functionSummary_functionMetadata :: Lens' FunctionSummary FunctionMetadata
-- | 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 on the CloudFront console, which includes both country
-- names and codes.
geoRestriction_items :: Lens' GeoRestriction (Maybe [Text])
-- | 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 don't want CloudFront to distribute your
-- content.
-- - whitelist: The Location elements specify the
-- countries in which you want CloudFront to distribute your
-- content.
--
geoRestriction_restrictionType :: Lens' GeoRestriction GeoRestrictionType
-- | 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.
geoRestriction_quantity :: Lens' GeoRestriction Int
-- | A list of HTTP header names.
headers_items :: Lens' Headers (Maybe [Text])
-- | The number of header names in the Items list.
headers_quantity :: Lens' Headers Int
-- | The identifier for the invalidation request. For example:
-- IDFDVBD632BHDS5.
invalidation_id :: Lens' Invalidation Text
-- | The status of the invalidation request. When the invalidation batch is
-- finished, the status is Completed.
invalidation_status :: Lens' Invalidation Text
-- | The date and time the invalidation request was first made.
invalidation_createTime :: Lens' Invalidation UTCTime
-- | The current invalidation information for the batch request.
invalidation_invalidationBatch :: Lens' Invalidation InvalidationBatch
-- | A complex type that contains information about the objects that you
-- want to invalidate. For more information, see Specifying the
-- Objects to Invalidate in the Amazon CloudFront Developer
-- Guide.
invalidationBatch_paths :: Lens' InvalidationBatch Paths
-- | A value that you specify to uniquely identify an invalidation request.
-- CloudFront uses the value to prevent you from accidentally
-- resubmitting an identical request. Whenever you create a new
-- invalidation request, you must specify a new value for
-- CallerReference and change other values in the request as
-- applicable. One way to ensure that the value of
-- CallerReference is unique is to use a timestamp, for
-- example, 20120301090000.
--
-- If you make a second invalidation request with the same value for
-- CallerReference, and if the rest of the request is the same,
-- CloudFront doesn't create a new invalidation request. Instead,
-- CloudFront returns information about the invalidation request that you
-- previously created with the same CallerReference.
--
-- If CallerReference is a value you already sent in a previous
-- invalidation batch request but the content of any Path is
-- different from the original request, CloudFront returns an
-- InvalidationBatchAlreadyExists error.
invalidationBatch_callerReference :: Lens' InvalidationBatch Text
-- | A complex type that contains one InvalidationSummary element
-- for each invalidation batch created by the current Amazon Web Services
-- account.
invalidationList_items :: Lens' InvalidationList (Maybe [InvalidationSummary])
-- | If IsTruncated is true, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your invalidation batches where they
-- left off.
invalidationList_nextMarker :: Lens' InvalidationList (Maybe Text)
-- | The value that you provided for the Marker request parameter.
invalidationList_marker :: Lens' InvalidationList Text
-- | The value that you provided for the MaxItems request
-- parameter.
invalidationList_maxItems :: Lens' InvalidationList Int
-- | 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.
invalidationList_isTruncated :: Lens' InvalidationList Bool
-- | The number of invalidation batches that were created by the current
-- Amazon Web Services account.
invalidationList_quantity :: Lens' InvalidationList Int
-- | The unique ID for an invalidation request.
invalidationSummary_id :: Lens' InvalidationSummary Text
-- | The time that an invalidation request was created.
invalidationSummary_createTime :: Lens' InvalidationSummary UTCTime
-- | The status of an invalidation request.
invalidationSummary_status :: Lens' InvalidationSummary Text
-- | The identifier of the key group that contains the public keys.
kGKeyPairIds_keyGroupId :: Lens' KGKeyPairIds (Maybe Text)
-- | Undocumented member.
kGKeyPairIds_keyPairIds :: Lens' KGKeyPairIds (Maybe KeyPairIds)
-- | The identifier for the key group.
keyGroup_id :: Lens' KeyGroup Text
-- | The date and time when the key group was last modified.
keyGroup_lastModifiedTime :: Lens' KeyGroup UTCTime
-- | The key group configuration.
keyGroup_keyGroupConfig :: Lens' KeyGroup KeyGroupConfig
-- | A comment to describe the key group. The comment cannot be longer than
-- 128 characters.
keyGroupConfig_comment :: Lens' KeyGroupConfig (Maybe Text)
-- | A name to identify the key group.
keyGroupConfig_name :: Lens' KeyGroupConfig Text
-- | A list of the identifiers of the public keys in the key group.
keyGroupConfig_items :: Lens' KeyGroupConfig [Text]
-- | A list of key groups.
keyGroupList_items :: Lens' KeyGroupList (Maybe [KeyGroupSummary])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing key
-- groups.
keyGroupList_nextMarker :: Lens' KeyGroupList (Maybe Text)
-- | The maximum number of key groups requested.
keyGroupList_maxItems :: Lens' KeyGroupList Int
-- | The number of key groups returned in the response.
keyGroupList_quantity :: Lens' KeyGroupList Int
-- | A key group.
keyGroupSummary_keyGroup :: Lens' KeyGroupSummary KeyGroup
-- | A list of CloudFront key pair identifiers.
keyPairIds_items :: Lens' KeyPairIds (Maybe [Text])
-- | The number of key pair identifiers in the list.
keyPairIds_quantity :: Lens' KeyPairIds Int
-- | The Amazon Resource Name (ARN) of an Identity and Access Management
-- (IAM) role that CloudFront can use to send real-time log data to your
-- Kinesis data stream.
--
-- For more information the IAM role, see Real-time log configuration
-- IAM role in the Amazon CloudFront Developer Guide.
kinesisStreamConfig_roleARN :: Lens' KinesisStreamConfig Text
-- | The Amazon Resource Name (ARN) of the Kinesis data stream where you
-- are sending real-time log data.
kinesisStreamConfig_streamARN :: Lens' KinesisStreamConfig Text
-- | A flag that allows a Lambda@Edge function to have read access to the
-- body content. For more information, see Accessing the Request Body
-- by Choosing the Include Body Option in the Amazon CloudFront
-- Developer Guide.
lambdaFunctionAssociation_includeBody :: Lens' LambdaFunctionAssociation (Maybe Bool)
-- | The ARN of the Lambda@Edge function. You must specify the ARN of a
-- function version; you can't specify an alias or $LATEST.
lambdaFunctionAssociation_lambdaFunctionARN :: Lens' LambdaFunctionAssociation Text
-- | Specifies the event type that triggers a Lambda@Edge function
-- invocation. You can specify the following values:
--
--
-- - viewer-request: The function executes when CloudFront
-- receives a request from a viewer and before it checks to see whether
-- the requested object is in the edge cache.
-- - origin-request: The function executes only when
-- CloudFront sends a request to your origin. When the requested object
-- is in the edge cache, the function doesn't execute.
-- - origin-response: The function executes after CloudFront
-- receives a response from the origin and before it caches the object in
-- the response. When the requested object is in the edge cache, the
-- function doesn't execute.
-- - viewer-response: The function executes before CloudFront
-- returns the requested object to the viewer. The function executes
-- regardless of whether the object was already in the edge cache.If the
-- origin returns an HTTP status code other than HTTP 200 (OK), the
-- function doesn't execute.
--
lambdaFunctionAssociation_eventType :: Lens' LambdaFunctionAssociation EventType
-- | Optional: A complex type that contains
-- LambdaFunctionAssociation items for this cache behavior. If
-- Quantity is 0, you can omit Items.
lambdaFunctionAssociations_items :: Lens' LambdaFunctionAssociations (Maybe [LambdaFunctionAssociation])
-- | The number of Lambda@Edge function associations for this cache
-- behavior.
lambdaFunctionAssociations_quantity :: Lens' LambdaFunctionAssociations Int
-- | Specifies whether you want CloudFront to save access logs to an Amazon
-- S3 bucket. If you don't 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.
loggingConfig_enabled :: 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
-- don't 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.
loggingConfig_includeCookies :: Lens' LoggingConfig Bool
-- | The Amazon S3 bucket to store the access logs in, for example,
-- myawslogbucket.s3.amazonaws.com.
loggingConfig_bucket :: Lens' LoggingConfig Text
-- | An optional string that you want CloudFront to prefix to the access
-- log filenames for this distribution, for example,
-- myprefix/. If you want to enable logging, but you don't want
-- to specify a prefix, you still must include an empty Prefix
-- element in the Logging element.
loggingConfig_prefix :: Lens' LoggingConfig Text
-- | A subscription configuration for additional CloudWatch metrics.
monitoringSubscription_realtimeMetricsSubscriptionConfig :: Lens' MonitoringSubscription (Maybe RealtimeMetricsSubscriptionConfig)
-- | The number of times that CloudFront attempts to connect to the origin.
-- The minimum number is 1, the maximum is 3, and the default (if you
-- don't specify otherwise) is 3.
--
-- For a custom origin (including an Amazon S3 bucket that's configured
-- with static website hosting), this value also specifies the number of
-- times that CloudFront attempts to get a response from the origin, in
-- the case of an Origin Response Timeout.
--
-- For more information, see Origin Connection Attempts in the
-- Amazon CloudFront Developer Guide.
origin_connectionAttempts :: Lens' Origin (Maybe Int)
-- | The number of seconds that CloudFront waits when trying to establish a
-- connection to the origin. The minimum timeout is 1 second, the maximum
-- is 10 seconds, and the default (if you don't specify otherwise) is 10
-- seconds.
--
-- For more information, see Origin Connection Timeout in the
-- Amazon CloudFront Developer Guide.
origin_connectionTimeout :: Lens' Origin (Maybe Int)
-- | A list of HTTP header names and values that CloudFront adds to the
-- requests that it sends to the origin.
--
-- For more information, see Adding Custom Headers to Origin
-- Requests in the Amazon CloudFront Developer Guide.
origin_customHeaders :: Lens' Origin (Maybe CustomHeaders)
-- | Use this type to specify an origin that is not an Amazon S3 bucket,
-- with one exception. If the Amazon S3 bucket is configured with static
-- website hosting, use this type. If the Amazon S3 bucket is not
-- configured with static website hosting, use the
-- S3OriginConfig type instead.
origin_customOriginConfig :: Lens' Origin (Maybe CustomOriginConfig)
-- | The unique identifier of an origin access control for this origin.
--
-- For more information, see Restricting access to an Amazon S3
-- origin in the Amazon CloudFront Developer Guide.
origin_originAccessControlId :: Lens' Origin (Maybe Text)
-- | An optional path that CloudFront appends to the origin domain name
-- when CloudFront requests content from the origin.
--
-- For more information, see Origin Path in the Amazon
-- CloudFront Developer Guide.
origin_originPath :: Lens' Origin (Maybe Text)
-- | CloudFront Origin Shield. Using Origin Shield can help reduce the load
-- on your origin.
--
-- For more information, see Using Origin Shield in the Amazon
-- CloudFront Developer Guide.
origin_originShield :: Lens' Origin (Maybe OriginShield)
-- | Use this type to specify an origin that is an Amazon S3 bucket that is
-- not configured with static website hosting. To specify any other type
-- of origin, including an Amazon S3 bucket that is configured with
-- static website hosting, use the CustomOriginConfig type
-- instead.
origin_s3OriginConfig :: Lens' Origin (Maybe S3OriginConfig)
-- | A unique identifier for the origin. This value must be unique within
-- the distribution.
--
-- Use this value to specify the TargetOriginId in a
-- CacheBehavior or DefaultCacheBehavior.
origin_id :: Lens' Origin Text
-- | The domain name for the origin.
--
-- For more information, see Origin Domain Name in the Amazon
-- CloudFront Developer Guide.
origin_domainName :: Lens' Origin Text
-- | The origin access control.
originAccessControl_originAccessControlConfig :: Lens' OriginAccessControl (Maybe OriginAccessControlConfig)
-- | The unique identifier of the origin access control.
originAccessControl_id :: Lens' OriginAccessControl Text
-- | A description of the origin access control.
originAccessControlConfig_description :: Lens' OriginAccessControlConfig (Maybe Text)
-- | A name to identify the origin access control.
originAccessControlConfig_name :: Lens' OriginAccessControlConfig Text
-- | The signing protocol of the origin access control, which determines
-- how CloudFront signs (authenticates) requests. The only valid value is
-- sigv4.
originAccessControlConfig_signingProtocol :: Lens' OriginAccessControlConfig OriginAccessControlSigningProtocols
-- | Specifies which requests CloudFront signs (adds authentication
-- information to). Specify always for the most common use case.
-- For more information, see origin access control advanced
-- settings in the Amazon CloudFront Developer Guide.
--
-- This field can have one of the following values:
--
--
-- - always – CloudFront signs all origin requests,
-- overwriting the Authorization header from the viewer request
-- if one exists.
-- - never – CloudFront doesn't sign any origin requests. This
-- value turns off origin access control for all origins in all
-- distributions that use this origin access control.
-- - no-override – If the viewer request doesn't contain the
-- Authorization header, then CloudFront signs the origin
-- request. If the viewer request contains the Authorization
-- header, then CloudFront doesn't sign the origin request and instead
-- passes along the Authorization header from the viewer
-- request. __WARNING: To pass along the Authorization header
-- from the viewer request, you must add the
-- Authorization header to a cache policy for all cache
-- behaviors that use origins associated with this origin access
-- control.__
--
originAccessControlConfig_signingBehavior :: Lens' OriginAccessControlConfig OriginAccessControlSigningBehaviors
-- | The type of origin that this origin access control is for. The only
-- valid value is s3.
originAccessControlConfig_originAccessControlOriginType :: Lens' OriginAccessControlConfig OriginAccessControlOriginTypes
-- | Contains the origin access controls in the list.
originAccessControlList_items :: Lens' OriginAccessControlList (Maybe [OriginAccessControlSummary])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value to use in the
-- Marker field of another request to continue listing origin
-- access controls.
originAccessControlList_nextMarker :: Lens' OriginAccessControlList (Maybe Text)
-- | The value of the Marker field that was provided in the
-- request.
originAccessControlList_marker :: Lens' OriginAccessControlList Text
-- | The maximum number of origin access controls requested.
originAccessControlList_maxItems :: Lens' OriginAccessControlList Int
-- | If there are more items in the list than are in this response, this
-- value is true.
originAccessControlList_isTruncated :: Lens' OriginAccessControlList Bool
-- | The number of origin access controls returned in the response.
originAccessControlList_quantity :: Lens' OriginAccessControlList Int
-- | The unique identifier of the origin access control.
originAccessControlSummary_id :: Lens' OriginAccessControlSummary Text
-- | A description of the origin access control.
originAccessControlSummary_description :: Lens' OriginAccessControlSummary Text
-- | A unique name that identifies the origin access control.
originAccessControlSummary_name :: Lens' OriginAccessControlSummary Text
-- | The signing protocol of the origin access control. The signing
-- protocol determines how CloudFront signs (authenticates) requests. The
-- only valid value is sigv4.
originAccessControlSummary_signingProtocol :: Lens' OriginAccessControlSummary OriginAccessControlSigningProtocols
-- | A value that specifies which requests CloudFront signs (adds
-- authentication information to). This field can have one of the
-- following values:
--
--
-- - never – CloudFront doesn't sign any origin requests.
-- - always – CloudFront signs all origin requests,
-- overwriting the Authorization header from the viewer request
-- if necessary.
-- - no-override – If the viewer request doesn't contain the
-- Authorization header, CloudFront signs the origin request. If
-- the viewer request contains the Authorization header,
-- CloudFront doesn't sign the origin request, but instead passes along
-- the Authorization header that it received in the viewer
-- request.
--
originAccessControlSummary_signingBehavior :: Lens' OriginAccessControlSummary OriginAccessControlSigningBehaviors
-- | The type of origin that this origin access control is for. The only
-- valid value is s3.
originAccessControlSummary_originAccessControlOriginType :: Lens' OriginAccessControlSummary OriginAccessControlOriginTypes
-- | The name of a header that you want CloudFront to send to your origin.
-- For more information, see Adding Custom Headers to Origin
-- Requests in the Amazon CloudFront Developer Guide.
originCustomHeader_headerName :: Lens' OriginCustomHeader Text
-- | The value for the header that you specified in the HeaderName
-- field.
originCustomHeader_headerValue :: Lens' OriginCustomHeader Text
-- | The origin group's ID.
originGroup_id :: Lens' OriginGroup Text
-- | A complex type that contains information about the failover criteria
-- for an origin group.
originGroup_failoverCriteria :: Lens' OriginGroup OriginGroupFailoverCriteria
-- | A complex type that contains information about the origins in an
-- origin group.
originGroup_members :: Lens' OriginGroup OriginGroupMembers
-- | The status codes that, when returned from the primary origin, will
-- trigger CloudFront to failover to the second origin.
originGroupFailoverCriteria_statusCodes :: Lens' OriginGroupFailoverCriteria StatusCodes
-- | The ID for an origin in an origin group.
originGroupMember_originId :: Lens' OriginGroupMember Text
-- | The number of origins in an origin group.
originGroupMembers_quantity :: Lens' OriginGroupMembers Int
-- | Items (origins) in an origin group.
originGroupMembers_items :: Lens' OriginGroupMembers (NonEmpty OriginGroupMember)
-- | The items (origin groups) in a distribution.
originGroups_items :: Lens' OriginGroups (Maybe [OriginGroup])
-- | The number of origin groups.
originGroups_quantity :: Lens' OriginGroups Int
-- | The unique identifier for the origin request policy.
originRequestPolicy_id :: Lens' OriginRequestPolicy Text
-- | The date and time when the origin request policy was last modified.
originRequestPolicy_lastModifiedTime :: Lens' OriginRequestPolicy UTCTime
-- | The origin request policy configuration.
originRequestPolicy_originRequestPolicyConfig :: Lens' OriginRequestPolicy OriginRequestPolicyConfig
-- | A comment to describe the origin request policy. The comment cannot be
-- longer than 128 characters.
originRequestPolicyConfig_comment :: Lens' OriginRequestPolicyConfig (Maybe Text)
-- | A unique name to identify the origin request policy.
originRequestPolicyConfig_name :: Lens' OriginRequestPolicyConfig Text
-- | The HTTP headers to include in origin requests. These can include
-- headers from viewer requests and additional headers added by
-- CloudFront.
originRequestPolicyConfig_headersConfig :: Lens' OriginRequestPolicyConfig OriginRequestPolicyHeadersConfig
-- | The cookies from viewer requests to include in origin requests.
originRequestPolicyConfig_cookiesConfig :: Lens' OriginRequestPolicyConfig OriginRequestPolicyCookiesConfig
-- | The URL query strings from viewer requests to include in origin
-- requests.
originRequestPolicyConfig_queryStringsConfig :: Lens' OriginRequestPolicyConfig OriginRequestPolicyQueryStringsConfig
-- | Undocumented member.
originRequestPolicyCookiesConfig_cookies :: Lens' OriginRequestPolicyCookiesConfig (Maybe CookieNames)
-- | Determines whether cookies in viewer requests are included in requests
-- that CloudFront sends to the origin. Valid values are:
--
--
-- - none – Cookies in viewer requests are not included in
-- requests that CloudFront sends to the origin. Even when this field is
-- set to none, any cookies that are listed in a
-- CachePolicy are included in origin requests.
-- - whitelist – The cookies in viewer requests that are
-- listed in the CookieNames type are included in requests that
-- CloudFront sends to the origin.
-- - all – All cookies in viewer requests are included in
-- requests that CloudFront sends to the origin.
--
originRequestPolicyCookiesConfig_cookieBehavior :: Lens' OriginRequestPolicyCookiesConfig OriginRequestPolicyCookieBehavior
-- | Undocumented member.
originRequestPolicyHeadersConfig_headers :: Lens' OriginRequestPolicyHeadersConfig (Maybe Headers)
-- | Determines whether any HTTP headers are included in requests that
-- CloudFront sends to the origin. Valid values are:
--
--
-- - none – HTTP headers are not included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any headers that are listed in a CachePolicy
-- are included in origin requests.
-- - whitelist – The HTTP headers that are listed in the
-- Headers type are included in requests that CloudFront sends
-- to the origin.
-- - allViewer – All HTTP headers in viewer requests are
-- included in requests that CloudFront sends to the origin.
-- - allViewerAndWhitelistCloudFront – All HTTP headers in
-- viewer requests and the additional CloudFront headers that are listed
-- in the Headers type are included in requests that CloudFront
-- sends to the origin. The additional headers are added by
-- CloudFront.
--
originRequestPolicyHeadersConfig_headerBehavior :: Lens' OriginRequestPolicyHeadersConfig OriginRequestPolicyHeaderBehavior
-- | Contains the origin request policies in the list.
originRequestPolicyList_items :: Lens' OriginRequestPolicyList (Maybe [OriginRequestPolicySummary])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- origin request policies where you left off.
originRequestPolicyList_nextMarker :: Lens' OriginRequestPolicyList (Maybe Text)
-- | The maximum number of origin request policies requested.
originRequestPolicyList_maxItems :: Lens' OriginRequestPolicyList Int
-- | The total number of origin request policies returned in the response.
originRequestPolicyList_quantity :: Lens' OriginRequestPolicyList Int
-- | Contains a list of the query strings in viewer requests that are
-- included in requests that CloudFront sends to the origin.
originRequestPolicyQueryStringsConfig_queryStrings :: Lens' OriginRequestPolicyQueryStringsConfig (Maybe QueryStringNames)
-- | Determines whether any URL query strings in viewer requests are
-- included in requests that CloudFront sends to the origin. Valid values
-- are:
--
--
-- - none – Query strings in viewer requests are not included
-- in requests that CloudFront sends to the origin. Even when this field
-- is set to none, any query strings that are listed in a
-- CachePolicy are included in origin requests.
-- - whitelist – The query strings in viewer requests that are
-- listed in the QueryStringNames type are included in requests
-- that CloudFront sends to the origin.
-- - all – All query strings in viewer requests are included
-- in requests that CloudFront sends to the origin.
--
originRequestPolicyQueryStringsConfig_queryStringBehavior :: Lens' OriginRequestPolicyQueryStringsConfig OriginRequestPolicyQueryStringBehavior
-- | The type of origin request policy, either managed (created by
-- Amazon Web Services) or custom (created in this Amazon Web
-- Services account).
originRequestPolicySummary_type :: Lens' OriginRequestPolicySummary OriginRequestPolicyType
-- | The origin request policy.
originRequestPolicySummary_originRequestPolicy :: Lens' OriginRequestPolicySummary OriginRequestPolicy
-- | The Amazon Web Services Region for Origin Shield.
--
-- Specify the Amazon Web Services Region that has the lowest latency to
-- your origin. To specify a region, use the region code, not the region
-- name. For example, specify the US East (Ohio) region as
-- us-east-2.
--
-- When you enable CloudFront Origin Shield, you must specify the Amazon
-- Web Services Region for Origin Shield. For the list of Amazon Web
-- Services Regions that you can specify, and for help choosing the best
-- Region for your origin, see Choosing the Amazon Web Services Region
-- for Origin Shield in the Amazon CloudFront Developer Guide.
originShield_originShieldRegion :: Lens' OriginShield (Maybe Text)
-- | A flag that specifies whether Origin Shield is enabled.
--
-- When it's enabled, CloudFront routes all requests through Origin
-- Shield, which can help protect your origin. When it's disabled,
-- CloudFront might send requests directly to your origin from multiple
-- edge locations or regional edge caches.
originShield_enabled :: Lens' OriginShield Bool
-- | The number of SSL/TLS protocols that you want to allow CloudFront to
-- use when establishing an HTTPS connection with this origin.
originSslProtocols_quantity :: Lens' OriginSslProtocols Int
-- | A list that contains allowed SSL/TLS protocols for this distribution.
originSslProtocols_items :: Lens' OriginSslProtocols [SslProtocol]
-- | The number of origins for this distribution.
origins_quantity :: Lens' Origins Int
-- | A list of origins.
origins_items :: Lens' Origins (NonEmpty Origin)
-- | A flag that can affect whether the Accept-Encoding HTTP
-- header is included in the cache key and included in requests that
-- CloudFront sends to the origin.
--
-- This field is related to the EnableAcceptEncodingGzip field.
-- If one or both of these fields is true and the viewer
-- request includes the Accept-Encoding header, then CloudFront
-- does the following:
--
--
-- - Normalizes the value of the viewer's Accept-Encoding
-- header
-- - Includes the normalized header in the cache key
-- - Includes the normalized header in the request to the origin, if a
-- request is necessary
--
--
-- For more information, see Compression support in the Amazon
-- CloudFront Developer Guide.
--
-- If you set this value to true, and this cache behavior also
-- has an origin request policy attached, do not include the
-- Accept-Encoding header in the origin request policy.
-- CloudFront always includes the Accept-Encoding header in
-- origin requests when the value of this field is true, so
-- including this header in an origin request policy has no effect.
--
-- If both of these fields are false, then CloudFront treats the
-- Accept-Encoding header the same as any other HTTP header in
-- the viewer request. By default, it's not included in the cache key and
-- it's not included in origin requests. In this case, you can manually
-- add Accept-Encoding to the headers whitelist like any other
-- HTTP header.
parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingBrotli :: Lens' ParametersInCacheKeyAndForwardedToOrigin (Maybe Bool)
-- | A flag that can affect whether the Accept-Encoding HTTP
-- header is included in the cache key and included in requests that
-- CloudFront sends to the origin.
--
-- This field is related to the EnableAcceptEncodingBrotli
-- field. If one or both of these fields is true and the
-- viewer request includes the Accept-Encoding header, then
-- CloudFront does the following:
--
--
-- - Normalizes the value of the viewer's Accept-Encoding
-- header
-- - Includes the normalized header in the cache key
-- - Includes the normalized header in the request to the origin, if a
-- request is necessary
--
--
-- For more information, see Compression support in the Amazon
-- CloudFront Developer Guide.
--
-- If you set this value to true, and this cache behavior also
-- has an origin request policy attached, do not include the
-- Accept-Encoding header in the origin request policy.
-- CloudFront always includes the Accept-Encoding header in
-- origin requests when the value of this field is true, so
-- including this header in an origin request policy has no effect.
--
-- If both of these fields are false, then CloudFront treats the
-- Accept-Encoding header the same as any other HTTP header in
-- the viewer request. By default, it's not included in the cache key and
-- it's not included in origin requests. In this case, you can manually
-- add Accept-Encoding to the headers whitelist like any other
-- HTTP header.
parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingGzip :: Lens' ParametersInCacheKeyAndForwardedToOrigin Bool
-- | An object that determines whether any HTTP headers (and if so, which
-- headers) are included in the cache key and automatically included in
-- requests that CloudFront sends to the origin.
parametersInCacheKeyAndForwardedToOrigin_headersConfig :: Lens' ParametersInCacheKeyAndForwardedToOrigin CachePolicyHeadersConfig
-- | An object that determines whether any cookies in viewer requests (and
-- if so, which cookies) are included in the cache key and automatically
-- included in requests that CloudFront sends to the origin.
parametersInCacheKeyAndForwardedToOrigin_cookiesConfig :: Lens' ParametersInCacheKeyAndForwardedToOrigin CachePolicyCookiesConfig
-- | An object that determines whether any URL query strings in viewer
-- requests (and if so, which query strings) are included in the cache
-- key and automatically included in requests that CloudFront sends to
-- the origin.
parametersInCacheKeyAndForwardedToOrigin_queryStringsConfig :: Lens' ParametersInCacheKeyAndForwardedToOrigin CachePolicyQueryStringsConfig
-- | A complex type that contains a list of the paths that you want to
-- invalidate.
paths_items :: Lens' Paths (Maybe [Text])
-- | The number of invalidation paths specified for the objects that you
-- want to invalidate.
paths_quantity :: Lens' Paths Int
-- | The identifier of the public key.
publicKey_id :: Lens' PublicKey Text
-- | The date and time when the public key was uploaded.
publicKey_createdTime :: Lens' PublicKey UTCTime
-- | Configuration information about a public key that you can use with
-- signed URLs and signed cookies, or with field-level
-- encryption.
publicKey_publicKeyConfig :: Lens' PublicKey PublicKeyConfig
-- | A comment to describe the public key. The comment cannot be longer
-- than 128 characters.
publicKeyConfig_comment :: Lens' PublicKeyConfig (Maybe Text)
-- | A string included in the request to help make sure that the request
-- can't be replayed.
publicKeyConfig_callerReference :: Lens' PublicKeyConfig Text
-- | A name to help identify the public key.
publicKeyConfig_name :: Lens' PublicKeyConfig Text
-- | The public key that you can use with signed URLs and signed
-- cookies, or with field-level encryption.
publicKeyConfig_encodedKey :: Lens' PublicKeyConfig Text
-- | A list of public keys.
publicKeyList_items :: Lens' PublicKeyList (Maybe [PublicKeySummary])
-- | If there are more elements to be listed, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your public keys where you left off.
publicKeyList_nextMarker :: Lens' PublicKeyList (Maybe Text)
-- | The maximum number of public keys you want in the response.
publicKeyList_maxItems :: Lens' PublicKeyList Int
-- | The number of public keys in the list.
publicKeyList_quantity :: Lens' PublicKeyList Int
-- | A comment to describe the public key. The comment cannot be longer
-- than 128 characters.
publicKeySummary_comment :: Lens' PublicKeySummary (Maybe Text)
-- | The identifier of the public key.
publicKeySummary_id :: Lens' PublicKeySummary Text
-- | A name to help identify the public key.
publicKeySummary_name :: Lens' PublicKeySummary Text
-- | The date and time when the public key was uploaded.
publicKeySummary_createdTime :: Lens' PublicKeySummary UTCTime
-- | The public key.
publicKeySummary_encodedKey :: Lens' PublicKeySummary Text
-- | Query argument for field-level encryption query argument-profile
-- mapping.
queryArgProfile_queryArg :: Lens' QueryArgProfile Text
-- | ID of profile to use for field-level encryption query argument-profile
-- mapping
queryArgProfile_profileId :: Lens' QueryArgProfile Text
-- | Profiles specified for query argument-profile mapping for field-level
-- encryption.
queryArgProfileConfig_queryArgProfiles :: Lens' QueryArgProfileConfig (Maybe QueryArgProfiles)
-- | Flag to set if you want a request to be forwarded to the origin even
-- if the profile specified by the field-level encryption query argument,
-- fle-profile, is unknown.
queryArgProfileConfig_forwardWhenQueryArgProfileIsUnknown :: Lens' QueryArgProfileConfig Bool
-- | Number of items for query argument-profile mapping for field-level
-- encryption.
queryArgProfiles_items :: Lens' QueryArgProfiles (Maybe [QueryArgProfile])
-- | Number of profiles for query argument-profile mapping for field-level
-- encryption.
queryArgProfiles_quantity :: Lens' QueryArgProfiles Int
-- | A list that contains the query string parameters that you want
-- CloudFront to use as a basis for caching for a cache behavior. If
-- Quantity is 0, you can omit Items.
queryStringCacheKeys_items :: Lens' QueryStringCacheKeys (Maybe [Text])
-- | The number of whitelisted query string parameters for a cache
-- behavior.
queryStringCacheKeys_quantity :: Lens' QueryStringCacheKeys Int
-- | A list of query string names.
queryStringNames_items :: Lens' QueryStringNames (Maybe [Text])
-- | The number of query string names in the Items list.
queryStringNames_quantity :: Lens' QueryStringNames Int
-- | The Amazon Resource Name (ARN) of this real-time log configuration.
realtimeLogConfig_arn :: Lens' RealtimeLogConfig Text
-- | The unique name of this real-time log configuration.
realtimeLogConfig_name :: Lens' RealtimeLogConfig Text
-- | The sampling rate for this real-time log configuration. The sampling
-- rate determines the percentage of viewer requests that are represented
-- in the real-time log data. The sampling rate is an integer between 1
-- and 100, inclusive.
realtimeLogConfig_samplingRate :: Lens' RealtimeLogConfig Integer
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data for this real-time log configuration.
realtimeLogConfig_endPoints :: Lens' RealtimeLogConfig [EndPoint]
-- | A list of fields that are included in each real-time log record. In an
-- API response, the fields are provided in the same order in which they
-- are sent to the Amazon Kinesis data stream.
--
-- For more information about fields, see Real-time log configuration
-- fields in the Amazon CloudFront Developer Guide.
realtimeLogConfig_fields :: Lens' RealtimeLogConfig [Text]
-- | Contains the list of real-time log configurations.
realtimeLogConfigs_items :: Lens' RealtimeLogConfigs (Maybe [RealtimeLogConfig])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- real-time log configurations where you left off.
realtimeLogConfigs_nextMarker :: Lens' RealtimeLogConfigs (Maybe Text)
-- | The maximum number of real-time log configurations requested.
realtimeLogConfigs_maxItems :: Lens' RealtimeLogConfigs Int
-- | A flag that indicates whether there are more real-time log
-- configurations than are contained in this list.
realtimeLogConfigs_isTruncated :: Lens' RealtimeLogConfigs Bool
-- | This parameter indicates where this list of real-time log
-- configurations begins. This list includes real-time log configurations
-- that occur after the marker.
realtimeLogConfigs_marker :: Lens' RealtimeLogConfigs Text
-- | A flag that indicates whether additional CloudWatch metrics are
-- enabled for a given CloudFront distribution.
realtimeMetricsSubscriptionConfig_realtimeMetricsSubscriptionStatus :: Lens' RealtimeMetricsSubscriptionConfig RealtimeMetricsSubscriptionStatus
-- | The identifier for the response headers policy.
responseHeadersPolicy_id :: Lens' ResponseHeadersPolicy Text
-- | The date and time when the response headers policy was last modified.
responseHeadersPolicy_lastModifiedTime :: Lens' ResponseHeadersPolicy UTCTime
-- | A response headers policy configuration.
responseHeadersPolicy_responseHeadersPolicyConfig :: Lens' ResponseHeadersPolicy ResponseHeadersPolicyConfig
-- | The number of HTTP header names in the list.
responseHeadersPolicyAccessControlAllowHeaders_quantity :: Lens' ResponseHeadersPolicyAccessControlAllowHeaders Int
-- | The list of HTTP header names. You can specify * to allow all
-- headers.
responseHeadersPolicyAccessControlAllowHeaders_items :: Lens' ResponseHeadersPolicyAccessControlAllowHeaders [Text]
-- | The number of HTTP methods in the list.
responseHeadersPolicyAccessControlAllowMethods_quantity :: Lens' ResponseHeadersPolicyAccessControlAllowMethods Int
-- | The list of HTTP methods. Valid values are:
--
--
-- GET
-- DELETE
-- HEAD
-- OPTIONS
-- PATCH
-- POST
-- PUT
-- ALL
--
--
-- ALL is a special value that includes all of the listed HTTP
-- methods.
responseHeadersPolicyAccessControlAllowMethods_items :: Lens' ResponseHeadersPolicyAccessControlAllowMethods [ResponseHeadersPolicyAccessControlAllowMethodsValues]
-- | The number of origins in the list.
responseHeadersPolicyAccessControlAllowOrigins_quantity :: Lens' ResponseHeadersPolicyAccessControlAllowOrigins Int
-- | The list of origins (domain names). You can specify * to
-- allow all origins.
responseHeadersPolicyAccessControlAllowOrigins_items :: Lens' ResponseHeadersPolicyAccessControlAllowOrigins [Text]
-- | The list of HTTP headers. You can specify * to expose all
-- headers.
responseHeadersPolicyAccessControlExposeHeaders_items :: Lens' ResponseHeadersPolicyAccessControlExposeHeaders (Maybe [Text])
-- | The number of HTTP headers in the list.
responseHeadersPolicyAccessControlExposeHeaders_quantity :: Lens' ResponseHeadersPolicyAccessControlExposeHeaders Int
-- | A comment to describe the response headers policy.
--
-- The comment cannot be longer than 128 characters.
responseHeadersPolicyConfig_comment :: Lens' ResponseHeadersPolicyConfig (Maybe Text)
-- | A configuration for a set of HTTP response headers that are used for
-- cross-origin resource sharing (CORS).
responseHeadersPolicyConfig_corsConfig :: Lens' ResponseHeadersPolicyConfig (Maybe ResponseHeadersPolicyCorsConfig)
-- | A configuration for a set of custom HTTP response headers.
responseHeadersPolicyConfig_customHeadersConfig :: Lens' ResponseHeadersPolicyConfig (Maybe ResponseHeadersPolicyCustomHeadersConfig)
-- | A configuration for a set of HTTP headers to remove from the HTTP
-- response.
responseHeadersPolicyConfig_removeHeadersConfig :: Lens' ResponseHeadersPolicyConfig (Maybe ResponseHeadersPolicyRemoveHeadersConfig)
-- | A configuration for a set of security-related HTTP response headers.
responseHeadersPolicyConfig_securityHeadersConfig :: Lens' ResponseHeadersPolicyConfig (Maybe ResponseHeadersPolicySecurityHeadersConfig)
-- | A configuration for enabling the Server-Timing header in HTTP
-- responses sent from CloudFront.
responseHeadersPolicyConfig_serverTimingHeadersConfig :: Lens' ResponseHeadersPolicyConfig (Maybe ResponseHeadersPolicyServerTimingHeadersConfig)
-- | A name to identify the response headers policy.
--
-- The name must be unique for response headers policies in this Amazon
-- Web Services account.
responseHeadersPolicyConfig_name :: Lens' ResponseHeadersPolicyConfig Text
-- | A Boolean that determines whether CloudFront overrides the
-- Content-Security-Policy HTTP response header received from
-- the origin with the one specified in this response headers policy.
responseHeadersPolicyContentSecurityPolicy_override :: Lens' ResponseHeadersPolicyContentSecurityPolicy Bool
-- | The policy directives and their values that CloudFront includes as
-- values for the Content-Security-Policy HTTP response header.
responseHeadersPolicyContentSecurityPolicy_contentSecurityPolicy :: Lens' ResponseHeadersPolicyContentSecurityPolicy Text
-- | A Boolean that determines whether CloudFront overrides the
-- X-Content-Type-Options HTTP response header received from the
-- origin with the one specified in this response headers policy.
responseHeadersPolicyContentTypeOptions_override :: Lens' ResponseHeadersPolicyContentTypeOptions Bool
-- | A list of HTTP headers that CloudFront includes as values for the
-- Access-Control-Expose-Headers HTTP response header.
--
-- For more information about the Access-Control-Expose-Headers
-- HTTP response header, see Access-Control-Expose-Headers in the
-- MDN Web Docs.
responseHeadersPolicyCorsConfig_accessControlExposeHeaders :: Lens' ResponseHeadersPolicyCorsConfig (Maybe ResponseHeadersPolicyAccessControlExposeHeaders)
-- | A number that CloudFront uses as the value for the
-- Access-Control-Max-Age HTTP response header.
--
-- For more information about the Access-Control-Max-Age HTTP
-- response header, see Access-Control-Max-Age in the MDN Web
-- Docs.
responseHeadersPolicyCorsConfig_accessControlMaxAgeSec :: Lens' ResponseHeadersPolicyCorsConfig (Maybe Int)
-- | A list of origins (domain names) that CloudFront can use as the value
-- for the Access-Control-Allow-Origin HTTP response header.
--
-- For more information about the Access-Control-Allow-Origin
-- HTTP response header, see Access-Control-Allow-Origin in the
-- MDN Web Docs.
responseHeadersPolicyCorsConfig_accessControlAllowOrigins :: Lens' ResponseHeadersPolicyCorsConfig ResponseHeadersPolicyAccessControlAllowOrigins
-- | A list of HTTP header names that CloudFront includes as values for the
-- Access-Control-Allow-Headers HTTP response header.
--
-- For more information about the Access-Control-Allow-Headers
-- HTTP response header, see Access-Control-Allow-Headers in the
-- MDN Web Docs.
responseHeadersPolicyCorsConfig_accessControlAllowHeaders :: Lens' ResponseHeadersPolicyCorsConfig ResponseHeadersPolicyAccessControlAllowHeaders
-- | A list of HTTP methods that CloudFront includes as values for the
-- Access-Control-Allow-Methods HTTP response header.
--
-- For more information about the Access-Control-Allow-Methods
-- HTTP response header, see Access-Control-Allow-Methods in the
-- MDN Web Docs.
responseHeadersPolicyCorsConfig_accessControlAllowMethods :: Lens' ResponseHeadersPolicyCorsConfig ResponseHeadersPolicyAccessControlAllowMethods
-- | A Boolean that CloudFront uses as the value for the
-- Access-Control-Allow-Credentials HTTP response header.
--
-- For more information about the
-- Access-Control-Allow-Credentials HTTP response header, see
-- Access-Control-Allow-Credentials in the MDN Web Docs.
responseHeadersPolicyCorsConfig_accessControlAllowCredentials :: Lens' ResponseHeadersPolicyCorsConfig Bool
-- | A Boolean that determines whether CloudFront overrides HTTP response
-- headers received from the origin with the ones specified in this
-- response headers policy.
responseHeadersPolicyCorsConfig_originOverride :: Lens' ResponseHeadersPolicyCorsConfig Bool
-- | The HTTP response header name.
responseHeadersPolicyCustomHeader_header :: Lens' ResponseHeadersPolicyCustomHeader Text
-- | The value for the HTTP response header.
responseHeadersPolicyCustomHeader_value :: Lens' ResponseHeadersPolicyCustomHeader Text
-- | A Boolean that determines whether CloudFront overrides a response
-- header with the same name received from the origin with the header
-- specified here.
responseHeadersPolicyCustomHeader_override :: Lens' ResponseHeadersPolicyCustomHeader Bool
-- | The list of HTTP response headers and their values.
responseHeadersPolicyCustomHeadersConfig_items :: Lens' ResponseHeadersPolicyCustomHeadersConfig (Maybe [ResponseHeadersPolicyCustomHeader])
-- | The number of HTTP response headers in the list.
responseHeadersPolicyCustomHeadersConfig_quantity :: Lens' ResponseHeadersPolicyCustomHeadersConfig Int
-- | A Boolean that determines whether CloudFront overrides the
-- X-Frame-Options HTTP response header received from the origin
-- with the one specified in this response headers policy.
responseHeadersPolicyFrameOptions_override :: Lens' ResponseHeadersPolicyFrameOptions Bool
-- | The value of the X-Frame-Options HTTP response header. Valid
-- values are DENY and SAMEORIGIN.
--
-- For more information about these values, see X-Frame-Options in
-- the MDN Web Docs.
responseHeadersPolicyFrameOptions_frameOption :: Lens' ResponseHeadersPolicyFrameOptions FrameOptionsList
-- | The response headers policies in the list.
responseHeadersPolicyList_items :: Lens' ResponseHeadersPolicyList (Maybe [ResponseHeadersPolicySummary])
-- | If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- response headers policies where you left off.
responseHeadersPolicyList_nextMarker :: Lens' ResponseHeadersPolicyList (Maybe Text)
-- | The maximum number of response headers policies requested.
responseHeadersPolicyList_maxItems :: Lens' ResponseHeadersPolicyList Int
-- | The number of response headers policies returned.
responseHeadersPolicyList_quantity :: Lens' ResponseHeadersPolicyList Int
-- | A Boolean that determines whether CloudFront overrides the
-- Referrer-Policy HTTP response header received from the origin
-- with the one specified in this response headers policy.
responseHeadersPolicyReferrerPolicy_override :: Lens' ResponseHeadersPolicyReferrerPolicy Bool
-- | The value of the Referrer-Policy HTTP response header. Valid
-- values are:
--
--
--
-- For more information about these values, see Referrer-Policy in
-- the MDN Web Docs.
responseHeadersPolicyReferrerPolicy_referrerPolicy :: Lens' ResponseHeadersPolicyReferrerPolicy ReferrerPolicyList
-- | The HTTP header name.
responseHeadersPolicyRemoveHeader_header :: Lens' ResponseHeadersPolicyRemoveHeader Text
-- | The list of HTTP header names.
responseHeadersPolicyRemoveHeadersConfig_items :: Lens' ResponseHeadersPolicyRemoveHeadersConfig (Maybe [ResponseHeadersPolicyRemoveHeader])
-- | The number of HTTP header names in the list.
responseHeadersPolicyRemoveHeadersConfig_quantity :: Lens' ResponseHeadersPolicyRemoveHeadersConfig Int
-- | The policy directives and their values that CloudFront includes as
-- values for the Content-Security-Policy HTTP response header.
--
-- For more information about the Content-Security-Policy HTTP
-- response header, see Content-Security-Policy in the MDN Web
-- Docs.
responseHeadersPolicySecurityHeadersConfig_contentSecurityPolicy :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyContentSecurityPolicy)
-- | Determines whether CloudFront includes the
-- X-Content-Type-Options HTTP response header with its value
-- set to nosniff.
--
-- For more information about the X-Content-Type-Options HTTP
-- response header, see X-Content-Type-Options in the MDN Web
-- Docs.
responseHeadersPolicySecurityHeadersConfig_contentTypeOptions :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyContentTypeOptions)
-- | Determines whether CloudFront includes the X-Frame-Options
-- HTTP response header and the header's value.
--
-- For more information about the X-Frame-Options HTTP response
-- header, see X-Frame-Options in the MDN Web Docs.
responseHeadersPolicySecurityHeadersConfig_frameOptions :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyFrameOptions)
-- | Determines whether CloudFront includes the Referrer-Policy
-- HTTP response header and the header's value.
--
-- For more information about the Referrer-Policy HTTP response
-- header, see Referrer-Policy in the MDN Web Docs.
responseHeadersPolicySecurityHeadersConfig_referrerPolicy :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyReferrerPolicy)
-- | Determines whether CloudFront includes the
-- Strict-Transport-Security HTTP response header and the
-- header's value.
--
-- For more information about the Strict-Transport-Security HTTP
-- response header, see Strict-Transport-Security in the MDN Web
-- Docs.
responseHeadersPolicySecurityHeadersConfig_strictTransportSecurity :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyStrictTransportSecurity)
-- | Determines whether CloudFront includes the X-XSS-Protection
-- HTTP response header and the header's value.
--
-- For more information about the X-XSS-Protection HTTP response
-- header, see X-XSS-Protection in the MDN Web Docs.
responseHeadersPolicySecurityHeadersConfig_xSSProtection :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyXSSProtection)
-- | A number 0–100 (inclusive) that specifies the percentage of responses
-- that you want CloudFront to add the Server-Timing header to.
-- When you set the sampling rate to 100, CloudFront adds the
-- Server-Timing header to the HTTP response for every request
-- that matches the cache behavior that this response headers policy is
-- attached to. When you set it to 50, CloudFront adds the header to 50%
-- of the responses for requests that match the cache behavior. You can
-- set the sampling rate to any number 0–100 with up to four decimal
-- places.
responseHeadersPolicyServerTimingHeadersConfig_samplingRate :: Lens' ResponseHeadersPolicyServerTimingHeadersConfig (Maybe Double)
-- | A Boolean that determines whether CloudFront adds the
-- Server-Timing header to HTTP responses that it sends in
-- response to requests that match a cache behavior that's associated
-- with this response headers policy.
responseHeadersPolicyServerTimingHeadersConfig_enabled :: Lens' ResponseHeadersPolicyServerTimingHeadersConfig Bool
-- | A Boolean that determines whether CloudFront includes the
-- includeSubDomains directive in the
-- Strict-Transport-Security HTTP response header.
responseHeadersPolicyStrictTransportSecurity_includeSubdomains :: Lens' ResponseHeadersPolicyStrictTransportSecurity (Maybe Bool)
-- | A Boolean that determines whether CloudFront includes the
-- preload directive in the Strict-Transport-Security
-- HTTP response header.
responseHeadersPolicyStrictTransportSecurity_preload :: Lens' ResponseHeadersPolicyStrictTransportSecurity (Maybe Bool)
-- | A Boolean that determines whether CloudFront overrides the
-- Strict-Transport-Security HTTP response header received from
-- the origin with the one specified in this response headers policy.
responseHeadersPolicyStrictTransportSecurity_override :: Lens' ResponseHeadersPolicyStrictTransportSecurity Bool
-- | A number that CloudFront uses as the value for the max-age
-- directive in the Strict-Transport-Security HTTP response
-- header.
responseHeadersPolicyStrictTransportSecurity_accessControlMaxAgeSec :: Lens' ResponseHeadersPolicyStrictTransportSecurity Int
-- | The type of response headers policy, either managed (created
-- by Amazon Web Services) or custom (created in this Amazon Web
-- Services account).
responseHeadersPolicySummary_type :: Lens' ResponseHeadersPolicySummary ResponseHeadersPolicyType
-- | The response headers policy.
responseHeadersPolicySummary_responseHeadersPolicy :: Lens' ResponseHeadersPolicySummary ResponseHeadersPolicy
-- | A Boolean that determines whether CloudFront includes the
-- mode=block directive in the X-XSS-Protection header.
--
-- For more information about this directive, see X-XSS-Protection
-- in the MDN Web Docs.
responseHeadersPolicyXSSProtection_modeBlock :: Lens' ResponseHeadersPolicyXSSProtection (Maybe Bool)
-- | A reporting URI, which CloudFront uses as the value of the
-- report directive in the X-XSS-Protection header.
--
-- You cannot specify a ReportUri when ModeBlock is
-- true.
--
-- For more information about using a reporting URL, see
-- X-XSS-Protection in the MDN Web Docs.
responseHeadersPolicyXSSProtection_reportUri :: Lens' ResponseHeadersPolicyXSSProtection (Maybe Text)
-- | A Boolean that determines whether CloudFront overrides the
-- X-XSS-Protection HTTP response header received from the
-- origin with the one specified in this response headers policy.
responseHeadersPolicyXSSProtection_override :: Lens' ResponseHeadersPolicyXSSProtection Bool
-- | A Boolean that determines the value of the X-XSS-Protection
-- HTTP response header. When this setting is true, the value of
-- the X-XSS-Protection header is 1. When this setting
-- is false, the value of the X-XSS-Protection header
-- is 0.
--
-- For more information about these settings, see X-XSS-Protection
-- in the MDN Web Docs.
responseHeadersPolicyXSSProtection_protection :: Lens' ResponseHeadersPolicyXSSProtection Bool
-- | A complex type that controls the countries in which your content is
-- distributed. CloudFront determines the location of your users using
-- MaxMind GeoIP databases.
restrictions_geoRestriction :: Lens' Restrictions GeoRestriction
-- | The DNS name of the Amazon S3 origin.
s3Origin_domainName :: Lens' S3Origin Text
-- | The CloudFront origin access identity to associate with the
-- distribution. Use an origin access identity to configure the
-- distribution so that end users can only access objects in an Amazon S3
-- bucket through CloudFront.
--
-- If you want end users to be able to access objects using either the
-- CloudFront URL or the Amazon S3 URL, specify an empty
-- OriginAccessIdentity element.
--
-- To delete the origin access identity from an existing distribution,
-- update the distribution configuration and include an empty
-- OriginAccessIdentity element.
--
-- To replace the origin access identity, update the distribution
-- configuration and specify the new origin access identity.
--
-- For more information, see Using an Origin Access Identity to
-- Restrict Access to Your Amazon S3 Content in the Amazon
-- CloudFront Developer Guide.
s3Origin_originAccessIdentity :: Lens' S3Origin Text
-- | The CloudFront origin access identity to associate with the origin.
-- Use an origin access identity to configure the origin so that viewers
-- can only access objects in an Amazon S3 bucket through
-- CloudFront. The format of the value is:
--
-- origin-access-identity/cloudfront/ID-of-origin-access-identity
--
-- where ID-of-origin-access-identity
-- is the value that CloudFront returned in the ID element when
-- you created the origin access identity.
--
-- If you want viewers to be able to access objects using either the
-- CloudFront URL or the Amazon S3 URL, specify an empty
-- OriginAccessIdentity element.
--
-- To delete the origin access identity from an existing distribution,
-- update the distribution configuration and include an empty
-- OriginAccessIdentity element.
--
-- To replace the origin access identity, update the distribution
-- configuration and specify the new origin access identity.
--
-- For more information about the origin access identity, see Serving
-- Private Content through CloudFront in the Amazon CloudFront
-- Developer Guide.
s3OriginConfig_originAccessIdentity :: Lens' S3OriginConfig Text
-- | The amount of time after which you want sessions to cease if no
-- requests are received. Allowed values are 300–3600 seconds (5–60
-- minutes).
--
-- The value must be less than or equal to MaximumTTL.
sessionStickinessConfig_idleTTL :: Lens' SessionStickinessConfig Int
-- | The maximum amount of time to consider requests from the viewer as
-- being part of the same session. Allowed values are 300–3600 seconds
-- (5–60 minutes).
--
-- The value must be less than or equal to IdleTTL.
sessionStickinessConfig_maximumTTL :: Lens' SessionStickinessConfig Int
-- | An Amazon Web Services account number that contains active CloudFront
-- key pairs that CloudFront can use to verify the signatures of signed
-- URLs and signed cookies. If the Amazon Web Services account that owns
-- the key pairs is the same account that owns the CloudFront
-- distribution, the value of this field is self.
signer_awsAccountNumber :: Lens' Signer (Maybe Text)
-- | A list of CloudFront key pair identifiers.
signer_keyPairIds :: Lens' Signer (Maybe KeyPairIds)
-- | The CloudFront domain name of the staging distribution.
stagingDistributionDnsNames_items :: Lens' StagingDistributionDnsNames (Maybe [Text])
-- | The number of CloudFront domain names in your staging distribution.
stagingDistributionDnsNames_quantity :: Lens' StagingDistributionDnsNames Int
-- | The number of status codes.
statusCodes_quantity :: Lens' StatusCodes Int
-- | The items (status codes) for an origin group.
statusCodes_items :: Lens' StatusCodes (NonEmpty Int)
-- | The date and time that the distribution was last modified.
streamingDistribution_lastModifiedTime :: Lens' StreamingDistribution (Maybe UTCTime)
-- | The identifier for the RTMP distribution. For example:
-- EGTXBD79EXAMPLE.
streamingDistribution_id :: Lens' StreamingDistribution Text
-- | The ARN (Amazon Resource Name) for the distribution. For example:
-- arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
streamingDistribution_arn :: Lens' StreamingDistribution Text
-- | The current status of the RTMP distribution. When the status is
-- Deployed, the distribution's information is propagated to all
-- CloudFront edge locations.
streamingDistribution_status :: Lens' StreamingDistribution Text
-- | The domain name that corresponds to the streaming distribution, for
-- example, s5c39gqb8ow64r.cloudfront.net.
streamingDistribution_domainName :: Lens' StreamingDistribution Text
-- | A complex type that lists the Amazon Web Services accounts, if any,
-- that you included in the TrustedSigners complex type for this
-- distribution. These are the accounts that you want to allow to create
-- signed URLs for private content.
--
-- The Signer complex type lists the Amazon Web Services account
-- number of the trusted signer or self if the signer is the
-- Amazon Web Services account that created the distribution. The
-- Signer element also includes the IDs of any active CloudFront
-- key pairs that are associated with the trusted signer's Amazon Web
-- Services account. If no KeyPairId element appears for a
-- Signer, that signer can't create signed URLs.
--
-- For more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
streamingDistribution_activeTrustedSigners :: Lens' StreamingDistribution ActiveTrustedSigners
-- | The current configuration information for the RTMP distribution.
streamingDistribution_streamingDistributionConfig :: Lens' StreamingDistribution StreamingDistributionConfig
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this streaming distribution.
streamingDistributionConfig_aliases :: Lens' StreamingDistributionConfig (Maybe Aliases)
-- | A complex type that controls whether access logs are written for the
-- streaming distribution.
streamingDistributionConfig_logging :: Lens' StreamingDistributionConfig (Maybe StreamingLoggingConfig)
-- | A complex type that contains information about price class for this
-- streaming distribution.
streamingDistributionConfig_priceClass :: Lens' StreamingDistributionConfig (Maybe PriceClass)
-- | A unique value (for example, a date-time stamp) that ensures that the
-- request can't be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the StreamingDistributionConfig object),
-- CloudFront creates a new distribution.
--
-- If CallerReference is a value that you already sent in a
-- previous request to create a distribution, CloudFront returns a
-- DistributionAlreadyExists error.
streamingDistributionConfig_callerReference :: Lens' StreamingDistributionConfig Text
-- | A complex type that contains information about the Amazon S3 bucket
-- from which you want CloudFront to get your media files for
-- distribution.
streamingDistributionConfig_s3Origin :: Lens' StreamingDistributionConfig S3Origin
-- | Any comments you want to include about the streaming distribution.
streamingDistributionConfig_comment :: Lens' StreamingDistributionConfig Text
-- | A complex type that specifies any Amazon Web Services accounts that
-- you want to permit to create signed URLs for private content. If you
-- want the distribution to use signed URLs, include this element; if you
-- want the distribution to use public URLs, remove this element. For
-- more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
streamingDistributionConfig_trustedSigners :: Lens' StreamingDistributionConfig TrustedSigners
-- | Whether the streaming distribution is enabled to accept user requests
-- for content.
streamingDistributionConfig_enabled :: Lens' StreamingDistributionConfig Bool
-- | A streaming distribution Configuration.
streamingDistributionConfigWithTags_streamingDistributionConfig :: Lens' StreamingDistributionConfigWithTags StreamingDistributionConfig
-- | A complex type that contains zero or more Tag elements.
streamingDistributionConfigWithTags_tags :: Lens' StreamingDistributionConfigWithTags Tags
-- | A complex type that contains one StreamingDistributionSummary
-- element for each distribution that was created by the current Amazon
-- Web Services account.
streamingDistributionList_items :: Lens' StreamingDistributionList (Maybe [StreamingDistributionSummary])
-- | If IsTruncated is true, this element is present and
-- contains the value you can use for the Marker request
-- parameter to continue listing your RTMP distributions where they left
-- off.
streamingDistributionList_nextMarker :: Lens' StreamingDistributionList (Maybe Text)
-- | The value you provided for the Marker request parameter.
streamingDistributionList_marker :: Lens' StreamingDistributionList Text
-- | The value you provided for the MaxItems request parameter.
streamingDistributionList_maxItems :: Lens' StreamingDistributionList Int
-- | 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.
streamingDistributionList_isTruncated :: Lens' StreamingDistributionList Bool
-- | The number of streaming distributions that were created by the current
-- Amazon Web Services account.
streamingDistributionList_quantity :: Lens' StreamingDistributionList Int
-- | The identifier for the distribution, for example,
-- EDFDVBD632BHDS5.
streamingDistributionSummary_id :: Lens' StreamingDistributionSummary Text
-- | The ARN (Amazon Resource Name) for the streaming distribution. For
-- example:
-- arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
streamingDistributionSummary_arn :: Lens' StreamingDistributionSummary Text
-- | Indicates the current status of the distribution. When the status is
-- Deployed, the distribution's information is fully propagated
-- throughout the Amazon CloudFront system.
streamingDistributionSummary_status :: Lens' StreamingDistributionSummary Text
-- | The date and time the distribution was last modified.
streamingDistributionSummary_lastModifiedTime :: Lens' StreamingDistributionSummary UTCTime
-- | The domain name corresponding to the distribution, for example,
-- d111111abcdef8.cloudfront.net.
streamingDistributionSummary_domainName :: Lens' StreamingDistributionSummary Text
-- | A complex type that contains information about the Amazon S3 bucket
-- from which you want CloudFront to get your media files for
-- distribution.
streamingDistributionSummary_s3Origin :: Lens' StreamingDistributionSummary S3Origin
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this streaming distribution.
streamingDistributionSummary_aliases :: Lens' StreamingDistributionSummary Aliases
-- | A complex type that specifies the Amazon Web Services accounts, if
-- any, that you want to allow to create signed URLs for private content.
-- If you want to require signed URLs in requests for objects in the
-- target origin that match the PathPattern for this cache
-- behavior, specify true for Enabled, and specify the
-- applicable values for Quantity and Items.If you
-- don't want to require signed URLs in requests for objects that match
-- PathPattern, specify false for Enabled and
-- 0 for Quantity. Omit Items. To add, change,
-- or remove one or more trusted signers, change Enabled to
-- true (if it's currently false), change
-- Quantity as applicable, and specify all of the trusted
-- signers that you want to include in the updated distribution.
--
-- For more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
streamingDistributionSummary_trustedSigners :: Lens' StreamingDistributionSummary TrustedSigners
-- | The comment originally specified when this distribution was created.
streamingDistributionSummary_comment :: Lens' StreamingDistributionSummary Text
-- | A complex type that contains information about price class for this
-- streaming distribution.
streamingDistributionSummary_priceClass :: Lens' StreamingDistributionSummary PriceClass
-- | Whether the distribution is enabled to accept end user requests for
-- content.
streamingDistributionSummary_enabled :: Lens' StreamingDistributionSummary Bool
-- | Specifies whether you want CloudFront to save access logs to an Amazon
-- S3 bucket. If you don't 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.
streamingLoggingConfig_enabled :: Lens' StreamingLoggingConfig Bool
-- | The Amazon S3 bucket to store the access logs in, for example,
-- myawslogbucket.s3.amazonaws.com.
streamingLoggingConfig_bucket :: Lens' StreamingLoggingConfig Text
-- | An optional string that you want CloudFront to prefix to the access
-- log filenames for this streaming distribution, for example,
-- myprefix/. If you want to enable logging, but you don't want
-- to specify a prefix, you still must include an empty Prefix
-- element in the Logging element.
streamingLoggingConfig_prefix :: Lens' StreamingLoggingConfig Text
-- | A string that contains an optional Tag value.
--
-- The string length should be between 0 and 256 characters. Valid
-- characters include a-z, A-Z, 0-9, space,
-- and the special characters _ - . : / = + @.
tag_value :: Lens' Tag (Maybe Text)
-- | A string that contains Tag key.
--
-- The string length should be between 1 and 128 characters. Valid
-- characters include a-z, A-Z, 0-9, space,
-- and the special characters _ - . : / = + @.
tag_key :: Lens' Tag Text
-- | A complex type that contains Tag key elements.
tagKeys_items :: Lens' TagKeys (Maybe [Text])
-- | A complex type that contains Tag elements.
tags_items :: Lens' Tags (Maybe [Tag])
-- | The amount of time that the function took to run as a percentage of
-- the maximum allowed time. For example, a compute utilization of 35
-- means that the function completed in 35% of the maximum allowed time.
testResult_computeUtilization :: Lens' TestResult (Maybe Text)
-- | If the result of testing the function was an error, this field
-- contains the error message.
testResult_functionErrorMessage :: Lens' TestResult (Maybe Text)
-- | Contains the log lines that the function wrote (if any) when running
-- the test.
testResult_functionExecutionLogs :: Lens' TestResult (Maybe [Text])
-- | The event object returned by the function. For more information about
-- the structure of the event object, see Event object structure
-- in the Amazon CloudFront Developer Guide.
testResult_functionOutput :: Lens' TestResult (Maybe Text)
-- | Contains configuration information and metadata about the CloudFront
-- function that was tested.
testResult_functionSummary :: Lens' TestResult (Maybe FunctionSummary)
-- | Determines which HTTP requests are sent to the staging distribution.
trafficConfig_singleHeaderConfig :: Lens' TrafficConfig (Maybe ContinuousDeploymentSingleHeaderConfig)
-- | Contains the percentage of traffic to send to the staging
-- distribution.
trafficConfig_singleWeightConfig :: Lens' TrafficConfig (Maybe ContinuousDeploymentSingleWeightConfig)
-- | The type of traffic configuration.
trafficConfig_type :: Lens' TrafficConfig ContinuousDeploymentPolicyType
-- | A list of key groups identifiers.
trustedKeyGroups_items :: Lens' TrustedKeyGroups (Maybe [Text])
-- | This field is true if any of the key groups in the list have
-- public keys that CloudFront can use to verify the signatures of signed
-- URLs and signed cookies. If not, this field is false.
trustedKeyGroups_enabled :: Lens' TrustedKeyGroups Bool
-- | The number of key groups in the list.
trustedKeyGroups_quantity :: Lens' TrustedKeyGroups Int
-- | A list of Amazon Web Services account identifiers.
trustedSigners_items :: Lens' TrustedSigners (Maybe [Text])
-- | This field is true if any of the Amazon Web Services accounts
-- have public keys that CloudFront can use to verify the signatures of
-- signed URLs and signed cookies. If not, this field is false.
trustedSigners_enabled :: Lens' TrustedSigners Bool
-- | The number of Amazon Web Services accounts in the list.
trustedSigners_quantity :: Lens' TrustedSigners Int
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs) and the SSL/TLS certificate is stored in Certificate
-- Manager (ACM), provide the Amazon Resource Name (ARN) of the ACM
-- certificate. CloudFront only supports ACM certificates in the US East
-- (N. Virginia) Region (us-east-1).
--
-- If you specify an ACM certificate ARN, you must also specify values
-- for MinimumProtocolVersion and SSLSupportMethod.
viewerCertificate_aCMCertificateArn :: Lens' ViewerCertificate (Maybe Text)
-- | This field is deprecated. Use one of the following fields instead:
--
--
viewerCertificate_certificate :: Lens' ViewerCertificate (Maybe Text)
-- | This field is deprecated. Use one of the following fields instead:
--
--
viewerCertificate_certificateSource :: Lens' ViewerCertificate (Maybe CertificateSource)
-- | If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net, set this field to
-- true.
--
-- If the distribution uses Aliases (alternate domain names or
-- CNAMEs), set this field to false and specify values for the
-- following fields:
--
--
-- - ACMCertificateArn or IAMCertificateId (specify a
-- value for one, not both)
-- MinimumProtocolVersion
-- SSLSupportMethod
--
viewerCertificate_cloudFrontDefaultCertificate :: Lens' ViewerCertificate (Maybe Bool)
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs) and the SSL/TLS certificate is stored in Identity and
-- Access Management (IAM), provide the ID of the IAM certificate.
--
-- If you specify an IAM certificate ID, you must also specify values for
-- MinimumProtocolVersion and SSLSupportMethod.
viewerCertificate_iAMCertificateId :: Lens' ViewerCertificate (Maybe Text)
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs), specify the security policy that you want CloudFront to use
-- for HTTPS connections with viewers. The security policy determines two
-- settings:
--
--
-- - The minimum SSL/TLS protocol that CloudFront can use to
-- communicate with viewers.
-- - The ciphers that CloudFront can use to encrypt the content that it
-- returns to viewers.
--
--
-- For more information, see Security Policy and Supported
-- Protocols and Ciphers Between Viewers and CloudFront in the
-- Amazon CloudFront Developer Guide.
--
-- On the CloudFront console, this setting is called Security
-- Policy.
--
-- When you're using SNI only (you set SSLSupportMethod to
-- sni-only), you must specify TLSv1 or higher.
--
-- If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net (you set
-- CloudFrontDefaultCertificate to true), CloudFront
-- automatically sets the security policy to TLSv1 regardless of
-- the value that you set here.
viewerCertificate_minimumProtocolVersion :: Lens' ViewerCertificate (Maybe MinimumProtocolVersion)
-- | If the distribution uses Aliases (alternate domain names or
-- CNAMEs), specify which viewers the distribution accepts HTTPS
-- connections from.
--
--
-- - sni-only – The distribution accepts HTTPS connections
-- from only viewers that support server name indication (SNI).
-- This is recommended. Most browsers and clients support SNI.
-- - vip – The distribution accepts HTTPS connections from all
-- viewers including those that don't support SNI. This is not
-- recommended, and results in additional monthly charges from
-- CloudFront.
-- - static-ip - Do not specify this value unless your
-- distribution has been enabled for this feature by the CloudFront team.
-- If you have a use case that requires static IP addresses for a
-- distribution, contact CloudFront through the Amazon Web Services
-- Support Center.
--
--
-- If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net, don't set a value for this
-- field.
viewerCertificate_sSLSupportMethod :: Lens' ViewerCertificate (Maybe SSLSupportMethod)
module Amazonka.CloudFront.Waiters
-- | Polls GetDistribution every 60 seconds until a successful state
-- is reached. An error is returned after 35 failed checks.
newDistributionDeployed :: Wait GetDistribution
-- | Polls GetInvalidation every 20 seconds until a successful state
-- is reached. An error is returned after 30 failed checks.
newInvalidationCompleted :: Wait GetInvalidation
-- | Polls GetStreamingDistribution every 60 seconds until a
-- successful state is reached. An error is returned after 25 failed
-- checks.
newStreamingDistributionDeployed :: Wait GetStreamingDistribution
-- | Derived from API version 2020-05-31 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- Amazon CloudFront
--
-- This is the Amazon CloudFront API Reference. This guide is for
-- developers who need detailed information about CloudFront API actions,
-- data types, and errors. For detailed information about CloudFront
-- features, see the Amazon CloudFront Developer Guide.
module Amazonka.CloudFront
-- | API version 2020-05-31 of the Amazon CloudFront SDK
-- configuration.
defaultService :: Service
-- | Access denied.
_AccessDenied :: AsError a => Fold a ServiceError
-- | Invalidation batch specified is too large.
_BatchTooLarge :: AsError a => Fold a ServiceError
-- | The CNAME specified is already defined for CloudFront.
_CNAMEAlreadyExists :: AsError a => Fold a ServiceError
-- | A cache policy with this name already exists. You must provide a
-- unique name. To modify an existing cache policy, use
-- UpdateCachePolicy.
_CachePolicyAlreadyExists :: AsError a => Fold a ServiceError
-- | Cannot delete the cache policy because it is attached to one or more
-- cache behaviors.
_CachePolicyInUse :: AsError a => Fold a ServiceError
-- | You can't change the value of a public key.
_CannotChangeImmutablePublicKeyFields :: AsError a => Fold a ServiceError
-- | If the CallerReference is a value you already sent in a
-- previous request to create an identity but the content of the
-- CloudFrontOriginAccessIdentityConfig is different from the
-- original request, CloudFront returns a
-- CloudFrontOriginAccessIdentityAlreadyExists error.
_CloudFrontOriginAccessIdentityAlreadyExists :: AsError a => Fold a ServiceError
-- | The Origin Access Identity specified is already in use.
_CloudFrontOriginAccessIdentityInUse :: AsError a => Fold a ServiceError
-- | A continuous deployment policy with this configuration already exists.
_ContinuousDeploymentPolicyAlreadyExists :: AsError a => Fold a ServiceError
-- | You cannot delete a continuous deployment policy that is associated
-- with a primary distribution.
_ContinuousDeploymentPolicyInUse :: AsError a => Fold a ServiceError
-- | The caller reference you attempted to create the distribution with is
-- associated with another distribution.
_DistributionAlreadyExists :: AsError a => Fold a ServiceError
-- | The specified CloudFront distribution is not disabled. You must
-- disable the distribution before you can delete it.
_DistributionNotDisabled :: AsError a => Fold a ServiceError
-- | The specified configuration for field-level encryption already exists.
_FieldLevelEncryptionConfigAlreadyExists :: AsError a => Fold a ServiceError
-- | The specified configuration for field-level encryption is in use.
_FieldLevelEncryptionConfigInUse :: AsError a => Fold a ServiceError
-- | The specified profile for field-level encryption already exists.
_FieldLevelEncryptionProfileAlreadyExists :: AsError a => Fold a ServiceError
-- | The specified profile for field-level encryption is in use.
_FieldLevelEncryptionProfileInUse :: AsError a => Fold a ServiceError
-- | The maximum size of a profile for field-level encryption was exceeded.
_FieldLevelEncryptionProfileSizeExceeded :: AsError a => Fold a ServiceError
-- | A function with the same name already exists in this Amazon Web
-- Services account. To create a function, you must provide a unique
-- name. To update an existing function, use UpdateFunction.
_FunctionAlreadyExists :: AsError a => Fold a ServiceError
-- | Cannot delete the function because it's attached to one or more cache
-- behaviors.
_FunctionInUse :: AsError a => Fold a ServiceError
-- | The function is too large. For more information, see Quotas
-- (formerly known as limits) in the Amazon CloudFront Developer
-- Guide.
_FunctionSizeLimitExceeded :: AsError a => Fold a ServiceError
-- | You cannot delete a managed policy.
_IllegalDelete :: AsError a => Fold a ServiceError
-- | The specified configuration for field-level encryption can't be
-- associated with the specified cache behavior.
_IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior :: AsError a => Fold a ServiceError
-- | An origin cannot contain both an origin access control (OAC) and an
-- origin access identity (OAI).
_IllegalOriginAccessConfiguration :: AsError a => Fold a ServiceError
-- | The update contains modifications that are not allowed.
_IllegalUpdate :: AsError a => Fold a ServiceError
-- | The value of Quantity and the size of Items don't
-- match.
_InconsistentQuantities :: AsError a => Fold a ServiceError
-- | An argument is invalid.
_InvalidArgument :: AsError a => Fold a ServiceError
-- | The default root object file name is too big or contains an invalid
-- character.
_InvalidDefaultRootObject :: AsError a => Fold a ServiceError
-- | An origin access control is associated with an origin whose domain
-- name is not supported.
_InvalidDomainNameForOriginAccessControl :: AsError a => Fold a ServiceError
-- | An invalid error code was specified.
_InvalidErrorCode :: AsError a => Fold a ServiceError
-- | Your request contains forward cookies option which doesn't match with
-- the expectation for the whitelisted list of cookie names.
-- Either list of cookie names has been specified when not allowed or
-- list of cookie names is missing when expected.
_InvalidForwardCookies :: AsError a => Fold a ServiceError
-- | A CloudFront function association is invalid.
_InvalidFunctionAssociation :: AsError a => Fold a ServiceError
-- | The specified geo restriction parameter is not valid.
_InvalidGeoRestrictionParameter :: AsError a => Fold a ServiceError
-- | The headers specified are not valid for an Amazon S3 origin.
_InvalidHeadersForS3Origin :: AsError a => Fold a ServiceError
-- | The If-Match version is missing or not valid.
_InvalidIfMatchVersion :: AsError a => Fold a ServiceError
-- | The specified Lambda@Edge function association is invalid.
_InvalidLambdaFunctionAssociation :: AsError a => Fold a ServiceError
-- | The location code specified is not valid.
_InvalidLocationCode :: AsError a => Fold a ServiceError
-- | The minimum protocol version specified is not valid.
_InvalidMinimumProtocolVersion :: AsError a => Fold a ServiceError
-- | The Amazon S3 origin server specified does not refer to a valid Amazon
-- S3 bucket.
_InvalidOrigin :: AsError a => Fold a ServiceError
-- | The origin access control is not valid.
_InvalidOriginAccessControl :: AsError a => Fold a ServiceError
-- | The origin access identity is not valid or doesn't exist.
_InvalidOriginAccessIdentity :: AsError a => Fold a ServiceError
-- | The keep alive timeout specified for the origin is not valid.
_InvalidOriginKeepaliveTimeout :: AsError a => Fold a ServiceError
-- | The read timeout specified for the origin is not valid.
_InvalidOriginReadTimeout :: AsError a => Fold a ServiceError
-- | You cannot specify SSLv3 as the minimum protocol version if you only
-- want to support only clients that support Server Name Indication
-- (SNI).
_InvalidProtocolSettings :: AsError a => Fold a ServiceError
-- | The query string parameters specified are not valid.
_InvalidQueryStringParameters :: AsError a => Fold a ServiceError
-- | The relative path is too big, is not URL-encoded, or does not begin
-- with a slash (/).
_InvalidRelativePath :: AsError a => Fold a ServiceError
-- | This operation requires the HTTPS protocol. Ensure that you specify
-- the HTTPS protocol in your request, or omit the
-- RequiredProtocols element from your distribution
-- configuration.
_InvalidRequiredProtocol :: AsError a => Fold a ServiceError
-- | A response code is not valid.
_InvalidResponseCode :: AsError a => Fold a ServiceError
-- | The TTL order specified is not valid.
_InvalidTTLOrder :: AsError a => Fold a ServiceError
-- | The tagging specified is not valid.
_InvalidTagging :: AsError a => Fold a ServiceError
-- | A viewer certificate specified is not valid.
_InvalidViewerCertificate :: AsError a => Fold a ServiceError
-- | A web ACL ID specified is not valid. To specify a web ACL created
-- using the latest version of WAF, use the ACL ARN, for example
-- arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a.
-- To specify a web ACL created using WAF Classic, use the ACL ID, for
-- example 473e64fd-f30b-4765-81a0-62ad96dd167a.
_InvalidWebACLId :: AsError a => Fold a ServiceError
-- | A key group with this name already exists. You must provide a unique
-- name. To modify an existing key group, use UpdateKeyGroup.
_KeyGroupAlreadyExists :: AsError a => Fold a ServiceError
-- | This operation requires a body. Ensure that the body is present and
-- the Content-Type header is set.
_MissingBody :: AsError a => Fold a ServiceError
-- | A monitoring subscription already exists for the specified
-- distribution.
_MonitoringSubscriptionAlreadyExists :: AsError a => Fold a ServiceError
-- | The cache policy does not exist.
_NoSuchCachePolicy :: AsError a => Fold a ServiceError
-- | The specified origin access identity does not exist.
_NoSuchCloudFrontOriginAccessIdentity :: AsError a => Fold a ServiceError
-- | The continuous deployment policy doesn't exist.
_NoSuchContinuousDeploymentPolicy :: AsError a => Fold a ServiceError
-- | The specified distribution does not exist.
_NoSuchDistribution :: AsError a => Fold a ServiceError
-- | The specified configuration for field-level encryption doesn't exist.
_NoSuchFieldLevelEncryptionConfig :: AsError a => Fold a ServiceError
-- | The specified profile for field-level encryption doesn't exist.
_NoSuchFieldLevelEncryptionProfile :: AsError a => Fold a ServiceError
-- | The function does not exist.
_NoSuchFunctionExists :: AsError a => Fold a ServiceError
-- | The specified invalidation does not exist.
_NoSuchInvalidation :: AsError a => Fold a ServiceError
-- | A monitoring subscription does not exist for the specified
-- distribution.
_NoSuchMonitoringSubscription :: AsError a => Fold a ServiceError
-- | No origin exists with the specified Origin Id.
_NoSuchOrigin :: AsError a => Fold a ServiceError
-- | The origin access control does not exist.
_NoSuchOriginAccessControl :: AsError a => Fold a ServiceError
-- | The origin request policy does not exist.
_NoSuchOriginRequestPolicy :: AsError a => Fold a ServiceError
-- | The specified public key doesn't exist.
_NoSuchPublicKey :: AsError a => Fold a ServiceError
-- | The real-time log configuration does not exist.
_NoSuchRealtimeLogConfig :: AsError a => Fold a ServiceError
-- | A resource that was specified is not valid.
_NoSuchResource :: AsError a => Fold a ServiceError
-- | The response headers policy does not exist.
_NoSuchResponseHeadersPolicy :: AsError a => Fold a ServiceError
-- | The specified streaming distribution does not exist.
_NoSuchStreamingDistribution :: AsError a => Fold a ServiceError
-- | An origin access control with the specified parameters already exists.
_OriginAccessControlAlreadyExists :: AsError a => Fold a ServiceError
-- | Cannot delete the origin access control because it's in use by one or
-- more distributions.
_OriginAccessControlInUse :: AsError a => Fold a ServiceError
-- | An origin request policy with this name already exists. You must
-- provide a unique name. To modify an existing origin request policy,
-- use UpdateOriginRequestPolicy.
_OriginRequestPolicyAlreadyExists :: AsError a => Fold a ServiceError
-- | Cannot delete the origin request policy because it is attached to one
-- or more cache behaviors.
_OriginRequestPolicyInUse :: AsError a => Fold a ServiceError
-- | The precondition in one or more of the request fields evaluated to
-- false.
_PreconditionFailed :: AsError a => Fold a ServiceError
-- | The specified public key already exists.
_PublicKeyAlreadyExists :: AsError a => Fold a ServiceError
-- | The specified public key is in use.
_PublicKeyInUse :: AsError a => Fold a ServiceError
-- | No profile specified for the field-level encryption query argument.
_QueryArgProfileEmpty :: AsError a => Fold a ServiceError
-- | A real-time log configuration with this name already exists. You must
-- provide a unique name. To modify an existing real-time log
-- configuration, use UpdateRealtimeLogConfig.
_RealtimeLogConfigAlreadyExists :: AsError a => Fold a ServiceError
-- | Cannot delete the real-time log configuration because it is attached
-- to one or more cache behaviors.
_RealtimeLogConfigInUse :: AsError a => Fold a ServiceError
-- | The specified real-time log configuration belongs to a different
-- Amazon Web Services account.
_RealtimeLogConfigOwnerMismatch :: AsError a => Fold a ServiceError
-- | Cannot delete this resource because it is in use.
_ResourceInUse :: AsError a => Fold a ServiceError
-- | A response headers policy with this name already exists. You must
-- provide a unique name. To modify an existing response headers policy,
-- use UpdateResponseHeadersPolicy.
_ResponseHeadersPolicyAlreadyExists :: AsError a => Fold a ServiceError
-- | Cannot delete the response headers policy because it is attached to
-- one or more cache behaviors in a CloudFront distribution.
_ResponseHeadersPolicyInUse :: AsError a => Fold a ServiceError
-- | A continuous deployment policy for this staging distribution already
-- exists.
_StagingDistributionInUse :: AsError a => Fold a ServiceError
-- | The caller reference you attempted to create the streaming
-- distribution with is associated with another distribution
_StreamingDistributionAlreadyExists :: AsError a => Fold a ServiceError
-- | The specified CloudFront distribution is not disabled. You must
-- disable the distribution before you can delete it.
_StreamingDistributionNotDisabled :: AsError a => Fold a ServiceError
-- | The CloudFront function failed.
_TestFunctionFailed :: AsError a => Fold a ServiceError
-- | The length of the Content-Security-Policy header value in the
-- response headers policy exceeds the maximum.
--
-- For more information, see Quotas (formerly known as limits) in
-- the Amazon CloudFront Developer Guide.
_TooLongCSPInResponseHeadersPolicy :: AsError a => Fold a ServiceError
-- | You cannot create more cache behaviors for the distribution.
_TooManyCacheBehaviors :: AsError a => Fold a ServiceError
-- | You have reached the maximum number of cache policies for this Amazon
-- Web Services account. For more information, see Quotas
-- (formerly known as limits) in the Amazon CloudFront Developer
-- Guide.
_TooManyCachePolicies :: AsError a => Fold a ServiceError
-- | You cannot create anymore custom SSL/TLS certificates.
_TooManyCertificates :: AsError a => Fold a ServiceError
-- | Processing your request would cause you to exceed the maximum number
-- of origin access identities allowed.
_TooManyCloudFrontOriginAccessIdentities :: AsError a => Fold a ServiceError
-- | You have reached the maximum number of continuous deployment policies
-- for this Amazon Web Services account.
_TooManyContinuousDeploymentPolicies :: AsError a => Fold a ServiceError
-- | Your request contains more cookie names in the whitelist than are
-- allowed per cache behavior.
_TooManyCookieNamesInWhiteList :: AsError a => Fold a ServiceError
-- | The number of cookies in the cache policy exceeds the maximum. For
-- more information, see Quotas (formerly known as limits) in the
-- Amazon CloudFront Developer Guide.
_TooManyCookiesInCachePolicy :: AsError a => Fold a ServiceError
-- | The number of cookies in the origin request policy exceeds the
-- maximum. For more information, see Quotas (formerly known as
-- limits) in the Amazon CloudFront Developer Guide.
_TooManyCookiesInOriginRequestPolicy :: AsError a => Fold a ServiceError
-- | The number of custom headers in the response headers policy exceeds
-- the maximum.
--
-- For more information, see Quotas (formerly known as limits) in
-- the Amazon CloudFront Developer Guide.
_TooManyCustomHeadersInResponseHeadersPolicy :: AsError a => Fold a ServiceError
-- | Your request contains more CNAMEs than are allowed per distribution.
_TooManyDistributionCNAMEs :: AsError a => Fold a ServiceError
-- | Processing your request would cause you to exceed the maximum number
-- of distributions allowed.
_TooManyDistributions :: AsError a => Fold a ServiceError
-- | The maximum number of distributions have been associated with the
-- specified cache policy. For more information, see Quotas
-- (formerly known as limits) in the Amazon CloudFront Developer
-- Guide.
_TooManyDistributionsAssociatedToCachePolicy :: AsError a => Fold a ServiceError
-- | The maximum number of distributions have been associated with the
-- specified configuration for field-level encryption.
_TooManyDistributionsAssociatedToFieldLevelEncryptionConfig :: AsError a => Fold a ServiceError
-- | The number of distributions that reference this key group is more than
-- the maximum allowed. For more information, see Quotas (formerly
-- known as limits) in the Amazon CloudFront Developer Guide.
_TooManyDistributionsAssociatedToKeyGroup :: AsError a => Fold a ServiceError
-- | The maximum number of distributions have been associated with the
-- specified origin access control.
--
-- For more information, see Quotas (formerly known as limits) in
-- the Amazon CloudFront Developer Guide.
_TooManyDistributionsAssociatedToOriginAccessControl :: AsError a => Fold a ServiceError
-- | The maximum number of distributions have been associated with the
-- specified origin request policy. For more information, see
-- Quotas (formerly known as limits) in the Amazon CloudFront
-- Developer Guide.
_TooManyDistributionsAssociatedToOriginRequestPolicy :: AsError a => Fold a ServiceError
-- | The maximum number of distributions have been associated with the
-- specified response headers policy.
--
-- For more information, see Quotas (formerly known as limits) in
-- the Amazon CloudFront Developer Guide.
_TooManyDistributionsAssociatedToResponseHeadersPolicy :: AsError a => Fold a ServiceError
-- | You have reached the maximum number of distributions that are
-- associated with a CloudFront function. For more information, see
-- Quotas (formerly known as limits) in the Amazon CloudFront
-- Developer Guide.
_TooManyDistributionsWithFunctionAssociations :: AsError a => Fold a ServiceError
-- | Processing your request would cause the maximum number of
-- distributions with Lambda@Edge function associations per owner to be
-- exceeded.
_TooManyDistributionsWithLambdaAssociations :: AsError a => Fold a ServiceError
-- | The maximum number of distributions have been associated with the
-- specified Lambda@Edge function.
_TooManyDistributionsWithSingleFunctionARN :: AsError a => Fold a ServiceError
-- | The maximum number of configurations for field-level encryption have
-- been created.
_TooManyFieldLevelEncryptionConfigs :: AsError a => Fold a ServiceError
-- | The maximum number of content type profiles for field-level encryption
-- have been created.
_TooManyFieldLevelEncryptionContentTypeProfiles :: AsError a => Fold a ServiceError
-- | The maximum number of encryption entities for field-level encryption
-- have been created.
_TooManyFieldLevelEncryptionEncryptionEntities :: AsError a => Fold a ServiceError
-- | The maximum number of field patterns for field-level encryption have
-- been created.
_TooManyFieldLevelEncryptionFieldPatterns :: AsError a => Fold a ServiceError
-- | The maximum number of profiles for field-level encryption have been
-- created.
_TooManyFieldLevelEncryptionProfiles :: AsError a => Fold a ServiceError
-- | The maximum number of query arg profiles for field-level encryption
-- have been created.
_TooManyFieldLevelEncryptionQueryArgProfiles :: AsError a => Fold a ServiceError
-- | You have reached the maximum number of CloudFront function
-- associations for this distribution. For more information, see
-- Quotas (formerly known as limits) in the Amazon CloudFront
-- Developer Guide.
_TooManyFunctionAssociations :: AsError a => Fold a ServiceError
-- | You have reached the maximum number of CloudFront functions for this
-- Amazon Web Services account. For more information, see Quotas
-- (formerly known as limits) in the Amazon CloudFront Developer
-- Guide.
_TooManyFunctions :: AsError a => Fold a ServiceError
-- | The number of headers in the cache policy exceeds the maximum. For
-- more information, see Quotas (formerly known as limits) in the
-- Amazon CloudFront Developer Guide.
_TooManyHeadersInCachePolicy :: AsError a => Fold a ServiceError
-- | Your request contains too many headers in forwarded values.
_TooManyHeadersInForwardedValues :: AsError a => Fold a ServiceError
-- | The number of headers in the origin request policy exceeds the
-- maximum. For more information, see Quotas (formerly known as
-- limits) in the Amazon CloudFront Developer Guide.
_TooManyHeadersInOriginRequestPolicy :: AsError a => Fold a ServiceError
-- | You have exceeded the maximum number of allowable InProgress
-- invalidation batch requests, or invalidation objects.
_TooManyInvalidationsInProgress :: AsError a => Fold a ServiceError
-- | You have reached the maximum number of key groups for this Amazon Web
-- Services account. For more information, see Quotas (formerly
-- known as limits) in the Amazon CloudFront Developer Guide.
_TooManyKeyGroups :: AsError a => Fold a ServiceError
-- | The number of key groups referenced by this distribution is more than
-- the maximum allowed. For more information, see Quotas (formerly
-- known as limits) in the Amazon CloudFront Developer Guide.
_TooManyKeyGroupsAssociatedToDistribution :: AsError a => Fold a ServiceError
-- | Your request contains more Lambda@Edge function associations than are
-- allowed per distribution.
_TooManyLambdaFunctionAssociations :: AsError a => Fold a ServiceError
-- | The number of origin access controls in your Amazon Web Services
-- account exceeds the maximum allowed.
--
-- For more information, see Quotas (formerly known as limits) in
-- the Amazon CloudFront Developer Guide.
_TooManyOriginAccessControls :: AsError a => Fold a ServiceError
-- | Your request contains too many origin custom headers.
_TooManyOriginCustomHeaders :: AsError a => Fold a ServiceError
-- | Processing your request would cause you to exceed the maximum number
-- of origin groups allowed.
_TooManyOriginGroupsPerDistribution :: AsError a => Fold a ServiceError
-- | You have reached the maximum number of origin request policies for
-- this Amazon Web Services account. For more information, see
-- Quotas (formerly known as limits) in the Amazon CloudFront
-- Developer Guide.
_TooManyOriginRequestPolicies :: AsError a => Fold a ServiceError
-- | You cannot create more origins for the distribution.
_TooManyOrigins :: AsError a => Fold a ServiceError
-- | The maximum number of public keys for field-level encryption have been
-- created. To create a new public key, delete one of the existing keys.
_TooManyPublicKeys :: AsError a => Fold a ServiceError
-- | The number of public keys in this key group is more than the maximum
-- allowed. For more information, see Quotas (formerly known as
-- limits) in the Amazon CloudFront Developer Guide.
_TooManyPublicKeysInKeyGroup :: AsError a => Fold a ServiceError
-- | Your request contains too many query string parameters.
_TooManyQueryStringParameters :: AsError a => Fold a ServiceError
-- | The number of query strings in the cache policy exceeds the maximum.
-- For more information, see Quotas (formerly known as limits) in
-- the Amazon CloudFront Developer Guide.
_TooManyQueryStringsInCachePolicy :: AsError a => Fold a ServiceError
-- | The number of query strings in the origin request policy exceeds the
-- maximum. For more information, see Quotas (formerly known as
-- limits) in the Amazon CloudFront Developer Guide.
_TooManyQueryStringsInOriginRequestPolicy :: AsError a => Fold a ServiceError
-- | You have reached the maximum number of real-time log configurations
-- for this Amazon Web Services account. For more information, see
-- Quotas (formerly known as limits) in the Amazon CloudFront
-- Developer Guide.
_TooManyRealtimeLogConfigs :: AsError a => Fold a ServiceError
-- | The number of headers in RemoveHeadersConfig in the response
-- headers policy exceeds the maximum.
--
-- For more information, see Quotas (formerly known as limits) in
-- the Amazon CloudFront Developer Guide.
_TooManyRemoveHeadersInResponseHeadersPolicy :: AsError a => Fold a ServiceError
-- | You have reached the maximum number of response headers policies for
-- this Amazon Web Services account.
--
-- For more information, see Quotas (formerly known as limits) in
-- the Amazon CloudFront Developer Guide.
_TooManyResponseHeadersPolicies :: AsError a => Fold a ServiceError
-- | Your request contains more CNAMEs than are allowed per distribution.
_TooManyStreamingDistributionCNAMEs :: AsError a => Fold a ServiceError
-- | Processing your request would cause you to exceed the maximum number
-- of streaming distributions allowed.
_TooManyStreamingDistributions :: AsError a => Fold a ServiceError
-- | Your request contains more trusted signers than are allowed per
-- distribution.
_TooManyTrustedSigners :: AsError a => Fold a ServiceError
-- | The specified key group does not exist.
_TrustedKeyGroupDoesNotExist :: AsError a => Fold a ServiceError
-- | One or more of your trusted signers don't exist.
_TrustedSignerDoesNotExist :: AsError a => Fold a ServiceError
-- | This operation is not supported in this region.
_UnsupportedOperation :: AsError a => Fold a ServiceError
-- | Polls GetDistribution every 60 seconds until a successful state
-- is reached. An error is returned after 35 failed checks.
newDistributionDeployed :: Wait GetDistribution
-- | Polls GetInvalidation every 20 seconds until a successful state
-- is reached. An error is returned after 30 failed checks.
newInvalidationCompleted :: Wait GetInvalidation
-- | Polls GetStreamingDistribution every 60 seconds until a
-- successful state is reached. An error is returned after 25 failed
-- checks.
newStreamingDistributionDeployed :: Wait GetStreamingDistribution
-- | See: newAssociateAlias smart constructor.
data AssociateAlias
AssociateAlias' :: Text -> Text -> AssociateAlias
-- | Create a value of AssociateAlias with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:targetDistributionId:AssociateAlias',
-- associateAlias_targetDistributionId - The ID of the
-- distribution that you're associating the alias with.
--
-- AssociateAlias, associateAlias_alias - The alias (also
-- known as a CNAME) to add to the target distribution.
newAssociateAlias :: Text -> Text -> AssociateAlias
-- | See: newAssociateAliasResponse smart constructor.
data AssociateAliasResponse
AssociateAliasResponse' :: AssociateAliasResponse
-- | Create a value of AssociateAliasResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newAssociateAliasResponse :: AssociateAliasResponse
-- | See: newCopyDistribution smart constructor.
data CopyDistribution
CopyDistribution' :: Maybe Text -> Maybe Bool -> Text -> Text -> CopyDistribution
-- | Create a value of CopyDistribution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:CopyDistribution', copyDistribution_ifMatch
-- - The version identifier of the primary distribution whose
-- configuration you are copying. This is the ETag value
-- returned in the response to GetDistribution and
-- GetDistributionConfig.
--
-- CopyDistribution, copyDistribution_staging - The type of
-- distribution that your primary distribution will be copied to. The
-- only valid value is True, indicating that you are copying to
-- a staging distribution.
--
-- $sel:primaryDistributionId:CopyDistribution',
-- copyDistribution_primaryDistributionId - The identifier of the
-- primary distribution whose configuration you are copying. To get a
-- distribution ID, use ListDistributions.
--
-- CopyDistribution, copyDistribution_callerReference - A
-- value that uniquely identifies a request to create a resource. This
-- helps to prevent CloudFront from creating a duplicate resource if you
-- accidentally resubmit an identical request.
newCopyDistribution :: Text -> Text -> CopyDistribution
-- | See: newCopyDistributionResponse smart constructor.
data CopyDistributionResponse
CopyDistributionResponse' :: Maybe Distribution -> Maybe Text -> Maybe Text -> Int -> CopyDistributionResponse
-- | Create a value of CopyDistributionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distribution:CopyDistributionResponse',
-- copyDistributionResponse_distribution - Undocumented member.
--
-- $sel:eTag:CopyDistributionResponse',
-- copyDistributionResponse_eTag - The version identifier for the
-- current version of the staging distribution.
--
-- $sel:location:CopyDistributionResponse',
-- copyDistributionResponse_location - The URL of the staging
-- distribution.
--
-- $sel:httpStatus:CopyDistributionResponse',
-- copyDistributionResponse_httpStatus - The response's http
-- status code.
newCopyDistributionResponse :: Int -> CopyDistributionResponse
-- | See: newCreateCachePolicy smart constructor.
data CreateCachePolicy
CreateCachePolicy' :: CachePolicyConfig -> CreateCachePolicy
-- | Create a value of CreateCachePolicy with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateCachePolicy, createCachePolicy_cachePolicyConfig -
-- A cache policy configuration.
newCreateCachePolicy :: CachePolicyConfig -> CreateCachePolicy
-- | See: newCreateCachePolicyResponse smart constructor.
data CreateCachePolicyResponse
CreateCachePolicyResponse' :: Maybe CachePolicy -> Maybe Text -> Maybe Text -> Int -> CreateCachePolicyResponse
-- | Create a value of CreateCachePolicyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateCachePolicyResponse,
-- createCachePolicyResponse_cachePolicy - A cache policy.
--
-- $sel:eTag:CreateCachePolicyResponse',
-- createCachePolicyResponse_eTag - The current version of the
-- cache policy.
--
-- $sel:location:CreateCachePolicyResponse',
-- createCachePolicyResponse_location - The fully qualified URI of
-- the cache policy just created.
--
-- $sel:httpStatus:CreateCachePolicyResponse',
-- createCachePolicyResponse_httpStatus - The response's http
-- status code.
newCreateCachePolicyResponse :: Int -> CreateCachePolicyResponse
-- | The request to create a new origin access identity (OAI). An origin
-- access identity is a special CloudFront user that you can associate
-- with Amazon S3 origins, so that you can secure all or just some of
-- your Amazon S3 content. For more information, see Restricting
-- Access to Amazon S3 Content by Using an Origin Access Identity in
-- the Amazon CloudFront Developer Guide.
--
-- See: newCreateCloudFrontOriginAccessIdentity smart
-- constructor.
data CreateCloudFrontOriginAccessIdentity
CreateCloudFrontOriginAccessIdentity' :: CloudFrontOriginAccessIdentityConfig -> CreateCloudFrontOriginAccessIdentity
-- | Create a value of CreateCloudFrontOriginAccessIdentity with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateCloudFrontOriginAccessIdentity,
-- createCloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig
-- - The current configuration information for the identity.
newCreateCloudFrontOriginAccessIdentity :: CloudFrontOriginAccessIdentityConfig -> CreateCloudFrontOriginAccessIdentity
-- | The returned result of the corresponding request.
--
-- See: newCreateCloudFrontOriginAccessIdentityResponse
-- smart constructor.
data CreateCloudFrontOriginAccessIdentityResponse
CreateCloudFrontOriginAccessIdentityResponse' :: Maybe CloudFrontOriginAccessIdentity -> Maybe Text -> Maybe Text -> Int -> CreateCloudFrontOriginAccessIdentityResponse
-- | Create a value of CreateCloudFrontOriginAccessIdentityResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:cloudFrontOriginAccessIdentity:CreateCloudFrontOriginAccessIdentityResponse',
-- createCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity
-- - The origin access identity's information.
--
-- $sel:eTag:CreateCloudFrontOriginAccessIdentityResponse',
-- createCloudFrontOriginAccessIdentityResponse_eTag - The current
-- version of the origin access identity created.
--
-- $sel:location:CreateCloudFrontOriginAccessIdentityResponse',
-- createCloudFrontOriginAccessIdentityResponse_location - The
-- fully qualified URI of the new origin access identity just created.
--
-- $sel:httpStatus:CreateCloudFrontOriginAccessIdentityResponse',
-- createCloudFrontOriginAccessIdentityResponse_httpStatus - The
-- response's http status code.
newCreateCloudFrontOriginAccessIdentityResponse :: Int -> CreateCloudFrontOriginAccessIdentityResponse
-- | See: newCreateContinuousDeploymentPolicy smart
-- constructor.
data CreateContinuousDeploymentPolicy
CreateContinuousDeploymentPolicy' :: ContinuousDeploymentPolicyConfig -> CreateContinuousDeploymentPolicy
-- | Create a value of CreateContinuousDeploymentPolicy with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateContinuousDeploymentPolicy,
-- createContinuousDeploymentPolicy_continuousDeploymentPolicyConfig
-- - Contains the configuration for a continuous deployment policy.
newCreateContinuousDeploymentPolicy :: ContinuousDeploymentPolicyConfig -> CreateContinuousDeploymentPolicy
-- | See: newCreateContinuousDeploymentPolicyResponse smart
-- constructor.
data CreateContinuousDeploymentPolicyResponse
CreateContinuousDeploymentPolicyResponse' :: Maybe ContinuousDeploymentPolicy -> Maybe Text -> Maybe Text -> Int -> CreateContinuousDeploymentPolicyResponse
-- | Create a value of CreateContinuousDeploymentPolicyResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateContinuousDeploymentPolicyResponse,
-- createContinuousDeploymentPolicyResponse_continuousDeploymentPolicy
-- - A continuous deployment policy.
--
-- $sel:eTag:CreateContinuousDeploymentPolicyResponse',
-- createContinuousDeploymentPolicyResponse_eTag - The version
-- identifier for the current version of the continuous deployment
-- policy.
--
-- $sel:location:CreateContinuousDeploymentPolicyResponse',
-- createContinuousDeploymentPolicyResponse_location - The
-- location of the continuous deployment policy.
--
-- $sel:httpStatus:CreateContinuousDeploymentPolicyResponse',
-- createContinuousDeploymentPolicyResponse_httpStatus - The
-- response's http status code.
newCreateContinuousDeploymentPolicyResponse :: Int -> CreateContinuousDeploymentPolicyResponse
-- | The request to create a new distribution.
--
-- See: newCreateDistribution smart constructor.
data CreateDistribution
CreateDistribution' :: DistributionConfig -> CreateDistribution
-- | Create a value of CreateDistribution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateDistribution,
-- createDistribution_distributionConfig - The distribution's
-- configuration information.
newCreateDistribution :: DistributionConfig -> CreateDistribution
-- | The returned result of the corresponding request.
--
-- See: newCreateDistributionResponse smart constructor.
data CreateDistributionResponse
CreateDistributionResponse' :: Maybe Distribution -> Maybe Text -> Maybe Text -> Int -> CreateDistributionResponse
-- | Create a value of CreateDistributionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distribution:CreateDistributionResponse',
-- createDistributionResponse_distribution - The distribution's
-- information.
--
-- $sel:eTag:CreateDistributionResponse',
-- createDistributionResponse_eTag - The current version of the
-- distribution created.
--
-- $sel:location:CreateDistributionResponse',
-- createDistributionResponse_location - The fully qualified URI
-- of the new distribution resource just created.
--
-- $sel:httpStatus:CreateDistributionResponse',
-- createDistributionResponse_httpStatus - The response's http
-- status code.
newCreateDistributionResponse :: Int -> CreateDistributionResponse
-- | The request to create a new distribution with tags.
--
-- See: newCreateDistributionWithTags smart constructor.
data CreateDistributionWithTags
CreateDistributionWithTags' :: DistributionConfigWithTags -> CreateDistributionWithTags
-- | Create a value of CreateDistributionWithTags with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distributionConfigWithTags:CreateDistributionWithTags',
-- createDistributionWithTags_distributionConfigWithTags - The
-- distribution's configuration information.
newCreateDistributionWithTags :: DistributionConfigWithTags -> CreateDistributionWithTags
-- | The returned result of the corresponding request.
--
-- See: newCreateDistributionWithTagsResponse smart
-- constructor.
data CreateDistributionWithTagsResponse
CreateDistributionWithTagsResponse' :: Maybe Distribution -> Maybe Text -> Maybe Text -> Int -> CreateDistributionWithTagsResponse
-- | Create a value of CreateDistributionWithTagsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distribution:CreateDistributionWithTagsResponse',
-- createDistributionWithTagsResponse_distribution - The
-- distribution's information.
--
-- $sel:eTag:CreateDistributionWithTagsResponse',
-- createDistributionWithTagsResponse_eTag - The current version
-- of the distribution created.
--
-- $sel:location:CreateDistributionWithTagsResponse',
-- createDistributionWithTagsResponse_location - The fully
-- qualified URI of the new distribution resource just created.
--
-- $sel:httpStatus:CreateDistributionWithTagsResponse',
-- createDistributionWithTagsResponse_httpStatus - The response's
-- http status code.
newCreateDistributionWithTagsResponse :: Int -> CreateDistributionWithTagsResponse
-- | See: newCreateFieldLevelEncryptionConfig smart
-- constructor.
data CreateFieldLevelEncryptionConfig
CreateFieldLevelEncryptionConfig' :: FieldLevelEncryptionConfig -> CreateFieldLevelEncryptionConfig
-- | Create a value of CreateFieldLevelEncryptionConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateFieldLevelEncryptionConfig,
-- createFieldLevelEncryptionConfig_fieldLevelEncryptionConfig -
-- The request to create a new field-level encryption configuration.
newCreateFieldLevelEncryptionConfig :: FieldLevelEncryptionConfig -> CreateFieldLevelEncryptionConfig
-- | See: newCreateFieldLevelEncryptionConfigResponse smart
-- constructor.
data CreateFieldLevelEncryptionConfigResponse
CreateFieldLevelEncryptionConfigResponse' :: Maybe Text -> Maybe FieldLevelEncryption -> Maybe Text -> Int -> CreateFieldLevelEncryptionConfigResponse
-- | Create a value of CreateFieldLevelEncryptionConfigResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreateFieldLevelEncryptionConfigResponse',
-- createFieldLevelEncryptionConfigResponse_eTag - The current
-- version of the field level encryption configuration. For example:
-- E2QWRUHAPOMQZL.
--
--
-- $sel:fieldLevelEncryption:CreateFieldLevelEncryptionConfigResponse',
-- createFieldLevelEncryptionConfigResponse_fieldLevelEncryption -
-- Returned when you create a new field-level encryption configuration.
--
-- $sel:location:CreateFieldLevelEncryptionConfigResponse',
-- createFieldLevelEncryptionConfigResponse_location - The fully
-- qualified URI of the new configuration resource just created.
--
-- $sel:httpStatus:CreateFieldLevelEncryptionConfigResponse',
-- createFieldLevelEncryptionConfigResponse_httpStatus - The
-- response's http status code.
newCreateFieldLevelEncryptionConfigResponse :: Int -> CreateFieldLevelEncryptionConfigResponse
-- | See: newCreateFieldLevelEncryptionProfile smart
-- constructor.
data CreateFieldLevelEncryptionProfile
CreateFieldLevelEncryptionProfile' :: FieldLevelEncryptionProfileConfig -> CreateFieldLevelEncryptionProfile
-- | Create a value of CreateFieldLevelEncryptionProfile with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateFieldLevelEncryptionProfile,
-- createFieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig
-- - The request to create a field-level encryption profile.
newCreateFieldLevelEncryptionProfile :: FieldLevelEncryptionProfileConfig -> CreateFieldLevelEncryptionProfile
-- | See: newCreateFieldLevelEncryptionProfileResponse smart
-- constructor.
data CreateFieldLevelEncryptionProfileResponse
CreateFieldLevelEncryptionProfileResponse' :: Maybe Text -> Maybe FieldLevelEncryptionProfile -> Maybe Text -> Int -> CreateFieldLevelEncryptionProfileResponse
-- | Create a value of CreateFieldLevelEncryptionProfileResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreateFieldLevelEncryptionProfileResponse',
-- createFieldLevelEncryptionProfileResponse_eTag - The current
-- version of the field level encryption profile. For example:
-- E2QWRUHAPOMQZL.
--
--
-- $sel:fieldLevelEncryptionProfile:CreateFieldLevelEncryptionProfileResponse',
-- createFieldLevelEncryptionProfileResponse_fieldLevelEncryptionProfile
-- - Returned when you create a new field-level encryption profile.
--
-- $sel:location:CreateFieldLevelEncryptionProfileResponse',
-- createFieldLevelEncryptionProfileResponse_location - The fully
-- qualified URI of the new profile resource just created.
--
-- $sel:httpStatus:CreateFieldLevelEncryptionProfileResponse',
-- createFieldLevelEncryptionProfileResponse_httpStatus - The
-- response's http status code.
newCreateFieldLevelEncryptionProfileResponse :: Int -> CreateFieldLevelEncryptionProfileResponse
-- | See: newCreateFunction smart constructor.
data CreateFunction
CreateFunction' :: Text -> FunctionConfig -> Sensitive Base64 -> CreateFunction
-- | Create a value of CreateFunction with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateFunction, createFunction_name - A name to identify
-- the function.
--
-- CreateFunction, createFunction_functionConfig -
-- Configuration information about the function, including an optional
-- comment and the function's runtime.
--
-- $sel:functionCode:CreateFunction',
-- createFunction_functionCode - The function code. For more
-- information about writing a CloudFront function, see Writing
-- function code for CloudFront Functions in the Amazon CloudFront
-- Developer Guide.-- -- Note: This Lens
-- automatically encodes and decodes Base64 data. -- The underlying
-- isomorphism will encode to Base64 representation during --
-- serialisation, and decode from Base64 representation during
-- deserialisation. -- This Lens accepts and returns only raw
-- unencoded data.
newCreateFunction :: Text -> FunctionConfig -> ByteString -> CreateFunction
-- | See: newCreateFunctionResponse smart constructor.
data CreateFunctionResponse
CreateFunctionResponse' :: Maybe Text -> Maybe FunctionSummary -> Maybe Text -> Int -> CreateFunctionResponse
-- | Create a value of CreateFunctionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreateFunctionResponse',
-- createFunctionResponse_eTag - The version identifier for the
-- current version of the CloudFront function.
--
-- CreateFunctionResponse,
-- createFunctionResponse_functionSummary - Contains configuration
-- information and metadata about a CloudFront function.
--
-- $sel:location:CreateFunctionResponse',
-- createFunctionResponse_location - The URL of the CloudFront
-- function. Use the URL to manage the function with the CloudFront API.
--
-- $sel:httpStatus:CreateFunctionResponse',
-- createFunctionResponse_httpStatus - The response's http status
-- code.
newCreateFunctionResponse :: Int -> CreateFunctionResponse
-- | The request to create an invalidation.
--
-- See: newCreateInvalidation smart constructor.
data CreateInvalidation
CreateInvalidation' :: Text -> InvalidationBatch -> CreateInvalidation
-- | Create a value of CreateInvalidation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateInvalidation, createInvalidation_distributionId -
-- The distribution's id.
--
-- CreateInvalidation, createInvalidation_invalidationBatch
-- - The batch information for the invalidation.
newCreateInvalidation :: Text -> InvalidationBatch -> CreateInvalidation
-- | The returned result of the corresponding request.
--
-- See: newCreateInvalidationResponse smart constructor.
data CreateInvalidationResponse
CreateInvalidationResponse' :: Maybe Invalidation -> Maybe Text -> Int -> CreateInvalidationResponse
-- | Create a value of CreateInvalidationResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:invalidation:CreateInvalidationResponse',
-- createInvalidationResponse_invalidation - The invalidation's
-- information.
--
-- $sel:location:CreateInvalidationResponse',
-- createInvalidationResponse_location - The fully qualified URI
-- of the distribution and invalidation batch request, including the
-- Invalidation ID.
--
-- $sel:httpStatus:CreateInvalidationResponse',
-- createInvalidationResponse_httpStatus - The response's http
-- status code.
newCreateInvalidationResponse :: Int -> CreateInvalidationResponse
-- | See: newCreateKeyGroup smart constructor.
data CreateKeyGroup
CreateKeyGroup' :: KeyGroupConfig -> CreateKeyGroup
-- | Create a value of CreateKeyGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateKeyGroup, createKeyGroup_keyGroupConfig - A key
-- group configuration.
newCreateKeyGroup :: KeyGroupConfig -> CreateKeyGroup
-- | See: newCreateKeyGroupResponse smart constructor.
data CreateKeyGroupResponse
CreateKeyGroupResponse' :: Maybe Text -> Maybe KeyGroup -> Maybe Text -> Int -> CreateKeyGroupResponse
-- | Create a value of CreateKeyGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreateKeyGroupResponse',
-- createKeyGroupResponse_eTag - The identifier for this version
-- of the key group.
--
-- CreateKeyGroupResponse, createKeyGroupResponse_keyGroup
-- - The key group that was just created.
--
-- $sel:location:CreateKeyGroupResponse',
-- createKeyGroupResponse_location - The URL of the key group.
--
-- $sel:httpStatus:CreateKeyGroupResponse',
-- createKeyGroupResponse_httpStatus - The response's http status
-- code.
newCreateKeyGroupResponse :: Int -> CreateKeyGroupResponse
-- | See: newCreateMonitoringSubscription smart constructor.
data CreateMonitoringSubscription
CreateMonitoringSubscription' :: MonitoringSubscription -> Text -> CreateMonitoringSubscription
-- | Create a value of CreateMonitoringSubscription with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateMonitoringSubscription,
-- createMonitoringSubscription_monitoringSubscription - A
-- monitoring subscription. This structure contains information about
-- whether additional CloudWatch metrics are enabled for a given
-- CloudFront distribution.
--
-- CreateMonitoringSubscription,
-- createMonitoringSubscription_distributionId - The ID of the
-- distribution that you are enabling metrics for.
newCreateMonitoringSubscription :: MonitoringSubscription -> Text -> CreateMonitoringSubscription
-- | See: newCreateMonitoringSubscriptionResponse smart
-- constructor.
data CreateMonitoringSubscriptionResponse
CreateMonitoringSubscriptionResponse' :: Maybe MonitoringSubscription -> Int -> CreateMonitoringSubscriptionResponse
-- | Create a value of CreateMonitoringSubscriptionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateMonitoringSubscription,
-- createMonitoringSubscriptionResponse_monitoringSubscription - A
-- monitoring subscription. This structure contains information about
-- whether additional CloudWatch metrics are enabled for a given
-- CloudFront distribution.
--
-- $sel:httpStatus:CreateMonitoringSubscriptionResponse',
-- createMonitoringSubscriptionResponse_httpStatus - The
-- response's http status code.
newCreateMonitoringSubscriptionResponse :: Int -> CreateMonitoringSubscriptionResponse
-- | See: newCreateOriginAccessControl smart constructor.
data CreateOriginAccessControl
CreateOriginAccessControl' :: OriginAccessControlConfig -> CreateOriginAccessControl
-- | Create a value of CreateOriginAccessControl with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateOriginAccessControl,
-- createOriginAccessControl_originAccessControlConfig - Contains
-- the origin access control.
newCreateOriginAccessControl :: OriginAccessControlConfig -> CreateOriginAccessControl
-- | See: newCreateOriginAccessControlResponse smart
-- constructor.
data CreateOriginAccessControlResponse
CreateOriginAccessControlResponse' :: Maybe Text -> Maybe Text -> Maybe OriginAccessControl -> Int -> CreateOriginAccessControlResponse
-- | Create a value of CreateOriginAccessControlResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreateOriginAccessControlResponse',
-- createOriginAccessControlResponse_eTag - The version identifier
-- for the current version of the origin access control.
--
-- $sel:location:CreateOriginAccessControlResponse',
-- createOriginAccessControlResponse_location - The URL of the
-- origin access control.
--
-- $sel:originAccessControl:CreateOriginAccessControlResponse',
-- createOriginAccessControlResponse_originAccessControl -
-- Contains an origin access control.
--
-- $sel:httpStatus:CreateOriginAccessControlResponse',
-- createOriginAccessControlResponse_httpStatus - The response's
-- http status code.
newCreateOriginAccessControlResponse :: Int -> CreateOriginAccessControlResponse
-- | See: newCreateOriginRequestPolicy smart constructor.
data CreateOriginRequestPolicy
CreateOriginRequestPolicy' :: OriginRequestPolicyConfig -> CreateOriginRequestPolicy
-- | Create a value of CreateOriginRequestPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateOriginRequestPolicy,
-- createOriginRequestPolicy_originRequestPolicyConfig - An origin
-- request policy configuration.
newCreateOriginRequestPolicy :: OriginRequestPolicyConfig -> CreateOriginRequestPolicy
-- | See: newCreateOriginRequestPolicyResponse smart
-- constructor.
data CreateOriginRequestPolicyResponse
CreateOriginRequestPolicyResponse' :: Maybe Text -> Maybe Text -> Maybe OriginRequestPolicy -> Int -> CreateOriginRequestPolicyResponse
-- | Create a value of CreateOriginRequestPolicyResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreateOriginRequestPolicyResponse',
-- createOriginRequestPolicyResponse_eTag - The current version of
-- the origin request policy.
--
-- $sel:location:CreateOriginRequestPolicyResponse',
-- createOriginRequestPolicyResponse_location - The fully
-- qualified URI of the origin request policy just created.
--
-- CreateOriginRequestPolicyResponse,
-- createOriginRequestPolicyResponse_originRequestPolicy - An
-- origin request policy.
--
-- $sel:httpStatus:CreateOriginRequestPolicyResponse',
-- createOriginRequestPolicyResponse_httpStatus - The response's
-- http status code.
newCreateOriginRequestPolicyResponse :: Int -> CreateOriginRequestPolicyResponse
-- | See: newCreatePublicKey smart constructor.
data CreatePublicKey
CreatePublicKey' :: PublicKeyConfig -> CreatePublicKey
-- | Create a value of CreatePublicKey with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreatePublicKey, createPublicKey_publicKeyConfig - A
-- CloudFront public key configuration.
newCreatePublicKey :: PublicKeyConfig -> CreatePublicKey
-- | See: newCreatePublicKeyResponse smart constructor.
data CreatePublicKeyResponse
CreatePublicKeyResponse' :: Maybe Text -> Maybe Text -> Maybe PublicKey -> Int -> CreatePublicKeyResponse
-- | Create a value of CreatePublicKeyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreatePublicKeyResponse',
-- createPublicKeyResponse_eTag - The identifier for this version
-- of the public key.
--
-- $sel:location:CreatePublicKeyResponse',
-- createPublicKeyResponse_location - The URL of the public key.
--
-- $sel:publicKey:CreatePublicKeyResponse',
-- createPublicKeyResponse_publicKey - The public key.
--
-- $sel:httpStatus:CreatePublicKeyResponse',
-- createPublicKeyResponse_httpStatus - The response's http status
-- code.
newCreatePublicKeyResponse :: Int -> CreatePublicKeyResponse
-- | See: newCreateRealtimeLogConfig smart constructor.
data CreateRealtimeLogConfig
CreateRealtimeLogConfig' :: [EndPoint] -> [Text] -> Text -> Integer -> CreateRealtimeLogConfig
-- | Create a value of CreateRealtimeLogConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateRealtimeLogConfig,
-- createRealtimeLogConfig_endPoints - Contains information about
-- the Amazon Kinesis data stream where you are sending real-time log
-- data.
--
-- CreateRealtimeLogConfig, createRealtimeLogConfig_fields
-- - A list of fields to include in each real-time log record.
--
-- For more information about fields, see Real-time log configuration
-- fields in the Amazon CloudFront Developer Guide.
--
-- CreateRealtimeLogConfig, createRealtimeLogConfig_name -
-- A unique name to identify this real-time log configuration.
--
-- CreateRealtimeLogConfig,
-- createRealtimeLogConfig_samplingRate - The sampling rate for
-- this real-time log configuration. The sampling rate determines the
-- percentage of viewer requests that are represented in the real-time
-- log data. You must provide an integer between 1 and 100, inclusive.
newCreateRealtimeLogConfig :: Text -> Integer -> CreateRealtimeLogConfig
-- | See: newCreateRealtimeLogConfigResponse smart
-- constructor.
data CreateRealtimeLogConfigResponse
CreateRealtimeLogConfigResponse' :: Maybe RealtimeLogConfig -> Int -> CreateRealtimeLogConfigResponse
-- | Create a value of CreateRealtimeLogConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:realtimeLogConfig:CreateRealtimeLogConfigResponse',
-- createRealtimeLogConfigResponse_realtimeLogConfig - A real-time
-- log configuration.
--
-- $sel:httpStatus:CreateRealtimeLogConfigResponse',
-- createRealtimeLogConfigResponse_httpStatus - The response's
-- http status code.
newCreateRealtimeLogConfigResponse :: Int -> CreateRealtimeLogConfigResponse
-- | See: newCreateResponseHeadersPolicy smart constructor.
data CreateResponseHeadersPolicy
CreateResponseHeadersPolicy' :: ResponseHeadersPolicyConfig -> CreateResponseHeadersPolicy
-- | Create a value of CreateResponseHeadersPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateResponseHeadersPolicy,
-- createResponseHeadersPolicy_responseHeadersPolicyConfig -
-- Contains metadata about the response headers policy, and a set of
-- configurations that specify the HTTP headers.
newCreateResponseHeadersPolicy :: ResponseHeadersPolicyConfig -> CreateResponseHeadersPolicy
-- | See: newCreateResponseHeadersPolicyResponse smart
-- constructor.
data CreateResponseHeadersPolicyResponse
CreateResponseHeadersPolicyResponse' :: Maybe Text -> Maybe Text -> Maybe ResponseHeadersPolicy -> Int -> CreateResponseHeadersPolicyResponse
-- | Create a value of CreateResponseHeadersPolicyResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreateResponseHeadersPolicyResponse',
-- createResponseHeadersPolicyResponse_eTag - The version
-- identifier for the current version of the response headers policy.
--
-- $sel:location:CreateResponseHeadersPolicyResponse',
-- createResponseHeadersPolicyResponse_location - The URL of the
-- response headers policy.
--
-- CreateResponseHeadersPolicyResponse,
-- createResponseHeadersPolicyResponse_responseHeadersPolicy -
-- Contains a response headers policy.
--
-- $sel:httpStatus:CreateResponseHeadersPolicyResponse',
-- createResponseHeadersPolicyResponse_httpStatus - The response's
-- http status code.
newCreateResponseHeadersPolicyResponse :: Int -> CreateResponseHeadersPolicyResponse
-- | The request to create a new streaming distribution.
--
-- See: newCreateStreamingDistribution smart constructor.
data CreateStreamingDistribution
CreateStreamingDistribution' :: StreamingDistributionConfig -> CreateStreamingDistribution
-- | Create a value of CreateStreamingDistribution with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateStreamingDistribution,
-- createStreamingDistribution_streamingDistributionConfig - The
-- streaming distribution's configuration information.
newCreateStreamingDistribution :: StreamingDistributionConfig -> CreateStreamingDistribution
-- | The returned result of the corresponding request.
--
-- See: newCreateStreamingDistributionResponse smart
-- constructor.
data CreateStreamingDistributionResponse
CreateStreamingDistributionResponse' :: Maybe Text -> Maybe Text -> Maybe StreamingDistribution -> Int -> CreateStreamingDistributionResponse
-- | Create a value of CreateStreamingDistributionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreateStreamingDistributionResponse',
-- createStreamingDistributionResponse_eTag - The current version
-- of the streaming distribution created.
--
-- $sel:location:CreateStreamingDistributionResponse',
-- createStreamingDistributionResponse_location - The fully
-- qualified URI of the new streaming distribution resource just created.
--
--
-- $sel:streamingDistribution:CreateStreamingDistributionResponse',
-- createStreamingDistributionResponse_streamingDistribution - The
-- streaming distribution's information.
--
-- $sel:httpStatus:CreateStreamingDistributionResponse',
-- createStreamingDistributionResponse_httpStatus - The response's
-- http status code.
newCreateStreamingDistributionResponse :: Int -> CreateStreamingDistributionResponse
-- | The request to create a new streaming distribution with tags.
--
-- See: newCreateStreamingDistributionWithTags smart
-- constructor.
data CreateStreamingDistributionWithTags
CreateStreamingDistributionWithTags' :: StreamingDistributionConfigWithTags -> CreateStreamingDistributionWithTags
-- | Create a value of CreateStreamingDistributionWithTags with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:streamingDistributionConfigWithTags:CreateStreamingDistributionWithTags',
-- createStreamingDistributionWithTags_streamingDistributionConfigWithTags
-- - The streaming distribution's configuration information.
newCreateStreamingDistributionWithTags :: StreamingDistributionConfigWithTags -> CreateStreamingDistributionWithTags
-- | The returned result of the corresponding request.
--
-- See: newCreateStreamingDistributionWithTagsResponse
-- smart constructor.
data CreateStreamingDistributionWithTagsResponse
CreateStreamingDistributionWithTagsResponse' :: Maybe Text -> Maybe Text -> Maybe StreamingDistribution -> Int -> CreateStreamingDistributionWithTagsResponse
-- | Create a value of CreateStreamingDistributionWithTagsResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:CreateStreamingDistributionWithTagsResponse',
-- createStreamingDistributionWithTagsResponse_eTag - The current
-- version of the distribution created.
--
-- $sel:location:CreateStreamingDistributionWithTagsResponse',
-- createStreamingDistributionWithTagsResponse_location - The
-- fully qualified URI of the new streaming distribution resource just
-- created.
--
--
-- $sel:streamingDistribution:CreateStreamingDistributionWithTagsResponse',
-- createStreamingDistributionWithTagsResponse_streamingDistribution
-- - The streaming distribution's information.
--
-- $sel:httpStatus:CreateStreamingDistributionWithTagsResponse',
-- createStreamingDistributionWithTagsResponse_httpStatus - The
-- response's http status code.
newCreateStreamingDistributionWithTagsResponse :: Int -> CreateStreamingDistributionWithTagsResponse
-- | See: newDeleteCachePolicy smart constructor.
data DeleteCachePolicy
DeleteCachePolicy' :: Maybe Text -> Text -> DeleteCachePolicy
-- | Create a value of DeleteCachePolicy with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteCachePolicy',
-- deleteCachePolicy_ifMatch - The version of the cache policy
-- that you are deleting. The version is the cache policy's ETag
-- value, which you can get using ListCachePolicies,
-- GetCachePolicy, or GetCachePolicyConfig.
--
-- DeleteCachePolicy, deleteCachePolicy_id - The unique
-- identifier for the cache policy that you are deleting. To get the
-- identifier, you can use ListCachePolicies.
newDeleteCachePolicy :: Text -> DeleteCachePolicy
-- | See: newDeleteCachePolicyResponse smart constructor.
data DeleteCachePolicyResponse
DeleteCachePolicyResponse' :: DeleteCachePolicyResponse
-- | Create a value of DeleteCachePolicyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteCachePolicyResponse :: DeleteCachePolicyResponse
-- | Deletes a origin access identity.
--
-- See: newDeleteCloudFrontOriginAccessIdentity smart
-- constructor.
data DeleteCloudFrontOriginAccessIdentity
DeleteCloudFrontOriginAccessIdentity' :: Maybe Text -> Text -> DeleteCloudFrontOriginAccessIdentity
-- | Create a value of DeleteCloudFrontOriginAccessIdentity with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteCloudFrontOriginAccessIdentity',
-- deleteCloudFrontOriginAccessIdentity_ifMatch - The value of the
-- ETag header you received from a previous GET or
-- PUT request. For example: E2QWRUHAPOMQZL.
--
-- DeleteCloudFrontOriginAccessIdentity,
-- deleteCloudFrontOriginAccessIdentity_id - The origin access
-- identity's ID.
newDeleteCloudFrontOriginAccessIdentity :: Text -> DeleteCloudFrontOriginAccessIdentity
-- | See: newDeleteCloudFrontOriginAccessIdentityResponse
-- smart constructor.
data DeleteCloudFrontOriginAccessIdentityResponse
DeleteCloudFrontOriginAccessIdentityResponse' :: DeleteCloudFrontOriginAccessIdentityResponse
-- | Create a value of DeleteCloudFrontOriginAccessIdentityResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteCloudFrontOriginAccessIdentityResponse :: DeleteCloudFrontOriginAccessIdentityResponse
-- | See: newDeleteContinuousDeploymentPolicy smart
-- constructor.
data DeleteContinuousDeploymentPolicy
DeleteContinuousDeploymentPolicy' :: Maybe Text -> Text -> DeleteContinuousDeploymentPolicy
-- | Create a value of DeleteContinuousDeploymentPolicy with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteContinuousDeploymentPolicy',
-- deleteContinuousDeploymentPolicy_ifMatch - The current version
-- (ETag value) of the continuous deployment policy that you are
-- deleting.
--
-- DeleteContinuousDeploymentPolicy,
-- deleteContinuousDeploymentPolicy_id - The identifier of the
-- continuous deployment policy that you are deleting.
newDeleteContinuousDeploymentPolicy :: Text -> DeleteContinuousDeploymentPolicy
-- | See: newDeleteContinuousDeploymentPolicyResponse smart
-- constructor.
data DeleteContinuousDeploymentPolicyResponse
DeleteContinuousDeploymentPolicyResponse' :: DeleteContinuousDeploymentPolicyResponse
-- | Create a value of DeleteContinuousDeploymentPolicyResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteContinuousDeploymentPolicyResponse :: DeleteContinuousDeploymentPolicyResponse
-- | This action deletes a web distribution. To delete a web distribution
-- using the CloudFront API, perform the following steps.
--
-- To delete a web distribution using the CloudFront API:
--
--
-- - Disable the web distribution
-- - Submit a GET Distribution Config request to get the
-- current configuration and the Etag header for the
-- distribution.
-- - Update the XML document that was returned in the response to your
-- GET Distribution Config request to change the value of
-- Enabled to false.
-- - Submit a PUT Distribution Config request to update the
-- configuration for your distribution. In the request body, include the
-- XML document that you updated in Step 3. Set the value of the HTTP
-- If-Match header to the value of the ETag header that
-- CloudFront returned when you submitted the GET Distribution
-- Config request in Step 2.
-- - Review the response to the PUT Distribution Config
-- request to confirm that the distribution was successfully
-- disabled.
-- - Submit a GET Distribution request to confirm that your
-- changes have propagated. When propagation is complete, the value of
-- Status is Deployed.
-- - Submit a DELETE Distribution request. Set the value of
-- the HTTP If-Match header to the value of the ETag
-- header that CloudFront returned when you submitted the GET
-- Distribution Config request in Step 6.
-- - Review the response to your DELETE Distribution request
-- to confirm that the distribution was successfully deleted.
--
--
-- For information about deleting a distribution using the CloudFront
-- console, see Deleting a Distribution in the Amazon
-- CloudFront Developer Guide.
--
-- See: newDeleteDistribution smart constructor.
data DeleteDistribution
DeleteDistribution' :: Maybe Text -> Text -> DeleteDistribution
-- | Create a value of DeleteDistribution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteDistribution',
-- deleteDistribution_ifMatch - The value of the ETag
-- header that you received when you disabled the distribution. For
-- example: E2QWRUHAPOMQZL.
--
-- DeleteDistribution, deleteDistribution_id - The
-- distribution ID.
newDeleteDistribution :: Text -> DeleteDistribution
-- | See: newDeleteDistributionResponse smart constructor.
data DeleteDistributionResponse
DeleteDistributionResponse' :: DeleteDistributionResponse
-- | Create a value of DeleteDistributionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteDistributionResponse :: DeleteDistributionResponse
-- | See: newDeleteFieldLevelEncryptionConfig smart
-- constructor.
data DeleteFieldLevelEncryptionConfig
DeleteFieldLevelEncryptionConfig' :: Maybe Text -> Text -> DeleteFieldLevelEncryptionConfig
-- | Create a value of DeleteFieldLevelEncryptionConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteFieldLevelEncryptionConfig',
-- deleteFieldLevelEncryptionConfig_ifMatch - The value of the
-- ETag header that you received when retrieving the
-- configuration identity to delete. For example:
-- E2QWRUHAPOMQZL.
--
-- DeleteFieldLevelEncryptionConfig,
-- deleteFieldLevelEncryptionConfig_id - The ID of the
-- configuration you want to delete from CloudFront.
newDeleteFieldLevelEncryptionConfig :: Text -> DeleteFieldLevelEncryptionConfig
-- | See: newDeleteFieldLevelEncryptionConfigResponse smart
-- constructor.
data DeleteFieldLevelEncryptionConfigResponse
DeleteFieldLevelEncryptionConfigResponse' :: DeleteFieldLevelEncryptionConfigResponse
-- | Create a value of DeleteFieldLevelEncryptionConfigResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteFieldLevelEncryptionConfigResponse :: DeleteFieldLevelEncryptionConfigResponse
-- | See: newDeleteFieldLevelEncryptionProfile smart
-- constructor.
data DeleteFieldLevelEncryptionProfile
DeleteFieldLevelEncryptionProfile' :: Maybe Text -> Text -> DeleteFieldLevelEncryptionProfile
-- | Create a value of DeleteFieldLevelEncryptionProfile with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteFieldLevelEncryptionProfile',
-- deleteFieldLevelEncryptionProfile_ifMatch - The value of the
-- ETag header that you received when retrieving the profile to
-- delete. For example: E2QWRUHAPOMQZL.
--
-- DeleteFieldLevelEncryptionProfile,
-- deleteFieldLevelEncryptionProfile_id - Request the ID of the
-- profile you want to delete from CloudFront.
newDeleteFieldLevelEncryptionProfile :: Text -> DeleteFieldLevelEncryptionProfile
-- | See: newDeleteFieldLevelEncryptionProfileResponse smart
-- constructor.
data DeleteFieldLevelEncryptionProfileResponse
DeleteFieldLevelEncryptionProfileResponse' :: DeleteFieldLevelEncryptionProfileResponse
-- | Create a value of DeleteFieldLevelEncryptionProfileResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteFieldLevelEncryptionProfileResponse :: DeleteFieldLevelEncryptionProfileResponse
-- | See: newDeleteFunction smart constructor.
data DeleteFunction
DeleteFunction' :: Text -> Text -> DeleteFunction
-- | Create a value of DeleteFunction with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteFunction', deleteFunction_ifMatch -
-- The current version (ETag value) of the function that you are
-- deleting, which you can get using DescribeFunction.
--
-- DeleteFunction, deleteFunction_name - The name of the
-- function that you are deleting.
newDeleteFunction :: Text -> Text -> DeleteFunction
-- | See: newDeleteFunctionResponse smart constructor.
data DeleteFunctionResponse
DeleteFunctionResponse' :: DeleteFunctionResponse
-- | Create a value of DeleteFunctionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteFunctionResponse :: DeleteFunctionResponse
-- | See: newDeleteKeyGroup smart constructor.
data DeleteKeyGroup
DeleteKeyGroup' :: Maybe Text -> Text -> DeleteKeyGroup
-- | Create a value of DeleteKeyGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteKeyGroup', deleteKeyGroup_ifMatch -
-- The version of the key group that you are deleting. The version is the
-- key group's ETag value. To get the ETag, use
-- GetKeyGroup or GetKeyGroupConfig.
--
-- DeleteKeyGroup, deleteKeyGroup_id - The identifier of
-- the key group that you are deleting. To get the identifier, use
-- ListKeyGroups.
newDeleteKeyGroup :: Text -> DeleteKeyGroup
-- | See: newDeleteKeyGroupResponse smart constructor.
data DeleteKeyGroupResponse
DeleteKeyGroupResponse' :: DeleteKeyGroupResponse
-- | Create a value of DeleteKeyGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteKeyGroupResponse :: DeleteKeyGroupResponse
-- | See: newDeleteMonitoringSubscription smart constructor.
data DeleteMonitoringSubscription
DeleteMonitoringSubscription' :: Text -> DeleteMonitoringSubscription
-- | Create a value of DeleteMonitoringSubscription with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteMonitoringSubscription,
-- deleteMonitoringSubscription_distributionId - The ID of the
-- distribution that you are disabling metrics for.
newDeleteMonitoringSubscription :: Text -> DeleteMonitoringSubscription
-- | See: newDeleteMonitoringSubscriptionResponse smart
-- constructor.
data DeleteMonitoringSubscriptionResponse
DeleteMonitoringSubscriptionResponse' :: Int -> DeleteMonitoringSubscriptionResponse
-- | Create a value of DeleteMonitoringSubscriptionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteMonitoringSubscriptionResponse',
-- deleteMonitoringSubscriptionResponse_httpStatus - The
-- response's http status code.
newDeleteMonitoringSubscriptionResponse :: Int -> DeleteMonitoringSubscriptionResponse
-- | See: newDeleteOriginAccessControl smart constructor.
data DeleteOriginAccessControl
DeleteOriginAccessControl' :: Maybe Text -> Text -> DeleteOriginAccessControl
-- | Create a value of DeleteOriginAccessControl with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteOriginAccessControl',
-- deleteOriginAccessControl_ifMatch - The current version
-- (ETag value) of the origin access control that you are
-- deleting.
--
-- DeleteOriginAccessControl, deleteOriginAccessControl_id
-- - The unique identifier of the origin access control that you are
-- deleting.
newDeleteOriginAccessControl :: Text -> DeleteOriginAccessControl
-- | See: newDeleteOriginAccessControlResponse smart
-- constructor.
data DeleteOriginAccessControlResponse
DeleteOriginAccessControlResponse' :: DeleteOriginAccessControlResponse
-- | Create a value of DeleteOriginAccessControlResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteOriginAccessControlResponse :: DeleteOriginAccessControlResponse
-- | See: newDeleteOriginRequestPolicy smart constructor.
data DeleteOriginRequestPolicy
DeleteOriginRequestPolicy' :: Maybe Text -> Text -> DeleteOriginRequestPolicy
-- | Create a value of DeleteOriginRequestPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteOriginRequestPolicy',
-- deleteOriginRequestPolicy_ifMatch - The version of the origin
-- request policy that you are deleting. The version is the origin
-- request policy's ETag value, which you can get using
-- ListOriginRequestPolicies, GetOriginRequestPolicy,
-- or GetOriginRequestPolicyConfig.
--
-- DeleteOriginRequestPolicy, deleteOriginRequestPolicy_id
-- - The unique identifier for the origin request policy that you are
-- deleting. To get the identifier, you can use
-- ListOriginRequestPolicies.
newDeleteOriginRequestPolicy :: Text -> DeleteOriginRequestPolicy
-- | See: newDeleteOriginRequestPolicyResponse smart
-- constructor.
data DeleteOriginRequestPolicyResponse
DeleteOriginRequestPolicyResponse' :: DeleteOriginRequestPolicyResponse
-- | Create a value of DeleteOriginRequestPolicyResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteOriginRequestPolicyResponse :: DeleteOriginRequestPolicyResponse
-- | See: newDeletePublicKey smart constructor.
data DeletePublicKey
DeletePublicKey' :: Maybe Text -> Text -> DeletePublicKey
-- | Create a value of DeletePublicKey with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeletePublicKey', deletePublicKey_ifMatch -
-- The value of the ETag header that you received when
-- retrieving the public key identity to delete. For example:
-- E2QWRUHAPOMQZL.
--
-- DeletePublicKey, deletePublicKey_id - The ID of the
-- public key you want to remove from CloudFront.
newDeletePublicKey :: Text -> DeletePublicKey
-- | See: newDeletePublicKeyResponse smart constructor.
data DeletePublicKeyResponse
DeletePublicKeyResponse' :: DeletePublicKeyResponse
-- | Create a value of DeletePublicKeyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeletePublicKeyResponse :: DeletePublicKeyResponse
-- | See: newDeleteRealtimeLogConfig smart constructor.
data DeleteRealtimeLogConfig
DeleteRealtimeLogConfig' :: Maybe Text -> Maybe Text -> DeleteRealtimeLogConfig
-- | Create a value of DeleteRealtimeLogConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteRealtimeLogConfig, deleteRealtimeLogConfig_arn -
-- The Amazon Resource Name (ARN) of the real-time log configuration to
-- delete.
--
-- DeleteRealtimeLogConfig, deleteRealtimeLogConfig_name -
-- The name of the real-time log configuration to delete.
newDeleteRealtimeLogConfig :: DeleteRealtimeLogConfig
-- | See: newDeleteRealtimeLogConfigResponse smart
-- constructor.
data DeleteRealtimeLogConfigResponse
DeleteRealtimeLogConfigResponse' :: DeleteRealtimeLogConfigResponse
-- | Create a value of DeleteRealtimeLogConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteRealtimeLogConfigResponse :: DeleteRealtimeLogConfigResponse
-- | See: newDeleteResponseHeadersPolicy smart constructor.
data DeleteResponseHeadersPolicy
DeleteResponseHeadersPolicy' :: Maybe Text -> Text -> DeleteResponseHeadersPolicy
-- | Create a value of DeleteResponseHeadersPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteResponseHeadersPolicy',
-- deleteResponseHeadersPolicy_ifMatch - The version of the
-- response headers policy that you are deleting.
--
-- The version is the response headers policy's ETag value,
-- which you can get using ListResponseHeadersPolicies,
-- GetResponseHeadersPolicy, or
-- GetResponseHeadersPolicyConfig.
--
-- DeleteResponseHeadersPolicy,
-- deleteResponseHeadersPolicy_id - The identifier for the
-- response headers policy that you are deleting.
--
-- To get the identifier, you can use
-- ListResponseHeadersPolicies.
newDeleteResponseHeadersPolicy :: Text -> DeleteResponseHeadersPolicy
-- | See: newDeleteResponseHeadersPolicyResponse smart
-- constructor.
data DeleteResponseHeadersPolicyResponse
DeleteResponseHeadersPolicyResponse' :: DeleteResponseHeadersPolicyResponse
-- | Create a value of DeleteResponseHeadersPolicyResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteResponseHeadersPolicyResponse :: DeleteResponseHeadersPolicyResponse
-- | The request to delete a streaming distribution.
--
-- See: newDeleteStreamingDistribution smart constructor.
data DeleteStreamingDistribution
DeleteStreamingDistribution' :: Maybe Text -> Text -> DeleteStreamingDistribution
-- | Create a value of DeleteStreamingDistribution with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:DeleteStreamingDistribution',
-- deleteStreamingDistribution_ifMatch - The value of the
-- ETag header that you received when you disabled the streaming
-- distribution. For example: E2QWRUHAPOMQZL.
--
-- DeleteStreamingDistribution,
-- deleteStreamingDistribution_id - The distribution ID.
newDeleteStreamingDistribution :: Text -> DeleteStreamingDistribution
-- | See: newDeleteStreamingDistributionResponse smart
-- constructor.
data DeleteStreamingDistributionResponse
DeleteStreamingDistributionResponse' :: DeleteStreamingDistributionResponse
-- | Create a value of DeleteStreamingDistributionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteStreamingDistributionResponse :: DeleteStreamingDistributionResponse
-- | See: newDescribeFunction smart constructor.
data DescribeFunction
DescribeFunction' :: Maybe FunctionStage -> Text -> DescribeFunction
-- | Create a value of DescribeFunction with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeFunction, describeFunction_stage - The
-- function's stage, either DEVELOPMENT or LIVE.
--
-- DescribeFunction, describeFunction_name - The name of
-- the function that you are getting information about.
newDescribeFunction :: Text -> DescribeFunction
-- | See: newDescribeFunctionResponse smart constructor.
data DescribeFunctionResponse
DescribeFunctionResponse' :: Maybe Text -> Maybe FunctionSummary -> Int -> DescribeFunctionResponse
-- | Create a value of DescribeFunctionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:DescribeFunctionResponse',
-- describeFunctionResponse_eTag - The version identifier for the
-- current version of the CloudFront function.
--
-- DescribeFunctionResponse,
-- describeFunctionResponse_functionSummary - Contains
-- configuration information and metadata about a CloudFront function.
--
-- $sel:httpStatus:DescribeFunctionResponse',
-- describeFunctionResponse_httpStatus - The response's http
-- status code.
newDescribeFunctionResponse :: Int -> DescribeFunctionResponse
-- | See: newGetCachePolicy smart constructor.
data GetCachePolicy
GetCachePolicy' :: Text -> GetCachePolicy
-- | Create a value of GetCachePolicy with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetCachePolicy, getCachePolicy_id - The unique
-- identifier for the cache policy. If the cache policy is attached to a
-- distribution's cache behavior, you can get the policy's identifier
-- using ListDistributions or GetDistribution. If the
-- cache policy is not attached to a cache behavior, you can get the
-- identifier using ListCachePolicies.
newGetCachePolicy :: Text -> GetCachePolicy
-- | See: newGetCachePolicyResponse smart constructor.
data GetCachePolicyResponse
GetCachePolicyResponse' :: Maybe CachePolicy -> Maybe Text -> Int -> GetCachePolicyResponse
-- | Create a value of GetCachePolicyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetCachePolicyResponse,
-- getCachePolicyResponse_cachePolicy - The cache policy.
--
-- $sel:eTag:GetCachePolicyResponse',
-- getCachePolicyResponse_eTag - The current version of the cache
-- policy.
--
-- $sel:httpStatus:GetCachePolicyResponse',
-- getCachePolicyResponse_httpStatus - The response's http status
-- code.
newGetCachePolicyResponse :: Int -> GetCachePolicyResponse
-- | See: newGetCachePolicyConfig smart constructor.
data GetCachePolicyConfig
GetCachePolicyConfig' :: Text -> GetCachePolicyConfig
-- | Create a value of GetCachePolicyConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetCachePolicyConfig, getCachePolicyConfig_id - The
-- unique identifier for the cache policy. If the cache policy is
-- attached to a distribution's cache behavior, you can get the policy's
-- identifier using ListDistributions or
-- GetDistribution. If the cache policy is not attached to a
-- cache behavior, you can get the identifier using
-- ListCachePolicies.
newGetCachePolicyConfig :: Text -> GetCachePolicyConfig
-- | See: newGetCachePolicyConfigResponse smart constructor.
data GetCachePolicyConfigResponse
GetCachePolicyConfigResponse' :: Maybe CachePolicyConfig -> Maybe Text -> Int -> GetCachePolicyConfigResponse
-- | Create a value of GetCachePolicyConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetCachePolicyConfigResponse,
-- getCachePolicyConfigResponse_cachePolicyConfig - The cache
-- policy configuration.
--
-- $sel:eTag:GetCachePolicyConfigResponse',
-- getCachePolicyConfigResponse_eTag - The current version of the
-- cache policy.
--
-- $sel:httpStatus:GetCachePolicyConfigResponse',
-- getCachePolicyConfigResponse_httpStatus - The response's http
-- status code.
newGetCachePolicyConfigResponse :: Int -> GetCachePolicyConfigResponse
-- | The request to get an origin access identity's information.
--
-- See: newGetCloudFrontOriginAccessIdentity smart
-- constructor.
data GetCloudFrontOriginAccessIdentity
GetCloudFrontOriginAccessIdentity' :: Text -> GetCloudFrontOriginAccessIdentity
-- | Create a value of GetCloudFrontOriginAccessIdentity with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetCloudFrontOriginAccessIdentity,
-- getCloudFrontOriginAccessIdentity_id - The identity's ID.
newGetCloudFrontOriginAccessIdentity :: Text -> GetCloudFrontOriginAccessIdentity
-- | The returned result of the corresponding request.
--
-- See: newGetCloudFrontOriginAccessIdentityResponse smart
-- constructor.
data GetCloudFrontOriginAccessIdentityResponse
GetCloudFrontOriginAccessIdentityResponse' :: Maybe CloudFrontOriginAccessIdentity -> Maybe Text -> Int -> GetCloudFrontOriginAccessIdentityResponse
-- | Create a value of GetCloudFrontOriginAccessIdentityResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:cloudFrontOriginAccessIdentity:GetCloudFrontOriginAccessIdentityResponse',
-- getCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity
-- - The origin access identity's information.
--
-- $sel:eTag:GetCloudFrontOriginAccessIdentityResponse',
-- getCloudFrontOriginAccessIdentityResponse_eTag - The current
-- version of the origin access identity's information. For example:
-- E2QWRUHAPOMQZL.
--
-- $sel:httpStatus:GetCloudFrontOriginAccessIdentityResponse',
-- getCloudFrontOriginAccessIdentityResponse_httpStatus - The
-- response's http status code.
newGetCloudFrontOriginAccessIdentityResponse :: Int -> GetCloudFrontOriginAccessIdentityResponse
-- | The origin access identity's configuration information. For more
-- information, see CloudFrontOriginAccessIdentityConfig.
--
-- See: newGetCloudFrontOriginAccessIdentityConfig smart
-- constructor.
data GetCloudFrontOriginAccessIdentityConfig
GetCloudFrontOriginAccessIdentityConfig' :: Text -> GetCloudFrontOriginAccessIdentityConfig
-- | Create a value of GetCloudFrontOriginAccessIdentityConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetCloudFrontOriginAccessIdentityConfig,
-- getCloudFrontOriginAccessIdentityConfig_id - The identity's ID.
newGetCloudFrontOriginAccessIdentityConfig :: Text -> GetCloudFrontOriginAccessIdentityConfig
-- | The returned result of the corresponding request.
--
-- See: newGetCloudFrontOriginAccessIdentityConfigResponse
-- smart constructor.
data GetCloudFrontOriginAccessIdentityConfigResponse
GetCloudFrontOriginAccessIdentityConfigResponse' :: Maybe CloudFrontOriginAccessIdentityConfig -> Maybe Text -> Int -> GetCloudFrontOriginAccessIdentityConfigResponse
-- | Create a value of
-- GetCloudFrontOriginAccessIdentityConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetCloudFrontOriginAccessIdentityConfigResponse,
-- getCloudFrontOriginAccessIdentityConfigResponse_cloudFrontOriginAccessIdentityConfig
-- - The origin access identity's configuration information.
--
-- $sel:eTag:GetCloudFrontOriginAccessIdentityConfigResponse',
-- getCloudFrontOriginAccessIdentityConfigResponse_eTag - The
-- current version of the configuration. For example:
-- E2QWRUHAPOMQZL.
--
--
-- $sel:httpStatus:GetCloudFrontOriginAccessIdentityConfigResponse',
-- getCloudFrontOriginAccessIdentityConfigResponse_httpStatus -
-- The response's http status code.
newGetCloudFrontOriginAccessIdentityConfigResponse :: Int -> GetCloudFrontOriginAccessIdentityConfigResponse
-- | See: newGetContinuousDeploymentPolicy smart constructor.
data GetContinuousDeploymentPolicy
GetContinuousDeploymentPolicy' :: Text -> GetContinuousDeploymentPolicy
-- | Create a value of GetContinuousDeploymentPolicy with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetContinuousDeploymentPolicy,
-- getContinuousDeploymentPolicy_id - The identifier of the
-- continuous deployment policy that you are getting.
newGetContinuousDeploymentPolicy :: Text -> GetContinuousDeploymentPolicy
-- | See: newGetContinuousDeploymentPolicyResponse smart
-- constructor.
data GetContinuousDeploymentPolicyResponse
GetContinuousDeploymentPolicyResponse' :: Maybe ContinuousDeploymentPolicy -> Maybe Text -> Int -> GetContinuousDeploymentPolicyResponse
-- | Create a value of GetContinuousDeploymentPolicyResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetContinuousDeploymentPolicyResponse,
-- getContinuousDeploymentPolicyResponse_continuousDeploymentPolicy
-- - A continuous deployment policy.
--
-- $sel:eTag:GetContinuousDeploymentPolicyResponse',
-- getContinuousDeploymentPolicyResponse_eTag - The version
-- identifier for the current version of the continuous deployment
-- policy.
--
-- $sel:httpStatus:GetContinuousDeploymentPolicyResponse',
-- getContinuousDeploymentPolicyResponse_httpStatus - The
-- response's http status code.
newGetContinuousDeploymentPolicyResponse :: Int -> GetContinuousDeploymentPolicyResponse
-- | See: newGetContinuousDeploymentPolicyConfig smart
-- constructor.
data GetContinuousDeploymentPolicyConfig
GetContinuousDeploymentPolicyConfig' :: Text -> GetContinuousDeploymentPolicyConfig
-- | Create a value of GetContinuousDeploymentPolicyConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetContinuousDeploymentPolicyConfig,
-- getContinuousDeploymentPolicyConfig_id - The identifier of the
-- continuous deployment policy whose configuration you are getting.
newGetContinuousDeploymentPolicyConfig :: Text -> GetContinuousDeploymentPolicyConfig
-- | See: newGetContinuousDeploymentPolicyConfigResponse
-- smart constructor.
data GetContinuousDeploymentPolicyConfigResponse
GetContinuousDeploymentPolicyConfigResponse' :: Maybe ContinuousDeploymentPolicyConfig -> Maybe Text -> Int -> GetContinuousDeploymentPolicyConfigResponse
-- | Create a value of GetContinuousDeploymentPolicyConfigResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetContinuousDeploymentPolicyConfigResponse,
-- getContinuousDeploymentPolicyConfigResponse_continuousDeploymentPolicyConfig
-- - Undocumented member.
--
-- $sel:eTag:GetContinuousDeploymentPolicyConfigResponse',
-- getContinuousDeploymentPolicyConfigResponse_eTag - The version
-- identifier for the current version of the continuous deployment
-- policy.
--
-- $sel:httpStatus:GetContinuousDeploymentPolicyConfigResponse',
-- getContinuousDeploymentPolicyConfigResponse_httpStatus - The
-- response's http status code.
newGetContinuousDeploymentPolicyConfigResponse :: Int -> GetContinuousDeploymentPolicyConfigResponse
-- | The request to get a distribution's information.
--
-- See: newGetDistribution smart constructor.
data GetDistribution
GetDistribution' :: Text -> GetDistribution
-- | Create a value of GetDistribution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetDistribution, getDistribution_id - The distribution's
-- ID. If the ID is empty, an empty distribution configuration is
-- returned.
newGetDistribution :: Text -> GetDistribution
-- | The returned result of the corresponding request.
--
-- See: newGetDistributionResponse smart constructor.
data GetDistributionResponse
GetDistributionResponse' :: Maybe Distribution -> Maybe Text -> Int -> GetDistributionResponse
-- | Create a value of GetDistributionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distribution:GetDistributionResponse',
-- getDistributionResponse_distribution - The distribution's
-- information.
--
-- $sel:eTag:GetDistributionResponse',
-- getDistributionResponse_eTag - The current version of the
-- distribution's information. For example: E2QWRUHAPOMQZL.
--
-- $sel:httpStatus:GetDistributionResponse',
-- getDistributionResponse_httpStatus - The response's http status
-- code.
newGetDistributionResponse :: Int -> GetDistributionResponse
-- | The request to get a distribution configuration.
--
-- See: newGetDistributionConfig smart constructor.
data GetDistributionConfig
GetDistributionConfig' :: Text -> GetDistributionConfig
-- | Create a value of GetDistributionConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetDistributionConfig, getDistributionConfig_id - The
-- distribution's ID. If the ID is empty, an empty distribution
-- configuration is returned.
newGetDistributionConfig :: Text -> GetDistributionConfig
-- | The returned result of the corresponding request.
--
-- See: newGetDistributionConfigResponse smart constructor.
data GetDistributionConfigResponse
GetDistributionConfigResponse' :: Maybe DistributionConfig -> Maybe Text -> Int -> GetDistributionConfigResponse
-- | Create a value of GetDistributionConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetDistributionConfigResponse,
-- getDistributionConfigResponse_distributionConfig - The
-- distribution's configuration information.
--
-- $sel:eTag:GetDistributionConfigResponse',
-- getDistributionConfigResponse_eTag - The current version of the
-- configuration. For example: E2QWRUHAPOMQZL.
--
-- $sel:httpStatus:GetDistributionConfigResponse',
-- getDistributionConfigResponse_httpStatus - The response's http
-- status code.
newGetDistributionConfigResponse :: Int -> GetDistributionConfigResponse
-- | See: newGetFieldLevelEncryption smart constructor.
data GetFieldLevelEncryption
GetFieldLevelEncryption' :: Text -> GetFieldLevelEncryption
-- | Create a value of GetFieldLevelEncryption with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetFieldLevelEncryption, getFieldLevelEncryption_id -
-- Request the ID for the field-level encryption configuration
-- information.
newGetFieldLevelEncryption :: Text -> GetFieldLevelEncryption
-- | See: newGetFieldLevelEncryptionResponse smart
-- constructor.
data GetFieldLevelEncryptionResponse
GetFieldLevelEncryptionResponse' :: Maybe Text -> Maybe FieldLevelEncryption -> Int -> GetFieldLevelEncryptionResponse
-- | Create a value of GetFieldLevelEncryptionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetFieldLevelEncryptionResponse',
-- getFieldLevelEncryptionResponse_eTag - The current version of
-- the field level encryption configuration. For example:
-- E2QWRUHAPOMQZL.
--
-- $sel:fieldLevelEncryption:GetFieldLevelEncryptionResponse',
-- getFieldLevelEncryptionResponse_fieldLevelEncryption - Return
-- the field-level encryption configuration information.
--
-- $sel:httpStatus:GetFieldLevelEncryptionResponse',
-- getFieldLevelEncryptionResponse_httpStatus - The response's
-- http status code.
newGetFieldLevelEncryptionResponse :: Int -> GetFieldLevelEncryptionResponse
-- | See: newGetFieldLevelEncryptionConfig smart constructor.
data GetFieldLevelEncryptionConfig
GetFieldLevelEncryptionConfig' :: Text -> GetFieldLevelEncryptionConfig
-- | Create a value of GetFieldLevelEncryptionConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetFieldLevelEncryptionConfig,
-- getFieldLevelEncryptionConfig_id - Request the ID for the
-- field-level encryption configuration information.
newGetFieldLevelEncryptionConfig :: Text -> GetFieldLevelEncryptionConfig
-- | See: newGetFieldLevelEncryptionConfigResponse smart
-- constructor.
data GetFieldLevelEncryptionConfigResponse
GetFieldLevelEncryptionConfigResponse' :: Maybe Text -> Maybe FieldLevelEncryptionConfig -> Int -> GetFieldLevelEncryptionConfigResponse
-- | Create a value of GetFieldLevelEncryptionConfigResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetFieldLevelEncryptionConfigResponse',
-- getFieldLevelEncryptionConfigResponse_eTag - The current
-- version of the field level encryption configuration. For example:
-- E2QWRUHAPOMQZL.
--
-- GetFieldLevelEncryptionConfigResponse,
-- getFieldLevelEncryptionConfigResponse_fieldLevelEncryptionConfig
-- - Return the field-level encryption configuration information.
--
-- $sel:httpStatus:GetFieldLevelEncryptionConfigResponse',
-- getFieldLevelEncryptionConfigResponse_httpStatus - The
-- response's http status code.
newGetFieldLevelEncryptionConfigResponse :: Int -> GetFieldLevelEncryptionConfigResponse
-- | See: newGetFieldLevelEncryptionProfile smart
-- constructor.
data GetFieldLevelEncryptionProfile
GetFieldLevelEncryptionProfile' :: Text -> GetFieldLevelEncryptionProfile
-- | Create a value of GetFieldLevelEncryptionProfile with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetFieldLevelEncryptionProfile,
-- getFieldLevelEncryptionProfile_id - Get the ID for the
-- field-level encryption profile information.
newGetFieldLevelEncryptionProfile :: Text -> GetFieldLevelEncryptionProfile
-- | See: newGetFieldLevelEncryptionProfileResponse smart
-- constructor.
data GetFieldLevelEncryptionProfileResponse
GetFieldLevelEncryptionProfileResponse' :: Maybe Text -> Maybe FieldLevelEncryptionProfile -> Int -> GetFieldLevelEncryptionProfileResponse
-- | Create a value of GetFieldLevelEncryptionProfileResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetFieldLevelEncryptionProfileResponse',
-- getFieldLevelEncryptionProfileResponse_eTag - The current
-- version of the field level encryption profile. For example:
-- E2QWRUHAPOMQZL.
--
--
-- $sel:fieldLevelEncryptionProfile:GetFieldLevelEncryptionProfileResponse',
-- getFieldLevelEncryptionProfileResponse_fieldLevelEncryptionProfile
-- - Return the field-level encryption profile information.
--
-- $sel:httpStatus:GetFieldLevelEncryptionProfileResponse',
-- getFieldLevelEncryptionProfileResponse_httpStatus - The
-- response's http status code.
newGetFieldLevelEncryptionProfileResponse :: Int -> GetFieldLevelEncryptionProfileResponse
-- | See: newGetFieldLevelEncryptionProfileConfig smart
-- constructor.
data GetFieldLevelEncryptionProfileConfig
GetFieldLevelEncryptionProfileConfig' :: Text -> GetFieldLevelEncryptionProfileConfig
-- | Create a value of GetFieldLevelEncryptionProfileConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetFieldLevelEncryptionProfileConfig,
-- getFieldLevelEncryptionProfileConfig_id - Get the ID for the
-- field-level encryption profile configuration information.
newGetFieldLevelEncryptionProfileConfig :: Text -> GetFieldLevelEncryptionProfileConfig
-- | See: newGetFieldLevelEncryptionProfileConfigResponse
-- smart constructor.
data GetFieldLevelEncryptionProfileConfigResponse
GetFieldLevelEncryptionProfileConfigResponse' :: Maybe Text -> Maybe FieldLevelEncryptionProfileConfig -> Int -> GetFieldLevelEncryptionProfileConfigResponse
-- | Create a value of GetFieldLevelEncryptionProfileConfigResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetFieldLevelEncryptionProfileConfigResponse',
-- getFieldLevelEncryptionProfileConfigResponse_eTag - The current
-- version of the field-level encryption profile configuration result.
-- For example: E2QWRUHAPOMQZL.
--
-- GetFieldLevelEncryptionProfileConfigResponse,
-- getFieldLevelEncryptionProfileConfigResponse_fieldLevelEncryptionProfileConfig
-- - Return the field-level encryption profile configuration information.
--
-- $sel:httpStatus:GetFieldLevelEncryptionProfileConfigResponse',
-- getFieldLevelEncryptionProfileConfigResponse_httpStatus - The
-- response's http status code.
newGetFieldLevelEncryptionProfileConfigResponse :: Int -> GetFieldLevelEncryptionProfileConfigResponse
-- | See: newGetFunction smart constructor.
data GetFunction
GetFunction' :: Maybe FunctionStage -> Text -> GetFunction
-- | Create a value of GetFunction with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetFunction, getFunction_stage - The function's stage,
-- either DEVELOPMENT or LIVE.
--
-- GetFunction, getFunction_name - The name of the function
-- whose code you are getting.
newGetFunction :: Text -> GetFunction
-- | See: newGetFunctionResponse smart constructor.
data GetFunctionResponse
GetFunctionResponse' :: Maybe Text -> Maybe Text -> Maybe (Sensitive ByteString) -> Int -> GetFunctionResponse
-- | Create a value of GetFunctionResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetFunctionResponse, getFunctionResponse_contentType -
-- The content type (media type) of the response.
--
-- $sel:eTag:GetFunctionResponse', getFunctionResponse_eTag
-- - The version identifier for the current version of the CloudFront
-- function.
--
-- $sel:functionCode:GetFunctionResponse',
-- getFunctionResponse_functionCode - The function code of a
-- CloudFront function.
--
-- $sel:httpStatus:GetFunctionResponse',
-- getFunctionResponse_httpStatus - The response's http status
-- code.
newGetFunctionResponse :: Int -> GetFunctionResponse
-- | The request to get an invalidation's information.
--
-- See: newGetInvalidation smart constructor.
data GetInvalidation
GetInvalidation' :: Text -> Text -> GetInvalidation
-- | Create a value of GetInvalidation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetInvalidation, getInvalidation_distributionId - The
-- distribution's ID.
--
-- GetInvalidation, getInvalidation_id - The identifier for
-- the invalidation request, for example, IDFDVBD632BHDS5.
newGetInvalidation :: Text -> Text -> GetInvalidation
-- | The returned result of the corresponding request.
--
-- See: newGetInvalidationResponse smart constructor.
data GetInvalidationResponse
GetInvalidationResponse' :: Maybe Invalidation -> Int -> GetInvalidationResponse
-- | Create a value of GetInvalidationResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:invalidation:GetInvalidationResponse',
-- getInvalidationResponse_invalidation - The invalidation's
-- information. For more information, see Invalidation Complex
-- Type.
--
-- $sel:httpStatus:GetInvalidationResponse',
-- getInvalidationResponse_httpStatus - The response's http status
-- code.
newGetInvalidationResponse :: Int -> GetInvalidationResponse
-- | See: newGetKeyGroup smart constructor.
data GetKeyGroup
GetKeyGroup' :: Text -> GetKeyGroup
-- | Create a value of GetKeyGroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetKeyGroup, getKeyGroup_id - The identifier of the key
-- group that you are getting. To get the identifier, use
-- ListKeyGroups.
newGetKeyGroup :: Text -> GetKeyGroup
-- | See: newGetKeyGroupResponse smart constructor.
data GetKeyGroupResponse
GetKeyGroupResponse' :: Maybe Text -> Maybe KeyGroup -> Int -> GetKeyGroupResponse
-- | Create a value of GetKeyGroupResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetKeyGroupResponse', getKeyGroupResponse_eTag
-- - The identifier for this version of the key group.
--
-- GetKeyGroupResponse, getKeyGroupResponse_keyGroup - The
-- key group.
--
-- $sel:httpStatus:GetKeyGroupResponse',
-- getKeyGroupResponse_httpStatus - The response's http status
-- code.
newGetKeyGroupResponse :: Int -> GetKeyGroupResponse
-- | See: newGetKeyGroupConfig smart constructor.
data GetKeyGroupConfig
GetKeyGroupConfig' :: Text -> GetKeyGroupConfig
-- | Create a value of GetKeyGroupConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetKeyGroupConfig, getKeyGroupConfig_id - The identifier
-- of the key group whose configuration you are getting. To get the
-- identifier, use ListKeyGroups.
newGetKeyGroupConfig :: Text -> GetKeyGroupConfig
-- | See: newGetKeyGroupConfigResponse smart constructor.
data GetKeyGroupConfigResponse
GetKeyGroupConfigResponse' :: Maybe Text -> Maybe KeyGroupConfig -> Int -> GetKeyGroupConfigResponse
-- | Create a value of GetKeyGroupConfigResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetKeyGroupConfigResponse',
-- getKeyGroupConfigResponse_eTag - The identifier for this
-- version of the key group.
--
-- GetKeyGroupConfigResponse,
-- getKeyGroupConfigResponse_keyGroupConfig - The key group
-- configuration.
--
-- $sel:httpStatus:GetKeyGroupConfigResponse',
-- getKeyGroupConfigResponse_httpStatus - The response's http
-- status code.
newGetKeyGroupConfigResponse :: Int -> GetKeyGroupConfigResponse
-- | See: newGetMonitoringSubscription smart constructor.
data GetMonitoringSubscription
GetMonitoringSubscription' :: Text -> GetMonitoringSubscription
-- | Create a value of GetMonitoringSubscription with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetMonitoringSubscription,
-- getMonitoringSubscription_distributionId - The ID of the
-- distribution that you are getting metrics information for.
newGetMonitoringSubscription :: Text -> GetMonitoringSubscription
-- | See: newGetMonitoringSubscriptionResponse smart
-- constructor.
data GetMonitoringSubscriptionResponse
GetMonitoringSubscriptionResponse' :: Maybe MonitoringSubscription -> Int -> GetMonitoringSubscriptionResponse
-- | Create a value of GetMonitoringSubscriptionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:monitoringSubscription:GetMonitoringSubscriptionResponse',
-- getMonitoringSubscriptionResponse_monitoringSubscription - A
-- monitoring subscription. This structure contains information about
-- whether additional CloudWatch metrics are enabled for a given
-- CloudFront distribution.
--
-- $sel:httpStatus:GetMonitoringSubscriptionResponse',
-- getMonitoringSubscriptionResponse_httpStatus - The response's
-- http status code.
newGetMonitoringSubscriptionResponse :: Int -> GetMonitoringSubscriptionResponse
-- | See: newGetOriginAccessControl smart constructor.
data GetOriginAccessControl
GetOriginAccessControl' :: Text -> GetOriginAccessControl
-- | Create a value of GetOriginAccessControl with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetOriginAccessControl, getOriginAccessControl_id - The
-- unique identifier of the origin access control.
newGetOriginAccessControl :: Text -> GetOriginAccessControl
-- | See: newGetOriginAccessControlResponse smart
-- constructor.
data GetOriginAccessControlResponse
GetOriginAccessControlResponse' :: Maybe Text -> Maybe OriginAccessControl -> Int -> GetOriginAccessControlResponse
-- | Create a value of GetOriginAccessControlResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetOriginAccessControlResponse',
-- getOriginAccessControlResponse_eTag - The version identifier
-- for the current version of the origin access control.
--
-- $sel:originAccessControl:GetOriginAccessControlResponse',
-- getOriginAccessControlResponse_originAccessControl - Contains
-- an origin access control, including its unique identifier.
--
-- $sel:httpStatus:GetOriginAccessControlResponse',
-- getOriginAccessControlResponse_httpStatus - The response's http
-- status code.
newGetOriginAccessControlResponse :: Int -> GetOriginAccessControlResponse
-- | See: newGetOriginAccessControlConfig smart constructor.
data GetOriginAccessControlConfig
GetOriginAccessControlConfig' :: Text -> GetOriginAccessControlConfig
-- | Create a value of GetOriginAccessControlConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetOriginAccessControlConfig,
-- getOriginAccessControlConfig_id - The unique identifier of the
-- origin access control.
newGetOriginAccessControlConfig :: Text -> GetOriginAccessControlConfig
-- | See: newGetOriginAccessControlConfigResponse smart
-- constructor.
data GetOriginAccessControlConfigResponse
GetOriginAccessControlConfigResponse' :: Maybe Text -> Maybe OriginAccessControlConfig -> Int -> GetOriginAccessControlConfigResponse
-- | Create a value of GetOriginAccessControlConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetOriginAccessControlConfigResponse',
-- getOriginAccessControlConfigResponse_eTag - The version
-- identifier for the current version of the origin access control.
--
-- GetOriginAccessControlConfigResponse,
-- getOriginAccessControlConfigResponse_originAccessControlConfig
-- - Contains an origin access control configuration.
--
-- $sel:httpStatus:GetOriginAccessControlConfigResponse',
-- getOriginAccessControlConfigResponse_httpStatus - The
-- response's http status code.
newGetOriginAccessControlConfigResponse :: Int -> GetOriginAccessControlConfigResponse
-- | See: newGetOriginRequestPolicy smart constructor.
data GetOriginRequestPolicy
GetOriginRequestPolicy' :: Text -> GetOriginRequestPolicy
-- | Create a value of GetOriginRequestPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetOriginRequestPolicy, getOriginRequestPolicy_id - The
-- unique identifier for the origin request policy. If the origin request
-- policy is attached to a distribution's cache behavior, you can get the
-- policy's identifier using ListDistributions or
-- GetDistribution. If the origin request policy is not attached
-- to a cache behavior, you can get the identifier using
-- ListOriginRequestPolicies.
newGetOriginRequestPolicy :: Text -> GetOriginRequestPolicy
-- | See: newGetOriginRequestPolicyResponse smart
-- constructor.
data GetOriginRequestPolicyResponse
GetOriginRequestPolicyResponse' :: Maybe Text -> Maybe OriginRequestPolicy -> Int -> GetOriginRequestPolicyResponse
-- | Create a value of GetOriginRequestPolicyResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetOriginRequestPolicyResponse',
-- getOriginRequestPolicyResponse_eTag - The current version of
-- the origin request policy.
--
-- GetOriginRequestPolicyResponse,
-- getOriginRequestPolicyResponse_originRequestPolicy - The origin
-- request policy.
--
-- $sel:httpStatus:GetOriginRequestPolicyResponse',
-- getOriginRequestPolicyResponse_httpStatus - The response's http
-- status code.
newGetOriginRequestPolicyResponse :: Int -> GetOriginRequestPolicyResponse
-- | See: newGetOriginRequestPolicyConfig smart constructor.
data GetOriginRequestPolicyConfig
GetOriginRequestPolicyConfig' :: Text -> GetOriginRequestPolicyConfig
-- | Create a value of GetOriginRequestPolicyConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetOriginRequestPolicyConfig,
-- getOriginRequestPolicyConfig_id - The unique identifier for the
-- origin request policy. If the origin request policy is attached to a
-- distribution's cache behavior, you can get the policy's identifier
-- using ListDistributions or GetDistribution. If the
-- origin request policy is not attached to a cache behavior, you can get
-- the identifier using ListOriginRequestPolicies.
newGetOriginRequestPolicyConfig :: Text -> GetOriginRequestPolicyConfig
-- | See: newGetOriginRequestPolicyConfigResponse smart
-- constructor.
data GetOriginRequestPolicyConfigResponse
GetOriginRequestPolicyConfigResponse' :: Maybe Text -> Maybe OriginRequestPolicyConfig -> Int -> GetOriginRequestPolicyConfigResponse
-- | Create a value of GetOriginRequestPolicyConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetOriginRequestPolicyConfigResponse',
-- getOriginRequestPolicyConfigResponse_eTag - The current version
-- of the origin request policy.
--
-- GetOriginRequestPolicyConfigResponse,
-- getOriginRequestPolicyConfigResponse_originRequestPolicyConfig
-- - The origin request policy configuration.
--
-- $sel:httpStatus:GetOriginRequestPolicyConfigResponse',
-- getOriginRequestPolicyConfigResponse_httpStatus - The
-- response's http status code.
newGetOriginRequestPolicyConfigResponse :: Int -> GetOriginRequestPolicyConfigResponse
-- | See: newGetPublicKey smart constructor.
data GetPublicKey
GetPublicKey' :: Text -> GetPublicKey
-- | Create a value of GetPublicKey with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetPublicKey, getPublicKey_id - The identifier of the
-- public key you are getting.
newGetPublicKey :: Text -> GetPublicKey
-- | See: newGetPublicKeyResponse smart constructor.
data GetPublicKeyResponse
GetPublicKeyResponse' :: Maybe Text -> Maybe PublicKey -> Int -> GetPublicKeyResponse
-- | Create a value of GetPublicKeyResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetPublicKeyResponse',
-- getPublicKeyResponse_eTag - The identifier for this version of
-- the public key.
--
-- $sel:publicKey:GetPublicKeyResponse',
-- getPublicKeyResponse_publicKey - The public key.
--
-- $sel:httpStatus:GetPublicKeyResponse',
-- getPublicKeyResponse_httpStatus - The response's http status
-- code.
newGetPublicKeyResponse :: Int -> GetPublicKeyResponse
-- | See: newGetPublicKeyConfig smart constructor.
data GetPublicKeyConfig
GetPublicKeyConfig' :: Text -> GetPublicKeyConfig
-- | Create a value of GetPublicKeyConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetPublicKeyConfig, getPublicKeyConfig_id - The
-- identifier of the public key whose configuration you are getting.
newGetPublicKeyConfig :: Text -> GetPublicKeyConfig
-- | See: newGetPublicKeyConfigResponse smart constructor.
data GetPublicKeyConfigResponse
GetPublicKeyConfigResponse' :: Maybe Text -> Maybe PublicKeyConfig -> Int -> GetPublicKeyConfigResponse
-- | Create a value of GetPublicKeyConfigResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetPublicKeyConfigResponse',
-- getPublicKeyConfigResponse_eTag - The identifier for this
-- version of the public key configuration.
--
-- GetPublicKeyConfigResponse,
-- getPublicKeyConfigResponse_publicKeyConfig - A public key
-- configuration.
--
-- $sel:httpStatus:GetPublicKeyConfigResponse',
-- getPublicKeyConfigResponse_httpStatus - The response's http
-- status code.
newGetPublicKeyConfigResponse :: Int -> GetPublicKeyConfigResponse
-- | See: newGetRealtimeLogConfig smart constructor.
data GetRealtimeLogConfig
GetRealtimeLogConfig' :: Maybe Text -> Maybe Text -> GetRealtimeLogConfig
-- | Create a value of GetRealtimeLogConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetRealtimeLogConfig, getRealtimeLogConfig_arn - The
-- Amazon Resource Name (ARN) of the real-time log configuration to get.
--
-- GetRealtimeLogConfig, getRealtimeLogConfig_name - The
-- name of the real-time log configuration to get.
newGetRealtimeLogConfig :: GetRealtimeLogConfig
-- | See: newGetRealtimeLogConfigResponse smart constructor.
data GetRealtimeLogConfigResponse
GetRealtimeLogConfigResponse' :: Maybe RealtimeLogConfig -> Int -> GetRealtimeLogConfigResponse
-- | Create a value of GetRealtimeLogConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:realtimeLogConfig:GetRealtimeLogConfigResponse',
-- getRealtimeLogConfigResponse_realtimeLogConfig - A real-time
-- log configuration.
--
-- $sel:httpStatus:GetRealtimeLogConfigResponse',
-- getRealtimeLogConfigResponse_httpStatus - The response's http
-- status code.
newGetRealtimeLogConfigResponse :: Int -> GetRealtimeLogConfigResponse
-- | See: newGetResponseHeadersPolicy smart constructor.
data GetResponseHeadersPolicy
GetResponseHeadersPolicy' :: Text -> GetResponseHeadersPolicy
-- | Create a value of GetResponseHeadersPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetResponseHeadersPolicy, getResponseHeadersPolicy_id -
-- The identifier for the response headers policy.
--
-- If the response headers policy is attached to a distribution's cache
-- behavior, you can get the policy's identifier using
-- ListDistributions or GetDistribution. If the
-- response headers policy is not attached to a cache behavior, you can
-- get the identifier using ListResponseHeadersPolicies.
newGetResponseHeadersPolicy :: Text -> GetResponseHeadersPolicy
-- | See: newGetResponseHeadersPolicyResponse smart
-- constructor.
data GetResponseHeadersPolicyResponse
GetResponseHeadersPolicyResponse' :: Maybe Text -> Maybe ResponseHeadersPolicy -> Int -> GetResponseHeadersPolicyResponse
-- | Create a value of GetResponseHeadersPolicyResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetResponseHeadersPolicyResponse',
-- getResponseHeadersPolicyResponse_eTag - The version identifier
-- for the current version of the response headers policy.
--
-- GetResponseHeadersPolicyResponse,
-- getResponseHeadersPolicyResponse_responseHeadersPolicy -
-- Contains a response headers policy.
--
-- $sel:httpStatus:GetResponseHeadersPolicyResponse',
-- getResponseHeadersPolicyResponse_httpStatus - The response's
-- http status code.
newGetResponseHeadersPolicyResponse :: Int -> GetResponseHeadersPolicyResponse
-- | See: newGetResponseHeadersPolicyConfig smart
-- constructor.
data GetResponseHeadersPolicyConfig
GetResponseHeadersPolicyConfig' :: Text -> GetResponseHeadersPolicyConfig
-- | Create a value of GetResponseHeadersPolicyConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetResponseHeadersPolicyConfig,
-- getResponseHeadersPolicyConfig_id - The identifier for the
-- response headers policy.
--
-- If the response headers policy is attached to a distribution's cache
-- behavior, you can get the policy's identifier using
-- ListDistributions or GetDistribution. If the
-- response headers policy is not attached to a cache behavior, you can
-- get the identifier using ListResponseHeadersPolicies.
newGetResponseHeadersPolicyConfig :: Text -> GetResponseHeadersPolicyConfig
-- | See: newGetResponseHeadersPolicyConfigResponse smart
-- constructor.
data GetResponseHeadersPolicyConfigResponse
GetResponseHeadersPolicyConfigResponse' :: Maybe Text -> Maybe ResponseHeadersPolicyConfig -> Int -> GetResponseHeadersPolicyConfigResponse
-- | Create a value of GetResponseHeadersPolicyConfigResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetResponseHeadersPolicyConfigResponse',
-- getResponseHeadersPolicyConfigResponse_eTag - The version
-- identifier for the current version of the response headers policy.
--
-- GetResponseHeadersPolicyConfigResponse,
-- getResponseHeadersPolicyConfigResponse_responseHeadersPolicyConfig
-- - Contains a response headers policy.
--
-- $sel:httpStatus:GetResponseHeadersPolicyConfigResponse',
-- getResponseHeadersPolicyConfigResponse_httpStatus - The
-- response's http status code.
newGetResponseHeadersPolicyConfigResponse :: Int -> GetResponseHeadersPolicyConfigResponse
-- | The request to get a streaming distribution's information.
--
-- See: newGetStreamingDistribution smart constructor.
data GetStreamingDistribution
GetStreamingDistribution' :: Text -> GetStreamingDistribution
-- | Create a value of GetStreamingDistribution with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetStreamingDistribution, getStreamingDistribution_id -
-- The streaming distribution's ID.
newGetStreamingDistribution :: Text -> GetStreamingDistribution
-- | The returned result of the corresponding request.
--
-- See: newGetStreamingDistributionResponse smart
-- constructor.
data GetStreamingDistributionResponse
GetStreamingDistributionResponse' :: Maybe Text -> Maybe StreamingDistribution -> Int -> GetStreamingDistributionResponse
-- | Create a value of GetStreamingDistributionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetStreamingDistributionResponse',
-- getStreamingDistributionResponse_eTag - The current version of
-- the streaming distribution's information. For example:
-- E2QWRUHAPOMQZL.
--
-- $sel:streamingDistribution:GetStreamingDistributionResponse',
-- getStreamingDistributionResponse_streamingDistribution - The
-- streaming distribution's information.
--
-- $sel:httpStatus:GetStreamingDistributionResponse',
-- getStreamingDistributionResponse_httpStatus - The response's
-- http status code.
newGetStreamingDistributionResponse :: Int -> GetStreamingDistributionResponse
-- | To request to get a streaming distribution configuration.
--
-- See: newGetStreamingDistributionConfig smart
-- constructor.
data GetStreamingDistributionConfig
GetStreamingDistributionConfig' :: Text -> GetStreamingDistributionConfig
-- | Create a value of GetStreamingDistributionConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetStreamingDistributionConfig,
-- getStreamingDistributionConfig_id - The streaming
-- distribution's ID.
newGetStreamingDistributionConfig :: Text -> GetStreamingDistributionConfig
-- | The returned result of the corresponding request.
--
-- See: newGetStreamingDistributionConfigResponse smart
-- constructor.
data GetStreamingDistributionConfigResponse
GetStreamingDistributionConfigResponse' :: Maybe Text -> Maybe StreamingDistributionConfig -> Int -> GetStreamingDistributionConfigResponse
-- | Create a value of GetStreamingDistributionConfigResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:GetStreamingDistributionConfigResponse',
-- getStreamingDistributionConfigResponse_eTag - The current
-- version of the configuration. For example: E2QWRUHAPOMQZL.
--
-- GetStreamingDistributionConfigResponse,
-- getStreamingDistributionConfigResponse_streamingDistributionConfig
-- - The streaming distribution's configuration information.
--
-- $sel:httpStatus:GetStreamingDistributionConfigResponse',
-- getStreamingDistributionConfigResponse_httpStatus - The
-- response's http status code.
newGetStreamingDistributionConfigResponse :: Int -> GetStreamingDistributionConfigResponse
-- | See: newListCachePolicies smart constructor.
data ListCachePolicies
ListCachePolicies' :: Maybe Text -> Maybe Text -> Maybe CachePolicyType -> ListCachePolicies
-- | Create a value of ListCachePolicies with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListCachePolicies, listCachePolicies_marker - Use this
-- field when paginating results to indicate where to begin in your list
-- of cache policies. The response includes cache policies in the list
-- that occur after the marker. To get the next page of the list, set
-- this field's value to the value of NextMarker from the
-- current page's response.
--
-- ListCachePolicies, listCachePolicies_maxItems - The
-- maximum number of cache policies that you want in the response.
--
-- ListCachePolicies, listCachePolicies_type - A filter to
-- return only the specified kinds of cache policies. Valid values are:
--
--
-- - managed – Returns only the managed policies created by
-- Amazon Web Services.
-- - custom – Returns only the custom policies created in your
-- Amazon Web Services account.
--
newListCachePolicies :: ListCachePolicies
-- | See: newListCachePoliciesResponse smart constructor.
data ListCachePoliciesResponse
ListCachePoliciesResponse' :: Maybe CachePolicyList -> Int -> ListCachePoliciesResponse
-- | Create a value of ListCachePoliciesResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cachePolicyList:ListCachePoliciesResponse',
-- listCachePoliciesResponse_cachePolicyList - A list of cache
-- policies.
--
-- $sel:httpStatus:ListCachePoliciesResponse',
-- listCachePoliciesResponse_httpStatus - The response's http
-- status code.
newListCachePoliciesResponse :: Int -> ListCachePoliciesResponse
-- | The request to list origin access identities.
--
-- See: newListCloudFrontOriginAccessIdentities smart
-- constructor.
data ListCloudFrontOriginAccessIdentities
ListCloudFrontOriginAccessIdentities' :: Maybe Text -> Maybe Text -> ListCloudFrontOriginAccessIdentities
-- | Create a value of ListCloudFrontOriginAccessIdentities with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListCloudFrontOriginAccessIdentities,
-- listCloudFrontOriginAccessIdentities_marker - 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).
--
-- ListCloudFrontOriginAccessIdentities,
-- listCloudFrontOriginAccessIdentities_maxItems - The maximum
-- number of origin access identities you want in the response body.
newListCloudFrontOriginAccessIdentities :: ListCloudFrontOriginAccessIdentities
-- | The returned result of the corresponding request.
--
-- See: newListCloudFrontOriginAccessIdentitiesResponse
-- smart constructor.
data ListCloudFrontOriginAccessIdentitiesResponse
ListCloudFrontOriginAccessIdentitiesResponse' :: Int -> CloudFrontOriginAccessIdentityList -> ListCloudFrontOriginAccessIdentitiesResponse
-- | Create a value of ListCloudFrontOriginAccessIdentitiesResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:ListCloudFrontOriginAccessIdentitiesResponse',
-- listCloudFrontOriginAccessIdentitiesResponse_httpStatus - The
-- response's http status code.
--
--
-- $sel:cloudFrontOriginAccessIdentityList:ListCloudFrontOriginAccessIdentitiesResponse',
-- listCloudFrontOriginAccessIdentitiesResponse_cloudFrontOriginAccessIdentityList
-- - The CloudFrontOriginAccessIdentityList type.
newListCloudFrontOriginAccessIdentitiesResponse :: Int -> CloudFrontOriginAccessIdentityList -> ListCloudFrontOriginAccessIdentitiesResponse
-- | See: newListConflictingAliases smart constructor.
data ListConflictingAliases
ListConflictingAliases' :: Maybe Text -> Maybe Int -> Text -> Text -> ListConflictingAliases
-- | Create a value of ListConflictingAliases with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListConflictingAliases, listConflictingAliases_marker -
-- Use this field when paginating results to indicate where to begin in
-- the list of conflicting aliases. The response includes conflicting
-- aliases in the list that occur after the marker. To get the next page
-- of the list, set this field's value to the value of
-- NextMarker from the current page's response.
--
-- ListConflictingAliases, listConflictingAliases_maxItems
-- - The maximum number of conflicting aliases that you want in the
-- response.
--
-- ListConflictingAliases,
-- listConflictingAliases_distributionId - The ID of a
-- distribution in your account that has an attached SSL/TLS certificate
-- that includes the provided alias.
--
-- ListConflictingAliases, listConflictingAliases_alias -
-- The alias (also called a CNAME) to search for conflicting aliases.
newListConflictingAliases :: Text -> Text -> ListConflictingAliases
-- | See: newListConflictingAliasesResponse smart
-- constructor.
data ListConflictingAliasesResponse
ListConflictingAliasesResponse' :: Maybe ConflictingAliasesList -> Int -> ListConflictingAliasesResponse
-- | Create a value of ListConflictingAliasesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:conflictingAliasesList:ListConflictingAliasesResponse',
-- listConflictingAliasesResponse_conflictingAliasesList - A list
-- of conflicting aliases.
--
-- $sel:httpStatus:ListConflictingAliasesResponse',
-- listConflictingAliasesResponse_httpStatus - The response's http
-- status code.
newListConflictingAliasesResponse :: Int -> ListConflictingAliasesResponse
-- | See: newListContinuousDeploymentPolicies smart
-- constructor.
data ListContinuousDeploymentPolicies
ListContinuousDeploymentPolicies' :: Maybe Text -> Maybe Text -> ListContinuousDeploymentPolicies
-- | Create a value of ListContinuousDeploymentPolicies with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListContinuousDeploymentPolicies,
-- listContinuousDeploymentPolicies_marker - Use this field when
-- paginating results to indicate where to begin in your list of
-- continuous deployment policies. The response includes policies in the
-- list that occur after the marker. To get the next page of the list,
-- set this field's value to the value of NextMarker from the
-- current page's response.
--
-- ListContinuousDeploymentPolicies,
-- listContinuousDeploymentPolicies_maxItems - The maximum number
-- of continuous deployment policies that you want returned in the
-- response.
newListContinuousDeploymentPolicies :: ListContinuousDeploymentPolicies
-- | See: newListContinuousDeploymentPoliciesResponse smart
-- constructor.
data ListContinuousDeploymentPoliciesResponse
ListContinuousDeploymentPoliciesResponse' :: Maybe ContinuousDeploymentPolicyList -> Int -> ListContinuousDeploymentPoliciesResponse
-- | Create a value of ListContinuousDeploymentPoliciesResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:continuousDeploymentPolicyList:ListContinuousDeploymentPoliciesResponse',
-- listContinuousDeploymentPoliciesResponse_continuousDeploymentPolicyList
-- - A list of continuous deployment policies.
--
-- $sel:httpStatus:ListContinuousDeploymentPoliciesResponse',
-- listContinuousDeploymentPoliciesResponse_httpStatus - The
-- response's http status code.
newListContinuousDeploymentPoliciesResponse :: Int -> ListContinuousDeploymentPoliciesResponse
-- | The request to list your distributions.
--
-- See: newListDistributions smart constructor.
data ListDistributions
ListDistributions' :: Maybe Text -> Maybe Text -> ListDistributions
-- | Create a value of ListDistributions with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDistributions, listDistributions_marker - 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).
--
-- ListDistributions, listDistributions_maxItems - The
-- maximum number of distributions you want in the response body.
newListDistributions :: ListDistributions
-- | The returned result of the corresponding request.
--
-- See: newListDistributionsResponse smart constructor.
data ListDistributionsResponse
ListDistributionsResponse' :: Int -> DistributionList -> ListDistributionsResponse
-- | Create a value of ListDistributionsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:ListDistributionsResponse',
-- listDistributionsResponse_httpStatus - The response's http
-- status code.
--
-- $sel:distributionList:ListDistributionsResponse',
-- listDistributionsResponse_distributionList - The
-- DistributionList type.
newListDistributionsResponse :: Int -> DistributionList -> ListDistributionsResponse
-- | See: newListDistributionsByCachePolicyId smart
-- constructor.
data ListDistributionsByCachePolicyId
ListDistributionsByCachePolicyId' :: Maybe Text -> Maybe Text -> Text -> ListDistributionsByCachePolicyId
-- | Create a value of ListDistributionsByCachePolicyId with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDistributionsByCachePolicyId,
-- listDistributionsByCachePolicyId_marker - Use this field when
-- paginating results to indicate where to begin in your list of
-- distribution IDs. The response includes distribution IDs in the list
-- that occur after the marker. To get the next page of the list, set
-- this field's value to the value of NextMarker from the
-- current page's response.
--
-- ListDistributionsByCachePolicyId,
-- listDistributionsByCachePolicyId_maxItems - The maximum number
-- of distribution IDs that you want in the response.
--
-- ListDistributionsByCachePolicyId,
-- listDistributionsByCachePolicyId_cachePolicyId - The ID of the
-- cache policy whose associated distribution IDs you want to list.
newListDistributionsByCachePolicyId :: Text -> ListDistributionsByCachePolicyId
-- | See: newListDistributionsByCachePolicyIdResponse smart
-- constructor.
data ListDistributionsByCachePolicyIdResponse
ListDistributionsByCachePolicyIdResponse' :: Maybe DistributionIdList -> Int -> ListDistributionsByCachePolicyIdResponse
-- | Create a value of ListDistributionsByCachePolicyIdResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:distributionIdList:ListDistributionsByCachePolicyIdResponse',
-- listDistributionsByCachePolicyIdResponse_distributionIdList - A
-- list of distribution IDs.
--
-- $sel:httpStatus:ListDistributionsByCachePolicyIdResponse',
-- listDistributionsByCachePolicyIdResponse_httpStatus - The
-- response's http status code.
newListDistributionsByCachePolicyIdResponse :: Int -> ListDistributionsByCachePolicyIdResponse
-- | See: newListDistributionsByKeyGroup smart constructor.
data ListDistributionsByKeyGroup
ListDistributionsByKeyGroup' :: Maybe Text -> Maybe Text -> Text -> ListDistributionsByKeyGroup
-- | Create a value of ListDistributionsByKeyGroup with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDistributionsByKeyGroup,
-- listDistributionsByKeyGroup_marker - Use this field when
-- paginating results to indicate where to begin in your list of
-- distribution IDs. The response includes distribution IDs in the list
-- that occur after the marker. To get the next page of the list, set
-- this field's value to the value of NextMarker from the
-- current page's response.
--
-- ListDistributionsByKeyGroup,
-- listDistributionsByKeyGroup_maxItems - The maximum number of
-- distribution IDs that you want in the response.
--
-- ListDistributionsByKeyGroup,
-- listDistributionsByKeyGroup_keyGroupId - The ID of the key
-- group whose associated distribution IDs you are listing.
newListDistributionsByKeyGroup :: Text -> ListDistributionsByKeyGroup
-- | See: newListDistributionsByKeyGroupResponse smart
-- constructor.
data ListDistributionsByKeyGroupResponse
ListDistributionsByKeyGroupResponse' :: Maybe DistributionIdList -> Int -> ListDistributionsByKeyGroupResponse
-- | Create a value of ListDistributionsByKeyGroupResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distributionIdList:ListDistributionsByKeyGroupResponse',
-- listDistributionsByKeyGroupResponse_distributionIdList -
-- Undocumented member.
--
-- $sel:httpStatus:ListDistributionsByKeyGroupResponse',
-- listDistributionsByKeyGroupResponse_httpStatus - The response's
-- http status code.
newListDistributionsByKeyGroupResponse :: Int -> ListDistributionsByKeyGroupResponse
-- | See: newListDistributionsByOriginRequestPolicyId smart
-- constructor.
data ListDistributionsByOriginRequestPolicyId
ListDistributionsByOriginRequestPolicyId' :: Maybe Text -> Maybe Text -> Text -> ListDistributionsByOriginRequestPolicyId
-- | Create a value of ListDistributionsByOriginRequestPolicyId with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDistributionsByOriginRequestPolicyId,
-- listDistributionsByOriginRequestPolicyId_marker - Use this
-- field when paginating results to indicate where to begin in your list
-- of distribution IDs. The response includes distribution IDs in the
-- list that occur after the marker. To get the next page of the list,
-- set this field's value to the value of NextMarker from the
-- current page's response.
--
-- ListDistributionsByOriginRequestPolicyId,
-- listDistributionsByOriginRequestPolicyId_maxItems - The maximum
-- number of distribution IDs that you want in the response.
--
-- ListDistributionsByOriginRequestPolicyId,
-- listDistributionsByOriginRequestPolicyId_originRequestPolicyId
-- - The ID of the origin request policy whose associated distribution
-- IDs you want to list.
newListDistributionsByOriginRequestPolicyId :: Text -> ListDistributionsByOriginRequestPolicyId
-- | See: newListDistributionsByOriginRequestPolicyIdResponse
-- smart constructor.
data ListDistributionsByOriginRequestPolicyIdResponse
ListDistributionsByOriginRequestPolicyIdResponse' :: Maybe DistributionIdList -> Int -> ListDistributionsByOriginRequestPolicyIdResponse
-- | Create a value of
-- ListDistributionsByOriginRequestPolicyIdResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:distributionIdList:ListDistributionsByOriginRequestPolicyIdResponse',
-- listDistributionsByOriginRequestPolicyIdResponse_distributionIdList
-- - A list of distribution IDs.
--
--
-- $sel:httpStatus:ListDistributionsByOriginRequestPolicyIdResponse',
-- listDistributionsByOriginRequestPolicyIdResponse_httpStatus -
-- The response's http status code.
newListDistributionsByOriginRequestPolicyIdResponse :: Int -> ListDistributionsByOriginRequestPolicyIdResponse
-- | See: newListDistributionsByRealtimeLogConfig smart
-- constructor.
data ListDistributionsByRealtimeLogConfig
ListDistributionsByRealtimeLogConfig' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> ListDistributionsByRealtimeLogConfig
-- | Create a value of ListDistributionsByRealtimeLogConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDistributionsByRealtimeLogConfig,
-- listDistributionsByRealtimeLogConfig_marker - Use this field
-- when paginating results to indicate where to begin in your list of
-- distributions. The response includes distributions in the list that
-- occur after the marker. To get the next page of the list, set this
-- field's value to the value of NextMarker from the current
-- page's response.
--
-- ListDistributionsByRealtimeLogConfig,
-- listDistributionsByRealtimeLogConfig_maxItems - The maximum
-- number of distributions that you want in the response.
--
-- ListDistributionsByRealtimeLogConfig,
-- listDistributionsByRealtimeLogConfig_realtimeLogConfigArn - The
-- Amazon Resource Name (ARN) of the real-time log configuration whose
-- associated distributions you want to list.
--
--
-- $sel:realtimeLogConfigName:ListDistributionsByRealtimeLogConfig',
-- listDistributionsByRealtimeLogConfig_realtimeLogConfigName -
-- The name of the real-time log configuration whose associated
-- distributions you want to list.
newListDistributionsByRealtimeLogConfig :: ListDistributionsByRealtimeLogConfig
-- | See: newListDistributionsByRealtimeLogConfigResponse
-- smart constructor.
data ListDistributionsByRealtimeLogConfigResponse
ListDistributionsByRealtimeLogConfigResponse' :: Maybe DistributionList -> Int -> ListDistributionsByRealtimeLogConfigResponse
-- | Create a value of ListDistributionsByRealtimeLogConfigResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:distributionList:ListDistributionsByRealtimeLogConfigResponse',
-- listDistributionsByRealtimeLogConfigResponse_distributionList -
-- Undocumented member.
--
-- $sel:httpStatus:ListDistributionsByRealtimeLogConfigResponse',
-- listDistributionsByRealtimeLogConfigResponse_httpStatus - The
-- response's http status code.
newListDistributionsByRealtimeLogConfigResponse :: Int -> ListDistributionsByRealtimeLogConfigResponse
-- | See: newListDistributionsByResponseHeadersPolicyId smart
-- constructor.
data ListDistributionsByResponseHeadersPolicyId
ListDistributionsByResponseHeadersPolicyId' :: Maybe Text -> Maybe Text -> Text -> ListDistributionsByResponseHeadersPolicyId
-- | Create a value of ListDistributionsByResponseHeadersPolicyId
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDistributionsByResponseHeadersPolicyId,
-- listDistributionsByResponseHeadersPolicyId_marker - Use this
-- field when paginating results to indicate where to begin in your list
-- of distribution IDs. The response includes distribution IDs in the
-- list that occur after the marker. To get the next page of the list,
-- set this field's value to the value of NextMarker from the
-- current page's response.
--
-- ListDistributionsByResponseHeadersPolicyId,
-- listDistributionsByResponseHeadersPolicyId_maxItems - The
-- maximum number of distribution IDs that you want to get in the
-- response.
--
-- ListDistributionsByResponseHeadersPolicyId,
-- listDistributionsByResponseHeadersPolicyId_responseHeadersPolicyId
-- - The ID of the response headers policy whose associated distribution
-- IDs you want to list.
newListDistributionsByResponseHeadersPolicyId :: Text -> ListDistributionsByResponseHeadersPolicyId
-- | See:
-- newListDistributionsByResponseHeadersPolicyIdResponse smart
-- constructor.
data ListDistributionsByResponseHeadersPolicyIdResponse
ListDistributionsByResponseHeadersPolicyIdResponse' :: Maybe DistributionIdList -> Int -> ListDistributionsByResponseHeadersPolicyIdResponse
-- | Create a value of
-- ListDistributionsByResponseHeadersPolicyIdResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:distributionIdList:ListDistributionsByResponseHeadersPolicyIdResponse',
-- listDistributionsByResponseHeadersPolicyIdResponse_distributionIdList
-- - Undocumented member.
--
--
-- $sel:httpStatus:ListDistributionsByResponseHeadersPolicyIdResponse',
-- listDistributionsByResponseHeadersPolicyIdResponse_httpStatus -
-- The response's http status code.
newListDistributionsByResponseHeadersPolicyIdResponse :: Int -> ListDistributionsByResponseHeadersPolicyIdResponse
-- | The request to list distributions that are associated with a specified
-- WAF web ACL.
--
-- See: newListDistributionsByWebACLId smart constructor.
data ListDistributionsByWebACLId
ListDistributionsByWebACLId' :: Maybe Text -> Maybe Text -> Text -> ListDistributionsByWebACLId
-- | Create a value of ListDistributionsByWebACLId with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDistributionsByWebACLId,
-- listDistributionsByWebACLId_marker - Use Marker and
-- MaxItems to control pagination of results. If you have more
-- than MaxItems distributions that satisfy the request, the
-- response includes a NextMarker element. To get the next page
-- of results, submit another request. For the value of Marker,
-- specify the value of NextMarker from the last response. (For
-- the first request, omit Marker.)
--
-- ListDistributionsByWebACLId,
-- listDistributionsByWebACLId_maxItems - The maximum number of
-- distributions that you want CloudFront to return in the response body.
-- The maximum and default values are both 100.
--
-- ListDistributionsByWebACLId,
-- listDistributionsByWebACLId_webACLId - The ID of the WAF web
-- ACL that you want to list the associated distributions. If you specify
-- "null" for the ID, the request returns a list of the distributions
-- that aren't associated with a web ACL.
newListDistributionsByWebACLId :: Text -> ListDistributionsByWebACLId
-- | The response to a request to list the distributions that are
-- associated with a specified WAF web ACL.
--
-- See: newListDistributionsByWebACLIdResponse smart
-- constructor.
data ListDistributionsByWebACLIdResponse
ListDistributionsByWebACLIdResponse' :: Maybe DistributionList -> Int -> ListDistributionsByWebACLIdResponse
-- | Create a value of ListDistributionsByWebACLIdResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distributionList:ListDistributionsByWebACLIdResponse',
-- listDistributionsByWebACLIdResponse_distributionList - The
-- DistributionList type.
--
-- $sel:httpStatus:ListDistributionsByWebACLIdResponse',
-- listDistributionsByWebACLIdResponse_httpStatus - The response's
-- http status code.
newListDistributionsByWebACLIdResponse :: Int -> ListDistributionsByWebACLIdResponse
-- | See: newListFieldLevelEncryptionConfigs smart
-- constructor.
data ListFieldLevelEncryptionConfigs
ListFieldLevelEncryptionConfigs' :: Maybe Text -> Maybe Text -> ListFieldLevelEncryptionConfigs
-- | Create a value of ListFieldLevelEncryptionConfigs with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListFieldLevelEncryptionConfigs,
-- listFieldLevelEncryptionConfigs_marker - Use this when
-- paginating results to indicate where to begin in your list of
-- configurations. The results include configurations 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
-- configuration on that page).
--
-- ListFieldLevelEncryptionConfigs,
-- listFieldLevelEncryptionConfigs_maxItems - The maximum number
-- of field-level encryption configurations you want in the response
-- body.
newListFieldLevelEncryptionConfigs :: ListFieldLevelEncryptionConfigs
-- | See: newListFieldLevelEncryptionConfigsResponse smart
-- constructor.
data ListFieldLevelEncryptionConfigsResponse
ListFieldLevelEncryptionConfigsResponse' :: Maybe FieldLevelEncryptionList -> Int -> ListFieldLevelEncryptionConfigsResponse
-- | Create a value of ListFieldLevelEncryptionConfigsResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:fieldLevelEncryptionList:ListFieldLevelEncryptionConfigsResponse',
-- listFieldLevelEncryptionConfigsResponse_fieldLevelEncryptionList
-- - Returns a list of all field-level encryption configurations that
-- have been created in CloudFront for this account.
--
-- $sel:httpStatus:ListFieldLevelEncryptionConfigsResponse',
-- listFieldLevelEncryptionConfigsResponse_httpStatus - The
-- response's http status code.
newListFieldLevelEncryptionConfigsResponse :: Int -> ListFieldLevelEncryptionConfigsResponse
-- | See: newListFieldLevelEncryptionProfiles smart
-- constructor.
data ListFieldLevelEncryptionProfiles
ListFieldLevelEncryptionProfiles' :: Maybe Text -> Maybe Text -> ListFieldLevelEncryptionProfiles
-- | Create a value of ListFieldLevelEncryptionProfiles with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListFieldLevelEncryptionProfiles,
-- listFieldLevelEncryptionProfiles_marker - Use this when
-- paginating results to indicate where to begin in your list of
-- profiles. The results include profiles 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 profile on that page).
--
-- ListFieldLevelEncryptionProfiles,
-- listFieldLevelEncryptionProfiles_maxItems - The maximum number
-- of field-level encryption profiles you want in the response body.
newListFieldLevelEncryptionProfiles :: ListFieldLevelEncryptionProfiles
-- | See: newListFieldLevelEncryptionProfilesResponse smart
-- constructor.
data ListFieldLevelEncryptionProfilesResponse
ListFieldLevelEncryptionProfilesResponse' :: Maybe FieldLevelEncryptionProfileList -> Int -> ListFieldLevelEncryptionProfilesResponse
-- | Create a value of ListFieldLevelEncryptionProfilesResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:fieldLevelEncryptionProfileList:ListFieldLevelEncryptionProfilesResponse',
-- listFieldLevelEncryptionProfilesResponse_fieldLevelEncryptionProfileList
-- - Returns a list of the field-level encryption profiles that have been
-- created in CloudFront for this account.
--
-- $sel:httpStatus:ListFieldLevelEncryptionProfilesResponse',
-- listFieldLevelEncryptionProfilesResponse_httpStatus - The
-- response's http status code.
newListFieldLevelEncryptionProfilesResponse :: Int -> ListFieldLevelEncryptionProfilesResponse
-- | See: newListFunctions smart constructor.
data ListFunctions
ListFunctions' :: Maybe Text -> Maybe Text -> Maybe FunctionStage -> ListFunctions
-- | Create a value of ListFunctions with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListFunctions, listFunctions_marker - Use this field
-- when paginating results to indicate where to begin in your list of
-- functions. The response includes functions in the list that occur
-- after the marker. To get the next page of the list, set this field's
-- value to the value of NextMarker from the current page's
-- response.
--
-- ListFunctions, listFunctions_maxItems - The maximum
-- number of functions that you want in the response.
--
-- ListFunctions, listFunctions_stage - An optional filter
-- to return only the functions that are in the specified stage, either
-- DEVELOPMENT or LIVE.
newListFunctions :: ListFunctions
-- | See: newListFunctionsResponse smart constructor.
data ListFunctionsResponse
ListFunctionsResponse' :: Maybe FunctionList -> Int -> ListFunctionsResponse
-- | Create a value of ListFunctionsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:functionList:ListFunctionsResponse',
-- listFunctionsResponse_functionList - A list of CloudFront
-- functions.
--
-- $sel:httpStatus:ListFunctionsResponse',
-- listFunctionsResponse_httpStatus - The response's http status
-- code.
newListFunctionsResponse :: Int -> ListFunctionsResponse
-- | The request to list invalidations.
--
-- See: newListInvalidations smart constructor.
data ListInvalidations
ListInvalidations' :: Maybe Text -> Maybe Text -> Text -> ListInvalidations
-- | Create a value of ListInvalidations with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListInvalidations, listInvalidations_marker - 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 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.
--
-- ListInvalidations, listInvalidations_maxItems - The
-- maximum number of invalidation batches that you want in the response
-- body.
--
-- ListInvalidations, listInvalidations_distributionId -
-- The distribution's ID.
newListInvalidations :: Text -> ListInvalidations
-- | The returned result of the corresponding request.
--
-- See: newListInvalidationsResponse smart constructor.
data ListInvalidationsResponse
ListInvalidationsResponse' :: Int -> InvalidationList -> ListInvalidationsResponse
-- | Create a value of ListInvalidationsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:ListInvalidationsResponse',
-- listInvalidationsResponse_httpStatus - The response's http
-- status code.
--
-- $sel:invalidationList:ListInvalidationsResponse',
-- listInvalidationsResponse_invalidationList - Information about
-- invalidation batches.
newListInvalidationsResponse :: Int -> InvalidationList -> ListInvalidationsResponse
-- | See: newListKeyGroups smart constructor.
data ListKeyGroups
ListKeyGroups' :: Maybe Text -> Maybe Text -> ListKeyGroups
-- | Create a value of ListKeyGroups with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListKeyGroups, listKeyGroups_marker - Use this field
-- when paginating results to indicate where to begin in your list of key
-- groups. The response includes key groups in the list that occur after
-- the marker. To get the next page of the list, set this field's value
-- to the value of NextMarker from the current page's response.
--
-- ListKeyGroups, listKeyGroups_maxItems - The maximum
-- number of key groups that you want in the response.
newListKeyGroups :: ListKeyGroups
-- | See: newListKeyGroupsResponse smart constructor.
data ListKeyGroupsResponse
ListKeyGroupsResponse' :: Maybe KeyGroupList -> Int -> ListKeyGroupsResponse
-- | Create a value of ListKeyGroupsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:keyGroupList:ListKeyGroupsResponse',
-- listKeyGroupsResponse_keyGroupList - A list of key groups.
--
-- $sel:httpStatus:ListKeyGroupsResponse',
-- listKeyGroupsResponse_httpStatus - The response's http status
-- code.
newListKeyGroupsResponse :: Int -> ListKeyGroupsResponse
-- | See: newListOriginAccessControls smart constructor.
data ListOriginAccessControls
ListOriginAccessControls' :: Maybe Text -> Maybe Text -> ListOriginAccessControls
-- | Create a value of ListOriginAccessControls with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListOriginAccessControls,
-- listOriginAccessControls_marker - Use this field when
-- paginating results to indicate where to begin in your list of origin
-- access controls. The response includes the items in the list that
-- occur after the marker. To get the next page of the list, set this
-- field's value to the value of NextMarker from the current
-- page's response.
--
-- ListOriginAccessControls,
-- listOriginAccessControls_maxItems - The maximum number of
-- origin access controls that you want in the response.
newListOriginAccessControls :: ListOriginAccessControls
-- | See: newListOriginAccessControlsResponse smart
-- constructor.
data ListOriginAccessControlsResponse
ListOriginAccessControlsResponse' :: Maybe OriginAccessControlList -> Int -> ListOriginAccessControlsResponse
-- | Create a value of ListOriginAccessControlsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:originAccessControlList:ListOriginAccessControlsResponse',
-- listOriginAccessControlsResponse_originAccessControlList - A
-- list of origin access controls.
--
-- $sel:httpStatus:ListOriginAccessControlsResponse',
-- listOriginAccessControlsResponse_httpStatus - The response's
-- http status code.
newListOriginAccessControlsResponse :: Int -> ListOriginAccessControlsResponse
-- | See: newListOriginRequestPolicies smart constructor.
data ListOriginRequestPolicies
ListOriginRequestPolicies' :: Maybe Text -> Maybe Text -> Maybe OriginRequestPolicyType -> ListOriginRequestPolicies
-- | Create a value of ListOriginRequestPolicies with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListOriginRequestPolicies,
-- listOriginRequestPolicies_marker - Use this field when
-- paginating results to indicate where to begin in your list of origin
-- request policies. The response includes origin request policies in the
-- list that occur after the marker. To get the next page of the list,
-- set this field's value to the value of NextMarker from the
-- current page's response.
--
-- ListOriginRequestPolicies,
-- listOriginRequestPolicies_maxItems - The maximum number of
-- origin request policies that you want in the response.
--
-- ListOriginRequestPolicies,
-- listOriginRequestPolicies_type - A filter to return only the
-- specified kinds of origin request policies. Valid values are:
--
--
-- - managed – Returns only the managed policies created by
-- Amazon Web Services.
-- - custom – Returns only the custom policies created in your
-- Amazon Web Services account.
--
newListOriginRequestPolicies :: ListOriginRequestPolicies
-- | See: newListOriginRequestPoliciesResponse smart
-- constructor.
data ListOriginRequestPoliciesResponse
ListOriginRequestPoliciesResponse' :: Maybe OriginRequestPolicyList -> Int -> ListOriginRequestPoliciesResponse
-- | Create a value of ListOriginRequestPoliciesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:originRequestPolicyList:ListOriginRequestPoliciesResponse',
-- listOriginRequestPoliciesResponse_originRequestPolicyList - A
-- list of origin request policies.
--
-- $sel:httpStatus:ListOriginRequestPoliciesResponse',
-- listOriginRequestPoliciesResponse_httpStatus - The response's
-- http status code.
newListOriginRequestPoliciesResponse :: Int -> ListOriginRequestPoliciesResponse
-- | See: newListPublicKeys smart constructor.
data ListPublicKeys
ListPublicKeys' :: Maybe Text -> Maybe Text -> ListPublicKeys
-- | Create a value of ListPublicKeys with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListPublicKeys, listPublicKeys_marker - Use this when
-- paginating results to indicate where to begin in your list of public
-- keys. The results include public keys 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 public key on that page).
--
-- ListPublicKeys, listPublicKeys_maxItems - The maximum
-- number of public keys you want in the response body.
newListPublicKeys :: ListPublicKeys
-- | See: newListPublicKeysResponse smart constructor.
data ListPublicKeysResponse
ListPublicKeysResponse' :: Maybe PublicKeyList -> Int -> ListPublicKeysResponse
-- | Create a value of ListPublicKeysResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:publicKeyList:ListPublicKeysResponse',
-- listPublicKeysResponse_publicKeyList - Returns a list of all
-- public keys that have been added to CloudFront for this account.
--
-- $sel:httpStatus:ListPublicKeysResponse',
-- listPublicKeysResponse_httpStatus - The response's http status
-- code.
newListPublicKeysResponse :: Int -> ListPublicKeysResponse
-- | See: newListRealtimeLogConfigs smart constructor.
data ListRealtimeLogConfigs
ListRealtimeLogConfigs' :: Maybe Text -> Maybe Text -> ListRealtimeLogConfigs
-- | Create a value of ListRealtimeLogConfigs with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListRealtimeLogConfigs, listRealtimeLogConfigs_marker -
-- Use this field when paginating results to indicate where to begin in
-- your list of real-time log configurations. The response includes
-- real-time log configurations in the list that occur after the marker.
-- To get the next page of the list, set this field's value to the value
-- of NextMarker from the current page's response.
--
-- ListRealtimeLogConfigs, listRealtimeLogConfigs_maxItems
-- - The maximum number of real-time log configurations that you want in
-- the response.
newListRealtimeLogConfigs :: ListRealtimeLogConfigs
-- | See: newListRealtimeLogConfigsResponse smart
-- constructor.
data ListRealtimeLogConfigsResponse
ListRealtimeLogConfigsResponse' :: Maybe RealtimeLogConfigs -> Int -> ListRealtimeLogConfigsResponse
-- | Create a value of ListRealtimeLogConfigsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:realtimeLogConfigs:ListRealtimeLogConfigsResponse',
-- listRealtimeLogConfigsResponse_realtimeLogConfigs - A list of
-- real-time log configurations.
--
-- $sel:httpStatus:ListRealtimeLogConfigsResponse',
-- listRealtimeLogConfigsResponse_httpStatus - The response's http
-- status code.
newListRealtimeLogConfigsResponse :: Int -> ListRealtimeLogConfigsResponse
-- | See: newListResponseHeadersPolicies smart constructor.
data ListResponseHeadersPolicies
ListResponseHeadersPolicies' :: Maybe Text -> Maybe Text -> Maybe ResponseHeadersPolicyType -> ListResponseHeadersPolicies
-- | Create a value of ListResponseHeadersPolicies with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListResponseHeadersPolicies,
-- listResponseHeadersPolicies_marker - Use this field when
-- paginating results to indicate where to begin in your list of response
-- headers policies. The response includes response headers policies in
-- the list that occur after the marker. To get the next page of the
-- list, set this field's value to the value of NextMarker from
-- the current page's response.
--
-- ListResponseHeadersPolicies,
-- listResponseHeadersPolicies_maxItems - The maximum number of
-- response headers policies that you want to get in the response.
--
-- ListResponseHeadersPolicies,
-- listResponseHeadersPolicies_type - A filter to get only the
-- specified kind of response headers policies. Valid values are:
--
--
-- - managed – Gets only the managed policies created by
-- Amazon Web Services.
-- - custom – Gets only the custom policies created in your
-- Amazon Web Services account.
--
newListResponseHeadersPolicies :: ListResponseHeadersPolicies
-- | See: newListResponseHeadersPoliciesResponse smart
-- constructor.
data ListResponseHeadersPoliciesResponse
ListResponseHeadersPoliciesResponse' :: Maybe ResponseHeadersPolicyList -> Int -> ListResponseHeadersPoliciesResponse
-- | Create a value of ListResponseHeadersPoliciesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:responseHeadersPolicyList:ListResponseHeadersPoliciesResponse',
-- listResponseHeadersPoliciesResponse_responseHeadersPolicyList -
-- A list of response headers policies.
--
-- $sel:httpStatus:ListResponseHeadersPoliciesResponse',
-- listResponseHeadersPoliciesResponse_httpStatus - The response's
-- http status code.
newListResponseHeadersPoliciesResponse :: Int -> ListResponseHeadersPoliciesResponse
-- | The request to list your streaming distributions.
--
-- See: newListStreamingDistributions smart constructor.
data ListStreamingDistributions
ListStreamingDistributions' :: Maybe Text -> Maybe Text -> ListStreamingDistributions
-- | Create a value of ListStreamingDistributions with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListStreamingDistributions,
-- listStreamingDistributions_marker - The value that you provided
-- for the Marker request parameter.
--
-- ListStreamingDistributions,
-- listStreamingDistributions_maxItems - The value that you
-- provided for the MaxItems request parameter.
newListStreamingDistributions :: ListStreamingDistributions
-- | The returned result of the corresponding request.
--
-- See: newListStreamingDistributionsResponse smart
-- constructor.
data ListStreamingDistributionsResponse
ListStreamingDistributionsResponse' :: Int -> StreamingDistributionList -> ListStreamingDistributionsResponse
-- | Create a value of ListStreamingDistributionsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:ListStreamingDistributionsResponse',
-- listStreamingDistributionsResponse_httpStatus - The response's
-- http status code.
--
--
-- $sel:streamingDistributionList:ListStreamingDistributionsResponse',
-- listStreamingDistributionsResponse_streamingDistributionList -
-- The StreamingDistributionList type.
newListStreamingDistributionsResponse :: Int -> StreamingDistributionList -> ListStreamingDistributionsResponse
-- | The request to list tags for a CloudFront resource.
--
-- See: newListTagsForResource smart constructor.
data ListTagsForResource
ListTagsForResource' :: Text -> ListTagsForResource
-- | Create a value of ListTagsForResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resource:ListTagsForResource',
-- listTagsForResource_resource - An ARN of a CloudFront resource.
newListTagsForResource :: Text -> ListTagsForResource
-- | The returned result of the corresponding request.
--
-- See: newListTagsForResourceResponse smart constructor.
data ListTagsForResourceResponse
ListTagsForResourceResponse' :: Int -> Tags -> ListTagsForResourceResponse
-- | Create a value of ListTagsForResourceResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:ListTagsForResourceResponse',
-- listTagsForResourceResponse_httpStatus - The response's http
-- status code.
--
-- ListTagsForResourceResponse,
-- listTagsForResourceResponse_tags - A complex type that contains
-- zero or more Tag elements.
newListTagsForResourceResponse :: Int -> Tags -> ListTagsForResourceResponse
-- | See: newPublishFunction smart constructor.
data PublishFunction
PublishFunction' :: Text -> Text -> PublishFunction
-- | Create a value of PublishFunction with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- PublishFunction, publishFunction_name - The name of the
-- function that you are publishing.
--
-- $sel:ifMatch:PublishFunction', publishFunction_ifMatch -
-- The current version (ETag value) of the function that you are
-- publishing, which you can get using DescribeFunction.
newPublishFunction :: Text -> Text -> PublishFunction
-- | See: newPublishFunctionResponse smart constructor.
data PublishFunctionResponse
PublishFunctionResponse' :: Maybe FunctionSummary -> Int -> PublishFunctionResponse
-- | Create a value of PublishFunctionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- PublishFunctionResponse,
-- publishFunctionResponse_functionSummary - Contains
-- configuration information and metadata about a CloudFront function.
--
-- $sel:httpStatus:PublishFunctionResponse',
-- publishFunctionResponse_httpStatus - The response's http status
-- code.
newPublishFunctionResponse :: Int -> PublishFunctionResponse
-- | The request to add tags to a CloudFront resource.
--
-- See: newTagResource smart constructor.
data TagResource
TagResource' :: Text -> Tags -> TagResource
-- | Create a value of TagResource with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resource:TagResource', tagResource_resource - An
-- ARN of a CloudFront resource.
--
-- TagResource, tagResource_tags - A complex type that
-- contains zero or more Tag elements.
newTagResource :: Text -> Tags -> TagResource
-- | See: newTagResourceResponse smart constructor.
data TagResourceResponse
TagResourceResponse' :: TagResourceResponse
-- | Create a value of TagResourceResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newTagResourceResponse :: TagResourceResponse
-- | See: newTestFunction smart constructor.
data TestFunction
TestFunction' :: Maybe FunctionStage -> Text -> Text -> Sensitive Base64 -> TestFunction
-- | Create a value of TestFunction with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- TestFunction, testFunction_stage - The stage of the
-- function that you are testing, either DEVELOPMENT or
-- LIVE.
--
-- TestFunction, testFunction_name - The name of the
-- function that you are testing.
--
-- $sel:ifMatch:TestFunction', testFunction_ifMatch - The
-- current version (ETag value) of the function that you are
-- testing, which you can get using DescribeFunction.
--
-- $sel:eventObject:TestFunction', testFunction_eventObject
-- - The event object to test the function with. For more information
-- about the structure of the event object, see Testing functions
-- in the Amazon CloudFront Developer Guide.-- -- Note:
-- This Lens automatically encodes and decodes Base64 data. --
-- The underlying isomorphism will encode to Base64 representation during
-- -- serialisation, and decode from Base64 representation during
-- deserialisation. -- This Lens accepts and returns only raw
-- unencoded data.
newTestFunction :: Text -> Text -> ByteString -> TestFunction
-- | See: newTestFunctionResponse smart constructor.
data TestFunctionResponse
TestFunctionResponse' :: Maybe TestResult -> Int -> TestFunctionResponse
-- | Create a value of TestFunctionResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:testResult:TestFunctionResponse',
-- testFunctionResponse_testResult - An object that represents the
-- result of running the function with the provided event object.
--
-- $sel:httpStatus:TestFunctionResponse',
-- testFunctionResponse_httpStatus - The response's http status
-- code.
newTestFunctionResponse :: Int -> TestFunctionResponse
-- | The request to remove tags from a CloudFront resource.
--
-- See: newUntagResource smart constructor.
data UntagResource
UntagResource' :: Text -> TagKeys -> UntagResource
-- | Create a value of UntagResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resource:UntagResource', untagResource_resource -
-- An ARN of a CloudFront resource.
--
-- $sel:tagKeys:UntagResource', untagResource_tagKeys - A
-- complex type that contains zero or more Tag key elements.
newUntagResource :: Text -> TagKeys -> UntagResource
-- | See: newUntagResourceResponse smart constructor.
data UntagResourceResponse
UntagResourceResponse' :: UntagResourceResponse
-- | Create a value of UntagResourceResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newUntagResourceResponse :: UntagResourceResponse
-- | See: newUpdateCachePolicy smart constructor.
data UpdateCachePolicy
UpdateCachePolicy' :: Maybe Text -> CachePolicyConfig -> Text -> UpdateCachePolicy
-- | Create a value of UpdateCachePolicy with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateCachePolicy',
-- updateCachePolicy_ifMatch - The version of the cache policy
-- that you are updating. The version is returned in the cache policy's
-- ETag field in the response to GetCachePolicyConfig.
--
-- UpdateCachePolicy, updateCachePolicy_cachePolicyConfig -
-- A cache policy configuration.
--
-- UpdateCachePolicy, updateCachePolicy_id - The unique
-- identifier for the cache policy that you are updating. The identifier
-- is returned in a cache behavior's CachePolicyId field in the
-- response to GetDistributionConfig.
newUpdateCachePolicy :: CachePolicyConfig -> Text -> UpdateCachePolicy
-- | See: newUpdateCachePolicyResponse smart constructor.
data UpdateCachePolicyResponse
UpdateCachePolicyResponse' :: Maybe CachePolicy -> Maybe Text -> Int -> UpdateCachePolicyResponse
-- | Create a value of UpdateCachePolicyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateCachePolicyResponse,
-- updateCachePolicyResponse_cachePolicy - A cache policy.
--
-- $sel:eTag:UpdateCachePolicyResponse',
-- updateCachePolicyResponse_eTag - The current version of the
-- cache policy.
--
-- $sel:httpStatus:UpdateCachePolicyResponse',
-- updateCachePolicyResponse_httpStatus - The response's http
-- status code.
newUpdateCachePolicyResponse :: Int -> UpdateCachePolicyResponse
-- | The request to update an origin access identity.
--
-- See: newUpdateCloudFrontOriginAccessIdentity smart
-- constructor.
data UpdateCloudFrontOriginAccessIdentity
UpdateCloudFrontOriginAccessIdentity' :: Maybe Text -> CloudFrontOriginAccessIdentityConfig -> Text -> UpdateCloudFrontOriginAccessIdentity
-- | Create a value of UpdateCloudFrontOriginAccessIdentity with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateCloudFrontOriginAccessIdentity',
-- updateCloudFrontOriginAccessIdentity_ifMatch - The value of the
-- ETag header that you received when retrieving the identity's
-- configuration. For example: E2QWRUHAPOMQZL.
--
-- UpdateCloudFrontOriginAccessIdentity,
-- updateCloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig
-- - The identity's configuration information.
--
-- UpdateCloudFrontOriginAccessIdentity,
-- updateCloudFrontOriginAccessIdentity_id - The identity's id.
newUpdateCloudFrontOriginAccessIdentity :: CloudFrontOriginAccessIdentityConfig -> Text -> UpdateCloudFrontOriginAccessIdentity
-- | The returned result of the corresponding request.
--
-- See: newUpdateCloudFrontOriginAccessIdentityResponse
-- smart constructor.
data UpdateCloudFrontOriginAccessIdentityResponse
UpdateCloudFrontOriginAccessIdentityResponse' :: Maybe CloudFrontOriginAccessIdentity -> Maybe Text -> Int -> UpdateCloudFrontOriginAccessIdentityResponse
-- | Create a value of UpdateCloudFrontOriginAccessIdentityResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:cloudFrontOriginAccessIdentity:UpdateCloudFrontOriginAccessIdentityResponse',
-- updateCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity
-- - The origin access identity's information.
--
-- $sel:eTag:UpdateCloudFrontOriginAccessIdentityResponse',
-- updateCloudFrontOriginAccessIdentityResponse_eTag - The current
-- version of the configuration. For example: E2QWRUHAPOMQZL.
--
-- $sel:httpStatus:UpdateCloudFrontOriginAccessIdentityResponse',
-- updateCloudFrontOriginAccessIdentityResponse_httpStatus - The
-- response's http status code.
newUpdateCloudFrontOriginAccessIdentityResponse :: Int -> UpdateCloudFrontOriginAccessIdentityResponse
-- | See: newUpdateContinuousDeploymentPolicy smart
-- constructor.
data UpdateContinuousDeploymentPolicy
UpdateContinuousDeploymentPolicy' :: Maybe Text -> ContinuousDeploymentPolicyConfig -> Text -> UpdateContinuousDeploymentPolicy
-- | Create a value of UpdateContinuousDeploymentPolicy with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateContinuousDeploymentPolicy',
-- updateContinuousDeploymentPolicy_ifMatch - The current version
-- (ETag value) of the continuous deployment policy that you are
-- updating.
--
-- UpdateContinuousDeploymentPolicy,
-- updateContinuousDeploymentPolicy_continuousDeploymentPolicyConfig
-- - The continuous deployment policy configuration.
--
-- UpdateContinuousDeploymentPolicy,
-- updateContinuousDeploymentPolicy_id - The identifier of the
-- continuous deployment policy that you are updating.
newUpdateContinuousDeploymentPolicy :: ContinuousDeploymentPolicyConfig -> Text -> UpdateContinuousDeploymentPolicy
-- | See: newUpdateContinuousDeploymentPolicyResponse smart
-- constructor.
data UpdateContinuousDeploymentPolicyResponse
UpdateContinuousDeploymentPolicyResponse' :: Maybe ContinuousDeploymentPolicy -> Maybe Text -> Int -> UpdateContinuousDeploymentPolicyResponse
-- | Create a value of UpdateContinuousDeploymentPolicyResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateContinuousDeploymentPolicyResponse,
-- updateContinuousDeploymentPolicyResponse_continuousDeploymentPolicy
-- - A continuous deployment policy.
--
-- $sel:eTag:UpdateContinuousDeploymentPolicyResponse',
-- updateContinuousDeploymentPolicyResponse_eTag - The version
-- identifier for the current version of the continuous deployment
-- policy.
--
-- $sel:httpStatus:UpdateContinuousDeploymentPolicyResponse',
-- updateContinuousDeploymentPolicyResponse_httpStatus - The
-- response's http status code.
newUpdateContinuousDeploymentPolicyResponse :: Int -> UpdateContinuousDeploymentPolicyResponse
-- | The request to update a distribution.
--
-- See: newUpdateDistribution smart constructor.
data UpdateDistribution
UpdateDistribution' :: Maybe Text -> DistributionConfig -> Text -> UpdateDistribution
-- | Create a value of UpdateDistribution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateDistribution',
-- updateDistribution_ifMatch - The value of the ETag
-- header that you received when retrieving the distribution's
-- configuration. For example: E2QWRUHAPOMQZL.
--
-- UpdateDistribution,
-- updateDistribution_distributionConfig - The distribution's
-- configuration information.
--
-- UpdateDistribution, updateDistribution_id - The
-- distribution's id.
newUpdateDistribution :: DistributionConfig -> Text -> UpdateDistribution
-- | The returned result of the corresponding request.
--
-- See: newUpdateDistributionResponse smart constructor.
data UpdateDistributionResponse
UpdateDistributionResponse' :: Maybe Distribution -> Maybe Text -> Int -> UpdateDistributionResponse
-- | Create a value of UpdateDistributionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distribution:UpdateDistributionResponse',
-- updateDistributionResponse_distribution - The distribution's
-- information.
--
-- $sel:eTag:UpdateDistributionResponse',
-- updateDistributionResponse_eTag - The current version of the
-- configuration. For example: E2QWRUHAPOMQZL.
--
-- $sel:httpStatus:UpdateDistributionResponse',
-- updateDistributionResponse_httpStatus - The response's http
-- status code.
newUpdateDistributionResponse :: Int -> UpdateDistributionResponse
-- | See: newUpdateDistributionWithStagingConfig smart
-- constructor.
data UpdateDistributionWithStagingConfig
UpdateDistributionWithStagingConfig' :: Maybe Text -> Maybe Text -> Text -> UpdateDistributionWithStagingConfig
-- | Create a value of UpdateDistributionWithStagingConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateDistributionWithStagingConfig',
-- updateDistributionWithStagingConfig_ifMatch - The current
-- versions (ETag values) of both primary and staging
-- distributions. Provide these in the following format:
--
--
-- <primary ETag>, <staging ETag>
--
--
--
-- $sel:stagingDistributionId:UpdateDistributionWithStagingConfig',
-- updateDistributionWithStagingConfig_stagingDistributionId - The
-- identifier of the staging distribution whose configuration you are
-- copying to the primary distribution.
--
-- UpdateDistributionWithStagingConfig,
-- updateDistributionWithStagingConfig_id - The identifier of the
-- primary distribution to which you are copying a staging distribution's
-- configuration.
newUpdateDistributionWithStagingConfig :: Text -> UpdateDistributionWithStagingConfig
-- | See: newUpdateDistributionWithStagingConfigResponse
-- smart constructor.
data UpdateDistributionWithStagingConfigResponse
UpdateDistributionWithStagingConfigResponse' :: Maybe Distribution -> Maybe Text -> Int -> UpdateDistributionWithStagingConfigResponse
-- | Create a value of UpdateDistributionWithStagingConfigResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distribution:UpdateDistributionWithStagingConfigResponse',
-- updateDistributionWithStagingConfigResponse_distribution -
-- Undocumented member.
--
-- $sel:eTag:UpdateDistributionWithStagingConfigResponse',
-- updateDistributionWithStagingConfigResponse_eTag - The current
-- version of the primary distribution (after it's updated).
--
-- $sel:httpStatus:UpdateDistributionWithStagingConfigResponse',
-- updateDistributionWithStagingConfigResponse_httpStatus - The
-- response's http status code.
newUpdateDistributionWithStagingConfigResponse :: Int -> UpdateDistributionWithStagingConfigResponse
-- | See: newUpdateFieldLevelEncryptionConfig smart
-- constructor.
data UpdateFieldLevelEncryptionConfig
UpdateFieldLevelEncryptionConfig' :: Maybe Text -> FieldLevelEncryptionConfig -> Text -> UpdateFieldLevelEncryptionConfig
-- | Create a value of UpdateFieldLevelEncryptionConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateFieldLevelEncryptionConfig',
-- updateFieldLevelEncryptionConfig_ifMatch - The value of the
-- ETag header that you received when retrieving the
-- configuration identity to update. For example:
-- E2QWRUHAPOMQZL.
--
-- UpdateFieldLevelEncryptionConfig,
-- updateFieldLevelEncryptionConfig_fieldLevelEncryptionConfig -
-- Request to update a field-level encryption configuration.
--
-- UpdateFieldLevelEncryptionConfig,
-- updateFieldLevelEncryptionConfig_id - The ID of the
-- configuration you want to update.
newUpdateFieldLevelEncryptionConfig :: FieldLevelEncryptionConfig -> Text -> UpdateFieldLevelEncryptionConfig
-- | See: newUpdateFieldLevelEncryptionConfigResponse smart
-- constructor.
data UpdateFieldLevelEncryptionConfigResponse
UpdateFieldLevelEncryptionConfigResponse' :: Maybe Text -> Maybe FieldLevelEncryption -> Int -> UpdateFieldLevelEncryptionConfigResponse
-- | Create a value of UpdateFieldLevelEncryptionConfigResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:UpdateFieldLevelEncryptionConfigResponse',
-- updateFieldLevelEncryptionConfigResponse_eTag - The value of
-- the ETag header that you received when updating the
-- configuration. For example: E2QWRUHAPOMQZL.
--
--
-- $sel:fieldLevelEncryption:UpdateFieldLevelEncryptionConfigResponse',
-- updateFieldLevelEncryptionConfigResponse_fieldLevelEncryption -
-- Return the results of updating the configuration.
--
-- $sel:httpStatus:UpdateFieldLevelEncryptionConfigResponse',
-- updateFieldLevelEncryptionConfigResponse_httpStatus - The
-- response's http status code.
newUpdateFieldLevelEncryptionConfigResponse :: Int -> UpdateFieldLevelEncryptionConfigResponse
-- | See: newUpdateFieldLevelEncryptionProfile smart
-- constructor.
data UpdateFieldLevelEncryptionProfile
UpdateFieldLevelEncryptionProfile' :: Maybe Text -> FieldLevelEncryptionProfileConfig -> Text -> UpdateFieldLevelEncryptionProfile
-- | Create a value of UpdateFieldLevelEncryptionProfile with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateFieldLevelEncryptionProfile',
-- updateFieldLevelEncryptionProfile_ifMatch - The value of the
-- ETag header that you received when retrieving the profile
-- identity to update. For example: E2QWRUHAPOMQZL.
--
-- UpdateFieldLevelEncryptionProfile,
-- updateFieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig
-- - Request to update a field-level encryption profile.
--
-- UpdateFieldLevelEncryptionProfile,
-- updateFieldLevelEncryptionProfile_id - The ID of the
-- field-level encryption profile request.
newUpdateFieldLevelEncryptionProfile :: FieldLevelEncryptionProfileConfig -> Text -> UpdateFieldLevelEncryptionProfile
-- | See: newUpdateFieldLevelEncryptionProfileResponse smart
-- constructor.
data UpdateFieldLevelEncryptionProfileResponse
UpdateFieldLevelEncryptionProfileResponse' :: Maybe Text -> Maybe FieldLevelEncryptionProfile -> Int -> UpdateFieldLevelEncryptionProfileResponse
-- | Create a value of UpdateFieldLevelEncryptionProfileResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:UpdateFieldLevelEncryptionProfileResponse',
-- updateFieldLevelEncryptionProfileResponse_eTag - The result of
-- the field-level encryption profile request.
--
--
-- $sel:fieldLevelEncryptionProfile:UpdateFieldLevelEncryptionProfileResponse',
-- updateFieldLevelEncryptionProfileResponse_fieldLevelEncryptionProfile
-- - Return the results of updating the profile.
--
-- $sel:httpStatus:UpdateFieldLevelEncryptionProfileResponse',
-- updateFieldLevelEncryptionProfileResponse_httpStatus - The
-- response's http status code.
newUpdateFieldLevelEncryptionProfileResponse :: Int -> UpdateFieldLevelEncryptionProfileResponse
-- | See: newUpdateFunction smart constructor.
data UpdateFunction
UpdateFunction' :: Text -> FunctionConfig -> Sensitive Base64 -> Text -> UpdateFunction
-- | Create a value of UpdateFunction with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateFunction', updateFunction_ifMatch -
-- The current version (ETag value) of the function that you are
-- updating, which you can get using DescribeFunction.
--
-- UpdateFunction, updateFunction_functionConfig -
-- Configuration information about the function.
--
-- $sel:functionCode:UpdateFunction',
-- updateFunction_functionCode - The function code. For more
-- information about writing a CloudFront function, see Writing
-- function code for CloudFront Functions in the Amazon CloudFront
-- Developer Guide.-- -- Note: This Lens
-- automatically encodes and decodes Base64 data. -- The underlying
-- isomorphism will encode to Base64 representation during --
-- serialisation, and decode from Base64 representation during
-- deserialisation. -- This Lens accepts and returns only raw
-- unencoded data.
--
-- UpdateFunction, updateFunction_name - The name of the
-- function that you are updating.
newUpdateFunction :: Text -> FunctionConfig -> ByteString -> Text -> UpdateFunction
-- | See: newUpdateFunctionResponse smart constructor.
data UpdateFunctionResponse
UpdateFunctionResponse' :: Maybe Text -> Maybe FunctionSummary -> Int -> UpdateFunctionResponse
-- | Create a value of UpdateFunctionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:UpdateFunctionResponse',
-- updateFunctionResponse_eTag - The version identifier for the
-- current version of the CloudFront function.
--
-- UpdateFunctionResponse,
-- updateFunctionResponse_functionSummary - Contains configuration
-- information and metadata about a CloudFront function.
--
-- $sel:httpStatus:UpdateFunctionResponse',
-- updateFunctionResponse_httpStatus - The response's http status
-- code.
newUpdateFunctionResponse :: Int -> UpdateFunctionResponse
-- | See: newUpdateKeyGroup smart constructor.
data UpdateKeyGroup
UpdateKeyGroup' :: Maybe Text -> KeyGroupConfig -> Text -> UpdateKeyGroup
-- | Create a value of UpdateKeyGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateKeyGroup', updateKeyGroup_ifMatch -
-- The version of the key group that you are updating. The version is the
-- key group's ETag value.
--
-- UpdateKeyGroup, updateKeyGroup_keyGroupConfig - The key
-- group configuration.
--
-- UpdateKeyGroup, updateKeyGroup_id - The identifier of
-- the key group that you are updating.
newUpdateKeyGroup :: KeyGroupConfig -> Text -> UpdateKeyGroup
-- | See: newUpdateKeyGroupResponse smart constructor.
data UpdateKeyGroupResponse
UpdateKeyGroupResponse' :: Maybe Text -> Maybe KeyGroup -> Int -> UpdateKeyGroupResponse
-- | Create a value of UpdateKeyGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:UpdateKeyGroupResponse',
-- updateKeyGroupResponse_eTag - The identifier for this version
-- of the key group.
--
-- UpdateKeyGroupResponse, updateKeyGroupResponse_keyGroup
-- - The key group that was just updated.
--
-- $sel:httpStatus:UpdateKeyGroupResponse',
-- updateKeyGroupResponse_httpStatus - The response's http status
-- code.
newUpdateKeyGroupResponse :: Int -> UpdateKeyGroupResponse
-- | See: newUpdateOriginAccessControl smart constructor.
data UpdateOriginAccessControl
UpdateOriginAccessControl' :: Maybe Text -> OriginAccessControlConfig -> Text -> UpdateOriginAccessControl
-- | Create a value of UpdateOriginAccessControl with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateOriginAccessControl',
-- updateOriginAccessControl_ifMatch - The current version
-- (ETag value) of the origin access control that you are
-- updating.
--
-- UpdateOriginAccessControl,
-- updateOriginAccessControl_originAccessControlConfig - An origin
-- access control.
--
-- UpdateOriginAccessControl, updateOriginAccessControl_id
-- - The unique identifier of the origin access control that you are
-- updating.
newUpdateOriginAccessControl :: OriginAccessControlConfig -> Text -> UpdateOriginAccessControl
-- | See: newUpdateOriginAccessControlResponse smart
-- constructor.
data UpdateOriginAccessControlResponse
UpdateOriginAccessControlResponse' :: Maybe Text -> Maybe OriginAccessControl -> Int -> UpdateOriginAccessControlResponse
-- | Create a value of UpdateOriginAccessControlResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:UpdateOriginAccessControlResponse',
-- updateOriginAccessControlResponse_eTag - The new version of the
-- origin access control after it has been updated.
--
-- $sel:originAccessControl:UpdateOriginAccessControlResponse',
-- updateOriginAccessControlResponse_originAccessControl - The
-- origin access control after it has been updated.
--
-- $sel:httpStatus:UpdateOriginAccessControlResponse',
-- updateOriginAccessControlResponse_httpStatus - The response's
-- http status code.
newUpdateOriginAccessControlResponse :: Int -> UpdateOriginAccessControlResponse
-- | See: newUpdateOriginRequestPolicy smart constructor.
data UpdateOriginRequestPolicy
UpdateOriginRequestPolicy' :: Maybe Text -> OriginRequestPolicyConfig -> Text -> UpdateOriginRequestPolicy
-- | Create a value of UpdateOriginRequestPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateOriginRequestPolicy',
-- updateOriginRequestPolicy_ifMatch - The version of the origin
-- request policy that you are updating. The version is returned in the
-- origin request policy's ETag field in the response to
-- GetOriginRequestPolicyConfig.
--
-- UpdateOriginRequestPolicy,
-- updateOriginRequestPolicy_originRequestPolicyConfig - An origin
-- request policy configuration.
--
-- UpdateOriginRequestPolicy, updateOriginRequestPolicy_id
-- - The unique identifier for the origin request policy that you are
-- updating. The identifier is returned in a cache behavior's
-- OriginRequestPolicyId field in the response to
-- GetDistributionConfig.
newUpdateOriginRequestPolicy :: OriginRequestPolicyConfig -> Text -> UpdateOriginRequestPolicy
-- | See: newUpdateOriginRequestPolicyResponse smart
-- constructor.
data UpdateOriginRequestPolicyResponse
UpdateOriginRequestPolicyResponse' :: Maybe Text -> Maybe OriginRequestPolicy -> Int -> UpdateOriginRequestPolicyResponse
-- | Create a value of UpdateOriginRequestPolicyResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:UpdateOriginRequestPolicyResponse',
-- updateOriginRequestPolicyResponse_eTag - The current version of
-- the origin request policy.
--
-- UpdateOriginRequestPolicyResponse,
-- updateOriginRequestPolicyResponse_originRequestPolicy - An
-- origin request policy.
--
-- $sel:httpStatus:UpdateOriginRequestPolicyResponse',
-- updateOriginRequestPolicyResponse_httpStatus - The response's
-- http status code.
newUpdateOriginRequestPolicyResponse :: Int -> UpdateOriginRequestPolicyResponse
-- | See: newUpdatePublicKey smart constructor.
data UpdatePublicKey
UpdatePublicKey' :: Maybe Text -> PublicKeyConfig -> Text -> UpdatePublicKey
-- | Create a value of UpdatePublicKey with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdatePublicKey', updatePublicKey_ifMatch -
-- The value of the ETag header that you received when
-- retrieving the public key to update. For example:
-- E2QWRUHAPOMQZL.
--
-- UpdatePublicKey, updatePublicKey_publicKeyConfig - A
-- public key configuration.
--
-- UpdatePublicKey, updatePublicKey_id - The identifier of
-- the public key that you are updating.
newUpdatePublicKey :: PublicKeyConfig -> Text -> UpdatePublicKey
-- | See: newUpdatePublicKeyResponse smart constructor.
data UpdatePublicKeyResponse
UpdatePublicKeyResponse' :: Maybe Text -> Maybe PublicKey -> Int -> UpdatePublicKeyResponse
-- | Create a value of UpdatePublicKeyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:UpdatePublicKeyResponse',
-- updatePublicKeyResponse_eTag - The identifier of the current
-- version of the public key.
--
-- $sel:publicKey:UpdatePublicKeyResponse',
-- updatePublicKeyResponse_publicKey - The public key.
--
-- $sel:httpStatus:UpdatePublicKeyResponse',
-- updatePublicKeyResponse_httpStatus - The response's http status
-- code.
newUpdatePublicKeyResponse :: Int -> UpdatePublicKeyResponse
-- | See: newUpdateRealtimeLogConfig smart constructor.
data UpdateRealtimeLogConfig
UpdateRealtimeLogConfig' :: Maybe Text -> Maybe [EndPoint] -> Maybe [Text] -> Maybe Text -> Maybe Integer -> UpdateRealtimeLogConfig
-- | Create a value of UpdateRealtimeLogConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateRealtimeLogConfig, updateRealtimeLogConfig_arn -
-- The Amazon Resource Name (ARN) for this real-time log configuration.
--
-- UpdateRealtimeLogConfig,
-- updateRealtimeLogConfig_endPoints - Contains information about
-- the Amazon Kinesis data stream where you are sending real-time log
-- data.
--
-- UpdateRealtimeLogConfig, updateRealtimeLogConfig_fields
-- - A list of fields to include in each real-time log record.
--
-- For more information about fields, see Real-time log configuration
-- fields in the Amazon CloudFront Developer Guide.
--
-- UpdateRealtimeLogConfig, updateRealtimeLogConfig_name -
-- The name for this real-time log configuration.
--
-- UpdateRealtimeLogConfig,
-- updateRealtimeLogConfig_samplingRate - The sampling rate for
-- this real-time log configuration. The sampling rate determines the
-- percentage of viewer requests that are represented in the real-time
-- log data. You must provide an integer between 1 and 100, inclusive.
newUpdateRealtimeLogConfig :: UpdateRealtimeLogConfig
-- | See: newUpdateRealtimeLogConfigResponse smart
-- constructor.
data UpdateRealtimeLogConfigResponse
UpdateRealtimeLogConfigResponse' :: Maybe RealtimeLogConfig -> Int -> UpdateRealtimeLogConfigResponse
-- | Create a value of UpdateRealtimeLogConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:realtimeLogConfig:UpdateRealtimeLogConfigResponse',
-- updateRealtimeLogConfigResponse_realtimeLogConfig - A real-time
-- log configuration.
--
-- $sel:httpStatus:UpdateRealtimeLogConfigResponse',
-- updateRealtimeLogConfigResponse_httpStatus - The response's
-- http status code.
newUpdateRealtimeLogConfigResponse :: Int -> UpdateRealtimeLogConfigResponse
-- | See: newUpdateResponseHeadersPolicy smart constructor.
data UpdateResponseHeadersPolicy
UpdateResponseHeadersPolicy' :: Maybe Text -> ResponseHeadersPolicyConfig -> Text -> UpdateResponseHeadersPolicy
-- | Create a value of UpdateResponseHeadersPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateResponseHeadersPolicy',
-- updateResponseHeadersPolicy_ifMatch - The version of the
-- response headers policy that you are updating.
--
-- The version is returned in the cache policy's ETag field in
-- the response to GetResponseHeadersPolicyConfig.
--
-- UpdateResponseHeadersPolicy,
-- updateResponseHeadersPolicy_responseHeadersPolicyConfig - A
-- response headers policy configuration.
--
-- UpdateResponseHeadersPolicy,
-- updateResponseHeadersPolicy_id - The identifier for the
-- response headers policy that you are updating.
newUpdateResponseHeadersPolicy :: ResponseHeadersPolicyConfig -> Text -> UpdateResponseHeadersPolicy
-- | See: newUpdateResponseHeadersPolicyResponse smart
-- constructor.
data UpdateResponseHeadersPolicyResponse
UpdateResponseHeadersPolicyResponse' :: Maybe Text -> Maybe ResponseHeadersPolicy -> Int -> UpdateResponseHeadersPolicyResponse
-- | Create a value of UpdateResponseHeadersPolicyResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:UpdateResponseHeadersPolicyResponse',
-- updateResponseHeadersPolicyResponse_eTag - The current version
-- of the response headers policy.
--
-- UpdateResponseHeadersPolicyResponse,
-- updateResponseHeadersPolicyResponse_responseHeadersPolicy - A
-- response headers policy.
--
-- $sel:httpStatus:UpdateResponseHeadersPolicyResponse',
-- updateResponseHeadersPolicyResponse_httpStatus - The response's
-- http status code.
newUpdateResponseHeadersPolicyResponse :: Int -> UpdateResponseHeadersPolicyResponse
-- | The request to update a streaming distribution.
--
-- See: newUpdateStreamingDistribution smart constructor.
data UpdateStreamingDistribution
UpdateStreamingDistribution' :: Maybe Text -> StreamingDistributionConfig -> Text -> UpdateStreamingDistribution
-- | Create a value of UpdateStreamingDistribution with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ifMatch:UpdateStreamingDistribution',
-- updateStreamingDistribution_ifMatch - The value of the
-- ETag header that you received when retrieving the streaming
-- distribution's configuration. For example: E2QWRUHAPOMQZL.
--
-- UpdateStreamingDistribution,
-- updateStreamingDistribution_streamingDistributionConfig - The
-- streaming distribution's configuration information.
--
-- UpdateStreamingDistribution,
-- updateStreamingDistribution_id - The streaming distribution's
-- id.
newUpdateStreamingDistribution :: StreamingDistributionConfig -> Text -> UpdateStreamingDistribution
-- | The returned result of the corresponding request.
--
-- See: newUpdateStreamingDistributionResponse smart
-- constructor.
data UpdateStreamingDistributionResponse
UpdateStreamingDistributionResponse' :: Maybe Text -> Maybe StreamingDistribution -> Int -> UpdateStreamingDistributionResponse
-- | Create a value of UpdateStreamingDistributionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:eTag:UpdateStreamingDistributionResponse',
-- updateStreamingDistributionResponse_eTag - The current version
-- of the configuration. For example: E2QWRUHAPOMQZL.
--
--
-- $sel:streamingDistribution:UpdateStreamingDistributionResponse',
-- updateStreamingDistributionResponse_streamingDistribution - The
-- streaming distribution's information.
--
-- $sel:httpStatus:UpdateStreamingDistributionResponse',
-- updateStreamingDistributionResponse_httpStatus - The response's
-- http status code.
newUpdateStreamingDistributionResponse :: Int -> UpdateStreamingDistributionResponse
newtype CachePolicyCookieBehavior
CachePolicyCookieBehavior' :: Text -> CachePolicyCookieBehavior
[fromCachePolicyCookieBehavior] :: CachePolicyCookieBehavior -> Text
pattern CachePolicyCookieBehavior_All :: CachePolicyCookieBehavior
pattern CachePolicyCookieBehavior_AllExcept :: CachePolicyCookieBehavior
pattern CachePolicyCookieBehavior_None :: CachePolicyCookieBehavior
pattern CachePolicyCookieBehavior_Whitelist :: CachePolicyCookieBehavior
newtype CachePolicyHeaderBehavior
CachePolicyHeaderBehavior' :: Text -> CachePolicyHeaderBehavior
[fromCachePolicyHeaderBehavior] :: CachePolicyHeaderBehavior -> Text
pattern CachePolicyHeaderBehavior_None :: CachePolicyHeaderBehavior
pattern CachePolicyHeaderBehavior_Whitelist :: CachePolicyHeaderBehavior
newtype CachePolicyQueryStringBehavior
CachePolicyQueryStringBehavior' :: Text -> CachePolicyQueryStringBehavior
[fromCachePolicyQueryStringBehavior] :: CachePolicyQueryStringBehavior -> Text
pattern CachePolicyQueryStringBehavior_All :: CachePolicyQueryStringBehavior
pattern CachePolicyQueryStringBehavior_AllExcept :: CachePolicyQueryStringBehavior
pattern CachePolicyQueryStringBehavior_None :: CachePolicyQueryStringBehavior
pattern CachePolicyQueryStringBehavior_Whitelist :: CachePolicyQueryStringBehavior
newtype CachePolicyType
CachePolicyType' :: Text -> CachePolicyType
[fromCachePolicyType] :: CachePolicyType -> Text
pattern CachePolicyType_Custom :: CachePolicyType
pattern CachePolicyType_Managed :: CachePolicyType
newtype CertificateSource
CertificateSource' :: Text -> CertificateSource
[fromCertificateSource] :: CertificateSource -> Text
pattern CertificateSource_Acm :: CertificateSource
pattern CertificateSource_Cloudfront :: CertificateSource
pattern CertificateSource_Iam :: CertificateSource
newtype ContinuousDeploymentPolicyType
ContinuousDeploymentPolicyType' :: Text -> ContinuousDeploymentPolicyType
[fromContinuousDeploymentPolicyType] :: ContinuousDeploymentPolicyType -> Text
pattern ContinuousDeploymentPolicyType_SingleHeader :: ContinuousDeploymentPolicyType
pattern ContinuousDeploymentPolicyType_SingleWeight :: ContinuousDeploymentPolicyType
newtype EventType
EventType' :: Text -> EventType
[fromEventType] :: EventType -> Text
pattern EventType_Origin_request :: EventType
pattern EventType_Origin_response :: EventType
pattern EventType_Viewer_request :: EventType
pattern EventType_Viewer_response :: EventType
newtype Format
Format' :: Text -> Format
[fromFormat] :: Format -> Text
pattern Format_URLEncoded :: Format
newtype FrameOptionsList
FrameOptionsList' :: Text -> FrameOptionsList
[fromFrameOptionsList] :: FrameOptionsList -> Text
pattern FrameOptionsList_DENY :: FrameOptionsList
pattern FrameOptionsList_SAMEORIGIN :: FrameOptionsList
newtype FunctionRuntime
FunctionRuntime' :: Text -> FunctionRuntime
[fromFunctionRuntime] :: FunctionRuntime -> Text
pattern FunctionRuntime_Cloudfront_js_1_0 :: FunctionRuntime
newtype FunctionStage
FunctionStage' :: Text -> FunctionStage
[fromFunctionStage] :: FunctionStage -> Text
pattern FunctionStage_DEVELOPMENT :: FunctionStage
pattern FunctionStage_LIVE :: FunctionStage
newtype GeoRestrictionType
GeoRestrictionType' :: Text -> GeoRestrictionType
[fromGeoRestrictionType] :: GeoRestrictionType -> Text
pattern GeoRestrictionType_Blacklist :: GeoRestrictionType
pattern GeoRestrictionType_None :: GeoRestrictionType
pattern GeoRestrictionType_Whitelist :: GeoRestrictionType
newtype HttpVersion
HttpVersion' :: Text -> HttpVersion
[fromHttpVersion] :: HttpVersion -> Text
pattern HttpVersion_Http1_1 :: HttpVersion
pattern HttpVersion_Http2 :: HttpVersion
pattern HttpVersion_Http2and3 :: HttpVersion
pattern HttpVersion_Http3 :: HttpVersion
newtype ICPRecordalStatus
ICPRecordalStatus' :: Text -> ICPRecordalStatus
[fromICPRecordalStatus] :: ICPRecordalStatus -> Text
pattern ICPRecordalStatus_APPROVED :: ICPRecordalStatus
pattern ICPRecordalStatus_PENDING :: ICPRecordalStatus
pattern ICPRecordalStatus_SUSPENDED :: ICPRecordalStatus
newtype ItemSelection
ItemSelection' :: Text -> ItemSelection
[fromItemSelection] :: ItemSelection -> Text
pattern ItemSelection_All :: ItemSelection
pattern ItemSelection_None :: ItemSelection
pattern ItemSelection_Whitelist :: ItemSelection
newtype Method
Method' :: Text -> Method
[fromMethod] :: Method -> Text
pattern Method_DELETE :: Method
pattern Method_GET :: Method
pattern Method_HEAD :: Method
pattern Method_OPTIONS :: Method
pattern Method_PATCH :: Method
pattern Method_POST :: Method
pattern Method_PUT :: Method
newtype MinimumProtocolVersion
MinimumProtocolVersion' :: Text -> MinimumProtocolVersion
[fromMinimumProtocolVersion] :: MinimumProtocolVersion -> Text
pattern MinimumProtocolVersion_SSLv3 :: MinimumProtocolVersion
pattern MinimumProtocolVersion_TLSv1 :: MinimumProtocolVersion
pattern MinimumProtocolVersion_TLSv1_1_2016 :: MinimumProtocolVersion
pattern MinimumProtocolVersion_TLSv1_2016 :: MinimumProtocolVersion
pattern MinimumProtocolVersion_TLSv1_2_2018 :: MinimumProtocolVersion
pattern MinimumProtocolVersion_TLSv1_2_2019 :: MinimumProtocolVersion
pattern MinimumProtocolVersion_TLSv1_2_2021 :: MinimumProtocolVersion
newtype OriginAccessControlOriginTypes
OriginAccessControlOriginTypes' :: Text -> OriginAccessControlOriginTypes
[fromOriginAccessControlOriginTypes] :: OriginAccessControlOriginTypes -> Text
pattern OriginAccessControlOriginTypes_S3 :: OriginAccessControlOriginTypes
newtype OriginAccessControlSigningBehaviors
OriginAccessControlSigningBehaviors' :: Text -> OriginAccessControlSigningBehaviors
[fromOriginAccessControlSigningBehaviors] :: OriginAccessControlSigningBehaviors -> Text
pattern OriginAccessControlSigningBehaviors_Always :: OriginAccessControlSigningBehaviors
pattern OriginAccessControlSigningBehaviors_Never :: OriginAccessControlSigningBehaviors
pattern OriginAccessControlSigningBehaviors_No_override :: OriginAccessControlSigningBehaviors
newtype OriginAccessControlSigningProtocols
OriginAccessControlSigningProtocols' :: Text -> OriginAccessControlSigningProtocols
[fromOriginAccessControlSigningProtocols] :: OriginAccessControlSigningProtocols -> Text
pattern OriginAccessControlSigningProtocols_Sigv4 :: OriginAccessControlSigningProtocols
newtype OriginProtocolPolicy
OriginProtocolPolicy' :: Text -> OriginProtocolPolicy
[fromOriginProtocolPolicy] :: OriginProtocolPolicy -> Text
pattern OriginProtocolPolicy_Http_only :: OriginProtocolPolicy
pattern OriginProtocolPolicy_Https_only :: OriginProtocolPolicy
pattern OriginProtocolPolicy_Match_viewer :: OriginProtocolPolicy
newtype OriginRequestPolicyCookieBehavior
OriginRequestPolicyCookieBehavior' :: Text -> OriginRequestPolicyCookieBehavior
[fromOriginRequestPolicyCookieBehavior] :: OriginRequestPolicyCookieBehavior -> Text
pattern OriginRequestPolicyCookieBehavior_All :: OriginRequestPolicyCookieBehavior
pattern OriginRequestPolicyCookieBehavior_None :: OriginRequestPolicyCookieBehavior
pattern OriginRequestPolicyCookieBehavior_Whitelist :: OriginRequestPolicyCookieBehavior
newtype OriginRequestPolicyHeaderBehavior
OriginRequestPolicyHeaderBehavior' :: Text -> OriginRequestPolicyHeaderBehavior
[fromOriginRequestPolicyHeaderBehavior] :: OriginRequestPolicyHeaderBehavior -> Text
pattern OriginRequestPolicyHeaderBehavior_AllViewer :: OriginRequestPolicyHeaderBehavior
pattern OriginRequestPolicyHeaderBehavior_AllViewerAndWhitelistCloudFront :: OriginRequestPolicyHeaderBehavior
pattern OriginRequestPolicyHeaderBehavior_None :: OriginRequestPolicyHeaderBehavior
pattern OriginRequestPolicyHeaderBehavior_Whitelist :: OriginRequestPolicyHeaderBehavior
newtype OriginRequestPolicyQueryStringBehavior
OriginRequestPolicyQueryStringBehavior' :: Text -> OriginRequestPolicyQueryStringBehavior
[fromOriginRequestPolicyQueryStringBehavior] :: OriginRequestPolicyQueryStringBehavior -> Text
pattern OriginRequestPolicyQueryStringBehavior_All :: OriginRequestPolicyQueryStringBehavior
pattern OriginRequestPolicyQueryStringBehavior_None :: OriginRequestPolicyQueryStringBehavior
pattern OriginRequestPolicyQueryStringBehavior_Whitelist :: OriginRequestPolicyQueryStringBehavior
newtype OriginRequestPolicyType
OriginRequestPolicyType' :: Text -> OriginRequestPolicyType
[fromOriginRequestPolicyType] :: OriginRequestPolicyType -> Text
pattern OriginRequestPolicyType_Custom :: OriginRequestPolicyType
pattern OriginRequestPolicyType_Managed :: OriginRequestPolicyType
newtype PriceClass
PriceClass' :: Text -> PriceClass
[fromPriceClass] :: PriceClass -> Text
pattern PriceClass_PriceClass_100 :: PriceClass
pattern PriceClass_PriceClass_200 :: PriceClass
pattern PriceClass_PriceClass_All :: PriceClass
newtype RealtimeMetricsSubscriptionStatus
RealtimeMetricsSubscriptionStatus' :: Text -> RealtimeMetricsSubscriptionStatus
[fromRealtimeMetricsSubscriptionStatus] :: RealtimeMetricsSubscriptionStatus -> Text
pattern RealtimeMetricsSubscriptionStatus_Disabled :: RealtimeMetricsSubscriptionStatus
pattern RealtimeMetricsSubscriptionStatus_Enabled :: RealtimeMetricsSubscriptionStatus
newtype ReferrerPolicyList
ReferrerPolicyList' :: Text -> ReferrerPolicyList
[fromReferrerPolicyList] :: ReferrerPolicyList -> Text
pattern ReferrerPolicyList_No_referrer :: ReferrerPolicyList
pattern ReferrerPolicyList_No_referrer_when_downgrade :: ReferrerPolicyList
pattern ReferrerPolicyList_Origin :: ReferrerPolicyList
pattern ReferrerPolicyList_Origin_when_cross_origin :: ReferrerPolicyList
pattern ReferrerPolicyList_Same_origin :: ReferrerPolicyList
pattern ReferrerPolicyList_Strict_origin :: ReferrerPolicyList
pattern ReferrerPolicyList_Strict_origin_when_cross_origin :: ReferrerPolicyList
pattern ReferrerPolicyList_Unsafe_url :: ReferrerPolicyList
newtype ResponseHeadersPolicyAccessControlAllowMethodsValues
ResponseHeadersPolicyAccessControlAllowMethodsValues' :: Text -> ResponseHeadersPolicyAccessControlAllowMethodsValues
[fromResponseHeadersPolicyAccessControlAllowMethodsValues] :: ResponseHeadersPolicyAccessControlAllowMethodsValues -> Text
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_ALL :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_DELETE :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_GET :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_HEAD :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_OPTIONS :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_PATCH :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_POST :: ResponseHeadersPolicyAccessControlAllowMethodsValues
pattern ResponseHeadersPolicyAccessControlAllowMethodsValues_PUT :: ResponseHeadersPolicyAccessControlAllowMethodsValues
newtype ResponseHeadersPolicyType
ResponseHeadersPolicyType' :: Text -> ResponseHeadersPolicyType
[fromResponseHeadersPolicyType] :: ResponseHeadersPolicyType -> Text
pattern ResponseHeadersPolicyType_Custom :: ResponseHeadersPolicyType
pattern ResponseHeadersPolicyType_Managed :: ResponseHeadersPolicyType
newtype SSLSupportMethod
SSLSupportMethod' :: Text -> SSLSupportMethod
[fromSSLSupportMethod] :: SSLSupportMethod -> Text
pattern SSLSupportMethod_Sni_only :: SSLSupportMethod
pattern SSLSupportMethod_Static_ip :: SSLSupportMethod
pattern SSLSupportMethod_Vip :: SSLSupportMethod
newtype SslProtocol
SslProtocol' :: Text -> SslProtocol
[fromSslProtocol] :: SslProtocol -> Text
pattern SslProtocol_SSLv3 :: SslProtocol
pattern SslProtocol_TLSv1 :: SslProtocol
pattern SslProtocol_TLSv1_1 :: SslProtocol
pattern SslProtocol_TLSv1_2 :: SslProtocol
newtype ViewerProtocolPolicy
ViewerProtocolPolicy' :: Text -> ViewerProtocolPolicy
[fromViewerProtocolPolicy] :: ViewerProtocolPolicy -> Text
pattern ViewerProtocolPolicy_Allow_all :: ViewerProtocolPolicy
pattern ViewerProtocolPolicy_Https_only :: ViewerProtocolPolicy
pattern ViewerProtocolPolicy_Redirect_to_https :: ViewerProtocolPolicy
-- | A list of key groups, and the public keys in each key group, that
-- CloudFront can use to verify the signatures of signed URLs and signed
-- cookies.
--
-- See: newActiveTrustedKeyGroups smart constructor.
data ActiveTrustedKeyGroups
ActiveTrustedKeyGroups' :: Maybe [KGKeyPairIds] -> Bool -> Int -> ActiveTrustedKeyGroups
-- | Create a value of ActiveTrustedKeyGroups with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ActiveTrustedKeyGroups',
-- activeTrustedKeyGroups_items - A list of key groups, including
-- the identifiers of the public keys in each key group that CloudFront
-- can use to verify the signatures of signed URLs and signed cookies.
--
-- $sel:enabled:ActiveTrustedKeyGroups',
-- activeTrustedKeyGroups_enabled - This field is true if
-- any of the key groups have public keys that CloudFront can use to
-- verify the signatures of signed URLs and signed cookies. If not, this
-- field is false.
--
-- $sel:quantity:ActiveTrustedKeyGroups',
-- activeTrustedKeyGroups_quantity - The number of key groups in
-- the list.
newActiveTrustedKeyGroups :: Bool -> Int -> ActiveTrustedKeyGroups
-- | A list of Amazon Web Services accounts and the active CloudFront key
-- pairs in each account that CloudFront can use to verify the signatures
-- of signed URLs and signed cookies.
--
-- See: newActiveTrustedSigners smart constructor.
data ActiveTrustedSigners
ActiveTrustedSigners' :: Maybe [Signer] -> Bool -> Int -> ActiveTrustedSigners
-- | Create a value of ActiveTrustedSigners with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ActiveTrustedSigners',
-- activeTrustedSigners_items - A list of Amazon Web Services
-- accounts and the identifiers of active CloudFront key pairs in each
-- account that CloudFront can use to verify the signatures of signed
-- URLs and signed cookies.
--
-- $sel:enabled:ActiveTrustedSigners',
-- activeTrustedSigners_enabled - This field is true if
-- any of the Amazon Web Services accounts in the list have active
-- CloudFront key pairs that CloudFront can use to verify the signatures
-- of signed URLs and signed cookies. If not, this field is
-- false.
--
-- $sel:quantity:ActiveTrustedSigners',
-- activeTrustedSigners_quantity - The number of Amazon Web
-- Services accounts in the list.
newActiveTrustedSigners :: Bool -> Int -> ActiveTrustedSigners
-- | Amazon Web Services services in China customers must file for an
-- Internet Content Provider (ICP) recordal if they want to serve content
-- publicly on an alternate domain name, also known as a CNAME, that
-- they've added to CloudFront. AliasICPRecordal provides the ICP
-- recordal status for CNAMEs associated with distributions. The status
-- is returned in the CloudFront response; you can't configure it
-- yourself.
--
-- For more information about ICP recordals, see Signup, Accounts, and
-- Credentials in Getting Started with Amazon Web Services
-- services in China.
--
-- See: newAliasICPRecordal smart constructor.
data AliasICPRecordal
AliasICPRecordal' :: Maybe Text -> Maybe ICPRecordalStatus -> AliasICPRecordal
-- | Create a value of AliasICPRecordal with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cname:AliasICPRecordal', aliasICPRecordal_cname - A
-- domain name associated with a distribution.
--
-- $sel:iCPRecordalStatus:AliasICPRecordal',
-- aliasICPRecordal_iCPRecordalStatus - The Internet Content
-- Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is
-- set to APPROVED for all CNAMEs (aliases) in regions outside of China.
--
-- The status values returned are the following:
--
--
-- - APPROVED indicates that the associated CNAME has a valid
-- ICP recordal number. Multiple CNAMEs can be associated with a
-- distribution, and CNAMEs can correspond to different ICP recordals. To
-- be marked as APPROVED, that is, valid to use with China region, a
-- CNAME must have one ICP recordal number associated with it.
-- - SUSPENDED indicates that the associated CNAME does not have
-- a valid ICP recordal number.
-- - PENDING indicates that CloudFront can't determine the ICP
-- recordal status of the CNAME associated with the distribution because
-- there was an error in trying to determine the status. You can try
-- again to see if the error is resolved in which case CloudFront returns
-- an APPROVED or SUSPENDED status.
--
newAliasICPRecordal :: AliasICPRecordal
-- | A complex type that contains information about CNAMEs (alternate
-- domain names), if any, for this distribution.
--
-- See: newAliases smart constructor.
data Aliases
Aliases' :: Maybe [Text] -> Int -> Aliases
-- | Create a value of Aliases with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:Aliases', aliases_items - A complex type that
-- contains the CNAME aliases, if any, that you want to associate with
-- this distribution.
--
-- $sel:quantity:Aliases', aliases_quantity - The number of
-- CNAME aliases, if any, that you want to associate with this
-- distribution.
newAliases :: Int -> Aliases
-- | A complex type that controls which HTTP methods CloudFront processes
-- and forwards to your Amazon S3 bucket or your custom origin. There are
-- three choices:
--
--
-- - CloudFront forwards only GET and HEAD
-- requests.
-- - CloudFront forwards only GET, HEAD, and
-- OPTIONS requests.
-- - CloudFront forwards GET, HEAD, OPTIONS, PUT, PATCH, POST,
-- and DELETE requests.
--
--
-- If you pick the third choice, you may need to restrict access to your
-- Amazon S3 bucket or to your custom origin so users can't perform
-- operations that you don't want them to. For example, you might not
-- want users to have permissions to delete objects from your origin.
--
-- See: newAllowedMethods smart constructor.
data AllowedMethods
AllowedMethods' :: Maybe CachedMethods -> Int -> [Method] -> AllowedMethods
-- | Create a value of AllowedMethods with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cachedMethods:AllowedMethods',
-- allowedMethods_cachedMethods - Undocumented member.
--
-- AllowedMethods, allowedMethods_quantity - The number of
-- HTTP methods that you want CloudFront to forward to your origin. Valid
-- values are 2 (for GET and HEAD requests), 3 (for
-- GET, HEAD, and OPTIONS requests) and 7 (for
-- GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE
-- requests).
--
-- AllowedMethods, allowedMethods_items - A complex type
-- that contains the HTTP methods that you want CloudFront to process and
-- forward to your origin.
newAllowedMethods :: Int -> AllowedMethods
-- | A complex type that describes how CloudFront processes requests.
--
-- You must create at least as many cache behaviors (including the
-- default cache behavior) as you have origins if you want CloudFront to
-- serve objects from all of the origins. Each cache behavior specifies
-- the one origin from which you want CloudFront to get objects. If you
-- have two origins and only the default cache behavior, the default
-- cache behavior will cause CloudFront to get objects from one of the
-- origins, but the other origin is never used.
--
-- For the current quota (formerly known as limit) on the number of cache
-- behaviors that you can add to a distribution, see Quotas in the
-- Amazon CloudFront Developer Guide.
--
-- If you don't want to specify any cache behaviors, include only an
-- empty CacheBehaviors element. Don't include an empty
-- CacheBehavior element because this is invalid.
--
-- To delete all cache behaviors in an existing distribution, update the
-- distribution configuration and include only an empty
-- CacheBehaviors element.
--
-- To add, change, or remove one or more cache behaviors, update the
-- distribution configuration and specify all of the cache behaviors that
-- you want to include in the updated distribution.
--
-- For more information about cache behaviors, see Cache Behavior
-- Settings in the Amazon CloudFront Developer Guide.
--
-- See: newCacheBehavior smart constructor.
data CacheBehavior
CacheBehavior' :: Maybe AllowedMethods -> Maybe Text -> Maybe Bool -> Maybe Integer -> Maybe Text -> Maybe ForwardedValues -> Maybe FunctionAssociations -> Maybe LambdaFunctionAssociations -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe TrustedKeyGroups -> Maybe TrustedSigners -> Text -> Text -> ViewerProtocolPolicy -> CacheBehavior
-- | Create a value of CacheBehavior with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:allowedMethods:CacheBehavior',
-- cacheBehavior_allowedMethods - Undocumented member.
--
-- $sel:cachePolicyId:CacheBehavior',
-- cacheBehavior_cachePolicyId - The unique identifier of the
-- cache policy that is attached to this cache behavior. For more
-- information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- A CacheBehavior must include either a CachePolicyId
-- or ForwardedValues. We recommend that you use a
-- CachePolicyId.
--
-- $sel:compress:CacheBehavior', cacheBehavior_compress -
-- Whether you want CloudFront to automatically compress certain files
-- for this cache behavior. If so, specify true; if not, specify false.
-- For more information, see Serving Compressed Files in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:defaultTTL:CacheBehavior', cacheBehavior_defaultTTL
-- - This field is deprecated. We recommend that you use the
-- DefaultTTL field in a cache policy instead of this field. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- The default amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin does not add HTTP headers such
-- as Cache-Control max-age, Cache-Control s-maxage,
-- and Expires to objects. For more information, see Managing
-- How Long Content Stays in an Edge Cache (Expiration) in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:fieldLevelEncryptionId:CacheBehavior',
-- cacheBehavior_fieldLevelEncryptionId - The value of ID
-- for the field-level encryption configuration that you want CloudFront
-- to use for encrypting specific fields of data for this cache behavior.
--
-- $sel:forwardedValues:CacheBehavior',
-- cacheBehavior_forwardedValues - This field is deprecated. We
-- recommend that you use a cache policy or an origin request policy
-- instead of this field. For more information, see Working with
-- policies in the Amazon CloudFront Developer Guide.
--
-- If you want to include values in the cache key, use a cache policy.
-- For more information, see Creating cache policies or Using
-- the managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to send values to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies or Using the managed origin
-- request policies in the Amazon CloudFront Developer Guide.
--
-- A CacheBehavior must include either a CachePolicyId
-- or ForwardedValues. We recommend that you use a
-- CachePolicyId.
--
-- A complex type that specifies how CloudFront handles query strings,
-- cookies, and HTTP headers.
--
-- $sel:functionAssociations:CacheBehavior',
-- cacheBehavior_functionAssociations - A list of CloudFront
-- functions that are associated with this cache behavior. CloudFront
-- functions must be published to the LIVE stage to associate
-- them with a cache behavior.
--
-- $sel:lambdaFunctionAssociations:CacheBehavior',
-- cacheBehavior_lambdaFunctionAssociations - A complex type that
-- contains zero or more Lambda@Edge function associations for a cache
-- behavior.
--
-- $sel:maxTTL:CacheBehavior', cacheBehavior_maxTTL - This
-- field is deprecated. We recommend that you use the MaxTTL
-- field in a cache policy instead of this field. For more information,
-- see Creating cache policies or Using the managed cache
-- policies in the Amazon CloudFront Developer Guide.
--
-- The maximum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin adds HTTP headers such as
-- Cache-Control max-age, Cache-Control s-maxage, and
-- Expires to objects. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:minTTL:CacheBehavior', cacheBehavior_minTTL - This
-- field is deprecated. We recommend that you use the MinTTL
-- field in a cache policy instead of this field. For more information,
-- see Creating cache policies or Using the managed cache
-- policies in the Amazon CloudFront Developer Guide.
--
-- The minimum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
--
-- You must specify 0 for MinTTL if you configure
-- CloudFront to forward all headers to your origin (under
-- Headers, if you specify 1 for Quantity and
-- * for Name).
--
-- $sel:originRequestPolicyId:CacheBehavior',
-- cacheBehavior_originRequestPolicyId - The unique identifier of
-- the origin request policy that is attached to this cache behavior. For
-- more information, see Creating origin request policies or
-- Using the managed origin request policies in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:realtimeLogConfigArn:CacheBehavior',
-- cacheBehavior_realtimeLogConfigArn - The Amazon Resource Name
-- (ARN) of the real-time log configuration that is attached to this
-- cache behavior. For more information, see Real-time logs in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:responseHeadersPolicyId:CacheBehavior',
-- cacheBehavior_responseHeadersPolicyId - The identifier for a
-- response headers policy.
--
-- $sel:smoothStreaming:CacheBehavior',
-- cacheBehavior_smoothStreaming - Indicates whether you want to
-- distribute media files in the Microsoft Smooth Streaming format using
-- the origin that is associated with this cache behavior. If so, specify
-- true; if not, specify false. If you specify
-- true for SmoothStreaming, you can still distribute
-- other content using this cache behavior if the content matches the
-- value of PathPattern.
--
-- $sel:trustedKeyGroups:CacheBehavior',
-- cacheBehavior_trustedKeyGroups - A list of key groups that
-- CloudFront can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted key groups, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with a private key whose
-- corresponding public key is in the key group. The signed URL or cookie
-- contains information about which public key CloudFront should use to
-- verify the signature. For more information, see Serving private
-- content in the Amazon CloudFront Developer Guide.
--
-- $sel:trustedSigners:CacheBehavior',
-- cacheBehavior_trustedSigners - We recommend using
-- TrustedKeyGroups instead of TrustedSigners.
--
-- A list of Amazon Web Services account IDs whose public keys CloudFront
-- can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted signers, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with the private key of a
-- CloudFront key pair in the trusted signer's Amazon Web Services
-- account. The signed URL or cookie contains information about which
-- public key CloudFront should use to verify the signature. For more
-- information, see Serving private content in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:pathPattern:CacheBehavior',
-- cacheBehavior_pathPattern - The pattern (for example,
-- images/*.jpg) that specifies which requests to apply the
-- behavior to. When CloudFront receives a viewer request, the requested
-- path is compared with path patterns in the order in which cache
-- behaviors are listed in the distribution.
--
-- You can optionally include a slash (/) at the beginning of
-- the path pattern. For example, /images/*.jpg. CloudFront
-- behavior is the same with or without the leading /.
--
-- The path pattern for the default cache behavior is * and
-- cannot be changed. If the request for an object does not match the
-- path pattern for any cache behaviors, CloudFront applies the behavior
-- in the default cache behavior.
--
-- For more information, see Path Pattern in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:targetOriginId:CacheBehavior',
-- cacheBehavior_targetOriginId - The value of ID for the
-- origin that you want CloudFront to route requests to when they match
-- this cache behavior.
--
-- $sel:viewerProtocolPolicy:CacheBehavior',
-- cacheBehavior_viewerProtocolPolicy - The protocol that viewers
-- can use to access the files in the origin specified by
-- TargetOriginId when a request matches the path pattern in
-- PathPattern. You can specify the following options:
--
--
-- - allow-all: Viewers can use HTTP or HTTPS.
-- - redirect-to-https: If a viewer submits an HTTP request,
-- CloudFront returns an HTTP status code of 301 (Moved Permanently) to
-- the viewer along with the HTTPS URL. The viewer then resubmits the
-- request using the new URL.
-- - https-only: If a viewer sends an HTTP request, CloudFront
-- returns an HTTP status code of 403 (Forbidden).
--
--
-- For more information about requiring the HTTPS protocol, see
-- Requiring HTTPS Between Viewers and CloudFront in the Amazon
-- CloudFront Developer Guide.
--
-- The only way to guarantee that viewers retrieve an object that was
-- fetched from the origin using HTTPS is never to use any other protocol
-- to fetch the object. If you have recently changed from HTTP to HTTPS,
-- we recommend that you clear your objects' cache because cached objects
-- are protocol agnostic. That means that an edge location will return an
-- object from the cache regardless of whether the current request
-- protocol matches the protocol used previously. For more information,
-- see Managing Cache Expiration in the Amazon CloudFront
-- Developer Guide.
newCacheBehavior :: Text -> Text -> ViewerProtocolPolicy -> CacheBehavior
-- | A complex type that contains zero or more CacheBehavior
-- elements.
--
-- See: newCacheBehaviors smart constructor.
data CacheBehaviors
CacheBehaviors' :: Maybe [CacheBehavior] -> Int -> CacheBehaviors
-- | Create a value of CacheBehaviors with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:CacheBehaviors', cacheBehaviors_items -
-- Optional: A complex type that contains cache behaviors for this
-- distribution. If Quantity is 0, you can omit
-- Items.
--
-- $sel:quantity:CacheBehaviors', cacheBehaviors_quantity -
-- The number of cache behaviors for this distribution.
newCacheBehaviors :: Int -> CacheBehaviors
-- | A cache policy.
--
-- When it's attached to a cache behavior, the cache policy determines
-- the following:
--
--
-- - The values that CloudFront includes in the cache key. These values
-- can include HTTP headers, cookies, and URL query strings. CloudFront
-- uses the cache key to find an object in its cache that it can return
-- to the viewer.
-- - The default, minimum, and maximum time to live (TTL) values that
-- you want objects to stay in the CloudFront cache.
--
--
-- The headers, cookies, and query strings that are included in the cache
-- key are automatically included in requests that CloudFront sends to
-- the origin. CloudFront sends a request when it can't find a valid
-- object in its cache that matches the request's cache key. If you want
-- to send values to the origin but not include them in the cache
-- key, use OriginRequestPolicy.
--
-- See: newCachePolicy smart constructor.
data CachePolicy
CachePolicy' :: Text -> ISO8601 -> CachePolicyConfig -> CachePolicy
-- | Create a value of CachePolicy with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:CachePolicy', cachePolicy_id - The unique
-- identifier for the cache policy.
--
-- $sel:lastModifiedTime:CachePolicy',
-- cachePolicy_lastModifiedTime - The date and time when the cache
-- policy was last modified.
--
-- $sel:cachePolicyConfig:CachePolicy',
-- cachePolicy_cachePolicyConfig - The cache policy configuration.
newCachePolicy :: Text -> UTCTime -> CachePolicyConfig -> CachePolicy
-- | A cache policy configuration.
--
-- This configuration determines the following:
--
--
-- - The values that CloudFront includes in the cache key. These values
-- can include HTTP headers, cookies, and URL query strings. CloudFront
-- uses the cache key to find an object in its cache that it can return
-- to the viewer.
-- - The default, minimum, and maximum time to live (TTL) values that
-- you want objects to stay in the CloudFront cache.
--
--
-- The headers, cookies, and query strings that are included in the cache
-- key are automatically included in requests that CloudFront sends to
-- the origin. CloudFront sends a request when it can't find a valid
-- object in its cache that matches the request's cache key. If you want
-- to send values to the origin but not include them in the cache
-- key, use OriginRequestPolicy.
--
-- See: newCachePolicyConfig smart constructor.
data CachePolicyConfig
CachePolicyConfig' :: Maybe Text -> Maybe Integer -> Maybe Integer -> Maybe ParametersInCacheKeyAndForwardedToOrigin -> Text -> Integer -> CachePolicyConfig
-- | Create a value of CachePolicyConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:CachePolicyConfig',
-- cachePolicyConfig_comment - A comment to describe the cache
-- policy. The comment cannot be longer than 128 characters.
--
-- $sel:defaultTTL:CachePolicyConfig',
-- cachePolicyConfig_defaultTTL - The default amount of time, in
-- seconds, that you want objects to stay in the CloudFront cache before
-- CloudFront sends another request to the origin to see if the object
-- has been updated. CloudFront uses this value as the object's time to
-- live (TTL) only when the origin does not send
-- Cache-Control or Expires headers with the object.
-- For more information, see Managing How Long Content Stays in an
-- Edge Cache (Expiration) in the Amazon CloudFront Developer
-- Guide.
--
-- The default value for this field is 86400 seconds (one day). If the
-- value of MinTTL is more than 86400 seconds, then the default
-- value for this field is the same as the value of MinTTL.
--
-- $sel:maxTTL:CachePolicyConfig', cachePolicyConfig_maxTTL
-- - The maximum amount of time, in seconds, that objects stay in the
-- CloudFront cache before CloudFront sends another request to the origin
-- to see if the object has been updated. CloudFront uses this value only
-- when the origin sends Cache-Control or Expires
-- headers with the object. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
--
-- The default value for this field is 31536000 seconds (one year). If
-- the value of MinTTL or DefaultTTL is more than
-- 31536000 seconds, then the default value for this field is the same as
-- the value of DefaultTTL.
--
--
-- $sel:parametersInCacheKeyAndForwardedToOrigin:CachePolicyConfig',
-- cachePolicyConfig_parametersInCacheKeyAndForwardedToOrigin -
-- The HTTP headers, cookies, and URL query strings to include in the
-- cache key. The values included in the cache key are automatically
-- included in requests that CloudFront sends to the origin.
--
-- $sel:name:CachePolicyConfig', cachePolicyConfig_name - A
-- unique name to identify the cache policy.
--
-- $sel:minTTL:CachePolicyConfig', cachePolicyConfig_minTTL
-- - The minimum amount of time, in seconds, that you want objects to
-- stay in the CloudFront cache before CloudFront sends another request
-- to the origin to see if the object has been updated. For more
-- information, see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
newCachePolicyConfig :: Text -> Integer -> CachePolicyConfig
-- | An object that determines whether any cookies in viewer requests (and
-- if so, which cookies) are included in the cache key and automatically
-- included in requests that CloudFront sends to the origin.
--
-- See: newCachePolicyCookiesConfig smart constructor.
data CachePolicyCookiesConfig
CachePolicyCookiesConfig' :: Maybe CookieNames -> CachePolicyCookieBehavior -> CachePolicyCookiesConfig
-- | Create a value of CachePolicyCookiesConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cookies:CachePolicyCookiesConfig',
-- cachePolicyCookiesConfig_cookies - Undocumented member.
--
-- $sel:cookieBehavior:CachePolicyCookiesConfig',
-- cachePolicyCookiesConfig_cookieBehavior - Determines whether
-- any cookies in viewer requests are included in the cache key and
-- automatically included in requests that CloudFront sends to the
-- origin. Valid values are:
--
--
-- - none – Cookies in viewer requests are not included in the
-- cache key and are not automatically included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any cookies that are listed in an
-- OriginRequestPolicy are included in origin
-- requests.
-- - whitelist – The cookies in viewer requests that are
-- listed in the CookieNames type are included in the cache key
-- and automatically included in requests that CloudFront sends to the
-- origin.
-- - allExcept – All cookies in viewer requests that are
-- not listed in the CookieNames type are included
-- in the cache key and automatically included in requests that
-- CloudFront sends to the origin.
-- - all – All cookies in viewer requests are included in the
-- cache key and are automatically included in requests that CloudFront
-- sends to the origin.
--
newCachePolicyCookiesConfig :: CachePolicyCookieBehavior -> CachePolicyCookiesConfig
-- | An object that determines whether any HTTP headers (and if so, which
-- headers) are included in the cache key and automatically included in
-- requests that CloudFront sends to the origin.
--
-- See: newCachePolicyHeadersConfig smart constructor.
data CachePolicyHeadersConfig
CachePolicyHeadersConfig' :: Maybe Headers -> CachePolicyHeaderBehavior -> CachePolicyHeadersConfig
-- | Create a value of CachePolicyHeadersConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:headers:CachePolicyHeadersConfig',
-- cachePolicyHeadersConfig_headers - Undocumented member.
--
-- $sel:headerBehavior:CachePolicyHeadersConfig',
-- cachePolicyHeadersConfig_headerBehavior - Determines whether
-- any HTTP headers are included in the cache key and automatically
-- included in requests that CloudFront sends to the origin. Valid values
-- are:
--
--
-- - none – HTTP headers are not included in the cache key and
-- are not automatically included in requests that CloudFront sends to
-- the origin. Even when this field is set to none, any headers
-- that are listed in an OriginRequestPolicy are included
-- in origin requests.
-- - whitelist – The HTTP headers that are listed in the
-- Headers type are included in the cache key and are
-- automatically included in requests that CloudFront sends to the
-- origin.
--
newCachePolicyHeadersConfig :: CachePolicyHeaderBehavior -> CachePolicyHeadersConfig
-- | A list of cache policies.
--
-- See: newCachePolicyList smart constructor.
data CachePolicyList
CachePolicyList' :: Maybe [CachePolicySummary] -> Maybe Text -> Int -> Int -> CachePolicyList
-- | Create a value of CachePolicyList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:CachePolicyList', cachePolicyList_items -
-- Contains the cache policies in the list.
--
-- $sel:nextMarker:CachePolicyList',
-- cachePolicyList_nextMarker - If there are more items in the
-- list than are in this response, this element is present. It contains
-- the value that you should use in the Marker field of a
-- subsequent request to continue listing cache policies where you left
-- off.
--
-- $sel:maxItems:CachePolicyList', cachePolicyList_maxItems
-- - The maximum number of cache policies requested.
--
-- $sel:quantity:CachePolicyList', cachePolicyList_quantity
-- - The total number of cache policies returned in the response.
newCachePolicyList :: Int -> Int -> CachePolicyList
-- | An object that determines whether any URL query strings in viewer
-- requests (and if so, which query strings) are included in the cache
-- key and automatically included in requests that CloudFront sends to
-- the origin.
--
-- See: newCachePolicyQueryStringsConfig smart constructor.
data CachePolicyQueryStringsConfig
CachePolicyQueryStringsConfig' :: Maybe QueryStringNames -> CachePolicyQueryStringBehavior -> CachePolicyQueryStringsConfig
-- | Create a value of CachePolicyQueryStringsConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:queryStrings:CachePolicyQueryStringsConfig',
-- cachePolicyQueryStringsConfig_queryStrings - Contains the
-- specific query strings in viewer requests that either
-- are or are not included in the cache key
-- and automatically included in requests that CloudFront sends to the
-- origin. The behavior depends on whether the
-- QueryStringBehavior field in the
-- CachePolicyQueryStringsConfig type is set to
-- whitelist (the listed query strings are
-- included) or allExcept (the listed query strings are
-- not included, but all other query strings are).
--
-- $sel:queryStringBehavior:CachePolicyQueryStringsConfig',
-- cachePolicyQueryStringsConfig_queryStringBehavior - Determines
-- whether any URL query strings in viewer requests are included in the
-- cache key and automatically included in requests that CloudFront sends
-- to the origin. Valid values are:
--
--
-- - none – Query strings in viewer requests are not included
-- in the cache key and are not automatically included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any query strings that are listed in an
-- OriginRequestPolicy are included in origin
-- requests.
-- - whitelist – The query strings in viewer requests that are
-- listed in the QueryStringNames type are included in the cache
-- key and automatically included in requests that CloudFront sends to
-- the origin.
-- - allExcept – All query strings in viewer requests that are
-- not listed in the QueryStringNames type are
-- included in the cache key and automatically included in requests that
-- CloudFront sends to the origin.
-- - all – All query strings in viewer requests are included
-- in the cache key and are automatically included in requests that
-- CloudFront sends to the origin.
--
newCachePolicyQueryStringsConfig :: CachePolicyQueryStringBehavior -> CachePolicyQueryStringsConfig
-- | Contains a cache policy.
--
-- See: newCachePolicySummary smart constructor.
data CachePolicySummary
CachePolicySummary' :: CachePolicyType -> CachePolicy -> CachePolicySummary
-- | Create a value of CachePolicySummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':CachePolicySummary', cachePolicySummary_type
-- - The type of cache policy, either managed (created by Amazon
-- Web Services) or custom (created in this Amazon Web Services
-- account).
--
-- $sel:cachePolicy:CachePolicySummary',
-- cachePolicySummary_cachePolicy - The cache policy.
newCachePolicySummary :: CachePolicyType -> CachePolicy -> CachePolicySummary
-- | A complex type that controls whether CloudFront caches the response to
-- requests using the specified HTTP methods. There are two choices:
--
--
-- - CloudFront caches responses to GET and HEAD
-- requests.
-- - CloudFront caches responses to GET, HEAD, and
-- OPTIONS requests.
--
--
-- If you pick the second choice for your Amazon S3 Origin, you may need
-- to forward Access-Control-Request-Method,
-- Access-Control-Request-Headers, and Origin headers for the responses
-- to be cached correctly.
--
-- See: newCachedMethods smart constructor.
data CachedMethods
CachedMethods' :: Int -> [Method] -> CachedMethods
-- | Create a value of CachedMethods with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:CachedMethods', cachedMethods_quantity -
-- The number of HTTP methods for which you want CloudFront to cache
-- responses. Valid values are 2 (for caching responses to
-- GET and HEAD requests) and 3 (for caching
-- responses to GET, HEAD, and OPTIONS
-- requests).
--
-- $sel:items:CachedMethods', cachedMethods_items - A
-- complex type that contains the HTTP methods that you want CloudFront
-- to cache responses to.
newCachedMethods :: Int -> CachedMethods
-- | CloudFront origin access identity.
--
-- See: newCloudFrontOriginAccessIdentity smart
-- constructor.
data CloudFrontOriginAccessIdentity
CloudFrontOriginAccessIdentity' :: Maybe CloudFrontOriginAccessIdentityConfig -> Text -> Text -> CloudFrontOriginAccessIdentity
-- | Create a value of CloudFrontOriginAccessIdentity with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:cloudFrontOriginAccessIdentityConfig:CloudFrontOriginAccessIdentity',
-- cloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig
-- - The current configuration information for the identity.
--
-- $sel:id:CloudFrontOriginAccessIdentity',
-- cloudFrontOriginAccessIdentity_id - The ID for the origin
-- access identity, for example, E74FTE3AJFJ256A.
--
-- $sel:s3CanonicalUserId:CloudFrontOriginAccessIdentity',
-- cloudFrontOriginAccessIdentity_s3CanonicalUserId - The Amazon
-- S3 canonical user ID for the origin access identity, used when giving
-- the origin access identity read permission to an object in Amazon S3.
newCloudFrontOriginAccessIdentity :: Text -> Text -> CloudFrontOriginAccessIdentity
-- | Origin access identity configuration. Send a GET request to
-- the /CloudFront API
-- version/CloudFront/identity ID/config resource.
--
-- See: newCloudFrontOriginAccessIdentityConfig smart
-- constructor.
data CloudFrontOriginAccessIdentityConfig
CloudFrontOriginAccessIdentityConfig' :: Text -> Text -> CloudFrontOriginAccessIdentityConfig
-- | Create a value of CloudFrontOriginAccessIdentityConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:callerReference:CloudFrontOriginAccessIdentityConfig',
-- cloudFrontOriginAccessIdentityConfig_callerReference - A unique
-- value (for example, a date-time stamp) that ensures that the request
-- can't be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the CloudFrontOriginAccessIdentityConfig object),
-- a new origin access identity is created.
--
-- If the CallerReference is a value already sent in a previous
-- identity request, and the content of the
-- CloudFrontOriginAccessIdentityConfig is identical to the
-- original request (ignoring white space), the response includes the
-- same information returned to the original request.
--
-- If the CallerReference is a value you already sent in a
-- previous request to create an identity, but the content of the
-- CloudFrontOriginAccessIdentityConfig is different from the
-- original request, CloudFront returns a
-- CloudFrontOriginAccessIdentityAlreadyExists error.
--
-- $sel:comment:CloudFrontOriginAccessIdentityConfig',
-- cloudFrontOriginAccessIdentityConfig_comment - A comment to
-- describe the origin access identity. The comment cannot be longer than
-- 128 characters.
newCloudFrontOriginAccessIdentityConfig :: Text -> Text -> CloudFrontOriginAccessIdentityConfig
-- | Lists the origin access identities for CloudFront.Send a GET
-- request to the /CloudFront API
-- version/origin-access-identity/cloudfront resource.
-- The response includes a CloudFrontOriginAccessIdentityList
-- element with zero or more
-- CloudFrontOriginAccessIdentitySummary child elements. By
-- default, your entire list of origin access identities is returned in
-- one single page. If the list is long, you can paginate it using the
-- MaxItems and Marker parameters.
--
-- See: newCloudFrontOriginAccessIdentityList smart
-- constructor.
data CloudFrontOriginAccessIdentityList
CloudFrontOriginAccessIdentityList' :: Maybe [CloudFrontOriginAccessIdentitySummary] -> Maybe Text -> Text -> Int -> Bool -> Int -> CloudFrontOriginAccessIdentityList
-- | Create a value of CloudFrontOriginAccessIdentityList with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:CloudFrontOriginAccessIdentityList',
-- cloudFrontOriginAccessIdentityList_items - A complex type that
-- contains one CloudFrontOriginAccessIdentitySummary element
-- for each origin access identity that was created by the current Amazon
-- Web Services account.
--
-- $sel:nextMarker:CloudFrontOriginAccessIdentityList',
-- cloudFrontOriginAccessIdentityList_nextMarker - 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.
--
-- $sel:marker:CloudFrontOriginAccessIdentityList',
-- cloudFrontOriginAccessIdentityList_marker - 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).
--
-- $sel:maxItems:CloudFrontOriginAccessIdentityList',
-- cloudFrontOriginAccessIdentityList_maxItems - The maximum
-- number of origin access identities you want in the response body.
--
-- $sel:isTruncated:CloudFrontOriginAccessIdentityList',
-- cloudFrontOriginAccessIdentityList_isTruncated - 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.
--
-- $sel:quantity:CloudFrontOriginAccessIdentityList',
-- cloudFrontOriginAccessIdentityList_quantity - The number of
-- CloudFront origin access identities that were created by the current
-- Amazon Web Services account.
newCloudFrontOriginAccessIdentityList :: Text -> Int -> Bool -> Int -> CloudFrontOriginAccessIdentityList
-- | Summary of the information about a CloudFront origin access identity.
--
-- See: newCloudFrontOriginAccessIdentitySummary smart
-- constructor.
data CloudFrontOriginAccessIdentitySummary
CloudFrontOriginAccessIdentitySummary' :: Text -> Text -> Text -> CloudFrontOriginAccessIdentitySummary
-- | Create a value of CloudFrontOriginAccessIdentitySummary with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:CloudFrontOriginAccessIdentitySummary',
-- cloudFrontOriginAccessIdentitySummary_id - The ID for the
-- origin access identity. For example: E74FTE3AJFJ256A.
--
-- $sel:s3CanonicalUserId:CloudFrontOriginAccessIdentitySummary',
-- cloudFrontOriginAccessIdentitySummary_s3CanonicalUserId - 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.
--
-- $sel:comment:CloudFrontOriginAccessIdentitySummary',
-- cloudFrontOriginAccessIdentitySummary_comment - The comment for
-- this origin access identity, as originally specified when created.
newCloudFrontOriginAccessIdentitySummary :: Text -> Text -> Text -> CloudFrontOriginAccessIdentitySummary
-- | An alias (also called a CNAME) and the CloudFront distribution and
-- Amazon Web Services account ID that it's associated with. The
-- distribution and account IDs are partially hidden, which allows you to
-- identify the distributions and accounts that you own, but helps to
-- protect the information of ones that you don't own.
--
-- See: newConflictingAlias smart constructor.
data ConflictingAlias
ConflictingAlias' :: Maybe Text -> Maybe Text -> Maybe Text -> ConflictingAlias
-- | Create a value of ConflictingAlias with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:accountId:ConflictingAlias',
-- conflictingAlias_accountId - The (partially hidden) ID of the
-- Amazon Web Services account that owns the distribution that's
-- associated with the alias.
--
-- $sel:alias:ConflictingAlias', conflictingAlias_alias -
-- An alias (also called a CNAME).
--
-- $sel:distributionId:ConflictingAlias',
-- conflictingAlias_distributionId - The (partially hidden) ID of
-- the CloudFront distribution associated with the alias.
newConflictingAlias :: ConflictingAlias
-- | A list of aliases (also called CNAMEs) and the CloudFront
-- distributions and Amazon Web Services accounts that they are
-- associated with. In the list, the distribution and account IDs are
-- partially hidden, which allows you to identify the distributions and
-- accounts that you own, but helps to protect the information of ones
-- that you don't own.
--
-- See: newConflictingAliasesList smart constructor.
data ConflictingAliasesList
ConflictingAliasesList' :: Maybe [ConflictingAlias] -> Maybe Int -> Maybe Text -> Maybe Int -> ConflictingAliasesList
-- | Create a value of ConflictingAliasesList with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ConflictingAliasesList',
-- conflictingAliasesList_items - Contains the conflicting aliases
-- in the list.
--
-- $sel:maxItems:ConflictingAliasesList',
-- conflictingAliasesList_maxItems - The maximum number of
-- conflicting aliases requested.
--
-- $sel:nextMarker:ConflictingAliasesList',
-- conflictingAliasesList_nextMarker - If there are more items in
-- the list than are in this response, this element is present. It
-- contains the value that you should use in the Marker field of
-- a subsequent request to continue listing conflicting aliases where you
-- left off.
--
-- $sel:quantity:ConflictingAliasesList',
-- conflictingAliasesList_quantity - The number of conflicting
-- aliases returned in the response.
newConflictingAliasesList :: ConflictingAliasesList
-- | A field-level encryption content type profile.
--
-- See: newContentTypeProfile smart constructor.
data ContentTypeProfile
ContentTypeProfile' :: Maybe Text -> Format -> Text -> ContentTypeProfile
-- | Create a value of ContentTypeProfile with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:profileId:ContentTypeProfile',
-- contentTypeProfile_profileId - The profile ID for a field-level
-- encryption content type-profile mapping.
--
-- $sel:format:ContentTypeProfile',
-- contentTypeProfile_format - The format for a field-level
-- encryption content type-profile mapping.
--
-- $sel:contentType:ContentTypeProfile',
-- contentTypeProfile_contentType - The content type for a
-- field-level encryption content type-profile mapping.
newContentTypeProfile :: Format -> Text -> ContentTypeProfile
-- | The configuration for a field-level encryption content type-profile
-- mapping.
--
-- See: newContentTypeProfileConfig smart constructor.
data ContentTypeProfileConfig
ContentTypeProfileConfig' :: Maybe ContentTypeProfiles -> Bool -> ContentTypeProfileConfig
-- | Create a value of ContentTypeProfileConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:contentTypeProfiles:ContentTypeProfileConfig',
-- contentTypeProfileConfig_contentTypeProfiles - The
-- configuration for a field-level encryption content type-profile.
--
-- $sel:forwardWhenContentTypeIsUnknown:ContentTypeProfileConfig',
-- contentTypeProfileConfig_forwardWhenContentTypeIsUnknown - The
-- setting in a field-level encryption content type-profile mapping that
-- specifies what to do when an unknown content type is provided for the
-- profile. If true, content is forwarded without being encrypted when
-- the content type is unknown. If false (the default), an error is
-- returned when the content type is unknown.
newContentTypeProfileConfig :: Bool -> ContentTypeProfileConfig
-- | Field-level encryption content type-profile.
--
-- See: newContentTypeProfiles smart constructor.
data ContentTypeProfiles
ContentTypeProfiles' :: Maybe [ContentTypeProfile] -> Int -> ContentTypeProfiles
-- | Create a value of ContentTypeProfiles with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ContentTypeProfiles',
-- contentTypeProfiles_items - Items in a field-level encryption
-- content type-profile mapping.
--
-- $sel:quantity:ContentTypeProfiles',
-- contentTypeProfiles_quantity - The number of field-level
-- encryption content type-profile mappings.
newContentTypeProfiles :: Int -> ContentTypeProfiles
-- | A continuous deployment policy.
--
-- See: newContinuousDeploymentPolicy smart constructor.
data ContinuousDeploymentPolicy
ContinuousDeploymentPolicy' :: Text -> ISO8601 -> ContinuousDeploymentPolicyConfig -> ContinuousDeploymentPolicy
-- | Create a value of ContinuousDeploymentPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:ContinuousDeploymentPolicy',
-- continuousDeploymentPolicy_id - The identifier of the
-- continuous deployment policy.
--
-- $sel:lastModifiedTime:ContinuousDeploymentPolicy',
-- continuousDeploymentPolicy_lastModifiedTime - The date and time
-- the continuous deployment policy was last modified.
--
--
-- $sel:continuousDeploymentPolicyConfig:ContinuousDeploymentPolicy',
-- continuousDeploymentPolicy_continuousDeploymentPolicyConfig -
-- Undocumented member.
newContinuousDeploymentPolicy :: Text -> UTCTime -> ContinuousDeploymentPolicyConfig -> ContinuousDeploymentPolicy
-- | Contains the configuration for a continuous deployment policy.
--
-- See: newContinuousDeploymentPolicyConfig smart
-- constructor.
data ContinuousDeploymentPolicyConfig
ContinuousDeploymentPolicyConfig' :: Maybe TrafficConfig -> StagingDistributionDnsNames -> Bool -> ContinuousDeploymentPolicyConfig
-- | Create a value of ContinuousDeploymentPolicyConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:trafficConfig:ContinuousDeploymentPolicyConfig',
-- continuousDeploymentPolicyConfig_trafficConfig - Contains the
-- parameters for routing production traffic from your primary to staging
-- distributions.
--
--
-- $sel:stagingDistributionDnsNames:ContinuousDeploymentPolicyConfig',
-- continuousDeploymentPolicyConfig_stagingDistributionDnsNames -
-- The CloudFront domain name of the staging distribution. For example:
-- d111111abcdef8.cloudfront.net.
--
-- $sel:enabled:ContinuousDeploymentPolicyConfig',
-- continuousDeploymentPolicyConfig_enabled - A Boolean that
-- indicates whether this continuous deployment policy is enabled (in
-- effect). When this value is true, this policy is enabled and
-- in effect. When this value is false, this policy is not
-- enabled and has no effect.
newContinuousDeploymentPolicyConfig :: StagingDistributionDnsNames -> Bool -> ContinuousDeploymentPolicyConfig
-- | Contains a list of continuous deployment policies.
--
-- See: newContinuousDeploymentPolicyList smart
-- constructor.
data ContinuousDeploymentPolicyList
ContinuousDeploymentPolicyList' :: Maybe [ContinuousDeploymentPolicySummary] -> Maybe Text -> Int -> Int -> ContinuousDeploymentPolicyList
-- | Create a value of ContinuousDeploymentPolicyList with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ContinuousDeploymentPolicyList',
-- continuousDeploymentPolicyList_items - A list of continuous
-- deployment policy items.
--
-- $sel:nextMarker:ContinuousDeploymentPolicyList',
-- continuousDeploymentPolicyList_nextMarker - Indicates the next
-- page of continuous deployment policies. To get the next page of the
-- list, use this value in the Marker field of your request.
--
-- $sel:maxItems:ContinuousDeploymentPolicyList',
-- continuousDeploymentPolicyList_maxItems - The maximum number of
-- continuous deployment policies that were specified in your request.
--
-- $sel:quantity:ContinuousDeploymentPolicyList',
-- continuousDeploymentPolicyList_quantity - The total number of
-- continuous deployment policies in your Amazon Web Services account,
-- regardless of the MaxItems value.
newContinuousDeploymentPolicyList :: Int -> Int -> ContinuousDeploymentPolicyList
-- | A summary of the information about your continuous deployment
-- policies.
--
-- See: newContinuousDeploymentPolicySummary smart
-- constructor.
data ContinuousDeploymentPolicySummary
ContinuousDeploymentPolicySummary' :: ContinuousDeploymentPolicy -> ContinuousDeploymentPolicySummary
-- | Create a value of ContinuousDeploymentPolicySummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:continuousDeploymentPolicy:ContinuousDeploymentPolicySummary',
-- continuousDeploymentPolicySummary_continuousDeploymentPolicy -
-- The continuous deployment policy.
newContinuousDeploymentPolicySummary :: ContinuousDeploymentPolicy -> ContinuousDeploymentPolicySummary
-- | This configuration determines which HTTP requests are sent to the
-- staging distribution. If the HTTP request contains a header and value
-- that matches what you specify here, the request is sent to the staging
-- distribution. Otherwise the request is sent to the primary
-- distribution.
--
-- See: newContinuousDeploymentSingleHeaderConfig smart
-- constructor.
data ContinuousDeploymentSingleHeaderConfig
ContinuousDeploymentSingleHeaderConfig' :: Text -> Text -> ContinuousDeploymentSingleHeaderConfig
-- | Create a value of ContinuousDeploymentSingleHeaderConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:header:ContinuousDeploymentSingleHeaderConfig',
-- continuousDeploymentSingleHeaderConfig_header - The request
-- header name that you want CloudFront to send to your staging
-- distribution. The header must contain the prefix aws-cf-cd-.
--
-- $sel:value:ContinuousDeploymentSingleHeaderConfig',
-- continuousDeploymentSingleHeaderConfig_value - The request
-- header value.
newContinuousDeploymentSingleHeaderConfig :: Text -> Text -> ContinuousDeploymentSingleHeaderConfig
-- | Contains the percentage of traffic to send to a staging distribution.
--
-- See: newContinuousDeploymentSingleWeightConfig smart
-- constructor.
data ContinuousDeploymentSingleWeightConfig
ContinuousDeploymentSingleWeightConfig' :: Maybe SessionStickinessConfig -> Double -> ContinuousDeploymentSingleWeightConfig
-- | Create a value of ContinuousDeploymentSingleWeightConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:sessionStickinessConfig:ContinuousDeploymentSingleWeightConfig',
-- continuousDeploymentSingleWeightConfig_sessionStickinessConfig
-- - Undocumented member.
--
-- $sel:weight:ContinuousDeploymentSingleWeightConfig',
-- continuousDeploymentSingleWeightConfig_weight - The percentage
-- of traffic to send to a staging distribution, expressed as a decimal
-- number between 0 and .15.
newContinuousDeploymentSingleWeightConfig :: Double -> ContinuousDeploymentSingleWeightConfig
-- | Contains a list of cookie names.
--
-- See: newCookieNames smart constructor.
data CookieNames
CookieNames' :: Maybe [Text] -> Int -> CookieNames
-- | Create a value of CookieNames with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:CookieNames', cookieNames_items - A list of
-- cookie names.
--
-- $sel:quantity:CookieNames', cookieNames_quantity - The
-- number of cookie names in the Items list.
newCookieNames :: Int -> CookieNames
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use
-- CookiesConfig in a cache policy. See CachePolicy.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use CookiesConfig in an origin request policy. See
-- OriginRequestPolicy.
--
-- A complex type that specifies whether you want CloudFront to forward
-- cookies to the origin and, if so, which ones. For more information
-- about forwarding cookies to the origin, see Caching Content Based
-- on Cookies in the Amazon CloudFront Developer Guide.
--
-- See: newCookiePreference smart constructor.
data CookiePreference
CookiePreference' :: Maybe CookieNames -> ItemSelection -> CookiePreference
-- | Create a value of CookiePreference with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:whitelistedNames:CookiePreference',
-- cookiePreference_whitelistedNames - This field is deprecated.
-- We recommend that you use a cache policy or an origin request policy
-- instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- Required if you specify whitelist for the value of
-- Forward. A complex type that specifies how many different
-- cookies you want CloudFront to forward to the origin for this cache
-- behavior and, if you want to forward selected cookies, the names of
-- those cookies.
--
-- If you specify all or none for the value of
-- Forward, omit WhitelistedNames. If you change the
-- value of Forward from whitelist to all or
-- none and you don't delete the WhitelistedNames
-- element and its child elements, CloudFront deletes them automatically.
--
-- For the current limit on the number of cookie names that you can
-- whitelist for each cache behavior, see CloudFront Limits in the
-- Amazon Web Services General Reference.
--
-- $sel:forward:CookiePreference', cookiePreference_forward
-- - This field is deprecated. We recommend that you use a cache policy
-- or an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- Specifies which cookies to forward to the origin for this cache
-- behavior: all, none, or the list of cookies specified in the
-- WhitelistedNames complex type.
--
-- Amazon S3 doesn't process cookies. When the cache behavior is
-- forwarding requests to an Amazon S3 origin, specify none for the
-- Forward element.
newCookiePreference :: ItemSelection -> CookiePreference
-- | A complex type that controls:
--
--
-- - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx
-- range with custom error messages before returning the response to the
-- viewer.
-- - How long CloudFront caches HTTP status codes in the 4xx and 5xx
-- range.
--
--
-- For more information about custom error pages, see Customizing
-- Error Responses in the Amazon CloudFront Developer Guide.
--
-- See: newCustomErrorResponse smart constructor.
data CustomErrorResponse
CustomErrorResponse' :: Maybe Integer -> Maybe Text -> Maybe Text -> Int -> CustomErrorResponse
-- | Create a value of CustomErrorResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:errorCachingMinTTL:CustomErrorResponse',
-- customErrorResponse_errorCachingMinTTL - The minimum amount of
-- time, in seconds, that you want CloudFront to cache the HTTP status
-- code specified in ErrorCode. When this time period has
-- elapsed, CloudFront queries your origin to see whether the problem
-- that caused the error has been resolved and the requested object is
-- now available.
--
-- For more information, see Customizing Error Responses in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:responseCode:CustomErrorResponse',
-- customErrorResponse_responseCode - The HTTP status code that
-- you want CloudFront to return to the viewer along with the custom
-- error page. There are a variety of reasons that you might want
-- CloudFront to return a status code different from the status code that
-- your origin returned to CloudFront, for example:
--
--
-- - Some Internet devices (some firewalls and corporate proxies, for
-- example) intercept HTTP 4xx and 5xx and prevent the response from
-- being returned to the viewer. If you substitute 200, the
-- response typically won't be intercepted.
-- - If you don't care about distinguishing among different client
-- errors or server errors, you can specify 400 or 500
-- as the ResponseCode for all 4xx or 5xx errors.
-- - You might want to return a 200 status code (OK) and
-- static website so your customers don't know that your website is
-- down.
--
--
-- If you specify a value for ResponseCode, you must also
-- specify a value for ResponsePagePath.
--
-- $sel:responsePagePath:CustomErrorResponse',
-- customErrorResponse_responsePagePath - The path to the custom
-- error page that you want CloudFront to return to a viewer when your
-- origin returns the HTTP status code specified by ErrorCode,
-- for example, /4xx-errors/403-forbidden.html. If you want to
-- store your objects and your custom error pages in different locations,
-- your distribution must include a cache behavior for which the
-- following is true:
--
--
-- - The value of PathPattern matches the path to your custom
-- error messages. For example, suppose you saved custom error pages for
-- 4xx errors in an Amazon S3 bucket in a directory named
-- /4xx-errors. Your distribution must include a cache behavior
-- for which the path pattern routes requests for your custom error pages
-- to that location, for example, /4xx-errors/*.
-- - The value of TargetOriginId specifies the value of the
-- ID element for the origin that contains your custom error
-- pages.
--
--
-- If you specify a value for ResponsePagePath, you must also
-- specify a value for ResponseCode.
--
-- We recommend that you store custom error pages in an Amazon S3 bucket.
-- If you store custom error pages on an HTTP server and the server
-- starts to return 5xx errors, CloudFront can't get the files that you
-- want to return to viewers because the origin server is unavailable.
--
-- $sel:errorCode:CustomErrorResponse',
-- customErrorResponse_errorCode - The HTTP status code for which
-- you want to specify a custom error page and/or a caching duration.
newCustomErrorResponse :: Int -> CustomErrorResponse
-- | A complex type that controls:
--
--
-- - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx
-- range with custom error messages before returning the response to the
-- viewer.
-- - How long CloudFront caches HTTP status codes in the 4xx and 5xx
-- range.
--
--
-- For more information about custom error pages, see Customizing
-- Error Responses in the Amazon CloudFront Developer Guide.
--
-- See: newCustomErrorResponses smart constructor.
data CustomErrorResponses
CustomErrorResponses' :: Maybe [CustomErrorResponse] -> Int -> CustomErrorResponses
-- | Create a value of CustomErrorResponses with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:CustomErrorResponses',
-- customErrorResponses_items - A complex type that contains a
-- CustomErrorResponse element for each HTTP status code for
-- which you want to specify a custom error page and/or a caching
-- duration.
--
-- $sel:quantity:CustomErrorResponses',
-- customErrorResponses_quantity - The number of HTTP status codes
-- for which you want to specify a custom error page and/or a caching
-- duration. If Quantity is 0, you can omit
-- Items.
newCustomErrorResponses :: Int -> CustomErrorResponses
-- | A complex type that contains the list of Custom Headers for each
-- origin.
--
-- See: newCustomHeaders smart constructor.
data CustomHeaders
CustomHeaders' :: Maybe [OriginCustomHeader] -> Int -> CustomHeaders
-- | Create a value of CustomHeaders with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:CustomHeaders', customHeaders_items -
-- Optional: A list that contains one OriginCustomHeader
-- element for each custom header that you want CloudFront to forward to
-- the origin. If Quantity is 0, omit Items.
--
-- $sel:quantity:CustomHeaders', customHeaders_quantity -
-- The number of custom headers, if any, for this distribution.
newCustomHeaders :: Int -> CustomHeaders
-- | A custom origin. A custom origin is any origin that is not an
-- Amazon S3 bucket, with one exception. An Amazon S3 bucket that is
-- configured with static website hosting is a custom
-- origin.
--
-- See: newCustomOriginConfig smart constructor.
data CustomOriginConfig
CustomOriginConfig' :: Maybe Int -> Maybe Int -> Maybe OriginSslProtocols -> Int -> Int -> OriginProtocolPolicy -> CustomOriginConfig
-- | Create a value of CustomOriginConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:originKeepaliveTimeout:CustomOriginConfig',
-- customOriginConfig_originKeepaliveTimeout - Specifies how long,
-- in seconds, CloudFront persists its connection to the origin. The
-- minimum timeout is 1 second, the maximum is 60 seconds, and the
-- default (if you don't specify otherwise) is 5 seconds.
--
-- For more information, see Origin Keep-alive Timeout in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:originReadTimeout:CustomOriginConfig',
-- customOriginConfig_originReadTimeout - Specifies how long, in
-- seconds, CloudFront waits for a response from the origin. This is also
-- known as the origin response timeout. The minimum timeout is 1
-- second, the maximum is 60 seconds, and the default (if you don't
-- specify otherwise) is 30 seconds.
--
-- For more information, see Origin Response Timeout in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:originSslProtocols:CustomOriginConfig',
-- customOriginConfig_originSslProtocols - Specifies the minimum
-- SSL/TLS protocol that CloudFront uses when connecting to your origin
-- over HTTPS. Valid values include SSLv3, TLSv1,
-- TLSv1.1, and TLSv1.2.
--
-- For more information, see Minimum Origin SSL Protocol in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:hTTPPort:CustomOriginConfig',
-- customOriginConfig_hTTPPort - The HTTP port that CloudFront
-- uses to connect to the origin. Specify the HTTP port that the origin
-- listens on.
--
-- $sel:hTTPSPort:CustomOriginConfig',
-- customOriginConfig_hTTPSPort - The HTTPS port that CloudFront
-- uses to connect to the origin. Specify the HTTPS port that the origin
-- listens on.
--
-- $sel:originProtocolPolicy:CustomOriginConfig',
-- customOriginConfig_originProtocolPolicy - Specifies the
-- protocol (HTTP or HTTPS) that CloudFront uses to connect to the
-- origin. Valid values are:
--
--
-- - http-only – CloudFront always uses HTTP to connect to the
-- origin.
-- - match-viewer – CloudFront connects to the origin using
-- the same protocol that the viewer used to connect to CloudFront.
-- - https-only – CloudFront always uses HTTPS to connect to
-- the origin.
--
newCustomOriginConfig :: Int -> Int -> OriginProtocolPolicy -> CustomOriginConfig
-- | A complex type that describes the default cache behavior if you don't
-- specify a CacheBehavior element or if request URLs don't
-- match any of the values of PathPattern in
-- CacheBehavior elements. You must create exactly one default
-- cache behavior.
--
-- See: newDefaultCacheBehavior smart constructor.
data DefaultCacheBehavior
DefaultCacheBehavior' :: Maybe AllowedMethods -> Maybe Text -> Maybe Bool -> Maybe Integer -> Maybe Text -> Maybe ForwardedValues -> Maybe FunctionAssociations -> Maybe LambdaFunctionAssociations -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe TrustedKeyGroups -> Maybe TrustedSigners -> Text -> ViewerProtocolPolicy -> DefaultCacheBehavior
-- | Create a value of DefaultCacheBehavior with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:allowedMethods:DefaultCacheBehavior',
-- defaultCacheBehavior_allowedMethods - Undocumented member.
--
-- $sel:cachePolicyId:DefaultCacheBehavior',
-- defaultCacheBehavior_cachePolicyId - The unique identifier of
-- the cache policy that is attached to the default cache behavior. For
-- more information, see Creating cache policies or Using the
-- managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- A DefaultCacheBehavior must include either a
-- CachePolicyId or ForwardedValues. We recommend that
-- you use a CachePolicyId.
--
-- $sel:compress:DefaultCacheBehavior',
-- defaultCacheBehavior_compress - Whether you want CloudFront to
-- automatically compress certain files for this cache behavior. If so,
-- specify true; if not, specify false. For more
-- information, see Serving Compressed Files in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:defaultTTL:DefaultCacheBehavior',
-- defaultCacheBehavior_defaultTTL - This field is deprecated. We
-- recommend that you use the DefaultTTL field in a cache policy
-- instead of this field. For more information, see Creating cache
-- policies or Using the managed cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- The default amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin does not add HTTP headers such
-- as Cache-Control max-age, Cache-Control s-maxage,
-- and Expires to objects. For more information, see Managing
-- How Long Content Stays in an Edge Cache (Expiration) in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:fieldLevelEncryptionId:DefaultCacheBehavior',
-- defaultCacheBehavior_fieldLevelEncryptionId - The value of
-- ID for the field-level encryption configuration that you want
-- CloudFront to use for encrypting specific fields of data for the
-- default cache behavior.
--
-- $sel:forwardedValues:DefaultCacheBehavior',
-- defaultCacheBehavior_forwardedValues - This field is
-- deprecated. We recommend that you use a cache policy or an origin
-- request policy instead of this field. For more information, see
-- Working with policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to include values in the cache key, use a cache policy.
-- For more information, see Creating cache policies or Using
-- the managed cache policies in the Amazon CloudFront Developer
-- Guide.
--
-- If you want to send values to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies or Using the managed origin
-- request policies in the Amazon CloudFront Developer Guide.
--
-- A DefaultCacheBehavior must include either a
-- CachePolicyId or ForwardedValues. We recommend that
-- you use a CachePolicyId.
--
-- A complex type that specifies how CloudFront handles query strings,
-- cookies, and HTTP headers.
--
-- $sel:functionAssociations:DefaultCacheBehavior',
-- defaultCacheBehavior_functionAssociations - A list of
-- CloudFront functions that are associated with this cache behavior.
-- CloudFront functions must be published to the LIVE stage to
-- associate them with a cache behavior.
--
-- $sel:lambdaFunctionAssociations:DefaultCacheBehavior',
-- defaultCacheBehavior_lambdaFunctionAssociations - A complex
-- type that contains zero or more Lambda@Edge function associations for
-- a cache behavior.
--
-- $sel:maxTTL:DefaultCacheBehavior',
-- defaultCacheBehavior_maxTTL - This field is deprecated. We
-- recommend that you use the MaxTTL field in a cache policy
-- instead of this field. For more information, see Creating cache
-- policies or Using the managed cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- The maximum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. The value that you
-- specify applies only when your origin adds HTTP headers such as
-- Cache-Control max-age, Cache-Control s-maxage, and
-- Expires to objects. For more information, see Managing How
-- Long Content Stays in an Edge Cache (Expiration) in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:minTTL:DefaultCacheBehavior',
-- defaultCacheBehavior_minTTL - This field is deprecated. We
-- recommend that you use the MinTTL field in a cache policy
-- instead of this field. For more information, see Creating cache
-- policies or Using the managed cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- The minimum amount of time that you want objects to stay in CloudFront
-- caches before CloudFront forwards another request to your origin to
-- determine whether the object has been updated. For more information,
-- see Managing How Long Content Stays in an Edge Cache
-- (Expiration) in the Amazon CloudFront Developer Guide.
--
-- You must specify 0 for MinTTL if you configure
-- CloudFront to forward all headers to your origin (under
-- Headers, if you specify 1 for Quantity and
-- * for Name).
--
-- $sel:originRequestPolicyId:DefaultCacheBehavior',
-- defaultCacheBehavior_originRequestPolicyId - The unique
-- identifier of the origin request policy that is attached to the
-- default cache behavior. For more information, see Creating origin
-- request policies or Using the managed origin request
-- policies in the Amazon CloudFront Developer Guide.
--
-- $sel:realtimeLogConfigArn:DefaultCacheBehavior',
-- defaultCacheBehavior_realtimeLogConfigArn - The Amazon Resource
-- Name (ARN) of the real-time log configuration that is attached to this
-- cache behavior. For more information, see Real-time logs in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:responseHeadersPolicyId:DefaultCacheBehavior',
-- defaultCacheBehavior_responseHeadersPolicyId - The identifier
-- for a response headers policy.
--
-- $sel:smoothStreaming:DefaultCacheBehavior',
-- defaultCacheBehavior_smoothStreaming - Indicates whether you
-- want to distribute media files in the Microsoft Smooth Streaming
-- format using the origin that is associated with this cache behavior.
-- If so, specify true; if not, specify false. If you
-- specify true for SmoothStreaming, you can still
-- distribute other content using this cache behavior if the content
-- matches the value of PathPattern.
--
-- $sel:trustedKeyGroups:DefaultCacheBehavior',
-- defaultCacheBehavior_trustedKeyGroups - A list of key groups
-- that CloudFront can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted key groups, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with a private key whose
-- corresponding public key is in the key group. The signed URL or cookie
-- contains information about which public key CloudFront should use to
-- verify the signature. For more information, see Serving private
-- content in the Amazon CloudFront Developer Guide.
--
-- $sel:trustedSigners:DefaultCacheBehavior',
-- defaultCacheBehavior_trustedSigners - We recommend using
-- TrustedKeyGroups instead of TrustedSigners.
--
-- A list of Amazon Web Services account IDs whose public keys CloudFront
-- can use to validate signed URLs or signed cookies.
--
-- When a cache behavior contains trusted signers, CloudFront requires
-- signed URLs or signed cookies for all requests that match the cache
-- behavior. The URLs or cookies must be signed with the private key of a
-- CloudFront key pair in a trusted signer's Amazon Web Services account.
-- The signed URL or cookie contains information about which public key
-- CloudFront should use to verify the signature. For more information,
-- see Serving private content in the Amazon CloudFront
-- Developer Guide.
--
-- $sel:targetOriginId:DefaultCacheBehavior',
-- defaultCacheBehavior_targetOriginId - The value of ID
-- for the origin that you want CloudFront to route requests to when they
-- use the default cache behavior.
--
-- $sel:viewerProtocolPolicy:DefaultCacheBehavior',
-- defaultCacheBehavior_viewerProtocolPolicy - The protocol that
-- viewers can use to access the files in the origin specified by
-- TargetOriginId when a request matches the path pattern in
-- PathPattern. You can specify the following options:
--
--
-- - allow-all: Viewers can use HTTP or HTTPS.
-- - redirect-to-https: If a viewer submits an HTTP request,
-- CloudFront returns an HTTP status code of 301 (Moved Permanently) to
-- the viewer along with the HTTPS URL. The viewer then resubmits the
-- request using the new URL.
-- - https-only: If a viewer sends an HTTP request, CloudFront
-- returns an HTTP status code of 403 (Forbidden).
--
--
-- For more information about requiring the HTTPS protocol, see
-- Requiring HTTPS Between Viewers and CloudFront in the Amazon
-- CloudFront Developer Guide.
--
-- The only way to guarantee that viewers retrieve an object that was
-- fetched from the origin using HTTPS is never to use any other protocol
-- to fetch the object. If you have recently changed from HTTP to HTTPS,
-- we recommend that you clear your objects' cache because cached objects
-- are protocol agnostic. That means that an edge location will return an
-- object from the cache regardless of whether the current request
-- protocol matches the protocol used previously. For more information,
-- see Managing Cache Expiration in the Amazon CloudFront
-- Developer Guide.
newDefaultCacheBehavior :: Text -> ViewerProtocolPolicy -> DefaultCacheBehavior
-- | A distribution tells CloudFront where you want content to be delivered
-- from, and the details about how to track and manage content delivery.
--
-- See: newDistribution smart constructor.
data Distribution
Distribution' :: Maybe ActiveTrustedKeyGroups -> Maybe ActiveTrustedSigners -> Maybe [AliasICPRecordal] -> Text -> Text -> Text -> ISO8601 -> Int -> Text -> DistributionConfig -> Distribution
-- | Create a value of Distribution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:activeTrustedKeyGroups:Distribution',
-- distribution_activeTrustedKeyGroups - This field contains a
-- list of key groups and the public keys in each key group that
-- CloudFront can use to verify the signatures of signed URLs or signed
-- cookies.
--
-- $sel:activeTrustedSigners:Distribution',
-- distribution_activeTrustedSigners - We recommend using
-- TrustedKeyGroups instead of TrustedSigners.
--
-- This field contains a list of Amazon Web Services account IDs and the
-- active CloudFront key pairs in each account that CloudFront can use to
-- verify the signatures of signed URLs or signed cookies.
--
-- $sel:aliasICPRecordals:Distribution',
-- distribution_aliasICPRecordals - Amazon Web Services services
-- in China customers must file for an Internet Content Provider (ICP)
-- recordal if they want to serve content publicly on an alternate domain
-- name, also known as a CNAME, that they've added to CloudFront.
-- AliasICPRecordal provides the ICP recordal status for CNAMEs
-- associated with distributions.
--
-- For more information about ICP recordals, see Signup, Accounts, and
-- Credentials in Getting Started with Amazon Web Services
-- services in China.
--
-- $sel:id:Distribution', distribution_id - The
-- distribution's identifier. For example: E1U5RQF7T870K0.
--
-- $sel:arn:Distribution', distribution_arn - The
-- distribution's Amazon Resource Name (ARN).
--
-- $sel:status:Distribution', distribution_status - The
-- distribution's status. When the status is Deployed, the
-- distribution's information is fully propagated to all CloudFront edge
-- locations.
--
-- $sel:lastModifiedTime:Distribution',
-- distribution_lastModifiedTime - The date and time when the
-- distribution was last modified.
--
-- $sel:inProgressInvalidationBatches:Distribution',
-- distribution_inProgressInvalidationBatches - The number of
-- invalidation batches currently in progress.
--
-- $sel:domainName:Distribution', distribution_domainName -
-- The distribution's CloudFront domain name. For example:
-- d111111abcdef8.cloudfront.net.
--
-- $sel:distributionConfig:Distribution',
-- distribution_distributionConfig - The distribution's
-- configuration.
newDistribution :: Text -> Text -> Text -> UTCTime -> Int -> Text -> DistributionConfig -> Distribution
-- | A distribution configuration.
--
-- See: newDistributionConfig smart constructor.
data DistributionConfig
DistributionConfig' :: Maybe Aliases -> Maybe CacheBehaviors -> Maybe Text -> Maybe CustomErrorResponses -> Maybe Text -> Maybe HttpVersion -> Maybe Bool -> Maybe LoggingConfig -> Maybe OriginGroups -> Maybe PriceClass -> Maybe Restrictions -> Maybe Bool -> Maybe ViewerCertificate -> Maybe Text -> Text -> Origins -> DefaultCacheBehavior -> Sensitive Text -> Bool -> DistributionConfig
-- | Create a value of DistributionConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aliases:DistributionConfig',
-- distributionConfig_aliases - A complex type that contains
-- information about CNAMEs (alternate domain names), if any, for this
-- distribution.
--
-- $sel:cacheBehaviors:DistributionConfig',
-- distributionConfig_cacheBehaviors - A complex type that
-- contains zero or more CacheBehavior elements.
--
-- $sel:continuousDeploymentPolicyId:DistributionConfig',
-- distributionConfig_continuousDeploymentPolicyId - The
-- identifier of a continuous deployment policy. For more information,
-- see CreateContinuousDeploymentPolicy.
--
-- $sel:customErrorResponses:DistributionConfig',
-- distributionConfig_customErrorResponses - A complex type that
-- controls the following:
--
--
-- - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx
-- range with custom error messages before returning the response to the
-- viewer.
-- - How long CloudFront caches HTTP status codes in the 4xx and 5xx
-- range.
--
--
-- For more information about custom error pages, see Customizing
-- Error Responses in the Amazon CloudFront Developer Guide.
--
-- $sel:defaultRootObject:DistributionConfig',
-- distributionConfig_defaultRootObject - The object that you want
-- CloudFront to request from your origin (for example,
-- index.html) when a viewer requests the root URL for your
-- distribution (https://www.example.com) instead of an object
-- in your distribution
-- (https://www.example.com/product-description.html).
-- Specifying a default root object avoids exposing the contents of your
-- distribution.
--
-- Specify only the object name, for example, index.html. Don't
-- add a / before the object name.
--
-- If you don't want to specify a default root object when you create a
-- distribution, include an empty DefaultRootObject element.
--
-- To delete the default root object from an existing distribution,
-- update the distribution configuration and include an empty
-- DefaultRootObject element.
--
-- To replace the default root object, update the distribution
-- configuration and specify the new object.
--
-- For more information about the default root object, see Creating a
-- Default Root Object in the Amazon CloudFront Developer
-- Guide.
--
-- $sel:httpVersion:DistributionConfig',
-- distributionConfig_httpVersion - (Optional) Specify the maximum
-- HTTP version(s) that you want viewers to use to communicate with
-- CloudFront. The default value for new web distributions is
-- http2. Viewers that don't support HTTP/2 automatically use an
-- earlier HTTP version.
--
-- For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2
-- or later, and must support Server Name Indication (SNI).
--
-- For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3
-- and Server Name Indication (SNI). CloudFront supports HTTP/3
-- connection migration to allow the viewer to switch networks without
-- losing connection. For more information about connection migration,
-- see Connection Migration at RFC 9000. For more information
-- about supported TLSv1.3 ciphers, see Supported protocols and
-- ciphers between viewers and CloudFront.
--
-- $sel:isIPV6Enabled:DistributionConfig',
-- distributionConfig_isIPV6Enabled - If you want CloudFront to
-- respond to IPv6 DNS requests with an IPv6 address for your
-- distribution, specify true. If you specify false,
-- CloudFront responds to IPv6 DNS requests with the DNS response code
-- NOERROR and with no IP addresses. This allows viewers to
-- submit a second request, for an IPv4 address for your distribution.
--
-- In general, you should enable IPv6 if you have users on IPv6 networks
-- who want to access your content. However, if you're using signed URLs
-- or signed cookies to restrict access to your content, and if you're
-- using a custom policy that includes the IpAddress parameter
-- to restrict the IP addresses that can access your content, don't
-- enable IPv6. If you want to restrict access to some content by IP
-- address and not restrict access to other content (or restrict access
-- but not by IP address), you can create two distributions. For more
-- information, see Creating a Signed URL Using a Custom Policy in
-- the Amazon CloudFront Developer Guide.
--
-- If you're using an Route 53 Amazon Web Services Integration alias
-- resource record set to route traffic to your CloudFront distribution,
-- you need to create a second alias resource record set when both of the
-- following are true:
--
--
-- - You enable IPv6 for the distribution
-- - You're using alternate domain names in the URLs for your
-- objects
--
--
-- For more information, see Routing Traffic to an Amazon CloudFront
-- Web Distribution by Using Your Domain Name in the Route 53
-- Amazon Web Services Integration Developer Guide.
--
-- If you created a CNAME resource record set, either with Route 53
-- Amazon Web Services Integration or with another DNS service, you don't
-- need to make any changes. A CNAME record will route traffic to your
-- distribution regardless of the IP address format of the viewer
-- request.
--
-- $sel:logging:DistributionConfig',
-- distributionConfig_logging - A complex type that controls
-- whether access logs are written for the distribution.
--
-- For more information about logging, see Access Logs in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:originGroups:DistributionConfig',
-- distributionConfig_originGroups - A complex type that contains
-- information about origin groups for this distribution.
--
-- $sel:priceClass:DistributionConfig',
-- distributionConfig_priceClass - The price class that
-- corresponds with the maximum price that you want to pay for CloudFront
-- service. If you specify PriceClass_All, CloudFront responds
-- to requests for your objects from all CloudFront edge locations.
--
-- If you specify a price class other than PriceClass_All,
-- CloudFront serves your objects from the CloudFront edge location that
-- has the lowest latency among the edge locations in your price class.
-- Viewers who are in or near regions that are excluded from your
-- specified price class may encounter slower performance.
--
-- For more information about price classes, see Choosing the Price
-- Class for a CloudFront Distribution in the Amazon CloudFront
-- Developer Guide. For information about CloudFront pricing,
-- including how price classes (such as Price Class 100) map to
-- CloudFront regions, see Amazon CloudFront Pricing.
--
-- $sel:restrictions:DistributionConfig',
-- distributionConfig_restrictions - A complex type that
-- identifies ways in which you want to restrict distribution of your
-- content.
--
-- $sel:staging:DistributionConfig',
-- distributionConfig_staging - A Boolean that indicates whether
-- this is a staging distribution. When this value is true, this
-- is a staging distribution. When this value is false, this is
-- not a staging distribution.
--
-- $sel:viewerCertificate:DistributionConfig',
-- distributionConfig_viewerCertificate - A complex type that
-- determines the distribution's SSL/TLS configuration for communicating
-- with viewers.
--
-- $sel:webACLId:DistributionConfig',
-- distributionConfig_webACLId - A unique identifier that
-- specifies the WAF web ACL, if any, to associate with this
-- distribution. To specify a web ACL created using the latest version of
-- WAF, use the ACL ARN, for example
-- arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a.
-- To specify a web ACL created using WAF Classic, use the ACL ID, for
-- example 473e64fd-f30b-4765-81a0-62ad96dd167a.
--
-- WAF is a web application firewall that lets you monitor the HTTP and
-- HTTPS requests that are forwarded to CloudFront, and lets you control
-- access to your content. Based on conditions that you specify, such as
-- the IP addresses that requests originate from or the values of query
-- strings, CloudFront responds to requests either with the requested
-- content or with an HTTP 403 status code (Forbidden). You can also
-- configure CloudFront to return a custom error page when a request is
-- blocked. For more information about WAF, see the WAF Developer
-- Guide.
--
-- $sel:callerReference:DistributionConfig',
-- distributionConfig_callerReference - A unique value (for
-- example, a date-time stamp) that ensures that the request can't be
-- replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the DistributionConfig object), CloudFront creates
-- a new distribution.
--
-- If CallerReference is a value that you already sent in a
-- previous request to create a distribution, CloudFront returns a
-- DistributionAlreadyExists error.
--
-- $sel:origins:DistributionConfig',
-- distributionConfig_origins - A complex type that contains
-- information about origins for this distribution.
--
-- $sel:defaultCacheBehavior:DistributionConfig',
-- distributionConfig_defaultCacheBehavior - A complex type that
-- describes the default cache behavior if you don't 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.
--
-- $sel:comment:DistributionConfig',
-- distributionConfig_comment - A comment to describe the
-- distribution. The comment cannot be longer than 128 characters.
--
-- DistributionConfig, distributionConfig_enabled - From
-- this field, you can enable or disable the selected distribution.
newDistributionConfig :: Text -> Origins -> DefaultCacheBehavior -> Text -> Bool -> DistributionConfig
-- | A distribution Configuration and a list of tags to be associated with
-- the distribution.
--
-- See: newDistributionConfigWithTags smart constructor.
data DistributionConfigWithTags
DistributionConfigWithTags' :: DistributionConfig -> Tags -> DistributionConfigWithTags
-- | Create a value of DistributionConfigWithTags with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:distributionConfig:DistributionConfigWithTags',
-- distributionConfigWithTags_distributionConfig - A distribution
-- configuration.
--
-- $sel:tags:DistributionConfigWithTags',
-- distributionConfigWithTags_tags - A complex type that contains
-- zero or more Tag elements.
newDistributionConfigWithTags :: DistributionConfig -> Tags -> DistributionConfigWithTags
-- | A list of distribution IDs.
--
-- See: newDistributionIdList smart constructor.
data DistributionIdList
DistributionIdList' :: Maybe [Text] -> Maybe Text -> Text -> Int -> Bool -> Int -> DistributionIdList
-- | Create a value of DistributionIdList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:DistributionIdList', distributionIdList_items
-- - Contains the distribution IDs in the list.
--
-- $sel:nextMarker:DistributionIdList',
-- distributionIdList_nextMarker - Contains the value that you
-- should use in the Marker field of a subsequent request to
-- continue listing distribution IDs where you left off.
--
-- $sel:marker:DistributionIdList',
-- distributionIdList_marker - The value provided in the
-- Marker request field.
--
-- $sel:maxItems:DistributionIdList',
-- distributionIdList_maxItems - The maximum number of
-- distribution IDs requested.
--
-- $sel:isTruncated:DistributionIdList',
-- distributionIdList_isTruncated - A flag that indicates whether
-- more distribution IDs remain to be listed. If your results were
-- truncated, you can make a subsequent request using the Marker
-- request field to retrieve more distribution IDs in the list.
--
-- $sel:quantity:DistributionIdList',
-- distributionIdList_quantity - The total number of distribution
-- IDs returned in the response.
newDistributionIdList :: Text -> Int -> Bool -> Int -> DistributionIdList
-- | A distribution list.
--
-- See: newDistributionList smart constructor.
data DistributionList
DistributionList' :: Maybe [DistributionSummary] -> Maybe Text -> Text -> Int -> Bool -> Int -> DistributionList
-- | Create a value of DistributionList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:DistributionList', distributionList_items - A
-- complex type that contains one DistributionSummary element
-- for each distribution that was created by the current Amazon Web
-- Services account.
--
-- $sel:nextMarker:DistributionList',
-- distributionList_nextMarker - 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.
--
-- $sel:marker:DistributionList', distributionList_marker -
-- The value you provided for the Marker request parameter.
--
-- $sel:maxItems:DistributionList',
-- distributionList_maxItems - The value you provided for the
-- MaxItems request parameter.
--
-- $sel:isTruncated:DistributionList',
-- distributionList_isTruncated - 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.
--
-- $sel:quantity:DistributionList',
-- distributionList_quantity - The number of distributions that
-- were created by the current Amazon Web Services account.
newDistributionList :: Text -> Int -> Bool -> Int -> DistributionList
-- | A summary of the information about a CloudFront distribution.
--
-- See: newDistributionSummary smart constructor.
data DistributionSummary
DistributionSummary' :: Maybe [AliasICPRecordal] -> Maybe OriginGroups -> Text -> Text -> Text -> ISO8601 -> Text -> Aliases -> Origins -> DefaultCacheBehavior -> CacheBehaviors -> CustomErrorResponses -> Text -> PriceClass -> Bool -> ViewerCertificate -> Restrictions -> Text -> HttpVersion -> Bool -> Bool -> DistributionSummary
-- | Create a value of DistributionSummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aliasICPRecordals:DistributionSummary',
-- distributionSummary_aliasICPRecordals - Amazon Web Services
-- services in China customers must file for an Internet Content Provider
-- (ICP) recordal if they want to serve content publicly on an alternate
-- domain name, also known as a CNAME, that they've added to CloudFront.
-- AliasICPRecordal provides the ICP recordal status for CNAMEs
-- associated with distributions.
--
-- For more information about ICP recordals, see Signup, Accounts, and
-- Credentials in Getting Started with Amazon Web Services
-- services in China.
--
-- $sel:originGroups:DistributionSummary',
-- distributionSummary_originGroups - A complex type that contains
-- information about origin groups for this distribution.
--
-- $sel:id:DistributionSummary', distributionSummary_id -
-- The identifier for the distribution. For example:
-- EDFDVBD632BHDS5.
--
-- $sel:arn:DistributionSummary', distributionSummary_arn -
-- The ARN (Amazon Resource Name) for the distribution. For example:
-- arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
--
-- $sel:status:DistributionSummary',
-- distributionSummary_status - The current status of the
-- distribution. When the status is Deployed, the distribution's
-- information is propagated to all CloudFront edge locations.
--
-- $sel:lastModifiedTime:DistributionSummary',
-- distributionSummary_lastModifiedTime - The date and time the
-- distribution was last modified.
--
-- $sel:domainName:DistributionSummary',
-- distributionSummary_domainName - The domain name that
-- corresponds to the distribution, for example,
-- d111111abcdef8.cloudfront.net.
--
-- $sel:aliases:DistributionSummary',
-- distributionSummary_aliases - A complex type that contains
-- information about CNAMEs (alternate domain names), if any, for this
-- distribution.
--
-- $sel:origins:DistributionSummary',
-- distributionSummary_origins - A complex type that contains
-- information about origins for this distribution.
--
-- $sel:defaultCacheBehavior:DistributionSummary',
-- distributionSummary_defaultCacheBehavior - A complex type that
-- describes the default cache behavior if you don't 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.
--
-- $sel:cacheBehaviors:DistributionSummary',
-- distributionSummary_cacheBehaviors - A complex type that
-- contains zero or more CacheBehavior elements.
--
-- $sel:customErrorResponses:DistributionSummary',
-- distributionSummary_customErrorResponses - A complex type that
-- contains zero or more CustomErrorResponses elements.
--
-- $sel:comment:DistributionSummary',
-- distributionSummary_comment - The comment originally specified
-- when this distribution was created.
--
-- $sel:priceClass:DistributionSummary',
-- distributionSummary_priceClass - A complex type that contains
-- information about price class for this streaming distribution.
--
-- $sel:enabled:DistributionSummary',
-- distributionSummary_enabled - Whether the distribution is
-- enabled to accept user requests for content.
--
-- $sel:viewerCertificate:DistributionSummary',
-- distributionSummary_viewerCertificate - A complex type that
-- determines the distribution's SSL/TLS configuration for communicating
-- with viewers.
--
-- $sel:restrictions:DistributionSummary',
-- distributionSummary_restrictions - A complex type that
-- identifies ways in which you want to restrict distribution of your
-- content.
--
-- $sel:webACLId:DistributionSummary',
-- distributionSummary_webACLId - The Web ACL Id (if any)
-- associated with the distribution.
--
-- $sel:httpVersion:DistributionSummary',
-- distributionSummary_httpVersion - Specify the maximum HTTP
-- version that you want viewers to use to communicate with CloudFront.
-- The default value for new web distributions is http2. Viewers
-- that don't support HTTP/2 will automatically use an earlier
-- version.
--
-- $sel:isIPV6Enabled:DistributionSummary',
-- distributionSummary_isIPV6Enabled - Whether CloudFront responds
-- to IPv6 DNS requests with an IPv6 address for your distribution.
--
-- $sel:staging:DistributionSummary',
-- distributionSummary_staging - Whether the primary distribution
-- has a staging distribution enabled.
newDistributionSummary :: Text -> Text -> Text -> UTCTime -> Text -> Aliases -> Origins -> DefaultCacheBehavior -> CacheBehaviors -> CustomErrorResponses -> Text -> PriceClass -> Bool -> ViewerCertificate -> Restrictions -> Text -> HttpVersion -> Bool -> Bool -> DistributionSummary
-- | Complex data type for field-level encryption profiles that includes
-- all of the encryption entities.
--
-- See: newEncryptionEntities smart constructor.
data EncryptionEntities
EncryptionEntities' :: Maybe [EncryptionEntity] -> Int -> EncryptionEntities
-- | Create a value of EncryptionEntities with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:EncryptionEntities', encryptionEntities_items
-- - An array of field patterns in a field-level encryption content
-- type-profile mapping.
--
-- $sel:quantity:EncryptionEntities',
-- encryptionEntities_quantity - Number of field pattern items in
-- a field-level encryption content type-profile mapping.
newEncryptionEntities :: Int -> EncryptionEntities
-- | Complex data type for field-level encryption profiles that includes
-- the encryption key and field pattern specifications.
--
-- See: newEncryptionEntity smart constructor.
data EncryptionEntity
EncryptionEntity' :: Text -> Text -> FieldPatterns -> EncryptionEntity
-- | Create a value of EncryptionEntity with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:publicKeyId:EncryptionEntity',
-- encryptionEntity_publicKeyId - The public key associated with a
-- set of field-level encryption patterns, to be used when encrypting the
-- fields that match the patterns.
--
-- $sel:providerId:EncryptionEntity',
-- encryptionEntity_providerId - The provider associated with the
-- public key being used for encryption. This value must also be provided
-- with the private key for applications to be able to decrypt data.
--
-- $sel:fieldPatterns:EncryptionEntity',
-- encryptionEntity_fieldPatterns - Field patterns in a
-- field-level encryption content type profile specify the fields that
-- you want to be encrypted. You can provide the full field name, or any
-- beginning characters followed by a wildcard (*). You can't overlap
-- field patterns. For example, you can't have both ABC* and AB*. Note
-- that field patterns are case-sensitive.
newEncryptionEntity :: Text -> Text -> FieldPatterns -> EncryptionEntity
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data in a real-time log configuration.
--
-- See: newEndPoint smart constructor.
data EndPoint
EndPoint' :: Maybe KinesisStreamConfig -> Text -> EndPoint
-- | Create a value of EndPoint with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:kinesisStreamConfig:EndPoint',
-- endPoint_kinesisStreamConfig - Contains information about the
-- Amazon Kinesis data stream where you are sending real-time log data.
--
-- $sel:streamType:EndPoint', endPoint_streamType - The
-- type of data stream where you are sending real-time log data. The only
-- valid value is Kinesis.
newEndPoint :: Text -> EndPoint
-- | A complex data type that includes the profile configurations and other
-- options specified for field-level encryption.
--
-- See: newFieldLevelEncryption smart constructor.
data FieldLevelEncryption
FieldLevelEncryption' :: Text -> ISO8601 -> FieldLevelEncryptionConfig -> FieldLevelEncryption
-- | Create a value of FieldLevelEncryption with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:FieldLevelEncryption', fieldLevelEncryption_id -
-- The configuration ID for a field-level encryption configuration which
-- includes a set of profiles that specify certain selected data fields
-- to be encrypted by specific public keys.
--
-- $sel:lastModifiedTime:FieldLevelEncryption',
-- fieldLevelEncryption_lastModifiedTime - The last time the
-- field-level encryption configuration was changed.
--
-- $sel:fieldLevelEncryptionConfig:FieldLevelEncryption',
-- fieldLevelEncryption_fieldLevelEncryptionConfig - A complex
-- data type that includes the profile configurations specified for
-- field-level encryption.
newFieldLevelEncryption :: Text -> UTCTime -> FieldLevelEncryptionConfig -> FieldLevelEncryption
-- | A complex data type that includes the profile configurations specified
-- for field-level encryption.
--
-- See: newFieldLevelEncryptionConfig smart constructor.
data FieldLevelEncryptionConfig
FieldLevelEncryptionConfig' :: Maybe Text -> Maybe ContentTypeProfileConfig -> Maybe QueryArgProfileConfig -> Text -> FieldLevelEncryptionConfig
-- | Create a value of FieldLevelEncryptionConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:FieldLevelEncryptionConfig',
-- fieldLevelEncryptionConfig_comment - An optional comment about
-- the configuration. The comment cannot be longer than 128 characters.
--
-- $sel:contentTypeProfileConfig:FieldLevelEncryptionConfig',
-- fieldLevelEncryptionConfig_contentTypeProfileConfig - A complex
-- data type that specifies when to forward content if a content type
-- isn't recognized and profiles to use as by default in a request if a
-- query argument doesn't specify a profile to use.
--
-- $sel:queryArgProfileConfig:FieldLevelEncryptionConfig',
-- fieldLevelEncryptionConfig_queryArgProfileConfig - A complex
-- data type that specifies when to forward content if a profile isn't
-- found and the profile that can be provided as a query argument in a
-- request.
--
-- $sel:callerReference:FieldLevelEncryptionConfig',
-- fieldLevelEncryptionConfig_callerReference - A unique number
-- that ensures the request can't be replayed.
newFieldLevelEncryptionConfig :: Text -> FieldLevelEncryptionConfig
-- | List of field-level encrpytion configurations.
--
-- See: newFieldLevelEncryptionList smart constructor.
data FieldLevelEncryptionList
FieldLevelEncryptionList' :: Maybe [FieldLevelEncryptionSummary] -> Maybe Text -> Int -> Int -> FieldLevelEncryptionList
-- | Create a value of FieldLevelEncryptionList with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:FieldLevelEncryptionList',
-- fieldLevelEncryptionList_items - An array of field-level
-- encryption items.
--
-- $sel:nextMarker:FieldLevelEncryptionList',
-- fieldLevelEncryptionList_nextMarker - If there are more
-- elements to be listed, this element is present and contains the value
-- that you can use for the Marker request parameter to continue
-- listing your configurations where you left off.
--
-- $sel:maxItems:FieldLevelEncryptionList',
-- fieldLevelEncryptionList_maxItems - The maximum number of
-- elements you want in the response body.
--
-- $sel:quantity:FieldLevelEncryptionList',
-- fieldLevelEncryptionList_quantity - The number of field-level
-- encryption items.
newFieldLevelEncryptionList :: Int -> Int -> FieldLevelEncryptionList
-- | A complex data type for field-level encryption profiles.
--
-- See: newFieldLevelEncryptionProfile smart constructor.
data FieldLevelEncryptionProfile
FieldLevelEncryptionProfile' :: Text -> ISO8601 -> FieldLevelEncryptionProfileConfig -> FieldLevelEncryptionProfile
-- | Create a value of FieldLevelEncryptionProfile with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:FieldLevelEncryptionProfile',
-- fieldLevelEncryptionProfile_id - The ID for a field-level
-- encryption profile configuration which includes a set of profiles that
-- specify certain selected data fields to be encrypted by specific
-- public keys.
--
-- $sel:lastModifiedTime:FieldLevelEncryptionProfile',
-- fieldLevelEncryptionProfile_lastModifiedTime - The last time
-- the field-level encryption profile was updated.
--
--
-- $sel:fieldLevelEncryptionProfileConfig:FieldLevelEncryptionProfile',
-- fieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig -
-- A complex data type that includes the profile name and the encryption
-- entities for the field-level encryption profile.
newFieldLevelEncryptionProfile :: Text -> UTCTime -> FieldLevelEncryptionProfileConfig -> FieldLevelEncryptionProfile
-- | A complex data type of profiles for the field-level encryption.
--
-- See: newFieldLevelEncryptionProfileConfig smart
-- constructor.
data FieldLevelEncryptionProfileConfig
FieldLevelEncryptionProfileConfig' :: Maybe Text -> Text -> Text -> EncryptionEntities -> FieldLevelEncryptionProfileConfig
-- | Create a value of FieldLevelEncryptionProfileConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:FieldLevelEncryptionProfileConfig',
-- fieldLevelEncryptionProfileConfig_comment - An optional comment
-- for the field-level encryption profile. The comment cannot be longer
-- than 128 characters.
--
-- $sel:name:FieldLevelEncryptionProfileConfig',
-- fieldLevelEncryptionProfileConfig_name - Profile name for the
-- field-level encryption profile.
--
-- $sel:callerReference:FieldLevelEncryptionProfileConfig',
-- fieldLevelEncryptionProfileConfig_callerReference - A unique
-- number that ensures that the request can't be replayed.
--
-- $sel:encryptionEntities:FieldLevelEncryptionProfileConfig',
-- fieldLevelEncryptionProfileConfig_encryptionEntities - A
-- complex data type of encryption entities for the field-level
-- encryption profile that include the public key ID, provider, and field
-- patterns for specifying which fields to encrypt with this key.
newFieldLevelEncryptionProfileConfig :: Text -> Text -> EncryptionEntities -> FieldLevelEncryptionProfileConfig
-- | List of field-level encryption profiles.
--
-- See: newFieldLevelEncryptionProfileList smart
-- constructor.
data FieldLevelEncryptionProfileList
FieldLevelEncryptionProfileList' :: Maybe [FieldLevelEncryptionProfileSummary] -> Maybe Text -> Int -> Int -> FieldLevelEncryptionProfileList
-- | Create a value of FieldLevelEncryptionProfileList with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:FieldLevelEncryptionProfileList',
-- fieldLevelEncryptionProfileList_items - The field-level
-- encryption profile items.
--
-- $sel:nextMarker:FieldLevelEncryptionProfileList',
-- fieldLevelEncryptionProfileList_nextMarker - If there are more
-- elements to be listed, this element is present and contains the value
-- that you can use for the Marker request parameter to continue
-- listing your profiles where you left off.
--
-- $sel:maxItems:FieldLevelEncryptionProfileList',
-- fieldLevelEncryptionProfileList_maxItems - The maximum number
-- of field-level encryption profiles you want in the response body.
--
-- $sel:quantity:FieldLevelEncryptionProfileList',
-- fieldLevelEncryptionProfileList_quantity - The number of
-- field-level encryption profiles.
newFieldLevelEncryptionProfileList :: Int -> Int -> FieldLevelEncryptionProfileList
-- | The field-level encryption profile summary.
--
-- See: newFieldLevelEncryptionProfileSummary smart
-- constructor.
data FieldLevelEncryptionProfileSummary
FieldLevelEncryptionProfileSummary' :: Maybe Text -> Text -> ISO8601 -> Text -> EncryptionEntities -> FieldLevelEncryptionProfileSummary
-- | Create a value of FieldLevelEncryptionProfileSummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:FieldLevelEncryptionProfileSummary',
-- fieldLevelEncryptionProfileSummary_comment - An optional
-- comment for the field-level encryption profile summary. The comment
-- cannot be longer than 128 characters.
--
-- $sel:id:FieldLevelEncryptionProfileSummary',
-- fieldLevelEncryptionProfileSummary_id - ID for the field-level
-- encryption profile summary.
--
-- $sel:lastModifiedTime:FieldLevelEncryptionProfileSummary',
-- fieldLevelEncryptionProfileSummary_lastModifiedTime - The time
-- when the the field-level encryption profile summary was last updated.
--
-- $sel:name:FieldLevelEncryptionProfileSummary',
-- fieldLevelEncryptionProfileSummary_name - Name for the
-- field-level encryption profile summary.
--
-- $sel:encryptionEntities:FieldLevelEncryptionProfileSummary',
-- fieldLevelEncryptionProfileSummary_encryptionEntities - A
-- complex data type of encryption entities for the field-level
-- encryption profile that include the public key ID, provider, and field
-- patterns for specifying which fields to encrypt with this key.
newFieldLevelEncryptionProfileSummary :: Text -> UTCTime -> Text -> EncryptionEntities -> FieldLevelEncryptionProfileSummary
-- | A summary of a field-level encryption item.
--
-- See: newFieldLevelEncryptionSummary smart constructor.
data FieldLevelEncryptionSummary
FieldLevelEncryptionSummary' :: Maybe Text -> Maybe ContentTypeProfileConfig -> Maybe QueryArgProfileConfig -> Text -> ISO8601 -> FieldLevelEncryptionSummary
-- | Create a value of FieldLevelEncryptionSummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:FieldLevelEncryptionSummary',
-- fieldLevelEncryptionSummary_comment - An optional comment about
-- the field-level encryption item. The comment cannot be longer than 128
-- characters.
--
-- $sel:contentTypeProfileConfig:FieldLevelEncryptionSummary',
-- fieldLevelEncryptionSummary_contentTypeProfileConfig - A
-- summary of a content type-profile mapping.
--
-- $sel:queryArgProfileConfig:FieldLevelEncryptionSummary',
-- fieldLevelEncryptionSummary_queryArgProfileConfig - A summary
-- of a query argument-profile mapping.
--
-- $sel:id:FieldLevelEncryptionSummary',
-- fieldLevelEncryptionSummary_id - The unique ID of a field-level
-- encryption item.
--
-- $sel:lastModifiedTime:FieldLevelEncryptionSummary',
-- fieldLevelEncryptionSummary_lastModifiedTime - The last time
-- that the summary of field-level encryption items was modified.
newFieldLevelEncryptionSummary :: Text -> UTCTime -> FieldLevelEncryptionSummary
-- | A complex data type that includes the field patterns to match for
-- field-level encryption.
--
-- See: newFieldPatterns smart constructor.
data FieldPatterns
FieldPatterns' :: Maybe [Text] -> Int -> FieldPatterns
-- | Create a value of FieldPatterns with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:FieldPatterns', fieldPatterns_items - An
-- array of the field-level encryption field patterns.
--
-- $sel:quantity:FieldPatterns', fieldPatterns_quantity -
-- The number of field-level encryption field patterns.
newFieldPatterns :: Int -> FieldPatterns
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include values in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send values to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- A complex type that specifies how CloudFront handles query strings,
-- cookies, and HTTP headers.
--
-- See: newForwardedValues smart constructor.
data ForwardedValues
ForwardedValues' :: Maybe Headers -> Maybe QueryStringCacheKeys -> Bool -> CookiePreference -> ForwardedValues
-- | Create a value of ForwardedValues with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:headers:ForwardedValues', forwardedValues_headers -
-- This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include headers in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send headers to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- A complex type that specifies the Headers, if any, that you
-- want CloudFront to forward to the origin for this cache behavior
-- (whitelisted headers). For the headers that you specify, CloudFront
-- also caches separate versions of a specified object that is based on
-- the header values in viewer requests.
--
-- For more information, see Caching Content Based on Request
-- Headers in the Amazon CloudFront Developer Guide.
--
-- $sel:queryStringCacheKeys:ForwardedValues',
-- forwardedValues_queryStringCacheKeys - This field is
-- deprecated. We recommend that you use a cache policy or an origin
-- request policy instead of this field.
--
-- If you want to include query strings in the cache key, use a cache
-- policy. For more information, see Creating cache policies in
-- the Amazon CloudFront Developer Guide.
--
-- If you want to send query strings to the origin but not include them
-- in the cache key, use an origin request policy. For more information,
-- see Creating origin request policies in the Amazon
-- CloudFront Developer Guide.
--
-- A complex type that contains information about the query string
-- parameters that you want CloudFront to use for caching for this cache
-- behavior.
--
-- $sel:queryString:ForwardedValues',
-- forwardedValues_queryString - This field is deprecated. We
-- recommend that you use a cache policy or an origin request policy
-- instead of this field.
--
-- If you want to include query strings in the cache key, use a cache
-- policy. For more information, see Creating cache policies in
-- the Amazon CloudFront Developer Guide.
--
-- If you want to send query strings to the origin but not include them
-- in the cache key, use an origin request policy. For more information,
-- see Creating origin request policies in the Amazon
-- CloudFront Developer Guide.
--
-- Indicates whether you want CloudFront to forward query strings to the
-- origin that is associated with this cache behavior and cache based on
-- the query string parameters. CloudFront behavior depends on the value
-- of QueryString and on the values that you specify for
-- QueryStringCacheKeys, if any:
--
-- If you specify true for QueryString and you don't specify any
-- values for QueryStringCacheKeys, CloudFront forwards all
-- query string parameters to the origin and caches based on all query
-- string parameters. Depending on how many query string parameters and
-- values you have, this can adversely affect performance because
-- CloudFront must forward more requests to the origin.
--
-- If you specify true for QueryString and you specify one or
-- more values for QueryStringCacheKeys, CloudFront forwards all
-- query string parameters to the origin, but it only caches based on the
-- query string parameters that you specify.
--
-- If you specify false for QueryString, CloudFront doesn't
-- forward any query string parameters to the origin, and doesn't cache
-- based on query string parameters.
--
-- For more information, see Configuring CloudFront to Cache Based on
-- Query String Parameters in the Amazon CloudFront Developer
-- Guide.
--
-- $sel:cookies:ForwardedValues', forwardedValues_cookies -
-- This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include cookies in the cache key, use a cache policy.
-- For more information, see Creating cache policies in the
-- Amazon CloudFront Developer Guide.
--
-- If you want to send cookies to the origin but not include them in the
-- cache key, use an origin request policy. For more information, see
-- Creating origin request policies in the Amazon CloudFront
-- Developer Guide.
--
-- A complex type that specifies whether you want CloudFront to forward
-- cookies to the origin and, if so, which ones. For more information
-- about forwarding cookies to the origin, see How CloudFront
-- Forwards, Caches, and Logs Cookies in the Amazon CloudFront
-- Developer Guide.
newForwardedValues :: Bool -> CookiePreference -> ForwardedValues
-- | A CloudFront function that is associated with a cache behavior in a
-- CloudFront distribution.
--
-- See: newFunctionAssociation smart constructor.
data FunctionAssociation
FunctionAssociation' :: Text -> EventType -> FunctionAssociation
-- | Create a value of FunctionAssociation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:functionARN:FunctionAssociation',
-- functionAssociation_functionARN - The Amazon Resource Name
-- (ARN) of the function.
--
-- $sel:eventType:FunctionAssociation',
-- functionAssociation_eventType - The event type of the function,
-- either viewer-request or viewer-response. You cannot
-- use origin-facing event types (origin-request and
-- origin-response) with a CloudFront function.
newFunctionAssociation :: Text -> EventType -> FunctionAssociation
-- | A list of CloudFront functions that are associated with a cache
-- behavior in a CloudFront distribution. CloudFront functions must be
-- published to the LIVE stage to associate them with a cache
-- behavior.
--
-- See: newFunctionAssociations smart constructor.
data FunctionAssociations
FunctionAssociations' :: Maybe [FunctionAssociation] -> Int -> FunctionAssociations
-- | Create a value of FunctionAssociations with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:FunctionAssociations',
-- functionAssociations_items - The CloudFront functions that are
-- associated with a cache behavior in a CloudFront distribution.
-- CloudFront functions must be published to the LIVE stage to
-- associate them with a cache behavior.
--
-- $sel:quantity:FunctionAssociations',
-- functionAssociations_quantity - The number of CloudFront
-- functions in the list.
newFunctionAssociations :: Int -> FunctionAssociations
-- | Contains configuration information about a CloudFront function.
--
-- See: newFunctionConfig smart constructor.
data FunctionConfig
FunctionConfig' :: Text -> FunctionRuntime -> FunctionConfig
-- | Create a value of FunctionConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:FunctionConfig', functionConfig_comment - A
-- comment to describe the function.
--
-- $sel:runtime:FunctionConfig', functionConfig_runtime -
-- The function's runtime environment. The only valid value is
-- cloudfront-js-1.0.
newFunctionConfig :: Text -> FunctionRuntime -> FunctionConfig
-- | A list of CloudFront functions.
--
-- See: newFunctionList smart constructor.
data FunctionList
FunctionList' :: Maybe [FunctionSummary] -> Maybe Text -> Int -> Int -> FunctionList
-- | Create a value of FunctionList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:FunctionList', functionList_items - Contains
-- the functions in the list.
--
-- $sel:nextMarker:FunctionList', functionList_nextMarker -
-- If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing
-- functions where you left off.
--
-- $sel:maxItems:FunctionList', functionList_maxItems - The
-- maximum number of functions requested.
--
-- $sel:quantity:FunctionList', functionList_quantity - The
-- number of functions returned in the response.
newFunctionList :: Int -> Int -> FunctionList
-- | Contains metadata about a CloudFront function.
--
-- See: newFunctionMetadata smart constructor.
data FunctionMetadata
FunctionMetadata' :: Maybe ISO8601 -> Maybe FunctionStage -> Text -> ISO8601 -> FunctionMetadata
-- | Create a value of FunctionMetadata with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:createdTime:FunctionMetadata',
-- functionMetadata_createdTime - The date and time when the
-- function was created.
--
-- $sel:stage:FunctionMetadata', functionMetadata_stage -
-- The stage that the function is in, either DEVELOPMENT or
-- LIVE.
--
-- When a function is in the DEVELOPMENT stage, you can test the
-- function with TestFunction, and update it with
-- UpdateFunction.
--
-- When a function is in the LIVE stage, you can attach the
-- function to a distribution's cache behavior, using the function's ARN.
--
-- $sel:functionARN:FunctionMetadata',
-- functionMetadata_functionARN - The Amazon Resource Name (ARN)
-- of the function. The ARN uniquely identifies the function.
--
-- $sel:lastModifiedTime:FunctionMetadata',
-- functionMetadata_lastModifiedTime - The date and time when the
-- function was most recently updated.
newFunctionMetadata :: Text -> UTCTime -> FunctionMetadata
-- | Contains configuration information and metadata about a CloudFront
-- function.
--
-- See: newFunctionSummary smart constructor.
data FunctionSummary
FunctionSummary' :: Maybe Text -> Text -> FunctionConfig -> FunctionMetadata -> FunctionSummary
-- | Create a value of FunctionSummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:status:FunctionSummary', functionSummary_status -
-- The status of the CloudFront function.
--
-- $sel:name:FunctionSummary', functionSummary_name - The
-- name of the CloudFront function.
--
-- $sel:functionConfig:FunctionSummary',
-- functionSummary_functionConfig - Contains configuration
-- information about a CloudFront function.
--
-- $sel:functionMetadata:FunctionSummary',
-- functionSummary_functionMetadata - Contains metadata about a
-- CloudFront function.
newFunctionSummary :: Text -> FunctionConfig -> FunctionMetadata -> FunctionSummary
-- | A complex type that controls the countries in which your content is
-- distributed. CloudFront determines the location of your users using
-- MaxMind GeoIP databases.
--
-- See: newGeoRestriction smart constructor.
data GeoRestriction
GeoRestriction' :: Maybe [Text] -> GeoRestrictionType -> Int -> GeoRestriction
-- | Create a value of GeoRestriction with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:GeoRestriction', geoRestriction_items - 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 on the CloudFront console, which includes both country
-- names and codes.
--
-- $sel:restrictionType:GeoRestriction',
-- geoRestriction_restrictionType - 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 don't want CloudFront to distribute your
-- content.
-- - whitelist: The Location elements specify the
-- countries in which you want CloudFront to distribute your
-- content.
--
--
-- $sel:quantity:GeoRestriction', geoRestriction_quantity -
-- 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.
newGeoRestriction :: GeoRestrictionType -> Int -> GeoRestriction
-- | Contains a list of HTTP header names.
--
-- See: newHeaders smart constructor.
data Headers
Headers' :: Maybe [Text] -> Int -> Headers
-- | Create a value of Headers with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:Headers', headers_items - A list of HTTP
-- header names.
--
-- $sel:quantity:Headers', headers_quantity - The number of
-- header names in the Items list.
newHeaders :: Int -> Headers
-- | An invalidation.
--
-- See: newInvalidation smart constructor.
data Invalidation
Invalidation' :: Text -> Text -> ISO8601 -> InvalidationBatch -> Invalidation
-- | Create a value of Invalidation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:Invalidation', invalidation_id - The identifier
-- for the invalidation request. For example: IDFDVBD632BHDS5.
--
-- $sel:status:Invalidation', invalidation_status - The
-- status of the invalidation request. When the invalidation batch is
-- finished, the status is Completed.
--
-- $sel:createTime:Invalidation', invalidation_createTime -
-- The date and time the invalidation request was first made.
--
-- $sel:invalidationBatch:Invalidation',
-- invalidation_invalidationBatch - The current invalidation
-- information for the batch request.
newInvalidation :: Text -> Text -> UTCTime -> InvalidationBatch -> Invalidation
-- | An invalidation batch.
--
-- See: newInvalidationBatch smart constructor.
data InvalidationBatch
InvalidationBatch' :: Paths -> Text -> InvalidationBatch
-- | Create a value of InvalidationBatch with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:paths:InvalidationBatch', invalidationBatch_paths -
-- A complex type that contains information about the objects that you
-- want to invalidate. For more information, see Specifying the
-- Objects to Invalidate in the Amazon CloudFront Developer
-- Guide.
--
-- $sel:callerReference:InvalidationBatch',
-- invalidationBatch_callerReference - A value that you specify to
-- uniquely identify an invalidation request. CloudFront uses the value
-- to prevent you from accidentally resubmitting an identical request.
-- Whenever you create a new invalidation request, you must specify a new
-- value for CallerReference and change other values in the
-- request as applicable. One way to ensure that the value of
-- CallerReference is unique is to use a timestamp, for
-- example, 20120301090000.
--
-- If you make a second invalidation request with the same value for
-- CallerReference, and if the rest of the request is the same,
-- CloudFront doesn't create a new invalidation request. Instead,
-- CloudFront returns information about the invalidation request that you
-- previously created with the same CallerReference.
--
-- If CallerReference is a value you already sent in a previous
-- invalidation batch request but the content of any Path is
-- different from the original request, CloudFront returns an
-- InvalidationBatchAlreadyExists error.
newInvalidationBatch :: Paths -> Text -> InvalidationBatch
-- | The InvalidationList complex type describes the list of
-- invalidation objects. For more information about invalidation, see
-- Invalidating Objects (Web Distributions Only) in the Amazon
-- CloudFront Developer Guide.
--
-- See: newInvalidationList smart constructor.
data InvalidationList
InvalidationList' :: Maybe [InvalidationSummary] -> Maybe Text -> Text -> Int -> Bool -> Int -> InvalidationList
-- | Create a value of InvalidationList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:InvalidationList', invalidationList_items - A
-- complex type that contains one InvalidationSummary element
-- for each invalidation batch created by the current Amazon Web Services
-- account.
--
-- $sel:nextMarker:InvalidationList',
-- invalidationList_nextMarker - If IsTruncated is
-- true, this element is present and contains the value that you
-- can use for the Marker request parameter to continue listing
-- your invalidation batches where they left off.
--
-- $sel:marker:InvalidationList', invalidationList_marker -
-- The value that you provided for the Marker request parameter.
--
-- $sel:maxItems:InvalidationList',
-- invalidationList_maxItems - The value that you provided for the
-- MaxItems request parameter.
--
-- $sel:isTruncated:InvalidationList',
-- invalidationList_isTruncated - 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.
--
-- $sel:quantity:InvalidationList',
-- invalidationList_quantity - The number of invalidation batches
-- that were created by the current Amazon Web Services account.
newInvalidationList :: Text -> Int -> Bool -> Int -> InvalidationList
-- | A summary of an invalidation request.
--
-- See: newInvalidationSummary smart constructor.
data InvalidationSummary
InvalidationSummary' :: Text -> ISO8601 -> Text -> InvalidationSummary
-- | Create a value of InvalidationSummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:InvalidationSummary', invalidationSummary_id -
-- The unique ID for an invalidation request.
--
-- $sel:createTime:InvalidationSummary',
-- invalidationSummary_createTime - The time that an invalidation
-- request was created.
--
-- $sel:status:InvalidationSummary',
-- invalidationSummary_status - The status of an invalidation
-- request.
newInvalidationSummary :: Text -> UTCTime -> Text -> InvalidationSummary
-- | A list of identifiers for the public keys that CloudFront can use to
-- verify the signatures of signed URLs and signed cookies.
--
-- See: newKGKeyPairIds smart constructor.
data KGKeyPairIds
KGKeyPairIds' :: Maybe Text -> Maybe KeyPairIds -> KGKeyPairIds
-- | Create a value of KGKeyPairIds with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:keyGroupId:KGKeyPairIds', kGKeyPairIds_keyGroupId -
-- The identifier of the key group that contains the public keys.
--
-- $sel:keyPairIds:KGKeyPairIds', kGKeyPairIds_keyPairIds -
-- Undocumented member.
newKGKeyPairIds :: KGKeyPairIds
-- | A key group.
--
-- A key group contains a list of public keys that you can use with
-- CloudFront signed URLs and signed cookies.
--
-- See: newKeyGroup smart constructor.
data KeyGroup
KeyGroup' :: Text -> ISO8601 -> KeyGroupConfig -> KeyGroup
-- | Create a value of KeyGroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:KeyGroup', keyGroup_id - The identifier for the
-- key group.
--
-- $sel:lastModifiedTime:KeyGroup',
-- keyGroup_lastModifiedTime - The date and time when the key
-- group was last modified.
--
-- $sel:keyGroupConfig:KeyGroup', keyGroup_keyGroupConfig -
-- The key group configuration.
newKeyGroup :: Text -> UTCTime -> KeyGroupConfig -> KeyGroup
-- | A key group configuration.
--
-- A key group contains a list of public keys that you can use with
-- CloudFront signed URLs and signed cookies.
--
-- See: newKeyGroupConfig smart constructor.
data KeyGroupConfig
KeyGroupConfig' :: Maybe Text -> Text -> [Text] -> KeyGroupConfig
-- | Create a value of KeyGroupConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:KeyGroupConfig', keyGroupConfig_comment - A
-- comment to describe the key group. The comment cannot be longer than
-- 128 characters.
--
-- $sel:name:KeyGroupConfig', keyGroupConfig_name - A name
-- to identify the key group.
--
-- $sel:items:KeyGroupConfig', keyGroupConfig_items - A
-- list of the identifiers of the public keys in the key group.
newKeyGroupConfig :: Text -> KeyGroupConfig
-- | A list of key groups.
--
-- See: newKeyGroupList smart constructor.
data KeyGroupList
KeyGroupList' :: Maybe [KeyGroupSummary] -> Maybe Text -> Int -> Int -> KeyGroupList
-- | Create a value of KeyGroupList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:KeyGroupList', keyGroupList_items - A list of
-- key groups.
--
-- $sel:nextMarker:KeyGroupList', keyGroupList_nextMarker -
-- If there are more items in the list than are in this response, this
-- element is present. It contains the value that you should use in the
-- Marker field of a subsequent request to continue listing key
-- groups.
--
-- $sel:maxItems:KeyGroupList', keyGroupList_maxItems - The
-- maximum number of key groups requested.
--
-- $sel:quantity:KeyGroupList', keyGroupList_quantity - The
-- number of key groups returned in the response.
newKeyGroupList :: Int -> Int -> KeyGroupList
-- | Contains information about a key group.
--
-- See: newKeyGroupSummary smart constructor.
data KeyGroupSummary
KeyGroupSummary' :: KeyGroup -> KeyGroupSummary
-- | Create a value of KeyGroupSummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:keyGroup:KeyGroupSummary', keyGroupSummary_keyGroup
-- - A key group.
newKeyGroupSummary :: KeyGroup -> KeyGroupSummary
-- | A list of CloudFront key pair identifiers.
--
-- See: newKeyPairIds smart constructor.
data KeyPairIds
KeyPairIds' :: Maybe [Text] -> Int -> KeyPairIds
-- | Create a value of KeyPairIds with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:KeyPairIds', keyPairIds_items - A list of
-- CloudFront key pair identifiers.
--
-- $sel:quantity:KeyPairIds', keyPairIds_quantity - The
-- number of key pair identifiers in the list.
newKeyPairIds :: Int -> KeyPairIds
-- | Contains information about the Amazon Kinesis data stream where you
-- are sending real-time log data.
--
-- See: newKinesisStreamConfig smart constructor.
data KinesisStreamConfig
KinesisStreamConfig' :: Text -> Text -> KinesisStreamConfig
-- | Create a value of KinesisStreamConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:roleARN:KinesisStreamConfig',
-- kinesisStreamConfig_roleARN - The Amazon Resource Name (ARN) of
-- an Identity and Access Management (IAM) role that CloudFront can use
-- to send real-time log data to your Kinesis data stream.
--
-- For more information the IAM role, see Real-time log configuration
-- IAM role in the Amazon CloudFront Developer Guide.
--
-- $sel:streamARN:KinesisStreamConfig',
-- kinesisStreamConfig_streamARN - The Amazon Resource Name (ARN)
-- of the Kinesis data stream where you are sending real-time log data.
newKinesisStreamConfig :: Text -> Text -> KinesisStreamConfig
-- | A complex type that contains a Lambda@Edge function association.
--
-- See: newLambdaFunctionAssociation smart constructor.
data LambdaFunctionAssociation
LambdaFunctionAssociation' :: Maybe Bool -> Text -> EventType -> LambdaFunctionAssociation
-- | Create a value of LambdaFunctionAssociation with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:includeBody:LambdaFunctionAssociation',
-- lambdaFunctionAssociation_includeBody - A flag that allows a
-- Lambda@Edge function to have read access to the body content. For more
-- information, see Accessing the Request Body by Choosing the Include
-- Body Option in the Amazon CloudFront Developer Guide.
--
-- $sel:lambdaFunctionARN:LambdaFunctionAssociation',
-- lambdaFunctionAssociation_lambdaFunctionARN - The ARN of the
-- Lambda@Edge function. You must specify the ARN of a function version;
-- you can't specify an alias or $LATEST.
--
-- $sel:eventType:LambdaFunctionAssociation',
-- lambdaFunctionAssociation_eventType - Specifies the event type
-- that triggers a Lambda@Edge function invocation. You can specify the
-- following values:
--
--
-- - viewer-request: The function executes when CloudFront
-- receives a request from a viewer and before it checks to see whether
-- the requested object is in the edge cache.
-- - origin-request: The function executes only when
-- CloudFront sends a request to your origin. When the requested object
-- is in the edge cache, the function doesn't execute.
-- - origin-response: The function executes after CloudFront
-- receives a response from the origin and before it caches the object in
-- the response. When the requested object is in the edge cache, the
-- function doesn't execute.
-- - viewer-response: The function executes before CloudFront
-- returns the requested object to the viewer. The function executes
-- regardless of whether the object was already in the edge cache.If the
-- origin returns an HTTP status code other than HTTP 200 (OK), the
-- function doesn't execute.
--
newLambdaFunctionAssociation :: Text -> EventType -> LambdaFunctionAssociation
-- | A complex type that specifies a list of Lambda@Edge functions
-- associations for a cache behavior.
--
-- If you want to invoke one or more Lambda@Edge functions triggered by
-- requests that match the PathPattern of the cache behavior,
-- specify the applicable values for Quantity and
-- Items. Note that there can be up to 4
-- LambdaFunctionAssociation items in this list (one for each
-- possible value of EventType) and each EventType can
-- be associated with only one function.
--
-- If you don't want to invoke any Lambda@Edge functions for the requests
-- that match PathPattern, specify 0 for
-- Quantity and omit Items.
--
-- See: newLambdaFunctionAssociations smart constructor.
data LambdaFunctionAssociations
LambdaFunctionAssociations' :: Maybe [LambdaFunctionAssociation] -> Int -> LambdaFunctionAssociations
-- | Create a value of LambdaFunctionAssociations with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:LambdaFunctionAssociations',
-- lambdaFunctionAssociations_items - Optional: A complex
-- type that contains LambdaFunctionAssociation items for this
-- cache behavior. If Quantity is 0, you can omit
-- Items.
--
-- $sel:quantity:LambdaFunctionAssociations',
-- lambdaFunctionAssociations_quantity - The number of Lambda@Edge
-- function associations for this cache behavior.
newLambdaFunctionAssociations :: Int -> LambdaFunctionAssociations
-- | A complex type that controls whether access logs are written for the
-- distribution.
--
-- See: newLoggingConfig smart constructor.
data LoggingConfig
LoggingConfig' :: Bool -> Bool -> Text -> Text -> LoggingConfig
-- | Create a value of LoggingConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:enabled:LoggingConfig', loggingConfig_enabled -
-- Specifies whether you want CloudFront to save access logs to an Amazon
-- S3 bucket. If you don't 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.
--
-- $sel:includeCookies:LoggingConfig',
-- loggingConfig_includeCookies - 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 don't 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.
--
-- $sel:bucket:LoggingConfig', loggingConfig_bucket - The
-- Amazon S3 bucket to store the access logs in, for example,
-- myawslogbucket.s3.amazonaws.com.
--
-- $sel:prefix:LoggingConfig', loggingConfig_prefix - 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 don't want
-- to specify a prefix, you still must include an empty Prefix
-- element in the Logging element.
newLoggingConfig :: Bool -> Bool -> Text -> Text -> LoggingConfig
-- | A monitoring subscription. This structure contains information about
-- whether additional CloudWatch metrics are enabled for a given
-- CloudFront distribution.
--
-- See: newMonitoringSubscription smart constructor.
data MonitoringSubscription
MonitoringSubscription' :: Maybe RealtimeMetricsSubscriptionConfig -> MonitoringSubscription
-- | Create a value of MonitoringSubscription with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:realtimeMetricsSubscriptionConfig:MonitoringSubscription',
-- monitoringSubscription_realtimeMetricsSubscriptionConfig - A
-- subscription configuration for additional CloudWatch metrics.
newMonitoringSubscription :: MonitoringSubscription
-- | An origin.
--
-- An origin is the location where content is stored, and from which
-- CloudFront gets content to serve to viewers. To specify an origin:
--
--
-- - Use S3OriginConfig to specify an Amazon S3 bucket that is
-- not configured with static website hosting.
-- - Use CustomOriginConfig to specify all other kinds of
-- origins, including:
- An Amazon S3 bucket that is configured with
-- static website hosting
- An Elastic Load Balancing load
-- balancer
- An AWS Elemental MediaPackage endpoint
- An AWS
-- Elemental MediaStore container
- Any other HTTP server, running
-- on an Amazon EC2 instance or any other kind of host
--
--
-- For the current maximum number of origins that you can specify per
-- distribution, see General Quotas on Web Distributions in the
-- Amazon CloudFront Developer Guide (quotas were formerly
-- referred to as limits).
--
-- See: newOrigin smart constructor.
data Origin
Origin' :: Maybe Int -> Maybe Int -> Maybe CustomHeaders -> Maybe CustomOriginConfig -> Maybe Text -> Maybe Text -> Maybe OriginShield -> Maybe S3OriginConfig -> Text -> Text -> Origin
-- | Create a value of Origin with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:connectionAttempts:Origin',
-- origin_connectionAttempts - The number of times that CloudFront
-- attempts to connect to the origin. The minimum number is 1, the
-- maximum is 3, and the default (if you don't specify otherwise) is 3.
--
-- For a custom origin (including an Amazon S3 bucket that's configured
-- with static website hosting), this value also specifies the number of
-- times that CloudFront attempts to get a response from the origin, in
-- the case of an Origin Response Timeout.
--
-- For more information, see Origin Connection Attempts in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:connectionTimeout:Origin', origin_connectionTimeout
-- - The number of seconds that CloudFront waits when trying to establish
-- a connection to the origin. The minimum timeout is 1 second, the
-- maximum is 10 seconds, and the default (if you don't specify
-- otherwise) is 10 seconds.
--
-- For more information, see Origin Connection Timeout in the
-- Amazon CloudFront Developer Guide.
--
-- $sel:customHeaders:Origin', origin_customHeaders - A
-- list of HTTP header names and values that CloudFront adds to the
-- requests that it sends to the origin.
--
-- For more information, see Adding Custom Headers to Origin
-- Requests in the Amazon CloudFront Developer Guide.
--
-- $sel:customOriginConfig:Origin',
-- origin_customOriginConfig - Use this type to specify an origin
-- that is not an Amazon S3 bucket, with one exception. If the Amazon S3
-- bucket is configured with static website hosting, use this type. If
-- the Amazon S3 bucket is not configured with static website hosting,
-- use the S3OriginConfig type instead.
--
-- $sel:originAccessControlId:Origin',
-- origin_originAccessControlId - The unique identifier of an
-- origin access control for this origin.
--
-- For more information, see Restricting access to an Amazon S3
-- origin in the Amazon CloudFront Developer Guide.
--
-- $sel:originPath:Origin', origin_originPath - An optional
-- path that CloudFront appends to the origin domain name when CloudFront
-- requests content from the origin.
--
-- For more information, see Origin Path in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:originShield:Origin', origin_originShield -
-- CloudFront Origin Shield. Using Origin Shield can help reduce the load
-- on your origin.
--
-- For more information, see Using Origin Shield in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:s3OriginConfig:Origin', origin_s3OriginConfig - Use
-- this type to specify an origin that is an Amazon S3 bucket that is not
-- configured with static website hosting. To specify any other type of
-- origin, including an Amazon S3 bucket that is configured with static
-- website hosting, use the CustomOriginConfig type instead.
--
-- $sel:id:Origin', origin_id - A unique identifier for the
-- origin. This value must be unique within the distribution.
--
-- Use this value to specify the TargetOriginId in a
-- CacheBehavior or DefaultCacheBehavior.
--
-- $sel:domainName:Origin', origin_domainName - The domain
-- name for the origin.
--
-- For more information, see Origin Domain Name in the Amazon
-- CloudFront Developer Guide.
newOrigin :: Text -> Text -> Origin
-- | A CloudFront origin access control, including its unique identifier.
--
-- See: newOriginAccessControl smart constructor.
data OriginAccessControl
OriginAccessControl' :: Maybe OriginAccessControlConfig -> Text -> OriginAccessControl
-- | Create a value of OriginAccessControl with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:originAccessControlConfig:OriginAccessControl',
-- originAccessControl_originAccessControlConfig - The origin
-- access control.
--
-- $sel:id:OriginAccessControl', originAccessControl_id -
-- The unique identifier of the origin access control.
newOriginAccessControl :: Text -> OriginAccessControl
-- | A CloudFront origin access control configuration.
--
-- See: newOriginAccessControlConfig smart constructor.
data OriginAccessControlConfig
OriginAccessControlConfig' :: Maybe Text -> Text -> OriginAccessControlSigningProtocols -> OriginAccessControlSigningBehaviors -> OriginAccessControlOriginTypes -> OriginAccessControlConfig
-- | Create a value of OriginAccessControlConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:description:OriginAccessControlConfig',
-- originAccessControlConfig_description - A description of the
-- origin access control.
--
-- $sel:name:OriginAccessControlConfig',
-- originAccessControlConfig_name - A name to identify the origin
-- access control.
--
-- $sel:signingProtocol:OriginAccessControlConfig',
-- originAccessControlConfig_signingProtocol - The signing
-- protocol of the origin access control, which determines how CloudFront
-- signs (authenticates) requests. The only valid value is
-- sigv4.
--
-- $sel:signingBehavior:OriginAccessControlConfig',
-- originAccessControlConfig_signingBehavior - Specifies which
-- requests CloudFront signs (adds authentication information to).
-- Specify always for the most common use case. For more
-- information, see origin access control advanced settings in the
-- Amazon CloudFront Developer Guide.
--
-- This field can have one of the following values:
--
--
-- - always – CloudFront signs all origin requests,
-- overwriting the Authorization header from the viewer request
-- if one exists.
-- - never – CloudFront doesn't sign any origin requests. This
-- value turns off origin access control for all origins in all
-- distributions that use this origin access control.
-- - no-override – If the viewer request doesn't contain the
-- Authorization header, then CloudFront signs the origin
-- request. If the viewer request contains the Authorization
-- header, then CloudFront doesn't sign the origin request and instead
-- passes along the Authorization header from the viewer
-- request. __WARNING: To pass along the Authorization header
-- from the viewer request, you must add the
-- Authorization header to a cache policy for all cache
-- behaviors that use origins associated with this origin access
-- control.__
--
--
-- $sel:originAccessControlOriginType:OriginAccessControlConfig',
-- originAccessControlConfig_originAccessControlOriginType - The
-- type of origin that this origin access control is for. The only valid
-- value is s3.
newOriginAccessControlConfig :: Text -> OriginAccessControlSigningProtocols -> OriginAccessControlSigningBehaviors -> OriginAccessControlOriginTypes -> OriginAccessControlConfig
-- | A list of CloudFront origin access controls.
--
-- See: newOriginAccessControlList smart constructor.
data OriginAccessControlList
OriginAccessControlList' :: Maybe [OriginAccessControlSummary] -> Maybe Text -> Text -> Int -> Bool -> Int -> OriginAccessControlList
-- | Create a value of OriginAccessControlList with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:OriginAccessControlList',
-- originAccessControlList_items - Contains the origin access
-- controls in the list.
--
-- $sel:nextMarker:OriginAccessControlList',
-- originAccessControlList_nextMarker - If there are more items in
-- the list than are in this response, this element is present. It
-- contains the value to use in the Marker field of another
-- request to continue listing origin access controls.
--
-- $sel:marker:OriginAccessControlList',
-- originAccessControlList_marker - The value of the
-- Marker field that was provided in the request.
--
-- $sel:maxItems:OriginAccessControlList',
-- originAccessControlList_maxItems - The maximum number of origin
-- access controls requested.
--
-- $sel:isTruncated:OriginAccessControlList',
-- originAccessControlList_isTruncated - If there are more items
-- in the list than are in this response, this value is true.
--
-- $sel:quantity:OriginAccessControlList',
-- originAccessControlList_quantity - The number of origin access
-- controls returned in the response.
newOriginAccessControlList :: Text -> Int -> Bool -> Int -> OriginAccessControlList
-- | A CloudFront origin access control.
--
-- See: newOriginAccessControlSummary smart constructor.
data OriginAccessControlSummary
OriginAccessControlSummary' :: Text -> Text -> Text -> OriginAccessControlSigningProtocols -> OriginAccessControlSigningBehaviors -> OriginAccessControlOriginTypes -> OriginAccessControlSummary
-- | Create a value of OriginAccessControlSummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:OriginAccessControlSummary',
-- originAccessControlSummary_id - The unique identifier of the
-- origin access control.
--
-- $sel:description:OriginAccessControlSummary',
-- originAccessControlSummary_description - A description of the
-- origin access control.
--
-- $sel:name:OriginAccessControlSummary',
-- originAccessControlSummary_name - A unique name that identifies
-- the origin access control.
--
-- $sel:signingProtocol:OriginAccessControlSummary',
-- originAccessControlSummary_signingProtocol - The signing
-- protocol of the origin access control. The signing protocol determines
-- how CloudFront signs (authenticates) requests. The only valid value is
-- sigv4.
--
-- $sel:signingBehavior:OriginAccessControlSummary',
-- originAccessControlSummary_signingBehavior - A value that
-- specifies which requests CloudFront signs (adds authentication
-- information to). This field can have one of the following values:
--
--
-- - never – CloudFront doesn't sign any origin requests.
-- - always – CloudFront signs all origin requests,
-- overwriting the Authorization header from the viewer request
-- if necessary.
-- - no-override – If the viewer request doesn't contain the
-- Authorization header, CloudFront signs the origin request. If
-- the viewer request contains the Authorization header,
-- CloudFront doesn't sign the origin request, but instead passes along
-- the Authorization header that it received in the viewer
-- request.
--
--
-- $sel:originAccessControlOriginType:OriginAccessControlSummary',
-- originAccessControlSummary_originAccessControlOriginType - The
-- type of origin that this origin access control is for. The only valid
-- value is s3.
newOriginAccessControlSummary :: Text -> Text -> Text -> OriginAccessControlSigningProtocols -> OriginAccessControlSigningBehaviors -> OriginAccessControlOriginTypes -> OriginAccessControlSummary
-- | A complex type that contains HeaderName and
-- HeaderValue elements, if any, for this distribution.
--
-- See: newOriginCustomHeader smart constructor.
data OriginCustomHeader
OriginCustomHeader' :: Text -> Sensitive Text -> OriginCustomHeader
-- | Create a value of OriginCustomHeader with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:headerName:OriginCustomHeader',
-- originCustomHeader_headerName - The name of a header that you
-- want CloudFront to send to your origin. For more information, see
-- Adding Custom Headers to Origin Requests in the Amazon
-- CloudFront Developer Guide.
--
-- $sel:headerValue:OriginCustomHeader',
-- originCustomHeader_headerValue - The value for the header that
-- you specified in the HeaderName field.
newOriginCustomHeader :: Text -> Text -> OriginCustomHeader
-- | An origin group includes two origins (a primary origin and a second
-- origin to failover to) and a failover criteria that you specify. You
-- create an origin group to support origin failover in CloudFront. When
-- you create or update a distribution, you can specifiy the origin group
-- instead of a single origin, and CloudFront will failover from the
-- primary origin to the second origin under the failover conditions that
-- you've chosen.
--
-- See: newOriginGroup smart constructor.
data OriginGroup
OriginGroup' :: Text -> OriginGroupFailoverCriteria -> OriginGroupMembers -> OriginGroup
-- | Create a value of OriginGroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:OriginGroup', originGroup_id - The origin
-- group's ID.
--
-- $sel:failoverCriteria:OriginGroup',
-- originGroup_failoverCriteria - A complex type that contains
-- information about the failover criteria for an origin group.
--
-- $sel:members:OriginGroup', originGroup_members - A
-- complex type that contains information about the origins in an origin
-- group.
newOriginGroup :: Text -> OriginGroupFailoverCriteria -> OriginGroupMembers -> OriginGroup
-- | A complex data type that includes information about the failover
-- criteria for an origin group, including the status codes for which
-- CloudFront will failover from the primary origin to the second origin.
--
-- See: newOriginGroupFailoverCriteria smart constructor.
data OriginGroupFailoverCriteria
OriginGroupFailoverCriteria' :: StatusCodes -> OriginGroupFailoverCriteria
-- | Create a value of OriginGroupFailoverCriteria with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:statusCodes:OriginGroupFailoverCriteria',
-- originGroupFailoverCriteria_statusCodes - The status codes
-- that, when returned from the primary origin, will trigger CloudFront
-- to failover to the second origin.
newOriginGroupFailoverCriteria :: StatusCodes -> OriginGroupFailoverCriteria
-- | An origin in an origin group.
--
-- See: newOriginGroupMember smart constructor.
data OriginGroupMember
OriginGroupMember' :: Text -> OriginGroupMember
-- | Create a value of OriginGroupMember with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:originId:OriginGroupMember',
-- originGroupMember_originId - The ID for an origin in an origin
-- group.
newOriginGroupMember :: Text -> OriginGroupMember
-- | A complex data type for the origins included in an origin group.
--
-- See: newOriginGroupMembers smart constructor.
data OriginGroupMembers
OriginGroupMembers' :: Int -> NonEmpty OriginGroupMember -> OriginGroupMembers
-- | Create a value of OriginGroupMembers with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:OriginGroupMembers',
-- originGroupMembers_quantity - The number of origins in an
-- origin group.
--
-- $sel:items:OriginGroupMembers', originGroupMembers_items
-- - Items (origins) in an origin group.
newOriginGroupMembers :: Int -> NonEmpty OriginGroupMember -> OriginGroupMembers
-- | A complex data type for the origin groups specified for a
-- distribution.
--
-- See: newOriginGroups smart constructor.
data OriginGroups
OriginGroups' :: Maybe [OriginGroup] -> Int -> OriginGroups
-- | Create a value of OriginGroups with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:OriginGroups', originGroups_items - The items
-- (origin groups) in a distribution.
--
-- $sel:quantity:OriginGroups', originGroups_quantity - The
-- number of origin groups.
newOriginGroups :: Int -> OriginGroups
-- | An origin request policy.
--
-- When it's attached to a cache behavior, the origin request policy
-- determines the values that CloudFront includes in requests that it
-- sends to the origin. Each request that CloudFront sends to the origin
-- includes the following:
--
--
-- - The request body and the URL path (without the domain name) from
-- the viewer request.
-- - The headers that CloudFront automatically includes in every origin
-- request, including Host, User-Agent, and
-- X-Amz-Cf-Id.
-- - All HTTP headers, cookies, and URL query strings that are
-- specified in the cache policy or the origin request policy. These can
-- include items from the viewer request and, in the case of headers,
-- additional ones that are added by CloudFront.
--
--
-- CloudFront sends a request when it can't find an object in its cache
-- that matches the request. If you want to send values to the origin and
-- also include them in the cache key, use CachePolicy.
--
-- See: newOriginRequestPolicy smart constructor.
data OriginRequestPolicy
OriginRequestPolicy' :: Text -> ISO8601 -> OriginRequestPolicyConfig -> OriginRequestPolicy
-- | Create a value of OriginRequestPolicy with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:OriginRequestPolicy', originRequestPolicy_id -
-- The unique identifier for the origin request policy.
--
-- $sel:lastModifiedTime:OriginRequestPolicy',
-- originRequestPolicy_lastModifiedTime - The date and time when
-- the origin request policy was last modified.
--
-- $sel:originRequestPolicyConfig:OriginRequestPolicy',
-- originRequestPolicy_originRequestPolicyConfig - The origin
-- request policy configuration.
newOriginRequestPolicy :: Text -> UTCTime -> OriginRequestPolicyConfig -> OriginRequestPolicy
-- | An origin request policy configuration.
--
-- This configuration determines the values that CloudFront includes in
-- requests that it sends to the origin. Each request that CloudFront
-- sends to the origin includes the following:
--
--
-- - The request body and the URL path (without the domain name) from
-- the viewer request.
-- - The headers that CloudFront automatically includes in every origin
-- request, including Host, User-Agent, and
-- X-Amz-Cf-Id.
-- - All HTTP headers, cookies, and URL query strings that are
-- specified in the cache policy or the origin request policy. These can
-- include items from the viewer request and, in the case of headers,
-- additional ones that are added by CloudFront.
--
--
-- CloudFront sends a request when it can't find an object in its cache
-- that matches the request. If you want to send values to the origin and
-- also include them in the cache key, use CachePolicy.
--
-- See: newOriginRequestPolicyConfig smart constructor.
data OriginRequestPolicyConfig
OriginRequestPolicyConfig' :: Maybe Text -> Text -> OriginRequestPolicyHeadersConfig -> OriginRequestPolicyCookiesConfig -> OriginRequestPolicyQueryStringsConfig -> OriginRequestPolicyConfig
-- | Create a value of OriginRequestPolicyConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:OriginRequestPolicyConfig',
-- originRequestPolicyConfig_comment - A comment to describe the
-- origin request policy. The comment cannot be longer than 128
-- characters.
--
-- $sel:name:OriginRequestPolicyConfig',
-- originRequestPolicyConfig_name - A unique name to identify the
-- origin request policy.
--
-- $sel:headersConfig:OriginRequestPolicyConfig',
-- originRequestPolicyConfig_headersConfig - The HTTP headers to
-- include in origin requests. These can include headers from viewer
-- requests and additional headers added by CloudFront.
--
-- $sel:cookiesConfig:OriginRequestPolicyConfig',
-- originRequestPolicyConfig_cookiesConfig - The cookies from
-- viewer requests to include in origin requests.
--
-- $sel:queryStringsConfig:OriginRequestPolicyConfig',
-- originRequestPolicyConfig_queryStringsConfig - The URL query
-- strings from viewer requests to include in origin requests.
newOriginRequestPolicyConfig :: Text -> OriginRequestPolicyHeadersConfig -> OriginRequestPolicyCookiesConfig -> OriginRequestPolicyQueryStringsConfig -> OriginRequestPolicyConfig
-- | An object that determines whether any cookies in viewer requests (and
-- if so, which cookies) are included in requests that CloudFront sends
-- to the origin.
--
-- See: newOriginRequestPolicyCookiesConfig smart
-- constructor.
data OriginRequestPolicyCookiesConfig
OriginRequestPolicyCookiesConfig' :: Maybe CookieNames -> OriginRequestPolicyCookieBehavior -> OriginRequestPolicyCookiesConfig
-- | Create a value of OriginRequestPolicyCookiesConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cookies:OriginRequestPolicyCookiesConfig',
-- originRequestPolicyCookiesConfig_cookies - Undocumented member.
--
-- $sel:cookieBehavior:OriginRequestPolicyCookiesConfig',
-- originRequestPolicyCookiesConfig_cookieBehavior - Determines
-- whether cookies in viewer requests are included in requests that
-- CloudFront sends to the origin. Valid values are:
--
--
-- - none – Cookies in viewer requests are not included in
-- requests that CloudFront sends to the origin. Even when this field is
-- set to none, any cookies that are listed in a
-- CachePolicy are included in origin requests.
-- - whitelist – The cookies in viewer requests that are
-- listed in the CookieNames type are included in requests that
-- CloudFront sends to the origin.
-- - all – All cookies in viewer requests are included in
-- requests that CloudFront sends to the origin.
--
newOriginRequestPolicyCookiesConfig :: OriginRequestPolicyCookieBehavior -> OriginRequestPolicyCookiesConfig
-- | An object that determines whether any HTTP headers (and if so, which
-- headers) are included in requests that CloudFront sends to the origin.
--
-- See: newOriginRequestPolicyHeadersConfig smart
-- constructor.
data OriginRequestPolicyHeadersConfig
OriginRequestPolicyHeadersConfig' :: Maybe Headers -> OriginRequestPolicyHeaderBehavior -> OriginRequestPolicyHeadersConfig
-- | Create a value of OriginRequestPolicyHeadersConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:headers:OriginRequestPolicyHeadersConfig',
-- originRequestPolicyHeadersConfig_headers - Undocumented member.
--
-- $sel:headerBehavior:OriginRequestPolicyHeadersConfig',
-- originRequestPolicyHeadersConfig_headerBehavior - Determines
-- whether any HTTP headers are included in requests that CloudFront
-- sends to the origin. Valid values are:
--
--
-- - none – HTTP headers are not included in requests that
-- CloudFront sends to the origin. Even when this field is set to
-- none, any headers that are listed in a CachePolicy
-- are included in origin requests.
-- - whitelist – The HTTP headers that are listed in the
-- Headers type are included in requests that CloudFront sends
-- to the origin.
-- - allViewer – All HTTP headers in viewer requests are
-- included in requests that CloudFront sends to the origin.
-- - allViewerAndWhitelistCloudFront – All HTTP headers in
-- viewer requests and the additional CloudFront headers that are listed
-- in the Headers type are included in requests that CloudFront
-- sends to the origin. The additional headers are added by
-- CloudFront.
--
newOriginRequestPolicyHeadersConfig :: OriginRequestPolicyHeaderBehavior -> OriginRequestPolicyHeadersConfig
-- | A list of origin request policies.
--
-- See: newOriginRequestPolicyList smart constructor.
data OriginRequestPolicyList
OriginRequestPolicyList' :: Maybe [OriginRequestPolicySummary] -> Maybe Text -> Int -> Int -> OriginRequestPolicyList
-- | Create a value of OriginRequestPolicyList with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:OriginRequestPolicyList',
-- originRequestPolicyList_items - Contains the origin request
-- policies in the list.
--
-- $sel:nextMarker:OriginRequestPolicyList',
-- originRequestPolicyList_nextMarker - If there are more items in
-- the list than are in this response, this element is present. It
-- contains the value that you should use in the Marker field of
-- a subsequent request to continue listing origin request policies where
-- you left off.
--
-- $sel:maxItems:OriginRequestPolicyList',
-- originRequestPolicyList_maxItems - The maximum number of origin
-- request policies requested.
--
-- $sel:quantity:OriginRequestPolicyList',
-- originRequestPolicyList_quantity - The total number of origin
-- request policies returned in the response.
newOriginRequestPolicyList :: Int -> Int -> OriginRequestPolicyList
-- | An object that determines whether any URL query strings in viewer
-- requests (and if so, which query strings) are included in requests
-- that CloudFront sends to the origin.
--
-- See: newOriginRequestPolicyQueryStringsConfig smart
-- constructor.
data OriginRequestPolicyQueryStringsConfig
OriginRequestPolicyQueryStringsConfig' :: Maybe QueryStringNames -> OriginRequestPolicyQueryStringBehavior -> OriginRequestPolicyQueryStringsConfig
-- | Create a value of OriginRequestPolicyQueryStringsConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:queryStrings:OriginRequestPolicyQueryStringsConfig',
-- originRequestPolicyQueryStringsConfig_queryStrings - Contains a
-- list of the query strings in viewer requests that are included in
-- requests that CloudFront sends to the origin.
--
--
-- $sel:queryStringBehavior:OriginRequestPolicyQueryStringsConfig',
-- originRequestPolicyQueryStringsConfig_queryStringBehavior -
-- Determines whether any URL query strings in viewer requests are
-- included in requests that CloudFront sends to the origin. Valid values
-- are:
--
--
-- - none – Query strings in viewer requests are not included
-- in requests that CloudFront sends to the origin. Even when this field
-- is set to none, any query strings that are listed in a
-- CachePolicy are included in origin requests.
-- - whitelist – The query strings in viewer requests that are
-- listed in the QueryStringNames type are included in requests
-- that CloudFront sends to the origin.
-- - all – All query strings in viewer requests are included
-- in requests that CloudFront sends to the origin.
--
newOriginRequestPolicyQueryStringsConfig :: OriginRequestPolicyQueryStringBehavior -> OriginRequestPolicyQueryStringsConfig
-- | Contains an origin request policy.
--
-- See: newOriginRequestPolicySummary smart constructor.
data OriginRequestPolicySummary
OriginRequestPolicySummary' :: OriginRequestPolicyType -> OriginRequestPolicy -> OriginRequestPolicySummary
-- | Create a value of OriginRequestPolicySummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':OriginRequestPolicySummary',
-- originRequestPolicySummary_type - The type of origin request
-- policy, either managed (created by Amazon Web Services) or
-- custom (created in this Amazon Web Services account).
--
-- $sel:originRequestPolicy:OriginRequestPolicySummary',
-- originRequestPolicySummary_originRequestPolicy - The origin
-- request policy.
newOriginRequestPolicySummary :: OriginRequestPolicyType -> OriginRequestPolicy -> OriginRequestPolicySummary
-- | CloudFront Origin Shield.
--
-- Using Origin Shield can help reduce the load on your origin. For more
-- information, see Using Origin Shield in the Amazon
-- CloudFront Developer Guide.
--
-- See: newOriginShield smart constructor.
data OriginShield
OriginShield' :: Maybe Text -> Bool -> OriginShield
-- | Create a value of OriginShield with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:originShieldRegion:OriginShield',
-- originShield_originShieldRegion - The Amazon Web Services
-- Region for Origin Shield.
--
-- Specify the Amazon Web Services Region that has the lowest latency to
-- your origin. To specify a region, use the region code, not the region
-- name. For example, specify the US East (Ohio) region as
-- us-east-2.
--
-- When you enable CloudFront Origin Shield, you must specify the Amazon
-- Web Services Region for Origin Shield. For the list of Amazon Web
-- Services Regions that you can specify, and for help choosing the best
-- Region for your origin, see Choosing the Amazon Web Services Region
-- for Origin Shield in the Amazon CloudFront Developer Guide.
--
-- $sel:enabled:OriginShield', originShield_enabled - A
-- flag that specifies whether Origin Shield is enabled.
--
-- When it's enabled, CloudFront routes all requests through Origin
-- Shield, which can help protect your origin. When it's disabled,
-- CloudFront might send requests directly to your origin from multiple
-- edge locations or regional edge caches.
newOriginShield :: Bool -> OriginShield
-- | A complex type that contains information about the SSL/TLS protocols
-- that CloudFront can use when establishing an HTTPS connection with
-- your origin.
--
-- See: newOriginSslProtocols smart constructor.
data OriginSslProtocols
OriginSslProtocols' :: Int -> [SslProtocol] -> OriginSslProtocols
-- | Create a value of OriginSslProtocols with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:OriginSslProtocols',
-- originSslProtocols_quantity - The number of SSL/TLS protocols
-- that you want to allow CloudFront to use when establishing an HTTPS
-- connection with this origin.
--
-- $sel:items:OriginSslProtocols', originSslProtocols_items
-- - A list that contains allowed SSL/TLS protocols for this
-- distribution.
newOriginSslProtocols :: Int -> OriginSslProtocols
-- | Contains information about the origins for this distribution.
--
-- See: newOrigins smart constructor.
data Origins
Origins' :: Int -> NonEmpty Origin -> Origins
-- | Create a value of Origins with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:Origins', origins_quantity - The number of
-- origins for this distribution.
--
-- $sel:items:Origins', origins_items - A list of origins.
newOrigins :: Int -> NonEmpty Origin -> Origins
-- | This object determines the values that CloudFront includes in the
-- cache key. These values can include HTTP headers, cookies, and URL
-- query strings. CloudFront uses the cache key to find an object in its
-- cache that it can return to the viewer.
--
-- The headers, cookies, and query strings that are included in the cache
-- key are automatically included in requests that CloudFront sends to
-- the origin. CloudFront sends a request when it can't find an object in
-- its cache that matches the request's cache key. If you want to send
-- values to the origin but not include them in the cache key, use
-- OriginRequestPolicy.
--
-- See: newParametersInCacheKeyAndForwardedToOrigin smart
-- constructor.
data ParametersInCacheKeyAndForwardedToOrigin
ParametersInCacheKeyAndForwardedToOrigin' :: Maybe Bool -> Bool -> CachePolicyHeadersConfig -> CachePolicyCookiesConfig -> CachePolicyQueryStringsConfig -> ParametersInCacheKeyAndForwardedToOrigin
-- | Create a value of ParametersInCacheKeyAndForwardedToOrigin with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:enableAcceptEncodingBrotli:ParametersInCacheKeyAndForwardedToOrigin',
-- parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingBrotli
-- - A flag that can affect whether the Accept-Encoding HTTP
-- header is included in the cache key and included in requests that
-- CloudFront sends to the origin.
--
-- This field is related to the EnableAcceptEncodingGzip field.
-- If one or both of these fields is true and the viewer
-- request includes the Accept-Encoding header, then CloudFront
-- does the following:
--
--
-- - Normalizes the value of the viewer's Accept-Encoding
-- header
-- - Includes the normalized header in the cache key
-- - Includes the normalized header in the request to the origin, if a
-- request is necessary
--
--
-- For more information, see Compression support in the Amazon
-- CloudFront Developer Guide.
--
-- If you set this value to true, and this cache behavior also
-- has an origin request policy attached, do not include the
-- Accept-Encoding header in the origin request policy.
-- CloudFront always includes the Accept-Encoding header in
-- origin requests when the value of this field is true, so
-- including this header in an origin request policy has no effect.
--
-- If both of these fields are false, then CloudFront treats the
-- Accept-Encoding header the same as any other HTTP header in
-- the viewer request. By default, it's not included in the cache key and
-- it's not included in origin requests. In this case, you can manually
-- add Accept-Encoding to the headers whitelist like any other
-- HTTP header.
--
--
-- $sel:enableAcceptEncodingGzip:ParametersInCacheKeyAndForwardedToOrigin',
-- parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingGzip
-- - A flag that can affect whether the Accept-Encoding HTTP
-- header is included in the cache key and included in requests that
-- CloudFront sends to the origin.
--
-- This field is related to the EnableAcceptEncodingBrotli
-- field. If one or both of these fields is true and the
-- viewer request includes the Accept-Encoding header, then
-- CloudFront does the following:
--
--
-- - Normalizes the value of the viewer's Accept-Encoding
-- header
-- - Includes the normalized header in the cache key
-- - Includes the normalized header in the request to the origin, if a
-- request is necessary
--
--
-- For more information, see Compression support in the Amazon
-- CloudFront Developer Guide.
--
-- If you set this value to true, and this cache behavior also
-- has an origin request policy attached, do not include the
-- Accept-Encoding header in the origin request policy.
-- CloudFront always includes the Accept-Encoding header in
-- origin requests when the value of this field is true, so
-- including this header in an origin request policy has no effect.
--
-- If both of these fields are false, then CloudFront treats the
-- Accept-Encoding header the same as any other HTTP header in
-- the viewer request. By default, it's not included in the cache key and
-- it's not included in origin requests. In this case, you can manually
-- add Accept-Encoding to the headers whitelist like any other
-- HTTP header.
--
-- $sel:headersConfig:ParametersInCacheKeyAndForwardedToOrigin',
-- parametersInCacheKeyAndForwardedToOrigin_headersConfig - An
-- object that determines whether any HTTP headers (and if so, which
-- headers) are included in the cache key and automatically included in
-- requests that CloudFront sends to the origin.
--
-- $sel:cookiesConfig:ParametersInCacheKeyAndForwardedToOrigin',
-- parametersInCacheKeyAndForwardedToOrigin_cookiesConfig - An
-- object that determines whether any cookies in viewer requests (and if
-- so, which cookies) are included in the cache key and automatically
-- included in requests that CloudFront sends to the origin.
--
--
-- $sel:queryStringsConfig:ParametersInCacheKeyAndForwardedToOrigin',
-- parametersInCacheKeyAndForwardedToOrigin_queryStringsConfig -
-- An object that determines whether any URL query strings in viewer
-- requests (and if so, which query strings) are included in the cache
-- key and automatically included in requests that CloudFront sends to
-- the origin.
newParametersInCacheKeyAndForwardedToOrigin :: Bool -> CachePolicyHeadersConfig -> CachePolicyCookiesConfig -> CachePolicyQueryStringsConfig -> ParametersInCacheKeyAndForwardedToOrigin
-- | A complex type that contains information about the objects that you
-- want to invalidate. For more information, see Specifying the
-- Objects to Invalidate in the Amazon CloudFront Developer
-- Guide.
--
-- See: newPaths smart constructor.
data Paths
Paths' :: Maybe [Text] -> Int -> Paths
-- | Create a value of Paths with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:Paths', paths_items - A complex type that
-- contains a list of the paths that you want to invalidate.
--
-- $sel:quantity:Paths', paths_quantity - The number of
-- invalidation paths specified for the objects that you want to
-- invalidate.
newPaths :: Int -> Paths
-- | A public key that you can use with signed URLs and signed
-- cookies, or with field-level encryption.
--
-- See: newPublicKey smart constructor.
data PublicKey
PublicKey' :: Text -> ISO8601 -> PublicKeyConfig -> PublicKey
-- | Create a value of PublicKey with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:PublicKey', publicKey_id - The identifier of the
-- public key.
--
-- $sel:createdTime:PublicKey', publicKey_createdTime - The
-- date and time when the public key was uploaded.
--
-- $sel:publicKeyConfig:PublicKey',
-- publicKey_publicKeyConfig - Configuration information about a
-- public key that you can use with signed URLs and signed
-- cookies, or with field-level encryption.
newPublicKey :: Text -> UTCTime -> PublicKeyConfig -> PublicKey
-- | Configuration information about a public key that you can use with
-- signed URLs and signed cookies, or with field-level
-- encryption.
--
-- See: newPublicKeyConfig smart constructor.
data PublicKeyConfig
PublicKeyConfig' :: Maybe Text -> Text -> Text -> Text -> PublicKeyConfig
-- | Create a value of PublicKeyConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:PublicKeyConfig', publicKeyConfig_comment -
-- A comment to describe the public key. The comment cannot be longer
-- than 128 characters.
--
-- $sel:callerReference:PublicKeyConfig',
-- publicKeyConfig_callerReference - A string included in the
-- request to help make sure that the request can't be replayed.
--
-- $sel:name:PublicKeyConfig', publicKeyConfig_name - A
-- name to help identify the public key.
--
-- $sel:encodedKey:PublicKeyConfig',
-- publicKeyConfig_encodedKey - The public key that you can use
-- with signed URLs and signed cookies, or with field-level
-- encryption.
newPublicKeyConfig :: Text -> Text -> Text -> PublicKeyConfig
-- | A list of public keys that you can use with signed URLs and signed
-- cookies, or with field-level encryption.
--
-- See: newPublicKeyList smart constructor.
data PublicKeyList
PublicKeyList' :: Maybe [PublicKeySummary] -> Maybe Text -> Int -> Int -> PublicKeyList
-- | Create a value of PublicKeyList with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:PublicKeyList', publicKeyList_items - A list
-- of public keys.
--
-- $sel:nextMarker:PublicKeyList', publicKeyList_nextMarker
-- - If there are more elements to be listed, this element is present and
-- contains the value that you can use for the Marker request
-- parameter to continue listing your public keys where you left off.
--
-- $sel:maxItems:PublicKeyList', publicKeyList_maxItems -
-- The maximum number of public keys you want in the response.
--
-- $sel:quantity:PublicKeyList', publicKeyList_quantity -
-- The number of public keys in the list.
newPublicKeyList :: Int -> Int -> PublicKeyList
-- | Contains information about a public key.
--
-- See: newPublicKeySummary smart constructor.
data PublicKeySummary
PublicKeySummary' :: Maybe Text -> Text -> Text -> ISO8601 -> Text -> PublicKeySummary
-- | Create a value of PublicKeySummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:PublicKeySummary', publicKeySummary_comment
-- - A comment to describe the public key. The comment cannot be longer
-- than 128 characters.
--
-- $sel:id:PublicKeySummary', publicKeySummary_id - The
-- identifier of the public key.
--
-- $sel:name:PublicKeySummary', publicKeySummary_name - A
-- name to help identify the public key.
--
-- $sel:createdTime:PublicKeySummary',
-- publicKeySummary_createdTime - The date and time when the
-- public key was uploaded.
--
-- $sel:encodedKey:PublicKeySummary',
-- publicKeySummary_encodedKey - The public key.
newPublicKeySummary :: Text -> Text -> UTCTime -> Text -> PublicKeySummary
-- | Query argument-profile mapping for field-level encryption.
--
-- See: newQueryArgProfile smart constructor.
data QueryArgProfile
QueryArgProfile' :: Text -> Text -> QueryArgProfile
-- | Create a value of QueryArgProfile with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:queryArg:QueryArgProfile', queryArgProfile_queryArg
-- - Query argument for field-level encryption query argument-profile
-- mapping.
--
-- $sel:profileId:QueryArgProfile',
-- queryArgProfile_profileId - ID of profile to use for
-- field-level encryption query argument-profile mapping
newQueryArgProfile :: Text -> Text -> QueryArgProfile
-- | Configuration for query argument-profile mapping for field-level
-- encryption.
--
-- See: newQueryArgProfileConfig smart constructor.
data QueryArgProfileConfig
QueryArgProfileConfig' :: Maybe QueryArgProfiles -> Bool -> QueryArgProfileConfig
-- | Create a value of QueryArgProfileConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:queryArgProfiles:QueryArgProfileConfig',
-- queryArgProfileConfig_queryArgProfiles - Profiles specified for
-- query argument-profile mapping for field-level encryption.
--
--
-- $sel:forwardWhenQueryArgProfileIsUnknown:QueryArgProfileConfig',
-- queryArgProfileConfig_forwardWhenQueryArgProfileIsUnknown -
-- Flag to set if you want a request to be forwarded to the origin even
-- if the profile specified by the field-level encryption query argument,
-- fle-profile, is unknown.
newQueryArgProfileConfig :: Bool -> QueryArgProfileConfig
-- | Query argument-profile mapping for field-level encryption.
--
-- See: newQueryArgProfiles smart constructor.
data QueryArgProfiles
QueryArgProfiles' :: Maybe [QueryArgProfile] -> Int -> QueryArgProfiles
-- | Create a value of QueryArgProfiles with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:QueryArgProfiles', queryArgProfiles_items -
-- Number of items for query argument-profile mapping for field-level
-- encryption.
--
-- $sel:quantity:QueryArgProfiles',
-- queryArgProfiles_quantity - Number of profiles for query
-- argument-profile mapping for field-level encryption.
newQueryArgProfiles :: Int -> QueryArgProfiles
-- | This field is deprecated. We recommend that you use a cache policy or
-- an origin request policy instead of this field.
--
-- If you want to include query strings in the cache key, use
-- QueryStringsConfig in a cache policy. See
-- CachePolicy.
--
-- If you want to send query strings to the origin but not include them
-- in the cache key, use QueryStringsConfig in an origin request
-- policy. See OriginRequestPolicy.
--
-- A complex type that contains information about the query string
-- parameters that you want CloudFront to use for caching for a cache
-- behavior.
--
-- See: newQueryStringCacheKeys smart constructor.
data QueryStringCacheKeys
QueryStringCacheKeys' :: Maybe [Text] -> Int -> QueryStringCacheKeys
-- | Create a value of QueryStringCacheKeys with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:QueryStringCacheKeys',
-- queryStringCacheKeys_items - A list that contains the query
-- string parameters that you want CloudFront to use as a basis for
-- caching for a cache behavior. If Quantity is 0, you can omit
-- Items.
--
-- $sel:quantity:QueryStringCacheKeys',
-- queryStringCacheKeys_quantity - The number of
-- whitelisted query string parameters for a cache behavior.
newQueryStringCacheKeys :: Int -> QueryStringCacheKeys
-- | Contains a list of query string names.
--
-- See: newQueryStringNames smart constructor.
data QueryStringNames
QueryStringNames' :: Maybe [Text] -> Int -> QueryStringNames
-- | Create a value of QueryStringNames with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:QueryStringNames', queryStringNames_items - A
-- list of query string names.
--
-- $sel:quantity:QueryStringNames',
-- queryStringNames_quantity - The number of query string names in
-- the Items list.
newQueryStringNames :: Int -> QueryStringNames
-- | A real-time log configuration.
--
-- See: newRealtimeLogConfig smart constructor.
data RealtimeLogConfig
RealtimeLogConfig' :: Text -> Text -> Integer -> [EndPoint] -> [Text] -> RealtimeLogConfig
-- | Create a value of RealtimeLogConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:RealtimeLogConfig', realtimeLogConfig_arn - The
-- Amazon Resource Name (ARN) of this real-time log configuration.
--
-- $sel:name:RealtimeLogConfig', realtimeLogConfig_name -
-- The unique name of this real-time log configuration.
--
-- $sel:samplingRate:RealtimeLogConfig',
-- realtimeLogConfig_samplingRate - The sampling rate for this
-- real-time log configuration. The sampling rate determines the
-- percentage of viewer requests that are represented in the real-time
-- log data. The sampling rate is an integer between 1 and 100,
-- inclusive.
--
-- $sel:endPoints:RealtimeLogConfig',
-- realtimeLogConfig_endPoints - Contains information about the
-- Amazon Kinesis data stream where you are sending real-time log data
-- for this real-time log configuration.
--
-- $sel:fields:RealtimeLogConfig', realtimeLogConfig_fields
-- - A list of fields that are included in each real-time log record. In
-- an API response, the fields are provided in the same order in which
-- they are sent to the Amazon Kinesis data stream.
--
-- For more information about fields, see Real-time log configuration
-- fields in the Amazon CloudFront Developer Guide.
newRealtimeLogConfig :: Text -> Text -> Integer -> RealtimeLogConfig
-- | A list of real-time log configurations.
--
-- See: newRealtimeLogConfigs smart constructor.
data RealtimeLogConfigs
RealtimeLogConfigs' :: Maybe [RealtimeLogConfig] -> Maybe Text -> Int -> Bool -> Text -> RealtimeLogConfigs
-- | Create a value of RealtimeLogConfigs with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:RealtimeLogConfigs', realtimeLogConfigs_items
-- - Contains the list of real-time log configurations.
--
-- $sel:nextMarker:RealtimeLogConfigs',
-- realtimeLogConfigs_nextMarker - If there are more items in the
-- list than are in this response, this element is present. It contains
-- the value that you should use in the Marker field of a
-- subsequent request to continue listing real-time log configurations
-- where you left off.
--
-- $sel:maxItems:RealtimeLogConfigs',
-- realtimeLogConfigs_maxItems - The maximum number of real-time
-- log configurations requested.
--
-- $sel:isTruncated:RealtimeLogConfigs',
-- realtimeLogConfigs_isTruncated - A flag that indicates whether
-- there are more real-time log configurations than are contained in this
-- list.
--
-- $sel:marker:RealtimeLogConfigs',
-- realtimeLogConfigs_marker - This parameter indicates where this
-- list of real-time log configurations begins. This list includes
-- real-time log configurations that occur after the marker.
newRealtimeLogConfigs :: Int -> Bool -> Text -> RealtimeLogConfigs
-- | A subscription configuration for additional CloudWatch metrics.
--
-- See: newRealtimeMetricsSubscriptionConfig smart
-- constructor.
data RealtimeMetricsSubscriptionConfig
RealtimeMetricsSubscriptionConfig' :: RealtimeMetricsSubscriptionStatus -> RealtimeMetricsSubscriptionConfig
-- | Create a value of RealtimeMetricsSubscriptionConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:realtimeMetricsSubscriptionStatus:RealtimeMetricsSubscriptionConfig',
-- realtimeMetricsSubscriptionConfig_realtimeMetricsSubscriptionStatus
-- - A flag that indicates whether additional CloudWatch metrics are
-- enabled for a given CloudFront distribution.
newRealtimeMetricsSubscriptionConfig :: RealtimeMetricsSubscriptionStatus -> RealtimeMetricsSubscriptionConfig
-- | A response headers policy.
--
-- A response headers policy contains information about a set of HTTP
-- response headers.
--
-- After you create a response headers policy, you can use its ID to
-- attach it to one or more cache behaviors in a CloudFront distribution.
-- When it's attached to a cache behavior, the response headers policy
-- affects the HTTP headers that CloudFront includes in HTTP responses to
-- requests that match the cache behavior. CloudFront adds or removes
-- response headers according to the configuration of the response
-- headers policy.
--
-- For more information, see Adding or removing HTTP headers in
-- CloudFront responses in the Amazon CloudFront Developer
-- Guide.
--
-- See: newResponseHeadersPolicy smart constructor.
data ResponseHeadersPolicy
ResponseHeadersPolicy' :: Text -> ISO8601 -> ResponseHeadersPolicyConfig -> ResponseHeadersPolicy
-- | Create a value of ResponseHeadersPolicy with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:ResponseHeadersPolicy', responseHeadersPolicy_id
-- - The identifier for the response headers policy.
--
-- $sel:lastModifiedTime:ResponseHeadersPolicy',
-- responseHeadersPolicy_lastModifiedTime - The date and time when
-- the response headers policy was last modified.
--
-- $sel:responseHeadersPolicyConfig:ResponseHeadersPolicy',
-- responseHeadersPolicy_responseHeadersPolicyConfig - A response
-- headers policy configuration.
newResponseHeadersPolicy :: Text -> UTCTime -> ResponseHeadersPolicyConfig -> ResponseHeadersPolicy
-- | A list of HTTP header names that CloudFront includes as values for the
-- Access-Control-Allow-Headers HTTP response header.
--
-- For more information about the Access-Control-Allow-Headers
-- HTTP response header, see Access-Control-Allow-Headers in the
-- MDN Web Docs.
--
-- See: newResponseHeadersPolicyAccessControlAllowHeaders
-- smart constructor.
data ResponseHeadersPolicyAccessControlAllowHeaders
ResponseHeadersPolicyAccessControlAllowHeaders' :: Int -> [Text] -> ResponseHeadersPolicyAccessControlAllowHeaders
-- | Create a value of
-- ResponseHeadersPolicyAccessControlAllowHeaders with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:ResponseHeadersPolicyAccessControlAllowHeaders',
-- responseHeadersPolicyAccessControlAllowHeaders_quantity - The
-- number of HTTP header names in the list.
--
-- $sel:items:ResponseHeadersPolicyAccessControlAllowHeaders',
-- responseHeadersPolicyAccessControlAllowHeaders_items - The list
-- of HTTP header names. You can specify * to allow all headers.
newResponseHeadersPolicyAccessControlAllowHeaders :: Int -> ResponseHeadersPolicyAccessControlAllowHeaders
-- | A list of HTTP methods that CloudFront includes as values for the
-- Access-Control-Allow-Methods HTTP response header.
--
-- For more information about the Access-Control-Allow-Methods
-- HTTP response header, see Access-Control-Allow-Methods in the
-- MDN Web Docs.
--
-- See: newResponseHeadersPolicyAccessControlAllowMethods
-- smart constructor.
data ResponseHeadersPolicyAccessControlAllowMethods
ResponseHeadersPolicyAccessControlAllowMethods' :: Int -> [ResponseHeadersPolicyAccessControlAllowMethodsValues] -> ResponseHeadersPolicyAccessControlAllowMethods
-- | Create a value of
-- ResponseHeadersPolicyAccessControlAllowMethods with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:ResponseHeadersPolicyAccessControlAllowMethods',
-- responseHeadersPolicyAccessControlAllowMethods_quantity - The
-- number of HTTP methods in the list.
--
-- $sel:items:ResponseHeadersPolicyAccessControlAllowMethods',
-- responseHeadersPolicyAccessControlAllowMethods_items - The list
-- of HTTP methods. Valid values are:
--
--
-- GET
-- DELETE
-- HEAD
-- OPTIONS
-- PATCH
-- POST
-- PUT
-- ALL
--
--
-- ALL is a special value that includes all of the listed HTTP
-- methods.
newResponseHeadersPolicyAccessControlAllowMethods :: Int -> ResponseHeadersPolicyAccessControlAllowMethods
-- | A list of origins (domain names) that CloudFront can use as the value
-- for the Access-Control-Allow-Origin HTTP response header.
--
-- For more information about the Access-Control-Allow-Origin
-- HTTP response header, see Access-Control-Allow-Origin in the
-- MDN Web Docs.
--
-- See: newResponseHeadersPolicyAccessControlAllowOrigins
-- smart constructor.
data ResponseHeadersPolicyAccessControlAllowOrigins
ResponseHeadersPolicyAccessControlAllowOrigins' :: Int -> [Text] -> ResponseHeadersPolicyAccessControlAllowOrigins
-- | Create a value of
-- ResponseHeadersPolicyAccessControlAllowOrigins with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:ResponseHeadersPolicyAccessControlAllowOrigins',
-- responseHeadersPolicyAccessControlAllowOrigins_quantity - The
-- number of origins in the list.
--
-- $sel:items:ResponseHeadersPolicyAccessControlAllowOrigins',
-- responseHeadersPolicyAccessControlAllowOrigins_items - The list
-- of origins (domain names). You can specify * to allow all
-- origins.
newResponseHeadersPolicyAccessControlAllowOrigins :: Int -> ResponseHeadersPolicyAccessControlAllowOrigins
-- | A list of HTTP headers that CloudFront includes as values for the
-- Access-Control-Expose-Headers HTTP response header.
--
-- For more information about the Access-Control-Expose-Headers
-- HTTP response header, see Access-Control-Expose-Headers in the
-- MDN Web Docs.
--
-- See: newResponseHeadersPolicyAccessControlExposeHeaders
-- smart constructor.
data ResponseHeadersPolicyAccessControlExposeHeaders
ResponseHeadersPolicyAccessControlExposeHeaders' :: Maybe [Text] -> Int -> ResponseHeadersPolicyAccessControlExposeHeaders
-- | Create a value of
-- ResponseHeadersPolicyAccessControlExposeHeaders with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ResponseHeadersPolicyAccessControlExposeHeaders',
-- responseHeadersPolicyAccessControlExposeHeaders_items - The
-- list of HTTP headers. You can specify * to expose all
-- headers.
--
-- $sel:quantity:ResponseHeadersPolicyAccessControlExposeHeaders',
-- responseHeadersPolicyAccessControlExposeHeaders_quantity - The
-- number of HTTP headers in the list.
newResponseHeadersPolicyAccessControlExposeHeaders :: Int -> ResponseHeadersPolicyAccessControlExposeHeaders
-- | A response headers policy configuration.
--
-- A response headers policy configuration contains metadata about the
-- response headers policy, and configurations for sets of HTTP response
-- headers.
--
-- See: newResponseHeadersPolicyConfig smart constructor.
data ResponseHeadersPolicyConfig
ResponseHeadersPolicyConfig' :: Maybe Text -> Maybe ResponseHeadersPolicyCorsConfig -> Maybe ResponseHeadersPolicyCustomHeadersConfig -> Maybe ResponseHeadersPolicyRemoveHeadersConfig -> Maybe ResponseHeadersPolicySecurityHeadersConfig -> Maybe ResponseHeadersPolicyServerTimingHeadersConfig -> Text -> ResponseHeadersPolicyConfig
-- | Create a value of ResponseHeadersPolicyConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:comment:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_comment - A comment to describe the
-- response headers policy.
--
-- The comment cannot be longer than 128 characters.
--
-- $sel:corsConfig:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_corsConfig - A configuration for a
-- set of HTTP response headers that are used for cross-origin resource
-- sharing (CORS).
--
-- $sel:customHeadersConfig:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_customHeadersConfig - A
-- configuration for a set of custom HTTP response headers.
--
-- $sel:removeHeadersConfig:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_removeHeadersConfig - A
-- configuration for a set of HTTP headers to remove from the HTTP
-- response.
--
-- $sel:securityHeadersConfig:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_securityHeadersConfig - A
-- configuration for a set of security-related HTTP response headers.
--
-- $sel:serverTimingHeadersConfig:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_serverTimingHeadersConfig - A
-- configuration for enabling the Server-Timing header in HTTP
-- responses sent from CloudFront.
--
-- $sel:name:ResponseHeadersPolicyConfig',
-- responseHeadersPolicyConfig_name - A name to identify the
-- response headers policy.
--
-- The name must be unique for response headers policies in this Amazon
-- Web Services account.
newResponseHeadersPolicyConfig :: Text -> ResponseHeadersPolicyConfig
-- | The policy directives and their values that CloudFront includes as
-- values for the Content-Security-Policy HTTP response header.
--
-- For more information about the Content-Security-Policy HTTP
-- response header, see Content-Security-Policy in the MDN Web
-- Docs.
--
-- See: newResponseHeadersPolicyContentSecurityPolicy smart
-- constructor.
data ResponseHeadersPolicyContentSecurityPolicy
ResponseHeadersPolicyContentSecurityPolicy' :: Bool -> Text -> ResponseHeadersPolicyContentSecurityPolicy
-- | Create a value of ResponseHeadersPolicyContentSecurityPolicy
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:override:ResponseHeadersPolicyContentSecurityPolicy',
-- responseHeadersPolicyContentSecurityPolicy_override - A Boolean
-- that determines whether CloudFront overrides the
-- Content-Security-Policy HTTP response header received from
-- the origin with the one specified in this response headers policy.
--
--
-- $sel:contentSecurityPolicy:ResponseHeadersPolicyContentSecurityPolicy',
-- responseHeadersPolicyContentSecurityPolicy_contentSecurityPolicy
-- - The policy directives and their values that CloudFront includes as
-- values for the Content-Security-Policy HTTP response header.
newResponseHeadersPolicyContentSecurityPolicy :: Bool -> Text -> ResponseHeadersPolicyContentSecurityPolicy
-- | Determines whether CloudFront includes the
-- X-Content-Type-Options HTTP response header with its value
-- set to nosniff.
--
-- For more information about the X-Content-Type-Options HTTP
-- response header, see X-Content-Type-Options in the MDN Web
-- Docs.
--
-- See: newResponseHeadersPolicyContentTypeOptions smart
-- constructor.
data ResponseHeadersPolicyContentTypeOptions
ResponseHeadersPolicyContentTypeOptions' :: Bool -> ResponseHeadersPolicyContentTypeOptions
-- | Create a value of ResponseHeadersPolicyContentTypeOptions with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:override:ResponseHeadersPolicyContentTypeOptions',
-- responseHeadersPolicyContentTypeOptions_override - A Boolean
-- that determines whether CloudFront overrides the
-- X-Content-Type-Options HTTP response header received from the
-- origin with the one specified in this response headers policy.
newResponseHeadersPolicyContentTypeOptions :: Bool -> ResponseHeadersPolicyContentTypeOptions
-- | A configuration for a set of HTTP response headers that are used for
-- cross-origin resource sharing (CORS). CloudFront adds these headers to
-- HTTP responses that it sends for CORS requests that match a cache
-- behavior associated with this response headers policy.
--
-- For more information about CORS, see Cross-Origin Resource Sharing
-- (CORS) in the MDN Web Docs.
--
-- See: newResponseHeadersPolicyCorsConfig smart
-- constructor.
data ResponseHeadersPolicyCorsConfig
ResponseHeadersPolicyCorsConfig' :: Maybe ResponseHeadersPolicyAccessControlExposeHeaders -> Maybe Int -> ResponseHeadersPolicyAccessControlAllowOrigins -> ResponseHeadersPolicyAccessControlAllowHeaders -> ResponseHeadersPolicyAccessControlAllowMethods -> Bool -> Bool -> ResponseHeadersPolicyCorsConfig
-- | Create a value of ResponseHeadersPolicyCorsConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:accessControlExposeHeaders:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_accessControlExposeHeaders - A
-- list of HTTP headers that CloudFront includes as values for the
-- Access-Control-Expose-Headers HTTP response header.
--
-- For more information about the Access-Control-Expose-Headers
-- HTTP response header, see Access-Control-Expose-Headers in the
-- MDN Web Docs.
--
-- $sel:accessControlMaxAgeSec:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_accessControlMaxAgeSec - A
-- number that CloudFront uses as the value for the
-- Access-Control-Max-Age HTTP response header.
--
-- For more information about the Access-Control-Max-Age HTTP
-- response header, see Access-Control-Max-Age in the MDN Web
-- Docs.
--
--
-- $sel:accessControlAllowOrigins:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_accessControlAllowOrigins - A
-- list of origins (domain names) that CloudFront can use as the value
-- for the Access-Control-Allow-Origin HTTP response header.
--
-- For more information about the Access-Control-Allow-Origin
-- HTTP response header, see Access-Control-Allow-Origin in the
-- MDN Web Docs.
--
--
-- $sel:accessControlAllowHeaders:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_accessControlAllowHeaders - A
-- list of HTTP header names that CloudFront includes as values for the
-- Access-Control-Allow-Headers HTTP response header.
--
-- For more information about the Access-Control-Allow-Headers
-- HTTP response header, see Access-Control-Allow-Headers in the
-- MDN Web Docs.
--
--
-- $sel:accessControlAllowMethods:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_accessControlAllowMethods - A
-- list of HTTP methods that CloudFront includes as values for the
-- Access-Control-Allow-Methods HTTP response header.
--
-- For more information about the Access-Control-Allow-Methods
-- HTTP response header, see Access-Control-Allow-Methods in the
-- MDN Web Docs.
--
--
-- $sel:accessControlAllowCredentials:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_accessControlAllowCredentials -
-- A Boolean that CloudFront uses as the value for the
-- Access-Control-Allow-Credentials HTTP response header.
--
-- For more information about the
-- Access-Control-Allow-Credentials HTTP response header, see
-- Access-Control-Allow-Credentials in the MDN Web Docs.
--
-- $sel:originOverride:ResponseHeadersPolicyCorsConfig',
-- responseHeadersPolicyCorsConfig_originOverride - A Boolean that
-- determines whether CloudFront overrides HTTP response headers received
-- from the origin with the ones specified in this response headers
-- policy.
newResponseHeadersPolicyCorsConfig :: ResponseHeadersPolicyAccessControlAllowOrigins -> ResponseHeadersPolicyAccessControlAllowHeaders -> ResponseHeadersPolicyAccessControlAllowMethods -> Bool -> Bool -> ResponseHeadersPolicyCorsConfig
-- | An HTTP response header name and its value. CloudFront includes this
-- header in HTTP responses that it sends for requests that match a cache
-- behavior that's associated with this response headers policy.
--
-- See: newResponseHeadersPolicyCustomHeader smart
-- constructor.
data ResponseHeadersPolicyCustomHeader
ResponseHeadersPolicyCustomHeader' :: Text -> Text -> Bool -> ResponseHeadersPolicyCustomHeader
-- | Create a value of ResponseHeadersPolicyCustomHeader with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:header:ResponseHeadersPolicyCustomHeader',
-- responseHeadersPolicyCustomHeader_header - The HTTP response
-- header name.
--
-- $sel:value:ResponseHeadersPolicyCustomHeader',
-- responseHeadersPolicyCustomHeader_value - The value for the
-- HTTP response header.
--
-- $sel:override:ResponseHeadersPolicyCustomHeader',
-- responseHeadersPolicyCustomHeader_override - A Boolean that
-- determines whether CloudFront overrides a response header with the
-- same name received from the origin with the header specified here.
newResponseHeadersPolicyCustomHeader :: Text -> Text -> Bool -> ResponseHeadersPolicyCustomHeader
-- | A list of HTTP response header names and their values. CloudFront
-- includes these headers in HTTP responses that it sends for requests
-- that match a cache behavior that's associated with this response
-- headers policy.
--
-- See: newResponseHeadersPolicyCustomHeadersConfig smart
-- constructor.
data ResponseHeadersPolicyCustomHeadersConfig
ResponseHeadersPolicyCustomHeadersConfig' :: Maybe [ResponseHeadersPolicyCustomHeader] -> Int -> ResponseHeadersPolicyCustomHeadersConfig
-- | Create a value of ResponseHeadersPolicyCustomHeadersConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ResponseHeadersPolicyCustomHeadersConfig',
-- responseHeadersPolicyCustomHeadersConfig_items - The list of
-- HTTP response headers and their values.
--
-- $sel:quantity:ResponseHeadersPolicyCustomHeadersConfig',
-- responseHeadersPolicyCustomHeadersConfig_quantity - The number
-- of HTTP response headers in the list.
newResponseHeadersPolicyCustomHeadersConfig :: Int -> ResponseHeadersPolicyCustomHeadersConfig
-- | Determines whether CloudFront includes the X-Frame-Options
-- HTTP response header and the header's value.
--
-- For more information about the X-Frame-Options HTTP response
-- header, see X-Frame-Options in the MDN Web Docs.
--
-- See: newResponseHeadersPolicyFrameOptions smart
-- constructor.
data ResponseHeadersPolicyFrameOptions
ResponseHeadersPolicyFrameOptions' :: Bool -> FrameOptionsList -> ResponseHeadersPolicyFrameOptions
-- | Create a value of ResponseHeadersPolicyFrameOptions with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:override:ResponseHeadersPolicyFrameOptions',
-- responseHeadersPolicyFrameOptions_override - A Boolean that
-- determines whether CloudFront overrides the X-Frame-Options
-- HTTP response header received from the origin with the one specified
-- in this response headers policy.
--
-- $sel:frameOption:ResponseHeadersPolicyFrameOptions',
-- responseHeadersPolicyFrameOptions_frameOption - The value of
-- the X-Frame-Options HTTP response header. Valid values are
-- DENY and SAMEORIGIN.
--
-- For more information about these values, see X-Frame-Options in
-- the MDN Web Docs.
newResponseHeadersPolicyFrameOptions :: Bool -> FrameOptionsList -> ResponseHeadersPolicyFrameOptions
-- | A list of response headers policies.
--
-- See: newResponseHeadersPolicyList smart constructor.
data ResponseHeadersPolicyList
ResponseHeadersPolicyList' :: Maybe [ResponseHeadersPolicySummary] -> Maybe Text -> Int -> Int -> ResponseHeadersPolicyList
-- | Create a value of ResponseHeadersPolicyList with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ResponseHeadersPolicyList',
-- responseHeadersPolicyList_items - The response headers policies
-- in the list.
--
-- $sel:nextMarker:ResponseHeadersPolicyList',
-- responseHeadersPolicyList_nextMarker - If there are more items
-- in the list than are in this response, this element is present. It
-- contains the value that you should use in the Marker field of
-- a subsequent request to continue listing response headers policies
-- where you left off.
--
-- $sel:maxItems:ResponseHeadersPolicyList',
-- responseHeadersPolicyList_maxItems - The maximum number of
-- response headers policies requested.
--
-- $sel:quantity:ResponseHeadersPolicyList',
-- responseHeadersPolicyList_quantity - The number of response
-- headers policies returned.
newResponseHeadersPolicyList :: Int -> Int -> ResponseHeadersPolicyList
-- | Determines whether CloudFront includes the Referrer-Policy
-- HTTP response header and the header's value.
--
-- For more information about the Referrer-Policy HTTP response
-- header, see Referrer-Policy in the MDN Web Docs.
--
-- See: newResponseHeadersPolicyReferrerPolicy smart
-- constructor.
data ResponseHeadersPolicyReferrerPolicy
ResponseHeadersPolicyReferrerPolicy' :: Bool -> ReferrerPolicyList -> ResponseHeadersPolicyReferrerPolicy
-- | Create a value of ResponseHeadersPolicyReferrerPolicy with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:override:ResponseHeadersPolicyReferrerPolicy',
-- responseHeadersPolicyReferrerPolicy_override - A Boolean that
-- determines whether CloudFront overrides the Referrer-Policy
-- HTTP response header received from the origin with the one specified
-- in this response headers policy.
--
-- $sel:referrerPolicy:ResponseHeadersPolicyReferrerPolicy',
-- responseHeadersPolicyReferrerPolicy_referrerPolicy - The value
-- of the Referrer-Policy HTTP response header. Valid values
-- are:
--
--
--
-- For more information about these values, see Referrer-Policy in
-- the MDN Web Docs.
newResponseHeadersPolicyReferrerPolicy :: Bool -> ReferrerPolicyList -> ResponseHeadersPolicyReferrerPolicy
-- | The name of an HTTP header that CloudFront removes from HTTP responses
-- to requests that match the cache behavior that this response headers
-- policy is attached to.
--
-- See: newResponseHeadersPolicyRemoveHeader smart
-- constructor.
data ResponseHeadersPolicyRemoveHeader
ResponseHeadersPolicyRemoveHeader' :: Text -> ResponseHeadersPolicyRemoveHeader
-- | Create a value of ResponseHeadersPolicyRemoveHeader with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:header:ResponseHeadersPolicyRemoveHeader',
-- responseHeadersPolicyRemoveHeader_header - The HTTP header
-- name.
newResponseHeadersPolicyRemoveHeader :: Text -> ResponseHeadersPolicyRemoveHeader
-- | A list of HTTP header names that CloudFront removes from HTTP
-- responses to requests that match the cache behavior that this response
-- headers policy is attached to.
--
-- See: newResponseHeadersPolicyRemoveHeadersConfig smart
-- constructor.
data ResponseHeadersPolicyRemoveHeadersConfig
ResponseHeadersPolicyRemoveHeadersConfig' :: Maybe [ResponseHeadersPolicyRemoveHeader] -> Int -> ResponseHeadersPolicyRemoveHeadersConfig
-- | Create a value of ResponseHeadersPolicyRemoveHeadersConfig with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:ResponseHeadersPolicyRemoveHeadersConfig',
-- responseHeadersPolicyRemoveHeadersConfig_items - The list of
-- HTTP header names.
--
-- $sel:quantity:ResponseHeadersPolicyRemoveHeadersConfig',
-- responseHeadersPolicyRemoveHeadersConfig_quantity - The number
-- of HTTP header names in the list.
newResponseHeadersPolicyRemoveHeadersConfig :: Int -> ResponseHeadersPolicyRemoveHeadersConfig
-- | A configuration for a set of security-related HTTP response headers.
-- CloudFront adds these headers to HTTP responses that it sends for
-- requests that match a cache behavior associated with this response
-- headers policy.
--
-- See: newResponseHeadersPolicySecurityHeadersConfig smart
-- constructor.
data ResponseHeadersPolicySecurityHeadersConfig
ResponseHeadersPolicySecurityHeadersConfig' :: Maybe ResponseHeadersPolicyContentSecurityPolicy -> Maybe ResponseHeadersPolicyContentTypeOptions -> Maybe ResponseHeadersPolicyFrameOptions -> Maybe ResponseHeadersPolicyReferrerPolicy -> Maybe ResponseHeadersPolicyStrictTransportSecurity -> Maybe ResponseHeadersPolicyXSSProtection -> ResponseHeadersPolicySecurityHeadersConfig
-- | Create a value of ResponseHeadersPolicySecurityHeadersConfig
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ResponseHeadersPolicySecurityHeadersConfig,
-- responseHeadersPolicySecurityHeadersConfig_contentSecurityPolicy
-- - The policy directives and their values that CloudFront includes as
-- values for the Content-Security-Policy HTTP response header.
--
-- For more information about the Content-Security-Policy HTTP
-- response header, see Content-Security-Policy in the MDN Web
-- Docs.
--
--
-- $sel:contentTypeOptions:ResponseHeadersPolicySecurityHeadersConfig',
-- responseHeadersPolicySecurityHeadersConfig_contentTypeOptions -
-- Determines whether CloudFront includes the
-- X-Content-Type-Options HTTP response header with its value
-- set to nosniff.
--
-- For more information about the X-Content-Type-Options HTTP
-- response header, see X-Content-Type-Options in the MDN Web
-- Docs.
--
-- $sel:frameOptions:ResponseHeadersPolicySecurityHeadersConfig',
-- responseHeadersPolicySecurityHeadersConfig_frameOptions -
-- Determines whether CloudFront includes the X-Frame-Options
-- HTTP response header and the header's value.
--
-- For more information about the X-Frame-Options HTTP response
-- header, see X-Frame-Options in the MDN Web Docs.
--
-- ResponseHeadersPolicySecurityHeadersConfig,
-- responseHeadersPolicySecurityHeadersConfig_referrerPolicy -
-- Determines whether CloudFront includes the Referrer-Policy
-- HTTP response header and the header's value.
--
-- For more information about the Referrer-Policy HTTP response
-- header, see Referrer-Policy in the MDN Web Docs.
--
--
-- $sel:strictTransportSecurity:ResponseHeadersPolicySecurityHeadersConfig',
-- responseHeadersPolicySecurityHeadersConfig_strictTransportSecurity
-- - Determines whether CloudFront includes the
-- Strict-Transport-Security HTTP response header and the
-- header's value.
--
-- For more information about the Strict-Transport-Security HTTP
-- response header, see Strict-Transport-Security in the MDN Web
-- Docs.
--
-- $sel:xSSProtection:ResponseHeadersPolicySecurityHeadersConfig',
-- responseHeadersPolicySecurityHeadersConfig_xSSProtection -
-- Determines whether CloudFront includes the X-XSS-Protection
-- HTTP response header and the header's value.
--
-- For more information about the X-XSS-Protection HTTP response
-- header, see X-XSS-Protection in the MDN Web Docs.
newResponseHeadersPolicySecurityHeadersConfig :: ResponseHeadersPolicySecurityHeadersConfig
-- | A configuration for enabling the Server-Timing header in HTTP
-- responses sent from CloudFront. CloudFront adds this header to HTTP
-- responses that it sends in response to requests that match a cache
-- behavior that's associated with this response headers policy.
--
-- You can use the Server-Timing header to view metrics that can
-- help you gain insights about the behavior and performance of
-- CloudFront. For example, you can see which cache layer served a cache
-- hit, or the first byte latency from the origin when there was a cache
-- miss. You can use the metrics in the Server-Timing header to
-- troubleshoot issues or test the efficiency of your CloudFront
-- configuration. For more information, see Server-Timing header
-- in the Amazon CloudFront Developer Guide.
--
-- See: newResponseHeadersPolicyServerTimingHeadersConfig
-- smart constructor.
data ResponseHeadersPolicyServerTimingHeadersConfig
ResponseHeadersPolicyServerTimingHeadersConfig' :: Maybe Double -> Bool -> ResponseHeadersPolicyServerTimingHeadersConfig
-- | Create a value of
-- ResponseHeadersPolicyServerTimingHeadersConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:samplingRate:ResponseHeadersPolicyServerTimingHeadersConfig',
-- responseHeadersPolicyServerTimingHeadersConfig_samplingRate - A
-- number 0–100 (inclusive) that specifies the percentage of responses
-- that you want CloudFront to add the Server-Timing header to.
-- When you set the sampling rate to 100, CloudFront adds the
-- Server-Timing header to the HTTP response for every request
-- that matches the cache behavior that this response headers policy is
-- attached to. When you set it to 50, CloudFront adds the header to 50%
-- of the responses for requests that match the cache behavior. You can
-- set the sampling rate to any number 0–100 with up to four decimal
-- places.
--
-- $sel:enabled:ResponseHeadersPolicyServerTimingHeadersConfig',
-- responseHeadersPolicyServerTimingHeadersConfig_enabled - A
-- Boolean that determines whether CloudFront adds the
-- Server-Timing header to HTTP responses that it sends in
-- response to requests that match a cache behavior that's associated
-- with this response headers policy.
newResponseHeadersPolicyServerTimingHeadersConfig :: Bool -> ResponseHeadersPolicyServerTimingHeadersConfig
-- | Determines whether CloudFront includes the
-- Strict-Transport-Security HTTP response header and the
-- header's value.
--
-- For more information about the Strict-Transport-Security HTTP
-- response header, see Strict-Transport-Security in the MDN Web
-- Docs.
--
-- See: newResponseHeadersPolicyStrictTransportSecurity
-- smart constructor.
data ResponseHeadersPolicyStrictTransportSecurity
ResponseHeadersPolicyStrictTransportSecurity' :: Maybe Bool -> Maybe Bool -> Bool -> Int -> ResponseHeadersPolicyStrictTransportSecurity
-- | Create a value of ResponseHeadersPolicyStrictTransportSecurity
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:includeSubdomains:ResponseHeadersPolicyStrictTransportSecurity',
-- responseHeadersPolicyStrictTransportSecurity_includeSubdomains
-- - A Boolean that determines whether CloudFront includes the
-- includeSubDomains directive in the
-- Strict-Transport-Security HTTP response header.
--
-- $sel:preload:ResponseHeadersPolicyStrictTransportSecurity',
-- responseHeadersPolicyStrictTransportSecurity_preload - A
-- Boolean that determines whether CloudFront includes the
-- preload directive in the Strict-Transport-Security
-- HTTP response header.
--
-- $sel:override:ResponseHeadersPolicyStrictTransportSecurity',
-- responseHeadersPolicyStrictTransportSecurity_override - A
-- Boolean that determines whether CloudFront overrides the
-- Strict-Transport-Security HTTP response header received from
-- the origin with the one specified in this response headers policy.
--
--
-- $sel:accessControlMaxAgeSec:ResponseHeadersPolicyStrictTransportSecurity',
-- responseHeadersPolicyStrictTransportSecurity_accessControlMaxAgeSec
-- - A number that CloudFront uses as the value for the max-age
-- directive in the Strict-Transport-Security HTTP response
-- header.
newResponseHeadersPolicyStrictTransportSecurity :: Bool -> Int -> ResponseHeadersPolicyStrictTransportSecurity
-- | Contains a response headers policy.
--
-- See: newResponseHeadersPolicySummary smart constructor.
data ResponseHeadersPolicySummary
ResponseHeadersPolicySummary' :: ResponseHeadersPolicyType -> ResponseHeadersPolicy -> ResponseHeadersPolicySummary
-- | Create a value of ResponseHeadersPolicySummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':ResponseHeadersPolicySummary',
-- responseHeadersPolicySummary_type - The type of response
-- headers policy, either managed (created by Amazon Web
-- Services) or custom (created in this Amazon Web Services
-- account).
--
-- $sel:responseHeadersPolicy:ResponseHeadersPolicySummary',
-- responseHeadersPolicySummary_responseHeadersPolicy - The
-- response headers policy.
newResponseHeadersPolicySummary :: ResponseHeadersPolicyType -> ResponseHeadersPolicy -> ResponseHeadersPolicySummary
-- | Determines whether CloudFront includes the X-XSS-Protection
-- HTTP response header and the header's value.
--
-- For more information about the X-XSS-Protection HTTP response
-- header, see X-XSS-Protection in the MDN Web Docs.
--
-- See: newResponseHeadersPolicyXSSProtection smart
-- constructor.
data ResponseHeadersPolicyXSSProtection
ResponseHeadersPolicyXSSProtection' :: Maybe Bool -> Maybe Text -> Bool -> Bool -> ResponseHeadersPolicyXSSProtection
-- | Create a value of ResponseHeadersPolicyXSSProtection with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:modeBlock:ResponseHeadersPolicyXSSProtection',
-- responseHeadersPolicyXSSProtection_modeBlock - A Boolean that
-- determines whether CloudFront includes the mode=block
-- directive in the X-XSS-Protection header.
--
-- For more information about this directive, see X-XSS-Protection
-- in the MDN Web Docs.
--
-- $sel:reportUri:ResponseHeadersPolicyXSSProtection',
-- responseHeadersPolicyXSSProtection_reportUri - A reporting URI,
-- which CloudFront uses as the value of the report directive in
-- the X-XSS-Protection header.
--
-- You cannot specify a ReportUri when ModeBlock is
-- true.
--
-- For more information about using a reporting URL, see
-- X-XSS-Protection in the MDN Web Docs.
--
-- $sel:override:ResponseHeadersPolicyXSSProtection',
-- responseHeadersPolicyXSSProtection_override - A Boolean that
-- determines whether CloudFront overrides the X-XSS-Protection
-- HTTP response header received from the origin with the one specified
-- in this response headers policy.
--
-- $sel:protection:ResponseHeadersPolicyXSSProtection',
-- responseHeadersPolicyXSSProtection_protection - A Boolean that
-- determines the value of the X-XSS-Protection HTTP response
-- header. When this setting is true, the value of the
-- X-XSS-Protection header is 1. When this setting is
-- false, the value of the X-XSS-Protection header is
-- 0.
--
-- For more information about these settings, see X-XSS-Protection
-- in the MDN Web Docs.
newResponseHeadersPolicyXSSProtection :: Bool -> Bool -> ResponseHeadersPolicyXSSProtection
-- | A complex type that identifies ways in which you want to restrict
-- distribution of your content.
--
-- See: newRestrictions smart constructor.
data Restrictions
Restrictions' :: GeoRestriction -> Restrictions
-- | Create a value of Restrictions with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:geoRestriction:Restrictions',
-- restrictions_geoRestriction - A complex type that controls the
-- countries in which your content is distributed. CloudFront determines
-- the location of your users using MaxMind GeoIP databases.
newRestrictions :: GeoRestriction -> Restrictions
-- | A complex type that contains information about the Amazon S3 bucket
-- from which you want CloudFront to get your media files for
-- distribution.
--
-- See: newS3Origin smart constructor.
data S3Origin
S3Origin' :: Text -> Text -> S3Origin
-- | Create a value of S3Origin with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:domainName:S3Origin', s3Origin_domainName - The DNS
-- name of the Amazon S3 origin.
--
-- $sel:originAccessIdentity:S3Origin',
-- s3Origin_originAccessIdentity - The CloudFront origin access
-- identity to associate with the distribution. Use an origin access
-- identity to configure the distribution so that end users can only
-- access objects in an Amazon S3 bucket through CloudFront.
--
-- If you want end users to be able to access objects using either the
-- CloudFront URL or the Amazon S3 URL, specify an empty
-- OriginAccessIdentity element.
--
-- To delete the origin access identity from an existing distribution,
-- update the distribution configuration and include an empty
-- OriginAccessIdentity element.
--
-- To replace the origin access identity, update the distribution
-- configuration and specify the new origin access identity.
--
-- For more information, see Using an Origin Access Identity to
-- Restrict Access to Your Amazon S3 Content in the Amazon
-- CloudFront Developer Guide.
newS3Origin :: Text -> Text -> S3Origin
-- | A complex type that contains information about the Amazon S3 origin.
-- If the origin is a custom origin or an S3 bucket that is configured as
-- a website endpoint, use the CustomOriginConfig element
-- instead.
--
-- See: newS3OriginConfig smart constructor.
data S3OriginConfig
S3OriginConfig' :: Text -> S3OriginConfig
-- | Create a value of S3OriginConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:originAccessIdentity:S3OriginConfig',
-- s3OriginConfig_originAccessIdentity - The CloudFront origin
-- access identity to associate with the origin. Use an origin access
-- identity to configure the origin so that viewers can only
-- access objects in an Amazon S3 bucket through CloudFront. The format
-- of the value is:
--
-- origin-access-identity/cloudfront/ID-of-origin-access-identity
--
-- where ID-of-origin-access-identity
-- is the value that CloudFront returned in the ID element when
-- you created the origin access identity.
--
-- If you want viewers to be able to access objects using either the
-- CloudFront URL or the Amazon S3 URL, specify an empty
-- OriginAccessIdentity element.
--
-- To delete the origin access identity from an existing distribution,
-- update the distribution configuration and include an empty
-- OriginAccessIdentity element.
--
-- To replace the origin access identity, update the distribution
-- configuration and specify the new origin access identity.
--
-- For more information about the origin access identity, see Serving
-- Private Content through CloudFront in the Amazon CloudFront
-- Developer Guide.
newS3OriginConfig :: Text -> S3OriginConfig
-- | Session stickiness provides the ability to define multiple requests
-- from a single viewer as a single session. This prevents the
-- potentially inconsistent experience of sending some of a given user's
-- requests to your staging distribution, while others are sent to your
-- primary distribution. Define the session duration using TTL values.
--
-- See: newSessionStickinessConfig smart constructor.
data SessionStickinessConfig
SessionStickinessConfig' :: Int -> Int -> SessionStickinessConfig
-- | Create a value of SessionStickinessConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:idleTTL:SessionStickinessConfig',
-- sessionStickinessConfig_idleTTL - The amount of time after
-- which you want sessions to cease if no requests are received. Allowed
-- values are 300–3600 seconds (5–60 minutes).
--
-- The value must be less than or equal to MaximumTTL.
--
-- $sel:maximumTTL:SessionStickinessConfig',
-- sessionStickinessConfig_maximumTTL - The maximum amount of time
-- to consider requests from the viewer as being part of the same
-- session. Allowed values are 300–3600 seconds (5–60 minutes).
--
-- The value must be less than or equal to IdleTTL.
newSessionStickinessConfig :: Int -> Int -> SessionStickinessConfig
-- | A list of Amazon Web Services accounts and the active CloudFront key
-- pairs in each account that CloudFront can use to verify the signatures
-- of signed URLs and signed cookies.
--
-- See: newSigner smart constructor.
data Signer
Signer' :: Maybe Text -> Maybe KeyPairIds -> Signer
-- | Create a value of Signer with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:awsAccountNumber:Signer', signer_awsAccountNumber -
-- An Amazon Web Services account number that contains active CloudFront
-- key pairs that CloudFront can use to verify the signatures of signed
-- URLs and signed cookies. If the Amazon Web Services account that owns
-- the key pairs is the same account that owns the CloudFront
-- distribution, the value of this field is self.
--
-- $sel:keyPairIds:Signer', signer_keyPairIds - A list of
-- CloudFront key pair identifiers.
newSigner :: Signer
-- | The CloudFront domain name of the staging distribution.
--
-- See: newStagingDistributionDnsNames smart constructor.
data StagingDistributionDnsNames
StagingDistributionDnsNames' :: Maybe [Text] -> Int -> StagingDistributionDnsNames
-- | Create a value of StagingDistributionDnsNames with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:StagingDistributionDnsNames',
-- stagingDistributionDnsNames_items - The CloudFront domain name
-- of the staging distribution.
--
-- $sel:quantity:StagingDistributionDnsNames',
-- stagingDistributionDnsNames_quantity - The number of CloudFront
-- domain names in your staging distribution.
newStagingDistributionDnsNames :: Int -> StagingDistributionDnsNames
-- | A complex data type for the status codes that you specify that, when
-- returned by a primary origin, trigger CloudFront to failover to a
-- second origin.
--
-- See: newStatusCodes smart constructor.
data StatusCodes
StatusCodes' :: Int -> NonEmpty Int -> StatusCodes
-- | Create a value of StatusCodes with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:quantity:StatusCodes', statusCodes_quantity - The
-- number of status codes.
--
-- $sel:items:StatusCodes', statusCodes_items - The items
-- (status codes) for an origin group.
newStatusCodes :: Int -> NonEmpty Int -> StatusCodes
-- | A streaming distribution tells CloudFront where you want RTMP content
-- to be delivered from, and the details about how to track and manage
-- content delivery.
--
-- See: newStreamingDistribution smart constructor.
data StreamingDistribution
StreamingDistribution' :: Maybe ISO8601 -> Text -> Text -> Text -> Text -> ActiveTrustedSigners -> StreamingDistributionConfig -> StreamingDistribution
-- | Create a value of StreamingDistribution with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:lastModifiedTime:StreamingDistribution',
-- streamingDistribution_lastModifiedTime - The date and time that
-- the distribution was last modified.
--
-- $sel:id:StreamingDistribution', streamingDistribution_id
-- - The identifier for the RTMP distribution. For example:
-- EGTXBD79EXAMPLE.
--
-- $sel:arn:StreamingDistribution',
-- streamingDistribution_arn - The ARN (Amazon Resource Name) for
-- the distribution. For example:
-- arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
--
-- $sel:status:StreamingDistribution',
-- streamingDistribution_status - The current status of the RTMP
-- distribution. When the status is Deployed, the distribution's
-- information is propagated to all CloudFront edge locations.
--
-- $sel:domainName:StreamingDistribution',
-- streamingDistribution_domainName - The domain name that
-- corresponds to the streaming distribution, for example,
-- s5c39gqb8ow64r.cloudfront.net.
--
-- $sel:activeTrustedSigners:StreamingDistribution',
-- streamingDistribution_activeTrustedSigners - A complex type
-- that lists the Amazon Web Services accounts, if any, that you included
-- in the TrustedSigners complex type for this distribution.
-- These are the accounts that you want to allow to create signed URLs
-- for private content.
--
-- The Signer complex type lists the Amazon Web Services account
-- number of the trusted signer or self if the signer is the
-- Amazon Web Services account that created the distribution. The
-- Signer element also includes the IDs of any active CloudFront
-- key pairs that are associated with the trusted signer's Amazon Web
-- Services account. If no KeyPairId element appears for a
-- Signer, that signer can't create signed URLs.
--
-- For more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
--
-- $sel:streamingDistributionConfig:StreamingDistribution',
-- streamingDistribution_streamingDistributionConfig - The current
-- configuration information for the RTMP distribution.
newStreamingDistribution :: Text -> Text -> Text -> Text -> ActiveTrustedSigners -> StreamingDistributionConfig -> StreamingDistribution
-- | The RTMP distribution's configuration information.
--
-- See: newStreamingDistributionConfig smart constructor.
data StreamingDistributionConfig
StreamingDistributionConfig' :: Maybe Aliases -> Maybe StreamingLoggingConfig -> Maybe PriceClass -> Text -> S3Origin -> Text -> TrustedSigners -> Bool -> StreamingDistributionConfig
-- | Create a value of StreamingDistributionConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aliases:StreamingDistributionConfig',
-- streamingDistributionConfig_aliases - A complex type that
-- contains information about CNAMEs (alternate domain names), if any,
-- for this streaming distribution.
--
-- $sel:logging:StreamingDistributionConfig',
-- streamingDistributionConfig_logging - A complex type that
-- controls whether access logs are written for the streaming
-- distribution.
--
-- $sel:priceClass:StreamingDistributionConfig',
-- streamingDistributionConfig_priceClass - A complex type that
-- contains information about price class for this streaming
-- distribution.
--
-- $sel:callerReference:StreamingDistributionConfig',
-- streamingDistributionConfig_callerReference - A unique value
-- (for example, a date-time stamp) that ensures that the request can't
-- be replayed.
--
-- If the value of CallerReference is new (regardless of the
-- content of the StreamingDistributionConfig object),
-- CloudFront creates a new distribution.
--
-- If CallerReference is a value that you already sent in a
-- previous request to create a distribution, CloudFront returns a
-- DistributionAlreadyExists error.
--
-- $sel:s3Origin:StreamingDistributionConfig',
-- streamingDistributionConfig_s3Origin - A complex type that
-- contains information about the Amazon S3 bucket from which you want
-- CloudFront to get your media files for distribution.
--
-- $sel:comment:StreamingDistributionConfig',
-- streamingDistributionConfig_comment - Any comments you want to
-- include about the streaming distribution.
--
-- $sel:trustedSigners:StreamingDistributionConfig',
-- streamingDistributionConfig_trustedSigners - A complex type
-- that specifies any Amazon Web Services accounts that you want to
-- permit to create signed URLs for private content. If you want the
-- distribution to use signed URLs, include this element; if you want the
-- distribution to use public URLs, remove this element. For more
-- information, see Serving Private Content through CloudFront in
-- the Amazon CloudFront Developer Guide.
--
-- StreamingDistributionConfig,
-- streamingDistributionConfig_enabled - Whether the streaming
-- distribution is enabled to accept user requests for content.
newStreamingDistributionConfig :: Text -> S3Origin -> Text -> TrustedSigners -> Bool -> StreamingDistributionConfig
-- | A streaming distribution Configuration and a list of tags to be
-- associated with the streaming distribution.
--
-- See: newStreamingDistributionConfigWithTags smart
-- constructor.
data StreamingDistributionConfigWithTags
StreamingDistributionConfigWithTags' :: StreamingDistributionConfig -> Tags -> StreamingDistributionConfigWithTags
-- | Create a value of StreamingDistributionConfigWithTags with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:streamingDistributionConfig:StreamingDistributionConfigWithTags',
-- streamingDistributionConfigWithTags_streamingDistributionConfig
-- - A streaming distribution Configuration.
--
-- $sel:tags:StreamingDistributionConfigWithTags',
-- streamingDistributionConfigWithTags_tags - A complex type that
-- contains zero or more Tag elements.
newStreamingDistributionConfigWithTags :: StreamingDistributionConfig -> Tags -> StreamingDistributionConfigWithTags
-- | A streaming distribution list.
--
-- See: newStreamingDistributionList smart constructor.
data StreamingDistributionList
StreamingDistributionList' :: Maybe [StreamingDistributionSummary] -> Maybe Text -> Text -> Int -> Bool -> Int -> StreamingDistributionList
-- | Create a value of StreamingDistributionList with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:StreamingDistributionList',
-- streamingDistributionList_items - A complex type that contains
-- one StreamingDistributionSummary element for each
-- distribution that was created by the current Amazon Web Services
-- account.
--
-- $sel:nextMarker:StreamingDistributionList',
-- streamingDistributionList_nextMarker - If IsTruncated
-- is true, this element is present and contains the value you
-- can use for the Marker request parameter to continue listing
-- your RTMP distributions where they left off.
--
-- $sel:marker:StreamingDistributionList',
-- streamingDistributionList_marker - The value you provided for
-- the Marker request parameter.
--
-- $sel:maxItems:StreamingDistributionList',
-- streamingDistributionList_maxItems - The value you provided for
-- the MaxItems request parameter.
--
-- $sel:isTruncated:StreamingDistributionList',
-- streamingDistributionList_isTruncated - 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.
--
-- $sel:quantity:StreamingDistributionList',
-- streamingDistributionList_quantity - The number of streaming
-- distributions that were created by the current Amazon Web Services
-- account.
newStreamingDistributionList :: Text -> Int -> Bool -> Int -> StreamingDistributionList
-- | A summary of the information for a CloudFront streaming distribution.
--
-- See: newStreamingDistributionSummary smart constructor.
data StreamingDistributionSummary
StreamingDistributionSummary' :: Text -> Text -> Text -> ISO8601 -> Text -> S3Origin -> Aliases -> TrustedSigners -> Text -> PriceClass -> Bool -> StreamingDistributionSummary
-- | Create a value of StreamingDistributionSummary with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:StreamingDistributionSummary',
-- streamingDistributionSummary_id - The identifier for the
-- distribution, for example, EDFDVBD632BHDS5.
--
-- $sel:arn:StreamingDistributionSummary',
-- streamingDistributionSummary_arn - The ARN (Amazon Resource
-- Name) for the streaming distribution. For example:
-- arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5,
-- where 123456789012 is your Amazon Web Services account ID.
--
-- $sel:status:StreamingDistributionSummary',
-- streamingDistributionSummary_status - Indicates the current
-- status of the distribution. When the status is Deployed, the
-- distribution's information is fully propagated throughout the Amazon
-- CloudFront system.
--
-- $sel:lastModifiedTime:StreamingDistributionSummary',
-- streamingDistributionSummary_lastModifiedTime - The date and
-- time the distribution was last modified.
--
-- StreamingDistributionSummary,
-- streamingDistributionSummary_domainName - The domain name
-- corresponding to the distribution, for example,
-- d111111abcdef8.cloudfront.net.
--
-- $sel:s3Origin:StreamingDistributionSummary',
-- streamingDistributionSummary_s3Origin - A complex type that
-- contains information about the Amazon S3 bucket from which you want
-- CloudFront to get your media files for distribution.
--
-- $sel:aliases:StreamingDistributionSummary',
-- streamingDistributionSummary_aliases - A complex type that
-- contains information about CNAMEs (alternate domain names), if any,
-- for this streaming distribution.
--
-- $sel:trustedSigners:StreamingDistributionSummary',
-- streamingDistributionSummary_trustedSigners - A complex type
-- that specifies the Amazon Web Services accounts, if any, that you want
-- to allow to create signed URLs for private content. If you want to
-- require signed URLs in requests for objects in the target origin that
-- match the PathPattern for this cache behavior, specify
-- true for Enabled, and specify the applicable values
-- for Quantity and Items.If you don't want to require
-- signed URLs in requests for objects that match PathPattern,
-- specify false for Enabled and 0 for
-- Quantity. Omit Items. To add, change, or remove one
-- or more trusted signers, change Enabled to true (if
-- it's currently false), change Quantity as
-- applicable, and specify all of the trusted signers that you want to
-- include in the updated distribution.
--
-- For more information, see Serving Private Content through
-- CloudFront in the Amazon CloudFront Developer Guide.
--
-- $sel:comment:StreamingDistributionSummary',
-- streamingDistributionSummary_comment - The comment originally
-- specified when this distribution was created.
--
-- $sel:priceClass:StreamingDistributionSummary',
-- streamingDistributionSummary_priceClass - A complex type that
-- contains information about price class for this streaming
-- distribution.
--
-- StreamingDistributionSummary,
-- streamingDistributionSummary_enabled - Whether the distribution
-- is enabled to accept end user requests for content.
newStreamingDistributionSummary :: Text -> Text -> Text -> UTCTime -> Text -> S3Origin -> Aliases -> TrustedSigners -> Text -> PriceClass -> Bool -> StreamingDistributionSummary
-- | A complex type that controls whether access logs are written for this
-- streaming distribution.
--
-- See: newStreamingLoggingConfig smart constructor.
data StreamingLoggingConfig
StreamingLoggingConfig' :: Bool -> Text -> Text -> StreamingLoggingConfig
-- | Create a value of StreamingLoggingConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:enabled:StreamingLoggingConfig',
-- streamingLoggingConfig_enabled - Specifies whether you want
-- CloudFront to save access logs to an Amazon S3 bucket. If you don't
-- 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.
--
-- $sel:bucket:StreamingLoggingConfig',
-- streamingLoggingConfig_bucket - The Amazon S3 bucket to store
-- the access logs in, for example,
-- myawslogbucket.s3.amazonaws.com.
--
-- $sel:prefix:StreamingLoggingConfig',
-- streamingLoggingConfig_prefix - 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 don't want to specify a prefix, you still
-- must include an empty Prefix element in the Logging
-- element.
newStreamingLoggingConfig :: Bool -> Text -> Text -> StreamingLoggingConfig
-- | A complex type that contains Tag key and Tag value.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Maybe Text -> Text -> Tag
-- | Create a value of Tag with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:value:Tag', tag_value - A string that contains an
-- optional Tag value.
--
-- The string length should be between 0 and 256 characters. Valid
-- characters include a-z, A-Z, 0-9, space,
-- and the special characters _ - . : / = + @.
--
-- $sel:key:Tag', tag_key - A string that contains
-- Tag key.
--
-- The string length should be between 1 and 128 characters. Valid
-- characters include a-z, A-Z, 0-9, space,
-- and the special characters _ - . : / = + @.
newTag :: Text -> Tag
-- | A complex type that contains zero or more Tag elements.
--
-- See: newTagKeys smart constructor.
data TagKeys
TagKeys' :: Maybe [Text] -> TagKeys
-- | Create a value of TagKeys with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:TagKeys', tagKeys_items - A complex type that
-- contains Tag key elements.
newTagKeys :: TagKeys
-- | A complex type that contains zero or more Tag elements.
--
-- See: newTags smart constructor.
data Tags
Tags' :: Maybe [Tag] -> Tags
-- | Create a value of Tags with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:Tags', tags_items - A complex type that
-- contains Tag elements.
newTags :: Tags
-- | Contains the result of testing a CloudFront function with
-- TestFunction.
--
-- See: newTestResult smart constructor.
data TestResult
TestResult' :: Maybe Text -> Maybe (Sensitive Text) -> Maybe (Sensitive [Text]) -> Maybe (Sensitive Text) -> Maybe FunctionSummary -> TestResult
-- | Create a value of TestResult with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:computeUtilization:TestResult',
-- testResult_computeUtilization - The amount of time that the
-- function took to run as a percentage of the maximum allowed time. For
-- example, a compute utilization of 35 means that the function completed
-- in 35% of the maximum allowed time.
--
-- $sel:functionErrorMessage:TestResult',
-- testResult_functionErrorMessage - If the result of testing the
-- function was an error, this field contains the error message.
--
-- $sel:functionExecutionLogs:TestResult',
-- testResult_functionExecutionLogs - Contains the log lines that
-- the function wrote (if any) when running the test.
--
-- $sel:functionOutput:TestResult',
-- testResult_functionOutput - The event object returned by the
-- function. For more information about the structure of the event
-- object, see Event object structure in the Amazon CloudFront
-- Developer Guide.
--
-- $sel:functionSummary:TestResult',
-- testResult_functionSummary - Contains configuration information
-- and metadata about the CloudFront function that was tested.
newTestResult :: TestResult
-- | The traffic configuration of your continuous deployment.
--
-- See: newTrafficConfig smart constructor.
data TrafficConfig
TrafficConfig' :: Maybe ContinuousDeploymentSingleHeaderConfig -> Maybe ContinuousDeploymentSingleWeightConfig -> ContinuousDeploymentPolicyType -> TrafficConfig
-- | Create a value of TrafficConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:singleHeaderConfig:TrafficConfig',
-- trafficConfig_singleHeaderConfig - Determines which HTTP
-- requests are sent to the staging distribution.
--
-- $sel:singleWeightConfig:TrafficConfig',
-- trafficConfig_singleWeightConfig - Contains the percentage of
-- traffic to send to the staging distribution.
--
-- $sel:type':TrafficConfig', trafficConfig_type - The type
-- of traffic configuration.
newTrafficConfig :: ContinuousDeploymentPolicyType -> TrafficConfig
-- | A list of key groups whose public keys CloudFront can use to verify
-- the signatures of signed URLs and signed cookies.
--
-- See: newTrustedKeyGroups smart constructor.
data TrustedKeyGroups
TrustedKeyGroups' :: Maybe [Text] -> Bool -> Int -> TrustedKeyGroups
-- | Create a value of TrustedKeyGroups with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:TrustedKeyGroups', trustedKeyGroups_items - A
-- list of key groups identifiers.
--
-- $sel:enabled:TrustedKeyGroups', trustedKeyGroups_enabled
-- - This field is true if any of the key groups in the list
-- have public keys that CloudFront can use to verify the signatures of
-- signed URLs and signed cookies. If not, this field is false.
--
-- $sel:quantity:TrustedKeyGroups',
-- trustedKeyGroups_quantity - The number of key groups in the
-- list.
newTrustedKeyGroups :: Bool -> Int -> TrustedKeyGroups
-- | A list of Amazon Web Services accounts whose public keys CloudFront
-- can use to verify the signatures of signed URLs and signed cookies.
--
-- See: newTrustedSigners smart constructor.
data TrustedSigners
TrustedSigners' :: Maybe [Text] -> Bool -> Int -> TrustedSigners
-- | Create a value of TrustedSigners with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:items:TrustedSigners', trustedSigners_items - A
-- list of Amazon Web Services account identifiers.
--
-- $sel:enabled:TrustedSigners', trustedSigners_enabled -
-- This field is true if any of the Amazon Web Services accounts
-- have public keys that CloudFront can use to verify the signatures of
-- signed URLs and signed cookies. If not, this field is false.
--
-- $sel:quantity:TrustedSigners', trustedSigners_quantity -
-- The number of Amazon Web Services accounts in the list.
newTrustedSigners :: Bool -> Int -> TrustedSigners
-- | A complex type that determines the distribution's SSL/TLS
-- configuration for communicating with viewers.
--
-- If the distribution doesn't use Aliases (also known as
-- alternate domain names or CNAMEs)—that is, if the distribution uses
-- the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net—set
-- CloudFrontDefaultCertificate to true and leave all
-- other fields empty.
--
-- If the distribution uses Aliases (alternate domain names or
-- CNAMEs), use the fields in this type to specify the following
-- settings:
--
--
-- - Which viewers the distribution accepts HTTPS connections from:
-- only viewers that support server name indication (SNI)
-- (recommended), or all viewers including those that don't support
-- SNI.
- To accept HTTPS connections from only viewers that support
-- SNI, set SSLSupportMethod to sni-only. This is
-- recommended. Most browsers and clients support SNI.
- To accept
-- HTTPS connections from all viewers, including those that don't support
-- SNI, set SSLSupportMethod to vip. This is not
-- recommended, and results in additional monthly charges from
-- CloudFront.
-- - The minimum SSL/TLS protocol version that the distribution can use
-- to communicate with viewers. To specify a minimum version, choose a
-- value for MinimumProtocolVersion. For more information, see
-- Security Policy in the Amazon CloudFront Developer
-- Guide.
-- - The location of the SSL/TLS certificate, Certificate Manager
-- (ACM) (recommended) or Identity and Access Management
-- (IAM). You specify the location by setting a value in one of the
-- following fields (not
-- both):
ACMCertificateArn
IAMCertificateId
--
--
-- All distributions support HTTPS connections from viewers. To require
-- viewers to use HTTPS only, or to redirect them from HTTP to HTTPS, use
-- ViewerProtocolPolicy in the CacheBehavior or
-- DefaultCacheBehavior. To specify how CloudFront should use
-- SSL/TLS to communicate with your custom origin, use
-- CustomOriginConfig.
--
-- For more information, see Using HTTPS with CloudFront and
-- Using Alternate Domain Names and HTTPS in the Amazon
-- CloudFront Developer Guide.
--
-- See: newViewerCertificate smart constructor.
data ViewerCertificate
ViewerCertificate' :: Maybe Text -> Maybe Text -> Maybe CertificateSource -> Maybe Bool -> Maybe Text -> Maybe MinimumProtocolVersion -> Maybe SSLSupportMethod -> ViewerCertificate
-- | Create a value of ViewerCertificate with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aCMCertificateArn:ViewerCertificate',
-- viewerCertificate_aCMCertificateArn - If the distribution uses
-- Aliases (alternate domain names or CNAMEs) and the SSL/TLS
-- certificate is stored in Certificate Manager (ACM), provide the
-- Amazon Resource Name (ARN) of the ACM certificate. CloudFront only
-- supports ACM certificates in the US East (N. Virginia) Region
-- (us-east-1).
--
-- If you specify an ACM certificate ARN, you must also specify values
-- for MinimumProtocolVersion and SSLSupportMethod.
--
-- $sel:certificate:ViewerCertificate',
-- viewerCertificate_certificate - This field is deprecated. Use
-- one of the following fields instead:
--
--
--
-- $sel:certificateSource:ViewerCertificate',
-- viewerCertificate_certificateSource - This field is deprecated.
-- Use one of the following fields instead:
--
--
--
-- $sel:cloudFrontDefaultCertificate:ViewerCertificate',
-- viewerCertificate_cloudFrontDefaultCertificate - If the
-- distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net, set this field to
-- true.
--
-- If the distribution uses Aliases (alternate domain names or
-- CNAMEs), set this field to false and specify values for the
-- following fields:
--
--
-- - ACMCertificateArn or IAMCertificateId (specify a
-- value for one, not both)
-- MinimumProtocolVersion
-- SSLSupportMethod
--
--
-- $sel:iAMCertificateId:ViewerCertificate',
-- viewerCertificate_iAMCertificateId - If the distribution uses
-- Aliases (alternate domain names or CNAMEs) and the SSL/TLS
-- certificate is stored in Identity and Access Management (IAM),
-- provide the ID of the IAM certificate.
--
-- If you specify an IAM certificate ID, you must also specify values for
-- MinimumProtocolVersion and SSLSupportMethod.
--
-- $sel:minimumProtocolVersion:ViewerCertificate',
-- viewerCertificate_minimumProtocolVersion - If the distribution
-- uses Aliases (alternate domain names or CNAMEs), specify the
-- security policy that you want CloudFront to use for HTTPS connections
-- with viewers. The security policy determines two settings:
--
--
-- - The minimum SSL/TLS protocol that CloudFront can use to
-- communicate with viewers.
-- - The ciphers that CloudFront can use to encrypt the content that it
-- returns to viewers.
--
--
-- For more information, see Security Policy and Supported
-- Protocols and Ciphers Between Viewers and CloudFront in the
-- Amazon CloudFront Developer Guide.
--
-- On the CloudFront console, this setting is called Security
-- Policy.
--
-- When you're using SNI only (you set SSLSupportMethod to
-- sni-only), you must specify TLSv1 or higher.
--
-- If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net (you set
-- CloudFrontDefaultCertificate to true), CloudFront
-- automatically sets the security policy to TLSv1 regardless of
-- the value that you set here.
--
-- $sel:sSLSupportMethod:ViewerCertificate',
-- viewerCertificate_sSLSupportMethod - If the distribution uses
-- Aliases (alternate domain names or CNAMEs), specify which
-- viewers the distribution accepts HTTPS connections from.
--
--
-- - sni-only – The distribution accepts HTTPS connections
-- from only viewers that support server name indication (SNI).
-- This is recommended. Most browsers and clients support SNI.
-- - vip – The distribution accepts HTTPS connections from all
-- viewers including those that don't support SNI. This is not
-- recommended, and results in additional monthly charges from
-- CloudFront.
-- - static-ip - Do not specify this value unless your
-- distribution has been enabled for this feature by the CloudFront team.
-- If you have a use case that requires static IP addresses for a
-- distribution, contact CloudFront through the Amazon Web Services
-- Support Center.
--
--
-- If the distribution uses the CloudFront domain name such as
-- d111111abcdef8.cloudfront.net, don't set a value for this
-- field.
newViewerCertificate :: ViewerCertificate