Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- Errors
- CertificateSource
- EventType
- Format
- GeoRestrictionType
- HTTPVersion
- ItemSelection
- Method
- MinimumProtocolVersion
- OriginProtocolPolicy
- PriceClass
- SSLProtocol
- SSLSupportMethod
- ViewerProtocolPolicy
- ActiveTrustedSigners
- Aliases
- AllowedMethods
- CacheBehavior
- CacheBehaviors
- CachedMethods
- CloudFrontOriginAccessIdentity
- CloudFrontOriginAccessIdentityConfig
- CloudFrontOriginAccessIdentityList
- CloudFrontOriginAccessIdentitySummary
- ContentTypeProfile
- ContentTypeProfileConfig
- ContentTypeProfiles
- CookieNames
- CookiePreference
- CustomErrorResponse
- CustomErrorResponses
- CustomHeaders
- CustomOriginConfig
- DefaultCacheBehavior
- Distribution
- DistributionConfig
- DistributionConfigWithTags
- DistributionList
- DistributionSummary
- EncryptionEntities
- EncryptionEntity
- FieldLevelEncryption
- FieldLevelEncryptionConfig
- FieldLevelEncryptionList
- FieldLevelEncryptionProfile
- FieldLevelEncryptionProfileConfig
- FieldLevelEncryptionProfileList
- FieldLevelEncryptionProfileSummary
- FieldLevelEncryptionSummary
- FieldPatterns
- ForwardedValues
- GeoRestriction
- Headers
- Invalidation
- InvalidationBatch
- InvalidationList
- InvalidationSummary
- KeyPairIds
- LambdaFunctionAssociation
- LambdaFunctionAssociations
- LoggingConfig
- Origin
- OriginCustomHeader
- OriginSSLProtocols
- Origins
- Paths
- PublicKey
- PublicKeyConfig
- PublicKeyList
- PublicKeySummary
- QueryArgProfile
- QueryArgProfileConfig
- QueryArgProfiles
- QueryStringCacheKeys
- Restrictions
- S3Origin
- S3OriginConfig
- Signer
- StreamingDistribution
- StreamingDistributionConfig
- StreamingDistributionConfigWithTags
- StreamingDistributionList
- StreamingDistributionSummary
- StreamingLoggingConfig
- Tag
- TagKeys
- Tags
- TrustedSigners
- ViewerCertificate
Synopsis
- cloudFront :: Service
- _TooManyOriginCustomHeaders :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidTagging :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidErrorCode :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchFieldLevelEncryptionProfile :: AsError a => Getting (First ServiceError) a ServiceError
- _FieldLevelEncryptionProfileInUse :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidOriginReadTimeout :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyFieldLevelEncryptionProfiles :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyCacheBehaviors :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyCloudFrontOriginAccessIdentities :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidOriginAccessIdentity :: AsError a => Getting (First ServiceError) a ServiceError
- _DistributionNotDisabled :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchStreamingDistribution :: AsError a => Getting (First ServiceError) a ServiceError
- _InconsistentQuantities :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidArgument :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidOriginKeepaliveTimeout :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyInvalidationsInProgress :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidWebACLId :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyQueryStringParameters :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyFieldLevelEncryptionQueryArgProfiles :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyDistributionCNAMEs :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchCloudFrontOriginAccessIdentity :: AsError a => Getting (First ServiceError) a ServiceError
- _CloudFrontOriginAccessIdentityInUse :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyStreamingDistributions :: AsError a => Getting (First ServiceError) a ServiceError
- _CannotChangeImmutablePublicKeyFields :: AsError a => Getting (First ServiceError) a ServiceError
- _BatchTooLarge :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyCookieNamesInWhiteList :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidLambdaFunctionAssociation :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidForwardCookies :: AsError a => Getting (First ServiceError) a ServiceError
- _FieldLevelEncryptionConfigInUse :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyTrustedSigners :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidOrigin :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchInvalidation :: AsError a => Getting (First ServiceError) a ServiceError
- _PublicKeyAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchOrigin :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidTTLOrder :: AsError a => Getting (First ServiceError) a ServiceError
- _StreamingDistributionNotDisabled :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyHeadersInForwardedValues :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchResource :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyFieldLevelEncryptionEncryptionEntities :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyStreamingDistributionCNAMEs :: AsError a => Getting (First ServiceError) a ServiceError
- _FieldLevelEncryptionProfileAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceInUse :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRequiredProtocol :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyDistributions :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyCertificates :: AsError a => Getting (First ServiceError) a ServiceError
- _DistributionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyDistributionsAssociatedToFieldLevelEncryptionConfig :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidQueryStringParameters :: AsError a => Getting (First ServiceError) a ServiceError
- _MissingBody :: AsError a => Getting (First ServiceError) a ServiceError
- _IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior :: AsError a => Getting (First ServiceError) a ServiceError
- _IllegalUpdate :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidIfMatchVersion :: AsError a => Getting (First ServiceError) a ServiceError
- _FieldLevelEncryptionConfigAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _PreconditionFailed :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidResponseCode :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidHeadersForS3Origin :: AsError a => Getting (First ServiceError) a ServiceError
- _CNAMEAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchPublicKey :: AsError a => Getting (First ServiceError) a ServiceError
- _PublicKeyInUse :: AsError a => Getting (First ServiceError) a ServiceError
- _TrustedSignerDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidProtocolSettings :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyPublicKeys :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchFieldLevelEncryptionConfig :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyFieldLevelEncryptionContentTypeProfiles :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyFieldLevelEncryptionFieldPatterns :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyFieldLevelEncryptionConfigs :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyLambdaFunctionAssociations :: AsError a => Getting (First ServiceError) a ServiceError
- _CloudFrontOriginAccessIdentityAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyOrigins :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRelativePath :: AsError a => Getting (First ServiceError) a ServiceError
- _StreamingDistributionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _QueryArgProfileEmpty :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidMinimumProtocolVersion :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessDenied :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidViewerCertificate :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchDistribution :: AsError a => Getting (First ServiceError) a ServiceError
- _FieldLevelEncryptionProfileSizeExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidDefaultRootObject :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyDistributionsWithLambdaAssociations :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidGeoRestrictionParameter :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidLocationCode :: AsError a => Getting (First ServiceError) a ServiceError
- data CertificateSource
- = Acm
- | Cloudfront
- | IAM
- data EventType
- data Format = URLEncoded
- data GeoRestrictionType
- data HTTPVersion
- data ItemSelection
- = ISAll
- | ISNone
- | ISWhitelist
- data Method
- data MinimumProtocolVersion
- data OriginProtocolPolicy
- data PriceClass
- data SSLProtocol
- data SSLSupportMethod
- data ViewerProtocolPolicy
- data ActiveTrustedSigners
- activeTrustedSigners :: Bool -> Int -> ActiveTrustedSigners
- atsItems :: Lens' ActiveTrustedSigners [Signer]
- atsEnabled :: Lens' ActiveTrustedSigners Bool
- atsQuantity :: Lens' ActiveTrustedSigners Int
- data Aliases
- aliases :: Int -> Aliases
- aItems :: Lens' Aliases [Text]
- aQuantity :: Lens' Aliases Int
- data AllowedMethods
- allowedMethods :: Int -> AllowedMethods
- amCachedMethods :: Lens' AllowedMethods (Maybe CachedMethods)
- amQuantity :: Lens' AllowedMethods Int
- amItems :: Lens' AllowedMethods [Method]
- data CacheBehavior
- cacheBehavior :: Text -> Text -> ForwardedValues -> TrustedSigners -> ViewerProtocolPolicy -> Integer -> CacheBehavior
- cbAllowedMethods :: Lens' CacheBehavior (Maybe AllowedMethods)
- cbLambdaFunctionAssociations :: Lens' CacheBehavior (Maybe LambdaFunctionAssociations)
- cbMaxTTL :: Lens' CacheBehavior (Maybe Integer)
- cbCompress :: Lens' CacheBehavior (Maybe Bool)
- cbSmoothStreaming :: Lens' CacheBehavior (Maybe Bool)
- cbDefaultTTL :: Lens' CacheBehavior (Maybe Integer)
- cbFieldLevelEncryptionId :: Lens' CacheBehavior (Maybe Text)
- cbPathPattern :: Lens' CacheBehavior Text
- cbTargetOriginId :: Lens' CacheBehavior Text
- cbForwardedValues :: Lens' CacheBehavior ForwardedValues
- cbTrustedSigners :: Lens' CacheBehavior TrustedSigners
- cbViewerProtocolPolicy :: Lens' CacheBehavior ViewerProtocolPolicy
- cbMinTTL :: Lens' CacheBehavior Integer
- data CacheBehaviors
- cacheBehaviors :: Int -> CacheBehaviors
- cbItems :: Lens' CacheBehaviors [CacheBehavior]
- cbQuantity :: Lens' CacheBehaviors Int
- data CachedMethods
- cachedMethods :: Int -> CachedMethods
- cmQuantity :: Lens' CachedMethods Int
- cmItems :: Lens' CachedMethods [Method]
- data CloudFrontOriginAccessIdentity
- cloudFrontOriginAccessIdentity :: Text -> Text -> CloudFrontOriginAccessIdentity
- cfoaiCloudFrontOriginAccessIdentityConfig :: Lens' CloudFrontOriginAccessIdentity (Maybe CloudFrontOriginAccessIdentityConfig)
- cfoaiId :: Lens' CloudFrontOriginAccessIdentity Text
- cfoaiS3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentity Text
- data CloudFrontOriginAccessIdentityConfig
- cloudFrontOriginAccessIdentityConfig :: Text -> Text -> CloudFrontOriginAccessIdentityConfig
- cfoaicCallerReference :: Lens' CloudFrontOriginAccessIdentityConfig Text
- cfoaicComment :: Lens' CloudFrontOriginAccessIdentityConfig Text
- data CloudFrontOriginAccessIdentityList
- cloudFrontOriginAccessIdentityList :: Text -> Int -> Bool -> Int -> CloudFrontOriginAccessIdentityList
- cfoailItems :: Lens' CloudFrontOriginAccessIdentityList [CloudFrontOriginAccessIdentitySummary]
- cfoailNextMarker :: Lens' CloudFrontOriginAccessIdentityList (Maybe Text)
- cfoailMarker :: Lens' CloudFrontOriginAccessIdentityList Text
- cfoailMaxItems :: Lens' CloudFrontOriginAccessIdentityList Int
- cfoailIsTruncated :: Lens' CloudFrontOriginAccessIdentityList Bool
- cfoailQuantity :: Lens' CloudFrontOriginAccessIdentityList Int
- data CloudFrontOriginAccessIdentitySummary
- cloudFrontOriginAccessIdentitySummary :: Text -> Text -> Text -> CloudFrontOriginAccessIdentitySummary
- cfoaisId :: Lens' CloudFrontOriginAccessIdentitySummary Text
- cfoaisS3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentitySummary Text
- cfoaisComment :: Lens' CloudFrontOriginAccessIdentitySummary Text
- data ContentTypeProfile
- contentTypeProfile :: Format -> Text -> ContentTypeProfile
- ctpProfileId :: Lens' ContentTypeProfile (Maybe Text)
- ctpFormat :: Lens' ContentTypeProfile Format
- ctpContentType :: Lens' ContentTypeProfile Text
- data ContentTypeProfileConfig
- contentTypeProfileConfig :: Bool -> ContentTypeProfileConfig
- ctpcContentTypeProfiles :: Lens' ContentTypeProfileConfig (Maybe ContentTypeProfiles)
- ctpcForwardWhenContentTypeIsUnknown :: Lens' ContentTypeProfileConfig Bool
- data ContentTypeProfiles
- contentTypeProfiles :: Int -> ContentTypeProfiles
- ctpItems :: Lens' ContentTypeProfiles [ContentTypeProfile]
- ctpQuantity :: Lens' ContentTypeProfiles Int
- data CookieNames
- cookieNames :: Int -> CookieNames
- cnItems :: Lens' CookieNames [Text]
- cnQuantity :: Lens' CookieNames Int
- data CookiePreference
- cookiePreference :: ItemSelection -> CookiePreference
- cpWhitelistedNames :: Lens' CookiePreference (Maybe CookieNames)
- cpForward :: Lens' CookiePreference ItemSelection
- data CustomErrorResponse
- customErrorResponse :: Int -> CustomErrorResponse
- ceResponsePagePath :: Lens' CustomErrorResponse (Maybe Text)
- ceResponseCode :: Lens' CustomErrorResponse (Maybe Text)
- ceErrorCachingMinTTL :: Lens' CustomErrorResponse (Maybe Integer)
- ceErrorCode :: Lens' CustomErrorResponse Int
- data CustomErrorResponses
- customErrorResponses :: Int -> CustomErrorResponses
- cerItems :: Lens' CustomErrorResponses [CustomErrorResponse]
- cerQuantity :: Lens' CustomErrorResponses Int
- data CustomHeaders
- customHeaders :: Int -> CustomHeaders
- chItems :: Lens' CustomHeaders [OriginCustomHeader]
- chQuantity :: Lens' CustomHeaders Int
- data CustomOriginConfig
- customOriginConfig :: Int -> Int -> OriginProtocolPolicy -> CustomOriginConfig
- cocOriginKeepaliveTimeout :: Lens' CustomOriginConfig (Maybe Int)
- cocOriginReadTimeout :: Lens' CustomOriginConfig (Maybe Int)
- cocOriginSSLProtocols :: Lens' CustomOriginConfig (Maybe OriginSSLProtocols)
- cocHTTPPort :: Lens' CustomOriginConfig Int
- cocHTTPSPort :: Lens' CustomOriginConfig Int
- cocOriginProtocolPolicy :: Lens' CustomOriginConfig OriginProtocolPolicy
- data DefaultCacheBehavior
- defaultCacheBehavior :: Text -> ForwardedValues -> TrustedSigners -> ViewerProtocolPolicy -> Integer -> DefaultCacheBehavior
- dcbAllowedMethods :: Lens' DefaultCacheBehavior (Maybe AllowedMethods)
- dcbLambdaFunctionAssociations :: Lens' DefaultCacheBehavior (Maybe LambdaFunctionAssociations)
- dcbMaxTTL :: Lens' DefaultCacheBehavior (Maybe Integer)
- dcbCompress :: Lens' DefaultCacheBehavior (Maybe Bool)
- dcbSmoothStreaming :: Lens' DefaultCacheBehavior (Maybe Bool)
- dcbDefaultTTL :: Lens' DefaultCacheBehavior (Maybe Integer)
- dcbFieldLevelEncryptionId :: Lens' DefaultCacheBehavior (Maybe Text)
- dcbTargetOriginId :: Lens' DefaultCacheBehavior Text
- dcbForwardedValues :: Lens' DefaultCacheBehavior ForwardedValues
- dcbTrustedSigners :: Lens' DefaultCacheBehavior TrustedSigners
- dcbViewerProtocolPolicy :: Lens' DefaultCacheBehavior ViewerProtocolPolicy
- dcbMinTTL :: Lens' DefaultCacheBehavior Integer
- data Distribution
- distribution :: Text -> Text -> Text -> UTCTime -> Int -> Text -> ActiveTrustedSigners -> DistributionConfig -> Distribution
- dId :: Lens' Distribution Text
- dARN :: Lens' Distribution Text
- dStatus :: Lens' Distribution Text
- dLastModifiedTime :: Lens' Distribution UTCTime
- dInProgressInvalidationBatches :: Lens' Distribution Int
- dDomainName :: Lens' Distribution Text
- dActiveTrustedSigners :: Lens' Distribution ActiveTrustedSigners
- dDistributionConfig :: Lens' Distribution DistributionConfig
- data DistributionConfig
- distributionConfig :: Text -> Origins -> DefaultCacheBehavior -> Text -> Bool -> DistributionConfig
- dcHTTPVersion :: Lens' DistributionConfig (Maybe HTTPVersion)
- dcAliases :: Lens' DistributionConfig (Maybe Aliases)
- dcDefaultRootObject :: Lens' DistributionConfig (Maybe Text)
- dcPriceClass :: Lens' DistributionConfig (Maybe PriceClass)
- dcCustomErrorResponses :: Lens' DistributionConfig (Maybe CustomErrorResponses)
- dcWebACLId :: Lens' DistributionConfig (Maybe Text)
- dcViewerCertificate :: Lens' DistributionConfig (Maybe ViewerCertificate)
- dcRestrictions :: Lens' DistributionConfig (Maybe Restrictions)
- dcLogging :: Lens' DistributionConfig (Maybe LoggingConfig)
- dcCacheBehaviors :: Lens' DistributionConfig (Maybe CacheBehaviors)
- dcIsIPV6Enabled :: Lens' DistributionConfig (Maybe Bool)
- dcCallerReference :: Lens' DistributionConfig Text
- dcOrigins :: Lens' DistributionConfig Origins
- dcDefaultCacheBehavior :: Lens' DistributionConfig DefaultCacheBehavior
- dcComment :: Lens' DistributionConfig Text
- dcEnabled :: Lens' DistributionConfig Bool
- data DistributionConfigWithTags
- distributionConfigWithTags :: DistributionConfig -> Tags -> DistributionConfigWithTags
- dcwtDistributionConfig :: Lens' DistributionConfigWithTags DistributionConfig
- dcwtTags :: Lens' DistributionConfigWithTags Tags
- data DistributionList
- distributionList :: Text -> Int -> Bool -> Int -> DistributionList
- dlItems :: Lens' DistributionList [DistributionSummary]
- dlNextMarker :: Lens' DistributionList (Maybe Text)
- dlMarker :: Lens' DistributionList Text
- dlMaxItems :: Lens' DistributionList Int
- dlIsTruncated :: Lens' DistributionList Bool
- dlQuantity :: Lens' DistributionList Int
- data DistributionSummary
- distributionSummary :: Text -> Text -> Text -> UTCTime -> Text -> Aliases -> Origins -> DefaultCacheBehavior -> CacheBehaviors -> CustomErrorResponses -> Text -> PriceClass -> Bool -> ViewerCertificate -> Restrictions -> Text -> HTTPVersion -> Bool -> DistributionSummary
- dsId :: Lens' DistributionSummary Text
- dsARN :: Lens' DistributionSummary Text
- dsStatus :: Lens' DistributionSummary Text
- dsLastModifiedTime :: Lens' DistributionSummary UTCTime
- dsDomainName :: Lens' DistributionSummary Text
- dsAliases :: Lens' DistributionSummary Aliases
- dsOrigins :: Lens' DistributionSummary Origins
- dsDefaultCacheBehavior :: Lens' DistributionSummary DefaultCacheBehavior
- dsCacheBehaviors :: Lens' DistributionSummary CacheBehaviors
- dsCustomErrorResponses :: Lens' DistributionSummary CustomErrorResponses
- dsComment :: Lens' DistributionSummary Text
- dsPriceClass :: Lens' DistributionSummary PriceClass
- dsEnabled :: Lens' DistributionSummary Bool
- dsViewerCertificate :: Lens' DistributionSummary ViewerCertificate
- dsRestrictions :: Lens' DistributionSummary Restrictions
- dsWebACLId :: Lens' DistributionSummary Text
- dsHTTPVersion :: Lens' DistributionSummary HTTPVersion
- dsIsIPV6Enabled :: Lens' DistributionSummary Bool
- data EncryptionEntities
- encryptionEntities :: Int -> EncryptionEntities
- eeItems :: Lens' EncryptionEntities [EncryptionEntity]
- eeQuantity :: Lens' EncryptionEntities Int
- data EncryptionEntity
- encryptionEntity :: Text -> Text -> FieldPatterns -> EncryptionEntity
- eePublicKeyId :: Lens' EncryptionEntity Text
- eeProviderId :: Lens' EncryptionEntity Text
- eeFieldPatterns :: Lens' EncryptionEntity FieldPatterns
- data FieldLevelEncryption
- fieldLevelEncryption :: Text -> UTCTime -> FieldLevelEncryptionConfig -> FieldLevelEncryption
- fleId :: Lens' FieldLevelEncryption Text
- fleLastModifiedTime :: Lens' FieldLevelEncryption UTCTime
- fleFieldLevelEncryptionConfig :: Lens' FieldLevelEncryption FieldLevelEncryptionConfig
- data FieldLevelEncryptionConfig
- fieldLevelEncryptionConfig :: Text -> FieldLevelEncryptionConfig
- flecQueryArgProfileConfig :: Lens' FieldLevelEncryptionConfig (Maybe QueryArgProfileConfig)
- flecContentTypeProfileConfig :: Lens' FieldLevelEncryptionConfig (Maybe ContentTypeProfileConfig)
- flecComment :: Lens' FieldLevelEncryptionConfig (Maybe Text)
- flecCallerReference :: Lens' FieldLevelEncryptionConfig Text
- data FieldLevelEncryptionList
- fieldLevelEncryptionList :: Int -> Int -> FieldLevelEncryptionList
- flelItems :: Lens' FieldLevelEncryptionList [FieldLevelEncryptionSummary]
- flelNextMarker :: Lens' FieldLevelEncryptionList (Maybe Text)
- flelMaxItems :: Lens' FieldLevelEncryptionList Int
- flelQuantity :: Lens' FieldLevelEncryptionList Int
- data FieldLevelEncryptionProfile
- fieldLevelEncryptionProfile :: Text -> UTCTime -> FieldLevelEncryptionProfileConfig -> FieldLevelEncryptionProfile
- flepId :: Lens' FieldLevelEncryptionProfile Text
- flepLastModifiedTime :: Lens' FieldLevelEncryptionProfile UTCTime
- flepFieldLevelEncryptionProfileConfig :: Lens' FieldLevelEncryptionProfile FieldLevelEncryptionProfileConfig
- data FieldLevelEncryptionProfileConfig
- fieldLevelEncryptionProfileConfig :: Text -> Text -> EncryptionEntities -> FieldLevelEncryptionProfileConfig
- flepcComment :: Lens' FieldLevelEncryptionProfileConfig (Maybe Text)
- flepcName :: Lens' FieldLevelEncryptionProfileConfig Text
- flepcCallerReference :: Lens' FieldLevelEncryptionProfileConfig Text
- flepcEncryptionEntities :: Lens' FieldLevelEncryptionProfileConfig EncryptionEntities
- data FieldLevelEncryptionProfileList
- fieldLevelEncryptionProfileList :: Int -> Int -> FieldLevelEncryptionProfileList
- fleplItems :: Lens' FieldLevelEncryptionProfileList [FieldLevelEncryptionProfileSummary]
- fleplNextMarker :: Lens' FieldLevelEncryptionProfileList (Maybe Text)
- fleplMaxItems :: Lens' FieldLevelEncryptionProfileList Int
- fleplQuantity :: Lens' FieldLevelEncryptionProfileList Int
- data FieldLevelEncryptionProfileSummary
- fieldLevelEncryptionProfileSummary :: Text -> UTCTime -> Text -> EncryptionEntities -> FieldLevelEncryptionProfileSummary
- flepsComment :: Lens' FieldLevelEncryptionProfileSummary (Maybe Text)
- flepsId :: Lens' FieldLevelEncryptionProfileSummary Text
- flepsLastModifiedTime :: Lens' FieldLevelEncryptionProfileSummary UTCTime
- flepsName :: Lens' FieldLevelEncryptionProfileSummary Text
- flepsEncryptionEntities :: Lens' FieldLevelEncryptionProfileSummary EncryptionEntities
- data FieldLevelEncryptionSummary
- fieldLevelEncryptionSummary :: Text -> UTCTime -> FieldLevelEncryptionSummary
- flesQueryArgProfileConfig :: Lens' FieldLevelEncryptionSummary (Maybe QueryArgProfileConfig)
- flesContentTypeProfileConfig :: Lens' FieldLevelEncryptionSummary (Maybe ContentTypeProfileConfig)
- flesComment :: Lens' FieldLevelEncryptionSummary (Maybe Text)
- flesId :: Lens' FieldLevelEncryptionSummary Text
- flesLastModifiedTime :: Lens' FieldLevelEncryptionSummary UTCTime
- data FieldPatterns
- fieldPatterns :: Int -> FieldPatterns
- fpItems :: Lens' FieldPatterns [Text]
- fpQuantity :: Lens' FieldPatterns Int
- data ForwardedValues
- forwardedValues :: Bool -> CookiePreference -> ForwardedValues
- fvQueryStringCacheKeys :: Lens' ForwardedValues (Maybe QueryStringCacheKeys)
- fvHeaders :: Lens' ForwardedValues (Maybe Headers)
- fvQueryString :: Lens' ForwardedValues Bool
- fvCookies :: Lens' ForwardedValues CookiePreference
- data GeoRestriction
- geoRestriction :: GeoRestrictionType -> Int -> GeoRestriction
- grItems :: Lens' GeoRestriction [Text]
- grRestrictionType :: Lens' GeoRestriction GeoRestrictionType
- grQuantity :: Lens' GeoRestriction Int
- data Headers
- headers :: Int -> Headers
- hItems :: Lens' Headers [Text]
- hQuantity :: Lens' Headers Int
- data Invalidation
- invalidation :: Text -> Text -> UTCTime -> InvalidationBatch -> Invalidation
- iId :: Lens' Invalidation Text
- iStatus :: Lens' Invalidation Text
- iCreateTime :: Lens' Invalidation UTCTime
- iInvalidationBatch :: Lens' Invalidation InvalidationBatch
- data InvalidationBatch
- invalidationBatch :: Paths -> Text -> InvalidationBatch
- ibPaths :: Lens' InvalidationBatch Paths
- ibCallerReference :: Lens' InvalidationBatch Text
- data InvalidationList
- invalidationList :: Text -> Int -> Bool -> Int -> InvalidationList
- ilItems :: Lens' InvalidationList [InvalidationSummary]
- ilNextMarker :: Lens' InvalidationList (Maybe Text)
- ilMarker :: Lens' InvalidationList Text
- ilMaxItems :: Lens' InvalidationList Int
- ilIsTruncated :: Lens' InvalidationList Bool
- ilQuantity :: Lens' InvalidationList Int
- data InvalidationSummary
- invalidationSummary :: Text -> UTCTime -> Text -> InvalidationSummary
- isId :: Lens' InvalidationSummary Text
- isCreateTime :: Lens' InvalidationSummary UTCTime
- isStatus :: Lens' InvalidationSummary Text
- data KeyPairIds
- keyPairIds :: Int -> KeyPairIds
- kpiItems :: Lens' KeyPairIds [Text]
- kpiQuantity :: Lens' KeyPairIds Int
- data LambdaFunctionAssociation
- lambdaFunctionAssociation :: Text -> EventType -> LambdaFunctionAssociation
- lfaLambdaFunctionARN :: Lens' LambdaFunctionAssociation Text
- lfaEventType :: Lens' LambdaFunctionAssociation EventType
- data LambdaFunctionAssociations
- lambdaFunctionAssociations :: Int -> LambdaFunctionAssociations
- lfaItems :: Lens' LambdaFunctionAssociations [LambdaFunctionAssociation]
- lfaQuantity :: Lens' LambdaFunctionAssociations Int
- data LoggingConfig
- loggingConfig :: Bool -> Bool -> Text -> Text -> LoggingConfig
- lcEnabled :: Lens' LoggingConfig Bool
- lcIncludeCookies :: Lens' LoggingConfig Bool
- lcBucket :: Lens' LoggingConfig Text
- lcPrefix :: Lens' LoggingConfig Text
- data Origin
- origin :: Text -> Text -> Origin
- oCustomHeaders :: Lens' Origin (Maybe CustomHeaders)
- oCustomOriginConfig :: Lens' Origin (Maybe CustomOriginConfig)
- oS3OriginConfig :: Lens' Origin (Maybe S3OriginConfig)
- oOriginPath :: Lens' Origin (Maybe Text)
- oId :: Lens' Origin Text
- oDomainName :: Lens' Origin Text
- data OriginCustomHeader
- originCustomHeader :: Text -> Text -> OriginCustomHeader
- ochHeaderName :: Lens' OriginCustomHeader Text
- ochHeaderValue :: Lens' OriginCustomHeader Text
- data OriginSSLProtocols
- originSSLProtocols :: Int -> OriginSSLProtocols
- ospQuantity :: Lens' OriginSSLProtocols Int
- ospItems :: Lens' OriginSSLProtocols [SSLProtocol]
- data Origins
- origins :: Int -> Origins
- oItems :: Lens' Origins (Maybe (NonEmpty Origin))
- oQuantity :: Lens' Origins Int
- data Paths
- paths :: Int -> Paths
- pItems :: Lens' Paths [Text]
- pQuantity :: Lens' Paths Int
- data PublicKey
- publicKey :: Text -> UTCTime -> PublicKeyConfig -> PublicKey
- pkId :: Lens' PublicKey Text
- pkCreatedTime :: Lens' PublicKey UTCTime
- pkPublicKeyConfig :: Lens' PublicKey PublicKeyConfig
- data PublicKeyConfig
- publicKeyConfig :: Text -> Text -> Text -> PublicKeyConfig
- pkcComment :: Lens' PublicKeyConfig (Maybe Text)
- pkcCallerReference :: Lens' PublicKeyConfig Text
- pkcName :: Lens' PublicKeyConfig Text
- pkcEncodedKey :: Lens' PublicKeyConfig Text
- data PublicKeyList
- publicKeyList :: Int -> Int -> PublicKeyList
- pklItems :: Lens' PublicKeyList [PublicKeySummary]
- pklNextMarker :: Lens' PublicKeyList (Maybe Text)
- pklMaxItems :: Lens' PublicKeyList Int
- pklQuantity :: Lens' PublicKeyList Int
- data PublicKeySummary
- publicKeySummary :: Text -> Text -> UTCTime -> Text -> PublicKeySummary
- pksComment :: Lens' PublicKeySummary (Maybe Text)
- pksId :: Lens' PublicKeySummary Text
- pksName :: Lens' PublicKeySummary Text
- pksCreatedTime :: Lens' PublicKeySummary UTCTime
- pksEncodedKey :: Lens' PublicKeySummary Text
- data QueryArgProfile
- queryArgProfile :: Text -> Text -> QueryArgProfile
- qapQueryArg :: Lens' QueryArgProfile Text
- qapProfileId :: Lens' QueryArgProfile Text
- data QueryArgProfileConfig
- queryArgProfileConfig :: Bool -> QueryArgProfileConfig
- qapcQueryArgProfiles :: Lens' QueryArgProfileConfig (Maybe QueryArgProfiles)
- qapcForwardWhenQueryArgProfileIsUnknown :: Lens' QueryArgProfileConfig Bool
- data QueryArgProfiles
- queryArgProfiles :: Int -> QueryArgProfiles
- qapItems :: Lens' QueryArgProfiles [QueryArgProfile]
- qapQuantity :: Lens' QueryArgProfiles Int
- data QueryStringCacheKeys
- queryStringCacheKeys :: Int -> QueryStringCacheKeys
- qsckItems :: Lens' QueryStringCacheKeys [Text]
- qsckQuantity :: Lens' QueryStringCacheKeys Int
- data Restrictions
- restrictions :: GeoRestriction -> Restrictions
- rGeoRestriction :: Lens' Restrictions GeoRestriction
- data S3Origin
- s3Origin :: Text -> Text -> S3Origin
- soDomainName :: Lens' S3Origin Text
- soOriginAccessIdentity :: Lens' S3Origin Text
- data S3OriginConfig
- s3OriginConfig :: Text -> S3OriginConfig
- socOriginAccessIdentity :: Lens' S3OriginConfig Text
- data Signer
- signer :: Signer
- sAWSAccountNumber :: Lens' Signer (Maybe Text)
- sKeyPairIds :: Lens' Signer (Maybe KeyPairIds)
- data StreamingDistribution
- streamingDistribution :: Text -> Text -> Text -> Text -> ActiveTrustedSigners -> StreamingDistributionConfig -> StreamingDistribution
- sdLastModifiedTime :: Lens' StreamingDistribution (Maybe UTCTime)
- sdId :: Lens' StreamingDistribution Text
- sdARN :: Lens' StreamingDistribution Text
- sdStatus :: Lens' StreamingDistribution Text
- sdDomainName :: Lens' StreamingDistribution Text
- sdActiveTrustedSigners :: Lens' StreamingDistribution ActiveTrustedSigners
- sdStreamingDistributionConfig :: Lens' StreamingDistribution StreamingDistributionConfig
- data StreamingDistributionConfig
- streamingDistributionConfig :: Text -> S3Origin -> Text -> TrustedSigners -> Bool -> StreamingDistributionConfig
- sdcAliases :: Lens' StreamingDistributionConfig (Maybe Aliases)
- sdcPriceClass :: Lens' StreamingDistributionConfig (Maybe PriceClass)
- sdcLogging :: Lens' StreamingDistributionConfig (Maybe StreamingLoggingConfig)
- sdcCallerReference :: Lens' StreamingDistributionConfig Text
- sdcS3Origin :: Lens' StreamingDistributionConfig S3Origin
- sdcComment :: Lens' StreamingDistributionConfig Text
- sdcTrustedSigners :: Lens' StreamingDistributionConfig TrustedSigners
- sdcEnabled :: Lens' StreamingDistributionConfig Bool
- data StreamingDistributionConfigWithTags
- streamingDistributionConfigWithTags :: StreamingDistributionConfig -> Tags -> StreamingDistributionConfigWithTags
- sdcwtStreamingDistributionConfig :: Lens' StreamingDistributionConfigWithTags StreamingDistributionConfig
- sdcwtTags :: Lens' StreamingDistributionConfigWithTags Tags
- data StreamingDistributionList
- streamingDistributionList :: Text -> Int -> Bool -> Int -> StreamingDistributionList
- sdlItems :: Lens' StreamingDistributionList [StreamingDistributionSummary]
- sdlNextMarker :: Lens' StreamingDistributionList (Maybe Text)
- sdlMarker :: Lens' StreamingDistributionList Text
- sdlMaxItems :: Lens' StreamingDistributionList Int
- sdlIsTruncated :: Lens' StreamingDistributionList Bool
- sdlQuantity :: Lens' StreamingDistributionList Int
- data StreamingDistributionSummary
- streamingDistributionSummary :: Text -> Text -> Text -> UTCTime -> Text -> S3Origin -> Aliases -> TrustedSigners -> Text -> PriceClass -> Bool -> StreamingDistributionSummary
- sdsId :: Lens' StreamingDistributionSummary Text
- sdsARN :: Lens' StreamingDistributionSummary Text
- sdsStatus :: Lens' StreamingDistributionSummary Text
- sdsLastModifiedTime :: Lens' StreamingDistributionSummary UTCTime
- sdsDomainName :: Lens' StreamingDistributionSummary Text
- sdsS3Origin :: Lens' StreamingDistributionSummary S3Origin
- sdsAliases :: Lens' StreamingDistributionSummary Aliases
- sdsTrustedSigners :: Lens' StreamingDistributionSummary TrustedSigners
- sdsComment :: Lens' StreamingDistributionSummary Text
- sdsPriceClass :: Lens' StreamingDistributionSummary PriceClass
- sdsEnabled :: Lens' StreamingDistributionSummary Bool
- data StreamingLoggingConfig
- streamingLoggingConfig :: Bool -> Text -> Text -> StreamingLoggingConfig
- slcEnabled :: Lens' StreamingLoggingConfig Bool
- slcBucket :: Lens' StreamingLoggingConfig Text
- slcPrefix :: Lens' StreamingLoggingConfig Text
- data Tag
- tag :: Text -> Tag
- tagValue :: Lens' Tag (Maybe Text)
- tagKey :: Lens' Tag Text
- data TagKeys
- tagKeys :: TagKeys
- tkItems :: Lens' TagKeys [Text]
- data Tags
- tags :: Tags
- tItems :: Lens' Tags [Tag]
- data TrustedSigners
- trustedSigners :: Bool -> Int -> TrustedSigners
- tsItems :: Lens' TrustedSigners [Text]
- tsEnabled :: Lens' TrustedSigners Bool
- tsQuantity :: Lens' TrustedSigners Int
- data ViewerCertificate
- viewerCertificate :: ViewerCertificate
- vcSSLSupportMethod :: Lens' ViewerCertificate (Maybe SSLSupportMethod)
- vcACMCertificateARN :: Lens' ViewerCertificate (Maybe Text)
- vcCertificateSource :: Lens' ViewerCertificate (Maybe CertificateSource)
- vcMinimumProtocolVersion :: Lens' ViewerCertificate (Maybe MinimumProtocolVersion)
- vcCertificate :: Lens' ViewerCertificate (Maybe Text)
- vcIAMCertificateId :: Lens' ViewerCertificate (Maybe Text)
- vcCloudFrontDefaultCertificate :: Lens' ViewerCertificate (Maybe Bool)
Service Configuration
cloudFront :: Service Source #
API version 2017-10-30
of the Amazon CloudFront SDK configuration.
Errors
_TooManyOriginCustomHeaders :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for TooManyOriginCustomHeaders' errors.
_InvalidTagging :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidTagging' errors.
_InvalidErrorCode :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidErrorCode' errors.
_NoSuchFieldLevelEncryptionProfile :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified profile for field-level encryption doesn't exist.
_FieldLevelEncryptionProfileInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified profile for field-level encryption is in use.
_InvalidOriginReadTimeout :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidOriginReadTimeout' errors.
_TooManyFieldLevelEncryptionProfiles :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of profiles for field-level encryption have been created.
_TooManyCacheBehaviors :: AsError a => Getting (First ServiceError) a ServiceError Source #
You cannot create more cache behaviors for the distribution.
_TooManyCloudFrontOriginAccessIdentities :: AsError a => Getting (First ServiceError) a ServiceError Source #
Processing your request would cause you to exceed the maximum number of origin access identities allowed.
_InvalidOriginAccessIdentity :: AsError a => Getting (First ServiceError) a ServiceError Source #
The origin access identity is not valid or doesn't exist.
_DistributionNotDisabled :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for DistributionNotDisabled' errors.
_NoSuchStreamingDistribution :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified streaming distribution does not exist.
_InconsistentQuantities :: AsError a => Getting (First ServiceError) a ServiceError Source #
The value of Quantity
and the size of Items
don't match.
_InvalidArgument :: AsError a => Getting (First ServiceError) a ServiceError Source #
The argument is invalid.
_InvalidOriginKeepaliveTimeout :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidOriginKeepaliveTimeout' errors.
_TooManyInvalidationsInProgress :: AsError a => Getting (First ServiceError) a ServiceError Source #
You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects.
_InvalidWebACLId :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidWebACLId' errors.
_TooManyQueryStringParameters :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for TooManyQueryStringParameters' errors.
_TooManyFieldLevelEncryptionQueryArgProfiles :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of query arg profiles for field-level encryption have been created.
_TooManyDistributionCNAMEs :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request contains more CNAMEs than are allowed per distribution.
_NoSuchCloudFrontOriginAccessIdentity :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified origin access identity does not exist.
_CloudFrontOriginAccessIdentityInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for CloudFrontOriginAccessIdentityInUse' errors.
_TooManyStreamingDistributions :: AsError a => Getting (First ServiceError) a ServiceError Source #
Processing your request would cause you to exceed the maximum number of streaming distributions allowed.
_CannotChangeImmutablePublicKeyFields :: AsError a => Getting (First ServiceError) a ServiceError Source #
You can't change the value of a public key.
_BatchTooLarge :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for BatchTooLarge' errors.
_TooManyCookieNamesInWhiteList :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request contains more cookie names in the whitelist than are allowed per cache behavior.
_InvalidLambdaFunctionAssociation :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified Lambda function association is invalid.
_InvalidForwardCookies :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request contains forward cookies option which doesn't match with the expectation for the whitelisted
list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.
_FieldLevelEncryptionConfigInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified configuration for field-level encryption is in use.
_TooManyTrustedSigners :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request contains more trusted signers than are allowed per distribution.
_InvalidOrigin :: AsError a => Getting (First ServiceError) a ServiceError Source #
The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.
_NoSuchInvalidation :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified invalidation does not exist.
_PublicKeyAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified public key already exists.
_NoSuchOrigin :: AsError a => Getting (First ServiceError) a ServiceError Source #
No origin exists with the specified Origin Id
.
_InvalidTTLOrder :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidTTLOrder' errors.
_StreamingDistributionNotDisabled :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for StreamingDistributionNotDisabled' errors.
_TooManyHeadersInForwardedValues :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for TooManyHeadersInForwardedValues' errors.
_NoSuchResource :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for NoSuchResource' errors.
_TooManyFieldLevelEncryptionEncryptionEntities :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of encryption entities for field-level encryption have been created.
_TooManyStreamingDistributionCNAMEs :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for TooManyStreamingDistributionCNAMEs' errors.
_FieldLevelEncryptionProfileAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified profile for field-level encryption already exists.
_ResourceInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for ResourceInUse' errors.
_InvalidRequiredProtocol :: AsError a => Getting (First ServiceError) a ServiceError Source #
This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the RequiredProtocols
element from your distribution configuration.
_TooManyDistributions :: AsError a => Getting (First ServiceError) a ServiceError Source #
Processing your request would cause you to exceed the maximum number of distributions allowed.
_TooManyCertificates :: AsError a => Getting (First ServiceError) a ServiceError Source #
You cannot create anymore custom SSL/TLS certificates.
_DistributionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
The caller reference you attempted to create the distribution with is associated with another distribution.
_TooManyDistributionsAssociatedToFieldLevelEncryptionConfig :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of distributions have been associated with the specified configuration for field-level encryption.
_InvalidQueryStringParameters :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidQueryStringParameters' errors.
_MissingBody :: AsError a => Getting (First ServiceError) a ServiceError Source #
This operation requires a body. Ensure that the body is present and the Content-Type
header is set.
_IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified configuration for field-level encryption can't be associated with the specified cache behavior.
_IllegalUpdate :: AsError a => Getting (First ServiceError) a ServiceError Source #
Origin and CallerReference
cannot be updated.
_InvalidIfMatchVersion :: AsError a => Getting (First ServiceError) a ServiceError Source #
The If-Match
version is missing or not valid for the distribution.
_FieldLevelEncryptionConfigAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified configuration for field-level encryption already exists.
_PreconditionFailed :: AsError a => Getting (First ServiceError) a ServiceError Source #
The precondition given in one or more of the request-header fields evaluated to false
.
_InvalidResponseCode :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidResponseCode' errors.
_InvalidHeadersForS3Origin :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidHeadersForS3Origin' errors.
_CNAMEAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for CNAMEAlreadyExists' errors.
_NoSuchPublicKey :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified public key doesn't exist.
_PublicKeyInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified public key is in use.
_TrustedSignerDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError Source #
One or more of your trusted signers don't exist.
_InvalidProtocolSettings :: AsError a => Getting (First ServiceError) a ServiceError Source #
You cannot specify SSLv3 as the minimum protocol version if you only want to support only clients that support Server Name Indication (SNI).
_TooManyPublicKeys :: AsError a => Getting (First ServiceError) a ServiceError Source #
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.
_NoSuchFieldLevelEncryptionConfig :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified configuration for field-level encryption doesn't exist.
_TooManyFieldLevelEncryptionContentTypeProfiles :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of content type profiles for field-level encryption have been created.
_TooManyFieldLevelEncryptionFieldPatterns :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of field patterns for field-level encryption have been created.
_TooManyFieldLevelEncryptionConfigs :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of configurations for field-level encryption have been created.
_TooManyLambdaFunctionAssociations :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request contains more Lambda function associations than are allowed per distribution.
_CloudFrontOriginAccessIdentityAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
If the CallerReference
is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig
is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists
error.
_TooManyOrigins :: AsError a => Getting (First ServiceError) a ServiceError Source #
You cannot create more origins for the distribution.
_InvalidRelativePath :: AsError a => Getting (First ServiceError) a ServiceError Source #
The relative path is too big, is not URL-encoded, or does not begin with a slash (/).
_StreamingDistributionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for StreamingDistributionAlreadyExists' errors.
_QueryArgProfileEmpty :: AsError a => Getting (First ServiceError) a ServiceError Source #
No profile specified for the field-level encryption query argument.
_InvalidMinimumProtocolVersion :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidMinimumProtocolVersion' errors.
_AccessDenied :: AsError a => Getting (First ServiceError) a ServiceError Source #
Access denied.
_InvalidViewerCertificate :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidViewerCertificate' errors.
_NoSuchDistribution :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified distribution does not exist.
_FieldLevelEncryptionProfileSizeExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum size of a profile for field-level encryption was exceeded.
_InvalidDefaultRootObject :: AsError a => Getting (First ServiceError) a ServiceError Source #
The default root object file name is too big or contains an invalid character.
_TooManyDistributionsWithLambdaAssociations :: AsError a => Getting (First ServiceError) a ServiceError Source #
Processing your request would cause the maximum number of distributions with Lambda function associations per owner to be exceeded.
_InvalidGeoRestrictionParameter :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidGeoRestrictionParameter' errors.
_InvalidLocationCode :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidLocationCode' errors.
CertificateSource
data CertificateSource Source #
Instances
EventType
Instances
Format
Instances
GeoRestrictionType
data GeoRestrictionType Source #
Instances
HTTPVersion
data HTTPVersion Source #
Instances
ItemSelection
data ItemSelection Source #
Instances
Method
Instances
MinimumProtocolVersion
data MinimumProtocolVersion Source #
Instances
OriginProtocolPolicy
data OriginProtocolPolicy Source #
Instances
PriceClass
data PriceClass Source #
Instances
SSLProtocol
data SSLProtocol Source #
Instances
SSLSupportMethod
data SSLSupportMethod Source #
Instances
ViewerProtocolPolicy
data ViewerProtocolPolicy Source #
Instances
ActiveTrustedSigners
data ActiveTrustedSigners Source #
A complex type that lists the AWS accounts, if any, that you included in the TrustedSigners
complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.
The Signer
complex type lists the AWS account number of the trusted signer or self
if the signer is the AWS account that created the distribution. The Signer
element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's AWS account. If no KeyPairId
element appears for a Signer
, that signer can't create signed URLs.
For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide .
See: activeTrustedSigners
smart constructor.
Instances
Creates a value of ActiveTrustedSigners
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
atsItems
- A complex type that contains oneSigner
complex type for each trusted signer that is specified in theTrustedSigners
complex type. For more information, seeActiveTrustedSigners
.atsEnabled
- Enabled istrue
if any of the AWS accounts listed in theTrustedSigners
complex type for this RTMP distribution have active CloudFront key pairs. If not,Enabled
isfalse
. For more information, seeActiveTrustedSigners
.atsQuantity
- A complex type that contains oneSigner
complex type for each trusted signer specified in theTrustedSigners
complex type. For more information, seeActiveTrustedSigners
.
atsItems :: Lens' ActiveTrustedSigners [Signer] Source #
A complex type that contains one Signer
complex type for each trusted signer that is specified in the TrustedSigners
complex type. For more information, see ActiveTrustedSigners
.
atsEnabled :: Lens' ActiveTrustedSigners Bool Source #
Enabled is true
if any of the AWS accounts listed in the TrustedSigners
complex type for this RTMP distribution have active CloudFront key pairs. If not, Enabled
is false
. For more information, see ActiveTrustedSigners
.
atsQuantity :: Lens' ActiveTrustedSigners Int Source #
A complex type that contains one Signer
complex type for each trusted signer specified in the TrustedSigners
complex type. For more information, see ActiveTrustedSigners
.
Aliases
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
See: aliases
smart constructor.
Instances
Eq Aliases Source # | |
Data Aliases Source # | |
Defined in Network.AWS.CloudFront.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Aliases -> c Aliases # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Aliases # toConstr :: Aliases -> Constr # dataTypeOf :: Aliases -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Aliases) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Aliases) # gmapT :: (forall b. Data b => b -> b) -> Aliases -> Aliases # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Aliases -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Aliases -> r # gmapQ :: (forall d. Data d => d -> u) -> Aliases -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Aliases -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Aliases -> m Aliases # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Aliases -> m Aliases # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Aliases -> m Aliases # | |
Read Aliases Source # | |
Show Aliases Source # | |
Generic Aliases Source # | |
Hashable Aliases Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
FromXML Aliases Source # | |
ToXML Aliases Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
NFData Aliases Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
type Rep Aliases Source # | |
Defined in Network.AWS.CloudFront.Types.Product type Rep Aliases = D1 (MetaData "Aliases" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.6.1-4jyCxtauObV85CKHrmGQe5" False) (C1 (MetaCons "Aliases'" PrefixI True) (S1 (MetaSel (Just "_aItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_aQuantity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))) |
Creates a value of Aliases
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aItems :: Lens' Aliases [Text] Source #
A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.
aQuantity :: Lens' Aliases Int Source #
The number of CNAME aliases, if any, that you want to associate with this distribution.
AllowedMethods
data AllowedMethods Source #
A complex type that controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin. There are three choices:
- CloudFront forwards only
GET
andHEAD
requests. - CloudFront forwards only
GET
,HEAD
, andOPTIONS
requests. - CloudFront forwards
GET, HEAD, OPTIONS, PUT, PATCH, POST
, andDELETE
requests.
If you pick the third choice, you may need to restrict access to your Amazon S3 bucket or to your custom origin so users can't perform operations that you don't want them to. For example, you might not want users to have permissions to delete objects from your origin.
See: allowedMethods
smart constructor.
Instances
Creates a value of AllowedMethods
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
amCachedMethods
- Undocumented member.amQuantity
- The number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (forGET
andHEAD
requests), 3 (forGET
,HEAD
, andOPTIONS
requests) and 7 (forGET, HEAD, OPTIONS, PUT, PATCH, POST
, andDELETE
requests).amItems
- A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.
amCachedMethods :: Lens' AllowedMethods (Maybe CachedMethods) Source #
Undocumented member.
amQuantity :: Lens' AllowedMethods Int Source #
The number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (for GET
and HEAD
requests), 3 (for GET
, HEAD
, and OPTIONS
requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST
, and DELETE
requests).
amItems :: Lens' AllowedMethods [Method] Source #
A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.
CacheBehavior
data CacheBehavior Source #
A complex type that describes how CloudFront processes requests.
You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin is never used.
For the current limit on the number of cache behaviors that you can add to a distribution, see Amazon CloudFront Limits in the AWS General Reference .
If you don't want to specify any cache behaviors, include only an empty CacheBehaviors
element. Don't include an empty CacheBehavior
element, or CloudFront returns a MalformedXML
error.
To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors
element.
To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.
For more information about cache behaviors, see Cache Behaviors in the Amazon CloudFront Developer Guide .
See: cacheBehavior
smart constructor.
Instances
:: Text | |
-> Text | |
-> ForwardedValues | |
-> TrustedSigners | |
-> ViewerProtocolPolicy | |
-> Integer | |
-> CacheBehavior |
Creates a value of CacheBehavior
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cbAllowedMethods
- Undocumented member.cbLambdaFunctionAssociations
- A complex type that contains zero or more Lambda function associations for a cache behavior.cbMaxTTL
- The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such asCache-Control max-age
,Cache-Control s-maxage
, andExpires
to objects. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide .cbCompress
- Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide .cbSmoothStreaming
- Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specifytrue
; if not, specifyfalse
. If you specifytrue
forSmoothStreaming
, you can still distribute other content using this cache behavior if the content matches the value ofPathPattern
.cbDefaultTTL
- The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such asCache-Control max-age
,Cache-Control s-maxage
, andExpires
to objects. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide .cbFieldLevelEncryptionId
- Undocumented member.cbPathPattern
- The pattern (for example,images/*.jpg
) that specifies which requests to apply the behavior to. When CloudFront receives a viewer request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is*
and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior. For more information, see Path Pattern in the Amazon CloudFront Developer Guide .cbTargetOriginId
- The value ofID
for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.cbForwardedValues
- A complex type that specifies how CloudFront handles query strings and cookies.cbTrustedSigners
- A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match thePathPattern
for this cache behavior, specifytrue
forEnabled
, and specify the applicable values forQuantity
andItems
. For more information, see Serving Private Content through CloudFront in the Amazon Amazon CloudFront Developer Guide . If you don't want to require signed URLs in requests for objects that matchPathPattern
, specifyfalse
forEnabled
and0
forQuantity
. OmitItems
. To add, change, or remove one or more trusted signers, changeEnabled
totrue
(if it's currentlyfalse
), changeQuantity
as applicable, and specify all of the trusted signers that you want to include in the updated distribution.cbViewerProtocolPolicy
- The protocol that viewers can use to access the files in the origin specified byTargetOriginId
when a request matches the path pattern inPathPattern
. You can specify the following options: *allow-all
: Viewers can use HTTP or HTTPS. *redirect-to-https
: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL. *https-only
: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden). For more information about requiring the HTTPS protocol, see Using an HTTPS Connection to Access Your Objects in the Amazon CloudFront Developer Guide .cbMinTTL
- The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon Amazon CloudFront Developer Guide . You must specify0
forMinTTL
if you configure CloudFront to forward all headers to your origin (underHeaders
, if you specify1
forQuantity
and*
forName
).
cbAllowedMethods :: Lens' CacheBehavior (Maybe AllowedMethods) Source #
Undocumented member.
cbLambdaFunctionAssociations :: Lens' CacheBehavior (Maybe LambdaFunctionAssociations) Source #
A complex type that contains zero or more Lambda function associations for a cache behavior.
cbMaxTTL :: Lens' CacheBehavior (Maybe Integer) Source #
The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as Cache-Control max-age
, Cache-Control s-maxage
, and Expires
to objects. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide .
cbCompress :: Lens' CacheBehavior (Maybe Bool) Source #
Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide .
cbSmoothStreaming :: Lens' CacheBehavior (Maybe Bool) Source #
Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true
; if not, specify false
. If you specify true
for SmoothStreaming
, you can still distribute other content using this cache behavior if the content matches the value of PathPattern
.
cbDefaultTTL :: Lens' CacheBehavior (Maybe Integer) Source #
The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as Cache-Control max-age
, Cache-Control s-maxage
, and Expires
to objects. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide .
cbFieldLevelEncryptionId :: Lens' CacheBehavior (Maybe Text) Source #
Undocumented member.
cbPathPattern :: Lens' CacheBehavior Text Source #
The pattern (for example, images/*.jpg
) that specifies which requests to apply the behavior to. When CloudFront receives a viewer request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is *
and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior. For more information, see Path Pattern in the Amazon CloudFront Developer Guide .
cbTargetOriginId :: Lens' CacheBehavior Text Source #
The value of ID
for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.
cbForwardedValues :: Lens' CacheBehavior ForwardedValues Source #
A complex type that specifies how CloudFront handles query strings and cookies.
cbTrustedSigners :: Lens' CacheBehavior TrustedSigners Source #
A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern
for this cache behavior, specify true
for Enabled
, and specify the applicable values for Quantity
and Items
. For more information, see Serving Private Content through CloudFront in the Amazon Amazon CloudFront Developer Guide . If you don't want to require signed URLs in requests for objects that match PathPattern
, specify false
for Enabled
and 0
for Quantity
. Omit Items
. To add, change, or remove one or more trusted signers, change Enabled
to true
(if it's currently false
), change Quantity
as applicable, and specify all of the trusted signers that you want to include in the updated distribution.
cbViewerProtocolPolicy :: Lens' CacheBehavior ViewerProtocolPolicy Source #
The protocol that viewers can use to access the files in the origin specified by TargetOriginId
when a request matches the path pattern in PathPattern
. You can specify the following options: * allow-all
: Viewers can use HTTP or HTTPS. * redirect-to-https
: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL. * https-only
: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden). For more information about requiring the HTTPS protocol, see Using an HTTPS Connection to Access Your Objects in the Amazon CloudFront Developer Guide .
cbMinTTL :: Lens' CacheBehavior Integer Source #
The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon Amazon CloudFront Developer Guide . You must specify 0
for MinTTL
if you configure CloudFront to forward all headers to your origin (under Headers
, if you specify 1
for Quantity
and *
for Name
).
CacheBehaviors
data CacheBehaviors Source #
A complex type that contains zero or more CacheBehavior
elements.
See: cacheBehaviors
smart constructor.
Instances
Creates a value of CacheBehaviors
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cbItems
- Optional: A complex type that contains cache behaviors for this distribution. IfQuantity
is0
, you can omitItems
.cbQuantity
- The number of cache behaviors for this distribution.
cbItems :: Lens' CacheBehaviors [CacheBehavior] Source #
Optional: A complex type that contains cache behaviors for this distribution. If Quantity
is 0
, you can omit Items
.
cbQuantity :: Lens' CacheBehaviors Int Source #
The number of cache behaviors for this distribution.
CachedMethods
data CachedMethods Source #
A complex type that controls whether CloudFront caches the response to requests using the specified HTTP methods. There are two choices:
- CloudFront caches responses to
GET
andHEAD
requests. - CloudFront caches responses to
GET
,HEAD
, andOPTIONS
requests.
If you pick the second choice for your Amazon S3 Origin, you may need to forward Access-Control-Request-Method, Access-Control-Request-Headers, and Origin headers for the responses to be cached correctly.
See: cachedMethods
smart constructor.
Instances
Creates a value of CachedMethods
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cmQuantity
- The number of HTTP methods for which you want CloudFront to cache responses. Valid values are2
(for caching responses toGET
andHEAD
requests) and3
(for caching responses toGET
,HEAD
, andOPTIONS
requests).cmItems
- A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
cmQuantity :: Lens' CachedMethods Int Source #
The number of HTTP methods for which you want CloudFront to cache responses. Valid values are 2
(for caching responses to GET
and HEAD
requests) and 3
(for caching responses to GET
, HEAD
, and OPTIONS
requests).
cmItems :: Lens' CachedMethods [Method] Source #
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
CloudFrontOriginAccessIdentity
data CloudFrontOriginAccessIdentity Source #
CloudFront origin access identity.
See: cloudFrontOriginAccessIdentity
smart constructor.
Instances
cloudFrontOriginAccessIdentity Source #
Creates a value of CloudFrontOriginAccessIdentity
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cfoaiCloudFrontOriginAccessIdentityConfig
- The current configuration information for the identity.cfoaiId
- The ID for the origin access identity, for example,E74FTE3AJFJ256A
.cfoaiS3CanonicalUserId
- The Amazon S3 canonical user ID for the origin access identity, used when giving the origin access identity read permission to an object in Amazon S3.
cfoaiCloudFrontOriginAccessIdentityConfig :: Lens' CloudFrontOriginAccessIdentity (Maybe CloudFrontOriginAccessIdentityConfig) Source #
The current configuration information for the identity.
cfoaiId :: Lens' CloudFrontOriginAccessIdentity Text Source #
The ID for the origin access identity, for example, E74FTE3AJFJ256A
.
cfoaiS3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentity Text Source #
The Amazon S3 canonical user ID for the origin access identity, used when giving the origin access identity read permission to an object in Amazon S3.
CloudFrontOriginAccessIdentityConfig
data CloudFrontOriginAccessIdentityConfig Source #
Origin access identity configuration. Send a GET
request to the /CloudFront API version CloudFrontidentity ID/config
resource.
See: cloudFrontOriginAccessIdentityConfig
smart constructor.
Instances
cloudFrontOriginAccessIdentityConfig Source #
Creates a value of CloudFrontOriginAccessIdentityConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cfoaicCallerReference
- A unique number that ensures the request can't be replayed. If theCallerReference
is new (no matter the content of theCloudFrontOriginAccessIdentityConfig
object), a new origin access identity is created. If theCallerReference
is a value already sent in a previous identity request, and the content of theCloudFrontOriginAccessIdentityConfig
is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If theCallerReference
is a value you already sent in a previous request to create an identity, but the content of theCloudFrontOriginAccessIdentityConfig
is different from the original request, CloudFront returns aCloudFrontOriginAccessIdentityAlreadyExists
error.cfoaicComment
- Any comments you want to include about the origin access identity.
cfoaicCallerReference :: Lens' CloudFrontOriginAccessIdentityConfig Text Source #
A unique number that ensures the request can't be replayed. If the CallerReference
is new (no matter the content of the CloudFrontOriginAccessIdentityConfig
object), a new origin access identity is created. If the CallerReference
is a value already sent in a previous identity request, and the content of the CloudFrontOriginAccessIdentityConfig
is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference
is a value you already sent in a previous request to create an identity, but the content of the CloudFrontOriginAccessIdentityConfig
is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists
error.
cfoaicComment :: Lens' CloudFrontOriginAccessIdentityConfig Text Source #
Any comments you want to include about the origin access identity.
CloudFrontOriginAccessIdentityList
data CloudFrontOriginAccessIdentityList Source #
Lists the origin access identities for CloudFront.Send a GET
request to the /CloudFront API version origin-access-identitycloudfront
resource. The response includes a CloudFrontOriginAccessIdentityList
element with zero or more CloudFrontOriginAccessIdentitySummary
child elements. By default, your entire list of origin access identities is returned in one single page. If the list is long, you can paginate it using the MaxItems
and Marker
parameters.
See: cloudFrontOriginAccessIdentityList
smart constructor.
Instances
cloudFrontOriginAccessIdentityList Source #
:: Text | |
-> Int | |
-> Bool | |
-> Int | |
-> CloudFrontOriginAccessIdentityList |
Creates a value of CloudFrontOriginAccessIdentityList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cfoailItems
- A complex type that contains oneCloudFrontOriginAccessIdentitySummary
element for each origin access identity that was created by the current AWS account.cfoailNextMarker
- IfIsTruncated
istrue
, this element is present and contains the value you can use for theMarker
request parameter to continue listing your origin access identities where they left off.cfoailMarker
- Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set theMarker
to the value of theNextMarker
from the current page's response (which is also the ID of the last identity on that page).cfoailMaxItems
- The maximum number of origin access identities you want in the response body.cfoailIsTruncated
- A flag that indicates whether more origin access identities remain to be listed. If your results were truncated, you can make a follow-up pagination request using theMarker
request parameter to retrieve more items in the list.cfoailQuantity
- The number of CloudFront origin access identities that were created by the current AWS account.
cfoailItems :: Lens' CloudFrontOriginAccessIdentityList [CloudFrontOriginAccessIdentitySummary] Source #
A complex type that contains one CloudFrontOriginAccessIdentitySummary
element for each origin access identity that was created by the current AWS account.
cfoailNextMarker :: Lens' CloudFrontOriginAccessIdentityList (Maybe Text) Source #
If IsTruncated
is true
, this element is present and contains the value you can use for the Marker
request parameter to continue listing your origin access identities where they left off.
cfoailMarker :: Lens' CloudFrontOriginAccessIdentityList Text Source #
Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set the Marker
to the value of the NextMarker
from the current page's response (which is also the ID of the last identity on that page).
cfoailMaxItems :: Lens' CloudFrontOriginAccessIdentityList Int Source #
The maximum number of origin access identities you want in the response body.
cfoailIsTruncated :: Lens' CloudFrontOriginAccessIdentityList Bool Source #
A flag that indicates whether more origin access identities remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker
request parameter to retrieve more items in the list.
cfoailQuantity :: Lens' CloudFrontOriginAccessIdentityList Int Source #
The number of CloudFront origin access identities that were created by the current AWS account.
CloudFrontOriginAccessIdentitySummary
data CloudFrontOriginAccessIdentitySummary Source #
Summary of the information about a CloudFront origin access identity.
See: cloudFrontOriginAccessIdentitySummary
smart constructor.
Instances
cloudFrontOriginAccessIdentitySummary Source #
Creates a value of CloudFrontOriginAccessIdentitySummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cfoaisId
- The ID for the origin access identity. For example:E74FTE3AJFJ256A
.cfoaisS3CanonicalUserId
- The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.cfoaisComment
- The comment for this origin access identity, as originally specified when created.
cfoaisId :: Lens' CloudFrontOriginAccessIdentitySummary Text Source #
The ID for the origin access identity. For example: E74FTE3AJFJ256A
.
cfoaisS3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentitySummary Text Source #
The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.
cfoaisComment :: Lens' CloudFrontOriginAccessIdentitySummary Text Source #
The comment for this origin access identity, as originally specified when created.
ContentTypeProfile
data ContentTypeProfile Source #
A field-level encryption content type profile.
See: contentTypeProfile
smart constructor.
Instances
Creates a value of ContentTypeProfile
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ctpProfileId
- The profile ID for a field-level encryption content type-profile mapping.ctpFormat
- The format for a field-level encryption content type-profile mapping.ctpContentType
- The content type for a field-level encryption content type-profile mapping.
ctpProfileId :: Lens' ContentTypeProfile (Maybe Text) Source #
The profile ID for a field-level encryption content type-profile mapping.
ctpFormat :: Lens' ContentTypeProfile Format Source #
The format for a field-level encryption content type-profile mapping.
ctpContentType :: Lens' ContentTypeProfile Text Source #
The content type for a field-level encryption content type-profile mapping.
ContentTypeProfileConfig
data ContentTypeProfileConfig Source #
The configuration for a field-level encryption content type-profile mapping.
See: contentTypeProfileConfig
smart constructor.
Instances
contentTypeProfileConfig Source #
Creates a value of ContentTypeProfileConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ctpcContentTypeProfiles
- The configuration for a field-level encryption content type-profile.ctpcForwardWhenContentTypeIsUnknown
- 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.
ctpcContentTypeProfiles :: Lens' ContentTypeProfileConfig (Maybe ContentTypeProfiles) Source #
The configuration for a field-level encryption content type-profile.
ctpcForwardWhenContentTypeIsUnknown :: Lens' ContentTypeProfileConfig Bool Source #
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.
ContentTypeProfiles
data ContentTypeProfiles Source #
Field-level encryption content type-profile.
See: contentTypeProfiles
smart constructor.
Instances
Creates a value of ContentTypeProfiles
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ctpItems
- Items in a field-level encryption content type-profile mapping.ctpQuantity
- The number of field-level encryption content type-profile mappings.
ctpItems :: Lens' ContentTypeProfiles [ContentTypeProfile] Source #
Items in a field-level encryption content type-profile mapping.
ctpQuantity :: Lens' ContentTypeProfiles Int Source #
The number of field-level encryption content type-profile mappings.
CookieNames
data CookieNames Source #
A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide .
See: cookieNames
smart constructor.
Instances
:: Int | |
-> CookieNames |
Creates a value of CookieNames
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cnItems
- A complex type that contains oneName
element for each cookie that you want CloudFront to forward to the origin for this cache behavior.cnQuantity
- The number of different cookies that you want CloudFront to forward to the origin for this cache behavior.
cnItems :: Lens' CookieNames [Text] Source #
A complex type that contains one Name
element for each cookie that you want CloudFront to forward to the origin for this cache behavior.
cnQuantity :: Lens' CookieNames Int Source #
The number of different cookies that you want CloudFront to forward to the origin for this cache behavior.
CookiePreference
data CookiePreference Source #
A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide .
See: cookiePreference
smart constructor.
Instances
Creates a value of CookiePreference
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpWhitelistedNames
- Required if you specifywhitelist
for the value ofForward:
. 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 specifyall
or none for the value ofForward
, omitWhitelistedNames
. If you change the value ofForward
fromwhitelist
to all or none and you don't delete theWhitelistedNames
element and its child elements, CloudFront deletes them automatically. For the current limit on the number of cookie names that you can whitelist for each cache behavior, see Amazon CloudFront Limits in the AWS General Reference .cpForward
- Specifies which cookies to forward to the origin for this cache behavior: all, none, or the list of cookies specified in theWhitelistedNames
complex type. Amazon S3 doesn't process cookies. When the cache behavior is forwarding requests to an Amazon S3 origin, specify none for theForward
element.
cpWhitelistedNames :: Lens' CookiePreference (Maybe CookieNames) Source #
Required if you specify whitelist
for the value of Forward:
. A complex type that specifies how many different cookies you want CloudFront to forward to the origin for this cache behavior and, if you want to forward selected cookies, the names of those cookies. If you specify all
or none for the value of Forward
, omit WhitelistedNames
. If you change the value of Forward
from whitelist
to all or none and you don't delete the WhitelistedNames
element and its child elements, CloudFront deletes them automatically. For the current limit on the number of cookie names that you can whitelist for each cache behavior, see Amazon CloudFront Limits in the AWS General Reference .
cpForward :: Lens' CookiePreference ItemSelection Source #
Specifies which cookies to forward to the origin for this cache behavior: all, none, or the list of cookies specified in the WhitelistedNames
complex type. Amazon S3 doesn't process cookies. When the cache behavior is forwarding requests to an Amazon S3 origin, specify none for the Forward
element.
CustomErrorResponse
data CustomErrorResponse Source #
A complex type that controls:
- Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
- How long CloudFront caches HTTP status codes in the 4xx and 5xx range.
For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide .
See: customErrorResponse
smart constructor.
Instances
Creates a value of CustomErrorResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ceResponsePagePath
- The path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified byErrorCode
, for example,4xx-errors403-forbidden.html
. If you want to store your objects and your custom error pages in different locations, your distribution must include a cache behavior for which the following is true: * The value ofPathPattern
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 ofTargetOriginId
specifies the value of theID
element for the origin that contains your custom error pages. If you specify a value forResponsePagePath
, you must also specify a value forResponseCode
. If you don't want to specify a value, include an empty element,ResponsePagePath
, in the XML document. We recommend that you store custom error pages in an Amazon S3 bucket. If you store custom error pages on an HTTP server and the server starts to return 5xx errors, CloudFront can't get the files that you want to return to viewers because the origin server is unavailable.ceResponseCode
- The HTTP status code that you want CloudFront to return to the viewer along with the custom error page. There are a variety of reasons that you might want CloudFront to return a status code different from the status code that your origin returned to CloudFront, for example: * Some Internet devices (some firewalls and corporate proxies, for example) intercept HTTP 4xx and 5xx and prevent the response from being returned to the viewer. If you substitute200
, the response typically won't be intercepted. * If you don't care about distinguishing among different client errors or server errors, you can specify400
or500
as theResponseCode
for all 4xx or 5xx errors. * You might want to return a200
status code (OK) and static website so your customers don't know that your website is down. If you specify a value forResponseCode
, you must also specify a value forResponsePagePath
. If you don't want to specify a value, include an empty element,ResponseCode
, in the XML document.ceErrorCachingMinTTL
- The minimum amount of time, in seconds, that you want CloudFront to cache the HTTP status code specified inErrorCode
. When this time period has elapsed, CloudFront queries your origin to see whether the problem that caused the error has been resolved and the requested object is now available. If you don't want to specify a value, include an empty element,ErrorCachingMinTTL
, in the XML document. For more information, see Customizing Error Responses in the Amazon CloudFront Developer Guide .ceErrorCode
- The HTTP status code for which you want to specify a custom error page and/or a caching duration.
ceResponsePagePath :: Lens' CustomErrorResponse (Maybe Text) Source #
The path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ErrorCode
, for example, 4xx-errors403-forbidden.html
. If you want to store your objects and your custom error pages in different locations, your distribution must include a cache behavior for which the following is true: * The value of PathPattern
matches the path to your custom error messages. For example, suppose you saved custom error pages for 4xx errors in an Amazon S3 bucket in a directory named /4xx-errors
. Your distribution must include a cache behavior for which the path pattern routes requests for your custom error pages to that location, for example, 4xx-errors*
. * The value of TargetOriginId
specifies the value of the ID
element for the origin that contains your custom error pages. If you specify a value for ResponsePagePath
, you must also specify a value for ResponseCode
. If you don't want to specify a value, include an empty element, ResponsePagePath
, in the XML document. We recommend that you store custom error pages in an Amazon S3 bucket. If you store custom error pages on an HTTP server and the server starts to return 5xx errors, CloudFront can't get the files that you want to return to viewers because the origin server is unavailable.
ceResponseCode :: Lens' CustomErrorResponse (Maybe Text) Source #
The HTTP status code that you want CloudFront to return to the viewer along with the custom error page. There are a variety of reasons that you might want CloudFront to return a status code different from the status code that your origin returned to CloudFront, for example: * Some Internet devices (some firewalls and corporate proxies, for example) intercept HTTP 4xx and 5xx and prevent the response from being returned to the viewer. If you substitute 200
, the response typically won't be intercepted. * If you don't care about distinguishing among different client errors or server errors, you can specify 400
or 500
as the ResponseCode
for all 4xx or 5xx errors. * You might want to return a 200
status code (OK) and static website so your customers don't know that your website is down. If you specify a value for ResponseCode
, you must also specify a value for ResponsePagePath
. If you don't want to specify a value, include an empty element, ResponseCode
, in the XML document.
ceErrorCachingMinTTL :: Lens' CustomErrorResponse (Maybe Integer) Source #
The minimum amount of time, in seconds, that you want CloudFront to cache the HTTP status code specified in ErrorCode
. When this time period has elapsed, CloudFront queries your origin to see whether the problem that caused the error has been resolved and the requested object is now available. If you don't want to specify a value, include an empty element, ErrorCachingMinTTL
, in the XML document. For more information, see Customizing Error Responses in the Amazon CloudFront Developer Guide .
ceErrorCode :: Lens' CustomErrorResponse Int Source #
The HTTP status code for which you want to specify a custom error page and/or a caching duration.
CustomErrorResponses
data CustomErrorResponses Source #
A complex type that controls:
- Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
- How long CloudFront caches HTTP status codes in the 4xx and 5xx range.
For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide .
See: customErrorResponses
smart constructor.
Instances
Creates a value of CustomErrorResponses
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cerItems
- A complex type that contains aCustomErrorResponse
element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.cerQuantity
- The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. IfQuantity
is0
, you can omitItems
.
cerItems :: Lens' CustomErrorResponses [CustomErrorResponse] Source #
A complex type that contains a CustomErrorResponse
element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.
cerQuantity :: Lens' CustomErrorResponses Int Source #
The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. If Quantity
is 0
, you can omit Items
.
CustomHeaders
data CustomHeaders Source #
A complex type that contains the list of Custom Headers for each origin.
See: customHeaders
smart constructor.
Instances
Creates a value of CustomHeaders
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
chItems
- Optional : A list that contains oneOriginCustomHeader
element for each custom header that you want CloudFront to forward to the origin. If Quantity is0
, omitItems
.chQuantity
- The number of custom headers, if any, for this distribution.
chItems :: Lens' CustomHeaders [OriginCustomHeader] Source #
Optional : A list that contains one OriginCustomHeader
element for each custom header that you want CloudFront to forward to the origin. If Quantity is 0
, omit Items
.
chQuantity :: Lens' CustomHeaders Int Source #
The number of custom headers, if any, for this distribution.
CustomOriginConfig
data CustomOriginConfig Source #
A customer origin.
See: customOriginConfig
smart constructor.
Instances
:: Int | |
-> Int | |
-> OriginProtocolPolicy | |
-> CustomOriginConfig |
Creates a value of CustomOriginConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cocOriginKeepaliveTimeout
- You can create a custom keep-alive timeout. All timeout units are in seconds. The default keep-alive timeout is 5 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 1 second; the maximum is 60 seconds. If you need to increase the maximum time limit, contact the AWS Support Center .cocOriginReadTimeout
- You can create a custom origin read timeout. All timeout units are in seconds. The default origin read timeout is 30 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 4 seconds; the maximum is 60 seconds. If you need to increase the maximum time limit, contact the AWS Support Center .cocOriginSSLProtocols
- The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.cocHTTPPort
- The HTTP port the custom origin listens on.cocHTTPSPort
- The HTTPS port the custom origin listens on.cocOriginProtocolPolicy
- The origin protocol policy to apply to your origin.
cocOriginKeepaliveTimeout :: Lens' CustomOriginConfig (Maybe Int) Source #
You can create a custom keep-alive timeout. All timeout units are in seconds. The default keep-alive timeout is 5 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 1 second; the maximum is 60 seconds. If you need to increase the maximum time limit, contact the AWS Support Center .
cocOriginReadTimeout :: Lens' CustomOriginConfig (Maybe Int) Source #
You can create a custom origin read timeout. All timeout units are in seconds. The default origin read timeout is 30 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 4 seconds; the maximum is 60 seconds. If you need to increase the maximum time limit, contact the AWS Support Center .
cocOriginSSLProtocols :: Lens' CustomOriginConfig (Maybe OriginSSLProtocols) Source #
The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
cocHTTPPort :: Lens' CustomOriginConfig Int Source #
The HTTP port the custom origin listens on.
cocHTTPSPort :: Lens' CustomOriginConfig Int Source #
The HTTPS port the custom origin listens on.
cocOriginProtocolPolicy :: Lens' CustomOriginConfig OriginProtocolPolicy Source #
The origin protocol policy to apply to your origin.
DefaultCacheBehavior
data DefaultCacheBehavior Source #
A complex type that describes the default cache behavior if you 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.
See: defaultCacheBehavior
smart constructor.
Instances
Creates a value of DefaultCacheBehavior
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcbAllowedMethods
- Undocumented member.dcbLambdaFunctionAssociations
- A complex type that contains zero or more Lambda function associations for a cache behavior.dcbMaxTTL
- Undocumented member.dcbCompress
- Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specifytrue
; if not, specifyfalse
. For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide .dcbSmoothStreaming
- Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specifytrue
; if not, specifyfalse
. If you specifytrue
forSmoothStreaming
, you can still distribute other content using this cache behavior if the content matches the value ofPathPattern
.dcbDefaultTTL
- The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such asCache-Control max-age
,Cache-Control s-maxage
, andExpires
to objects. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide .dcbFieldLevelEncryptionId
- Undocumented member.dcbTargetOriginId
- The value ofID
for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.dcbForwardedValues
- A complex type that specifies how CloudFront handles query strings and cookies.dcbTrustedSigners
- A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match thePathPattern
for this cache behavior, specifytrue
forEnabled
, and specify the applicable values forQuantity
andItems
. For more information, see Serving Private Content through CloudFront in the Amazon Amazon CloudFront Developer Guide . If you don't want to require signed URLs in requests for objects that matchPathPattern
, specifyfalse
forEnabled
and0
forQuantity
. OmitItems
. To add, change, or remove one or more trusted signers, changeEnabled
totrue
(if it's currentlyfalse
), changeQuantity
as applicable, and specify all of the trusted signers that you want to include in the updated distribution.dcbViewerProtocolPolicy
- The protocol that viewers can use to access the files in the origin specified byTargetOriginId
when a request matches the path pattern inPathPattern
. You can specify the following options: *allow-all
: Viewers can use HTTP or HTTPS. *redirect-to-https
: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL. *https-only
: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden). For more information about requiring the HTTPS protocol, see Using an HTTPS Connection to Access Your Objects in the Amazon CloudFront Developer Guide .dcbMinTTL
- The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon Amazon CloudFront Developer Guide . You must specify0
forMinTTL
if you configure CloudFront to forward all headers to your origin (underHeaders
, if you specify1
forQuantity
and*
forName
).
dcbAllowedMethods :: Lens' DefaultCacheBehavior (Maybe AllowedMethods) Source #
Undocumented member.
dcbLambdaFunctionAssociations :: Lens' DefaultCacheBehavior (Maybe LambdaFunctionAssociations) Source #
A complex type that contains zero or more Lambda function associations for a cache behavior.
dcbCompress :: Lens' DefaultCacheBehavior (Maybe Bool) Source #
Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true
; if not, specify false
. For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide .
dcbSmoothStreaming :: Lens' DefaultCacheBehavior (Maybe Bool) Source #
Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true
; if not, specify false
. If you specify true
for SmoothStreaming
, you can still distribute other content using this cache behavior if the content matches the value of PathPattern
.
dcbDefaultTTL :: Lens' DefaultCacheBehavior (Maybe Integer) Source #
The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as Cache-Control max-age
, Cache-Control s-maxage
, and Expires
to objects. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon CloudFront Developer Guide .
dcbFieldLevelEncryptionId :: Lens' DefaultCacheBehavior (Maybe Text) Source #
Undocumented member.
dcbTargetOriginId :: Lens' DefaultCacheBehavior Text Source #
The value of ID
for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.
dcbForwardedValues :: Lens' DefaultCacheBehavior ForwardedValues Source #
A complex type that specifies how CloudFront handles query strings and cookies.
dcbTrustedSigners :: Lens' DefaultCacheBehavior TrustedSigners Source #
A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern
for this cache behavior, specify true
for Enabled
, and specify the applicable values for Quantity
and Items
. For more information, see Serving Private Content through CloudFront in the Amazon Amazon CloudFront Developer Guide . If you don't want to require signed URLs in requests for objects that match PathPattern
, specify false
for Enabled
and 0
for Quantity
. Omit Items
. To add, change, or remove one or more trusted signers, change Enabled
to true
(if it's currently false
), change Quantity
as applicable, and specify all of the trusted signers that you want to include in the updated distribution.
dcbViewerProtocolPolicy :: Lens' DefaultCacheBehavior ViewerProtocolPolicy Source #
The protocol that viewers can use to access the files in the origin specified by TargetOriginId
when a request matches the path pattern in PathPattern
. You can specify the following options: * allow-all
: Viewers can use HTTP or HTTPS. * redirect-to-https
: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL. * https-only
: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden). For more information about requiring the HTTPS protocol, see Using an HTTPS Connection to Access Your Objects in the Amazon CloudFront Developer Guide .
dcbMinTTL :: Lens' DefaultCacheBehavior Integer Source #
The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Specifying How Long Objects and Errors Stay in a CloudFront Edge Cache (Expiration) in the Amazon Amazon CloudFront Developer Guide . You must specify 0
for MinTTL
if you configure CloudFront to forward all headers to your origin (under Headers
, if you specify 1
for Quantity
and *
for Name
).
Distribution
data Distribution Source #
The distribution's information.
See: distribution
smart constructor.
Instances
:: Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> Int | |
-> Text | |
-> ActiveTrustedSigners | |
-> DistributionConfig | |
-> Distribution |
Creates a value of Distribution
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dId
- The identifier for the distribution. For example:EDFDVBD632BHDS5
.dARN
- The ARN (Amazon Resource Name) for the distribution. For example:arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where123456789012
is your AWS account ID.dStatus
- This response element indicates the current status of the distribution. When the status isDeployed
, the distribution's information is fully propagated to all CloudFront edge locations.dLastModifiedTime
- The date and time the distribution was last modified.dInProgressInvalidationBatches
- The number of invalidation batches currently in progress.dDomainName
- The domain name corresponding to the distribution, for example,d111111abcdef8.cloudfront.net
.dActiveTrustedSigners
- CloudFront automatically adds this element to the response only if you've set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. TheSigner
child element lists the AWS account number of the trusted signer (or an emptySelf
element if the signer is you). TheSigner
element also includes the IDs of any active key pairs associated with the trusted signer's AWS account. If noKeyPairId
element appears for aSigner
, that signer can't create working signed URLs.dDistributionConfig
- The current configuration information for the distribution. Send aGET
request to the/CloudFront API version distribution IDconfig
resource.
dId :: Lens' Distribution Text Source #
The identifier for the distribution. For example: EDFDVBD632BHDS5
.
dARN :: Lens' Distribution Text Source #
The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where 123456789012
is your AWS account ID.
dStatus :: Lens' Distribution Text Source #
This response element indicates the current status of the distribution. When the status is Deployed
, the distribution's information is fully propagated to all CloudFront edge locations.
dLastModifiedTime :: Lens' Distribution UTCTime Source #
The date and time the distribution was last modified.
dInProgressInvalidationBatches :: Lens' Distribution Int Source #
The number of invalidation batches currently in progress.
dDomainName :: Lens' Distribution Text Source #
The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net
.
dActiveTrustedSigners :: Lens' Distribution ActiveTrustedSigners Source #
CloudFront automatically adds this element to the response only if you've set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer
child element lists the AWS account number of the trusted signer (or an empty Self
element if the signer is you). The Signer
element also includes the IDs of any active key pairs associated with the trusted signer's AWS account. If no KeyPairId
element appears for a Signer
, that signer can't create working signed URLs.
dDistributionConfig :: Lens' Distribution DistributionConfig Source #
The current configuration information for the distribution. Send a GET
request to the /CloudFront API version distribution IDconfig
resource.
DistributionConfig
data DistributionConfig Source #
A distribution configuration.
See: distributionConfig
smart constructor.
Instances
:: Text | |
-> Origins | |
-> DefaultCacheBehavior | |
-> Text | |
-> Bool | |
-> DistributionConfig |
Creates a value of DistributionConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcHTTPVersion
- (Optional) Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP2 automatically use an earlier HTTP version. For viewers and CloudFront to use HTTP2, viewers must support TLS 1.2 or later, and must support Server Name Identification (SNI). In general, configuring CloudFront to communicate with viewers using HTTP2 reduces latency. You can improve performance by optimizing for HTTP2. For more information, do an Internet search for "http/2 optimization."dcAliases
- A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.dcDefaultRootObject
- The object that you want CloudFront to request from your origin (for example,index.html
) when a viewer requests the root URL for your distribution (http://www.example.com
) instead of an object in your distribution (http://www.example.com/product-description.html
). Specifying a default root object avoids exposing the contents of your distribution. Specify only the object name, for example,index.html
. 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 emptyDefaultRootObject
element. To delete the default root object from an existing distribution, update the distribution configuration and include an emptyDefaultRootObject
element. To replace the default root object, update the distribution configuration and specify the new object. For more information about the default root object, see Creating a Default Root Object in the Amazon CloudFront Developer Guide .dcPriceClass
- The price class that corresponds with the maximum price that you want to pay for CloudFront service. If you specifyPriceClass_All
, CloudFront responds to requests for your objects from all CloudFront edge locations. If you specify a price class other thanPriceClass_All
, CloudFront serves your objects from the CloudFront edge location that has the lowest latency among the edge locations in your price class. Viewers who are in or near regions that are excluded from your specified price class may encounter slower performance. For more information about price classes, see Choosing the Price Class for a CloudFront Distribution in the Amazon CloudFront Developer Guide . For information about CloudFront pricing, including how price classes map to CloudFront regions, see Amazon CloudFront Pricing .dcCustomErrorResponses
- A complex type that controls the following: * Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer. * How long CloudFront caches HTTP status codes in the 4xx and 5xx range. For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide .dcWebACLId
- A unique identifier that specifies the AWS WAF web ACL, if any, to associate with this distribution. AWS WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about AWS WAF, see the AWS WAF Developer Guide .dcViewerCertificate
- Undocumented member.dcRestrictions
- Undocumented member.dcLogging
- A complex type that controls whether access logs are written for the distribution. For more information about logging, see Access Logs in the Amazon CloudFront Developer Guide .dcCacheBehaviors
- A complex type that contains zero or moreCacheBehavior
elements.dcIsIPV6Enabled
- If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your distribution, specifytrue
. If you specifyfalse
, CloudFront responds to IPv6 DNS requests with the DNS response codeNOERROR
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 theIpAddress
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 Amazon Route 53 alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true: * You enable IPv6 for the distribution * You're using alternate domain names in the URLs for your objects For more information, see Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name in the Amazon Route 53 Developer Guide . If you created a CNAME resource record set, either with Amazon Route 53 or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request.dcCallerReference
- A unique value (for example, a date-time stamp) that ensures that the request can't be replayed. If the value ofCallerReference
is new (regardless of the content of theDistributionConfig
object), CloudFront creates a new distribution. IfCallerReference
is a value you already sent in a previous request to create a distribution, and if the content of theDistributionConfig
is identical to the original request (ignoring white space), CloudFront returns the same the response that it returned to the original request. IfCallerReference
is a value you already sent in a previous request to create a distribution but the content of theDistributionConfig
is different from the original request, CloudFront returns aDistributionAlreadyExists
error.dcOrigins
- A complex type that contains information about origins for this distribution.dcDefaultCacheBehavior
- A complex type that describes the default cache behavior if you don't specify aCacheBehavior
element or if files don't match any of the values ofPathPattern
inCacheBehavior
elements. You must create exactly one default cache behavior.dcComment
- Any comments you want to include about the distribution. If you don't want to specify a comment, include an emptyComment
element. To delete an existing comment, update the distribution configuration and include an emptyComment
element. To add or change a comment, update the distribution configuration and specify the new comment.dcEnabled
- From this field, you can enable or disable the selected distribution. If you specifyfalse
forEnabled
but you specify values forBucket
andPrefix
, the values are automatically deleted.
dcHTTPVersion :: Lens' DistributionConfig (Maybe HTTPVersion) Source #
(Optional) Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP2 automatically use an earlier HTTP version. For viewers and CloudFront to use HTTP2, viewers must support TLS 1.2 or later, and must support Server Name Identification (SNI). In general, configuring CloudFront to communicate with viewers using HTTP2 reduces latency. You can improve performance by optimizing for HTTP2. For more information, do an Internet search for "http/2 optimization."
dcAliases :: Lens' DistributionConfig (Maybe Aliases) Source #
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
dcDefaultRootObject :: Lens' DistributionConfig (Maybe Text) Source #
The object that you want CloudFront to request from your origin (for example, index.html
) when a viewer requests the root URL for your distribution (http://www.example.com
) instead of an object in your distribution (http://www.example.com/product-description.html
). Specifying a default root object avoids exposing the contents of your distribution. Specify only the object name, for example, index.html
. 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 .
dcPriceClass :: Lens' DistributionConfig (Maybe PriceClass) Source #
The price class that corresponds with the maximum price that you want to pay for CloudFront service. If you specify PriceClass_All
, CloudFront responds to requests for your objects from all CloudFront edge locations. If you specify a price class other than PriceClass_All
, CloudFront serves your objects from the CloudFront edge location that has the lowest latency among the edge locations in your price class. Viewers who are in or near regions that are excluded from your specified price class may encounter slower performance. For more information about price classes, see Choosing the Price Class for a CloudFront Distribution in the Amazon CloudFront Developer Guide . For information about CloudFront pricing, including how price classes map to CloudFront regions, see Amazon CloudFront Pricing .
dcCustomErrorResponses :: Lens' DistributionConfig (Maybe CustomErrorResponses) Source #
A complex type that controls the following: * Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer. * How long CloudFront caches HTTP status codes in the 4xx and 5xx range. For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide .
dcWebACLId :: Lens' DistributionConfig (Maybe Text) Source #
A unique identifier that specifies the AWS WAF web ACL, if any, to associate with this distribution. AWS WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about AWS WAF, see the AWS WAF Developer Guide .
dcViewerCertificate :: Lens' DistributionConfig (Maybe ViewerCertificate) Source #
Undocumented member.
dcRestrictions :: Lens' DistributionConfig (Maybe Restrictions) Source #
Undocumented member.
dcLogging :: Lens' DistributionConfig (Maybe LoggingConfig) Source #
A complex type that controls whether access logs are written for the distribution. For more information about logging, see Access Logs in the Amazon CloudFront Developer Guide .
dcCacheBehaviors :: Lens' DistributionConfig (Maybe CacheBehaviors) Source #
A complex type that contains zero or more CacheBehavior
elements.
dcIsIPV6Enabled :: Lens' DistributionConfig (Maybe Bool) Source #
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 Amazon Route 53 alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true: * You enable IPv6 for the distribution * You're using alternate domain names in the URLs for your objects For more information, see Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name in the Amazon Route 53 Developer Guide . If you created a CNAME resource record set, either with Amazon Route 53 or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request.
dcCallerReference :: Lens' DistributionConfig Text Source #
A unique value (for example, a date-time stamp) that ensures that the request can't be replayed. If the value of CallerReference
is new (regardless of the content of the DistributionConfig
object), CloudFront creates a new distribution. If CallerReference
is a value you already sent in a previous request to create a distribution, and if the content of the DistributionConfig
is identical to the original request (ignoring white space), CloudFront returns the same the response that it returned to the original request. If CallerReference
is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig
is different from the original request, CloudFront returns a DistributionAlreadyExists
error.
dcOrigins :: Lens' DistributionConfig Origins Source #
A complex type that contains information about origins for this distribution.
dcDefaultCacheBehavior :: Lens' DistributionConfig DefaultCacheBehavior Source #
A complex type that describes the default cache behavior if you 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.
dcComment :: Lens' DistributionConfig Text Source #
Any comments you want to include about the distribution. If you don't want to specify a comment, include an empty Comment
element. To delete an existing comment, update the distribution configuration and include an empty Comment
element. To add or change a comment, update the distribution configuration and specify the new comment.
dcEnabled :: Lens' DistributionConfig Bool Source #
From this field, you can enable or disable the selected distribution. If you specify false
for Enabled
but you specify values for Bucket
and Prefix
, the values are automatically deleted.
DistributionConfigWithTags
data DistributionConfigWithTags Source #
A distribution Configuration and a list of tags to be associated with the distribution.
See: distributionConfigWithTags
smart constructor.
Instances
distributionConfigWithTags Source #
Creates a value of DistributionConfigWithTags
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcwtDistributionConfig
- A distribution configuration.dcwtTags
- A complex type that contains zero or moreTag
elements.
dcwtDistributionConfig :: Lens' DistributionConfigWithTags DistributionConfig Source #
A distribution configuration.
dcwtTags :: Lens' DistributionConfigWithTags Tags Source #
A complex type that contains zero or more Tag
elements.
DistributionList
data DistributionList Source #
A distribution list.
See: distributionList
smart constructor.
Instances
Creates a value of DistributionList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dlItems
- A complex type that contains oneDistributionSummary
element for each distribution that was created by the current AWS account.dlNextMarker
- IfIsTruncated
istrue
, this element is present and contains the value you can use for theMarker
request parameter to continue listing your distributions where they left off.dlMarker
- The value you provided for theMarker
request parameter.dlMaxItems
- The value you provided for theMaxItems
request parameter.dlIsTruncated
- A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using theMarker
request parameter to retrieve more distributions in the list.dlQuantity
- The number of distributions that were created by the current AWS account.
dlItems :: Lens' DistributionList [DistributionSummary] Source #
A complex type that contains one DistributionSummary
element for each distribution that was created by the current AWS account.
dlNextMarker :: Lens' DistributionList (Maybe Text) Source #
If IsTruncated
is true
, this element is present and contains the value you can use for the Marker
request parameter to continue listing your distributions where they left off.
dlMarker :: Lens' DistributionList Text Source #
The value you provided for the Marker
request parameter.
dlMaxItems :: Lens' DistributionList Int Source #
The value you provided for the MaxItems
request parameter.
dlIsTruncated :: Lens' DistributionList Bool Source #
A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker
request parameter to retrieve more distributions in the list.
dlQuantity :: Lens' DistributionList Int Source #
The number of distributions that were created by the current AWS account.
DistributionSummary
data DistributionSummary Source #
A summary of the information about a CloudFront distribution.
See: distributionSummary
smart constructor.
Instances
:: Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> Text | |
-> Aliases | |
-> Origins | |
-> DefaultCacheBehavior | |
-> CacheBehaviors | |
-> CustomErrorResponses | |
-> Text | |
-> PriceClass | |
-> Bool | |
-> ViewerCertificate | |
-> Restrictions | |
-> Text | |
-> HTTPVersion | |
-> Bool | |
-> DistributionSummary |
Creates a value of DistributionSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsId
- The identifier for the distribution. For example:EDFDVBD632BHDS5
.dsARN
- The ARN (Amazon Resource Name) for the distribution. For example:arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where123456789012
is your AWS account ID.dsStatus
- The current status of the distribution. When the status isDeployed
, the distribution's information is propagated to all CloudFront edge locations.dsLastModifiedTime
- The date and time the distribution was last modified.dsDomainName
- The domain name that corresponds to the distribution, for example,d111111abcdef8.cloudfront.net
.dsAliases
- A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.dsOrigins
- A complex type that contains information about origins for this distribution.dsDefaultCacheBehavior
- A complex type that describes the default cache behavior if you don't specify aCacheBehavior
element or if files don't match any of the values ofPathPattern
inCacheBehavior
elements. You must create exactly one default cache behavior.dsCacheBehaviors
- A complex type that contains zero or moreCacheBehavior
elements.dsCustomErrorResponses
- A complex type that contains zero or moreCustomErrorResponses
elements.dsComment
- The comment originally specified when this distribution was created.dsPriceClass
- Undocumented member.dsEnabled
- Whether the distribution is enabled to accept user requests for content.dsViewerCertificate
- Undocumented member.dsRestrictions
- Undocumented member.dsWebACLId
- The Web ACL Id (if any) associated with the distribution.dsHTTPVersion
- Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions ishttp2
. Viewers that don't supportHTTP/2
will automatically use an earlier version.dsIsIPV6Enabled
- Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
dsId :: Lens' DistributionSummary Text Source #
The identifier for the distribution. For example: EDFDVBD632BHDS5
.
dsARN :: Lens' DistributionSummary Text Source #
The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where 123456789012
is your AWS account ID.
dsStatus :: Lens' DistributionSummary Text Source #
The current status of the distribution. When the status is Deployed
, the distribution's information is propagated to all CloudFront edge locations.
dsLastModifiedTime :: Lens' DistributionSummary UTCTime Source #
The date and time the distribution was last modified.
dsDomainName :: Lens' DistributionSummary Text Source #
The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net
.
dsAliases :: Lens' DistributionSummary Aliases Source #
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
dsOrigins :: Lens' DistributionSummary Origins Source #
A complex type that contains information about origins for this distribution.
dsDefaultCacheBehavior :: Lens' DistributionSummary DefaultCacheBehavior Source #
A complex type that describes the default cache behavior if you 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.
dsCacheBehaviors :: Lens' DistributionSummary CacheBehaviors Source #
A complex type that contains zero or more CacheBehavior
elements.
dsCustomErrorResponses :: Lens' DistributionSummary CustomErrorResponses Source #
A complex type that contains zero or more CustomErrorResponses
elements.
dsComment :: Lens' DistributionSummary Text Source #
The comment originally specified when this distribution was created.
dsPriceClass :: Lens' DistributionSummary PriceClass Source #
Undocumented member.
dsEnabled :: Lens' DistributionSummary Bool Source #
Whether the distribution is enabled to accept user requests for content.
dsViewerCertificate :: Lens' DistributionSummary ViewerCertificate Source #
Undocumented member.
dsRestrictions :: Lens' DistributionSummary Restrictions Source #
Undocumented member.
dsWebACLId :: Lens' DistributionSummary Text Source #
The Web ACL Id (if any) associated with the distribution.
dsHTTPVersion :: Lens' DistributionSummary HTTPVersion Source #
Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2
. Viewers that don't support HTTP/2
will automatically use an earlier version.
dsIsIPV6Enabled :: Lens' DistributionSummary Bool Source #
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
EncryptionEntities
data EncryptionEntities Source #
Complex data type for field-level encryption profiles that includes all of the encryption entities.
See: encryptionEntities
smart constructor.
Instances
Creates a value of EncryptionEntities
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eeItems
- An array of field patterns in a field-level encryption content type-profile mapping.eeQuantity
- Number of field pattern items in a field-level encryption content type-profile mapping.
eeItems :: Lens' EncryptionEntities [EncryptionEntity] Source #
An array of field patterns in a field-level encryption content type-profile mapping.
eeQuantity :: Lens' EncryptionEntities Int Source #
Number of field pattern items in a field-level encryption content type-profile mapping.
EncryptionEntity
data EncryptionEntity Source #
Complex data type for field-level encryption profiles that includes the encryption key and field pattern specifications.
See: encryptionEntity
smart constructor.
Instances
Creates a value of EncryptionEntity
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eePublicKeyId
- The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.eeProviderId
- 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.eeFieldPatterns
- 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.
eePublicKeyId :: Lens' EncryptionEntity Text Source #
The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.
eeProviderId :: Lens' EncryptionEntity Text Source #
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.
eeFieldPatterns :: Lens' EncryptionEntity FieldPatterns Source #
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.
FieldLevelEncryption
data FieldLevelEncryption Source #
A complex data type that includes the profile configurations and other options specified for field-level encryption.
See: fieldLevelEncryption
smart constructor.
Instances
Creates a value of FieldLevelEncryption
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fleId
- 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.fleLastModifiedTime
- The last time the field-level encryption configuration was changed.fleFieldLevelEncryptionConfig
- A complex data type that includes the profile configurations specified for field-level encryption.
fleId :: Lens' FieldLevelEncryption Text Source #
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.
fleLastModifiedTime :: Lens' FieldLevelEncryption UTCTime Source #
The last time the field-level encryption configuration was changed.
fleFieldLevelEncryptionConfig :: Lens' FieldLevelEncryption FieldLevelEncryptionConfig Source #
A complex data type that includes the profile configurations specified for field-level encryption.
FieldLevelEncryptionConfig
data FieldLevelEncryptionConfig Source #
A complex data type that includes the profile configurations specified for field-level encryption.
See: fieldLevelEncryptionConfig
smart constructor.
Instances
fieldLevelEncryptionConfig Source #
Creates a value of FieldLevelEncryptionConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
flecQueryArgProfileConfig
- 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.flecContentTypeProfileConfig
- 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.flecComment
- An optional comment about the configuration.flecCallerReference
- A unique number that ensures the request can't be replayed.
flecQueryArgProfileConfig :: Lens' FieldLevelEncryptionConfig (Maybe QueryArgProfileConfig) Source #
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.
flecContentTypeProfileConfig :: Lens' FieldLevelEncryptionConfig (Maybe ContentTypeProfileConfig) Source #
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.
flecComment :: Lens' FieldLevelEncryptionConfig (Maybe Text) Source #
An optional comment about the configuration.
flecCallerReference :: Lens' FieldLevelEncryptionConfig Text Source #
A unique number that ensures the request can't be replayed.
FieldLevelEncryptionList
data FieldLevelEncryptionList Source #
List of field-level encrpytion configurations.
See: fieldLevelEncryptionList
smart constructor.
Instances
fieldLevelEncryptionList Source #
Creates a value of FieldLevelEncryptionList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
flelItems
- An array of field-level encryption items.flelNextMarker
- If there are more elements to be listed, this element is present and contains the value that you can use for theMarker
request parameter to continue listing your configurations where you left off.flelMaxItems
- The maximum number of elements you want in the response body.flelQuantity
- The number of field-level encryption items.
flelItems :: Lens' FieldLevelEncryptionList [FieldLevelEncryptionSummary] Source #
An array of field-level encryption items.
flelNextMarker :: Lens' FieldLevelEncryptionList (Maybe Text) Source #
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.
flelMaxItems :: Lens' FieldLevelEncryptionList Int Source #
The maximum number of elements you want in the response body.
flelQuantity :: Lens' FieldLevelEncryptionList Int Source #
The number of field-level encryption items.
FieldLevelEncryptionProfile
data FieldLevelEncryptionProfile Source #
A complex data type for field-level encryption profiles.
See: fieldLevelEncryptionProfile
smart constructor.
Instances
fieldLevelEncryptionProfile Source #
Creates a value of FieldLevelEncryptionProfile
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
flepId
- 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.flepLastModifiedTime
- The last time the field-level encryption profile was updated.flepFieldLevelEncryptionProfileConfig
- A complex data type that includes the profile name and the encryption entities for the field-level encryption profile.
flepId :: Lens' FieldLevelEncryptionProfile Text Source #
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.
flepLastModifiedTime :: Lens' FieldLevelEncryptionProfile UTCTime Source #
The last time the field-level encryption profile was updated.
flepFieldLevelEncryptionProfileConfig :: Lens' FieldLevelEncryptionProfile FieldLevelEncryptionProfileConfig Source #
A complex data type that includes the profile name and the encryption entities for the field-level encryption profile.
FieldLevelEncryptionProfileConfig
data FieldLevelEncryptionProfileConfig Source #
A complex data type of profiles for the field-level encryption.
See: fieldLevelEncryptionProfileConfig
smart constructor.
Instances
fieldLevelEncryptionProfileConfig Source #
Creates a value of FieldLevelEncryptionProfileConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
flepcComment
- An optional comment for the field-level encryption profile.flepcName
- Profile name for the field-level encryption profile.flepcCallerReference
- A unique number that ensures the request can't be replayed.flepcEncryptionEntities
- 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.
flepcComment :: Lens' FieldLevelEncryptionProfileConfig (Maybe Text) Source #
An optional comment for the field-level encryption profile.
flepcName :: Lens' FieldLevelEncryptionProfileConfig Text Source #
Profile name for the field-level encryption profile.
flepcCallerReference :: Lens' FieldLevelEncryptionProfileConfig Text Source #
A unique number that ensures the request can't be replayed.
flepcEncryptionEntities :: Lens' FieldLevelEncryptionProfileConfig EncryptionEntities Source #
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.
FieldLevelEncryptionProfileList
data FieldLevelEncryptionProfileList Source #
List of field-level encryption profiles.
See: fieldLevelEncryptionProfileList
smart constructor.
Instances
fieldLevelEncryptionProfileList Source #
Creates a value of FieldLevelEncryptionProfileList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fleplItems
- The field-level encryption profile items.fleplNextMarker
- If there are more elements to be listed, this element is present and contains the value that you can use for theMarker
request parameter to continue listing your profiles where you left off.fleplMaxItems
- The maximum number of field-level encryption profiles you want in the response body.fleplQuantity
- The number of field-level encryption profiles.
fleplItems :: Lens' FieldLevelEncryptionProfileList [FieldLevelEncryptionProfileSummary] Source #
The field-level encryption profile items.
fleplNextMarker :: Lens' FieldLevelEncryptionProfileList (Maybe Text) Source #
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.
fleplMaxItems :: Lens' FieldLevelEncryptionProfileList Int Source #
The maximum number of field-level encryption profiles you want in the response body.
fleplQuantity :: Lens' FieldLevelEncryptionProfileList Int Source #
The number of field-level encryption profiles.
FieldLevelEncryptionProfileSummary
data FieldLevelEncryptionProfileSummary Source #
The field-level encryption profile summary.
See: fieldLevelEncryptionProfileSummary
smart constructor.
Instances
fieldLevelEncryptionProfileSummary Source #
Creates a value of FieldLevelEncryptionProfileSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
flepsComment
- An optional comment for the field-level encryption profile summary.flepsId
- ID for the field-level encryption profile summary.flepsLastModifiedTime
- The time when the the field-level encryption profile summary was last updated.flepsName
- Name for the field-level encryption profile summary.flepsEncryptionEntities
- 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.
flepsComment :: Lens' FieldLevelEncryptionProfileSummary (Maybe Text) Source #
An optional comment for the field-level encryption profile summary.
flepsId :: Lens' FieldLevelEncryptionProfileSummary Text Source #
ID for the field-level encryption profile summary.
flepsLastModifiedTime :: Lens' FieldLevelEncryptionProfileSummary UTCTime Source #
The time when the the field-level encryption profile summary was last updated.
flepsName :: Lens' FieldLevelEncryptionProfileSummary Text Source #
Name for the field-level encryption profile summary.
flepsEncryptionEntities :: Lens' FieldLevelEncryptionProfileSummary EncryptionEntities Source #
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.
FieldLevelEncryptionSummary
data FieldLevelEncryptionSummary Source #
A summary of a field-level encryption item.
See: fieldLevelEncryptionSummary
smart constructor.
Instances
fieldLevelEncryptionSummary Source #
Creates a value of FieldLevelEncryptionSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
flesQueryArgProfileConfig
- A summary of a query argument-profile mapping.flesContentTypeProfileConfig
- A summary of a content type-profile mapping.flesComment
- An optional comment about the field-level encryption item.flesId
- The unique ID of a field-level encryption item.flesLastModifiedTime
- The last time that the summary of field-level encryption items was modified.
flesQueryArgProfileConfig :: Lens' FieldLevelEncryptionSummary (Maybe QueryArgProfileConfig) Source #
A summary of a query argument-profile mapping.
flesContentTypeProfileConfig :: Lens' FieldLevelEncryptionSummary (Maybe ContentTypeProfileConfig) Source #
A summary of a content type-profile mapping.
flesComment :: Lens' FieldLevelEncryptionSummary (Maybe Text) Source #
An optional comment about the field-level encryption item.
flesId :: Lens' FieldLevelEncryptionSummary Text Source #
The unique ID of a field-level encryption item.
flesLastModifiedTime :: Lens' FieldLevelEncryptionSummary UTCTime Source #
The last time that the summary of field-level encryption items was modified.
FieldPatterns
data FieldPatterns Source #
A complex data type that includes the field patterns to match for field-level encryption.
See: fieldPatterns
smart constructor.
Instances
Creates a value of FieldPatterns
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fpItems
- An array of the field-level encryption field patterns.fpQuantity
- The number of field-level encryption field patterns.
fpItems :: Lens' FieldPatterns [Text] Source #
An array of the field-level encryption field patterns.
fpQuantity :: Lens' FieldPatterns Int Source #
The number of field-level encryption field patterns.
ForwardedValues
data ForwardedValues Source #
A complex type that specifies how CloudFront handles query strings and cookies.
See: forwardedValues
smart constructor.
Instances
Creates a value of ForwardedValues
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fvQueryStringCacheKeys
- A complex type that contains information about the query string parameters that you want CloudFront to use for caching for this cache behavior.fvHeaders
- A complex type that specifies theHeaders
, if any, that you want CloudFront to base caching on for this cache behavior.fvQueryString
- Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior and cache based on the query string parameters. CloudFront behavior depends on the value ofQueryString
and on the values that you specify forQueryStringCacheKeys
, if any: If you specify true forQueryString
and you don't specify any values forQueryStringCacheKeys
, 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 forQueryString
and you specify one or more values forQueryStringCacheKeys
, 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 forQueryString
, CloudFront doesn't forward any query string parameters to the origin, and doesn't cache based on query string parameters. For more information, see Configuring CloudFront to Cache Based on Query String Parameters in the Amazon CloudFront Developer Guide .fvCookies
- A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide .
fvQueryStringCacheKeys :: Lens' ForwardedValues (Maybe QueryStringCacheKeys) Source #
A complex type that contains information about the query string parameters that you want CloudFront to use for caching for this cache behavior.
fvHeaders :: Lens' ForwardedValues (Maybe Headers) Source #
A complex type that specifies the Headers
, if any, that you want CloudFront to base caching on for this cache behavior.
fvQueryString :: Lens' ForwardedValues Bool Source #
Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior and cache based on the query string parameters. CloudFront behavior depends on the value of QueryString
and on the values that you specify for QueryStringCacheKeys
, if any: If you specify true for QueryString
and you don't specify any values for QueryStringCacheKeys
, CloudFront forwards all query string parameters to the origin and caches based on all query string parameters. Depending on how many query string parameters and values you have, this can adversely affect performance because CloudFront must forward more requests to the origin. If you specify true for QueryString
and you specify one or more values for QueryStringCacheKeys
, CloudFront forwards all query string parameters to the origin, but it only caches based on the query string parameters that you specify. If you specify false for QueryString
, CloudFront doesn't forward any query string parameters to the origin, and doesn't cache based on query string parameters. For more information, see Configuring CloudFront to Cache Based on Query String Parameters in the Amazon CloudFront Developer Guide .
fvCookies :: Lens' ForwardedValues CookiePreference Source #
A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide .
GeoRestriction
data GeoRestriction Source #
A complex type that controls the countries in which your content is distributed. CloudFront determines the location of your users using MaxMind
GeoIP databases.
See: geoRestriction
smart constructor.
Instances
Creates a value of GeoRestriction
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grItems
- A complex type that contains aLocation
element for each country in which you want CloudFront either to distribute your content (whitelist
) or not distribute your content (blacklist
). TheLocation
element is a two-letter, uppercase country code for a country that you want to include in yourblacklist
orwhitelist
. Include oneLocation
element for each country. CloudFront andMaxMind
both useISO 3166
country codes. For the current list of countries and the corresponding codes, seeISO 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.grRestrictionType
- The method that you want to use to restrict distribution of your content by country: *none
: No geo restriction is enabled, meaning access to content is not restricted by client geo location. *blacklist
: TheLocation
elements specify the countries in which you don't want CloudFront to distribute your content. *whitelist
: TheLocation
elements specify the countries in which you want CloudFront to distribute your content.grQuantity
- When geo restriction isenabled
, this is the number of countries in yourwhitelist
orblacklist
. Otherwise, when it is not enabled,Quantity
is0
, and you can omitItems
.
grItems :: Lens' GeoRestriction [Text] Source #
A complex type that contains a Location
element for each country in which you want CloudFront either to distribute your content (whitelist
) or not distribute your content (blacklist
). The Location
element is a two-letter, uppercase country code for a country that you want to include in your blacklist
or whitelist
. Include one Location
element for each country. CloudFront and MaxMind
both use ISO 3166
country codes. For the current list of countries and the corresponding codes, see ISO 3166-1-alpha-2
code on the International Organization for Standardization website. You can also refer to the country list on the CloudFront console, which includes both country names and codes.
grRestrictionType :: Lens' GeoRestriction GeoRestrictionType Source #
The method that you want to use to restrict distribution of your content by country: * none
: No geo restriction is enabled, meaning access to content is not restricted by client geo location. * blacklist
: The Location
elements specify the countries in which you don't want CloudFront to distribute your content. * whitelist
: The Location
elements specify the countries in which you want CloudFront to distribute your content.
grQuantity :: Lens' GeoRestriction Int Source #
When geo restriction is enabled
, this is the number of countries in your whitelist
or blacklist
. Otherwise, when it is not enabled, Quantity
is 0
, and you can omit Items
.
Headers
A complex type that specifies the request headers, if any, that you want CloudFront to base caching on for this cache behavior.
For the headers that you specify, CloudFront caches separate versions of a specified object based on the header values in viewer requests. For example, suppose viewer requests for logo.jpg
contain a custom product
header that has a value of either acme
or apex
, and you configure CloudFront to cache your content based on values in the product
header. CloudFront forwards the product
header to the origin and caches the response from the origin once for each header value. For more information about caching based on header values, see How CloudFront Forwards and Caches Headers in the Amazon CloudFront Developer Guide .
See: headers
smart constructor.
Instances
Eq Headers Source # | |
Data Headers Source # | |
Defined in Network.AWS.CloudFront.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Headers -> c Headers # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Headers # toConstr :: Headers -> Constr # dataTypeOf :: Headers -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Headers) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Headers) # gmapT :: (forall b. Data b => b -> b) -> Headers -> Headers # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Headers -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Headers -> r # gmapQ :: (forall d. Data d => d -> u) -> Headers -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Headers -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Headers -> m Headers # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Headers -> m Headers # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Headers -> m Headers # | |
Read Headers Source # | |
Show Headers Source # | |
Generic Headers Source # | |
Hashable Headers Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
FromXML Headers Source # | |
ToXML Headers Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
NFData Headers Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
type Rep Headers Source # | |
Defined in Network.AWS.CloudFront.Types.Product type Rep Headers = D1 (MetaData "Headers" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.6.1-4jyCxtauObV85CKHrmGQe5" False) (C1 (MetaCons "Headers'" PrefixI True) (S1 (MetaSel (Just "_hItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_hQuantity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))) |
Creates a value of Headers
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
hItems
- A list that contains oneName
element for each header that you want CloudFront to use for caching in this cache behavior. IfQuantity
is0
, omitItems
.hQuantity
- The number of different headers that you want CloudFront to base caching on for this cache behavior. You can configure each cache behavior in a web distribution to do one of the following: * Forward all headers to your origin : Specify1
forQuantity
and*
forName
. Important: CloudFront doesn't cache the objects that are associated with this cache behavior. Instead, CloudFront sends every request to the origin. * Forward a whitelist of headers you specify : Specify the number of headers that you want CloudFront to base caching on. Then specify the header names inName
elements. CloudFront caches your objects based on the values in the specified headers. * Forward only the default headers : Specify0
forQuantity
and omitItems
. In this configuration, CloudFront doesn't cache based on the values in the request headers. Regardless of which option you choose, CloudFront forwards headers to your origin based on whether the origin is an S3 bucket or a custom origin. See the following documentation: * S3 bucket : See HTTP Request Headers That CloudFront Removes or Updates * Custom origin : See HTTP Request Headers and CloudFront Behavior
hItems :: Lens' Headers [Text] Source #
A list that contains one Name
element for each header that you want CloudFront to use for caching in this cache behavior. If Quantity
is 0
, omit Items
.
hQuantity :: Lens' Headers Int Source #
The number of different headers that you want CloudFront to base caching on for this cache behavior. You can configure each cache behavior in a web distribution to do one of the following: * Forward all headers to your origin : Specify 1
for Quantity
and *
for Name
. Important: CloudFront doesn't cache the objects that are associated with this cache behavior. Instead, CloudFront sends every request to the origin. * Forward a whitelist of headers you specify : Specify the number of headers that you want CloudFront to base caching on. Then specify the header names in Name
elements. CloudFront caches your objects based on the values in the specified headers. * Forward only the default headers : Specify 0
for Quantity
and omit Items
. In this configuration, CloudFront doesn't cache based on the values in the request headers. Regardless of which option you choose, CloudFront forwards headers to your origin based on whether the origin is an S3 bucket or a custom origin. See the following documentation: * S3 bucket : See HTTP Request Headers That CloudFront Removes or Updates * Custom origin : See HTTP Request Headers and CloudFront Behavior
Invalidation
data Invalidation Source #
An invalidation.
See: invalidation
smart constructor.
Instances
Creates a value of Invalidation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iId
- The identifier for the invalidation request. For example:IDFDVBD632BHDS5
.iStatus
- The status of the invalidation request. When the invalidation batch is finished, the status isCompleted
.iCreateTime
- The date and time the invalidation request was first made.iInvalidationBatch
- The current invalidation information for the batch request.
iId :: Lens' Invalidation Text Source #
The identifier for the invalidation request. For example: IDFDVBD632BHDS5
.
iStatus :: Lens' Invalidation Text Source #
The status of the invalidation request. When the invalidation batch is finished, the status is Completed
.
iCreateTime :: Lens' Invalidation UTCTime Source #
The date and time the invalidation request was first made.
iInvalidationBatch :: Lens' Invalidation InvalidationBatch Source #
The current invalidation information for the batch request.
InvalidationBatch
data InvalidationBatch Source #
An invalidation batch.
See: invalidationBatch
smart constructor.
Instances
Creates a value of InvalidationBatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ibPaths
- A complex type that contains information about the objects that you want to invalidate. For more information, see Specifying the Objects to Invalidate in the Amazon CloudFront Developer Guide .ibCallerReference
- A value that you specify to uniquely identify an invalidation request. CloudFront uses the value to prevent you from accidentally resubmitting an identical request. Whenever you create a new invalidation request, you must specify a new value forCallerReference
and change other values in the request as applicable. One way to ensure that the value ofCallerReference
is unique is to use atimestamp
, for example,20120301090000
. If you make a second invalidation request with the same value forCallerReference
, 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 sameCallerReference
. IfCallerReference
is a value you already sent in a previous invalidation batch request but the content of anyPath
is different from the original request, CloudFront returns anInvalidationBatchAlreadyExists
error.
ibPaths :: Lens' InvalidationBatch Paths Source #
A complex type that contains information about the objects that you want to invalidate. For more information, see Specifying the Objects to Invalidate in the Amazon CloudFront Developer Guide .
ibCallerReference :: Lens' InvalidationBatch Text Source #
A value that you specify to uniquely identify an invalidation request. CloudFront uses the value to prevent you from accidentally resubmitting an identical request. Whenever you create a new invalidation request, you must specify a new value for CallerReference
and change other values in the request as applicable. One way to ensure that the value of CallerReference
is unique is to use a timestamp
, for example, 20120301090000
. If you make a second invalidation request with the same value for CallerReference
, and if the rest of the request is the same, CloudFront doesn't create a new invalidation request. Instead, CloudFront returns information about the invalidation request that you previously created with the same CallerReference
. If CallerReference
is a value you already sent in a previous invalidation batch request but the content of any Path
is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists
error.
InvalidationList
data InvalidationList Source #
The InvalidationList
complex type describes the list of invalidation objects. For more information about invalidation, see Invalidating Objects (Web Distributions Only) in the Amazon CloudFront Developer Guide .
See: invalidationList
smart constructor.
Instances
Creates a value of InvalidationList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ilItems
- A complex type that contains oneInvalidationSummary
element for each invalidation batch created by the current AWS account.ilNextMarker
- IfIsTruncated
istrue
, this element is present and contains the value that you can use for theMarker
request parameter to continue listing your invalidation batches where they left off.ilMarker
- The value that you provided for theMarker
request parameter.ilMaxItems
- The value that you provided for theMaxItems
request parameter.ilIsTruncated
- A flag that indicates whether more invalidation batch requests remain to be listed. If your results were truncated, you can make a follow-up pagination request using theMarker
request parameter to retrieve more invalidation batches in the list.ilQuantity
- The number of invalidation batches that were created by the current AWS account.
ilItems :: Lens' InvalidationList [InvalidationSummary] Source #
A complex type that contains one InvalidationSummary
element for each invalidation batch created by the current AWS account.
ilNextMarker :: Lens' InvalidationList (Maybe Text) Source #
If IsTruncated
is true
, this element is present and contains the value that you can use for the Marker
request parameter to continue listing your invalidation batches where they left off.
ilMarker :: Lens' InvalidationList Text Source #
The value that you provided for the Marker
request parameter.
ilMaxItems :: Lens' InvalidationList Int Source #
The value that you provided for the MaxItems
request parameter.
ilIsTruncated :: Lens' InvalidationList Bool Source #
A flag that indicates whether more invalidation batch requests remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker
request parameter to retrieve more invalidation batches in the list.
ilQuantity :: Lens' InvalidationList Int Source #
The number of invalidation batches that were created by the current AWS account.
InvalidationSummary
data InvalidationSummary Source #
A summary of an invalidation request.
See: invalidationSummary
smart constructor.
Instances
Creates a value of InvalidationSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
isId
- The unique ID for an invalidation request.isCreateTime
- Undocumented member.isStatus
- The status of an invalidation request.
isCreateTime :: Lens' InvalidationSummary UTCTime Source #
Undocumented member.
KeyPairIds
data KeyPairIds Source #
A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber
.
For more information, see ActiveTrustedSigners
.
See: keyPairIds
smart constructor.
Instances
:: Int | |
-> KeyPairIds |
Creates a value of KeyPairIds
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
kpiItems
- A complex type that lists the active CloudFront key pairs, if any, that are associated withAwsAccountNumber
. For more information, seeActiveTrustedSigners
.kpiQuantity
- The number of active CloudFront key pairs forAwsAccountNumber
. For more information, seeActiveTrustedSigners
.
kpiItems :: Lens' KeyPairIds [Text] Source #
A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber
. For more information, see ActiveTrustedSigners
.
kpiQuantity :: Lens' KeyPairIds Int Source #
The number of active CloudFront key pairs for AwsAccountNumber
. For more information, see ActiveTrustedSigners
.
LambdaFunctionAssociation
data LambdaFunctionAssociation Source #
A complex type that contains a Lambda function association.
See: lambdaFunctionAssociation
smart constructor.
Instances
lambdaFunctionAssociation Source #
Creates a value of LambdaFunctionAssociation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfaLambdaFunctionARN
- The ARN of the Lambda function. You must specify the ARN of a function version; you can't specify a Lambda alias or $LATEST.lfaEventType
- Specifies the event type that triggers a Lambda 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 forwards 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. If the origin returns an HTTP status code other than HTTP 200 (OK), 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.
lfaLambdaFunctionARN :: Lens' LambdaFunctionAssociation Text Source #
The ARN of the Lambda function. You must specify the ARN of a function version; you can't specify a Lambda alias or $LATEST.
lfaEventType :: Lens' LambdaFunctionAssociation EventType Source #
Specifies the event type that triggers a Lambda 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 forwards 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. If the origin returns an HTTP status code other than HTTP 200 (OK), 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.
LambdaFunctionAssociations
data LambdaFunctionAssociations Source #
A complex type that specifies a list of Lambda functions associations for a cache behavior.
If you want to invoke one or more Lambda 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 the Lambda function only once.
If you don't want to invoke any Lambda functions for the requests that match PathPattern
, specify 0
for Quantity
and omit Items
.
See: lambdaFunctionAssociations
smart constructor.
Instances
lambdaFunctionAssociations Source #
Creates a value of LambdaFunctionAssociations
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfaItems
- Optional : A complex type that containsLambdaFunctionAssociation
items for this cache behavior. IfQuantity
is0
, you can omitItems
.lfaQuantity
- The number of Lambda function associations for this cache behavior.
lfaItems :: Lens' LambdaFunctionAssociations [LambdaFunctionAssociation] Source #
Optional : A complex type that contains LambdaFunctionAssociation
items for this cache behavior. If Quantity
is 0
, you can omit Items
.
lfaQuantity :: Lens' LambdaFunctionAssociations Int Source #
The number of Lambda function associations for this cache behavior.
LoggingConfig
data LoggingConfig Source #
A complex type that controls whether access logs are written for the distribution.
See: loggingConfig
smart constructor.
Instances
Creates a value of LoggingConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcEnabled
- Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specifyfalse
forEnabled
, and specify emptyBucket
andPrefix
elements. If you specifyfalse
forEnabled
but you specify values forBucket
,prefix
, andIncludeCookies
, the values are automatically deleted.lcIncludeCookies
- Specifies whether you want CloudFront to include cookies in access logs, specifytrue
forIncludeCookies
. 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, specifyfalse
forIncludeCookies
.lcBucket
- The Amazon S3 bucket to store the access logs in, for example,myawslogbucket.s3.amazonaws.com
.lcPrefix
- An optional string that you want CloudFront to prefix to the access logfilenames
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 emptyPrefix
element in theLogging
element.
lcEnabled :: Lens' LoggingConfig Bool Source #
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.
lcIncludeCookies :: Lens' LoggingConfig Bool Source #
Specifies whether you want CloudFront to include cookies in access logs, specify true
for IncludeCookies
. If you choose to include cookies in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for this distribution. If you 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
.
lcBucket :: Lens' LoggingConfig Text Source #
The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com
.
lcPrefix :: Lens' LoggingConfig Text Source #
An optional string that you want CloudFront to prefix to the access log filenames
for this distribution, for example, myprefix/
. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix
element in the Logging
element.
Origin
A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files. You must create at least one origin.
For the current limit on the number of origins that you can create for a distribution, see Amazon CloudFront Limits in the AWS General Reference .
See: origin
smart constructor.
Instances
Creates a value of Origin
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oCustomHeaders
- A complex type that contains names and values for the custom headers that you want.oCustomOriginConfig
- A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use theS3OriginConfig
element instead.oS3OriginConfig
- A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use theCustomOriginConfig
element instead.oOriginPath
- An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin. When you include theOriginPath
element, specify the directory name, beginning with a/
. CloudFront appends the directory name to the value ofDomainName
, for example,example.com/production
. Do not include a/
at the end of the directory name. For example, suppose you've specified the following values for your distribution: *DomainName
: An Amazon S3 bucket namedmyawsbucket
. *OriginPath
:/production
*CNAME
:example.com
When a user entersexample.com/index.html
in a browser, CloudFront sends a request to Amazon S3 formyawsbucketproductionindex.html
. When a user entersexample.comacmeindex.html
in a browser, CloudFront sends a request to Amazon S3 formyawsbucketproductionacme/index.html
.oId
- A unique identifier for the origin. The value ofId
must be unique within the distribution. When you specify the value ofTargetOriginId
for the default cache behavior or for another cache behavior, you indicate the origin to which you want the cache behavior to route requests by specifying the value of theId
element for that origin. When a request matches the path pattern for that cache behavior, CloudFront routes the request to the specified origin. For more information, see Cache Behavior Settings in the Amazon CloudFront Developer Guide .oDomainName
- Amazon S3 origins : The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example,myawsbucket.s3.amazonaws.com
. Constraints for Amazon S3 origins: * If you configured Amazon S3 Transfer Acceleration for your bucket, don't specify thes3-accelerate
endpoint forDomainName
. * The bucket name must be between 3 and 63 characters long (inclusive). * The bucket name must contain only lowercase characters, numbers, periods, underscores, and dashes. * The bucket name must not contain adjacent periods. Custom Origins : The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example,www.example.com
. Constraints for custom origins: *DomainName
must be a valid DNS name that contains only a-z, A-Z, 0-9, dot (.), hyphen (-), or underscore (_) characters. * The name cannot exceed 128 characters.
oCustomHeaders :: Lens' Origin (Maybe CustomHeaders) Source #
A complex type that contains names and values for the custom headers that you want.
oCustomOriginConfig :: Lens' Origin (Maybe CustomOriginConfig) Source #
A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig
element instead.
oS3OriginConfig :: Lens' Origin (Maybe S3OriginConfig) Source #
A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig
element instead.
oOriginPath :: Lens' Origin (Maybe Text) Source #
An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin. When you include the OriginPath
element, specify the directory name, beginning with a /
. CloudFront appends the directory name to the value of DomainName
, for example, example.com/production
. Do not include a /
at the end of the directory name. For example, suppose you've specified the following values for your distribution: * DomainName
: An Amazon S3 bucket named myawsbucket
. * OriginPath
: /production
* CNAME
: example.com
When a user enters example.com/index.html
in a browser, CloudFront sends a request to Amazon S3 for myawsbucketproductionindex.html
. When a user enters example.comacmeindex.html
in a browser, CloudFront sends a request to Amazon S3 for myawsbucketproductionacme/index.html
.
oId :: Lens' Origin Text Source #
A unique identifier for the origin. The value of Id
must be unique within the distribution. When you specify the value of TargetOriginId
for the default cache behavior or for another cache behavior, you indicate the origin to which you want the cache behavior to route requests by specifying the value of the Id
element for that origin. When a request matches the path pattern for that cache behavior, CloudFront routes the request to the specified origin. For more information, see Cache Behavior Settings in the Amazon CloudFront Developer Guide .
oDomainName :: Lens' Origin Text Source #
Amazon S3 origins : The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com
. Constraints for Amazon S3 origins: * If you configured Amazon S3 Transfer Acceleration for your bucket, don't specify the s3-accelerate
endpoint for DomainName
. * The bucket name must be between 3 and 63 characters long (inclusive). * The bucket name must contain only lowercase characters, numbers, periods, underscores, and dashes. * The bucket name must not contain adjacent periods. Custom Origins : The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com
. Constraints for custom origins: * DomainName
must be a valid DNS name that contains only a-z, A-Z, 0-9, dot (.), hyphen (-), or underscore (_) characters. * The name cannot exceed 128 characters.
OriginCustomHeader
data OriginCustomHeader Source #
A complex type that contains HeaderName
and HeaderValue
elements, if any, for this distribution.
See: originCustomHeader
smart constructor.
Instances
Creates a value of OriginCustomHeader
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ochHeaderName
- The name of a header that you want CloudFront to forward to your origin. For more information, see Forwarding Custom Headers to Your Origin (Web Distributions Only) in the Amazon Amazon CloudFront Developer Guide .ochHeaderValue
- The value for the header that you specified in theHeaderName
field.
ochHeaderName :: Lens' OriginCustomHeader Text Source #
The name of a header that you want CloudFront to forward to your origin. For more information, see Forwarding Custom Headers to Your Origin (Web Distributions Only) in the Amazon Amazon CloudFront Developer Guide .
ochHeaderValue :: Lens' OriginCustomHeader Text Source #
The value for the header that you specified in the HeaderName
field.
OriginSSLProtocols
data OriginSSLProtocols Source #
A complex type that contains information about the SSL/TLS protocols that CloudFront can use when establishing an HTTPS connection with your origin.
See: originSSLProtocols
smart constructor.
Instances
Creates a value of OriginSSLProtocols
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ospQuantity
- The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.ospItems
- A list that contains allowed SSL/TLS protocols for this distribution.
ospQuantity :: Lens' OriginSSLProtocols Int Source #
The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.
ospItems :: Lens' OriginSSLProtocols [SSLProtocol] Source #
A list that contains allowed SSL/TLS protocols for this distribution.
Origins
A complex type that contains information about origins for this distribution.
See: origins
smart constructor.
Instances
Eq Origins Source # | |
Data Origins Source # | |
Defined in Network.AWS.CloudFront.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Origins -> c Origins # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Origins # toConstr :: Origins -> Constr # dataTypeOf :: Origins -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Origins) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Origins) # gmapT :: (forall b. Data b => b -> b) -> Origins -> Origins # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Origins -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Origins -> r # gmapQ :: (forall d. Data d => d -> u) -> Origins -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Origins -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Origins -> m Origins # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Origins -> m Origins # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Origins -> m Origins # | |
Read Origins Source # | |
Show Origins Source # | |
Generic Origins Source # | |
Hashable Origins Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
FromXML Origins Source # | |
ToXML Origins Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
NFData Origins Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
type Rep Origins Source # | |
Defined in Network.AWS.CloudFront.Types.Product type Rep Origins = D1 (MetaData "Origins" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.6.1-4jyCxtauObV85CKHrmGQe5" False) (C1 (MetaCons "Origins'" PrefixI True) (S1 (MetaSel (Just "_oItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Origin))) :*: S1 (MetaSel (Just "_oQuantity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))) |
oItems :: Lens' Origins (Maybe (NonEmpty Origin)) Source #
A complex type that contains origins for this distribution.
Paths
A complex type that contains information about the objects that you want to invalidate. For more information, see Specifying the Objects to Invalidate in the Amazon CloudFront Developer Guide .
See: paths
smart constructor.
Instances
Eq Paths Source # | |
Data Paths Source # | |
Defined in Network.AWS.CloudFront.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Paths -> c Paths # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Paths # dataTypeOf :: Paths -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Paths) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Paths) # gmapT :: (forall b. Data b => b -> b) -> Paths -> Paths # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Paths -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Paths -> r # gmapQ :: (forall d. Data d => d -> u) -> Paths -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Paths -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Paths -> m Paths # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Paths -> m Paths # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Paths -> m Paths # | |
Read Paths Source # | |
Show Paths Source # | |
Generic Paths Source # | |
Hashable Paths Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
FromXML Paths Source # | |
ToXML Paths Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
NFData Paths Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
type Rep Paths Source # | |
Defined in Network.AWS.CloudFront.Types.Product type Rep Paths = D1 (MetaData "Paths" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.6.1-4jyCxtauObV85CKHrmGQe5" False) (C1 (MetaCons "Paths'" PrefixI True) (S1 (MetaSel (Just "_pItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_pQuantity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))) |
pItems :: Lens' Paths [Text] Source #
A complex type that contains a list of the paths that you want to invalidate.
PublicKey
A complex data type of public keys you add to CloudFront to use with features like field-level encryption.
See: publicKey
smart constructor.
Instances
Creates a value of PublicKey
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pkId
- A unique ID assigned to a public key you've added to CloudFront.pkCreatedTime
- A time you added a public key to CloudFront.pkPublicKeyConfig
- A complex data type for a public key you add to CloudFront to use with features like field-level encryption.
pkId :: Lens' PublicKey Text Source #
A unique ID assigned to a public key you've added to CloudFront.
pkPublicKeyConfig :: Lens' PublicKey PublicKeyConfig Source #
A complex data type for a public key you add to CloudFront to use with features like field-level encryption.
PublicKeyConfig
data PublicKeyConfig Source #
Information about a public key you add to CloudFront to use with features like field-level encryption.
See: publicKeyConfig
smart constructor.
Instances
Creates a value of PublicKeyConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pkcComment
- An optional comment about a public key.pkcCallerReference
- A unique number that ensures the request can't be replayed.pkcName
- The name for a public key you add to CloudFront to use with features like field-level encryption.pkcEncodedKey
- The encoded public key that you want to add to CloudFront to use with features like field-level encryption.
pkcComment :: Lens' PublicKeyConfig (Maybe Text) Source #
An optional comment about a public key.
pkcCallerReference :: Lens' PublicKeyConfig Text Source #
A unique number that ensures the request can't be replayed.
pkcName :: Lens' PublicKeyConfig Text Source #
The name for a public key you add to CloudFront to use with features like field-level encryption.
pkcEncodedKey :: Lens' PublicKeyConfig Text Source #
The encoded public key that you want to add to CloudFront to use with features like field-level encryption.
PublicKeyList
data PublicKeyList Source #
A list of public keys you've added to CloudFront to use with features like field-level encryption.
See: publicKeyList
smart constructor.
Instances
Creates a value of PublicKeyList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pklItems
- An array of information about a public key you add to CloudFront to use with features like field-level encryption.pklNextMarker
- If there are more elements to be listed, this element is present and contains the value that you can use for theMarker
request parameter to continue listing your public keys where you left off.pklMaxItems
- The maximum number of public keys you want in the response body.pklQuantity
- The number of public keys you added to CloudFront to use with features like field-level encryption.
pklItems :: Lens' PublicKeyList [PublicKeySummary] Source #
An array of information about a public key you add to CloudFront to use with features like field-level encryption.
pklNextMarker :: Lens' PublicKeyList (Maybe Text) Source #
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.
pklMaxItems :: Lens' PublicKeyList Int Source #
The maximum number of public keys you want in the response body.
pklQuantity :: Lens' PublicKeyList Int Source #
The number of public keys you added to CloudFront to use with features like field-level encryption.
PublicKeySummary
data PublicKeySummary Source #
Public key information summary.
See: publicKeySummary
smart constructor.
Instances
Creates a value of PublicKeySummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pksComment
- Comment for public key information summary.pksId
- ID for public key information summary.pksName
- Name for public key information summary.pksCreatedTime
- Creation time for public key information summary.pksEncodedKey
- Encoded key for public key information summary.
pksComment :: Lens' PublicKeySummary (Maybe Text) Source #
Comment for public key information summary.
pksCreatedTime :: Lens' PublicKeySummary UTCTime Source #
Creation time for public key information summary.
pksEncodedKey :: Lens' PublicKeySummary Text Source #
Encoded key for public key information summary.
QueryArgProfile
data QueryArgProfile Source #
Query argument-profile mapping for field-level encryption.
See: queryArgProfile
smart constructor.
Instances
Creates a value of QueryArgProfile
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
qapQueryArg
- Query argument for field-level encryption query argument-profile mapping.qapProfileId
- ID of profile to use for field-level encryption query argument-profile mapping
qapQueryArg :: Lens' QueryArgProfile Text Source #
Query argument for field-level encryption query argument-profile mapping.
qapProfileId :: Lens' QueryArgProfile Text Source #
ID of profile to use for field-level encryption query argument-profile mapping
QueryArgProfileConfig
data QueryArgProfileConfig Source #
Configuration for query argument-profile mapping for field-level encryption.
See: queryArgProfileConfig
smart constructor.
Instances
queryArgProfileConfig Source #
Creates a value of QueryArgProfileConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
qapcQueryArgProfiles
- Profiles specified for query argument-profile mapping for field-level encryption.qapcForwardWhenQueryArgProfileIsUnknown
- 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.
qapcQueryArgProfiles :: Lens' QueryArgProfileConfig (Maybe QueryArgProfiles) Source #
Profiles specified for query argument-profile mapping for field-level encryption.
qapcForwardWhenQueryArgProfileIsUnknown :: Lens' QueryArgProfileConfig Bool Source #
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.
QueryArgProfiles
data QueryArgProfiles Source #
Query argument-profile mapping for field-level encryption.
See: queryArgProfiles
smart constructor.
Instances
Creates a value of QueryArgProfiles
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
qapItems
- Number of items for query argument-profile mapping for field-level encryption.qapQuantity
- Number of profiles for query argument-profile mapping for field-level encryption.
qapItems :: Lens' QueryArgProfiles [QueryArgProfile] Source #
Number of items for query argument-profile mapping for field-level encryption.
qapQuantity :: Lens' QueryArgProfiles Int Source #
Number of profiles for query argument-profile mapping for field-level encryption.
QueryStringCacheKeys
data QueryStringCacheKeys Source #
See: queryStringCacheKeys
smart constructor.
Instances
Creates a value of QueryStringCacheKeys
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
qsckItems
- (Optional) A list that contains the query string parameters that you want CloudFront to use as a basis for caching for this cache behavior. IfQuantity
is 0, you can omitItems
.qsckQuantity
- The number ofwhitelisted
query string parameters for this cache behavior.
qsckItems :: Lens' QueryStringCacheKeys [Text] Source #
(Optional) A list that contains the query string parameters that you want CloudFront to use as a basis for caching for this cache behavior. If Quantity
is 0, you can omit Items
.
qsckQuantity :: Lens' QueryStringCacheKeys Int Source #
The number of whitelisted
query string parameters for this cache behavior.
Restrictions
data Restrictions Source #
A complex type that identifies ways in which you want to restrict distribution of your content.
See: restrictions
smart constructor.
Instances
Creates a value of Restrictions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rGeoRestriction
- Undocumented member.
rGeoRestriction :: Lens' Restrictions GeoRestriction Source #
Undocumented member.
S3Origin
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
See: s3Origin
smart constructor.
Instances
Eq S3Origin Source # | |
Data S3Origin Source # | |
Defined in Network.AWS.CloudFront.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> S3Origin -> c S3Origin # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c S3Origin # toConstr :: S3Origin -> Constr # dataTypeOf :: S3Origin -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c S3Origin) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c S3Origin) # gmapT :: (forall b. Data b => b -> b) -> S3Origin -> S3Origin # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> S3Origin -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> S3Origin -> r # gmapQ :: (forall d. Data d => d -> u) -> S3Origin -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> S3Origin -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> S3Origin -> m S3Origin # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> S3Origin -> m S3Origin # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> S3Origin -> m S3Origin # | |
Read S3Origin Source # | |
Show S3Origin Source # | |
Generic S3Origin Source # | |
Hashable S3Origin Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
FromXML S3Origin Source # | |
ToXML S3Origin Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
NFData S3Origin Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
type Rep S3Origin Source # | |
Defined in Network.AWS.CloudFront.Types.Product type Rep S3Origin = D1 (MetaData "S3Origin" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.6.1-4jyCxtauObV85CKHrmGQe5" False) (C1 (MetaCons "S3Origin'" PrefixI True) (S1 (MetaSel (Just "_soDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_soOriginAccessIdentity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) |
Creates a value of S3Origin
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
soDomainName
- The DNS name of the Amazon S3 origin.soOriginAccessIdentity
- The CloudFront origin access identity to associate with the RTMP distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an emptyOriginAccessIdentity
element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an emptyOriginAccessIdentity
element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity. For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon Amazon CloudFront Developer Guide .
soOriginAccessIdentity :: Lens' S3Origin Text Source #
The CloudFront origin access identity to associate with the RTMP distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity
element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity
element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity. For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon Amazon CloudFront Developer Guide .
S3OriginConfig
data S3OriginConfig Source #
A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig
element instead.
See: s3OriginConfig
smart constructor.
Instances
Creates a value of S3OriginConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
socOriginAccessIdentity
- The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that viewers can only access objects in an Amazon S3 bucket through CloudFront. The format of the value is: origin-access-identitycloudfrontID-of-origin-access-identity whereID-of-origin-access-identity
is the value that CloudFront returned in theID
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 emptyOriginAccessIdentity
element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an emptyOriginAccessIdentity
element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity. For more information about the origin access identity, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide .
socOriginAccessIdentity :: Lens' S3OriginConfig Text Source #
The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that viewers can only access objects in an Amazon S3 bucket through CloudFront. The format of the value is: origin-access-identitycloudfrontID-of-origin-access-identity where ID-of-origin-access-identity
is the value that CloudFront returned in the ID
element when you created the origin access identity. If you want viewers to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity
element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity
element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity. For more information about the origin access identity, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide .
Signer
A complex type that lists the AWS accounts that were included in the TrustedSigners
complex type, as well as their active CloudFront key pair IDs, if any.
See: signer
smart constructor.
Instances
Eq Signer Source # | |
Data Signer Source # | |
Defined in Network.AWS.CloudFront.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Signer -> c Signer # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Signer # toConstr :: Signer -> Constr # dataTypeOf :: Signer -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Signer) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Signer) # gmapT :: (forall b. Data b => b -> b) -> Signer -> Signer # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Signer -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Signer -> r # gmapQ :: (forall d. Data d => d -> u) -> Signer -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Signer -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Signer -> m Signer # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Signer -> m Signer # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Signer -> m Signer # | |
Read Signer Source # | |
Show Signer Source # | |
Generic Signer Source # | |
Hashable Signer Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
FromXML Signer Source # | |
NFData Signer Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
type Rep Signer Source # | |
Defined in Network.AWS.CloudFront.Types.Product type Rep Signer = D1 (MetaData "Signer" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.6.1-4jyCxtauObV85CKHrmGQe5" False) (C1 (MetaCons "Signer'" PrefixI True) (S1 (MetaSel (Just "_sAWSAccountNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sKeyPairIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe KeyPairIds)))) |
Creates a value of Signer
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sAWSAccountNumber
- An AWS account that is included in theTrustedSigners
complex type for this RTMP distribution. Valid values include: *self
, which is the AWS account used to create the distribution. * An AWS account number.sKeyPairIds
- A complex type that lists the active CloudFront key pairs, if any, that are associated withAwsAccountNumber
.
sAWSAccountNumber :: Lens' Signer (Maybe Text) Source #
An AWS account that is included in the TrustedSigners
complex type for this RTMP distribution. Valid values include: * self
, which is the AWS account used to create the distribution. * An AWS account number.
sKeyPairIds :: Lens' Signer (Maybe KeyPairIds) Source #
A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber
.
StreamingDistribution
data StreamingDistribution Source #
A streaming distribution.
See: streamingDistribution
smart constructor.
Instances
streamingDistribution Source #
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> ActiveTrustedSigners | |
-> StreamingDistributionConfig | |
-> StreamingDistribution |
Creates a value of StreamingDistribution
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdLastModifiedTime
- The date and time that the distribution was last modified.sdId
- The identifier for the RTMP distribution. For example:EGTXBD79EXAMPLE
.sdARN
- Undocumented member.sdStatus
- The current status of the RTMP distribution. When the status isDeployed
, the distribution's information is propagated to all CloudFront edge locations.sdDomainName
- The domain name that corresponds to the streaming distribution, for example,s5c39gqb8ow64r.cloudfront.net
.sdActiveTrustedSigners
- A complex type that lists the AWS accounts, if any, that you included in theTrustedSigners
complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content. TheSigner
complex type lists the AWS account number of the trusted signer orself
if the signer is the AWS account that created the distribution. TheSigner
element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's AWS account. If noKeyPairId
element appears for aSigner
, that signer can't create signed URLs. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide .sdStreamingDistributionConfig
- The current configuration information for the RTMP distribution.
sdLastModifiedTime :: Lens' StreamingDistribution (Maybe UTCTime) Source #
The date and time that the distribution was last modified.
sdId :: Lens' StreamingDistribution Text Source #
The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE
.
sdStatus :: Lens' StreamingDistribution Text Source #
The current status of the RTMP distribution. When the status is Deployed
, the distribution's information is propagated to all CloudFront edge locations.
sdDomainName :: Lens' StreamingDistribution Text Source #
The domain name that corresponds to the streaming distribution, for example, s5c39gqb8ow64r.cloudfront.net
.
sdActiveTrustedSigners :: Lens' StreamingDistribution ActiveTrustedSigners Source #
A complex type that lists the AWS accounts, if any, that you included in the TrustedSigners
complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content. The Signer
complex type lists the AWS account number of the trusted signer or self
if the signer is the AWS account that created the distribution. The Signer
element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's AWS account. If no KeyPairId
element appears for a Signer
, that signer can't create signed URLs. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide .
sdStreamingDistributionConfig :: Lens' StreamingDistribution StreamingDistributionConfig Source #
The current configuration information for the RTMP distribution.
StreamingDistributionConfig
data StreamingDistributionConfig Source #
The RTMP distribution's configuration information.
See: streamingDistributionConfig
smart constructor.
Instances
streamingDistributionConfig Source #
:: Text | |
-> S3Origin | |
-> Text | |
-> TrustedSigners | |
-> Bool | |
-> StreamingDistributionConfig |
Creates a value of StreamingDistributionConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdcAliases
- A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.sdcPriceClass
- A complex type that contains information about price class for this streaming distribution.sdcLogging
- A complex type that controls whether access logs are written for the streaming distribution.sdcCallerReference
- A unique number that ensures that the request can't be replayed. If theCallerReference
is new (no matter the content of theStreamingDistributionConfig
object), a new streaming distribution is created. If theCallerReference
is a value that you already sent in a previous request to create a streaming distribution, and the content of theStreamingDistributionConfig
is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If theCallerReference
is a value that you already sent in a previous request to create a streaming distribution but the content of theStreamingDistributionConfig
is different from the original request, CloudFront returns aDistributionAlreadyExists
error.sdcS3Origin
- A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.sdcComment
- Any comments you want to include about the streaming distribution.sdcTrustedSigners
- A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide .sdcEnabled
- Whether the streaming distribution is enabled to accept user requests for content.
sdcAliases :: Lens' StreamingDistributionConfig (Maybe Aliases) Source #
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
sdcPriceClass :: Lens' StreamingDistributionConfig (Maybe PriceClass) Source #
A complex type that contains information about price class for this streaming distribution.
sdcLogging :: Lens' StreamingDistributionConfig (Maybe StreamingLoggingConfig) Source #
A complex type that controls whether access logs are written for the streaming distribution.
sdcCallerReference :: Lens' StreamingDistributionConfig Text Source #
A unique number that ensures that the request can't be replayed. If the CallerReference
is new (no matter the content of the StreamingDistributionConfig
object), a new streaming distribution is created. If the CallerReference
is a value that you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig
is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference
is a value that you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig
is different from the original request, CloudFront returns a DistributionAlreadyExists
error.
sdcS3Origin :: Lens' StreamingDistributionConfig S3Origin Source #
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
sdcComment :: Lens' StreamingDistributionConfig Text Source #
Any comments you want to include about the streaming distribution.
sdcTrustedSigners :: Lens' StreamingDistributionConfig TrustedSigners Source #
A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide .
sdcEnabled :: Lens' StreamingDistributionConfig Bool Source #
Whether the streaming distribution is enabled to accept user requests for content.
StreamingDistributionConfigWithTags
data StreamingDistributionConfigWithTags Source #
A streaming distribution Configuration and a list of tags to be associated with the streaming distribution.
See: streamingDistributionConfigWithTags
smart constructor.
Instances
streamingDistributionConfigWithTags Source #
Creates a value of StreamingDistributionConfigWithTags
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdcwtStreamingDistributionConfig
- A streaming distribution Configuration.sdcwtTags
- A complex type that contains zero or moreTag
elements.
sdcwtStreamingDistributionConfig :: Lens' StreamingDistributionConfigWithTags StreamingDistributionConfig Source #
A streaming distribution Configuration.
sdcwtTags :: Lens' StreamingDistributionConfigWithTags Tags Source #
A complex type that contains zero or more Tag
elements.
StreamingDistributionList
data StreamingDistributionList Source #
A streaming distribution list.
See: streamingDistributionList
smart constructor.
Instances
streamingDistributionList Source #
Creates a value of StreamingDistributionList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdlItems
- A complex type that contains oneStreamingDistributionSummary
element for each distribution that was created by the current AWS account.sdlNextMarker
- IfIsTruncated
istrue
, this element is present and contains the value you can use for theMarker
request parameter to continue listing your RTMP distributions where they left off.sdlMarker
- The value you provided for theMarker
request parameter.sdlMaxItems
- The value you provided for theMaxItems
request parameter.sdlIsTruncated
- A flag that indicates whether more streaming distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using theMarker
request parameter to retrieve more distributions in the list.sdlQuantity
- The number of streaming distributions that were created by the current AWS account.
sdlItems :: Lens' StreamingDistributionList [StreamingDistributionSummary] Source #
A complex type that contains one StreamingDistributionSummary
element for each distribution that was created by the current AWS account.
sdlNextMarker :: Lens' StreamingDistributionList (Maybe Text) Source #
If IsTruncated
is true
, this element is present and contains the value you can use for the Marker
request parameter to continue listing your RTMP distributions where they left off.
sdlMarker :: Lens' StreamingDistributionList Text Source #
The value you provided for the Marker
request parameter.
sdlMaxItems :: Lens' StreamingDistributionList Int Source #
The value you provided for the MaxItems
request parameter.
sdlIsTruncated :: Lens' StreamingDistributionList Bool Source #
A flag that indicates whether more streaming distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker
request parameter to retrieve more distributions in the list.
sdlQuantity :: Lens' StreamingDistributionList Int Source #
The number of streaming distributions that were created by the current AWS account.
StreamingDistributionSummary
data StreamingDistributionSummary Source #
A summary of the information for an Amazon CloudFront streaming distribution.
See: streamingDistributionSummary
smart constructor.
Instances
streamingDistributionSummary Source #
:: Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> Text | |
-> S3Origin | |
-> Aliases | |
-> TrustedSigners | |
-> Text | |
-> PriceClass | |
-> Bool | |
-> StreamingDistributionSummary |
Creates a value of StreamingDistributionSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdsId
- The identifier for the distribution, for example,EDFDVBD632BHDS5
.sdsARN
- The ARN (Amazon Resource Name) for the streaming distribution. For example:arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5
, where123456789012
is your AWS account ID.sdsStatus
- Indicates the current status of the distribution. When the status isDeployed
, the distribution's information is fully propagated throughout the Amazon CloudFront system.sdsLastModifiedTime
- The date and time the distribution was last modified.sdsDomainName
- The domain name corresponding to the distribution, for example,d111111abcdef8.cloudfront.net
.sdsS3Origin
- A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.sdsAliases
- A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.sdsTrustedSigners
- A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match thePathPattern
for this cache behavior, specifytrue
forEnabled
, and specify the applicable values forQuantity
andItems
.If you don't want to require signed URLs in requests for objects that matchPathPattern
, specifyfalse
forEnabled
and0
forQuantity
. OmitItems
. To add, change, or remove one or more trusted signers, changeEnabled
totrue
(if it's currentlyfalse
), changeQuantity
as applicable, and specify all of the trusted signers that you want to include in the updated distribution.sdsComment
- The comment originally specified when this distribution was created.sdsPriceClass
- Undocumented member.sdsEnabled
- Whether the distribution is enabled to accept end user requests for content.
sdsId :: Lens' StreamingDistributionSummary Text Source #
The identifier for the distribution, for example, EDFDVBD632BHDS5
.
sdsARN :: Lens' StreamingDistributionSummary Text Source #
The ARN (Amazon Resource Name) for the streaming distribution. For example: arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5
, where 123456789012
is your AWS account ID.
sdsStatus :: Lens' StreamingDistributionSummary Text Source #
Indicates the current status of the distribution. When the status is Deployed
, the distribution's information is fully propagated throughout the Amazon CloudFront system.
sdsLastModifiedTime :: Lens' StreamingDistributionSummary UTCTime Source #
The date and time the distribution was last modified.
sdsDomainName :: Lens' StreamingDistributionSummary Text Source #
The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net
.
sdsS3Origin :: Lens' StreamingDistributionSummary S3Origin Source #
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
sdsAliases :: Lens' StreamingDistributionSummary Aliases Source #
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
sdsTrustedSigners :: Lens' StreamingDistributionSummary TrustedSigners Source #
A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern
for this cache behavior, specify true
for Enabled
, and specify the applicable values for Quantity
and Items
.If you don't want to require signed URLs in requests for objects that match PathPattern
, specify false
for Enabled
and 0
for Quantity
. Omit Items
. To add, change, or remove one or more trusted signers, change Enabled
to true
(if it's currently false
), change Quantity
as applicable, and specify all of the trusted signers that you want to include in the updated distribution.
sdsComment :: Lens' StreamingDistributionSummary Text Source #
The comment originally specified when this distribution was created.
sdsPriceClass :: Lens' StreamingDistributionSummary PriceClass Source #
Undocumented member.
sdsEnabled :: Lens' StreamingDistributionSummary Bool Source #
Whether the distribution is enabled to accept end user requests for content.
StreamingLoggingConfig
data StreamingLoggingConfig Source #
A complex type that controls whether access logs are written for this streaming distribution.
See: streamingLoggingConfig
smart constructor.
Instances
streamingLoggingConfig Source #
Creates a value of StreamingLoggingConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
slcEnabled
- 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, specifyfalse
forEnabled
, and specifyempty Bucket
andPrefix
elements. If you specifyfalse
forEnabled
but you specify values forBucket
andPrefix
, the values are automatically deleted.slcBucket
- The Amazon S3 bucket to store the access logs in, for example,myawslogbucket.s3.amazonaws.com
.slcPrefix
- An optional string that you want CloudFront to prefix to the access log filenames for this streaming distribution, for example,myprefix/
. If you want to enable logging, but you don't want to specify a prefix, you still must include an emptyPrefix
element in theLogging
element.
slcEnabled :: Lens' StreamingLoggingConfig Bool Source #
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.
slcBucket :: Lens' StreamingLoggingConfig Text Source #
The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com
.
slcPrefix :: Lens' StreamingLoggingConfig Text Source #
An optional string that you want CloudFront to prefix to the access log filenames for this streaming distribution, for example, myprefix/
. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix
element in the Logging
element.
Tag
A complex type that contains Tag
key and Tag
value.
See: tag
smart constructor.
Instances
Eq Tag Source # | |
Data Tag Source # | |
Defined in Network.AWS.CloudFront.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Tag -> c Tag # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Tag # dataTypeOf :: Tag -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Tag) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Tag) # gmapT :: (forall b. Data b => b -> b) -> Tag -> Tag # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Tag -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Tag -> r # gmapQ :: (forall d. Data d => d -> u) -> Tag -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Tag -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Tag -> m Tag # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Tag -> m Tag # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Tag -> m Tag # | |
Read Tag Source # | |
Show Tag Source # | |
Generic Tag Source # | |
Hashable Tag Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
FromXML Tag Source # | |
ToXML Tag Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
NFData Tag Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
type Rep Tag Source # | |
Defined in Network.AWS.CloudFront.Types.Product type Rep Tag = D1 (MetaData "Tag" "Network.AWS.CloudFront.Types.Product" "amazonka-cloudfront-1.6.1-4jyCxtauObV85CKHrmGQe5" False) (C1 (MetaCons "Tag'" PrefixI True) (S1 (MetaSel (Just "_tagValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tagKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) |
Creates a value of Tag
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tagValue
- A string that contains an optionalTag
value. The string length should be between 0 and 256 characters. Valid characters includea-z
,A-Z
,0-9
, space, and the special characters_ - . : / = +
@ .tagKey
- A string that containsTag
key. The string length should be between 1 and 128 characters. Valid characters includea-z
,A-Z
,0-9
, space, and the special characters_ - . : / = +
@ .
tagValue :: Lens' Tag (Maybe Text) Source #
A string that contains an optional Tag
value. The string length should be between 0 and 256 characters. Valid characters include a-z
, A-Z
, 0-9
, space, and the special characters _ - . : / = +
@ .
tagKey :: Lens' Tag Text Source #
A string that contains Tag
key. The string length should be between 1 and 128 characters. Valid characters include a-z
, A-Z
, 0-9
, space, and the special characters _ - . : / = +
@ .
TagKeys
A complex type that contains zero or more Tag
elements.
See: tagKeys
smart constructor.
Instances
Eq TagKeys Source # | |
Data TagKeys Source # | |
Defined in Network.AWS.CloudFront.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TagKeys -> c TagKeys # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TagKeys # toConstr :: TagKeys -> Constr # dataTypeOf :: TagKeys -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TagKeys) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TagKeys) # gmapT :: (forall b. Data b => b -> b) -> TagKeys -> TagKeys # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TagKeys -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TagKeys -> r # gmapQ :: (forall d. Data d => d -> u) -> TagKeys -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> TagKeys -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TagKeys -> m TagKeys # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TagKeys -> m TagKeys # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TagKeys -> m TagKeys # | |
Read TagKeys Source # | |
Show TagKeys Source # | |
Generic TagKeys Source # | |
Hashable TagKeys Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
ToXML TagKeys Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
NFData TagKeys Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
type Rep TagKeys Source # | |
Defined in Network.AWS.CloudFront.Types.Product |
Tags
A complex type that contains zero or more Tag
elements.
See: tags
smart constructor.
Instances
Eq Tags Source # | |
Data Tags Source # | |
Defined in Network.AWS.CloudFront.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Tags -> c Tags # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Tags # dataTypeOf :: Tags -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Tags) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Tags) # gmapT :: (forall b. Data b => b -> b) -> Tags -> Tags # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Tags -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Tags -> r # gmapQ :: (forall d. Data d => d -> u) -> Tags -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Tags -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Tags -> m Tags # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Tags -> m Tags # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Tags -> m Tags # | |
Read Tags Source # | |
Show Tags Source # | |
Generic Tags Source # | |
Hashable Tags Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
FromXML Tags Source # | |
ToXML Tags Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
NFData Tags Source # | |
Defined in Network.AWS.CloudFront.Types.Product | |
type Rep Tags Source # | |
Defined in Network.AWS.CloudFront.Types.Product |
TrustedSigners
data TrustedSigners Source #
A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content.
If you want to require signed URLs in requests for objects in the target origin that match the PathPattern
for this cache behavior, specify true
for Enabled
, and specify the applicable values for Quantity
and Items
. For more information, see Serving Private Content through CloudFront in the Amazon Amazon CloudFront Developer Guide .
If you don't want to require signed URLs in requests for objects that match PathPattern
, specify false
for Enabled
and 0
for Quantity
. Omit Items
.
To add, change, or remove one or more trusted signers, change Enabled
to true
(if it's currently false
), change Quantity
as applicable, and specify all of the trusted signers that you want to include in the updated distribution.
For more information about updating the distribution configuration, see DistributionConfig
.
See: trustedSigners
smart constructor.
Instances
Creates a value of TrustedSigners
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tsItems
- Optional : A complex type that contains trusted signers for this cache behavior. IfQuantity
is0
, you can omitItems
.tsEnabled
- Specifies whether you want to require viewers to use signed URLs to access the files specified byPathPattern
andTargetOriginId
.tsQuantity
- The number of trusted signers for this cache behavior.
tsItems :: Lens' TrustedSigners [Text] Source #
Optional : A complex type that contains trusted signers for this cache behavior. If Quantity
is 0
, you can omit Items
.
tsEnabled :: Lens' TrustedSigners Bool Source #
Specifies whether you want to require viewers to use signed URLs to access the files specified by PathPattern
and TargetOriginId
.
tsQuantity :: Lens' TrustedSigners Int Source #
The number of trusted signers for this cache behavior.
ViewerCertificate
data ViewerCertificate Source #
A complex type that specifies the following:
- Whether you want viewers to use HTTP or HTTPS to request your objects.
- If you want viewers to use HTTPS, whether you're using an alternate domain name such as
example.com
or the CloudFront domain name for your distribution, such asd111111abcdef8.cloudfront.net
. - If you're using an alternate domain name, whether AWS Certificate Manager (ACM) provided the certificate, or you purchased a certificate from a third-party certificate authority and imported it into ACM or uploaded it to the IAM certificate store.
You must specify only one of the following values:
- 'ViewerCertificate$ACMCertificateArn'
- 'ViewerCertificate$IAMCertificateId'
- 'ViewerCertificate$CloudFrontDefaultCertificate'
Don't specify false
for CloudFrontDefaultCertificate
.
If you want viewers to use HTTP instead of HTTPS to request your objects : Specify the following value:
CloudFrontDefaultCertificatetrueCloudFrontDefaultCertificate
In addition, specify allow-all
for ViewerProtocolPolicy
for all of your cache behaviors.
If you want viewers to use HTTPS to request your objects : Choose the type of certificate that you want to use based on whether you're using an alternate domain name for your objects or the CloudFront domain name:
- If you're using an alternate domain name, such as example.com : Specify one of the following values, depending on whether ACM provided your certificate or you purchased your certificate from third-party certificate authority:
ACMCertificateArnARN for ACM SSL/TLS certificate ACMCertificateArn
whereARN for ACM SSL/TLS certificate
is the ARN for the ACM SSL/TLS certificate that you want to use for this distribution.IAMCertificateIdIAM certificate ID IAMCertificateId
whereIAM certificate ID
is the ID that IAM returned when you added the certificate to the IAM certificate store.
If you specify ACMCertificateArn
or IAMCertificateId
, you must also specify a value for SSLSupportMethod
.
If you choose to use an ACM certificate or a certificate in the IAM certificate store, we recommend that you use only an alternate domain name in your object URLs (https://example.com/logo.jpg
). If you use the domain name that is associated with your CloudFront distribution (such as https://d111111abcdef8.cloudfront.net/logo.jpg
) and the viewer supports SNI
, then CloudFront behaves normally. However, if the browser does not support SNI, the user's experience depends on the value that you choose for SSLSupportMethod
:
vip
: The viewer displays a warning because there is a mismatch between the CloudFront domain name and the domain name in your SSL/TLS certificate.sni-only
: CloudFront drops the connection with the browser without returning the object.- If you're using the CloudFront domain name for your distribution, such as
d111111abcdef8.cloudfront.net
: Specify the following value:
CloudFrontDefaultCertificatetrueCloudFrontDefaultCertificate
If you want viewers to use HTTPS, you must also specify one of the following values in your cache behaviors:
ViewerProtocolPolicyhttps-onlyViewerProtocolPolicy
ViewerProtocolPolicyredirect-to-httpsViewerProtocolPolicy
You can also optionally require that CloudFront use HTTPS to communicate with your origin by specifying one of the following values for the applicable origins:
OriginProtocolPolicyhttps-onlyOriginProtocolPolicy
OriginProtocolPolicymatch-viewerOriginProtocolPolicy
For more information, see Using Alternate Domain Names and HTTPS in the Amazon CloudFront Developer Guide .
See: viewerCertificate
smart constructor.
Instances
viewerCertificate :: ViewerCertificate Source #
Creates a value of ViewerCertificate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vcSSLSupportMethod
- If you specify a value for 'ViewerCertificate$ACMCertificateArn' or for 'ViewerCertificate$IAMCertificateId' , you must also specify how you want CloudFront to serve HTTPS requests: using a method that works for all clients or one that works for most clients: *vip
: CloudFront uses dedicated IP addresses for your content and can respond to HTTPS requests from any viewer. However, you will incur additional monthly charges. *sni-only
: CloudFront can respond to HTTPS requests from viewers that support Server Name Indication (SNI). All modern browsers support SNI, but some browsers still in use don't support SNI. If some of your users' browsers don't support SNI, we recommend that you do one of the following: * Use thevip
option (dedicated IP addresses) instead ofsni-only
. * Use the CloudFront SSLTLS certificate instead of a custom certificate. This requires that you use the CloudFront domain name of your distribution in the URLs for your objects, for example, @https:d111111abcdef8.cloudfront.netlogo.png. * If you can control which browser your users use, upgrade the browser to one that supports SNI. * Use HTTP instead of HTTPS. Don't specify a value for
SSLSupportMethodif you specified
CloudFrontDefaultCertificatetrueCloudFrontDefaultCertificate@ . For more information, see Using Alternate Domain Names and HTTPS in the Amazon CloudFront Developer Guide .vcACMCertificateARN
- For information about how and when to useACMCertificateArn
, seeViewerCertificate
.vcCertificateSource
- This field has been deprecated. Use one of the following fields instead: * 'ViewerCertificate$ACMCertificateArn' * 'ViewerCertificate$IAMCertificateId' * 'ViewerCertificate$CloudFrontDefaultCertificate'vcMinimumProtocolVersion
- Specify the security policy that you want CloudFront to use for HTTPS connections. A security policy determines two settings: * The minimum SSLTLS protocol that CloudFront uses to communicate with viewers * The cipher that CloudFront uses to encrypt the content that it returns to viewers We recommend that you specifyTLSv1.1_2016
unless your users are using browsers or devices that do not support TLSv1.1 or later. When both of the following are true, you must specifyTLSv1
or later for the security policy: * You're using a custom certificate: you specified a value forACMCertificateArn
or forIAMCertificateId
* You're using SNI: you specifiedsni-only
forSSLSupportMethod
If you specifytrue
forCloudFrontDefaultCertificate
, CloudFront automatically sets the security policy toTLSv1
regardless of the value that you specify forMinimumProtocolVersion
. For information about the relationship between the security policy that you choose and the protocols and ciphers that CloudFront uses to communicate with viewers, see <http:docs.aws.amazon.comAmazonCloudFrontlatestDeveloperGuidesecure-connections-supported-viewer-protocols-ciphers.html#secure-connections-supported-ciphers Supported SSLTLS Protocols and Ciphers for Communication Between Viewers and CloudFront> in the Amazon CloudFront Developer Guide .vcCertificate
- This field has been deprecated. Use one of the following fields instead: * 'ViewerCertificate$ACMCertificateArn' * 'ViewerCertificate$IAMCertificateId' * 'ViewerCertificate$CloudFrontDefaultCertificate'vcIAMCertificateId
- For information about how and when to useIAMCertificateId
, seeViewerCertificate
.vcCloudFrontDefaultCertificate
- For information about how and when to useCloudFrontDefaultCertificate
, seeViewerCertificate
.
vcSSLSupportMethod :: Lens' ViewerCertificate (Maybe SSLSupportMethod) Source #
If you specify a value for 'ViewerCertificate$ACMCertificateArn' or for 'ViewerCertificate$IAMCertificateId' , you must also specify how you want CloudFront to serve HTTPS requests: using a method that works for all clients or one that works for most clients: * vip
: CloudFront uses dedicated IP addresses for your content and can respond to HTTPS requests from any viewer. However, you will incur additional monthly charges. * sni-only
: CloudFront can respond to HTTPS requests from viewers that support Server Name Indication (SNI). All modern browsers support SNI, but some browsers still in use don't support SNI. If some of your users' browsers don't support SNI, we recommend that you do one of the following: * Use the vip
option (dedicated IP addresses) instead of sni-only
. * Use the CloudFront SSLTLS certificate instead of a custom certificate. This requires that you use the CloudFront domain name of your distribution in the URLs for your objects, for example, @https:d111111abcdef8.cloudfront.netlogo.png . * If you can control which browser your users use, upgrade the browser to one that supports SNI. * Use HTTP instead of HTTPS. Don't specify a value for
SSLSupportMethod if you specified
CloudFrontDefaultCertificatetrueCloudFrontDefaultCertificate@ . For more information, see Using Alternate Domain Names and HTTPS in the Amazon CloudFront Developer Guide .
vcACMCertificateARN :: Lens' ViewerCertificate (Maybe Text) Source #
For information about how and when to use ACMCertificateArn
, see ViewerCertificate
.
vcCertificateSource :: Lens' ViewerCertificate (Maybe CertificateSource) Source #
This field has been deprecated. Use one of the following fields instead: * 'ViewerCertificate$ACMCertificateArn' * 'ViewerCertificate$IAMCertificateId' * 'ViewerCertificate$CloudFrontDefaultCertificate'
vcMinimumProtocolVersion :: Lens' ViewerCertificate (Maybe MinimumProtocolVersion) Source #
Specify the security policy that you want CloudFront to use for HTTPS connections. A security policy determines two settings: * The minimum SSLTLS protocol that CloudFront uses to communicate with viewers * The cipher that CloudFront uses to encrypt the content that it returns to viewers We recommend that you specify TLSv1.1_2016
unless your users are using browsers or devices that do not support TLSv1.1 or later. When both of the following are true, you must specify TLSv1
or later for the security policy: * You're using a custom certificate: you specified a value for ACMCertificateArn
or for IAMCertificateId
* You're using SNI: you specified sni-only
for SSLSupportMethod
If you specify true
for CloudFrontDefaultCertificate
, CloudFront automatically sets the security policy to TLSv1
regardless of the value that you specify for MinimumProtocolVersion
. For information about the relationship between the security policy that you choose and the protocols and ciphers that CloudFront uses to communicate with viewers, see <http:docs.aws.amazon.comAmazonCloudFrontlatestDeveloperGuidesecure-connections-supported-viewer-protocols-ciphers.html#secure-connections-supported-ciphers Supported SSLTLS Protocols and Ciphers for Communication Between Viewers and CloudFront> in the Amazon CloudFront Developer Guide .
vcCertificate :: Lens' ViewerCertificate (Maybe Text) Source #
This field has been deprecated. Use one of the following fields instead: * 'ViewerCertificate$ACMCertificateArn' * 'ViewerCertificate$IAMCertificateId' * 'ViewerCertificate$CloudFrontDefaultCertificate'
vcIAMCertificateId :: Lens' ViewerCertificate (Maybe Text) Source #
For information about how and when to use IAMCertificateId
, see ViewerCertificate
.
vcCloudFrontDefaultCertificate :: Lens' ViewerCertificate (Maybe Bool) Source #
For information about how and when to use CloudFrontDefaultCertificate
, see ViewerCertificate
.