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 |
Network.AWS.CloudFront
Contents
- Service Configuration
- Errors
- TooManyOriginCustomHeaders
- InvalidTagging
- InvalidErrorCode
- NoSuchFieldLevelEncryptionProfile
- FieldLevelEncryptionProfileInUse
- InvalidOriginReadTimeout
- TooManyFieldLevelEncryptionProfiles
- TooManyCacheBehaviors
- TooManyCloudFrontOriginAccessIdentities
- InvalidOriginAccessIdentity
- DistributionNotDisabled
- NoSuchStreamingDistribution
- InconsistentQuantities
- InvalidArgument
- InvalidOriginKeepaliveTimeout
- TooManyInvalidationsInProgress
- InvalidWebACLId
- TooManyQueryStringParameters
- TooManyFieldLevelEncryptionQueryArgProfiles
- TooManyDistributionCNAMEs
- NoSuchCloudFrontOriginAccessIdentity
- CloudFrontOriginAccessIdentityInUse
- TooManyStreamingDistributions
- CannotChangeImmutablePublicKeyFields
- BatchTooLarge
- TooManyCookieNamesInWhiteList
- InvalidLambdaFunctionAssociation
- InvalidForwardCookies
- FieldLevelEncryptionConfigInUse
- TooManyTrustedSigners
- InvalidOrigin
- NoSuchInvalidation
- PublicKeyAlreadyExists
- NoSuchOrigin
- InvalidTTLOrder
- StreamingDistributionNotDisabled
- TooManyHeadersInForwardedValues
- NoSuchResource
- TooManyFieldLevelEncryptionEncryptionEntities
- TooManyStreamingDistributionCNAMEs
- FieldLevelEncryptionProfileAlreadyExists
- ResourceInUse
- InvalidRequiredProtocol
- TooManyDistributions
- TooManyCertificates
- DistributionAlreadyExists
- TooManyDistributionsAssociatedToFieldLevelEncryptionConfig
- InvalidQueryStringParameters
- MissingBody
- IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior
- IllegalUpdate
- InvalidIfMatchVersion
- FieldLevelEncryptionConfigAlreadyExists
- PreconditionFailed
- InvalidResponseCode
- InvalidHeadersForS3Origin
- CNAMEAlreadyExists
- NoSuchPublicKey
- PublicKeyInUse
- TrustedSignerDoesNotExist
- InvalidProtocolSettings
- TooManyPublicKeys
- NoSuchFieldLevelEncryptionConfig
- TooManyFieldLevelEncryptionContentTypeProfiles
- TooManyFieldLevelEncryptionFieldPatterns
- TooManyFieldLevelEncryptionConfigs
- TooManyLambdaFunctionAssociations
- CloudFrontOriginAccessIdentityAlreadyExists
- TooManyOrigins
- InvalidRelativePath
- StreamingDistributionAlreadyExists
- QueryArgProfileEmpty
- InvalidMinimumProtocolVersion
- AccessDenied
- InvalidViewerCertificate
- NoSuchDistribution
- FieldLevelEncryptionProfileSizeExceeded
- InvalidDefaultRootObject
- TooManyDistributionsWithLambdaAssociations
- InvalidGeoRestrictionParameter
- InvalidLocationCode
- Waiters
- Operations
- DeleteStreamingDistribution
- UpdateStreamingDistribution
- ListPublicKeys
- GetFieldLevelEncryptionConfig
- ListTagsForResource
- CreatePublicKey
- GetPublicKeyConfig
- CreateDistributionWithTags
- CreateFieldLevelEncryptionConfig
- GetFieldLevelEncryption
- GetPublicKey
- DeleteFieldLevelEncryptionConfig
- UpdateFieldLevelEncryptionConfig
- CreateDistribution
- GetFieldLevelEncryptionProfile
- GetDistributionConfig
- CreateStreamingDistributionWithTags
- DeleteFieldLevelEncryptionProfile
- UpdateFieldLevelEncryptionProfile
- DeleteServiceLinkedRole
- CreateFieldLevelEncryptionProfile
- GetDistribution
- GetFieldLevelEncryptionProfileConfig
- UpdateCloudFrontOriginAccessIdentity
- DeleteCloudFrontOriginAccessIdentity
- ListStreamingDistributions (Paginated)
- DeletePublicKey
- UpdatePublicKey
- GetStreamingDistributionConfig
- GetCloudFrontOriginAccessIdentityConfig
- CreateStreamingDistribution
- CreateCloudFrontOriginAccessIdentity
- ListCloudFrontOriginAccessIdentities (Paginated)
- GetInvalidation
- ListInvalidations (Paginated)
- CreateInvalidation
- GetCloudFrontOriginAccessIdentity
- ListFieldLevelEncryptionConfigs
- TagResource
- GetStreamingDistribution
- UpdateDistribution
- DeleteDistribution
- UntagResource
- ListDistributionsByWebACLId
- ListDistributions (Paginated)
- ListFieldLevelEncryptionProfiles
- Types
- 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
Description
Amazon CloudFront is a web service that speeds up distribution of your static and dynamic web content, for example, .html, .css, .php, image, and media files, to end users. CloudFront delivers your content through a worldwide network of edge locations. When an end user requests content that you're serving with CloudFront, the user is routed to the edge location that provides the lowest latency, so content is delivered with the best possible performance. If the content is already in that edge location, CloudFront delivers it immediately. If the content is not currently in that edge location, CloudFront retrieves it from an Amazon S3 bucket or an HTTP server (for example, a web server) that you have identified as the source for the definitive version of your content.
Synopsis
- 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
- streamingDistributionDeployed :: Wait GetStreamingDistribution
- distributionDeployed :: Wait GetDistribution
- invalidationCompleted :: Wait GetInvalidation
- module Network.AWS.CloudFront.DeleteStreamingDistribution
- module Network.AWS.CloudFront.UpdateStreamingDistribution
- module Network.AWS.CloudFront.ListPublicKeys
- module Network.AWS.CloudFront.GetFieldLevelEncryptionConfig
- module Network.AWS.CloudFront.ListTagsForResource
- module Network.AWS.CloudFront.CreatePublicKey
- module Network.AWS.CloudFront.GetPublicKeyConfig
- module Network.AWS.CloudFront.CreateDistributionWithTags
- module Network.AWS.CloudFront.CreateFieldLevelEncryptionConfig
- module Network.AWS.CloudFront.GetFieldLevelEncryption
- module Network.AWS.CloudFront.GetPublicKey
- module Network.AWS.CloudFront.DeleteFieldLevelEncryptionConfig
- module Network.AWS.CloudFront.UpdateFieldLevelEncryptionConfig
- module Network.AWS.CloudFront.CreateDistribution
- module Network.AWS.CloudFront.GetFieldLevelEncryptionProfile
- module Network.AWS.CloudFront.GetDistributionConfig
- module Network.AWS.CloudFront.CreateStreamingDistributionWithTags
- module Network.AWS.CloudFront.DeleteFieldLevelEncryptionProfile
- module Network.AWS.CloudFront.UpdateFieldLevelEncryptionProfile
- module Network.AWS.CloudFront.DeleteServiceLinkedRole
- module Network.AWS.CloudFront.CreateFieldLevelEncryptionProfile
- module Network.AWS.CloudFront.GetDistribution
- module Network.AWS.CloudFront.GetFieldLevelEncryptionProfileConfig
- module Network.AWS.CloudFront.UpdateCloudFrontOriginAccessIdentity
- module Network.AWS.CloudFront.DeleteCloudFrontOriginAccessIdentity
- module Network.AWS.CloudFront.ListStreamingDistributions
- module Network.AWS.CloudFront.DeletePublicKey
- module Network.AWS.CloudFront.UpdatePublicKey
- module Network.AWS.CloudFront.GetStreamingDistributionConfig
- module Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentityConfig
- module Network.AWS.CloudFront.CreateStreamingDistribution
- module Network.AWS.CloudFront.CreateCloudFrontOriginAccessIdentity
- module Network.AWS.CloudFront.ListCloudFrontOriginAccessIdentities
- module Network.AWS.CloudFront.GetInvalidation
- module Network.AWS.CloudFront.ListInvalidations
- module Network.AWS.CloudFront.CreateInvalidation
- module Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity
- module Network.AWS.CloudFront.ListFieldLevelEncryptionConfigs
- module Network.AWS.CloudFront.TagResource
- module Network.AWS.CloudFront.GetStreamingDistribution
- module Network.AWS.CloudFront.UpdateDistribution
- module Network.AWS.CloudFront.DeleteDistribution
- module Network.AWS.CloudFront.UntagResource
- module Network.AWS.CloudFront.ListDistributionsByWebACLId
- module Network.AWS.CloudFront.ListDistributions
- module Network.AWS.CloudFront.ListFieldLevelEncryptionProfiles
- 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
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by CloudFront
.
TooManyOriginCustomHeaders
_TooManyOriginCustomHeaders :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for TooManyOriginCustomHeaders' errors.
InvalidTagging
_InvalidTagging :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidTagging' errors.
InvalidErrorCode
_InvalidErrorCode :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidErrorCode' errors.
NoSuchFieldLevelEncryptionProfile
_NoSuchFieldLevelEncryptionProfile :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified profile for field-level encryption doesn't exist.
FieldLevelEncryptionProfileInUse
_FieldLevelEncryptionProfileInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified profile for field-level encryption is in use.
InvalidOriginReadTimeout
_InvalidOriginReadTimeout :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidOriginReadTimeout' errors.
TooManyFieldLevelEncryptionProfiles
_TooManyFieldLevelEncryptionProfiles :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of profiles for field-level encryption have been created.
TooManyCacheBehaviors
_TooManyCacheBehaviors :: AsError a => Getting (First ServiceError) a ServiceError Source #
You cannot create more cache behaviors for the distribution.
TooManyCloudFrontOriginAccessIdentities
_TooManyCloudFrontOriginAccessIdentities :: AsError a => Getting (First ServiceError) a ServiceError Source #
Processing your request would cause you to exceed the maximum number of origin access identities allowed.
InvalidOriginAccessIdentity
_InvalidOriginAccessIdentity :: AsError a => Getting (First ServiceError) a ServiceError Source #
The origin access identity is not valid or doesn't exist.
DistributionNotDisabled
_DistributionNotDisabled :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for DistributionNotDisabled' errors.
NoSuchStreamingDistribution
_NoSuchStreamingDistribution :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified streaming distribution does not exist.
InconsistentQuantities
_InconsistentQuantities :: AsError a => Getting (First ServiceError) a ServiceError Source #
The value of Quantity
and the size of Items
don't match.
InvalidArgument
_InvalidArgument :: AsError a => Getting (First ServiceError) a ServiceError Source #
The argument is invalid.
InvalidOriginKeepaliveTimeout
_InvalidOriginKeepaliveTimeout :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidOriginKeepaliveTimeout' errors.
TooManyInvalidationsInProgress
_TooManyInvalidationsInProgress :: AsError a => Getting (First ServiceError) a ServiceError Source #
You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects.
InvalidWebACLId
_InvalidWebACLId :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidWebACLId' errors.
TooManyQueryStringParameters
_TooManyQueryStringParameters :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for TooManyQueryStringParameters' errors.
TooManyFieldLevelEncryptionQueryArgProfiles
_TooManyFieldLevelEncryptionQueryArgProfiles :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of query arg profiles for field-level encryption have been created.
TooManyDistributionCNAMEs
_TooManyDistributionCNAMEs :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request contains more CNAMEs than are allowed per distribution.
NoSuchCloudFrontOriginAccessIdentity
_NoSuchCloudFrontOriginAccessIdentity :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified origin access identity does not exist.
CloudFrontOriginAccessIdentityInUse
_CloudFrontOriginAccessIdentityInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for CloudFrontOriginAccessIdentityInUse' errors.
TooManyStreamingDistributions
_TooManyStreamingDistributions :: AsError a => Getting (First ServiceError) a ServiceError Source #
Processing your request would cause you to exceed the maximum number of streaming distributions allowed.
CannotChangeImmutablePublicKeyFields
_CannotChangeImmutablePublicKeyFields :: AsError a => Getting (First ServiceError) a ServiceError Source #
You can't change the value of a public key.
BatchTooLarge
_BatchTooLarge :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for BatchTooLarge' errors.
TooManyCookieNamesInWhiteList
_TooManyCookieNamesInWhiteList :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request contains more cookie names in the whitelist than are allowed per cache behavior.
InvalidLambdaFunctionAssociation
_InvalidLambdaFunctionAssociation :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified Lambda function association is invalid.
InvalidForwardCookies
_InvalidForwardCookies :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request contains forward cookies option which doesn't match with the expectation for the whitelisted
list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.
FieldLevelEncryptionConfigInUse
_FieldLevelEncryptionConfigInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified configuration for field-level encryption is in use.
TooManyTrustedSigners
_TooManyTrustedSigners :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request contains more trusted signers than are allowed per distribution.
InvalidOrigin
_InvalidOrigin :: AsError a => Getting (First ServiceError) a ServiceError Source #
The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.
NoSuchInvalidation
_NoSuchInvalidation :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified invalidation does not exist.
PublicKeyAlreadyExists
_PublicKeyAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified public key already exists.
NoSuchOrigin
_NoSuchOrigin :: AsError a => Getting (First ServiceError) a ServiceError Source #
No origin exists with the specified Origin Id
.
InvalidTTLOrder
_InvalidTTLOrder :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidTTLOrder' errors.
StreamingDistributionNotDisabled
_StreamingDistributionNotDisabled :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for StreamingDistributionNotDisabled' errors.
TooManyHeadersInForwardedValues
_TooManyHeadersInForwardedValues :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for TooManyHeadersInForwardedValues' errors.
NoSuchResource
_NoSuchResource :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for NoSuchResource' errors.
TooManyFieldLevelEncryptionEncryptionEntities
_TooManyFieldLevelEncryptionEncryptionEntities :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of encryption entities for field-level encryption have been created.
TooManyStreamingDistributionCNAMEs
_TooManyStreamingDistributionCNAMEs :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for TooManyStreamingDistributionCNAMEs' errors.
FieldLevelEncryptionProfileAlreadyExists
_FieldLevelEncryptionProfileAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified profile for field-level encryption already exists.
ResourceInUse
_ResourceInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for ResourceInUse' errors.
InvalidRequiredProtocol
_InvalidRequiredProtocol :: AsError a => Getting (First ServiceError) a ServiceError Source #
This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the RequiredProtocols
element from your distribution configuration.
TooManyDistributions
_TooManyDistributions :: AsError a => Getting (First ServiceError) a ServiceError Source #
Processing your request would cause you to exceed the maximum number of distributions allowed.
TooManyCertificates
_TooManyCertificates :: AsError a => Getting (First ServiceError) a ServiceError Source #
You cannot create anymore custom SSL/TLS certificates.
DistributionAlreadyExists
_DistributionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
The caller reference you attempted to create the distribution with is associated with another distribution.
TooManyDistributionsAssociatedToFieldLevelEncryptionConfig
_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
_InvalidQueryStringParameters :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidQueryStringParameters' errors.
MissingBody
_MissingBody :: AsError a => Getting (First ServiceError) a ServiceError Source #
This operation requires a body. Ensure that the body is present and the Content-Type
header is set.
IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior
_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
_IllegalUpdate :: AsError a => Getting (First ServiceError) a ServiceError Source #
Origin and CallerReference
cannot be updated.
InvalidIfMatchVersion
_InvalidIfMatchVersion :: AsError a => Getting (First ServiceError) a ServiceError Source #
The If-Match
version is missing or not valid for the distribution.
FieldLevelEncryptionConfigAlreadyExists
_FieldLevelEncryptionConfigAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified configuration for field-level encryption already exists.
PreconditionFailed
_PreconditionFailed :: AsError a => Getting (First ServiceError) a ServiceError Source #
The precondition given in one or more of the request-header fields evaluated to false
.
InvalidResponseCode
_InvalidResponseCode :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidResponseCode' errors.
InvalidHeadersForS3Origin
_InvalidHeadersForS3Origin :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidHeadersForS3Origin' errors.
CNAMEAlreadyExists
_CNAMEAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for CNAMEAlreadyExists' errors.
NoSuchPublicKey
_NoSuchPublicKey :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified public key doesn't exist.
PublicKeyInUse
_PublicKeyInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified public key is in use.
TrustedSignerDoesNotExist
_TrustedSignerDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError Source #
One or more of your trusted signers don't exist.
InvalidProtocolSettings
_InvalidProtocolSettings :: AsError a => Getting (First ServiceError) a ServiceError Source #
You cannot specify SSLv3 as the minimum protocol version if you only want to support only clients that support Server Name Indication (SNI).
TooManyPublicKeys
_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
_NoSuchFieldLevelEncryptionConfig :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified configuration for field-level encryption doesn't exist.
TooManyFieldLevelEncryptionContentTypeProfiles
_TooManyFieldLevelEncryptionContentTypeProfiles :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of content type profiles for field-level encryption have been created.
TooManyFieldLevelEncryptionFieldPatterns
_TooManyFieldLevelEncryptionFieldPatterns :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of field patterns for field-level encryption have been created.
TooManyFieldLevelEncryptionConfigs
_TooManyFieldLevelEncryptionConfigs :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of configurations for field-level encryption have been created.
TooManyLambdaFunctionAssociations
_TooManyLambdaFunctionAssociations :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request contains more Lambda function associations than are allowed per distribution.
CloudFrontOriginAccessIdentityAlreadyExists
_CloudFrontOriginAccessIdentityAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
If the CallerReference
is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig
is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists
error.
TooManyOrigins
_TooManyOrigins :: AsError a => Getting (First ServiceError) a ServiceError Source #
You cannot create more origins for the distribution.
InvalidRelativePath
_InvalidRelativePath :: AsError a => Getting (First ServiceError) a ServiceError Source #
The relative path is too big, is not URL-encoded, or does not begin with a slash (/).
StreamingDistributionAlreadyExists
_StreamingDistributionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for StreamingDistributionAlreadyExists' errors.
QueryArgProfileEmpty
_QueryArgProfileEmpty :: AsError a => Getting (First ServiceError) a ServiceError Source #
No profile specified for the field-level encryption query argument.
InvalidMinimumProtocolVersion
_InvalidMinimumProtocolVersion :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidMinimumProtocolVersion' errors.
AccessDenied
_AccessDenied :: AsError a => Getting (First ServiceError) a ServiceError Source #
Access denied.
InvalidViewerCertificate
_InvalidViewerCertificate :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidViewerCertificate' errors.
NoSuchDistribution
_NoSuchDistribution :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified distribution does not exist.
FieldLevelEncryptionProfileSizeExceeded
_FieldLevelEncryptionProfileSizeExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum size of a profile for field-level encryption was exceeded.
InvalidDefaultRootObject
_InvalidDefaultRootObject :: AsError a => Getting (First ServiceError) a ServiceError Source #
The default root object file name is too big or contains an invalid character.
TooManyDistributionsWithLambdaAssociations
_TooManyDistributionsWithLambdaAssociations :: AsError a => Getting (First ServiceError) a ServiceError Source #
Processing your request would cause the maximum number of distributions with Lambda function associations per owner to be exceeded.
InvalidGeoRestrictionParameter
_InvalidGeoRestrictionParameter :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidGeoRestrictionParameter' errors.
InvalidLocationCode
_InvalidLocationCode :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InvalidLocationCode' errors.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
StreamingDistributionDeployed
streamingDistributionDeployed :: Wait GetStreamingDistribution Source #
Polls GetStreamingDistribution
every 60 seconds until a successful state is reached. An error is returned after 25 failed checks.
DistributionDeployed
distributionDeployed :: Wait GetDistribution Source #
Polls GetDistribution
every 60 seconds until a successful state is reached. An error is returned after 25 failed checks.
InvalidationCompleted
invalidationCompleted :: Wait GetInvalidation Source #
Polls GetInvalidation
every 20 seconds until a successful state is reached. An error is returned after 30 failed checks.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
DeleteStreamingDistribution
UpdateStreamingDistribution
ListPublicKeys
GetFieldLevelEncryptionConfig
ListTagsForResource
CreatePublicKey
GetPublicKeyConfig
CreateDistributionWithTags
CreateFieldLevelEncryptionConfig
GetFieldLevelEncryption
GetPublicKey
DeleteFieldLevelEncryptionConfig
UpdateFieldLevelEncryptionConfig
CreateDistribution
GetFieldLevelEncryptionProfile
GetDistributionConfig
CreateStreamingDistributionWithTags
DeleteFieldLevelEncryptionProfile
UpdateFieldLevelEncryptionProfile
DeleteServiceLinkedRole
CreateFieldLevelEncryptionProfile
GetDistribution
GetFieldLevelEncryptionProfileConfig
UpdateCloudFrontOriginAccessIdentity
DeleteCloudFrontOriginAccessIdentity
ListStreamingDistributions (Paginated)
DeletePublicKey
UpdatePublicKey
GetStreamingDistributionConfig
GetCloudFrontOriginAccessIdentityConfig
CreateStreamingDistribution
CreateCloudFrontOriginAccessIdentity
ListCloudFrontOriginAccessIdentities (Paginated)
GetInvalidation
ListInvalidations (Paginated)
CreateInvalidation
GetCloudFrontOriginAccessIdentity
ListFieldLevelEncryptionConfigs
TagResource
GetStreamingDistribution
UpdateDistribution
DeleteDistribution
UntagResource
ListDistributionsByWebACLId
ListDistributions (Paginated)
ListFieldLevelEncryptionProfiles
Types
CertificateSource
data CertificateSource Source #
Constructors
Acm | |
Cloudfront | |
IAM |
Instances
EventType
Constructors
OriginRequest | |
OriginResponse | |
ViewerRequest | |
ViewerResponse |
Instances
Format
Constructors
URLEncoded |
Instances
GeoRestrictionType
data GeoRestrictionType Source #
Instances
HTTPVersion
data HTTPVersion Source #
Instances
ItemSelection
data ItemSelection Source #
Constructors
ISAll | |
ISNone | |
ISWhitelist |
Instances
Method
Instances
MinimumProtocolVersion
data MinimumProtocolVersion Source #
Constructors
MPVSSLV3 | |
MPVTLSV1 | |
MPVTLSV12016 | |
MPVTLSV1_12016 | |
MPVTLSV1_22018 |
Instances
OriginProtocolPolicy
data OriginProtocolPolicy Source #
Constructors
HTTPOnly | |
HTTPSOnly | |
MatchViewer |
Instances
PriceClass
data PriceClass Source #
Constructors
PriceClass100 | |
PriceClass200 | |
PriceClassAll |
Instances
SSLProtocol
data SSLProtocol Source #
Instances
SSLSupportMethod
data SSLSupportMethod Source #
Instances
ViewerProtocolPolicy
data ViewerProtocolPolicy Source #
Constructors
VPPAllowAll | |
VPPHTTPSOnly | |
VPPRedirectToHTTPS |
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
Arguments
:: Bool | |
-> Int | |
-> ActiveTrustedSigners |
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 Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Aliases -> c Aliases # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Aliases # toConstr :: Aliases -> Constr # dataTypeOf :: Aliases -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Aliases) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Aliases) # gmapT :: (forall b. Data b => b -> b) -> Aliases -> Aliases # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Aliases -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Aliases -> r # gmapQ :: (forall d. Data d => d -> u) -> Aliases -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Aliases -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Aliases -> m Aliases # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Aliases -> m Aliases # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Aliases -> m Aliases # | |
Read Aliases Source # | |
Show Aliases Source # | |
Generic Aliases Source # | |
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
Arguments
:: Int | |
-> AllowedMethods |
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
Arguments
:: 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