Copyright | (c) 2013-2021 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 |
- Service Configuration
- Errors
- CachePolicyCookieBehavior
- CachePolicyHeaderBehavior
- CachePolicyQueryStringBehavior
- CachePolicyType
- CertificateSource
- EventType
- Format
- FunctionRuntime
- FunctionStage
- GeoRestrictionType
- HttpVersion
- ICPRecordalStatus
- ItemSelection
- Method
- MinimumProtocolVersion
- OriginProtocolPolicy
- OriginRequestPolicyCookieBehavior
- OriginRequestPolicyHeaderBehavior
- OriginRequestPolicyQueryStringBehavior
- OriginRequestPolicyType
- PriceClass
- RealtimeMetricsSubscriptionStatus
- SSLSupportMethod
- SslProtocol
- ViewerProtocolPolicy
- ActiveTrustedKeyGroups
- ActiveTrustedSigners
- AliasICPRecordal
- Aliases
- AllowedMethods
- CacheBehavior
- CacheBehaviors
- CachePolicy
- CachePolicyConfig
- CachePolicyCookiesConfig
- CachePolicyHeadersConfig
- CachePolicyList
- CachePolicyQueryStringsConfig
- CachePolicySummary
- CachedMethods
- CloudFrontOriginAccessIdentity
- CloudFrontOriginAccessIdentityConfig
- CloudFrontOriginAccessIdentityList
- CloudFrontOriginAccessIdentitySummary
- ConflictingAlias
- ConflictingAliasesList
- ContentTypeProfile
- ContentTypeProfileConfig
- ContentTypeProfiles
- CookieNames
- CookiePreference
- CustomErrorResponse
- CustomErrorResponses
- CustomHeaders
- CustomOriginConfig
- DefaultCacheBehavior
- Distribution
- DistributionConfig
- DistributionConfigWithTags
- DistributionIdList
- DistributionList
- DistributionSummary
- EncryptionEntities
- EncryptionEntity
- EndPoint
- FieldLevelEncryption
- FieldLevelEncryptionConfig
- FieldLevelEncryptionList
- FieldLevelEncryptionProfile
- FieldLevelEncryptionProfileConfig
- FieldLevelEncryptionProfileList
- FieldLevelEncryptionProfileSummary
- FieldLevelEncryptionSummary
- FieldPatterns
- ForwardedValues
- FunctionAssociation
- FunctionAssociations
- FunctionConfig
- FunctionList
- FunctionMetadata
- FunctionSummary
- GeoRestriction
- Headers
- Invalidation
- InvalidationBatch
- InvalidationList
- InvalidationSummary
- KGKeyPairIds
- KeyGroup
- KeyGroupConfig
- KeyGroupList
- KeyGroupSummary
- KeyPairIds
- KinesisStreamConfig
- LambdaFunctionAssociation
- LambdaFunctionAssociations
- LoggingConfig
- MonitoringSubscription
- Origin
- OriginCustomHeader
- OriginGroup
- OriginGroupFailoverCriteria
- OriginGroupMember
- OriginGroupMembers
- OriginGroups
- OriginRequestPolicy
- OriginRequestPolicyConfig
- OriginRequestPolicyCookiesConfig
- OriginRequestPolicyHeadersConfig
- OriginRequestPolicyList
- OriginRequestPolicyQueryStringsConfig
- OriginRequestPolicySummary
- OriginShield
- OriginSslProtocols
- Origins
- ParametersInCacheKeyAndForwardedToOrigin
- Paths
- PublicKey
- PublicKeyConfig
- PublicKeyList
- PublicKeySummary
- QueryArgProfile
- QueryArgProfileConfig
- QueryArgProfiles
- QueryStringCacheKeys
- QueryStringNames
- RealtimeLogConfig
- RealtimeLogConfigs
- RealtimeMetricsSubscriptionConfig
- Restrictions
- S3Origin
- S3OriginConfig
- Signer
- StatusCodes
- StreamingDistribution
- StreamingDistributionConfig
- StreamingDistributionConfigWithTags
- StreamingDistributionList
- StreamingDistributionSummary
- StreamingLoggingConfig
- Tag
- TagKeys
- Tags
- TestResult
- TrustedKeyGroups
- TrustedSigners
- ViewerCertificate
Synopsis
- defaultService :: Service
- _RealtimeLogConfigOwnerMismatch :: AsError a => Getting (First ServiceError) a ServiceError
- _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
- _TooManyDistributionsWithFunctionAssociations :: 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
- _RealtimeLogConfigAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _TestFunctionFailed :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidOriginAccessIdentity :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyFunctionAssociations :: 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
- _InvalidFunctionAssociation :: 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
- _TooManyPublicKeysInKeyGroup :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidLambdaFunctionAssociation :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyKeyGroupsAssociatedToDistribution :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchRealtimeLogConfig :: 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
- _TooManyDistributionsAssociatedToKeyGroup :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidOrigin :: AsError a => Getting (First ServiceError) a ServiceError
- _CachePolicyInUse :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchInvalidation :: AsError a => Getting (First ServiceError) a ServiceError
- _PublicKeyAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _UnsupportedOperation :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchOrigin :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyHeadersInCachePolicy :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchCachePolicy :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidTTLOrder :: AsError a => Getting (First ServiceError) a ServiceError
- _StreamingDistributionNotDisabled :: AsError a => Getting (First ServiceError) a ServiceError
- _OriginRequestPolicyAlreadyExists :: 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
- _TooManyFunctions :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyStreamingDistributionCNAMEs :: AsError a => Getting (First ServiceError) a ServiceError
- _FieldLevelEncryptionProfileAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _KeyGroupAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _TrustedKeyGroupDoesNotExist :: 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
- _TooManyDistributionsWithSingleFunctionARN :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyHeadersInOriginRequestPolicy :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyCertificates :: AsError a => Getting (First ServiceError) a ServiceError
- _FunctionSizeLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchOriginRequestPolicy :: AsError a => Getting (First ServiceError) a ServiceError
- _DistributionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyDistributionsAssociatedToFieldLevelEncryptionConfig :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyKeyGroups :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidQueryStringParameters :: AsError a => Getting (First ServiceError) a ServiceError
- _MissingBody :: AsError a => Getting (First ServiceError) a ServiceError
- _FunctionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyOriginRequestPolicies :: AsError a => Getting (First ServiceError) a ServiceError
- _IllegalDelete :: 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
- _CachePolicyAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyCookiesInOriginRequestPolicy :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyOriginGroupsPerDistribution :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyPublicKeys :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchFieldLevelEncryptionConfig :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyRealtimeLogConfigs :: AsError a => Getting (First ServiceError) a ServiceError
- _RealtimeLogConfigInUse :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyCachePolicies :: 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
- _TooManyQueryStringsInCachePolicy :: 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
- _TooManyDistributionsAssociatedToOriginRequestPolicy :: AsError a => Getting (First ServiceError) a ServiceError
- _QueryArgProfileEmpty :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyCookiesInCachePolicy :: 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
- _NoSuchFunctionExists :: AsError a => Getting (First ServiceError) a ServiceError
- _FunctionInUse :: AsError a => Getting (First ServiceError) a ServiceError
- _FieldLevelEncryptionProfileSizeExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyQueryStringsInOriginRequestPolicy :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidDefaultRootObject :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyDistributionsWithLambdaAssociations :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyDistributionsAssociatedToCachePolicy :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidGeoRestrictionParameter :: AsError a => Getting (First ServiceError) a ServiceError
- _OriginRequestPolicyInUse :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidLocationCode :: AsError a => Getting (First ServiceError) a ServiceError
- newtype CachePolicyCookieBehavior where
- CachePolicyCookieBehavior' { }
- pattern CachePolicyCookieBehavior_All :: CachePolicyCookieBehavior
- pattern CachePolicyCookieBehavior_AllExcept :: CachePolicyCookieBehavior
- pattern CachePolicyCookieBehavior_None :: CachePolicyCookieBehavior
- pattern CachePolicyCookieBehavior_Whitelist :: CachePolicyCookieBehavior
- newtype CachePolicyHeaderBehavior where
- newtype CachePolicyQueryStringBehavior where
- CachePolicyQueryStringBehavior' { }
- pattern CachePolicyQueryStringBehavior_All :: CachePolicyQueryStringBehavior
- pattern CachePolicyQueryStringBehavior_AllExcept :: CachePolicyQueryStringBehavior
- pattern CachePolicyQueryStringBehavior_None :: CachePolicyQueryStringBehavior
- pattern CachePolicyQueryStringBehavior_Whitelist :: CachePolicyQueryStringBehavior
- newtype CachePolicyType where
- CachePolicyType' { }
- pattern CachePolicyType_Custom :: CachePolicyType
- pattern CachePolicyType_Managed :: CachePolicyType
- newtype CertificateSource where
- CertificateSource' { }
- pattern CertificateSource_Acm :: CertificateSource
- pattern CertificateSource_Cloudfront :: CertificateSource
- pattern CertificateSource_Iam :: CertificateSource
- newtype EventType where
- EventType' { }
- pattern EventType_Origin_request :: EventType
- pattern EventType_Origin_response :: EventType
- pattern EventType_Viewer_request :: EventType
- pattern EventType_Viewer_response :: EventType
- newtype Format where
- Format' {
- fromFormat :: Text
- pattern Format_URLEncoded :: Format
- Format' {
- newtype FunctionRuntime where
- newtype FunctionStage where
- FunctionStage' { }
- pattern FunctionStage_DEVELOPMENT :: FunctionStage
- pattern FunctionStage_LIVE :: FunctionStage
- newtype GeoRestrictionType where
- GeoRestrictionType' { }
- pattern GeoRestrictionType_Blacklist :: GeoRestrictionType
- pattern GeoRestrictionType_None :: GeoRestrictionType
- pattern GeoRestrictionType_Whitelist :: GeoRestrictionType
- newtype HttpVersion where
- HttpVersion' { }
- pattern HttpVersion_Http1_1 :: HttpVersion
- pattern HttpVersion_Http2 :: HttpVersion
- newtype ICPRecordalStatus where
- ICPRecordalStatus' { }
- pattern ICPRecordalStatus_APPROVED :: ICPRecordalStatus
- pattern ICPRecordalStatus_PENDING :: ICPRecordalStatus
- pattern ICPRecordalStatus_SUSPENDED :: ICPRecordalStatus
- newtype ItemSelection where
- ItemSelection' { }
- pattern ItemSelection_All :: ItemSelection
- pattern ItemSelection_None :: ItemSelection
- pattern ItemSelection_Whitelist :: ItemSelection
- newtype Method where
- Method' {
- fromMethod :: Text
- pattern Method_DELETE :: Method
- pattern Method_GET :: Method
- pattern Method_HEAD :: Method
- pattern Method_OPTIONS :: Method
- pattern Method_PATCH :: Method
- pattern Method_POST :: Method
- pattern Method_PUT :: Method
- Method' {
- newtype MinimumProtocolVersion where
- MinimumProtocolVersion' { }
- pattern MinimumProtocolVersion_SSLv3 :: MinimumProtocolVersion
- pattern MinimumProtocolVersion_TLSv1 :: MinimumProtocolVersion
- pattern MinimumProtocolVersion_TLSv1_1_2016 :: MinimumProtocolVersion
- pattern MinimumProtocolVersion_TLSv1_2016 :: MinimumProtocolVersion
- pattern MinimumProtocolVersion_TLSv1_2_2018 :: MinimumProtocolVersion
- pattern MinimumProtocolVersion_TLSv1_2_2019 :: MinimumProtocolVersion
- pattern MinimumProtocolVersion_TLSv1_2_2021 :: MinimumProtocolVersion
- newtype OriginProtocolPolicy where
- newtype OriginRequestPolicyCookieBehavior where
- newtype OriginRequestPolicyHeaderBehavior where
- OriginRequestPolicyHeaderBehavior' { }
- pattern OriginRequestPolicyHeaderBehavior_AllViewer :: OriginRequestPolicyHeaderBehavior
- pattern OriginRequestPolicyHeaderBehavior_AllViewerAndWhitelistCloudFront :: OriginRequestPolicyHeaderBehavior
- pattern OriginRequestPolicyHeaderBehavior_None :: OriginRequestPolicyHeaderBehavior
- pattern OriginRequestPolicyHeaderBehavior_Whitelist :: OriginRequestPolicyHeaderBehavior
- newtype OriginRequestPolicyQueryStringBehavior where
- OriginRequestPolicyQueryStringBehavior' { }
- pattern OriginRequestPolicyQueryStringBehavior_All :: OriginRequestPolicyQueryStringBehavior
- pattern OriginRequestPolicyQueryStringBehavior_None :: OriginRequestPolicyQueryStringBehavior
- pattern OriginRequestPolicyQueryStringBehavior_Whitelist :: OriginRequestPolicyQueryStringBehavior
- newtype OriginRequestPolicyType where
- newtype PriceClass where
- PriceClass' { }
- pattern PriceClass_PriceClass_100 :: PriceClass
- pattern PriceClass_PriceClass_200 :: PriceClass
- pattern PriceClass_PriceClass_All :: PriceClass
- newtype RealtimeMetricsSubscriptionStatus where
- newtype SSLSupportMethod where
- SSLSupportMethod' { }
- pattern SSLSupportMethod_Sni_only :: SSLSupportMethod
- pattern SSLSupportMethod_Static_ip :: SSLSupportMethod
- pattern SSLSupportMethod_Vip :: SSLSupportMethod
- newtype SslProtocol where
- SslProtocol' { }
- pattern SslProtocol_SSLv3 :: SslProtocol
- pattern SslProtocol_TLSv1 :: SslProtocol
- pattern SslProtocol_TLSv1_1 :: SslProtocol
- pattern SslProtocol_TLSv1_2 :: SslProtocol
- newtype ViewerProtocolPolicy where
- data ActiveTrustedKeyGroups = ActiveTrustedKeyGroups' {}
- newActiveTrustedKeyGroups :: Bool -> Int -> ActiveTrustedKeyGroups
- activeTrustedKeyGroups_items :: Lens' ActiveTrustedKeyGroups (Maybe [KGKeyPairIds])
- activeTrustedKeyGroups_enabled :: Lens' ActiveTrustedKeyGroups Bool
- activeTrustedKeyGroups_quantity :: Lens' ActiveTrustedKeyGroups Int
- data ActiveTrustedSigners = ActiveTrustedSigners' {}
- newActiveTrustedSigners :: Bool -> Int -> ActiveTrustedSigners
- activeTrustedSigners_items :: Lens' ActiveTrustedSigners (Maybe [Signer])
- activeTrustedSigners_enabled :: Lens' ActiveTrustedSigners Bool
- activeTrustedSigners_quantity :: Lens' ActiveTrustedSigners Int
- data AliasICPRecordal = AliasICPRecordal' {}
- newAliasICPRecordal :: AliasICPRecordal
- aliasICPRecordal_cname :: Lens' AliasICPRecordal (Maybe Text)
- aliasICPRecordal_iCPRecordalStatus :: Lens' AliasICPRecordal (Maybe ICPRecordalStatus)
- data Aliases = Aliases' {}
- newAliases :: Int -> Aliases
- aliases_items :: Lens' Aliases (Maybe [Text])
- aliases_quantity :: Lens' Aliases Int
- data AllowedMethods = AllowedMethods' {
- cachedMethods :: Maybe CachedMethods
- quantity :: Int
- items :: [Method]
- newAllowedMethods :: Int -> AllowedMethods
- allowedMethods_cachedMethods :: Lens' AllowedMethods (Maybe CachedMethods)
- allowedMethods_quantity :: Lens' AllowedMethods Int
- allowedMethods_items :: Lens' AllowedMethods [Method]
- data CacheBehavior = CacheBehavior' {
- allowedMethods :: Maybe AllowedMethods
- lambdaFunctionAssociations :: Maybe LambdaFunctionAssociations
- maxTTL :: Maybe Integer
- minTTL :: Maybe Integer
- compress :: Maybe Bool
- smoothStreaming :: Maybe Bool
- trustedKeyGroups :: Maybe TrustedKeyGroups
- realtimeLogConfigArn :: Maybe Text
- defaultTTL :: Maybe Integer
- forwardedValues :: Maybe ForwardedValues
- trustedSigners :: Maybe TrustedSigners
- functionAssociations :: Maybe FunctionAssociations
- originRequestPolicyId :: Maybe Text
- fieldLevelEncryptionId :: Maybe Text
- cachePolicyId :: Maybe Text
- pathPattern :: Text
- targetOriginId :: Text
- viewerProtocolPolicy :: ViewerProtocolPolicy
- newCacheBehavior :: Text -> Text -> ViewerProtocolPolicy -> CacheBehavior
- cacheBehavior_allowedMethods :: Lens' CacheBehavior (Maybe AllowedMethods)
- cacheBehavior_lambdaFunctionAssociations :: Lens' CacheBehavior (Maybe LambdaFunctionAssociations)
- cacheBehavior_maxTTL :: Lens' CacheBehavior (Maybe Integer)
- cacheBehavior_minTTL :: Lens' CacheBehavior (Maybe Integer)
- cacheBehavior_compress :: Lens' CacheBehavior (Maybe Bool)
- cacheBehavior_smoothStreaming :: Lens' CacheBehavior (Maybe Bool)
- cacheBehavior_trustedKeyGroups :: Lens' CacheBehavior (Maybe TrustedKeyGroups)
- cacheBehavior_realtimeLogConfigArn :: Lens' CacheBehavior (Maybe Text)
- cacheBehavior_defaultTTL :: Lens' CacheBehavior (Maybe Integer)
- cacheBehavior_forwardedValues :: Lens' CacheBehavior (Maybe ForwardedValues)
- cacheBehavior_trustedSigners :: Lens' CacheBehavior (Maybe TrustedSigners)
- cacheBehavior_functionAssociations :: Lens' CacheBehavior (Maybe FunctionAssociations)
- cacheBehavior_originRequestPolicyId :: Lens' CacheBehavior (Maybe Text)
- cacheBehavior_fieldLevelEncryptionId :: Lens' CacheBehavior (Maybe Text)
- cacheBehavior_cachePolicyId :: Lens' CacheBehavior (Maybe Text)
- cacheBehavior_pathPattern :: Lens' CacheBehavior Text
- cacheBehavior_targetOriginId :: Lens' CacheBehavior Text
- cacheBehavior_viewerProtocolPolicy :: Lens' CacheBehavior ViewerProtocolPolicy
- data CacheBehaviors = CacheBehaviors' {
- items :: Maybe [CacheBehavior]
- quantity :: Int
- newCacheBehaviors :: Int -> CacheBehaviors
- cacheBehaviors_items :: Lens' CacheBehaviors (Maybe [CacheBehavior])
- cacheBehaviors_quantity :: Lens' CacheBehaviors Int
- data CachePolicy = CachePolicy' {}
- newCachePolicy :: Text -> UTCTime -> CachePolicyConfig -> CachePolicy
- cachePolicy_id :: Lens' CachePolicy Text
- cachePolicy_lastModifiedTime :: Lens' CachePolicy UTCTime
- cachePolicy_cachePolicyConfig :: Lens' CachePolicy CachePolicyConfig
- data CachePolicyConfig = CachePolicyConfig' {}
- newCachePolicyConfig :: Text -> Integer -> CachePolicyConfig
- cachePolicyConfig_maxTTL :: Lens' CachePolicyConfig (Maybe Integer)
- cachePolicyConfig_parametersInCacheKeyAndForwardedToOrigin :: Lens' CachePolicyConfig (Maybe ParametersInCacheKeyAndForwardedToOrigin)
- cachePolicyConfig_defaultTTL :: Lens' CachePolicyConfig (Maybe Integer)
- cachePolicyConfig_comment :: Lens' CachePolicyConfig (Maybe Text)
- cachePolicyConfig_name :: Lens' CachePolicyConfig Text
- cachePolicyConfig_minTTL :: Lens' CachePolicyConfig Integer
- data CachePolicyCookiesConfig = CachePolicyCookiesConfig' {}
- newCachePolicyCookiesConfig :: CachePolicyCookieBehavior -> CachePolicyCookiesConfig
- cachePolicyCookiesConfig_cookies :: Lens' CachePolicyCookiesConfig (Maybe CookieNames)
- cachePolicyCookiesConfig_cookieBehavior :: Lens' CachePolicyCookiesConfig CachePolicyCookieBehavior
- data CachePolicyHeadersConfig = CachePolicyHeadersConfig' {}
- newCachePolicyHeadersConfig :: CachePolicyHeaderBehavior -> CachePolicyHeadersConfig
- cachePolicyHeadersConfig_headers :: Lens' CachePolicyHeadersConfig (Maybe Headers)
- cachePolicyHeadersConfig_headerBehavior :: Lens' CachePolicyHeadersConfig CachePolicyHeaderBehavior
- data CachePolicyList = CachePolicyList' {
- items :: Maybe [CachePolicySummary]
- nextMarker :: Maybe Text
- maxItems :: Int
- quantity :: Int
- newCachePolicyList :: Int -> Int -> CachePolicyList
- cachePolicyList_items :: Lens' CachePolicyList (Maybe [CachePolicySummary])
- cachePolicyList_nextMarker :: Lens' CachePolicyList (Maybe Text)
- cachePolicyList_maxItems :: Lens' CachePolicyList Int
- cachePolicyList_quantity :: Lens' CachePolicyList Int
- data CachePolicyQueryStringsConfig = CachePolicyQueryStringsConfig' {}
- newCachePolicyQueryStringsConfig :: CachePolicyQueryStringBehavior -> CachePolicyQueryStringsConfig
- cachePolicyQueryStringsConfig_queryStrings :: Lens' CachePolicyQueryStringsConfig (Maybe QueryStringNames)
- cachePolicyQueryStringsConfig_queryStringBehavior :: Lens' CachePolicyQueryStringsConfig CachePolicyQueryStringBehavior
- data CachePolicySummary = CachePolicySummary' {}
- newCachePolicySummary :: CachePolicyType -> CachePolicy -> CachePolicySummary
- cachePolicySummary_type :: Lens' CachePolicySummary CachePolicyType
- cachePolicySummary_cachePolicy :: Lens' CachePolicySummary CachePolicy
- data CachedMethods = CachedMethods' {}
- newCachedMethods :: Int -> CachedMethods
- cachedMethods_quantity :: Lens' CachedMethods Int
- cachedMethods_items :: Lens' CachedMethods [Method]
- data CloudFrontOriginAccessIdentity = CloudFrontOriginAccessIdentity' {}
- newCloudFrontOriginAccessIdentity :: Text -> Text -> CloudFrontOriginAccessIdentity
- cloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig :: Lens' CloudFrontOriginAccessIdentity (Maybe CloudFrontOriginAccessIdentityConfig)
- cloudFrontOriginAccessIdentity_id :: Lens' CloudFrontOriginAccessIdentity Text
- cloudFrontOriginAccessIdentity_s3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentity Text
- data CloudFrontOriginAccessIdentityConfig = CloudFrontOriginAccessIdentityConfig' {
- callerReference :: Text
- comment :: Text
- newCloudFrontOriginAccessIdentityConfig :: Text -> Text -> CloudFrontOriginAccessIdentityConfig
- cloudFrontOriginAccessIdentityConfig_callerReference :: Lens' CloudFrontOriginAccessIdentityConfig Text
- cloudFrontOriginAccessIdentityConfig_comment :: Lens' CloudFrontOriginAccessIdentityConfig Text
- data CloudFrontOriginAccessIdentityList = CloudFrontOriginAccessIdentityList' {}
- newCloudFrontOriginAccessIdentityList :: Text -> Int -> Bool -> Int -> CloudFrontOriginAccessIdentityList
- cloudFrontOriginAccessIdentityList_items :: Lens' CloudFrontOriginAccessIdentityList (Maybe [CloudFrontOriginAccessIdentitySummary])
- cloudFrontOriginAccessIdentityList_nextMarker :: Lens' CloudFrontOriginAccessIdentityList (Maybe Text)
- cloudFrontOriginAccessIdentityList_marker :: Lens' CloudFrontOriginAccessIdentityList Text
- cloudFrontOriginAccessIdentityList_maxItems :: Lens' CloudFrontOriginAccessIdentityList Int
- cloudFrontOriginAccessIdentityList_isTruncated :: Lens' CloudFrontOriginAccessIdentityList Bool
- cloudFrontOriginAccessIdentityList_quantity :: Lens' CloudFrontOriginAccessIdentityList Int
- data CloudFrontOriginAccessIdentitySummary = CloudFrontOriginAccessIdentitySummary' {}
- newCloudFrontOriginAccessIdentitySummary :: Text -> Text -> Text -> CloudFrontOriginAccessIdentitySummary
- cloudFrontOriginAccessIdentitySummary_id :: Lens' CloudFrontOriginAccessIdentitySummary Text
- cloudFrontOriginAccessIdentitySummary_s3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentitySummary Text
- cloudFrontOriginAccessIdentitySummary_comment :: Lens' CloudFrontOriginAccessIdentitySummary Text
- data ConflictingAlias = ConflictingAlias' {}
- newConflictingAlias :: ConflictingAlias
- conflictingAlias_alias :: Lens' ConflictingAlias (Maybe Text)
- conflictingAlias_accountId :: Lens' ConflictingAlias (Maybe Text)
- conflictingAlias_distributionId :: Lens' ConflictingAlias (Maybe Text)
- data ConflictingAliasesList = ConflictingAliasesList' {}
- newConflictingAliasesList :: ConflictingAliasesList
- conflictingAliasesList_quantity :: Lens' ConflictingAliasesList (Maybe Int)
- conflictingAliasesList_items :: Lens' ConflictingAliasesList (Maybe [ConflictingAlias])
- conflictingAliasesList_maxItems :: Lens' ConflictingAliasesList (Maybe Int)
- conflictingAliasesList_nextMarker :: Lens' ConflictingAliasesList (Maybe Text)
- data ContentTypeProfile = ContentTypeProfile' {}
- newContentTypeProfile :: Format -> Text -> ContentTypeProfile
- contentTypeProfile_profileId :: Lens' ContentTypeProfile (Maybe Text)
- contentTypeProfile_format :: Lens' ContentTypeProfile Format
- contentTypeProfile_contentType :: Lens' ContentTypeProfile Text
- data ContentTypeProfileConfig = ContentTypeProfileConfig' {}
- newContentTypeProfileConfig :: Bool -> ContentTypeProfileConfig
- contentTypeProfileConfig_contentTypeProfiles :: Lens' ContentTypeProfileConfig (Maybe ContentTypeProfiles)
- contentTypeProfileConfig_forwardWhenContentTypeIsUnknown :: Lens' ContentTypeProfileConfig Bool
- data ContentTypeProfiles = ContentTypeProfiles' {
- items :: Maybe [ContentTypeProfile]
- quantity :: Int
- newContentTypeProfiles :: Int -> ContentTypeProfiles
- contentTypeProfiles_items :: Lens' ContentTypeProfiles (Maybe [ContentTypeProfile])
- contentTypeProfiles_quantity :: Lens' ContentTypeProfiles Int
- data CookieNames = CookieNames' {}
- newCookieNames :: Int -> CookieNames
- cookieNames_items :: Lens' CookieNames (Maybe [Text])
- cookieNames_quantity :: Lens' CookieNames Int
- data CookiePreference = CookiePreference' {}
- newCookiePreference :: ItemSelection -> CookiePreference
- cookiePreference_whitelistedNames :: Lens' CookiePreference (Maybe CookieNames)
- cookiePreference_forward :: Lens' CookiePreference ItemSelection
- data CustomErrorResponse = CustomErrorResponse' {}
- newCustomErrorResponse :: Int -> CustomErrorResponse
- customErrorResponse_responsePagePath :: Lens' CustomErrorResponse (Maybe Text)
- customErrorResponse_responseCode :: Lens' CustomErrorResponse (Maybe Text)
- customErrorResponse_errorCachingMinTTL :: Lens' CustomErrorResponse (Maybe Integer)
- customErrorResponse_errorCode :: Lens' CustomErrorResponse Int
- data CustomErrorResponses = CustomErrorResponses' {
- items :: Maybe [CustomErrorResponse]
- quantity :: Int
- newCustomErrorResponses :: Int -> CustomErrorResponses
- customErrorResponses_items :: Lens' CustomErrorResponses (Maybe [CustomErrorResponse])
- customErrorResponses_quantity :: Lens' CustomErrorResponses Int
- data CustomHeaders = CustomHeaders' {
- items :: Maybe [OriginCustomHeader]
- quantity :: Int
- newCustomHeaders :: Int -> CustomHeaders
- customHeaders_items :: Lens' CustomHeaders (Maybe [OriginCustomHeader])
- customHeaders_quantity :: Lens' CustomHeaders Int
- data CustomOriginConfig = CustomOriginConfig' {}
- newCustomOriginConfig :: Int -> Int -> OriginProtocolPolicy -> CustomOriginConfig
- customOriginConfig_originKeepaliveTimeout :: Lens' CustomOriginConfig (Maybe Int)
- customOriginConfig_originReadTimeout :: Lens' CustomOriginConfig (Maybe Int)
- customOriginConfig_originSslProtocols :: Lens' CustomOriginConfig (Maybe OriginSslProtocols)
- customOriginConfig_hTTPPort :: Lens' CustomOriginConfig Int
- customOriginConfig_hTTPSPort :: Lens' CustomOriginConfig Int
- customOriginConfig_originProtocolPolicy :: Lens' CustomOriginConfig OriginProtocolPolicy
- data DefaultCacheBehavior = DefaultCacheBehavior' {
- allowedMethods :: Maybe AllowedMethods
- lambdaFunctionAssociations :: Maybe LambdaFunctionAssociations
- maxTTL :: Maybe Integer
- minTTL :: Maybe Integer
- compress :: Maybe Bool
- smoothStreaming :: Maybe Bool
- trustedKeyGroups :: Maybe TrustedKeyGroups
- realtimeLogConfigArn :: Maybe Text
- defaultTTL :: Maybe Integer
- forwardedValues :: Maybe ForwardedValues
- trustedSigners :: Maybe TrustedSigners
- functionAssociations :: Maybe FunctionAssociations
- originRequestPolicyId :: Maybe Text
- fieldLevelEncryptionId :: Maybe Text
- cachePolicyId :: Maybe Text
- targetOriginId :: Text
- viewerProtocolPolicy :: ViewerProtocolPolicy
- newDefaultCacheBehavior :: Text -> ViewerProtocolPolicy -> DefaultCacheBehavior
- defaultCacheBehavior_allowedMethods :: Lens' DefaultCacheBehavior (Maybe AllowedMethods)
- defaultCacheBehavior_lambdaFunctionAssociations :: Lens' DefaultCacheBehavior (Maybe LambdaFunctionAssociations)
- defaultCacheBehavior_maxTTL :: Lens' DefaultCacheBehavior (Maybe Integer)
- defaultCacheBehavior_minTTL :: Lens' DefaultCacheBehavior (Maybe Integer)
- defaultCacheBehavior_compress :: Lens' DefaultCacheBehavior (Maybe Bool)
- defaultCacheBehavior_smoothStreaming :: Lens' DefaultCacheBehavior (Maybe Bool)
- defaultCacheBehavior_trustedKeyGroups :: Lens' DefaultCacheBehavior (Maybe TrustedKeyGroups)
- defaultCacheBehavior_realtimeLogConfigArn :: Lens' DefaultCacheBehavior (Maybe Text)
- defaultCacheBehavior_defaultTTL :: Lens' DefaultCacheBehavior (Maybe Integer)
- defaultCacheBehavior_forwardedValues :: Lens' DefaultCacheBehavior (Maybe ForwardedValues)
- defaultCacheBehavior_trustedSigners :: Lens' DefaultCacheBehavior (Maybe TrustedSigners)
- defaultCacheBehavior_functionAssociations :: Lens' DefaultCacheBehavior (Maybe FunctionAssociations)
- defaultCacheBehavior_originRequestPolicyId :: Lens' DefaultCacheBehavior (Maybe Text)
- defaultCacheBehavior_fieldLevelEncryptionId :: Lens' DefaultCacheBehavior (Maybe Text)
- defaultCacheBehavior_cachePolicyId :: Lens' DefaultCacheBehavior (Maybe Text)
- defaultCacheBehavior_targetOriginId :: Lens' DefaultCacheBehavior Text
- defaultCacheBehavior_viewerProtocolPolicy :: Lens' DefaultCacheBehavior ViewerProtocolPolicy
- data Distribution = Distribution' {
- activeTrustedKeyGroups :: Maybe ActiveTrustedKeyGroups
- aliasICPRecordals :: Maybe [AliasICPRecordal]
- activeTrustedSigners :: Maybe ActiveTrustedSigners
- id :: Text
- arn :: Text
- status :: Text
- lastModifiedTime :: ISO8601
- inProgressInvalidationBatches :: Int
- domainName :: Text
- distributionConfig :: DistributionConfig
- newDistribution :: Text -> Text -> Text -> UTCTime -> Int -> Text -> DistributionConfig -> Distribution
- distribution_activeTrustedKeyGroups :: Lens' Distribution (Maybe ActiveTrustedKeyGroups)
- distribution_aliasICPRecordals :: Lens' Distribution (Maybe [AliasICPRecordal])
- distribution_activeTrustedSigners :: Lens' Distribution (Maybe ActiveTrustedSigners)
- distribution_id :: Lens' Distribution Text
- distribution_arn :: Lens' Distribution Text
- distribution_status :: Lens' Distribution Text
- distribution_lastModifiedTime :: Lens' Distribution UTCTime
- distribution_inProgressInvalidationBatches :: Lens' Distribution Int
- distribution_domainName :: Lens' Distribution Text
- distribution_distributionConfig :: Lens' Distribution DistributionConfig
- data DistributionConfig = DistributionConfig' {
- httpVersion :: Maybe HttpVersion
- originGroups :: Maybe OriginGroups
- aliases :: Maybe Aliases
- defaultRootObject :: Maybe Text
- priceClass :: Maybe PriceClass
- customErrorResponses :: Maybe CustomErrorResponses
- webACLId :: Maybe Text
- viewerCertificate :: Maybe ViewerCertificate
- restrictions :: Maybe Restrictions
- logging :: Maybe LoggingConfig
- cacheBehaviors :: Maybe CacheBehaviors
- isIPV6Enabled :: Maybe Bool
- callerReference :: Text
- origins :: Origins
- defaultCacheBehavior :: DefaultCacheBehavior
- comment :: Sensitive Text
- enabled :: Bool
- newDistributionConfig :: Text -> Origins -> DefaultCacheBehavior -> Text -> Bool -> DistributionConfig
- distributionConfig_httpVersion :: Lens' DistributionConfig (Maybe HttpVersion)
- distributionConfig_originGroups :: Lens' DistributionConfig (Maybe OriginGroups)
- distributionConfig_aliases :: Lens' DistributionConfig (Maybe Aliases)
- distributionConfig_defaultRootObject :: Lens' DistributionConfig (Maybe Text)
- distributionConfig_priceClass :: Lens' DistributionConfig (Maybe PriceClass)
- distributionConfig_customErrorResponses :: Lens' DistributionConfig (Maybe CustomErrorResponses)
- distributionConfig_webACLId :: Lens' DistributionConfig (Maybe Text)
- distributionConfig_viewerCertificate :: Lens' DistributionConfig (Maybe ViewerCertificate)
- distributionConfig_restrictions :: Lens' DistributionConfig (Maybe Restrictions)
- distributionConfig_logging :: Lens' DistributionConfig (Maybe LoggingConfig)
- distributionConfig_cacheBehaviors :: Lens' DistributionConfig (Maybe CacheBehaviors)
- distributionConfig_isIPV6Enabled :: Lens' DistributionConfig (Maybe Bool)
- distributionConfig_callerReference :: Lens' DistributionConfig Text
- distributionConfig_origins :: Lens' DistributionConfig Origins
- distributionConfig_defaultCacheBehavior :: Lens' DistributionConfig DefaultCacheBehavior
- distributionConfig_comment :: Lens' DistributionConfig Text
- distributionConfig_enabled :: Lens' DistributionConfig Bool
- data DistributionConfigWithTags = DistributionConfigWithTags' {}
- newDistributionConfigWithTags :: DistributionConfig -> Tags -> DistributionConfigWithTags
- distributionConfigWithTags_distributionConfig :: Lens' DistributionConfigWithTags DistributionConfig
- distributionConfigWithTags_tags :: Lens' DistributionConfigWithTags Tags
- data DistributionIdList = DistributionIdList' {}
- newDistributionIdList :: Text -> Int -> Bool -> Int -> DistributionIdList
- distributionIdList_items :: Lens' DistributionIdList (Maybe [Text])
- distributionIdList_nextMarker :: Lens' DistributionIdList (Maybe Text)
- distributionIdList_marker :: Lens' DistributionIdList Text
- distributionIdList_maxItems :: Lens' DistributionIdList Int
- distributionIdList_isTruncated :: Lens' DistributionIdList Bool
- distributionIdList_quantity :: Lens' DistributionIdList Int
- data DistributionList = DistributionList' {
- items :: Maybe [DistributionSummary]
- nextMarker :: Maybe Text
- marker :: Text
- maxItems :: Int
- isTruncated :: Bool
- quantity :: Int
- newDistributionList :: Text -> Int -> Bool -> Int -> DistributionList
- distributionList_items :: Lens' DistributionList (Maybe [DistributionSummary])
- distributionList_nextMarker :: Lens' DistributionList (Maybe Text)
- distributionList_marker :: Lens' DistributionList Text
- distributionList_maxItems :: Lens' DistributionList Int
- distributionList_isTruncated :: Lens' DistributionList Bool
- distributionList_quantity :: Lens' DistributionList Int
- data DistributionSummary = DistributionSummary' {
- originGroups :: Maybe OriginGroups
- aliasICPRecordals :: Maybe [AliasICPRecordal]
- id :: Text
- arn :: Text
- status :: Text
- lastModifiedTime :: ISO8601
- domainName :: Text
- aliases :: Aliases
- origins :: Origins
- defaultCacheBehavior :: DefaultCacheBehavior
- cacheBehaviors :: CacheBehaviors
- customErrorResponses :: CustomErrorResponses
- comment :: Text
- priceClass :: PriceClass
- enabled :: Bool
- viewerCertificate :: ViewerCertificate
- restrictions :: Restrictions
- webACLId :: Text
- httpVersion :: HttpVersion
- isIPV6Enabled :: Bool
- newDistributionSummary :: Text -> Text -> Text -> UTCTime -> Text -> Aliases -> Origins -> DefaultCacheBehavior -> CacheBehaviors -> CustomErrorResponses -> Text -> PriceClass -> Bool -> ViewerCertificate -> Restrictions -> Text -> HttpVersion -> Bool -> DistributionSummary
- distributionSummary_originGroups :: Lens' DistributionSummary (Maybe OriginGroups)
- distributionSummary_aliasICPRecordals :: Lens' DistributionSummary (Maybe [AliasICPRecordal])
- distributionSummary_id :: Lens' DistributionSummary Text
- distributionSummary_arn :: Lens' DistributionSummary Text
- distributionSummary_status :: Lens' DistributionSummary Text
- distributionSummary_lastModifiedTime :: Lens' DistributionSummary UTCTime
- distributionSummary_domainName :: Lens' DistributionSummary Text
- distributionSummary_aliases :: Lens' DistributionSummary Aliases
- distributionSummary_origins :: Lens' DistributionSummary Origins
- distributionSummary_defaultCacheBehavior :: Lens' DistributionSummary DefaultCacheBehavior
- distributionSummary_cacheBehaviors :: Lens' DistributionSummary CacheBehaviors
- distributionSummary_customErrorResponses :: Lens' DistributionSummary CustomErrorResponses
- distributionSummary_comment :: Lens' DistributionSummary Text
- distributionSummary_priceClass :: Lens' DistributionSummary PriceClass
- distributionSummary_enabled :: Lens' DistributionSummary Bool
- distributionSummary_viewerCertificate :: Lens' DistributionSummary ViewerCertificate
- distributionSummary_restrictions :: Lens' DistributionSummary Restrictions
- distributionSummary_webACLId :: Lens' DistributionSummary Text
- distributionSummary_httpVersion :: Lens' DistributionSummary HttpVersion
- distributionSummary_isIPV6Enabled :: Lens' DistributionSummary Bool
- data EncryptionEntities = EncryptionEntities' {
- items :: Maybe [EncryptionEntity]
- quantity :: Int
- newEncryptionEntities :: Int -> EncryptionEntities
- encryptionEntities_items :: Lens' EncryptionEntities (Maybe [EncryptionEntity])
- encryptionEntities_quantity :: Lens' EncryptionEntities Int
- data EncryptionEntity = EncryptionEntity' {}
- newEncryptionEntity :: Text -> Text -> FieldPatterns -> EncryptionEntity
- encryptionEntity_publicKeyId :: Lens' EncryptionEntity Text
- encryptionEntity_providerId :: Lens' EncryptionEntity Text
- encryptionEntity_fieldPatterns :: Lens' EncryptionEntity FieldPatterns
- data EndPoint = EndPoint' {}
- newEndPoint :: Text -> EndPoint
- endPoint_kinesisStreamConfig :: Lens' EndPoint (Maybe KinesisStreamConfig)
- endPoint_streamType :: Lens' EndPoint Text
- data FieldLevelEncryption = FieldLevelEncryption' {}
- newFieldLevelEncryption :: Text -> UTCTime -> FieldLevelEncryptionConfig -> FieldLevelEncryption
- fieldLevelEncryption_id :: Lens' FieldLevelEncryption Text
- fieldLevelEncryption_lastModifiedTime :: Lens' FieldLevelEncryption UTCTime
- fieldLevelEncryption_fieldLevelEncryptionConfig :: Lens' FieldLevelEncryption FieldLevelEncryptionConfig
- data FieldLevelEncryptionConfig = FieldLevelEncryptionConfig' {}
- newFieldLevelEncryptionConfig :: Text -> FieldLevelEncryptionConfig
- fieldLevelEncryptionConfig_queryArgProfileConfig :: Lens' FieldLevelEncryptionConfig (Maybe QueryArgProfileConfig)
- fieldLevelEncryptionConfig_contentTypeProfileConfig :: Lens' FieldLevelEncryptionConfig (Maybe ContentTypeProfileConfig)
- fieldLevelEncryptionConfig_comment :: Lens' FieldLevelEncryptionConfig (Maybe Text)
- fieldLevelEncryptionConfig_callerReference :: Lens' FieldLevelEncryptionConfig Text
- data FieldLevelEncryptionList = FieldLevelEncryptionList' {
- items :: Maybe [FieldLevelEncryptionSummary]
- nextMarker :: Maybe Text
- maxItems :: Int
- quantity :: Int
- newFieldLevelEncryptionList :: Int -> Int -> FieldLevelEncryptionList
- fieldLevelEncryptionList_items :: Lens' FieldLevelEncryptionList (Maybe [FieldLevelEncryptionSummary])
- fieldLevelEncryptionList_nextMarker :: Lens' FieldLevelEncryptionList (Maybe Text)
- fieldLevelEncryptionList_maxItems :: Lens' FieldLevelEncryptionList Int
- fieldLevelEncryptionList_quantity :: Lens' FieldLevelEncryptionList Int
- data FieldLevelEncryptionProfile = FieldLevelEncryptionProfile' {}
- newFieldLevelEncryptionProfile :: Text -> UTCTime -> FieldLevelEncryptionProfileConfig -> FieldLevelEncryptionProfile
- fieldLevelEncryptionProfile_id :: Lens' FieldLevelEncryptionProfile Text
- fieldLevelEncryptionProfile_lastModifiedTime :: Lens' FieldLevelEncryptionProfile UTCTime
- fieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig :: Lens' FieldLevelEncryptionProfile FieldLevelEncryptionProfileConfig
- data FieldLevelEncryptionProfileConfig = FieldLevelEncryptionProfileConfig' {}
- newFieldLevelEncryptionProfileConfig :: Text -> Text -> EncryptionEntities -> FieldLevelEncryptionProfileConfig
- fieldLevelEncryptionProfileConfig_comment :: Lens' FieldLevelEncryptionProfileConfig (Maybe Text)
- fieldLevelEncryptionProfileConfig_name :: Lens' FieldLevelEncryptionProfileConfig Text
- fieldLevelEncryptionProfileConfig_callerReference :: Lens' FieldLevelEncryptionProfileConfig Text
- fieldLevelEncryptionProfileConfig_encryptionEntities :: Lens' FieldLevelEncryptionProfileConfig EncryptionEntities
- data FieldLevelEncryptionProfileList = FieldLevelEncryptionProfileList' {}
- newFieldLevelEncryptionProfileList :: Int -> Int -> FieldLevelEncryptionProfileList
- fieldLevelEncryptionProfileList_items :: Lens' FieldLevelEncryptionProfileList (Maybe [FieldLevelEncryptionProfileSummary])
- fieldLevelEncryptionProfileList_nextMarker :: Lens' FieldLevelEncryptionProfileList (Maybe Text)
- fieldLevelEncryptionProfileList_maxItems :: Lens' FieldLevelEncryptionProfileList Int
- fieldLevelEncryptionProfileList_quantity :: Lens' FieldLevelEncryptionProfileList Int
- data FieldLevelEncryptionProfileSummary = FieldLevelEncryptionProfileSummary' {}
- newFieldLevelEncryptionProfileSummary :: Text -> UTCTime -> Text -> EncryptionEntities -> FieldLevelEncryptionProfileSummary
- fieldLevelEncryptionProfileSummary_comment :: Lens' FieldLevelEncryptionProfileSummary (Maybe Text)
- fieldLevelEncryptionProfileSummary_id :: Lens' FieldLevelEncryptionProfileSummary Text
- fieldLevelEncryptionProfileSummary_lastModifiedTime :: Lens' FieldLevelEncryptionProfileSummary UTCTime
- fieldLevelEncryptionProfileSummary_name :: Lens' FieldLevelEncryptionProfileSummary Text
- fieldLevelEncryptionProfileSummary_encryptionEntities :: Lens' FieldLevelEncryptionProfileSummary EncryptionEntities
- data FieldLevelEncryptionSummary = FieldLevelEncryptionSummary' {}
- newFieldLevelEncryptionSummary :: Text -> UTCTime -> FieldLevelEncryptionSummary
- fieldLevelEncryptionSummary_queryArgProfileConfig :: Lens' FieldLevelEncryptionSummary (Maybe QueryArgProfileConfig)
- fieldLevelEncryptionSummary_contentTypeProfileConfig :: Lens' FieldLevelEncryptionSummary (Maybe ContentTypeProfileConfig)
- fieldLevelEncryptionSummary_comment :: Lens' FieldLevelEncryptionSummary (Maybe Text)
- fieldLevelEncryptionSummary_id :: Lens' FieldLevelEncryptionSummary Text
- fieldLevelEncryptionSummary_lastModifiedTime :: Lens' FieldLevelEncryptionSummary UTCTime
- data FieldPatterns = FieldPatterns' {}
- newFieldPatterns :: Int -> FieldPatterns
- fieldPatterns_items :: Lens' FieldPatterns (Maybe [Text])
- fieldPatterns_quantity :: Lens' FieldPatterns Int
- data ForwardedValues = ForwardedValues' {}
- newForwardedValues :: Bool -> CookiePreference -> ForwardedValues
- forwardedValues_queryStringCacheKeys :: Lens' ForwardedValues (Maybe QueryStringCacheKeys)
- forwardedValues_headers :: Lens' ForwardedValues (Maybe Headers)
- forwardedValues_queryString :: Lens' ForwardedValues Bool
- forwardedValues_cookies :: Lens' ForwardedValues CookiePreference
- data FunctionAssociation = FunctionAssociation' {}
- newFunctionAssociation :: Text -> EventType -> FunctionAssociation
- functionAssociation_functionARN :: Lens' FunctionAssociation Text
- functionAssociation_eventType :: Lens' FunctionAssociation EventType
- data FunctionAssociations = FunctionAssociations' {
- items :: Maybe [FunctionAssociation]
- quantity :: Int
- newFunctionAssociations :: Int -> FunctionAssociations
- functionAssociations_items :: Lens' FunctionAssociations (Maybe [FunctionAssociation])
- functionAssociations_quantity :: Lens' FunctionAssociations Int
- data FunctionConfig = FunctionConfig' {}
- newFunctionConfig :: Text -> FunctionRuntime -> FunctionConfig
- functionConfig_comment :: Lens' FunctionConfig Text
- functionConfig_runtime :: Lens' FunctionConfig FunctionRuntime
- data FunctionList = FunctionList' {
- items :: Maybe [FunctionSummary]
- nextMarker :: Maybe Text
- maxItems :: Int
- quantity :: Int
- newFunctionList :: Int -> Int -> FunctionList
- functionList_items :: Lens' FunctionList (Maybe [FunctionSummary])
- functionList_nextMarker :: Lens' FunctionList (Maybe Text)
- functionList_maxItems :: Lens' FunctionList Int
- functionList_quantity :: Lens' FunctionList Int
- data FunctionMetadata = FunctionMetadata' {}
- newFunctionMetadata :: Text -> UTCTime -> FunctionMetadata
- functionMetadata_stage :: Lens' FunctionMetadata (Maybe FunctionStage)
- functionMetadata_createdTime :: Lens' FunctionMetadata (Maybe UTCTime)
- functionMetadata_functionARN :: Lens' FunctionMetadata Text
- functionMetadata_lastModifiedTime :: Lens' FunctionMetadata UTCTime
- data FunctionSummary = FunctionSummary' {}
- newFunctionSummary :: Text -> FunctionConfig -> FunctionMetadata -> FunctionSummary
- functionSummary_status :: Lens' FunctionSummary (Maybe Text)
- functionSummary_name :: Lens' FunctionSummary Text
- functionSummary_functionConfig :: Lens' FunctionSummary FunctionConfig
- functionSummary_functionMetadata :: Lens' FunctionSummary FunctionMetadata
- data GeoRestriction = GeoRestriction' {
- items :: Maybe [Text]
- restrictionType :: GeoRestrictionType
- quantity :: Int
- newGeoRestriction :: GeoRestrictionType -> Int -> GeoRestriction
- geoRestriction_items :: Lens' GeoRestriction (Maybe [Text])
- geoRestriction_restrictionType :: Lens' GeoRestriction GeoRestrictionType
- geoRestriction_quantity :: Lens' GeoRestriction Int
- data Headers = Headers' {}
- newHeaders :: Int -> Headers
- headers_items :: Lens' Headers (Maybe [Text])
- headers_quantity :: Lens' Headers Int
- data Invalidation = Invalidation' {}
- newInvalidation :: Text -> Text -> UTCTime -> InvalidationBatch -> Invalidation
- invalidation_id :: Lens' Invalidation Text
- invalidation_status :: Lens' Invalidation Text
- invalidation_createTime :: Lens' Invalidation UTCTime
- invalidation_invalidationBatch :: Lens' Invalidation InvalidationBatch
- data InvalidationBatch = InvalidationBatch' {
- paths :: Paths
- callerReference :: Text
- newInvalidationBatch :: Paths -> Text -> InvalidationBatch
- invalidationBatch_paths :: Lens' InvalidationBatch Paths
- invalidationBatch_callerReference :: Lens' InvalidationBatch Text
- data InvalidationList = InvalidationList' {
- items :: Maybe [InvalidationSummary]
- nextMarker :: Maybe Text
- marker :: Text
- maxItems :: Int
- isTruncated :: Bool
- quantity :: Int
- newInvalidationList :: Text -> Int -> Bool -> Int -> InvalidationList
- invalidationList_items :: Lens' InvalidationList (Maybe [InvalidationSummary])
- invalidationList_nextMarker :: Lens' InvalidationList (Maybe Text)
- invalidationList_marker :: Lens' InvalidationList Text
- invalidationList_maxItems :: Lens' InvalidationList Int
- invalidationList_isTruncated :: Lens' InvalidationList Bool
- invalidationList_quantity :: Lens' InvalidationList Int
- data InvalidationSummary = InvalidationSummary' {}
- newInvalidationSummary :: Text -> UTCTime -> Text -> InvalidationSummary
- invalidationSummary_id :: Lens' InvalidationSummary Text
- invalidationSummary_createTime :: Lens' InvalidationSummary UTCTime
- invalidationSummary_status :: Lens' InvalidationSummary Text
- data KGKeyPairIds = KGKeyPairIds' {}
- newKGKeyPairIds :: KGKeyPairIds
- kGKeyPairIds_keyPairIds :: Lens' KGKeyPairIds (Maybe KeyPairIds)
- kGKeyPairIds_keyGroupId :: Lens' KGKeyPairIds (Maybe Text)
- data KeyGroup = KeyGroup' {}
- newKeyGroup :: Text -> UTCTime -> KeyGroupConfig -> KeyGroup
- keyGroup_id :: Lens' KeyGroup Text
- keyGroup_lastModifiedTime :: Lens' KeyGroup UTCTime
- keyGroup_keyGroupConfig :: Lens' KeyGroup KeyGroupConfig
- data KeyGroupConfig = KeyGroupConfig' {}
- newKeyGroupConfig :: Text -> KeyGroupConfig
- keyGroupConfig_comment :: Lens' KeyGroupConfig (Maybe Text)
- keyGroupConfig_name :: Lens' KeyGroupConfig Text
- keyGroupConfig_items :: Lens' KeyGroupConfig [Text]
- data KeyGroupList = KeyGroupList' {
- items :: Maybe [KeyGroupSummary]
- nextMarker :: Maybe Text
- maxItems :: Int
- quantity :: Int
- newKeyGroupList :: Int -> Int -> KeyGroupList
- keyGroupList_items :: Lens' KeyGroupList (Maybe [KeyGroupSummary])
- keyGroupList_nextMarker :: Lens' KeyGroupList (Maybe Text)
- keyGroupList_maxItems :: Lens' KeyGroupList Int
- keyGroupList_quantity :: Lens' KeyGroupList Int
- data KeyGroupSummary = KeyGroupSummary' {}
- newKeyGroupSummary :: KeyGroup -> KeyGroupSummary
- keyGroupSummary_keyGroup :: Lens' KeyGroupSummary KeyGroup
- data KeyPairIds = KeyPairIds' {}
- newKeyPairIds :: Int -> KeyPairIds
- keyPairIds_items :: Lens' KeyPairIds (Maybe [Text])
- keyPairIds_quantity :: Lens' KeyPairIds Int
- data KinesisStreamConfig = KinesisStreamConfig' {}
- newKinesisStreamConfig :: Text -> Text -> KinesisStreamConfig
- kinesisStreamConfig_roleARN :: Lens' KinesisStreamConfig Text
- kinesisStreamConfig_streamARN :: Lens' KinesisStreamConfig Text
- data LambdaFunctionAssociation = LambdaFunctionAssociation' {}
- newLambdaFunctionAssociation :: Text -> EventType -> LambdaFunctionAssociation
- lambdaFunctionAssociation_includeBody :: Lens' LambdaFunctionAssociation (Maybe Bool)
- lambdaFunctionAssociation_lambdaFunctionARN :: Lens' LambdaFunctionAssociation Text
- lambdaFunctionAssociation_eventType :: Lens' LambdaFunctionAssociation EventType
- data LambdaFunctionAssociations = LambdaFunctionAssociations' {}
- newLambdaFunctionAssociations :: Int -> LambdaFunctionAssociations
- lambdaFunctionAssociations_items :: Lens' LambdaFunctionAssociations (Maybe [LambdaFunctionAssociation])
- lambdaFunctionAssociations_quantity :: Lens' LambdaFunctionAssociations Int
- data LoggingConfig = LoggingConfig' {}
- newLoggingConfig :: Bool -> Bool -> Text -> Text -> LoggingConfig
- loggingConfig_enabled :: Lens' LoggingConfig Bool
- loggingConfig_includeCookies :: Lens' LoggingConfig Bool
- loggingConfig_bucket :: Lens' LoggingConfig Text
- loggingConfig_prefix :: Lens' LoggingConfig Text
- data MonitoringSubscription = MonitoringSubscription' {}
- newMonitoringSubscription :: MonitoringSubscription
- monitoringSubscription_realtimeMetricsSubscriptionConfig :: Lens' MonitoringSubscription (Maybe RealtimeMetricsSubscriptionConfig)
- data Origin = Origin' {}
- newOrigin :: Text -> Text -> Origin
- origin_customHeaders :: Lens' Origin (Maybe CustomHeaders)
- origin_customOriginConfig :: Lens' Origin (Maybe CustomOriginConfig)
- origin_connectionTimeout :: Lens' Origin (Maybe Int)
- origin_connectionAttempts :: Lens' Origin (Maybe Int)
- origin_s3OriginConfig :: Lens' Origin (Maybe S3OriginConfig)
- origin_originPath :: Lens' Origin (Maybe Text)
- origin_originShield :: Lens' Origin (Maybe OriginShield)
- origin_id :: Lens' Origin Text
- origin_domainName :: Lens' Origin Text
- data OriginCustomHeader = OriginCustomHeader' {
- headerName :: Text
- headerValue :: Text
- newOriginCustomHeader :: Text -> Text -> OriginCustomHeader
- originCustomHeader_headerName :: Lens' OriginCustomHeader Text
- originCustomHeader_headerValue :: Lens' OriginCustomHeader Text
- data OriginGroup = OriginGroup' {}
- newOriginGroup :: Text -> OriginGroupFailoverCriteria -> OriginGroupMembers -> OriginGroup
- originGroup_id :: Lens' OriginGroup Text
- originGroup_failoverCriteria :: Lens' OriginGroup OriginGroupFailoverCriteria
- originGroup_members :: Lens' OriginGroup OriginGroupMembers
- data OriginGroupFailoverCriteria = OriginGroupFailoverCriteria' {}
- newOriginGroupFailoverCriteria :: StatusCodes -> OriginGroupFailoverCriteria
- originGroupFailoverCriteria_statusCodes :: Lens' OriginGroupFailoverCriteria StatusCodes
- data OriginGroupMember = OriginGroupMember' {}
- newOriginGroupMember :: Text -> OriginGroupMember
- originGroupMember_originId :: Lens' OriginGroupMember Text
- data OriginGroupMembers = OriginGroupMembers' {}
- newOriginGroupMembers :: Int -> NonEmpty OriginGroupMember -> OriginGroupMembers
- originGroupMembers_quantity :: Lens' OriginGroupMembers Int
- originGroupMembers_items :: Lens' OriginGroupMembers (NonEmpty OriginGroupMember)
- data OriginGroups = OriginGroups' {
- items :: Maybe [OriginGroup]
- quantity :: Int
- newOriginGroups :: Int -> OriginGroups
- originGroups_items :: Lens' OriginGroups (Maybe [OriginGroup])
- originGroups_quantity :: Lens' OriginGroups Int
- data OriginRequestPolicy = OriginRequestPolicy' {}
- newOriginRequestPolicy :: Text -> UTCTime -> OriginRequestPolicyConfig -> OriginRequestPolicy
- originRequestPolicy_id :: Lens' OriginRequestPolicy Text
- originRequestPolicy_lastModifiedTime :: Lens' OriginRequestPolicy UTCTime
- originRequestPolicy_originRequestPolicyConfig :: Lens' OriginRequestPolicy OriginRequestPolicyConfig
- data OriginRequestPolicyConfig = OriginRequestPolicyConfig' {}
- newOriginRequestPolicyConfig :: Text -> OriginRequestPolicyHeadersConfig -> OriginRequestPolicyCookiesConfig -> OriginRequestPolicyQueryStringsConfig -> OriginRequestPolicyConfig
- originRequestPolicyConfig_comment :: Lens' OriginRequestPolicyConfig (Maybe Text)
- originRequestPolicyConfig_name :: Lens' OriginRequestPolicyConfig Text
- originRequestPolicyConfig_headersConfig :: Lens' OriginRequestPolicyConfig OriginRequestPolicyHeadersConfig
- originRequestPolicyConfig_cookiesConfig :: Lens' OriginRequestPolicyConfig OriginRequestPolicyCookiesConfig
- originRequestPolicyConfig_queryStringsConfig :: Lens' OriginRequestPolicyConfig OriginRequestPolicyQueryStringsConfig
- data OriginRequestPolicyCookiesConfig = OriginRequestPolicyCookiesConfig' {}
- newOriginRequestPolicyCookiesConfig :: OriginRequestPolicyCookieBehavior -> OriginRequestPolicyCookiesConfig
- originRequestPolicyCookiesConfig_cookies :: Lens' OriginRequestPolicyCookiesConfig (Maybe CookieNames)
- originRequestPolicyCookiesConfig_cookieBehavior :: Lens' OriginRequestPolicyCookiesConfig OriginRequestPolicyCookieBehavior
- data OriginRequestPolicyHeadersConfig = OriginRequestPolicyHeadersConfig' {}
- newOriginRequestPolicyHeadersConfig :: OriginRequestPolicyHeaderBehavior -> OriginRequestPolicyHeadersConfig
- originRequestPolicyHeadersConfig_headers :: Lens' OriginRequestPolicyHeadersConfig (Maybe Headers)
- originRequestPolicyHeadersConfig_headerBehavior :: Lens' OriginRequestPolicyHeadersConfig OriginRequestPolicyHeaderBehavior
- data OriginRequestPolicyList = OriginRequestPolicyList' {
- items :: Maybe [OriginRequestPolicySummary]
- nextMarker :: Maybe Text
- maxItems :: Int
- quantity :: Int
- newOriginRequestPolicyList :: Int -> Int -> OriginRequestPolicyList
- originRequestPolicyList_items :: Lens' OriginRequestPolicyList (Maybe [OriginRequestPolicySummary])
- originRequestPolicyList_nextMarker :: Lens' OriginRequestPolicyList (Maybe Text)
- originRequestPolicyList_maxItems :: Lens' OriginRequestPolicyList Int
- originRequestPolicyList_quantity :: Lens' OriginRequestPolicyList Int
- data OriginRequestPolicyQueryStringsConfig = OriginRequestPolicyQueryStringsConfig' {}
- newOriginRequestPolicyQueryStringsConfig :: OriginRequestPolicyQueryStringBehavior -> OriginRequestPolicyQueryStringsConfig
- originRequestPolicyQueryStringsConfig_queryStrings :: Lens' OriginRequestPolicyQueryStringsConfig (Maybe QueryStringNames)
- originRequestPolicyQueryStringsConfig_queryStringBehavior :: Lens' OriginRequestPolicyQueryStringsConfig OriginRequestPolicyQueryStringBehavior
- data OriginRequestPolicySummary = OriginRequestPolicySummary' {}
- newOriginRequestPolicySummary :: OriginRequestPolicyType -> OriginRequestPolicy -> OriginRequestPolicySummary
- originRequestPolicySummary_type :: Lens' OriginRequestPolicySummary OriginRequestPolicyType
- originRequestPolicySummary_originRequestPolicy :: Lens' OriginRequestPolicySummary OriginRequestPolicy
- data OriginShield = OriginShield' {}
- newOriginShield :: Bool -> OriginShield
- originShield_originShieldRegion :: Lens' OriginShield (Maybe Text)
- originShield_enabled :: Lens' OriginShield Bool
- data OriginSslProtocols = OriginSslProtocols' {
- quantity :: Int
- items :: [SslProtocol]
- newOriginSslProtocols :: Int -> OriginSslProtocols
- originSslProtocols_quantity :: Lens' OriginSslProtocols Int
- originSslProtocols_items :: Lens' OriginSslProtocols [SslProtocol]
- data Origins = Origins' {}
- newOrigins :: Int -> NonEmpty Origin -> Origins
- origins_quantity :: Lens' Origins Int
- origins_items :: Lens' Origins (NonEmpty Origin)
- data ParametersInCacheKeyAndForwardedToOrigin = ParametersInCacheKeyAndForwardedToOrigin' {}
- newParametersInCacheKeyAndForwardedToOrigin :: Bool -> CachePolicyHeadersConfig -> CachePolicyCookiesConfig -> CachePolicyQueryStringsConfig -> ParametersInCacheKeyAndForwardedToOrigin
- parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingBrotli :: Lens' ParametersInCacheKeyAndForwardedToOrigin (Maybe Bool)
- parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingGzip :: Lens' ParametersInCacheKeyAndForwardedToOrigin Bool
- parametersInCacheKeyAndForwardedToOrigin_headersConfig :: Lens' ParametersInCacheKeyAndForwardedToOrigin CachePolicyHeadersConfig
- parametersInCacheKeyAndForwardedToOrigin_cookiesConfig :: Lens' ParametersInCacheKeyAndForwardedToOrigin CachePolicyCookiesConfig
- parametersInCacheKeyAndForwardedToOrigin_queryStringsConfig :: Lens' ParametersInCacheKeyAndForwardedToOrigin CachePolicyQueryStringsConfig
- data Paths = Paths' {}
- newPaths :: Int -> Paths
- paths_items :: Lens' Paths (Maybe [Text])
- paths_quantity :: Lens' Paths Int
- data PublicKey = PublicKey' {}
- newPublicKey :: Text -> UTCTime -> PublicKeyConfig -> PublicKey
- publicKey_id :: Lens' PublicKey Text
- publicKey_createdTime :: Lens' PublicKey UTCTime
- publicKey_publicKeyConfig :: Lens' PublicKey PublicKeyConfig
- data PublicKeyConfig = PublicKeyConfig' {
- comment :: Maybe Text
- callerReference :: Text
- name :: Text
- encodedKey :: Text
- newPublicKeyConfig :: Text -> Text -> Text -> PublicKeyConfig
- publicKeyConfig_comment :: Lens' PublicKeyConfig (Maybe Text)
- publicKeyConfig_callerReference :: Lens' PublicKeyConfig Text
- publicKeyConfig_name :: Lens' PublicKeyConfig Text
- publicKeyConfig_encodedKey :: Lens' PublicKeyConfig Text
- data PublicKeyList = PublicKeyList' {
- items :: Maybe [PublicKeySummary]
- nextMarker :: Maybe Text
- maxItems :: Int
- quantity :: Int
- newPublicKeyList :: Int -> Int -> PublicKeyList
- publicKeyList_items :: Lens' PublicKeyList (Maybe [PublicKeySummary])
- publicKeyList_nextMarker :: Lens' PublicKeyList (Maybe Text)
- publicKeyList_maxItems :: Lens' PublicKeyList Int
- publicKeyList_quantity :: Lens' PublicKeyList Int
- data PublicKeySummary = PublicKeySummary' {}
- newPublicKeySummary :: Text -> Text -> UTCTime -> Text -> PublicKeySummary
- publicKeySummary_comment :: Lens' PublicKeySummary (Maybe Text)
- publicKeySummary_id :: Lens' PublicKeySummary Text
- publicKeySummary_name :: Lens' PublicKeySummary Text
- publicKeySummary_createdTime :: Lens' PublicKeySummary UTCTime
- publicKeySummary_encodedKey :: Lens' PublicKeySummary Text
- data QueryArgProfile = QueryArgProfile' {}
- newQueryArgProfile :: Text -> Text -> QueryArgProfile
- queryArgProfile_queryArg :: Lens' QueryArgProfile Text
- queryArgProfile_profileId :: Lens' QueryArgProfile Text
- data QueryArgProfileConfig = QueryArgProfileConfig' {}
- newQueryArgProfileConfig :: Bool -> QueryArgProfileConfig
- queryArgProfileConfig_queryArgProfiles :: Lens' QueryArgProfileConfig (Maybe QueryArgProfiles)
- queryArgProfileConfig_forwardWhenQueryArgProfileIsUnknown :: Lens' QueryArgProfileConfig Bool
- data QueryArgProfiles = QueryArgProfiles' {
- items :: Maybe [QueryArgProfile]
- quantity :: Int
- newQueryArgProfiles :: Int -> QueryArgProfiles
- queryArgProfiles_items :: Lens' QueryArgProfiles (Maybe [QueryArgProfile])
- queryArgProfiles_quantity :: Lens' QueryArgProfiles Int
- data QueryStringCacheKeys = QueryStringCacheKeys' {}
- newQueryStringCacheKeys :: Int -> QueryStringCacheKeys
- queryStringCacheKeys_items :: Lens' QueryStringCacheKeys (Maybe [Text])
- queryStringCacheKeys_quantity :: Lens' QueryStringCacheKeys Int
- data QueryStringNames = QueryStringNames' {}
- newQueryStringNames :: Int -> QueryStringNames
- queryStringNames_items :: Lens' QueryStringNames (Maybe [Text])
- queryStringNames_quantity :: Lens' QueryStringNames Int
- data RealtimeLogConfig = RealtimeLogConfig' {}
- newRealtimeLogConfig :: Text -> Text -> Integer -> RealtimeLogConfig
- realtimeLogConfig_arn :: Lens' RealtimeLogConfig Text
- realtimeLogConfig_name :: Lens' RealtimeLogConfig Text
- realtimeLogConfig_samplingRate :: Lens' RealtimeLogConfig Integer
- realtimeLogConfig_endPoints :: Lens' RealtimeLogConfig [EndPoint]
- realtimeLogConfig_fields :: Lens' RealtimeLogConfig [Text]
- data RealtimeLogConfigs = RealtimeLogConfigs' {
- items :: Maybe [RealtimeLogConfig]
- nextMarker :: Maybe Text
- maxItems :: Int
- isTruncated :: Bool
- marker :: Text
- newRealtimeLogConfigs :: Int -> Bool -> Text -> RealtimeLogConfigs
- realtimeLogConfigs_items :: Lens' RealtimeLogConfigs (Maybe [RealtimeLogConfig])
- realtimeLogConfigs_nextMarker :: Lens' RealtimeLogConfigs (Maybe Text)
- realtimeLogConfigs_maxItems :: Lens' RealtimeLogConfigs Int
- realtimeLogConfigs_isTruncated :: Lens' RealtimeLogConfigs Bool
- realtimeLogConfigs_marker :: Lens' RealtimeLogConfigs Text
- data RealtimeMetricsSubscriptionConfig = RealtimeMetricsSubscriptionConfig' {}
- newRealtimeMetricsSubscriptionConfig :: RealtimeMetricsSubscriptionStatus -> RealtimeMetricsSubscriptionConfig
- realtimeMetricsSubscriptionConfig_realtimeMetricsSubscriptionStatus :: Lens' RealtimeMetricsSubscriptionConfig RealtimeMetricsSubscriptionStatus
- data Restrictions = Restrictions' {}
- newRestrictions :: GeoRestriction -> Restrictions
- restrictions_geoRestriction :: Lens' Restrictions GeoRestriction
- data S3Origin = S3Origin' {}
- newS3Origin :: Text -> Text -> S3Origin
- s3Origin_domainName :: Lens' S3Origin Text
- s3Origin_originAccessIdentity :: Lens' S3Origin Text
- data S3OriginConfig = S3OriginConfig' {}
- newS3OriginConfig :: Text -> S3OriginConfig
- s3OriginConfig_originAccessIdentity :: Lens' S3OriginConfig Text
- data Signer = Signer' {}
- newSigner :: Signer
- signer_awsAccountNumber :: Lens' Signer (Maybe Text)
- signer_keyPairIds :: Lens' Signer (Maybe KeyPairIds)
- data StatusCodes = StatusCodes' {}
- newStatusCodes :: Int -> NonEmpty Int -> StatusCodes
- statusCodes_quantity :: Lens' StatusCodes Int
- statusCodes_items :: Lens' StatusCodes (NonEmpty Int)
- data StreamingDistribution = StreamingDistribution' {}
- newStreamingDistribution :: Text -> Text -> Text -> Text -> ActiveTrustedSigners -> StreamingDistributionConfig -> StreamingDistribution
- streamingDistribution_lastModifiedTime :: Lens' StreamingDistribution (Maybe UTCTime)
- streamingDistribution_id :: Lens' StreamingDistribution Text
- streamingDistribution_arn :: Lens' StreamingDistribution Text
- streamingDistribution_status :: Lens' StreamingDistribution Text
- streamingDistribution_domainName :: Lens' StreamingDistribution Text
- streamingDistribution_activeTrustedSigners :: Lens' StreamingDistribution ActiveTrustedSigners
- streamingDistribution_streamingDistributionConfig :: Lens' StreamingDistribution StreamingDistributionConfig
- data StreamingDistributionConfig = StreamingDistributionConfig' {}
- newStreamingDistributionConfig :: Text -> S3Origin -> Text -> TrustedSigners -> Bool -> StreamingDistributionConfig
- streamingDistributionConfig_aliases :: Lens' StreamingDistributionConfig (Maybe Aliases)
- streamingDistributionConfig_priceClass :: Lens' StreamingDistributionConfig (Maybe PriceClass)
- streamingDistributionConfig_logging :: Lens' StreamingDistributionConfig (Maybe StreamingLoggingConfig)
- streamingDistributionConfig_callerReference :: Lens' StreamingDistributionConfig Text
- streamingDistributionConfig_s3Origin :: Lens' StreamingDistributionConfig S3Origin
- streamingDistributionConfig_comment :: Lens' StreamingDistributionConfig Text
- streamingDistributionConfig_trustedSigners :: Lens' StreamingDistributionConfig TrustedSigners
- streamingDistributionConfig_enabled :: Lens' StreamingDistributionConfig Bool
- data StreamingDistributionConfigWithTags = StreamingDistributionConfigWithTags' {}
- newStreamingDistributionConfigWithTags :: StreamingDistributionConfig -> Tags -> StreamingDistributionConfigWithTags
- streamingDistributionConfigWithTags_streamingDistributionConfig :: Lens' StreamingDistributionConfigWithTags StreamingDistributionConfig
- streamingDistributionConfigWithTags_tags :: Lens' StreamingDistributionConfigWithTags Tags
- data StreamingDistributionList = StreamingDistributionList' {
- items :: Maybe [StreamingDistributionSummary]
- nextMarker :: Maybe Text
- marker :: Text
- maxItems :: Int
- isTruncated :: Bool
- quantity :: Int
- newStreamingDistributionList :: Text -> Int -> Bool -> Int -> StreamingDistributionList
- streamingDistributionList_items :: Lens' StreamingDistributionList (Maybe [StreamingDistributionSummary])
- streamingDistributionList_nextMarker :: Lens' StreamingDistributionList (Maybe Text)
- streamingDistributionList_marker :: Lens' StreamingDistributionList Text
- streamingDistributionList_maxItems :: Lens' StreamingDistributionList Int
- streamingDistributionList_isTruncated :: Lens' StreamingDistributionList Bool
- streamingDistributionList_quantity :: Lens' StreamingDistributionList Int
- data StreamingDistributionSummary = StreamingDistributionSummary' {
- id :: Text
- arn :: Text
- status :: Text
- lastModifiedTime :: ISO8601
- domainName :: Text
- s3Origin :: S3Origin
- aliases :: Aliases
- trustedSigners :: TrustedSigners
- comment :: Text
- priceClass :: PriceClass
- enabled :: Bool
- newStreamingDistributionSummary :: Text -> Text -> Text -> UTCTime -> Text -> S3Origin -> Aliases -> TrustedSigners -> Text -> PriceClass -> Bool -> StreamingDistributionSummary
- streamingDistributionSummary_id :: Lens' StreamingDistributionSummary Text
- streamingDistributionSummary_arn :: Lens' StreamingDistributionSummary Text
- streamingDistributionSummary_status :: Lens' StreamingDistributionSummary Text
- streamingDistributionSummary_lastModifiedTime :: Lens' StreamingDistributionSummary UTCTime
- streamingDistributionSummary_domainName :: Lens' StreamingDistributionSummary Text
- streamingDistributionSummary_s3Origin :: Lens' StreamingDistributionSummary S3Origin
- streamingDistributionSummary_aliases :: Lens' StreamingDistributionSummary Aliases
- streamingDistributionSummary_trustedSigners :: Lens' StreamingDistributionSummary TrustedSigners
- streamingDistributionSummary_comment :: Lens' StreamingDistributionSummary Text
- streamingDistributionSummary_priceClass :: Lens' StreamingDistributionSummary PriceClass
- streamingDistributionSummary_enabled :: Lens' StreamingDistributionSummary Bool
- data StreamingLoggingConfig = StreamingLoggingConfig' {}
- newStreamingLoggingConfig :: Bool -> Text -> Text -> StreamingLoggingConfig
- streamingLoggingConfig_enabled :: Lens' StreamingLoggingConfig Bool
- streamingLoggingConfig_bucket :: Lens' StreamingLoggingConfig Text
- streamingLoggingConfig_prefix :: Lens' StreamingLoggingConfig Text
- data Tag = Tag' {}
- newTag :: Text -> Tag
- tag_value :: Lens' Tag (Maybe Text)
- tag_key :: Lens' Tag Text
- data TagKeys = TagKeys' {}
- newTagKeys :: TagKeys
- tagKeys_items :: Lens' TagKeys (Maybe [Text])
- data Tags = Tags' {}
- newTags :: Tags
- tags_items :: Lens' Tags (Maybe [Tag])
- data TestResult = TestResult' {}
- newTestResult :: TestResult
- testResult_computeUtilization :: Lens' TestResult (Maybe Text)
- testResult_functionExecutionLogs :: Lens' TestResult (Maybe [Text])
- testResult_functionOutput :: Lens' TestResult (Maybe Text)
- testResult_functionSummary :: Lens' TestResult (Maybe FunctionSummary)
- testResult_functionErrorMessage :: Lens' TestResult (Maybe Text)
- data TrustedKeyGroups = TrustedKeyGroups' {}
- newTrustedKeyGroups :: Bool -> Int -> TrustedKeyGroups
- trustedKeyGroups_items :: Lens' TrustedKeyGroups (Maybe [Text])
- trustedKeyGroups_enabled :: Lens' TrustedKeyGroups Bool
- trustedKeyGroups_quantity :: Lens' TrustedKeyGroups Int
- data TrustedSigners = TrustedSigners' {}
- newTrustedSigners :: Bool -> Int -> TrustedSigners
- trustedSigners_items :: Lens' TrustedSigners (Maybe [Text])
- trustedSigners_enabled :: Lens' TrustedSigners Bool
- trustedSigners_quantity :: Lens' TrustedSigners Int
- data ViewerCertificate = ViewerCertificate' {}
- newViewerCertificate :: ViewerCertificate
- viewerCertificate_sSLSupportMethod :: Lens' ViewerCertificate (Maybe SSLSupportMethod)
- viewerCertificate_aCMCertificateArn :: Lens' ViewerCertificate (Maybe Text)
- viewerCertificate_certificateSource :: Lens' ViewerCertificate (Maybe CertificateSource)
- viewerCertificate_minimumProtocolVersion :: Lens' ViewerCertificate (Maybe MinimumProtocolVersion)
- viewerCertificate_certificate :: Lens' ViewerCertificate (Maybe Text)
- viewerCertificate_iAMCertificateId :: Lens' ViewerCertificate (Maybe Text)
- viewerCertificate_cloudFrontDefaultCertificate :: Lens' ViewerCertificate (Maybe Bool)
Service Configuration
defaultService :: Service Source #
API version 2020-05-31
of the Amazon CloudFront SDK configuration.
Errors
_RealtimeLogConfigOwnerMismatch :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified real-time log configuration belongs to a different account.
_TooManyOriginCustomHeaders :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request contains too many origin custom headers.
_InvalidTagging :: AsError a => Getting (First ServiceError) a ServiceError Source #
The tagging specified is not valid.
_InvalidErrorCode :: AsError a => Getting (First ServiceError) a ServiceError Source #
An invalid error code was specified.
_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.
_TooManyDistributionsWithFunctionAssociations :: AsError a => Getting (First ServiceError) a ServiceError Source #
You have reached the maximum number of distributions that are associated with a CloudFront function. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
_InvalidOriginReadTimeout :: AsError a => Getting (First ServiceError) a ServiceError Source #
The read timeout specified for the origin is not valid.
_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.
_RealtimeLogConfigAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
A real-time log configuration with this name already exists. You must
provide a unique name. To modify an existing real-time log
configuration, use UpdateRealtimeLogConfig
.
_TestFunctionFailed :: AsError a => Getting (First ServiceError) a ServiceError Source #
The CloudFront function failed.
_InvalidOriginAccessIdentity :: AsError a => Getting (First ServiceError) a ServiceError Source #
The origin access identity is not valid or doesn't exist.
_TooManyFunctionAssociations :: AsError a => Getting (First ServiceError) a ServiceError Source #
You have reached the maximum number of CloudFront function associations for this distribution. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
_DistributionNotDisabled :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified CloudFront distribution is not disabled. You must disable the distribution before you can delete it.
_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 #
An argument is invalid.
_InvalidOriginKeepaliveTimeout :: AsError a => Getting (First ServiceError) a ServiceError Source #
The keep alive timeout specified for the origin is not valid.
_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 #
A web ACL ID specified is not valid. To specify a web ACL created using
the latest version of WAF, use the ACL ARN, for example
arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a
.
To specify a web ACL created using WAF Classic, use the ACL ID, for
example 473e64fd-f30b-4765-81a0-62ad96dd167a
.
_TooManyQueryStringParameters :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request contains too many query string parameters.
_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 #
The Origin Access Identity specified is already in use.
_InvalidFunctionAssociation :: AsError a => Getting (First ServiceError) a ServiceError Source #
A CloudFront function association is invalid.
_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 #
Invalidation batch specified is too large.
_TooManyCookieNamesInWhiteList :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request contains more cookie names in the whitelist than are allowed per cache behavior.
_TooManyPublicKeysInKeyGroup :: AsError a => Getting (First ServiceError) a ServiceError Source #
The number of public keys in this key group is more than the maximum allowed. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
_InvalidLambdaFunctionAssociation :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified Lambda@Edge function association is invalid.
_TooManyKeyGroupsAssociatedToDistribution :: AsError a => Getting (First ServiceError) a ServiceError Source #
The number of key groups referenced by this distribution is more than the maximum allowed. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
_NoSuchRealtimeLogConfig :: AsError a => Getting (First ServiceError) a ServiceError Source #
The real-time log configuration does not exist.
_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.
_TooManyDistributionsAssociatedToKeyGroup :: AsError a => Getting (First ServiceError) a ServiceError Source #
The number of distributions that reference this key group is more than the maximum allowed. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
_InvalidOrigin :: AsError a => Getting (First ServiceError) a ServiceError Source #
The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.
_CachePolicyInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
Cannot delete the cache policy because it is attached to one or more cache behaviors.
_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.
_UnsupportedOperation :: AsError a => Getting (First ServiceError) a ServiceError Source #
This operation is not supported in this region.
_NoSuchOrigin :: AsError a => Getting (First ServiceError) a ServiceError Source #
No origin exists with the specified Origin Id
.
_TooManyHeadersInCachePolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #
The number of headers in the cache policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
_NoSuchCachePolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #
The cache policy does not exist.
_InvalidTTLOrder :: AsError a => Getting (First ServiceError) a ServiceError Source #
The TTL order specified is not valid.
_StreamingDistributionNotDisabled :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified CloudFront distribution is not disabled. You must disable the distribution before you can delete it.
_OriginRequestPolicyAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
An origin request policy with this name already exists. You must provide
a unique name. To modify an existing origin request policy, use
UpdateOriginRequestPolicy
.
_TooManyHeadersInForwardedValues :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request contains too many headers in forwarded values.
_NoSuchResource :: AsError a => Getting (First ServiceError) a ServiceError Source #
A resource that was specified is not valid.
_TooManyFieldLevelEncryptionEncryptionEntities :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of encryption entities for field-level encryption have been created.
_TooManyFunctions :: AsError a => Getting (First ServiceError) a ServiceError Source #
You have reached the maximum number of CloudFront functions for this account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
_TooManyStreamingDistributionCNAMEs :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request contains more CNAMEs than are allowed per distribution.
_FieldLevelEncryptionProfileAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified profile for field-level encryption already exists.
_KeyGroupAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
A key group with this name already exists. You must provide a unique
name. To modify an existing key group, use UpdateKeyGroup
.
_TrustedKeyGroupDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified key group does not exist.
_ResourceInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
Cannot delete this resource because it is in use.
_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.
_TooManyDistributionsWithSingleFunctionARN :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of distributions have been associated with the specified Lambda@Edge function.
_TooManyHeadersInOriginRequestPolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #
The number of headers in the origin request policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
_TooManyCertificates :: AsError a => Getting (First ServiceError) a ServiceError Source #
You cannot create anymore custom SSL/TLS certificates.
_FunctionSizeLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
The function is too large. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
_NoSuchOriginRequestPolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #
The origin request policy does not exist.
_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.
_TooManyKeyGroups :: AsError a => Getting (First ServiceError) a ServiceError Source #
You have reached the maximum number of key groups for this account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
_InvalidQueryStringParameters :: AsError a => Getting (First ServiceError) a ServiceError Source #
The query string parameters specified are not valid.
_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.
_FunctionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
A function with the same name already exists in this account. To create
a function, you must provide a unique name. To update an existing
function, use UpdateFunction
.
_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.
_TooManyOriginRequestPolicies :: AsError a => Getting (First ServiceError) a ServiceError Source #
You have reached the maximum number of origin request policies for this account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
_IllegalDelete :: AsError a => Getting (First ServiceError) a ServiceError Source #
You cannot delete a managed policy.
_IllegalUpdate :: AsError a => Getting (First ServiceError) a ServiceError Source #
The update contains modifications that are not allowed.
_InvalidIfMatchVersion :: AsError a => Getting (First ServiceError) a ServiceError Source #
The If-Match
version is missing or not valid.
_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 in one or more of the request fields evaluated to
false
.
_InvalidResponseCode :: AsError a => Getting (First ServiceError) a ServiceError Source #
A response code is not valid.
_InvalidHeadersForS3Origin :: AsError a => Getting (First ServiceError) a ServiceError Source #
The headers specified are not valid for an Amazon S3 origin.
_CNAMEAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
The CNAME specified is already defined for CloudFront.
_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).
_CachePolicyAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
A cache policy with this name already exists. You must provide a unique
name. To modify an existing cache policy, use UpdateCachePolicy
.
_TooManyCookiesInOriginRequestPolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #
The number of cookies in the origin request policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
_TooManyOriginGroupsPerDistribution :: AsError a => Getting (First ServiceError) a ServiceError Source #
Processing your request would cause you to exceed the maximum number of origin groups allowed.
_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.
_TooManyRealtimeLogConfigs :: AsError a => Getting (First ServiceError) a ServiceError Source #
You have reached the maximum number of real-time log configurations for this account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
_RealtimeLogConfigInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
Cannot delete the real-time log configuration because it is attached to one or more cache behaviors.
_TooManyCachePolicies :: AsError a => Getting (First ServiceError) a ServiceError Source #
You have reached the maximum number of cache policies for this account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
_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@Edge 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.
_TooManyQueryStringsInCachePolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #
The number of query strings in the cache policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
_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 #
The caller reference you attempted to create the streaming distribution with is associated with another distribution
_TooManyDistributionsAssociatedToOriginRequestPolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of distributions have been associated with the specified origin request policy. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
_QueryArgProfileEmpty :: AsError a => Getting (First ServiceError) a ServiceError Source #
No profile specified for the field-level encryption query argument.
_TooManyCookiesInCachePolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #
The number of cookies in the cache policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
_InvalidMinimumProtocolVersion :: AsError a => Getting (First ServiceError) a ServiceError Source #
The minimum protocol version specified is not valid.
_AccessDenied :: AsError a => Getting (First ServiceError) a ServiceError Source #
Access denied.
_InvalidViewerCertificate :: AsError a => Getting (First ServiceError) a ServiceError Source #
A viewer certificate specified is not valid.
_NoSuchDistribution :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified distribution does not exist.
_NoSuchFunctionExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
The function does not exist.
_FunctionInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
Cannot delete the function because it’s attached to one or more cache behaviors.
_FieldLevelEncryptionProfileSizeExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum size of a profile for field-level encryption was exceeded.
_TooManyQueryStringsInOriginRequestPolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #
The number of query strings in the origin request policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
_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@Edge function associations per owner to be exceeded.
_TooManyDistributionsAssociatedToCachePolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of distributions have been associated with the specified cache policy. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
_InvalidGeoRestrictionParameter :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified geo restriction parameter is not valid.
_OriginRequestPolicyInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
Cannot delete the origin request policy because it is attached to one or more cache behaviors.
_InvalidLocationCode :: AsError a => Getting (First ServiceError) a ServiceError Source #
The location code specified is not valid.
CachePolicyCookieBehavior
newtype CachePolicyCookieBehavior Source #
Instances
CachePolicyHeaderBehavior
newtype CachePolicyHeaderBehavior Source #
pattern CachePolicyHeaderBehavior_None :: CachePolicyHeaderBehavior | |
pattern CachePolicyHeaderBehavior_Whitelist :: CachePolicyHeaderBehavior |
Instances
CachePolicyQueryStringBehavior
newtype CachePolicyQueryStringBehavior Source #
Instances
CachePolicyType
newtype CachePolicyType Source #
pattern CachePolicyType_Custom :: CachePolicyType | |
pattern CachePolicyType_Managed :: CachePolicyType |
Instances
CertificateSource
newtype CertificateSource Source #
pattern CertificateSource_Acm :: CertificateSource | |
pattern CertificateSource_Cloudfront :: CertificateSource | |
pattern CertificateSource_Iam :: CertificateSource |
Instances
EventType
pattern EventType_Origin_request :: EventType | |
pattern EventType_Origin_response :: EventType | |
pattern EventType_Viewer_request :: EventType | |
pattern EventType_Viewer_response :: EventType |
Instances
Format
pattern Format_URLEncoded :: Format |
Instances
FunctionRuntime
newtype FunctionRuntime Source #
pattern FunctionRuntime_Cloudfront_js_1_0 :: FunctionRuntime |
Instances
FunctionStage
newtype FunctionStage Source #
pattern FunctionStage_DEVELOPMENT :: FunctionStage | |
pattern FunctionStage_LIVE :: FunctionStage |
Instances
GeoRestrictionType
newtype GeoRestrictionType Source #
pattern GeoRestrictionType_Blacklist :: GeoRestrictionType | |
pattern GeoRestrictionType_None :: GeoRestrictionType | |
pattern GeoRestrictionType_Whitelist :: GeoRestrictionType |
Instances
HttpVersion
newtype HttpVersion Source #
pattern HttpVersion_Http1_1 :: HttpVersion | |
pattern HttpVersion_Http2 :: HttpVersion |
Instances
ICPRecordalStatus
newtype ICPRecordalStatus Source #
pattern ICPRecordalStatus_APPROVED :: ICPRecordalStatus | |
pattern ICPRecordalStatus_PENDING :: ICPRecordalStatus | |
pattern ICPRecordalStatus_SUSPENDED :: ICPRecordalStatus |
Instances
ItemSelection
newtype ItemSelection Source #
pattern ItemSelection_All :: ItemSelection | |
pattern ItemSelection_None :: ItemSelection | |
pattern ItemSelection_Whitelist :: ItemSelection |
Instances
Method
pattern Method_DELETE :: Method | |
pattern Method_GET :: Method | |
pattern Method_HEAD :: Method | |
pattern Method_OPTIONS :: Method | |
pattern Method_PATCH :: Method | |
pattern Method_POST :: Method | |
pattern Method_PUT :: Method |
Instances
MinimumProtocolVersion
newtype MinimumProtocolVersion Source #
Instances
OriginProtocolPolicy
newtype OriginProtocolPolicy Source #
pattern OriginProtocolPolicy_Http_only :: OriginProtocolPolicy | |
pattern OriginProtocolPolicy_Https_only :: OriginProtocolPolicy | |
pattern OriginProtocolPolicy_Match_viewer :: OriginProtocolPolicy |
Instances
OriginRequestPolicyCookieBehavior
newtype OriginRequestPolicyCookieBehavior Source #
Instances
OriginRequestPolicyHeaderBehavior
newtype OriginRequestPolicyHeaderBehavior Source #
Instances
OriginRequestPolicyQueryStringBehavior
newtype OriginRequestPolicyQueryStringBehavior Source #
Instances
OriginRequestPolicyType
newtype OriginRequestPolicyType Source #
pattern OriginRequestPolicyType_Custom :: OriginRequestPolicyType | |
pattern OriginRequestPolicyType_Managed :: OriginRequestPolicyType |
Instances
PriceClass
newtype PriceClass Source #
pattern PriceClass_PriceClass_100 :: PriceClass | |
pattern PriceClass_PriceClass_200 :: PriceClass | |
pattern PriceClass_PriceClass_All :: PriceClass |
Instances
RealtimeMetricsSubscriptionStatus
newtype RealtimeMetricsSubscriptionStatus Source #
pattern RealtimeMetricsSubscriptionStatus_Disabled :: RealtimeMetricsSubscriptionStatus | |
pattern RealtimeMetricsSubscriptionStatus_Enabled :: RealtimeMetricsSubscriptionStatus |
Instances
SSLSupportMethod
newtype SSLSupportMethod Source #
pattern SSLSupportMethod_Sni_only :: SSLSupportMethod | |
pattern SSLSupportMethod_Static_ip :: SSLSupportMethod | |
pattern SSLSupportMethod_Vip :: SSLSupportMethod |
Instances
SslProtocol
newtype SslProtocol Source #
pattern SslProtocol_SSLv3 :: SslProtocol | |
pattern SslProtocol_TLSv1 :: SslProtocol | |
pattern SslProtocol_TLSv1_1 :: SslProtocol | |
pattern SslProtocol_TLSv1_2 :: SslProtocol |
Instances
ViewerProtocolPolicy
newtype ViewerProtocolPolicy Source #
pattern ViewerProtocolPolicy_Allow_all :: ViewerProtocolPolicy | |
pattern ViewerProtocolPolicy_Https_only :: ViewerProtocolPolicy | |
pattern ViewerProtocolPolicy_Redirect_to_https :: ViewerProtocolPolicy |
Instances
ActiveTrustedKeyGroups
data ActiveTrustedKeyGroups Source #
A list of key groups, and the public keys in each key group, that CloudFront can use to verify the signatures of signed URLs and signed cookies.
See: newActiveTrustedKeyGroups
smart constructor.
ActiveTrustedKeyGroups' | |
|
Instances
newActiveTrustedKeyGroups Source #
:: Bool | |
-> Int | |
-> ActiveTrustedKeyGroups |
Create a value of ActiveTrustedKeyGroups
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:ActiveTrustedKeyGroups'
, activeTrustedKeyGroups_items
- A list of key groups, including the identifiers of the public keys in
each key group that CloudFront can use to verify the signatures of
signed URLs and signed cookies.
$sel:enabled:ActiveTrustedKeyGroups'
, activeTrustedKeyGroups_enabled
- This field is true
if any of the key groups have public keys that
CloudFront can use to verify the signatures of signed URLs and signed
cookies. If not, this field is false
.
$sel:quantity:ActiveTrustedKeyGroups'
, activeTrustedKeyGroups_quantity
- The number of key groups in the list.
activeTrustedKeyGroups_items :: Lens' ActiveTrustedKeyGroups (Maybe [KGKeyPairIds]) Source #
A list of key groups, including the identifiers of the public keys in each key group that CloudFront can use to verify the signatures of signed URLs and signed cookies.
activeTrustedKeyGroups_enabled :: Lens' ActiveTrustedKeyGroups Bool Source #
This field is true
if any of the key groups have public keys that
CloudFront can use to verify the signatures of signed URLs and signed
cookies. If not, this field is false
.
activeTrustedKeyGroups_quantity :: Lens' ActiveTrustedKeyGroups Int Source #
The number of key groups in the list.
ActiveTrustedSigners
data ActiveTrustedSigners Source #
A list of accounts and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.
See: newActiveTrustedSigners
smart constructor.
ActiveTrustedSigners' | |
|
Instances
newActiveTrustedSigners Source #
:: Bool | |
-> Int | |
-> ActiveTrustedSigners |
Create a value of ActiveTrustedSigners
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:ActiveTrustedSigners'
, activeTrustedSigners_items
- A list of accounts and the identifiers of active CloudFront key pairs in
each account that CloudFront can use to verify the signatures of signed
URLs and signed cookies.
$sel:enabled:ActiveTrustedSigners'
, activeTrustedSigners_enabled
- This field is true
if any of the accounts in the list have active
CloudFront key pairs that CloudFront can use to verify the signatures of
signed URLs and signed cookies. If not, this field is false
.
$sel:quantity:ActiveTrustedSigners'
, activeTrustedSigners_quantity
- The number of accounts in the list.
activeTrustedSigners_items :: Lens' ActiveTrustedSigners (Maybe [Signer]) Source #
A list of accounts and the identifiers of active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.
activeTrustedSigners_enabled :: Lens' ActiveTrustedSigners Bool Source #
This field is true
if any of the accounts in the list have active
CloudFront key pairs that CloudFront can use to verify the signatures of
signed URLs and signed cookies. If not, this field is false
.
activeTrustedSigners_quantity :: Lens' ActiveTrustedSigners Int Source #
The number of accounts in the list.
AliasICPRecordal
data AliasICPRecordal Source #
Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions. The status is returned in the CloudFront response; you can't configure it yourself.
For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.
See: newAliasICPRecordal
smart constructor.
AliasICPRecordal' | |
|
Instances
newAliasICPRecordal :: AliasICPRecordal Source #
Create a value of AliasICPRecordal
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cname:AliasICPRecordal'
, aliasICPRecordal_cname
- A domain name associated with a distribution.
$sel:iCPRecordalStatus:AliasICPRecordal'
, aliasICPRecordal_iCPRecordalStatus
- The Internet Content Provider (ICP) recordal status for a CNAME. The
ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in regions
outside of China.
The status values returned are the following:
- APPROVED indicates that the associated CNAME has a valid ICP recordal number. Multiple CNAMEs can be associated with a distribution, and CNAMEs can correspond to different ICP recordals. To be marked as APPROVED, that is, valid to use with China region, a CNAME must have one ICP recordal number associated with it.
- SUSPENDED indicates that the associated CNAME does not have a valid ICP recordal number.
- PENDING indicates that CloudFront can't determine the ICP recordal status of the CNAME associated with the distribution because there was an error in trying to determine the status. You can try again to see if the error is resolved in which case CloudFront returns an APPROVED or SUSPENDED status.
aliasICPRecordal_cname :: Lens' AliasICPRecordal (Maybe Text) Source #
A domain name associated with a distribution.
aliasICPRecordal_iCPRecordalStatus :: Lens' AliasICPRecordal (Maybe ICPRecordalStatus) Source #
The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in regions outside of China.
The status values returned are the following:
- APPROVED indicates that the associated CNAME has a valid ICP recordal number. Multiple CNAMEs can be associated with a distribution, and CNAMEs can correspond to different ICP recordals. To be marked as APPROVED, that is, valid to use with China region, a CNAME must have one ICP recordal number associated with it.
- SUSPENDED indicates that the associated CNAME does not have a valid ICP recordal number.
- PENDING indicates that CloudFront can't determine the ICP recordal status of the CNAME associated with the distribution because there was an error in trying to determine the status. You can try again to see if the error is resolved in which case CloudFront returns an APPROVED or SUSPENDED status.
Aliases
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
See: newAliases
smart constructor.
Instances
Eq Aliases Source # | |
Read Aliases Source # | |
Show Aliases Source # | |
Generic Aliases Source # | |
NFData Aliases Source # | |
Defined in Amazonka.CloudFront.Types.Aliases | |
Hashable Aliases Source # | |
Defined in Amazonka.CloudFront.Types.Aliases | |
FromXML Aliases Source # | |
ToXML Aliases Source # | |
Defined in Amazonka.CloudFront.Types.Aliases | |
type Rep Aliases Source # | |
Defined in Amazonka.CloudFront.Types.Aliases type Rep Aliases = D1 ('MetaData "Aliases" "Amazonka.CloudFront.Types.Aliases" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "Aliases'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
Create a value of Aliases
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:Aliases'
, aliases_items
- A complex type that contains the CNAME aliases, if any, that you want to
associate with this distribution.
$sel:quantity:Aliases'
, aliases_quantity
- The number of CNAME aliases, if any, that you want to associate with
this distribution.
aliases_items :: Lens' Aliases (Maybe [Text]) Source #
A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.
aliases_quantity :: 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: newAllowedMethods
smart constructor.
AllowedMethods' | |
|
Instances
Create a value of AllowedMethods
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cachedMethods:AllowedMethods'
, allowedMethods_cachedMethods
- Undocumented member.
$sel:quantity:AllowedMethods'
, allowedMethods_quantity
- The number of HTTP methods that you want CloudFront to forward to your
origin. Valid values are 2 (for GET
and HEAD
requests), 3 (for
GET
, HEAD
, and OPTIONS
requests) and 7 (for
GET, HEAD, OPTIONS, PUT, PATCH, POST
, and DELETE
requests).
$sel:items:AllowedMethods'
, allowedMethods_items
- A complex type that contains the HTTP methods that you want CloudFront
to process and forward to your origin.
allowedMethods_cachedMethods :: Lens' AllowedMethods (Maybe CachedMethods) Source #
Undocumented member.
allowedMethods_quantity :: 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).
allowedMethods_items :: 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 serve objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin is never used.
For the current quota (formerly known as limit) on the number of cache behaviors that you can add to a distribution, see Quotas in the Amazon CloudFront Developer Guide.
If you don’t want to specify any cache behaviors, include only an empty
CacheBehaviors
element. Don’t include an empty CacheBehavior
element
because this is invalid.
To delete all cache behaviors in an existing distribution, update the
distribution configuration and include only an empty CacheBehaviors
element.
To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.
For more information about cache behaviors, see Cache Behavior Settings in the Amazon CloudFront Developer Guide.
See: newCacheBehavior
smart constructor.
CacheBehavior' | |
|
Instances
:: Text | |
-> Text | |
-> ViewerProtocolPolicy | |
-> CacheBehavior |
Create a value of CacheBehavior
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:allowedMethods:CacheBehavior'
, cacheBehavior_allowedMethods
- Undocumented member.
$sel:lambdaFunctionAssociations:CacheBehavior'
, cacheBehavior_lambdaFunctionAssociations
- A complex type that contains zero or more Lambda@Edge function
associations for a cache behavior.
$sel:maxTTL:CacheBehavior'
, cacheBehavior_maxTTL
- This field is deprecated. We recommend that you use the MaxTTL
field
in a cache policy instead of this field. For more information, see
Creating cache policies
or
Using the managed cache policies
in the Amazon CloudFront Developer Guide.
The maximum amount of time that you want objects to stay in CloudFront
caches before CloudFront forwards another request to your origin to
determine whether the object has been updated. The value that you
specify applies only when your origin adds HTTP headers such as
Cache-Control max-age
, Cache-Control s-maxage
, and Expires
to
objects. For more information, see
Managing How Long Content Stays in an Edge Cache (Expiration)
in the Amazon CloudFront Developer Guide.
$sel:minTTL:CacheBehavior'
, cacheBehavior_minTTL
- This field is deprecated. We recommend that you use the MinTTL
field
in a cache policy instead of this field. For more information, see
Creating cache policies
or
Using the managed cache policies
in the Amazon CloudFront Developer Guide.
The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.
You must specify 0
for MinTTL
if you configure CloudFront to forward
all headers to your origin (under Headers
, if you specify 1
for
Quantity
and *
for Name
).
$sel:compress:CacheBehavior'
, cacheBehavior_compress
- Whether you want CloudFront to automatically compress certain files for
this cache behavior. If so, specify true; if not, specify false. For
more information, see
Serving Compressed Files
in the Amazon CloudFront Developer Guide.
$sel:smoothStreaming:CacheBehavior'
, cacheBehavior_smoothStreaming
- Indicates whether you want to distribute media files in the Microsoft
Smooth Streaming format using the origin that is associated with this
cache behavior. If so, specify true
; if not, specify false
. If you
specify true
for SmoothStreaming
, you can still distribute other
content using this cache behavior if the content matches the value of
PathPattern
.
$sel:trustedKeyGroups:CacheBehavior'
, cacheBehavior_trustedKeyGroups
- A list of key groups that CloudFront can use to validate signed URLs or
signed cookies.
When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.
$sel:realtimeLogConfigArn:CacheBehavior'
, cacheBehavior_realtimeLogConfigArn
- The Amazon Resource Name (ARN) of the real-time log configuration that
is attached to this cache behavior. For more information, see
Real-time logs
in the Amazon CloudFront Developer Guide.
$sel:defaultTTL:CacheBehavior'
, cacheBehavior_defaultTTL
- This field is deprecated. We recommend that you use the DefaultTTL
field in a cache policy instead of this field. For more information, see
Creating cache policies
or
Using the managed cache policies
in the Amazon CloudFront Developer Guide.
The default amount of time that you want objects to stay in CloudFront
caches before CloudFront forwards another request to your origin to
determine whether the object has been updated. The value that you
specify applies only when your origin does not add HTTP headers such as
Cache-Control max-age
, Cache-Control s-maxage
, and Expires
to
objects. For more information, see
Managing How Long Content Stays in an Edge Cache (Expiration)
in the Amazon CloudFront Developer Guide.
$sel:forwardedValues:CacheBehavior'
, cacheBehavior_forwardedValues
- This field is deprecated. We recommend that you use a cache policy or an
origin request policy instead of this field. For more information, see
Working with policies
in the Amazon CloudFront Developer Guide.
If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.
If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.
A CacheBehavior
must include either a CachePolicyId
or
ForwardedValues
. We recommend that you use a CachePolicyId
.
A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.
$sel:trustedSigners:CacheBehavior'
, cacheBehavior_trustedSigners
- We recommend using TrustedKeyGroups
instead of TrustedSigners
.
A list of account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies.
When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in the trusted signer’s account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.
$sel:functionAssociations:CacheBehavior'
, cacheBehavior_functionAssociations
- A list of CloudFront functions that are associated with this cache
behavior. CloudFront functions must be published to the LIVE
stage to
associate them with a cache behavior.
$sel:originRequestPolicyId:CacheBehavior'
, cacheBehavior_originRequestPolicyId
- The unique identifier of the origin request policy that is attached to
this cache behavior. For more information, see
Creating origin request policies
or
Using the managed origin request policies
in the Amazon CloudFront Developer Guide.
$sel:fieldLevelEncryptionId:CacheBehavior'
, cacheBehavior_fieldLevelEncryptionId
- The value of ID
for the field-level encryption configuration that you
want CloudFront to use for encrypting specific fields of data for this
cache behavior.
$sel:cachePolicyId:CacheBehavior'
, cacheBehavior_cachePolicyId
- The unique identifier of the cache policy that is attached to this cache
behavior. For more information, see
Creating cache policies
or
Using the managed cache policies
in the Amazon CloudFront Developer Guide.
A CacheBehavior
must include either a CachePolicyId
or
ForwardedValues
. We recommend that you use a CachePolicyId
.
$sel:pathPattern:CacheBehavior'
, cacheBehavior_pathPattern
- The pattern (for example, images/*.jpg
) that specifies which requests
to apply the behavior to. When CloudFront receives a viewer request, the
requested path is compared with path patterns in the order in which
cache behaviors are listed in the distribution.
You can optionally include a slash (/
) at the beginning of the path
pattern. For example, /images/*.jpg
. CloudFront behavior is the same
with or without the leading /
.
The path pattern for the default cache behavior is *
and cannot be
changed. If the request for an object does not match the path pattern
for any cache behaviors, CloudFront applies the behavior in the default
cache behavior.
For more information, see Path Pattern in the Amazon CloudFront Developer Guide.
$sel:targetOriginId:CacheBehavior'
, cacheBehavior_targetOriginId
- The value of ID
for the origin that you want CloudFront to route
requests to when they match this cache behavior.
$sel:viewerProtocolPolicy:CacheBehavior'
, cacheBehavior_viewerProtocolPolicy
- The protocol that viewers can use to access the files in the origin
specified by TargetOriginId
when a request matches the path pattern in
PathPattern
. You can specify the following options:
allow-all
: Viewers can use HTTP or HTTPS.redirect-to-https
: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL.https-only
: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden).
For more information about requiring the HTTPS protocol, see Requiring HTTPS Between Viewers and CloudFront in the Amazon CloudFront Developer Guide.
The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects’ cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see Managing Cache Expiration in the Amazon CloudFront Developer Guide.
cacheBehavior_allowedMethods :: Lens' CacheBehavior (Maybe AllowedMethods) Source #
Undocumented member.
cacheBehavior_lambdaFunctionAssociations :: Lens' CacheBehavior (Maybe LambdaFunctionAssociations) Source #
A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.
cacheBehavior_maxTTL :: Lens' CacheBehavior (Maybe Integer) Source #
This field is deprecated. We recommend that you use the MaxTTL
field
in a cache policy instead of this field. For more information, see
Creating cache policies
or
Using the managed cache policies
in the Amazon CloudFront Developer Guide.
The maximum amount of time that you want objects to stay in CloudFront
caches before CloudFront forwards another request to your origin to
determine whether the object has been updated. The value that you
specify applies only when your origin adds HTTP headers such as
Cache-Control max-age
, Cache-Control s-maxage
, and Expires
to
objects. For more information, see
Managing How Long Content Stays in an Edge Cache (Expiration)
in the Amazon CloudFront Developer Guide.
cacheBehavior_minTTL :: Lens' CacheBehavior (Maybe Integer) Source #
This field is deprecated. We recommend that you use the MinTTL
field
in a cache policy instead of this field. For more information, see
Creating cache policies
or
Using the managed cache policies
in the Amazon CloudFront Developer Guide.
The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.
You must specify 0
for MinTTL
if you configure CloudFront to forward
all headers to your origin (under Headers
, if you specify 1
for
Quantity
and *
for Name
).
cacheBehavior_compress :: 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.
cacheBehavior_smoothStreaming :: 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
.
cacheBehavior_trustedKeyGroups :: Lens' CacheBehavior (Maybe TrustedKeyGroups) Source #
A list of key groups that CloudFront can use to validate signed URLs or signed cookies.
When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.
cacheBehavior_realtimeLogConfigArn :: Lens' CacheBehavior (Maybe Text) Source #
The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior. For more information, see Real-time logs in the Amazon CloudFront Developer Guide.
cacheBehavior_defaultTTL :: Lens' CacheBehavior (Maybe Integer) Source #
This field is deprecated. We recommend that you use the DefaultTTL
field in a cache policy instead of this field. For more information, see
Creating cache policies
or
Using the managed cache policies
in the Amazon CloudFront Developer Guide.
The default amount of time that you want objects to stay in CloudFront
caches before CloudFront forwards another request to your origin to
determine whether the object has been updated. The value that you
specify applies only when your origin does not add HTTP headers such as
Cache-Control max-age
, Cache-Control s-maxage
, and Expires
to
objects. For more information, see
Managing How Long Content Stays in an Edge Cache (Expiration)
in the Amazon CloudFront Developer Guide.
cacheBehavior_forwardedValues :: Lens' CacheBehavior (Maybe ForwardedValues) Source #
This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see Working with policies in the Amazon CloudFront Developer Guide.
If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.
If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.
A CacheBehavior
must include either a CachePolicyId
or
ForwardedValues
. We recommend that you use a CachePolicyId
.
A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.
cacheBehavior_trustedSigners :: Lens' CacheBehavior (Maybe TrustedSigners) Source #
We recommend using TrustedKeyGroups
instead of TrustedSigners
.
A list of account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies.
When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in the trusted signer’s account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.
cacheBehavior_functionAssociations :: Lens' CacheBehavior (Maybe FunctionAssociations) Source #
A list of CloudFront functions that are associated with this cache
behavior. CloudFront functions must be published to the LIVE
stage to
associate them with a cache behavior.
cacheBehavior_originRequestPolicyId :: Lens' CacheBehavior (Maybe Text) Source #
The unique identifier of the origin request policy that is attached to this cache behavior. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.
cacheBehavior_fieldLevelEncryptionId :: Lens' CacheBehavior (Maybe Text) Source #
The value of ID
for the field-level encryption configuration that you
want CloudFront to use for encrypting specific fields of data for this
cache behavior.
cacheBehavior_cachePolicyId :: Lens' CacheBehavior (Maybe Text) Source #
The unique identifier of the cache policy that is attached to this cache behavior. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.
A CacheBehavior
must include either a CachePolicyId
or
ForwardedValues
. We recommend that you use a CachePolicyId
.
cacheBehavior_pathPattern :: 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.
You can optionally include a slash (/
) at the beginning of the path
pattern. For example, /images/*.jpg
. CloudFront behavior is the same
with or without the leading /
.
The path pattern for the default cache behavior is *
and cannot be
changed. If the request for an object does not match the path pattern
for any cache behaviors, CloudFront applies the behavior in the default
cache behavior.
For more information, see Path Pattern in the Amazon CloudFront Developer Guide.
cacheBehavior_targetOriginId :: Lens' CacheBehavior Text Source #
The value of ID
for the origin that you want CloudFront to route
requests to when they match this cache behavior.
cacheBehavior_viewerProtocolPolicy :: 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 Requiring HTTPS Between Viewers and CloudFront in the Amazon CloudFront Developer Guide.
The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects’ cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see Managing Cache Expiration in the Amazon CloudFront Developer Guide.
CacheBehaviors
data CacheBehaviors Source #
A complex type that contains zero or more CacheBehavior
elements.
See: newCacheBehaviors
smart constructor.
CacheBehaviors' | |
|
Instances
Create a value of CacheBehaviors
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:CacheBehaviors'
, cacheBehaviors_items
- Optional: A complex type that contains cache behaviors for this
distribution. If Quantity
is 0
, you can omit Items
.
$sel:quantity:CacheBehaviors'
, cacheBehaviors_quantity
- The number of cache behaviors for this distribution.
cacheBehaviors_items :: Lens' CacheBehaviors (Maybe [CacheBehavior]) Source #
Optional: A complex type that contains cache behaviors for this
distribution. If Quantity
is 0
, you can omit Items
.
cacheBehaviors_quantity :: Lens' CacheBehaviors Int Source #
The number of cache behaviors for this distribution.
CachePolicy
data CachePolicy Source #
A cache policy.
When it’s attached to a cache behavior, the cache policy determines the following:
- The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.
- The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache.
The headers, cookies, and query strings that are included in the cache
key are automatically included in requests that CloudFront sends to the
origin. CloudFront sends a request when it can’t find a valid object in
its cache that matches the request’s cache key. If you want to send
values to the origin but not include them in the cache key, use
OriginRequestPolicy
.
See: newCachePolicy
smart constructor.
CachePolicy' | |
|
Instances
:: Text | |
-> UTCTime | |
-> CachePolicyConfig | |
-> CachePolicy |
Create a value of CachePolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:CachePolicy'
, cachePolicy_id
- The unique identifier for the cache policy.
$sel:lastModifiedTime:CachePolicy'
, cachePolicy_lastModifiedTime
- The date and time when the cache policy was last modified.
$sel:cachePolicyConfig:CachePolicy'
, cachePolicy_cachePolicyConfig
- The cache policy configuration.
cachePolicy_id :: Lens' CachePolicy Text Source #
The unique identifier for the cache policy.
cachePolicy_lastModifiedTime :: Lens' CachePolicy UTCTime Source #
The date and time when the cache policy was last modified.
cachePolicy_cachePolicyConfig :: Lens' CachePolicy CachePolicyConfig Source #
The cache policy configuration.
CachePolicyConfig
data CachePolicyConfig Source #
A cache policy configuration.
This configuration determines the following:
- The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.
- The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache.
The headers, cookies, and query strings that are included in the cache
key are automatically included in requests that CloudFront sends to the
origin. CloudFront sends a request when it can’t find a valid object in
its cache that matches the request’s cache key. If you want to send
values to the origin but not include them in the cache key, use
OriginRequestPolicy
.
See: newCachePolicyConfig
smart constructor.
CachePolicyConfig' | |
|
Instances
Create a value of CachePolicyConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxTTL:CachePolicyConfig'
, cachePolicyConfig_maxTTL
- The maximum amount of time, in seconds, that objects stay in the
CloudFront cache before CloudFront sends another request to the origin
to see if the object has been updated. CloudFront uses this value only
when the origin sends Cache-Control
or Expires
headers with the
object. For more information, see
Managing How Long Content Stays in an Edge Cache (Expiration)
in the Amazon CloudFront Developer Guide.
The default value for this field is 31536000 seconds (one year). If the
value of MinTTL
or DefaultTTL
is more than 31536000 seconds, then
the default value for this field is the same as the value of
DefaultTTL
.
$sel:parametersInCacheKeyAndForwardedToOrigin:CachePolicyConfig'
, cachePolicyConfig_parametersInCacheKeyAndForwardedToOrigin
- The HTTP headers, cookies, and URL query strings to include in the cache
key. The values included in the cache key are automatically included in
requests that CloudFront sends to the origin.
$sel:defaultTTL:CachePolicyConfig'
, cachePolicyConfig_defaultTTL
- The default amount of time, in seconds, that you want objects to stay in
the CloudFront cache before CloudFront sends another request to the
origin to see if the object has been updated. CloudFront uses this value
as the object’s time to live (TTL) only when the origin does not send
Cache-Control
or Expires
headers with the object. For more
information, see
Managing How Long Content Stays in an Edge Cache (Expiration)
in the Amazon CloudFront Developer Guide.
The default value for this field is 86400 seconds (one day). If the
value of MinTTL
is more than 86400 seconds, then the default value for
this field is the same as the value of MinTTL
.
$sel:comment:CachePolicyConfig'
, cachePolicyConfig_comment
- A comment to describe the cache policy. The comment cannot be longer
than 128 characters.
$sel:name:CachePolicyConfig'
, cachePolicyConfig_name
- A unique name to identify the cache policy.
$sel:minTTL:CachePolicyConfig'
, cachePolicyConfig_minTTL
- The minimum amount of time, in seconds, that you want objects to stay in
the CloudFront cache before CloudFront sends another request to the
origin to see if the object has been updated. For more information, see
Managing How Long Content Stays in an Edge Cache (Expiration)
in the Amazon CloudFront Developer Guide.
cachePolicyConfig_maxTTL :: Lens' CachePolicyConfig (Maybe Integer) Source #
The maximum amount of time, in seconds, that objects stay in the
CloudFront cache before CloudFront sends another request to the origin
to see if the object has been updated. CloudFront uses this value only
when the origin sends Cache-Control
or Expires
headers with the
object. For more information, see
Managing How Long Content Stays in an Edge Cache (Expiration)
in the Amazon CloudFront Developer Guide.
The default value for this field is 31536000 seconds (one year). If the
value of MinTTL
or DefaultTTL
is more than 31536000 seconds, then
the default value for this field is the same as the value of
DefaultTTL
.
cachePolicyConfig_parametersInCacheKeyAndForwardedToOrigin :: Lens' CachePolicyConfig (Maybe ParametersInCacheKeyAndForwardedToOrigin) Source #
The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are automatically included in requests that CloudFront sends to the origin.
cachePolicyConfig_defaultTTL :: Lens' CachePolicyConfig (Maybe Integer) Source #
The default amount of time, in seconds, that you want objects to stay in
the CloudFront cache before CloudFront sends another request to the
origin to see if the object has been updated. CloudFront uses this value
as the object’s time to live (TTL) only when the origin does not send
Cache-Control
or Expires
headers with the object. For more
information, see
Managing How Long Content Stays in an Edge Cache (Expiration)
in the Amazon CloudFront Developer Guide.
The default value for this field is 86400 seconds (one day). If the
value of MinTTL
is more than 86400 seconds, then the default value for
this field is the same as the value of MinTTL
.
cachePolicyConfig_comment :: Lens' CachePolicyConfig (Maybe Text) Source #
A comment to describe the cache policy. The comment cannot be longer than 128 characters.
cachePolicyConfig_name :: Lens' CachePolicyConfig Text Source #
A unique name to identify the cache policy.
cachePolicyConfig_minTTL :: Lens' CachePolicyConfig Integer Source #
The minimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.
CachePolicyCookiesConfig
data CachePolicyCookiesConfig Source #
An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and automatically included in requests that CloudFront sends to the origin.
See: newCachePolicyCookiesConfig
smart constructor.
CachePolicyCookiesConfig' | |
|
Instances
newCachePolicyCookiesConfig Source #
Create a value of CachePolicyCookiesConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cookies:CachePolicyCookiesConfig'
, cachePolicyCookiesConfig_cookies
- Undocumented member.
$sel:cookieBehavior:CachePolicyCookiesConfig'
, cachePolicyCookiesConfig_cookieBehavior
- Determines whether any cookies in viewer requests are included in the
cache key and automatically included in requests that CloudFront sends
to the origin. Valid values are:
none
– Cookies in viewer requests are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any cookies that are listed in anOriginRequestPolicy
are included in origin requests.whitelist
– The cookies in viewer requests that are listed in theCookieNames
type are included in the cache key and automatically included in requests that CloudFront sends to the origin.allExcept
– All cookies in viewer requests that are not listed in theCookieNames
type are included in the cache key and automatically included in requests that CloudFront sends to the origin.all
– All cookies in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.
cachePolicyCookiesConfig_cookies :: Lens' CachePolicyCookiesConfig (Maybe CookieNames) Source #
Undocumented member.
cachePolicyCookiesConfig_cookieBehavior :: Lens' CachePolicyCookiesConfig CachePolicyCookieBehavior Source #
Determines whether any cookies in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:
none
– Cookies in viewer requests are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any cookies that are listed in anOriginRequestPolicy
are included in origin requests.whitelist
– The cookies in viewer requests that are listed in theCookieNames
type are included in the cache key and automatically included in requests that CloudFront sends to the origin.allExcept
– All cookies in viewer requests that are not listed in theCookieNames
type are included in the cache key and automatically included in requests that CloudFront sends to the origin.all
– All cookies in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.
CachePolicyHeadersConfig
data CachePolicyHeadersConfig Source #
An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and automatically included in requests that CloudFront sends to the origin.
See: newCachePolicyHeadersConfig
smart constructor.
CachePolicyHeadersConfig' | |
|
Instances
newCachePolicyHeadersConfig Source #
Create a value of CachePolicyHeadersConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:headers:CachePolicyHeadersConfig'
, cachePolicyHeadersConfig_headers
- Undocumented member.
$sel:headerBehavior:CachePolicyHeadersConfig'
, cachePolicyHeadersConfig_headerBehavior
- Determines whether any HTTP headers are included in the cache key and
automatically included in requests that CloudFront sends to the origin.
Valid values are:
none
– HTTP headers are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any headers that are listed in anOriginRequestPolicy
are included in origin requests.whitelist
– The HTTP headers that are listed in theHeaders
type are included in the cache key and are automatically included in requests that CloudFront sends to the origin.
cachePolicyHeadersConfig_headers :: Lens' CachePolicyHeadersConfig (Maybe Headers) Source #
Undocumented member.
cachePolicyHeadersConfig_headerBehavior :: Lens' CachePolicyHeadersConfig CachePolicyHeaderBehavior Source #
Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:
none
– HTTP headers are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any headers that are listed in anOriginRequestPolicy
are included in origin requests.whitelist
– The HTTP headers that are listed in theHeaders
type are included in the cache key and are automatically included in requests that CloudFront sends to the origin.
CachePolicyList
data CachePolicyList Source #
A list of cache policies.
See: newCachePolicyList
smart constructor.
CachePolicyList' | |
|
Instances
Create a value of CachePolicyList
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:CachePolicyList'
, cachePolicyList_items
- Contains the cache policies in the list.
$sel:nextMarker:CachePolicyList'
, cachePolicyList_nextMarker
- If there are more items in the list than are in this response, this
element is present. It contains the value that you should use in the
Marker
field of a subsequent request to continue listing cache
policies where you left off.
$sel:maxItems:CachePolicyList'
, cachePolicyList_maxItems
- The maximum number of cache policies requested.
$sel:quantity:CachePolicyList'
, cachePolicyList_quantity
- The total number of cache policies returned in the response.
cachePolicyList_items :: Lens' CachePolicyList (Maybe [CachePolicySummary]) Source #
Contains the cache policies in the list.
cachePolicyList_nextMarker :: Lens' CachePolicyList (Maybe Text) Source #
If there are more items in the list than are in this response, this
element is present. It contains the value that you should use in the
Marker
field of a subsequent request to continue listing cache
policies where you left off.
cachePolicyList_maxItems :: Lens' CachePolicyList Int Source #
The maximum number of cache policies requested.
cachePolicyList_quantity :: Lens' CachePolicyList Int Source #
The total number of cache policies returned in the response.
CachePolicyQueryStringsConfig
data CachePolicyQueryStringsConfig Source #
An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and automatically included in requests that CloudFront sends to the origin.
See: newCachePolicyQueryStringsConfig
smart constructor.
CachePolicyQueryStringsConfig' | |
|
Instances
newCachePolicyQueryStringsConfig Source #
Create a value of CachePolicyQueryStringsConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:queryStrings:CachePolicyQueryStringsConfig'
, cachePolicyQueryStringsConfig_queryStrings
- Contains the specific query strings in viewer requests that either
are or are not included in the cache key and automatically
included in requests that CloudFront sends to the origin. The behavior
depends on whether the QueryStringBehavior
field in the
CachePolicyQueryStringsConfig
type is set to whitelist
(the listed
query strings are included) or allExcept
(the listed query
strings are not included, but all other query strings are).
$sel:queryStringBehavior:CachePolicyQueryStringsConfig'
, cachePolicyQueryStringsConfig_queryStringBehavior
- Determines whether any URL query strings in viewer requests are included
in the cache key and automatically included in requests that CloudFront
sends to the origin. Valid values are:
none
– Query strings in viewer requests are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any query strings that are listed in anOriginRequestPolicy
are included in origin requests.whitelist
– The query strings in viewer requests that are listed in theQueryStringNames
type are included in the cache key and automatically included in requests that CloudFront sends to the origin.allExcept
– All query strings in viewer requests that are not listed in theQueryStringNames
type are included in the cache key and automatically included in requests that CloudFront sends to the origin.all
– All query strings in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.
cachePolicyQueryStringsConfig_queryStrings :: Lens' CachePolicyQueryStringsConfig (Maybe QueryStringNames) Source #
Contains the specific query strings in viewer requests that either
are or are not included in the cache key and automatically
included in requests that CloudFront sends to the origin. The behavior
depends on whether the QueryStringBehavior
field in the
CachePolicyQueryStringsConfig
type is set to whitelist
(the listed
query strings are included) or allExcept
(the listed query
strings are not included, but all other query strings are).
cachePolicyQueryStringsConfig_queryStringBehavior :: Lens' CachePolicyQueryStringsConfig CachePolicyQueryStringBehavior Source #
Determines whether any URL query strings in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:
none
– Query strings in viewer requests are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any query strings that are listed in anOriginRequestPolicy
are included in origin requests.whitelist
– The query strings in viewer requests that are listed in theQueryStringNames
type are included in the cache key and automatically included in requests that CloudFront sends to the origin.allExcept
– All query strings in viewer requests that are not listed in theQueryStringNames
type are included in the cache key and automatically included in requests that CloudFront sends to the origin.all
– All query strings in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.
CachePolicySummary
data CachePolicySummary Source #
Contains a cache policy.
See: newCachePolicySummary
smart constructor.
CachePolicySummary' | |
|
Instances
newCachePolicySummary Source #
Create a value of CachePolicySummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:type':CachePolicySummary'
, cachePolicySummary_type
- The type of cache policy, either managed
(created by Amazon Web
Services) or custom
(created in this account).
$sel:cachePolicy:CachePolicySummary'
, cachePolicySummary_cachePolicy
- The cache policy.
cachePolicySummary_type :: Lens' CachePolicySummary CachePolicyType Source #
The type of cache policy, either managed
(created by Amazon Web
Services) or custom
(created in this account).
cachePolicySummary_cachePolicy :: Lens' CachePolicySummary CachePolicy Source #
The cache policy.
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: newCachedMethods
smart constructor.
CachedMethods' | |
|
Instances
Create a value of CachedMethods
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:quantity:CachedMethods'
, cachedMethods_quantity
- The number of HTTP methods for which you want CloudFront to cache
responses. Valid values are 2
(for caching responses to GET
and
HEAD
requests) and 3
(for caching responses to GET
, HEAD
, and
OPTIONS
requests).
$sel:items:CachedMethods'
, cachedMethods_items
- A complex type that contains the HTTP methods that you want CloudFront
to cache responses to.
cachedMethods_quantity :: 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).
cachedMethods_items :: 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: newCloudFrontOriginAccessIdentity
smart constructor.
CloudFrontOriginAccessIdentity' | |
|
Instances
newCloudFrontOriginAccessIdentity Source #
Create a value of CloudFrontOriginAccessIdentity
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cloudFrontOriginAccessIdentityConfig:CloudFrontOriginAccessIdentity'
, cloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig
- The current configuration information for the identity.
$sel:id:CloudFrontOriginAccessIdentity'
, cloudFrontOriginAccessIdentity_id
- The ID for the origin access identity, for example, E74FTE3AJFJ256A
.
$sel:s3CanonicalUserId:CloudFrontOriginAccessIdentity'
, cloudFrontOriginAccessIdentity_s3CanonicalUserId
- The Amazon S3 canonical user ID for the origin access identity, used
when giving the origin access identity read permission to an object in
Amazon S3.
cloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig :: Lens' CloudFrontOriginAccessIdentity (Maybe CloudFrontOriginAccessIdentityConfig) Source #
The current configuration information for the identity.
cloudFrontOriginAccessIdentity_id :: Lens' CloudFrontOriginAccessIdentity Text Source #
The ID for the origin access identity, for example, E74FTE3AJFJ256A
.
cloudFrontOriginAccessIdentity_s3CanonicalUserId :: 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/CloudFront/identity ID/config
resource.
See: newCloudFrontOriginAccessIdentityConfig
smart constructor.
CloudFrontOriginAccessIdentityConfig' | |
|
Instances
newCloudFrontOriginAccessIdentityConfig Source #
Create a value of CloudFrontOriginAccessIdentityConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:callerReference:CloudFrontOriginAccessIdentityConfig'
, cloudFrontOriginAccessIdentityConfig_callerReference
- A unique value (for example, a date-time stamp) that ensures that the
request can't be replayed.
If the value of CallerReference
is new (regardless of the content of
the CloudFrontOriginAccessIdentityConfig
object), a new origin access
identity is created.
If the CallerReference
is a value already sent in a previous identity
request, and the content of the CloudFrontOriginAccessIdentityConfig
is identical to the original request (ignoring white space), the
response includes the same information returned to the original request.
If the CallerReference
is a value you already sent in a previous
request to create an identity, but the content of the
CloudFrontOriginAccessIdentityConfig
is different from the original
request, CloudFront returns a
CloudFrontOriginAccessIdentityAlreadyExists
error.
$sel:comment:CloudFrontOriginAccessIdentityConfig'
, cloudFrontOriginAccessIdentityConfig_comment
- A comment to describe the origin access identity. The comment cannot be
longer than 128 characters.
cloudFrontOriginAccessIdentityConfig_callerReference :: Lens' CloudFrontOriginAccessIdentityConfig 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 CloudFrontOriginAccessIdentityConfig
object), a new origin access
identity is created.
If the CallerReference
is a value already sent in a previous identity
request, and the content of the CloudFrontOriginAccessIdentityConfig
is identical to the original request (ignoring white space), the
response includes the same information returned to the original request.
If the CallerReference
is a value you already sent in a previous
request to create an identity, but the content of the
CloudFrontOriginAccessIdentityConfig
is different from the original
request, CloudFront returns a
CloudFrontOriginAccessIdentityAlreadyExists
error.
cloudFrontOriginAccessIdentityConfig_comment :: Lens' CloudFrontOriginAccessIdentityConfig Text Source #
A comment to describe the origin access identity. The comment cannot be longer than 128 characters.
CloudFrontOriginAccessIdentityList
data CloudFrontOriginAccessIdentityList Source #
Lists the origin access identities for CloudFront.Send a GET
request
to the /CloudFront API version/origin-access-identity/cloudfront
resource. The response includes a CloudFrontOriginAccessIdentityList
element with zero or more CloudFrontOriginAccessIdentitySummary
child
elements. By default, your entire list of origin access identities is
returned in one single page. If the list is long, you can paginate it
using the MaxItems
and Marker
parameters.
See: newCloudFrontOriginAccessIdentityList
smart constructor.
CloudFrontOriginAccessIdentityList' | |
|
Instances
newCloudFrontOriginAccessIdentityList Source #
:: Text | |
-> Int | |
-> Bool | |
-> Int | |
-> CloudFrontOriginAccessIdentityList |
Create a value of CloudFrontOriginAccessIdentityList
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:CloudFrontOriginAccessIdentityList'
, cloudFrontOriginAccessIdentityList_items
- A complex type that contains one CloudFrontOriginAccessIdentitySummary
element for each origin access identity that was created by the current
account.
$sel:nextMarker:CloudFrontOriginAccessIdentityList'
, cloudFrontOriginAccessIdentityList_nextMarker
- If IsTruncated
is true
, this element is present and contains the
value you can use for the Marker
request parameter to continue listing
your origin access identities where they left off.
$sel:marker:CloudFrontOriginAccessIdentityList'
, cloudFrontOriginAccessIdentityList_marker
- Use this when paginating results to indicate where to begin in your list
of origin access identities. The results include identities in the list
that occur after the marker. To get the next page of results, set the
Marker
to the value of the NextMarker
from the current page's
response (which is also the ID of the last identity on that page).
$sel:maxItems:CloudFrontOriginAccessIdentityList'
, cloudFrontOriginAccessIdentityList_maxItems
- The maximum number of origin access identities you want in the response
body.
$sel:isTruncated:CloudFrontOriginAccessIdentityList'
, cloudFrontOriginAccessIdentityList_isTruncated
- A flag that indicates whether more origin access identities remain to be
listed. If your results were truncated, you can make a follow-up
pagination request using the Marker
request parameter to retrieve more
items in the list.
$sel:quantity:CloudFrontOriginAccessIdentityList'
, cloudFrontOriginAccessIdentityList_quantity
- The number of CloudFront origin access identities that were created by
the current account.
cloudFrontOriginAccessIdentityList_items :: Lens' CloudFrontOriginAccessIdentityList (Maybe [CloudFrontOriginAccessIdentitySummary]) Source #
A complex type that contains one CloudFrontOriginAccessIdentitySummary
element for each origin access identity that was created by the current
account.
cloudFrontOriginAccessIdentityList_nextMarker :: 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.
cloudFrontOriginAccessIdentityList_marker :: 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).
cloudFrontOriginAccessIdentityList_maxItems :: Lens' CloudFrontOriginAccessIdentityList Int Source #
The maximum number of origin access identities you want in the response body.
cloudFrontOriginAccessIdentityList_isTruncated :: 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.
cloudFrontOriginAccessIdentityList_quantity :: Lens' CloudFrontOriginAccessIdentityList Int Source #
The number of CloudFront origin access identities that were created by the current account.
CloudFrontOriginAccessIdentitySummary
data CloudFrontOriginAccessIdentitySummary Source #
Summary of the information about a CloudFront origin access identity.
See: newCloudFrontOriginAccessIdentitySummary
smart constructor.
CloudFrontOriginAccessIdentitySummary' | |
|
Instances
newCloudFrontOriginAccessIdentitySummary Source #
:: Text | |
-> Text |
|
-> Text | |
-> CloudFrontOriginAccessIdentitySummary |
Create a value of CloudFrontOriginAccessIdentitySummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:CloudFrontOriginAccessIdentitySummary'
, cloudFrontOriginAccessIdentitySummary_id
- The ID for the origin access identity. For example: E74FTE3AJFJ256A
.
$sel:s3CanonicalUserId:CloudFrontOriginAccessIdentitySummary'
, cloudFrontOriginAccessIdentitySummary_s3CanonicalUserId
- The Amazon S3 canonical user ID for the origin access identity, which
you use when giving the origin access identity read permission to an
object in Amazon S3.
$sel:comment:CloudFrontOriginAccessIdentitySummary'
, cloudFrontOriginAccessIdentitySummary_comment
- The comment for this origin access identity, as originally specified
when created.
cloudFrontOriginAccessIdentitySummary_id :: Lens' CloudFrontOriginAccessIdentitySummary Text Source #
The ID for the origin access identity. For example: E74FTE3AJFJ256A
.
cloudFrontOriginAccessIdentitySummary_s3CanonicalUserId :: 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.
cloudFrontOriginAccessIdentitySummary_comment :: Lens' CloudFrontOriginAccessIdentitySummary Text Source #
The comment for this origin access identity, as originally specified when created.
ConflictingAlias
data ConflictingAlias Source #
An alias (also called a CNAME) and the CloudFront distribution and Amazon Web Services account ID that it’s associated with. The distribution and account IDs are partially hidden, which allows you to identify the distributions and accounts that you own, but helps to protect the information of ones that you don’t own.
See: newConflictingAlias
smart constructor.
ConflictingAlias' | |
|
Instances
newConflictingAlias :: ConflictingAlias Source #
Create a value of ConflictingAlias
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:alias:ConflictingAlias'
, conflictingAlias_alias
- An alias (also called a CNAME).
$sel:accountId:ConflictingAlias'
, conflictingAlias_accountId
- The (partially hidden) ID of the Amazon Web Services account that owns
the distribution that’s associated with the alias.
$sel:distributionId:ConflictingAlias'
, conflictingAlias_distributionId
- The (partially hidden) ID of the CloudFront distribution associated with
the alias.
conflictingAlias_alias :: Lens' ConflictingAlias (Maybe Text) Source #
An alias (also called a CNAME).
conflictingAlias_accountId :: Lens' ConflictingAlias (Maybe Text) Source #
The (partially hidden) ID of the Amazon Web Services account that owns the distribution that’s associated with the alias.
conflictingAlias_distributionId :: Lens' ConflictingAlias (Maybe Text) Source #
The (partially hidden) ID of the CloudFront distribution associated with the alias.
ConflictingAliasesList
data ConflictingAliasesList Source #
A list of aliases (also called CNAMEs) and the CloudFront distributions and Amazon Web Services accounts that they are associated with. In the list, the distribution and account IDs are partially hidden, which allows you to identify the distributions and accounts that you own, but helps to protect the information of ones that you don’t own.
See: newConflictingAliasesList
smart constructor.
ConflictingAliasesList' | |
|
Instances
newConflictingAliasesList :: ConflictingAliasesList Source #
Create a value of ConflictingAliasesList
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:quantity:ConflictingAliasesList'
, conflictingAliasesList_quantity
- The number of conflicting aliases returned in the response.
$sel:items:ConflictingAliasesList'
, conflictingAliasesList_items
- Contains the conflicting aliases in the list.
$sel:maxItems:ConflictingAliasesList'
, conflictingAliasesList_maxItems
- The maximum number of conflicting aliases requested.
$sel:nextMarker:ConflictingAliasesList'
, conflictingAliasesList_nextMarker
- If there are more items in the list than are in this response, this
element is present. It contains the value that you should use in the
Marker
field of a subsequent request to continue listing conflicting
aliases where you left off.
conflictingAliasesList_quantity :: Lens' ConflictingAliasesList (Maybe Int) Source #
The number of conflicting aliases returned in the response.
conflictingAliasesList_items :: Lens' ConflictingAliasesList (Maybe [ConflictingAlias]) Source #
Contains the conflicting aliases in the list.
conflictingAliasesList_maxItems :: Lens' ConflictingAliasesList (Maybe Int) Source #
The maximum number of conflicting aliases requested.
conflictingAliasesList_nextMarker :: Lens' ConflictingAliasesList (Maybe Text) Source #
If there are more items in the list than are in this response, this
element is present. It contains the value that you should use in the
Marker
field of a subsequent request to continue listing conflicting
aliases where you left off.
ContentTypeProfile
data ContentTypeProfile Source #
A field-level encryption content type profile.
See: newContentTypeProfile
smart constructor.
Instances
newContentTypeProfile Source #
:: Format | |
-> Text | |
-> ContentTypeProfile |
Create a value of ContentTypeProfile
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:profileId:ContentTypeProfile'
, contentTypeProfile_profileId
- The profile ID for a field-level encryption content type-profile
mapping.
$sel:format:ContentTypeProfile'
, contentTypeProfile_format
- The format for a field-level encryption content type-profile mapping.
$sel:contentType:ContentTypeProfile'
, contentTypeProfile_contentType
- The content type for a field-level encryption content type-profile
mapping.
contentTypeProfile_profileId :: Lens' ContentTypeProfile (Maybe Text) Source #
The profile ID for a field-level encryption content type-profile mapping.
contentTypeProfile_format :: Lens' ContentTypeProfile Format Source #
The format for a field-level encryption content type-profile mapping.
contentTypeProfile_contentType :: 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: newContentTypeProfileConfig
smart constructor.
ContentTypeProfileConfig' | |
|
Instances
newContentTypeProfileConfig Source #
Create a value of ContentTypeProfileConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:contentTypeProfiles:ContentTypeProfileConfig'
, contentTypeProfileConfig_contentTypeProfiles
- The configuration for a field-level encryption content type-profile.
$sel:forwardWhenContentTypeIsUnknown:ContentTypeProfileConfig'
, contentTypeProfileConfig_forwardWhenContentTypeIsUnknown
- The setting in a field-level encryption content type-profile mapping
that specifies what to do when an unknown content type is provided for
the profile. If true, content is forwarded without being encrypted when
the content type is unknown. If false (the default), an error is
returned when the content type is unknown.
contentTypeProfileConfig_contentTypeProfiles :: Lens' ContentTypeProfileConfig (Maybe ContentTypeProfiles) Source #
The configuration for a field-level encryption content type-profile.
contentTypeProfileConfig_forwardWhenContentTypeIsUnknown :: 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: newContentTypeProfiles
smart constructor.
ContentTypeProfiles' | |
|
Instances
newContentTypeProfiles Source #
Create a value of ContentTypeProfiles
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:ContentTypeProfiles'
, contentTypeProfiles_items
- Items in a field-level encryption content type-profile mapping.
$sel:quantity:ContentTypeProfiles'
, contentTypeProfiles_quantity
- The number of field-level encryption content type-profile mappings.
contentTypeProfiles_items :: Lens' ContentTypeProfiles (Maybe [ContentTypeProfile]) Source #
Items in a field-level encryption content type-profile mapping.
contentTypeProfiles_quantity :: Lens' ContentTypeProfiles Int Source #
The number of field-level encryption content type-profile mappings.
CookieNames
data CookieNames Source #
Contains a list of cookie names.
See: newCookieNames
smart constructor.
Instances
Create a value of CookieNames
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:CookieNames'
, cookieNames_items
- A list of cookie names.
$sel:quantity:CookieNames'
, cookieNames_quantity
- The number of cookie names in the Items
list.
cookieNames_items :: Lens' CookieNames (Maybe [Text]) Source #
A list of cookie names.
cookieNames_quantity :: Lens' CookieNames Int Source #
The number of cookie names in the Items
list.
CookiePreference
data CookiePreference Source #
This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.
If you want to include cookies in the cache key, use CookiesConfig
in
a cache policy. See CachePolicy
.
If you want to send cookies to the origin but not include them in the
cache key, use CookiesConfig
in an origin request policy. See
OriginRequestPolicy
.
A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see Caching Content Based on Cookies in the Amazon CloudFront Developer Guide.
See: newCookiePreference
smart constructor.
CookiePreference' | |
|
Instances
Create a value of CookiePreference
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:whitelistedNames:CookiePreference'
, cookiePreference_whitelistedNames
- This field is deprecated. We recommend that you use a cache policy or an
origin request policy instead of this field.
If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.
If you want to send cookies to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.
Required if you specify whitelist
for the value of Forward
. A
complex type that specifies how many different cookies you want
CloudFront to forward to the origin for this cache behavior and, if you
want to forward selected cookies, the names of those cookies.
If you specify all
or none
for the value of Forward
, omit
WhitelistedNames
. If you change the value of Forward
from
whitelist
to all
or none
and you don't delete the
WhitelistedNames
element and its child elements, CloudFront deletes
them automatically.
For the current limit on the number of cookie names that you can whitelist for each cache behavior, see CloudFront Limits in the Amazon Web Services General Reference.
$sel:forward:CookiePreference'
, cookiePreference_forward
- This field is deprecated. We recommend that you use a cache policy or an
origin request policy instead of this field.
If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.
If you want to send cookies to the origin but not include them in the cache key, use origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.
Specifies which cookies to forward to the origin for this cache
behavior: all, none, or the list of cookies specified in the
WhitelistedNames
complex type.
Amazon S3 doesn't process cookies. When the cache behavior is
forwarding requests to an Amazon S3 origin, specify none for the
Forward
element.
cookiePreference_whitelistedNames :: Lens' CookiePreference (Maybe CookieNames) Source #
This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.
If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.
If you want to send cookies to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.
Required if you specify whitelist
for the value of Forward
. A
complex type that specifies how many different cookies you want
CloudFront to forward to the origin for this cache behavior and, if you
want to forward selected cookies, the names of those cookies.
If you specify all
or none
for the value of Forward
, omit
WhitelistedNames
. If you change the value of Forward
from
whitelist
to all
or none
and you don't delete the
WhitelistedNames
element and its child elements, CloudFront deletes
them automatically.
For the current limit on the number of cookie names that you can whitelist for each cache behavior, see CloudFront Limits in the Amazon Web Services General Reference.
cookiePreference_forward :: Lens' CookiePreference ItemSelection Source #
This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.
If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.
If you want to send cookies to the origin but not include them in the cache key, use origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.
Specifies which cookies to forward to the origin for this cache
behavior: all, none, or the list of cookies specified in the
WhitelistedNames
complex type.
Amazon S3 doesn't process cookies. When the cache behavior is
forwarding requests to an Amazon S3 origin, specify none for the
Forward
element.
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: newCustomErrorResponse
smart constructor.
CustomErrorResponse' | |
|
Instances
newCustomErrorResponse Source #
Create a value of CustomErrorResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:responsePagePath:CustomErrorResponse'
, customErrorResponse_responsePagePath
- The path to the custom error page that you want CloudFront to return to
a viewer when your origin returns the HTTP status code specified by
ErrorCode
, for example, /4xx-errors/403-forbidden.html
. If you
want to store your objects and your custom error pages in different
locations, your distribution must include a cache behavior for which the
following is true:
- The value of
PathPattern
matches the path to your custom error messages. For example, suppose you saved custom error pages for 4xx errors in an Amazon S3 bucket in a directory named/4xx-errors
. Your distribution must include a cache behavior for which the path pattern routes requests for your custom error pages to that location, for example,/4xx-errors/*
. - The value of
TargetOriginId
specifies the value of theID
element for the origin that contains your custom error pages.
If you specify a value for ResponsePagePath
, you must also specify a
value for ResponseCode
.
We recommend that you store custom error pages in an Amazon S3 bucket. If you store custom error pages on an HTTP server and the server starts to return 5xx errors, CloudFront can't get the files that you want to return to viewers because the origin server is unavailable.
$sel:responseCode:CustomErrorResponse'
, customErrorResponse_responseCode
- The HTTP status code that you want CloudFront to return to the viewer
along with the custom error page. There are a variety of reasons that
you might want CloudFront to return a status code different from the
status code that your origin returned to CloudFront, for example:
- Some Internet devices (some firewalls and corporate proxies, for
example) intercept HTTP 4xx and 5xx and prevent the response from
being returned to the viewer. If you substitute
200
, the response typically won't be intercepted. - If you don't care about distinguishing among different client
errors or server errors, you can specify
400
or500
as theResponseCode
for all 4xx or 5xx errors. - You might want to return a
200
status code (OK) and static website so your customers don't know that your website is down.
If you specify a value for ResponseCode
, you must also specify a value
for ResponsePagePath
.
$sel:errorCachingMinTTL:CustomErrorResponse'
, customErrorResponse_errorCachingMinTTL
- The minimum amount of time, in seconds, that you want CloudFront to
cache the HTTP status code specified in ErrorCode
. When this time
period has elapsed, CloudFront queries your origin to see whether the
problem that caused the error has been resolved and the requested object
is now available.
For more information, see Customizing Error Responses in the Amazon CloudFront Developer Guide.
$sel:errorCode:CustomErrorResponse'
, customErrorResponse_errorCode
- The HTTP status code for which you want to specify a custom error page
and/or a caching duration.
customErrorResponse_responsePagePath :: 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-errors/403-forbidden.html
. If you
want to store your objects and your custom error pages in different
locations, your distribution must include a cache behavior for which the
following is true:
- The value of
PathPattern
matches the path to your custom error messages. For example, suppose you saved custom error pages for 4xx errors in an Amazon S3 bucket in a directory named/4xx-errors
. Your distribution must include a cache behavior for which the path pattern routes requests for your custom error pages to that location, for example,/4xx-errors/*
. - The value of
TargetOriginId
specifies the value of theID
element for the origin that contains your custom error pages.
If you specify a value for ResponsePagePath
, you must also specify a
value for ResponseCode
.
We recommend that you store custom error pages in an Amazon S3 bucket. If you store custom error pages on an HTTP server and the server starts to return 5xx errors, CloudFront can't get the files that you want to return to viewers because the origin server is unavailable.
customErrorResponse_responseCode :: 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
or500
as theResponseCode
for all 4xx or 5xx errors. - You might want to return a
200
status code (OK) and static website so your customers don't know that your website is down.
If you specify a value for ResponseCode
, you must also specify a value
for ResponsePagePath
.
customErrorResponse_errorCachingMinTTL :: 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.
For more information, see Customizing Error Responses in the Amazon CloudFront Developer Guide.
customErrorResponse_errorCode :: 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: newCustomErrorResponses
smart constructor.
CustomErrorResponses' | |
|
Instances
newCustomErrorResponses Source #
Create a value of CustomErrorResponses
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:CustomErrorResponses'
, customErrorResponses_items
- A complex type that contains a CustomErrorResponse
element for each
HTTP status code for which you want to specify a custom error page
and/or a caching duration.
$sel:quantity:CustomErrorResponses'
, customErrorResponses_quantity
- The number of HTTP status codes for which you want to specify a custom
error page and/or a caching duration. If Quantity
is 0
, you can
omit Items
.
customErrorResponses_items :: Lens' CustomErrorResponses (Maybe [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.
customErrorResponses_quantity :: 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: newCustomHeaders
smart constructor.
CustomHeaders' | |
|
Instances
Create a value of CustomHeaders
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:CustomHeaders'
, customHeaders_items
- Optional: A list that contains one OriginCustomHeader
element for
each custom header that you want CloudFront to forward to the origin. If
Quantity is 0
, omit Items
.
$sel:quantity:CustomHeaders'
, customHeaders_quantity
- The number of custom headers, if any, for this distribution.
customHeaders_items :: Lens' CustomHeaders (Maybe [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
.
customHeaders_quantity :: Lens' CustomHeaders Int Source #
The number of custom headers, if any, for this distribution.
CustomOriginConfig
data CustomOriginConfig Source #
A custom origin. A custom origin is any origin that is not an Amazon S3 bucket, with one exception. An Amazon S3 bucket that is configured with static website hosting is a custom origin.
See: newCustomOriginConfig
smart constructor.
CustomOriginConfig' | |
|
Instances
newCustomOriginConfig Source #
:: Int | |
-> Int | |
-> OriginProtocolPolicy | |
-> CustomOriginConfig |
Create a value of CustomOriginConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:originKeepaliveTimeout:CustomOriginConfig'
, customOriginConfig_originKeepaliveTimeout
- Specifies how long, in seconds, CloudFront persists its connection to
the origin. The minimum timeout is 1 second, the maximum is 60 seconds,
and the default (if you don’t specify otherwise) is 5 seconds.
For more information, see Origin Keep-alive Timeout in the Amazon CloudFront Developer Guide.
$sel:originReadTimeout:CustomOriginConfig'
, customOriginConfig_originReadTimeout
- Specifies how long, in seconds, CloudFront waits for a response from the
origin. This is also known as the origin response timeout. The minimum
timeout is 1 second, the maximum is 60 seconds, and the default (if you
don’t specify otherwise) is 30 seconds.
For more information, see Origin Response Timeout in the Amazon CloudFront Developer Guide.
$sel:originSslProtocols:CustomOriginConfig'
, customOriginConfig_originSslProtocols
- Specifies the minimum SSL/TLS protocol that CloudFront uses when
connecting to your origin over HTTPS. Valid values include SSLv3
,
TLSv1
, TLSv1.1
, and TLSv1.2
.
For more information, see Minimum Origin SSL Protocol in the Amazon CloudFront Developer Guide.
$sel:hTTPPort:CustomOriginConfig'
, customOriginConfig_hTTPPort
- The HTTP port that CloudFront uses to connect to the origin. Specify the
HTTP port that the origin listens on.
$sel:hTTPSPort:CustomOriginConfig'
, customOriginConfig_hTTPSPort
- The HTTPS port that CloudFront uses to connect to the origin. Specify
the HTTPS port that the origin listens on.
$sel:originProtocolPolicy:CustomOriginConfig'
, customOriginConfig_originProtocolPolicy
- Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect
to the origin. Valid values are:
http-only
– CloudFront always uses HTTP to connect to the origin.match-viewer
– CloudFront connects to the origin using the same protocol that the viewer used to connect to CloudFront.https-only
– CloudFront always uses HTTPS to connect to the origin.
customOriginConfig_originKeepaliveTimeout :: Lens' CustomOriginConfig (Maybe Int) Source #
Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don’t specify otherwise) is 5 seconds.
For more information, see Origin Keep-alive Timeout in the Amazon CloudFront Developer Guide.
customOriginConfig_originReadTimeout :: Lens' CustomOriginConfig (Maybe Int) Source #
Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don’t specify otherwise) is 30 seconds.
For more information, see Origin Response Timeout in the Amazon CloudFront Developer Guide.
customOriginConfig_originSslProtocols :: Lens' CustomOriginConfig (Maybe OriginSslProtocols) Source #
Specifies the minimum SSL/TLS protocol that CloudFront uses when
connecting to your origin over HTTPS. Valid values include SSLv3
,
TLSv1
, TLSv1.1
, and TLSv1.2
.
For more information, see Minimum Origin SSL Protocol in the Amazon CloudFront Developer Guide.
customOriginConfig_hTTPPort :: Lens' CustomOriginConfig Int Source #
The HTTP port that CloudFront uses to connect to the origin. Specify the HTTP port that the origin listens on.
customOriginConfig_hTTPSPort :: Lens' CustomOriginConfig Int Source #
The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that the origin listens on.
customOriginConfig_originProtocolPolicy :: Lens' CustomOriginConfig OriginProtocolPolicy Source #
Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Valid values are:
http-only
– CloudFront always uses HTTP to connect to the origin.match-viewer
– CloudFront connects to the origin using the same protocol that the viewer used to connect to CloudFront.https-only
– CloudFront always uses HTTPS to connect to the origin.
DefaultCacheBehavior
data DefaultCacheBehavior Source #
A complex type that describes the default cache behavior if you don’t
specify a CacheBehavior
element or if request URLs don’t match any of
the values of PathPattern
in CacheBehavior
elements. You must create
exactly one default cache behavior.
See: newDefaultCacheBehavior
smart constructor.
DefaultCacheBehavior' | |
|
Instances
newDefaultCacheBehavior Source #
Create a value of DefaultCacheBehavior
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:allowedMethods:DefaultCacheBehavior'
, defaultCacheBehavior_allowedMethods
- Undocumented member.
$sel:lambdaFunctionAssociations:DefaultCacheBehavior'
, defaultCacheBehavior_lambdaFunctionAssociations
- A complex type that contains zero or more Lambda@Edge function
associations for a cache behavior.
$sel:maxTTL:DefaultCacheBehavior'
, defaultCacheBehavior_maxTTL
- This field is deprecated. We recommend that you use the MaxTTL
field
in a cache policy instead of this field. For more information, see
Creating cache policies
or
Using the managed cache policies
in the Amazon CloudFront Developer Guide.
The maximum amount of time that you want objects to stay in CloudFront
caches before CloudFront forwards another request to your origin to
determine whether the object has been updated. The value that you
specify applies only when your origin adds HTTP headers such as
Cache-Control max-age
, Cache-Control s-maxage
, and Expires
to
objects. For more information, see
Managing How Long Content Stays in an Edge Cache (Expiration)
in the Amazon CloudFront Developer Guide.
$sel:minTTL:DefaultCacheBehavior'
, defaultCacheBehavior_minTTL
- This field is deprecated. We recommend that you use the MinTTL
field
in a cache policy instead of this field. For more information, see
Creating cache policies
or
Using the managed cache policies
in the Amazon CloudFront Developer Guide.
The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.
You must specify 0
for MinTTL
if you configure CloudFront to forward
all headers to your origin (under Headers
, if you specify 1
for
Quantity
and *
for Name
).
$sel:compress:DefaultCacheBehavior'
, defaultCacheBehavior_compress
- Whether you want CloudFront to automatically compress certain files for
this cache behavior. If so, specify true
; if not, specify false
. For
more information, see
Serving Compressed Files
in the Amazon CloudFront Developer Guide.
$sel:smoothStreaming:DefaultCacheBehavior'
, defaultCacheBehavior_smoothStreaming
- Indicates whether you want to distribute media files in the Microsoft
Smooth Streaming format using the origin that is associated with this
cache behavior. If so, specify true
; if not, specify false
. If you
specify true
for SmoothStreaming
, you can still distribute other
content using this cache behavior if the content matches the value of
PathPattern
.
$sel:trustedKeyGroups:DefaultCacheBehavior'
, defaultCacheBehavior_trustedKeyGroups
- A list of key groups that CloudFront can use to validate signed URLs or
signed cookies.
When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.
$sel:realtimeLogConfigArn:DefaultCacheBehavior'
, defaultCacheBehavior_realtimeLogConfigArn
- The Amazon Resource Name (ARN) of the real-time log configuration that
is attached to this cache behavior. For more information, see
Real-time logs
in the Amazon CloudFront Developer Guide.
$sel:defaultTTL:DefaultCacheBehavior'
, defaultCacheBehavior_defaultTTL
- This field is deprecated. We recommend that you use the DefaultTTL
field in a cache policy instead of this field. For more information, see
Creating cache policies
or
Using the managed cache policies
in the Amazon CloudFront Developer Guide.
The default amount of time that you want objects to stay in CloudFront
caches before CloudFront forwards another request to your origin to
determine whether the object has been updated. The value that you
specify applies only when your origin does not add HTTP headers such as
Cache-Control max-age
, Cache-Control s-maxage
, and Expires
to
objects. For more information, see
Managing How Long Content Stays in an Edge Cache (Expiration)
in the Amazon CloudFront Developer Guide.
$sel:forwardedValues:DefaultCacheBehavior'
, defaultCacheBehavior_forwardedValues
- This field is deprecated. We recommend that you use a cache policy or an
origin request policy instead of this field. For more information, see
Working with policies
in the Amazon CloudFront Developer Guide.
If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.
If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.
A DefaultCacheBehavior
must include either a CachePolicyId
or
ForwardedValues
. We recommend that you use a CachePolicyId
.
A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.
$sel:trustedSigners:DefaultCacheBehavior'
, defaultCacheBehavior_trustedSigners
- We recommend using TrustedKeyGroups
instead of TrustedSigners
.
A list of account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies.
When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in a trusted signer’s account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.
$sel:functionAssociations:DefaultCacheBehavior'
, defaultCacheBehavior_functionAssociations
- A list of CloudFront functions that are associated with this cache
behavior. CloudFront functions must be published to the LIVE
stage to
associate them with a cache behavior.
$sel:originRequestPolicyId:DefaultCacheBehavior'
, defaultCacheBehavior_originRequestPolicyId
- The unique identifier of the origin request policy that is attached to
the default cache behavior. For more information, see
Creating origin request policies
or
Using the managed origin request policies
in the Amazon CloudFront Developer Guide.
$sel:fieldLevelEncryptionId:DefaultCacheBehavior'
, defaultCacheBehavior_fieldLevelEncryptionId
- The value of ID
for the field-level encryption configuration that you
want CloudFront to use for encrypting specific fields of data for the
default cache behavior.
$sel:cachePolicyId:DefaultCacheBehavior'
, defaultCacheBehavior_cachePolicyId
- The unique identifier of the cache policy that is attached to the
default cache behavior. For more information, see
Creating cache policies
or
Using the managed cache policies
in the Amazon CloudFront Developer Guide.
A DefaultCacheBehavior
must include either a CachePolicyId
or
ForwardedValues
. We recommend that you use a CachePolicyId
.
$sel:targetOriginId:DefaultCacheBehavior'
, defaultCacheBehavior_targetOriginId
- The value of ID
for the origin that you want CloudFront to route
requests to when they use the default cache behavior.
$sel:viewerProtocolPolicy:DefaultCacheBehavior'
, defaultCacheBehavior_viewerProtocolPolicy
- The protocol that viewers can use to access the files in the origin
specified by TargetOriginId
when a request matches the path pattern in
PathPattern
. You can specify the following options:
allow-all
: Viewers can use HTTP or HTTPS.redirect-to-https
: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL.https-only
: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden).
For more information about requiring the HTTPS protocol, see Requiring HTTPS Between Viewers and CloudFront in the Amazon CloudFront Developer Guide.
The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects’ cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see Managing Cache Expiration in the Amazon CloudFront Developer Guide.
defaultCacheBehavior_allowedMethods :: Lens' DefaultCacheBehavior (Maybe AllowedMethods) Source #
Undocumented member.
defaultCacheBehavior_lambdaFunctionAssociations :: Lens' DefaultCacheBehavior (Maybe LambdaFunctionAssociations) Source #
A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.
defaultCacheBehavior_maxTTL :: Lens' DefaultCacheBehavior (Maybe Integer) Source #
This field is deprecated. We recommend that you use the MaxTTL
field
in a cache policy instead of this field. For more information, see
Creating cache policies
or
Using the managed cache policies
in the Amazon CloudFront Developer Guide.
The maximum amount of time that you want objects to stay in CloudFront
caches before CloudFront forwards another request to your origin to
determine whether the object has been updated. The value that you
specify applies only when your origin adds HTTP headers such as
Cache-Control max-age
, Cache-Control s-maxage
, and Expires
to
objects. For more information, see
Managing How Long Content Stays in an Edge Cache (Expiration)
in the Amazon CloudFront Developer Guide.
defaultCacheBehavior_minTTL :: Lens' DefaultCacheBehavior (Maybe Integer) Source #
This field is deprecated. We recommend that you use the MinTTL
field
in a cache policy instead of this field. For more information, see
Creating cache policies
or
Using the managed cache policies
in the Amazon CloudFront Developer Guide.
The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.
You must specify 0
for MinTTL
if you configure CloudFront to forward
all headers to your origin (under Headers
, if you specify 1
for
Quantity
and *
for Name
).
defaultCacheBehavior_compress :: 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.
defaultCacheBehavior_smoothStreaming :: 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
.
defaultCacheBehavior_trustedKeyGroups :: Lens' DefaultCacheBehavior (Maybe TrustedKeyGroups) Source #
A list of key groups that CloudFront can use to validate signed URLs or signed cookies.
When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.
defaultCacheBehavior_realtimeLogConfigArn :: Lens' DefaultCacheBehavior (Maybe Text) Source #
The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior. For more information, see Real-time logs in the Amazon CloudFront Developer Guide.
defaultCacheBehavior_defaultTTL :: Lens' DefaultCacheBehavior (Maybe Integer) Source #
This field is deprecated. We recommend that you use the DefaultTTL
field in a cache policy instead of this field. For more information, see
Creating cache policies
or
Using the managed cache policies
in the Amazon CloudFront Developer Guide.
The default amount of time that you want objects to stay in CloudFront
caches before CloudFront forwards another request to your origin to
determine whether the object has been updated. The value that you
specify applies only when your origin does not add HTTP headers such as
Cache-Control max-age
, Cache-Control s-maxage
, and Expires
to
objects. For more information, see
Managing How Long Content Stays in an Edge Cache (Expiration)
in the Amazon CloudFront Developer Guide.
defaultCacheBehavior_forwardedValues :: Lens' DefaultCacheBehavior (Maybe ForwardedValues) Source #
This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see Working with policies in the Amazon CloudFront Developer Guide.
If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.
If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.
A DefaultCacheBehavior
must include either a CachePolicyId
or
ForwardedValues
. We recommend that you use a CachePolicyId
.
A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.
defaultCacheBehavior_trustedSigners :: Lens' DefaultCacheBehavior (Maybe TrustedSigners) Source #
We recommend using TrustedKeyGroups
instead of TrustedSigners
.
A list of account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies.
When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in a trusted signer’s account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.
defaultCacheBehavior_functionAssociations :: Lens' DefaultCacheBehavior (Maybe FunctionAssociations) Source #
A list of CloudFront functions that are associated with this cache
behavior. CloudFront functions must be published to the LIVE
stage to
associate them with a cache behavior.
defaultCacheBehavior_originRequestPolicyId :: Lens' DefaultCacheBehavior (Maybe Text) Source #
The unique identifier of the origin request policy that is attached to the default cache behavior. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.
defaultCacheBehavior_fieldLevelEncryptionId :: Lens' DefaultCacheBehavior (Maybe Text) Source #
The value of ID
for the field-level encryption configuration that you
want CloudFront to use for encrypting specific fields of data for the
default cache behavior.
defaultCacheBehavior_cachePolicyId :: Lens' DefaultCacheBehavior (Maybe Text) Source #
The unique identifier of the cache policy that is attached to the default cache behavior. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.
A DefaultCacheBehavior
must include either a CachePolicyId
or
ForwardedValues
. We recommend that you use a CachePolicyId
.
defaultCacheBehavior_targetOriginId :: Lens' DefaultCacheBehavior Text Source #
The value of ID
for the origin that you want CloudFront to route
requests to when they use the default cache behavior.
defaultCacheBehavior_viewerProtocolPolicy :: 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 Requiring HTTPS Between Viewers and CloudFront in the Amazon CloudFront Developer Guide.
The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects’ cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see Managing Cache Expiration in the Amazon CloudFront Developer Guide.
Distribution
data Distribution Source #
A distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery.
See: newDistribution
smart constructor.
Distribution' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> Int | |
-> Text | |
-> DistributionConfig | |
-> Distribution |
Create a value of Distribution
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:activeTrustedKeyGroups:Distribution'
, distribution_activeTrustedKeyGroups
- CloudFront automatically adds this field to the response if you’ve
configured a cache behavior in this distribution to serve private
content using key groups. This field contains a list of key groups and
the public keys in each key group that CloudFront can use to verify the
signatures of signed URLs or signed cookies.
$sel:aliasICPRecordals:Distribution'
, distribution_aliasICPRecordals
- Amazon Web Services services in China customers must file for an
Internet Content Provider (ICP) recordal if they want to serve content
publicly on an alternate domain name, also known as a CNAME, that
they've added to CloudFront. AliasICPRecordal provides the ICP recordal
status for CNAMEs associated with distributions.
For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.
$sel:activeTrustedSigners:Distribution'
, distribution_activeTrustedSigners
- We recommend using TrustedKeyGroups
instead of TrustedSigners
.
CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this distribution to serve private content using trusted signers. This field contains a list of account IDs and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs or signed cookies.
$sel:id:Distribution'
, distribution_id
- The identifier for the distribution. For example: EDFDVBD632BHDS5
.
$sel:arn:Distribution'
, distribution_arn
- The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where
123456789012
is your account ID.
$sel:status:Distribution'
, distribution_status
- 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.
$sel:lastModifiedTime:Distribution'
, distribution_lastModifiedTime
- The date and time the distribution was last modified.
$sel:inProgressInvalidationBatches:Distribution'
, distribution_inProgressInvalidationBatches
- The number of invalidation batches currently in progress.
$sel:domainName:Distribution'
, distribution_domainName
- The domain name corresponding to the distribution, for example,
d111111abcdef8.cloudfront.net
.
$sel:distributionConfig:Distribution'
, distribution_distributionConfig
- The current configuration information for the distribution. Send a GET
request to the /CloudFront API version/distribution ID/config
resource.
distribution_activeTrustedKeyGroups :: Lens' Distribution (Maybe ActiveTrustedKeyGroups) Source #
CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this distribution to serve private content using key groups. This field contains a list of key groups and the public keys in each key group that CloudFront can use to verify the signatures of signed URLs or signed cookies.
distribution_aliasICPRecordals :: Lens' Distribution (Maybe [AliasICPRecordal]) Source #
Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.
For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.
distribution_activeTrustedSigners :: Lens' Distribution (Maybe ActiveTrustedSigners) Source #
We recommend using TrustedKeyGroups
instead of TrustedSigners
.
CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this distribution to serve private content using trusted signers. This field contains a list of account IDs and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs or signed cookies.
distribution_id :: Lens' Distribution Text Source #
The identifier for the distribution. For example: EDFDVBD632BHDS5
.
distribution_arn :: Lens' Distribution Text Source #
The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where
123456789012
is your account ID.
distribution_status :: 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.
distribution_lastModifiedTime :: Lens' Distribution UTCTime Source #
The date and time the distribution was last modified.
distribution_inProgressInvalidationBatches :: Lens' Distribution Int Source #
The number of invalidation batches currently in progress.
distribution_domainName :: Lens' Distribution Text Source #
The domain name corresponding to the distribution, for example,
d111111abcdef8.cloudfront.net
.
distribution_distributionConfig :: Lens' Distribution DistributionConfig Source #
The current configuration information for the distribution. Send a GET
request to the /CloudFront API version/distribution ID/config
resource.
DistributionConfig
data DistributionConfig Source #
A distribution configuration.
See: newDistributionConfig
smart constructor.
DistributionConfig' | |
|
Instances
newDistributionConfig Source #
:: Text | |
-> Origins | |
-> DefaultCacheBehavior | |
-> Text | |
-> Bool | |
-> DistributionConfig |
Create a value of DistributionConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpVersion:DistributionConfig'
, distributionConfig_httpVersion
- (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 HTTP/2
automatically use an earlier HTTP version.
For viewers and CloudFront to use HTTP/2, viewers must support TLS 1.2 or later, and must support Server Name Identification (SNI).
In general, configuring CloudFront to communicate with viewers using HTTP/2 reduces latency. You can improve performance by optimizing for HTTP/2. For more information, do an Internet search for "http/2 optimization."
$sel:originGroups:DistributionConfig'
, distributionConfig_originGroups
- A complex type that contains information about origin groups for this
distribution.
$sel:aliases:DistributionConfig'
, distributionConfig_aliases
- A complex type that contains information about CNAMEs (alternate domain
names), if any, for this distribution.
$sel:defaultRootObject:DistributionConfig'
, distributionConfig_defaultRootObject
- The object that you want CloudFront to request from your origin (for
example, index.html
) when a viewer requests the root URL for your
distribution (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.
$sel:priceClass:DistributionConfig'
, distributionConfig_priceClass
- The price class that corresponds with the maximum price that you want to
pay for CloudFront service. If you specify PriceClass_All
, CloudFront
responds to requests for your objects from all CloudFront edge
locations.
If you specify a price class other than PriceClass_All
, CloudFront
serves your objects from the CloudFront edge location that has the
lowest latency among the edge locations in your price class. Viewers who
are in or near regions that are excluded from your specified price class
may encounter slower performance.
For more information about price classes, see Choosing the Price Class for a CloudFront Distribution in the Amazon CloudFront Developer Guide. For information about CloudFront pricing, including how price classes (such as Price Class 100) map to CloudFront regions, see Amazon CloudFront Pricing.
$sel:customErrorResponses:DistributionConfig'
, distributionConfig_customErrorResponses
- A complex type that controls the following:
- Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
- How long CloudFront caches HTTP status codes in the 4xx and 5xx range.
For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.
$sel:webACLId:DistributionConfig'
, distributionConfig_webACLId
- A unique identifier that specifies the WAF web ACL, if any, to associate
with this distribution. To specify a web ACL created using the latest
version of WAF, use the ACL ARN, for example
arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a
.
To specify a web ACL created using WAF Classic, use the ACL ID, for
example 473e64fd-f30b-4765-81a0-62ad96dd167a
.
WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about WAF, see the WAF Developer Guide.
$sel:viewerCertificate:DistributionConfig'
, distributionConfig_viewerCertificate
- A complex type that determines the distribution’s SSL/TLS configuration
for communicating with viewers.
$sel:restrictions:DistributionConfig'
, distributionConfig_restrictions
- A complex type that identifies ways in which you want to restrict
distribution of your content.
$sel:logging:DistributionConfig'
, distributionConfig_logging
- A complex type that controls whether access logs are written for the
distribution.
For more information about logging, see Access Logs in the Amazon CloudFront Developer Guide.
$sel:cacheBehaviors:DistributionConfig'
, distributionConfig_cacheBehaviors
- A complex type that contains zero or more CacheBehavior
elements.
$sel:isIPV6Enabled:DistributionConfig'
, distributionConfig_isIPV6Enabled
- If you want CloudFront to respond to IPv6 DNS requests with an IPv6
address for your distribution, specify true
. If you specify false
,
CloudFront responds to IPv6 DNS requests with the DNS response code
NOERROR
and with no IP addresses. This allows viewers to submit a
second request, for an IPv4 address for your distribution.
In general, you should enable IPv6 if you have users on IPv6 networks
who want to access your content. However, if you're using signed URLs
or signed cookies to restrict access to your content, and if you're
using a custom policy that includes the IpAddress
parameter to
restrict the IP addresses that can access your content, don't enable
IPv6. If you want to restrict access to some content by IP address and
not restrict access to other content (or restrict access but not by IP
address), you can create two distributions. For more information, see
Creating a Signed URL Using a Custom Policy
in the Amazon CloudFront Developer Guide.
If you're using an Route 53 Amazon Web Services Integration alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true:
- You enable IPv6 for the distribution
- You're using alternate domain names in the URLs for your objects
For more information, see Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name in the Route 53 Amazon Web Services Integration Developer Guide.
If you created a CNAME resource record set, either with Route 53 Amazon Web Services Integration or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request.
$sel:callerReference:DistributionConfig'
, distributionConfig_callerReference
- A unique value (for example, a date-time stamp) that ensures that the
request can't be replayed.
If the value of CallerReference
is new (regardless of the content of
the DistributionConfig
object), CloudFront creates a new distribution.
If CallerReference
is a value that you already sent in a previous
request to create a distribution, CloudFront returns a
DistributionAlreadyExists
error.
$sel:origins:DistributionConfig'
, distributionConfig_origins
- A complex type that contains information about origins for this
distribution.
$sel:defaultCacheBehavior:DistributionConfig'
, distributionConfig_defaultCacheBehavior
- A complex type that describes the default cache behavior if you don't
specify a CacheBehavior
element or if files don't match any of the
values of PathPattern
in CacheBehavior
elements. You must create
exactly one default cache behavior.
$sel:comment:DistributionConfig'
, distributionConfig_comment
- An optional comment to describe the distribution. The comment cannot be
longer than 128 characters.
$sel:enabled:DistributionConfig'
, distributionConfig_enabled
- From this field, you can enable or disable the selected distribution.
distributionConfig_httpVersion :: 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 HTTP/2 automatically use an earlier HTTP version.
For viewers and CloudFront to use HTTP/2, viewers must support TLS 1.2 or later, and must support Server Name Identification (SNI).
In general, configuring CloudFront to communicate with viewers using HTTP/2 reduces latency. You can improve performance by optimizing for HTTP/2. For more information, do an Internet search for "http/2 optimization."
distributionConfig_originGroups :: Lens' DistributionConfig (Maybe OriginGroups) Source #
A complex type that contains information about origin groups for this distribution.
distributionConfig_aliases :: Lens' DistributionConfig (Maybe Aliases) Source #
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
distributionConfig_defaultRootObject :: 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.
distributionConfig_priceClass :: 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 (such as Price Class 100) map to CloudFront regions, see Amazon CloudFront Pricing.
distributionConfig_customErrorResponses :: 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.
distributionConfig_webACLId :: Lens' DistributionConfig (Maybe Text) Source #
A unique identifier that specifies the WAF web ACL, if any, to associate
with this distribution. To specify a web ACL created using the latest
version of WAF, use the ACL ARN, for example
arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a
.
To specify a web ACL created using WAF Classic, use the ACL ID, for
example 473e64fd-f30b-4765-81a0-62ad96dd167a
.
WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about WAF, see the WAF Developer Guide.
distributionConfig_viewerCertificate :: Lens' DistributionConfig (Maybe ViewerCertificate) Source #
A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.
distributionConfig_restrictions :: Lens' DistributionConfig (Maybe Restrictions) Source #
A complex type that identifies ways in which you want to restrict distribution of your content.
distributionConfig_logging :: 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.
distributionConfig_cacheBehaviors :: Lens' DistributionConfig (Maybe CacheBehaviors) Source #
A complex type that contains zero or more CacheBehavior
elements.
distributionConfig_isIPV6Enabled :: 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 Route 53 Amazon Web Services Integration alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true:
- You enable IPv6 for the distribution
- You're using alternate domain names in the URLs for your objects
For more information, see Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name in the Route 53 Amazon Web Services Integration Developer Guide.
If you created a CNAME resource record set, either with Route 53 Amazon Web Services Integration or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request.
distributionConfig_callerReference :: 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 that you already sent in a previous
request to create a distribution, CloudFront returns a
DistributionAlreadyExists
error.
distributionConfig_origins :: Lens' DistributionConfig Origins Source #
A complex type that contains information about origins for this distribution.
distributionConfig_defaultCacheBehavior :: 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.
distributionConfig_comment :: Lens' DistributionConfig Text Source #
An optional comment to describe the distribution. The comment cannot be longer than 128 characters.
distributionConfig_enabled :: Lens' DistributionConfig Bool Source #
From this field, you can enable or disable the selected distribution.
DistributionConfigWithTags
data DistributionConfigWithTags Source #
A distribution Configuration and a list of tags to be associated with the distribution.
See: newDistributionConfigWithTags
smart constructor.
DistributionConfigWithTags' | |
|
Instances
newDistributionConfigWithTags Source #
Create a value of DistributionConfigWithTags
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:distributionConfig:DistributionConfigWithTags'
, distributionConfigWithTags_distributionConfig
- A distribution configuration.
$sel:tags:DistributionConfigWithTags'
, distributionConfigWithTags_tags
- A complex type that contains zero or more Tag
elements.
distributionConfigWithTags_distributionConfig :: Lens' DistributionConfigWithTags DistributionConfig Source #
A distribution configuration.
distributionConfigWithTags_tags :: Lens' DistributionConfigWithTags Tags Source #
A complex type that contains zero or more Tag
elements.
DistributionIdList
data DistributionIdList Source #
A list of distribution IDs.
See: newDistributionIdList
smart constructor.
DistributionIdList' | |
|
Instances
newDistributionIdList Source #
:: Text | |
-> Int | |
-> Bool | |
-> Int | |
-> DistributionIdList |
Create a value of DistributionIdList
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:DistributionIdList'
, distributionIdList_items
- Contains the distribution IDs in the list.
$sel:nextMarker:DistributionIdList'
, distributionIdList_nextMarker
- Contains the value that you should use in the Marker
field of a
subsequent request to continue listing distribution IDs where you left
off.
$sel:marker:DistributionIdList'
, distributionIdList_marker
- The value provided in the Marker
request field.
$sel:maxItems:DistributionIdList'
, distributionIdList_maxItems
- The maximum number of distribution IDs requested.
$sel:isTruncated:DistributionIdList'
, distributionIdList_isTruncated
- A flag that indicates whether more distribution IDs remain to be listed.
If your results were truncated, you can make a subsequent request using
the Marker
request field to retrieve more distribution IDs in the
list.
$sel:quantity:DistributionIdList'
, distributionIdList_quantity
- The total number of distribution IDs returned in the response.
distributionIdList_items :: Lens' DistributionIdList (Maybe [Text]) Source #
Contains the distribution IDs in the list.
distributionIdList_nextMarker :: Lens' DistributionIdList (Maybe Text) Source #
Contains the value that you should use in the Marker
field of a
subsequent request to continue listing distribution IDs where you left
off.
distributionIdList_marker :: Lens' DistributionIdList Text Source #
The value provided in the Marker
request field.
distributionIdList_maxItems :: Lens' DistributionIdList Int Source #
The maximum number of distribution IDs requested.
distributionIdList_isTruncated :: Lens' DistributionIdList Bool Source #
A flag that indicates whether more distribution IDs remain to be listed.
If your results were truncated, you can make a subsequent request using
the Marker
request field to retrieve more distribution IDs in the
list.
distributionIdList_quantity :: Lens' DistributionIdList Int Source #
The total number of distribution IDs returned in the response.
DistributionList
data DistributionList Source #
A distribution list.
See: newDistributionList
smart constructor.
DistributionList' | |
|
Instances
:: Text | |
-> Int | |
-> Bool | |
-> Int | |
-> DistributionList |
Create a value of DistributionList
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:DistributionList'
, distributionList_items
- A complex type that contains one DistributionSummary
element for each
distribution that was created by the current account.
$sel:nextMarker:DistributionList'
, distributionList_nextMarker
- If IsTruncated
is true
, this element is present and contains the
value you can use for the Marker
request parameter to continue listing
your distributions where they left off.
$sel:marker:DistributionList'
, distributionList_marker
- The value you provided for the Marker
request parameter.
$sel:maxItems:DistributionList'
, distributionList_maxItems
- The value you provided for the MaxItems
request parameter.
$sel:isTruncated:DistributionList'
, distributionList_isTruncated
- A flag that indicates whether more distributions remain to be listed. If
your results were truncated, you can make a follow-up pagination request
using the Marker
request parameter to retrieve more distributions in
the list.
$sel:quantity:DistributionList'
, distributionList_quantity
- The number of distributions that were created by the current account.
distributionList_items :: Lens' DistributionList (Maybe [DistributionSummary]) Source #
A complex type that contains one DistributionSummary
element for each
distribution that was created by the current account.
distributionList_nextMarker :: 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.
distributionList_marker :: Lens' DistributionList Text Source #
The value you provided for the Marker
request parameter.
distributionList_maxItems :: Lens' DistributionList Int Source #
The value you provided for the MaxItems
request parameter.
distributionList_isTruncated :: 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.
distributionList_quantity :: Lens' DistributionList Int Source #
The number of distributions that were created by the current account.
DistributionSummary
data DistributionSummary Source #
A summary of the information about a CloudFront distribution.
See: newDistributionSummary
smart constructor.
DistributionSummary' | |
|
Instances
newDistributionSummary Source #
:: Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> Text | |
-> Aliases | |
-> Origins | |
-> DefaultCacheBehavior | |
-> CacheBehaviors | |
-> CustomErrorResponses | |
-> Text | |
-> PriceClass | |
-> Bool | |
-> ViewerCertificate | |
-> Restrictions | |
-> Text | |
-> HttpVersion | |
-> Bool | |
-> DistributionSummary |
Create a value of DistributionSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:originGroups:DistributionSummary'
, distributionSummary_originGroups
- A complex type that contains information about origin groups for this
distribution.
$sel:aliasICPRecordals:DistributionSummary'
, distributionSummary_aliasICPRecordals
- Amazon Web Services services in China customers must file for an
Internet Content Provider (ICP) recordal if they want to serve content
publicly on an alternate domain name, also known as a CNAME, that
they've added to CloudFront. AliasICPRecordal provides the ICP recordal
status for CNAMEs associated with distributions.
For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.
$sel:id:DistributionSummary'
, distributionSummary_id
- The identifier for the distribution. For example: EDFDVBD632BHDS5
.
$sel:arn:DistributionSummary'
, distributionSummary_arn
- The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where
123456789012
is your account ID.
$sel:status:DistributionSummary'
, distributionSummary_status
- The current status of the distribution. When the status is Deployed
,
the distribution's information is propagated to all CloudFront edge
locations.
$sel:lastModifiedTime:DistributionSummary'
, distributionSummary_lastModifiedTime
- The date and time the distribution was last modified.
$sel:domainName:DistributionSummary'
, distributionSummary_domainName
- The domain name that corresponds to the distribution, for example,
d111111abcdef8.cloudfront.net
.
$sel:aliases:DistributionSummary'
, distributionSummary_aliases
- A complex type that contains information about CNAMEs (alternate domain
names), if any, for this distribution.
$sel:origins:DistributionSummary'
, distributionSummary_origins
- A complex type that contains information about origins for this
distribution.
$sel:defaultCacheBehavior:DistributionSummary'
, distributionSummary_defaultCacheBehavior
- A complex type that describes the default cache behavior if you don't
specify a CacheBehavior
element or if files don't match any of the
values of PathPattern
in CacheBehavior
elements. You must create
exactly one default cache behavior.
$sel:cacheBehaviors:DistributionSummary'
, distributionSummary_cacheBehaviors
- A complex type that contains zero or more CacheBehavior
elements.
$sel:customErrorResponses:DistributionSummary'
, distributionSummary_customErrorResponses
- A complex type that contains zero or more CustomErrorResponses
elements.
$sel:comment:DistributionSummary'
, distributionSummary_comment
- The comment originally specified when this distribution was created.
$sel:priceClass:DistributionSummary'
, distributionSummary_priceClass
- A complex type that contains information about price class for this
streaming distribution.
$sel:enabled:DistributionSummary'
, distributionSummary_enabled
- Whether the distribution is enabled to accept user requests for content.
$sel:viewerCertificate:DistributionSummary'
, distributionSummary_viewerCertificate
- A complex type that determines the distribution’s SSL/TLS configuration
for communicating with viewers.
$sel:restrictions:DistributionSummary'
, distributionSummary_restrictions
- A complex type that identifies ways in which you want to restrict
distribution of your content.
$sel:webACLId:DistributionSummary'
, distributionSummary_webACLId
- The Web ACL Id (if any) associated with the distribution.
$sel:httpVersion:DistributionSummary'
, distributionSummary_httpVersion
- Specify the maximum HTTP version that you want viewers to use to
communicate with CloudFront. The default value for new web distributions
is http2
. Viewers that don't support HTTP/2
will automatically use
an earlier version.
$sel:isIPV6Enabled:DistributionSummary'
, distributionSummary_isIPV6Enabled
- Whether CloudFront responds to IPv6 DNS requests with an IPv6 address
for your distribution.
distributionSummary_originGroups :: Lens' DistributionSummary (Maybe OriginGroups) Source #
A complex type that contains information about origin groups for this distribution.
distributionSummary_aliasICPRecordals :: Lens' DistributionSummary (Maybe [AliasICPRecordal]) Source #
Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.
For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.
distributionSummary_id :: Lens' DistributionSummary Text Source #
The identifier for the distribution. For example: EDFDVBD632BHDS5
.
distributionSummary_arn :: Lens' DistributionSummary Text Source #
The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where
123456789012
is your account ID.
distributionSummary_status :: 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.
distributionSummary_lastModifiedTime :: Lens' DistributionSummary UTCTime Source #
The date and time the distribution was last modified.
distributionSummary_domainName :: Lens' DistributionSummary Text Source #
The domain name that corresponds to the distribution, for example,
d111111abcdef8.cloudfront.net
.
distributionSummary_aliases :: Lens' DistributionSummary Aliases Source #
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
distributionSummary_origins :: Lens' DistributionSummary Origins Source #
A complex type that contains information about origins for this distribution.
distributionSummary_defaultCacheBehavior :: 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.
distributionSummary_cacheBehaviors :: Lens' DistributionSummary CacheBehaviors Source #
A complex type that contains zero or more CacheBehavior
elements.
distributionSummary_customErrorResponses :: Lens' DistributionSummary CustomErrorResponses Source #
A complex type that contains zero or more CustomErrorResponses
elements.
distributionSummary_comment :: Lens' DistributionSummary Text Source #
The comment originally specified when this distribution was created.
distributionSummary_priceClass :: Lens' DistributionSummary PriceClass Source #
A complex type that contains information about price class for this streaming distribution.
distributionSummary_enabled :: Lens' DistributionSummary Bool Source #
Whether the distribution is enabled to accept user requests for content.
distributionSummary_viewerCertificate :: Lens' DistributionSummary ViewerCertificate Source #
A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.
distributionSummary_restrictions :: Lens' DistributionSummary Restrictions Source #
A complex type that identifies ways in which you want to restrict distribution of your content.
distributionSummary_webACLId :: Lens' DistributionSummary Text Source #
The Web ACL Id (if any) associated with the distribution.
distributionSummary_httpVersion :: 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.
distributionSummary_isIPV6Enabled :: 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: newEncryptionEntities
smart constructor.
EncryptionEntities' | |
|
Instances
newEncryptionEntities Source #
Create a value of EncryptionEntities
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:EncryptionEntities'
, encryptionEntities_items
- An array of field patterns in a field-level encryption content
type-profile mapping.
$sel:quantity:EncryptionEntities'
, encryptionEntities_quantity
- Number of field pattern items in a field-level encryption content
type-profile mapping.
encryptionEntities_items :: Lens' EncryptionEntities (Maybe [EncryptionEntity]) Source #
An array of field patterns in a field-level encryption content type-profile mapping.
encryptionEntities_quantity :: 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: newEncryptionEntity
smart constructor.
EncryptionEntity' | |
|
Instances
:: Text | |
-> Text | |
-> FieldPatterns | |
-> EncryptionEntity |
Create a value of EncryptionEntity
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:publicKeyId:EncryptionEntity'
, encryptionEntity_publicKeyId
- The public key associated with a set of field-level encryption patterns,
to be used when encrypting the fields that match the patterns.
$sel:providerId:EncryptionEntity'
, encryptionEntity_providerId
- The provider associated with the public key being used for encryption.
This value must also be provided with the private key for applications
to be able to decrypt data.
$sel:fieldPatterns:EncryptionEntity'
, encryptionEntity_fieldPatterns
- Field patterns in a field-level encryption content type profile specify
the fields that you want to be encrypted. You can provide the full field
name, or any beginning characters followed by a wildcard (*). You can't
overlap field patterns. For example, you can't have both ABC* and AB*.
Note that field patterns are case-sensitive.
encryptionEntity_publicKeyId :: 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.
encryptionEntity_providerId :: 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.
encryptionEntity_fieldPatterns :: 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.
EndPoint
Contains information about the Amazon Kinesis data stream where you are sending real-time log data in a real-time log configuration.
See: newEndPoint
smart constructor.
EndPoint' | |
|
Instances
Eq EndPoint Source # | |
Read EndPoint Source # | |
Show EndPoint Source # | |
Generic EndPoint Source # | |
NFData EndPoint Source # | |
Defined in Amazonka.CloudFront.Types.EndPoint | |
Hashable EndPoint Source # | |
Defined in Amazonka.CloudFront.Types.EndPoint | |
FromXML EndPoint Source # | |
ToXML EndPoint Source # | |
Defined in Amazonka.CloudFront.Types.EndPoint | |
type Rep EndPoint Source # | |
Defined in Amazonka.CloudFront.Types.EndPoint type Rep EndPoint = D1 ('MetaData "EndPoint" "Amazonka.CloudFront.Types.EndPoint" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "EndPoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "kinesisStreamConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KinesisStreamConfig)) :*: S1 ('MetaSel ('Just "streamType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of EndPoint
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:kinesisStreamConfig:EndPoint'
, endPoint_kinesisStreamConfig
- Contains information about the Amazon Kinesis data stream where you are
sending real-time log data.
$sel:streamType:EndPoint'
, endPoint_streamType
- The type of data stream where you are sending real-time log data. The
only valid value is Kinesis
.
endPoint_kinesisStreamConfig :: Lens' EndPoint (Maybe KinesisStreamConfig) Source #
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
endPoint_streamType :: Lens' EndPoint Text Source #
The type of data stream where you are sending real-time log data. The
only valid value is Kinesis
.
FieldLevelEncryption
data FieldLevelEncryption Source #
A complex data type that includes the profile configurations and other options specified for field-level encryption.
See: newFieldLevelEncryption
smart constructor.
FieldLevelEncryption' | |
|
Instances
newFieldLevelEncryption Source #
Create a value of FieldLevelEncryption
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:FieldLevelEncryption'
, fieldLevelEncryption_id
- The configuration ID for a field-level encryption configuration which
includes a set of profiles that specify certain selected data fields to
be encrypted by specific public keys.
$sel:lastModifiedTime:FieldLevelEncryption'
, fieldLevelEncryption_lastModifiedTime
- The last time the field-level encryption configuration was changed.
$sel:fieldLevelEncryptionConfig:FieldLevelEncryption'
, fieldLevelEncryption_fieldLevelEncryptionConfig
- A complex data type that includes the profile configurations specified
for field-level encryption.
fieldLevelEncryption_id :: 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.
fieldLevelEncryption_lastModifiedTime :: Lens' FieldLevelEncryption UTCTime Source #
The last time the field-level encryption configuration was changed.
fieldLevelEncryption_fieldLevelEncryptionConfig :: 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: newFieldLevelEncryptionConfig
smart constructor.
FieldLevelEncryptionConfig' | |
|
Instances
newFieldLevelEncryptionConfig Source #
Create a value of FieldLevelEncryptionConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:queryArgProfileConfig:FieldLevelEncryptionConfig'
, fieldLevelEncryptionConfig_queryArgProfileConfig
- A complex data type that specifies when to forward content if a profile
isn't found and the profile that can be provided as a query argument in
a request.
$sel:contentTypeProfileConfig:FieldLevelEncryptionConfig'
, fieldLevelEncryptionConfig_contentTypeProfileConfig
- A complex data type that specifies when to forward content if a content
type isn't recognized and profiles to use as by default in a request if
a query argument doesn't specify a profile to use.
$sel:comment:FieldLevelEncryptionConfig'
, fieldLevelEncryptionConfig_comment
- An optional comment about the configuration. The comment cannot be
longer than 128 characters.
$sel:callerReference:FieldLevelEncryptionConfig'
, fieldLevelEncryptionConfig_callerReference
- A unique number that ensures the request can't be replayed.
fieldLevelEncryptionConfig_queryArgProfileConfig :: 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.
fieldLevelEncryptionConfig_contentTypeProfileConfig :: 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.
fieldLevelEncryptionConfig_comment :: Lens' FieldLevelEncryptionConfig (Maybe Text) Source #
An optional comment about the configuration. The comment cannot be longer than 128 characters.
fieldLevelEncryptionConfig_callerReference :: 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: newFieldLevelEncryptionList
smart constructor.
FieldLevelEncryptionList' | |
|
Instances
newFieldLevelEncryptionList Source #
:: Int | |
-> Int | |
-> FieldLevelEncryptionList |
Create a value of FieldLevelEncryptionList
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:FieldLevelEncryptionList'
, fieldLevelEncryptionList_items
- An array of field-level encryption items.
$sel:nextMarker:FieldLevelEncryptionList'
, fieldLevelEncryptionList_nextMarker
- If there are more elements to be listed, this element is present and
contains the value that you can use for the Marker
request parameter
to continue listing your configurations where you left off.
$sel:maxItems:FieldLevelEncryptionList'
, fieldLevelEncryptionList_maxItems
- The maximum number of elements you want in the response body.
$sel:quantity:FieldLevelEncryptionList'
, fieldLevelEncryptionList_quantity
- The number of field-level encryption items.
fieldLevelEncryptionList_items :: Lens' FieldLevelEncryptionList (Maybe [FieldLevelEncryptionSummary]) Source #
An array of field-level encryption items.
fieldLevelEncryptionList_nextMarker :: 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.
fieldLevelEncryptionList_maxItems :: Lens' FieldLevelEncryptionList Int Source #
The maximum number of elements you want in the response body.
fieldLevelEncryptionList_quantity :: 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: newFieldLevelEncryptionProfile
smart constructor.
FieldLevelEncryptionProfile' | |
|
Instances
newFieldLevelEncryptionProfile Source #
:: Text | |
-> UTCTime | |
-> FieldLevelEncryptionProfileConfig |
|
-> FieldLevelEncryptionProfile |
Create a value of FieldLevelEncryptionProfile
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:FieldLevelEncryptionProfile'
, fieldLevelEncryptionProfile_id
- The ID for a field-level encryption profile configuration which includes
a set of profiles that specify certain selected data fields to be
encrypted by specific public keys.
$sel:lastModifiedTime:FieldLevelEncryptionProfile'
, fieldLevelEncryptionProfile_lastModifiedTime
- The last time the field-level encryption profile was updated.
$sel:fieldLevelEncryptionProfileConfig:FieldLevelEncryptionProfile'
, fieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig
- A complex data type that includes the profile name and the encryption
entities for the field-level encryption profile.
fieldLevelEncryptionProfile_id :: 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.
fieldLevelEncryptionProfile_lastModifiedTime :: Lens' FieldLevelEncryptionProfile UTCTime Source #
The last time the field-level encryption profile was updated.
fieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig :: 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: newFieldLevelEncryptionProfileConfig
smart constructor.
FieldLevelEncryptionProfileConfig' | |
|
Instances
newFieldLevelEncryptionProfileConfig Source #
Create a value of FieldLevelEncryptionProfileConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:comment:FieldLevelEncryptionProfileConfig'
, fieldLevelEncryptionProfileConfig_comment
- An optional comment for the field-level encryption profile. The comment
cannot be longer than 128 characters.
$sel:name:FieldLevelEncryptionProfileConfig'
, fieldLevelEncryptionProfileConfig_name
- Profile name for the field-level encryption profile.
$sel:callerReference:FieldLevelEncryptionProfileConfig'
, fieldLevelEncryptionProfileConfig_callerReference
- A unique number that ensures that the request can't be replayed.
$sel:encryptionEntities:FieldLevelEncryptionProfileConfig'
, fieldLevelEncryptionProfileConfig_encryptionEntities
- A complex data type of encryption entities for the field-level
encryption profile that include the public key ID, provider, and field
patterns for specifying which fields to encrypt with this key.
fieldLevelEncryptionProfileConfig_comment :: Lens' FieldLevelEncryptionProfileConfig (Maybe Text) Source #
An optional comment for the field-level encryption profile. The comment cannot be longer than 128 characters.
fieldLevelEncryptionProfileConfig_name :: Lens' FieldLevelEncryptionProfileConfig Text Source #
Profile name for the field-level encryption profile.
fieldLevelEncryptionProfileConfig_callerReference :: Lens' FieldLevelEncryptionProfileConfig Text Source #
A unique number that ensures that the request can't be replayed.
fieldLevelEncryptionProfileConfig_encryptionEntities :: 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: newFieldLevelEncryptionProfileList
smart constructor.
FieldLevelEncryptionProfileList' | |
|
Instances
newFieldLevelEncryptionProfileList Source #
Create a value of FieldLevelEncryptionProfileList
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:FieldLevelEncryptionProfileList'
, fieldLevelEncryptionProfileList_items
- The field-level encryption profile items.
$sel:nextMarker:FieldLevelEncryptionProfileList'
, fieldLevelEncryptionProfileList_nextMarker
- If there are more elements to be listed, this element is present and
contains the value that you can use for the Marker
request parameter
to continue listing your profiles where you left off.
$sel:maxItems:FieldLevelEncryptionProfileList'
, fieldLevelEncryptionProfileList_maxItems
- The maximum number of field-level encryption profiles you want in the
response body.
$sel:quantity:FieldLevelEncryptionProfileList'
, fieldLevelEncryptionProfileList_quantity
- The number of field-level encryption profiles.
fieldLevelEncryptionProfileList_items :: Lens' FieldLevelEncryptionProfileList (Maybe [FieldLevelEncryptionProfileSummary]) Source #
The field-level encryption profile items.
fieldLevelEncryptionProfileList_nextMarker :: 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.
fieldLevelEncryptionProfileList_maxItems :: Lens' FieldLevelEncryptionProfileList Int Source #
The maximum number of field-level encryption profiles you want in the response body.
fieldLevelEncryptionProfileList_quantity :: Lens' FieldLevelEncryptionProfileList Int Source #
The number of field-level encryption profiles.
FieldLevelEncryptionProfileSummary
data FieldLevelEncryptionProfileSummary Source #
The field-level encryption profile summary.
See: newFieldLevelEncryptionProfileSummary
smart constructor.
FieldLevelEncryptionProfileSummary' | |
|
Instances
newFieldLevelEncryptionProfileSummary Source #
Create a value of FieldLevelEncryptionProfileSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:comment:FieldLevelEncryptionProfileSummary'
, fieldLevelEncryptionProfileSummary_comment
- An optional comment for the field-level encryption profile summary. The
comment cannot be longer than 128 characters.
$sel:id:FieldLevelEncryptionProfileSummary'
, fieldLevelEncryptionProfileSummary_id
- ID for the field-level encryption profile summary.
$sel:lastModifiedTime:FieldLevelEncryptionProfileSummary'
, fieldLevelEncryptionProfileSummary_lastModifiedTime
- The time when the the field-level encryption profile summary was last
updated.
$sel:name:FieldLevelEncryptionProfileSummary'
, fieldLevelEncryptionProfileSummary_name
- Name for the field-level encryption profile summary.
$sel:encryptionEntities:FieldLevelEncryptionProfileSummary'
, fieldLevelEncryptionProfileSummary_encryptionEntities
- A complex data type of encryption entities for the field-level
encryption profile that include the public key ID, provider, and field
patterns for specifying which fields to encrypt with this key.
fieldLevelEncryptionProfileSummary_comment :: Lens' FieldLevelEncryptionProfileSummary (Maybe Text) Source #
An optional comment for the field-level encryption profile summary. The comment cannot be longer than 128 characters.
fieldLevelEncryptionProfileSummary_id :: Lens' FieldLevelEncryptionProfileSummary Text Source #
ID for the field-level encryption profile summary.
fieldLevelEncryptionProfileSummary_lastModifiedTime :: Lens' FieldLevelEncryptionProfileSummary UTCTime Source #
The time when the the field-level encryption profile summary was last updated.
fieldLevelEncryptionProfileSummary_name :: Lens' FieldLevelEncryptionProfileSummary Text Source #
Name for the field-level encryption profile summary.
fieldLevelEncryptionProfileSummary_encryptionEntities :: 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: newFieldLevelEncryptionSummary
smart constructor.
FieldLevelEncryptionSummary' | |
|
Instances
newFieldLevelEncryptionSummary Source #
Create a value of FieldLevelEncryptionSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:queryArgProfileConfig:FieldLevelEncryptionSummary'
, fieldLevelEncryptionSummary_queryArgProfileConfig
- A summary of a query argument-profile mapping.
$sel:contentTypeProfileConfig:FieldLevelEncryptionSummary'
, fieldLevelEncryptionSummary_contentTypeProfileConfig
- A summary of a content type-profile mapping.
$sel:comment:FieldLevelEncryptionSummary'
, fieldLevelEncryptionSummary_comment
- An optional comment about the field-level encryption item. The comment
cannot be longer than 128 characters.
$sel:id:FieldLevelEncryptionSummary'
, fieldLevelEncryptionSummary_id
- The unique ID of a field-level encryption item.
$sel:lastModifiedTime:FieldLevelEncryptionSummary'
, fieldLevelEncryptionSummary_lastModifiedTime
- The last time that the summary of field-level encryption items was
modified.
fieldLevelEncryptionSummary_queryArgProfileConfig :: Lens' FieldLevelEncryptionSummary (Maybe QueryArgProfileConfig) Source #
A summary of a query argument-profile mapping.
fieldLevelEncryptionSummary_contentTypeProfileConfig :: Lens' FieldLevelEncryptionSummary (Maybe ContentTypeProfileConfig) Source #
A summary of a content type-profile mapping.
fieldLevelEncryptionSummary_comment :: Lens' FieldLevelEncryptionSummary (Maybe Text) Source #
An optional comment about the field-level encryption item. The comment cannot be longer than 128 characters.
fieldLevelEncryptionSummary_id :: Lens' FieldLevelEncryptionSummary Text Source #
The unique ID of a field-level encryption item.
fieldLevelEncryptionSummary_lastModifiedTime :: 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: newFieldPatterns
smart constructor.
Instances
Create a value of FieldPatterns
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:FieldPatterns'
, fieldPatterns_items
- An array of the field-level encryption field patterns.
$sel:quantity:FieldPatterns'
, fieldPatterns_quantity
- The number of field-level encryption field patterns.
fieldPatterns_items :: Lens' FieldPatterns (Maybe [Text]) Source #
An array of the field-level encryption field patterns.
fieldPatterns_quantity :: Lens' FieldPatterns Int Source #
The number of field-level encryption field patterns.
ForwardedValues
data ForwardedValues Source #
This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.
If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.
If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.
A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.
See: newForwardedValues
smart constructor.
ForwardedValues' | |
|
Instances
:: Bool | |
-> CookiePreference | |
-> ForwardedValues |
Create a value of ForwardedValues
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:queryStringCacheKeys:ForwardedValues'
, forwardedValues_queryStringCacheKeys
- This field is deprecated. We recommend that you use a cache policy or an
origin request policy instead of this field.
If you want to include query strings in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.
If you want to send query strings to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.
A complex type that contains information about the query string parameters that you want CloudFront to use for caching for this cache behavior.
$sel:headers:ForwardedValues'
, forwardedValues_headers
- This field is deprecated. We recommend that you use a cache policy or an
origin request policy instead of this field.
If you want to include headers in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.
If you want to send headers to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.
A complex type that specifies the Headers
, if any, that you want
CloudFront to forward to the origin for this cache behavior (whitelisted
headers). For the headers that you specify, CloudFront also caches
separate versions of a specified object that is based on the header
values in viewer requests.
For more information, see Caching Content Based on Request Headers in the Amazon CloudFront Developer Guide.
$sel:queryString:ForwardedValues'
, forwardedValues_queryString
- This field is deprecated. We recommend that you use a cache policy or an
origin request policy instead of this field.
If you want to include query strings in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.
If you want to send query strings to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.
Indicates whether you want CloudFront to forward query strings to the
origin that is associated with this cache behavior and cache based on
the query string parameters. CloudFront behavior depends on the value of
QueryString
and on the values that you specify for
QueryStringCacheKeys
, if any:
If you specify true for QueryString
and you don't specify any values
for QueryStringCacheKeys
, CloudFront forwards all query string
parameters to the origin and caches based on all query string
parameters. Depending on how many query string parameters and values you
have, this can adversely affect performance because CloudFront must
forward more requests to the origin.
If you specify true for QueryString
and you specify one or more values
for QueryStringCacheKeys
, CloudFront forwards all query string
parameters to the origin, but it only caches based on the query string
parameters that you specify.
If you specify false for QueryString
, CloudFront doesn't forward any
query string parameters to the origin, and doesn't cache based on query
string parameters.
For more information, see Configuring CloudFront to Cache Based on Query String Parameters in the Amazon CloudFront Developer Guide.
$sel:cookies:ForwardedValues'
, forwardedValues_cookies
- This field is deprecated. We recommend that you use a cache policy or an
origin request policy instead of this field.
If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.
If you want to send cookies to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.
A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide.
forwardedValues_queryStringCacheKeys :: Lens' ForwardedValues (Maybe QueryStringCacheKeys) Source #
This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.
If you want to include query strings in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.
If you want to send query strings to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.
A complex type that contains information about the query string parameters that you want CloudFront to use for caching for this cache behavior.
forwardedValues_headers :: Lens' ForwardedValues (Maybe Headers) Source #
This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.
If you want to include headers in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.
If you want to send headers to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.
A complex type that specifies the Headers
, if any, that you want
CloudFront to forward to the origin for this cache behavior (whitelisted
headers). For the headers that you specify, CloudFront also caches
separate versions of a specified object that is based on the header
values in viewer requests.
For more information, see Caching Content Based on Request Headers in the Amazon CloudFront Developer Guide.
forwardedValues_queryString :: Lens' ForwardedValues Bool Source #
This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.
If you want to include query strings in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.
If you want to send query strings to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.
Indicates whether you want CloudFront to forward query strings to the
origin that is associated with this cache behavior and cache based on
the query string parameters. CloudFront behavior depends on the value of
QueryString
and on the values that you specify for
QueryStringCacheKeys
, if any:
If you specify true for QueryString
and you don't specify any values
for QueryStringCacheKeys
, CloudFront forwards all query string
parameters to the origin and caches based on all query string
parameters. Depending on how many query string parameters and values you
have, this can adversely affect performance because CloudFront must
forward more requests to the origin.
If you specify true for QueryString
and you specify one or more values
for QueryStringCacheKeys
, CloudFront forwards all query string
parameters to the origin, but it only caches based on the query string
parameters that you specify.
If you specify false for QueryString
, CloudFront doesn't forward any
query string parameters to the origin, and doesn't cache based on query
string parameters.
For more information, see Configuring CloudFront to Cache Based on Query String Parameters in the Amazon CloudFront Developer Guide.
forwardedValues_cookies :: Lens' ForwardedValues CookiePreference Source #
This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.
If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.
If you want to send cookies to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.
A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide.
FunctionAssociation
data FunctionAssociation Source #
A CloudFront function that is associated with a cache behavior in a CloudFront distribution.
See: newFunctionAssociation
smart constructor.
FunctionAssociation' | |
|
Instances
newFunctionAssociation Source #
:: Text | |
-> EventType | |
-> FunctionAssociation |
Create a value of FunctionAssociation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:functionARN:FunctionAssociation'
, functionAssociation_functionARN
- The Amazon Resource Name (ARN) of the function.
$sel:eventType:FunctionAssociation'
, functionAssociation_eventType
- The event type of the function, either viewer-request
or
viewer-response
. You cannot use origin-facing event types
(origin-request
and origin-response
) with a CloudFront function.
functionAssociation_functionARN :: Lens' FunctionAssociation Text Source #
The Amazon Resource Name (ARN) of the function.
functionAssociation_eventType :: Lens' FunctionAssociation EventType Source #
The event type of the function, either viewer-request
or
viewer-response
. You cannot use origin-facing event types
(origin-request
and origin-response
) with a CloudFront function.
FunctionAssociations
data FunctionAssociations Source #
A list of CloudFront functions that are associated with a cache behavior
in a CloudFront distribution. CloudFront functions must be published to
the LIVE
stage to associate them with a cache behavior.
See: newFunctionAssociations
smart constructor.
FunctionAssociations' | |
|
Instances
newFunctionAssociations Source #
Create a value of FunctionAssociations
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:FunctionAssociations'
, functionAssociations_items
- The CloudFront functions that are associated with a cache behavior in a
CloudFront distribution. CloudFront functions must be published to the
LIVE
stage to associate them with a cache behavior.
$sel:quantity:FunctionAssociations'
, functionAssociations_quantity
- The number of CloudFront functions in the list.
functionAssociations_items :: Lens' FunctionAssociations (Maybe [FunctionAssociation]) Source #
The CloudFront functions that are associated with a cache behavior in a
CloudFront distribution. CloudFront functions must be published to the
LIVE
stage to associate them with a cache behavior.
functionAssociations_quantity :: Lens' FunctionAssociations Int Source #
The number of CloudFront functions in the list.
FunctionConfig
data FunctionConfig Source #
Contains configuration information about a CloudFront function.
See: newFunctionConfig
smart constructor.
FunctionConfig' | |
|
Instances
Create a value of FunctionConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:comment:FunctionConfig'
, functionConfig_comment
- A comment to describe the function.
$sel:runtime:FunctionConfig'
, functionConfig_runtime
- The function’s runtime environment. The only valid value is
cloudfront-js-1.0
.
functionConfig_comment :: Lens' FunctionConfig Text Source #
A comment to describe the function.
functionConfig_runtime :: Lens' FunctionConfig FunctionRuntime Source #
The function’s runtime environment. The only valid value is
cloudfront-js-1.0
.
FunctionList
data FunctionList Source #
A list of CloudFront functions.
See: newFunctionList
smart constructor.
FunctionList' | |
|
Instances
Create a value of FunctionList
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:FunctionList'
, functionList_items
- Contains the functions in the list.
$sel:nextMarker:FunctionList'
, functionList_nextMarker
- If there are more items in the list than are in this response, this
element is present. It contains the value that you should use in the
Marker
field of a subsequent request to continue listing functions
where you left off.
$sel:maxItems:FunctionList'
, functionList_maxItems
- The maximum number of functions requested.
$sel:quantity:FunctionList'
, functionList_quantity
- The number of functions returned in the response.
functionList_items :: Lens' FunctionList (Maybe [FunctionSummary]) Source #
Contains the functions in the list.
functionList_nextMarker :: Lens' FunctionList (Maybe Text) Source #
If there are more items in the list than are in this response, this
element is present. It contains the value that you should use in the
Marker
field of a subsequent request to continue listing functions
where you left off.
functionList_maxItems :: Lens' FunctionList Int Source #
The maximum number of functions requested.
functionList_quantity :: Lens' FunctionList Int Source #
The number of functions returned in the response.
FunctionMetadata
data FunctionMetadata Source #
Contains metadata about a CloudFront function.
See: newFunctionMetadata
smart constructor.
FunctionMetadata' | |
|
Instances
:: Text | |
-> UTCTime | |
-> FunctionMetadata |
Create a value of FunctionMetadata
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:stage:FunctionMetadata'
, functionMetadata_stage
- The stage that the function is in, either DEVELOPMENT
or LIVE
.
When a function is in the DEVELOPMENT
stage, you can test the function
with TestFunction
, and update it with UpdateFunction
.
When a function is in the LIVE
stage, you can attach the function to a
distribution’s cache behavior, using the function’s ARN.
$sel:createdTime:FunctionMetadata'
, functionMetadata_createdTime
- The date and time when the function was created.
$sel:functionARN:FunctionMetadata'
, functionMetadata_functionARN
- The Amazon Resource Name (ARN) of the function. The ARN uniquely
identifies the function.
$sel:lastModifiedTime:FunctionMetadata'
, functionMetadata_lastModifiedTime
- The date and time when the function was most recently updated.
functionMetadata_stage :: Lens' FunctionMetadata (Maybe FunctionStage) Source #
The stage that the function is in, either DEVELOPMENT
or LIVE
.
When a function is in the DEVELOPMENT
stage, you can test the function
with TestFunction
, and update it with UpdateFunction
.
When a function is in the LIVE
stage, you can attach the function to a
distribution’s cache behavior, using the function’s ARN.
functionMetadata_createdTime :: Lens' FunctionMetadata (Maybe UTCTime) Source #
The date and time when the function was created.
functionMetadata_functionARN :: Lens' FunctionMetadata Text Source #
The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.
functionMetadata_lastModifiedTime :: Lens' FunctionMetadata UTCTime Source #
The date and time when the function was most recently updated.
FunctionSummary
data FunctionSummary Source #
Contains configuration information and metadata about a CloudFront function.
See: newFunctionSummary
smart constructor.
FunctionSummary' | |
|
Instances
Create a value of FunctionSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:FunctionSummary'
, functionSummary_status
- The status of the CloudFront function.
$sel:name:FunctionSummary'
, functionSummary_name
- The name of the CloudFront function.
$sel:functionConfig:FunctionSummary'
, functionSummary_functionConfig
- Contains configuration information about a CloudFront function.
$sel:functionMetadata:FunctionSummary'
, functionSummary_functionMetadata
- Contains metadata about a CloudFront function.
functionSummary_status :: Lens' FunctionSummary (Maybe Text) Source #
The status of the CloudFront function.
functionSummary_name :: Lens' FunctionSummary Text Source #
The name of the CloudFront function.
functionSummary_functionConfig :: Lens' FunctionSummary FunctionConfig Source #
Contains configuration information about a CloudFront function.
functionSummary_functionMetadata :: Lens' FunctionSummary FunctionMetadata Source #
Contains metadata about a CloudFront function.
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: newGeoRestriction
smart constructor.
GeoRestriction' | |
|
Instances
:: GeoRestrictionType | |
-> Int | |
-> GeoRestriction |
Create a value of GeoRestriction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:GeoRestriction'
, geoRestriction_items
- A complex type that contains a Location
element for each country in
which you want CloudFront either to distribute your content
(whitelist
) or not distribute your content (blacklist
).
The Location
element is a two-letter, uppercase country code for a
country that you want to include in your blacklist
or whitelist
.
Include one Location
element for each country.
CloudFront and MaxMind
both use ISO 3166
country codes. For the
current list of countries and the corresponding codes, see
ISO 3166-1-alpha-2
code on the /International Organization for
Standardization/ website. You can also refer to the country list on the
CloudFront console, which includes both country names and codes.
$sel:restrictionType:GeoRestriction'
, geoRestriction_restrictionType
- The method that you want to use to restrict distribution of your content
by country:
none
: No geo restriction is enabled, meaning access to content is not restricted by client geo location.blacklist
: 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.
$sel:quantity:GeoRestriction'
, geoRestriction_quantity
- When geo restriction is enabled
, this is the number of countries in
your whitelist
or blacklist
. Otherwise, when it is not enabled,
Quantity
is 0
, and you can omit Items
.
geoRestriction_items :: Lens' GeoRestriction (Maybe [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.
geoRestriction_restrictionType :: 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
: 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.
geoRestriction_quantity :: 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
Contains a list of HTTP header names.
See: newHeaders
smart constructor.
Instances
Eq Headers Source # | |
Read Headers Source # | |
Show Headers Source # | |
Generic Headers Source # | |
NFData Headers Source # | |
Defined in Amazonka.CloudFront.Types.Headers | |
Hashable Headers Source # | |
Defined in Amazonka.CloudFront.Types.Headers | |
FromXML Headers Source # | |
ToXML Headers Source # | |
Defined in Amazonka.CloudFront.Types.Headers | |
type Rep Headers Source # | |
Defined in Amazonka.CloudFront.Types.Headers type Rep Headers = D1 ('MetaData "Headers" "Amazonka.CloudFront.Types.Headers" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "Headers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
Create a value of Headers
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:Headers'
, headers_items
- A list of HTTP header names.
$sel:quantity:Headers'
, headers_quantity
- The number of header names in the Items
list.
Invalidation
data Invalidation Source #
An invalidation.
See: newInvalidation
smart constructor.
Invalidation' | |
|
Instances
:: Text | |
-> Text | |
-> UTCTime | |
-> InvalidationBatch | |
-> Invalidation |
Create a value of Invalidation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:Invalidation'
, invalidation_id
- The identifier for the invalidation request. For example:
IDFDVBD632BHDS5
.
$sel:status:Invalidation'
, invalidation_status
- The status of the invalidation request. When the invalidation batch is
finished, the status is Completed
.
$sel:createTime:Invalidation'
, invalidation_createTime
- The date and time the invalidation request was first made.
$sel:invalidationBatch:Invalidation'
, invalidation_invalidationBatch
- The current invalidation information for the batch request.
invalidation_id :: Lens' Invalidation Text Source #
The identifier for the invalidation request. For example:
IDFDVBD632BHDS5
.
invalidation_status :: Lens' Invalidation Text Source #
The status of the invalidation request. When the invalidation batch is
finished, the status is Completed
.
invalidation_createTime :: Lens' Invalidation UTCTime Source #
The date and time the invalidation request was first made.
invalidation_invalidationBatch :: Lens' Invalidation InvalidationBatch Source #
The current invalidation information for the batch request.
InvalidationBatch
data InvalidationBatch Source #
An invalidation batch.
See: newInvalidationBatch
smart constructor.
InvalidationBatch' | |
|
Instances
:: Paths | |
-> Text | |
-> InvalidationBatch |
Create a value of InvalidationBatch
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:paths:InvalidationBatch'
, invalidationBatch_paths
- A complex type that contains information about the objects that you want
to invalidate. For more information, see
Specifying the Objects to Invalidate
in the Amazon CloudFront Developer Guide.
$sel:callerReference:InvalidationBatch'
, invalidationBatch_callerReference
- A value that you specify to uniquely identify an invalidation request.
CloudFront uses the value to prevent you from accidentally resubmitting
an identical request. Whenever you create a new invalidation request,
you must specify a new value for CallerReference
and change other
values in the request as applicable. One way to ensure that the value of
CallerReference
is unique is to use a timestamp
, for example,
20120301090000
.
If you make a second invalidation request with the same value for
CallerReference
, and if the rest of the request is the same,
CloudFront doesn't create a new invalidation request. Instead,
CloudFront returns information about the invalidation request that you
previously created with the same CallerReference
.
If CallerReference
is a value you already sent in a previous
invalidation batch request but the content of any Path
is different
from the original request, CloudFront returns an
InvalidationBatchAlreadyExists
error.
invalidationBatch_paths :: 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.
invalidationBatch_callerReference :: 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: newInvalidationList
smart constructor.
InvalidationList' | |
|
Instances
:: Text | |
-> Int | |
-> Bool | |
-> Int | |
-> InvalidationList |
Create a value of InvalidationList
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:InvalidationList'
, invalidationList_items
- A complex type that contains one InvalidationSummary
element for each
invalidation batch created by the current account.
$sel:nextMarker:InvalidationList'
, invalidationList_nextMarker
- If IsTruncated
is true
, this element is present and contains the
value that you can use for the Marker
request parameter to continue
listing your invalidation batches where they left off.
$sel:marker:InvalidationList'
, invalidationList_marker
- The value that you provided for the Marker
request parameter.
$sel:maxItems:InvalidationList'
, invalidationList_maxItems
- The value that you provided for the MaxItems
request parameter.
$sel:isTruncated:InvalidationList'
, invalidationList_isTruncated
- A flag that indicates whether more invalidation batch requests remain to
be listed. If your results were truncated, you can make a follow-up
pagination request using the Marker
request parameter to retrieve more
invalidation batches in the list.
$sel:quantity:InvalidationList'
, invalidationList_quantity
- The number of invalidation batches that were created by the current
account.
invalidationList_items :: Lens' InvalidationList (Maybe [InvalidationSummary]) Source #
A complex type that contains one InvalidationSummary
element for each
invalidation batch created by the current account.
invalidationList_nextMarker :: 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.
invalidationList_marker :: Lens' InvalidationList Text Source #
The value that you provided for the Marker
request parameter.
invalidationList_maxItems :: Lens' InvalidationList Int Source #
The value that you provided for the MaxItems
request parameter.
invalidationList_isTruncated :: 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.
invalidationList_quantity :: Lens' InvalidationList Int Source #
The number of invalidation batches that were created by the current account.
InvalidationSummary
data InvalidationSummary Source #
A summary of an invalidation request.
See: newInvalidationSummary
smart constructor.
Instances
newInvalidationSummary Source #
:: Text | |
-> UTCTime | |
-> Text | |
-> InvalidationSummary |
Create a value of InvalidationSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:InvalidationSummary'
, invalidationSummary_id
- The unique ID for an invalidation request.
$sel:createTime:InvalidationSummary'
, invalidationSummary_createTime
- The time that an invalidation request was created.
$sel:status:InvalidationSummary'
, invalidationSummary_status
- The status of an invalidation request.
invalidationSummary_id :: Lens' InvalidationSummary Text Source #
The unique ID for an invalidation request.
invalidationSummary_createTime :: Lens' InvalidationSummary UTCTime Source #
The time that an invalidation request was created.
invalidationSummary_status :: Lens' InvalidationSummary Text Source #
The status of an invalidation request.
KGKeyPairIds
data KGKeyPairIds Source #
A list of identifiers for the public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies.
See: newKGKeyPairIds
smart constructor.
KGKeyPairIds' | |
|
Instances
newKGKeyPairIds :: KGKeyPairIds Source #
Create a value of KGKeyPairIds
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:keyPairIds:KGKeyPairIds'
, kGKeyPairIds_keyPairIds
- Undocumented member.
$sel:keyGroupId:KGKeyPairIds'
, kGKeyPairIds_keyGroupId
- The identifier of the key group that contains the public keys.
kGKeyPairIds_keyPairIds :: Lens' KGKeyPairIds (Maybe KeyPairIds) Source #
Undocumented member.
kGKeyPairIds_keyGroupId :: Lens' KGKeyPairIds (Maybe Text) Source #
The identifier of the key group that contains the public keys.
KeyGroup
A key group.
A key group contains a list of public keys that you can use with CloudFront signed URLs and signed cookies.
See: newKeyGroup
smart constructor.
KeyGroup' | |
|
Instances
Eq KeyGroup Source # | |
Read KeyGroup Source # | |
Show KeyGroup Source # | |
Generic KeyGroup Source # | |
NFData KeyGroup Source # | |
Defined in Amazonka.CloudFront.Types.KeyGroup | |
Hashable KeyGroup Source # | |
Defined in Amazonka.CloudFront.Types.KeyGroup | |
FromXML KeyGroup Source # | |
type Rep KeyGroup Source # | |
Defined in Amazonka.CloudFront.Types.KeyGroup type Rep KeyGroup = D1 ('MetaData "KeyGroup" "Amazonka.CloudFront.Types.KeyGroup" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "KeyGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "keyGroupConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 KeyGroupConfig)))) |
:: Text | |
-> UTCTime | |
-> KeyGroupConfig | |
-> KeyGroup |
Create a value of KeyGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:KeyGroup'
, keyGroup_id
- The identifier for the key group.
$sel:lastModifiedTime:KeyGroup'
, keyGroup_lastModifiedTime
- The date and time when the key group was last modified.
$sel:keyGroupConfig:KeyGroup'
, keyGroup_keyGroupConfig
- The key group configuration.
keyGroup_lastModifiedTime :: Lens' KeyGroup UTCTime Source #
The date and time when the key group was last modified.
keyGroup_keyGroupConfig :: Lens' KeyGroup KeyGroupConfig Source #
The key group configuration.
KeyGroupConfig
data KeyGroupConfig Source #
A key group configuration.
A key group contains a list of public keys that you can use with CloudFront signed URLs and signed cookies.
See: newKeyGroupConfig
smart constructor.
Instances
Create a value of KeyGroupConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:comment:KeyGroupConfig'
, keyGroupConfig_comment
- A comment to describe the key group. The comment cannot be longer than
128 characters.
$sel:name:KeyGroupConfig'
, keyGroupConfig_name
- A name to identify the key group.
$sel:items:KeyGroupConfig'
, keyGroupConfig_items
- A list of the identifiers of the public keys in the key group.
keyGroupConfig_comment :: Lens' KeyGroupConfig (Maybe Text) Source #
A comment to describe the key group. The comment cannot be longer than 128 characters.
keyGroupConfig_name :: Lens' KeyGroupConfig Text Source #
A name to identify the key group.
keyGroupConfig_items :: Lens' KeyGroupConfig [Text] Source #
A list of the identifiers of the public keys in the key group.
KeyGroupList
data KeyGroupList Source #
A list of key groups.
See: newKeyGroupList
smart constructor.
KeyGroupList' | |
|
Instances
Create a value of KeyGroupList
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:KeyGroupList'
, keyGroupList_items
- A list of key groups.
$sel:nextMarker:KeyGroupList'
, keyGroupList_nextMarker
- If there are more items in the list than are in this response, this
element is present. It contains the value that you should use in the
Marker
field of a subsequent request to continue listing key groups.
$sel:maxItems:KeyGroupList'
, keyGroupList_maxItems
- The maximum number of key groups requested.
$sel:quantity:KeyGroupList'
, keyGroupList_quantity
- The number of key groups returned in the response.
keyGroupList_items :: Lens' KeyGroupList (Maybe [KeyGroupSummary]) Source #
A list of key groups.
keyGroupList_nextMarker :: Lens' KeyGroupList (Maybe Text) Source #
If there are more items in the list than are in this response, this
element is present. It contains the value that you should use in the
Marker
field of a subsequent request to continue listing key groups.
keyGroupList_maxItems :: Lens' KeyGroupList Int Source #
The maximum number of key groups requested.
keyGroupList_quantity :: Lens' KeyGroupList Int Source #
The number of key groups returned in the response.
KeyGroupSummary
data KeyGroupSummary Source #
Contains information about a key group.
See: newKeyGroupSummary
smart constructor.
Instances
Create a value of KeyGroupSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:keyGroup:KeyGroupSummary'
, keyGroupSummary_keyGroup
- A key group.
keyGroupSummary_keyGroup :: Lens' KeyGroupSummary KeyGroup Source #
A key group.
KeyPairIds
data KeyPairIds Source #
A list of CloudFront key pair identifiers.
See: newKeyPairIds
smart constructor.
Instances
Create a value of KeyPairIds
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:KeyPairIds'
, keyPairIds_items
- A list of CloudFront key pair identifiers.
$sel:quantity:KeyPairIds'
, keyPairIds_quantity
- The number of key pair identifiers in the list.
keyPairIds_items :: Lens' KeyPairIds (Maybe [Text]) Source #
A list of CloudFront key pair identifiers.
keyPairIds_quantity :: Lens' KeyPairIds Int Source #
The number of key pair identifiers in the list.
KinesisStreamConfig
data KinesisStreamConfig Source #
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
See: newKinesisStreamConfig
smart constructor.
KinesisStreamConfig' | |
|
Instances
newKinesisStreamConfig Source #
:: Text | |
-> Text | |
-> KinesisStreamConfig |
Create a value of KinesisStreamConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:roleARN:KinesisStreamConfig'
, kinesisStreamConfig_roleARN
- The Amazon Resource Name (ARN) of an Identity and Access Management
(IAM) role that CloudFront can use to send real-time log data to your
Kinesis data stream.
For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide.
$sel:streamARN:KinesisStreamConfig'
, kinesisStreamConfig_streamARN
- The Amazon Resource Name (ARN) of the Kinesis data stream where you are
sending real-time log data.
kinesisStreamConfig_roleARN :: Lens' KinesisStreamConfig Text Source #
The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream.
For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide.
kinesisStreamConfig_streamARN :: Lens' KinesisStreamConfig Text Source #
The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.
LambdaFunctionAssociation
data LambdaFunctionAssociation Source #
A complex type that contains a Lambda@Edge function association.
See: newLambdaFunctionAssociation
smart constructor.
LambdaFunctionAssociation' | |
|
Instances
newLambdaFunctionAssociation Source #
Create a value of LambdaFunctionAssociation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:includeBody:LambdaFunctionAssociation'
, lambdaFunctionAssociation_includeBody
- A flag that allows a Lambda@Edge function to have read access to the
body content. For more information, see
Accessing the Request Body by Choosing the Include Body Option
in the Amazon CloudFront Developer Guide.
$sel:lambdaFunctionARN:LambdaFunctionAssociation'
, lambdaFunctionAssociation_lambdaFunctionARN
- The ARN of the Lambda@Edge function. You must specify the ARN of a
function version; you can't specify an alias or $LATEST.
$sel:eventType:LambdaFunctionAssociation'
, lambdaFunctionAssociation_eventType
- Specifies the event type that triggers a Lambda@Edge function
invocation. You can specify the following values:
viewer-request
: The function executes when CloudFront receives a request from a viewer and before it checks to see whether the requested object is in the edge cache.origin-request
: The function executes only when CloudFront sends a request to your origin. When the requested object is in the edge cache, the function doesn't execute.origin-response
: The function executes after CloudFront receives a response from the origin and before it caches the object in the response. When the requested object is in the edge cache, the function doesn't execute.viewer-response
: The function executes before CloudFront returns the requested object to the viewer. The function executes regardless of whether the object was already in the edge cache.If the origin returns an HTTP status code other than HTTP 200 (OK), the function doesn't execute.
lambdaFunctionAssociation_includeBody :: Lens' LambdaFunctionAssociation (Maybe Bool) Source #
A flag that allows a Lambda@Edge function to have read access to the body content. For more information, see Accessing the Request Body by Choosing the Include Body Option in the Amazon CloudFront Developer Guide.
lambdaFunctionAssociation_lambdaFunctionARN :: Lens' LambdaFunctionAssociation Text Source #
The ARN of the Lambda@Edge function. You must specify the ARN of a function version; you can't specify an alias or $LATEST.
lambdaFunctionAssociation_eventType :: Lens' LambdaFunctionAssociation EventType Source #
Specifies the event type that triggers a Lambda@Edge function invocation. You can specify the following values:
viewer-request
: The function executes when CloudFront receives a request from a viewer and before it checks to see whether the requested object is in the edge cache.origin-request
: The function executes only when CloudFront sends a request to your origin. When the requested object is in the edge cache, the function doesn't execute.origin-response
: The function executes after CloudFront receives a response from the origin and before it caches the object in the response. When the requested object is in the edge cache, the function doesn't execute.viewer-response
: The function executes before CloudFront returns the requested object to the viewer. The function executes regardless of whether the object was already in the edge cache.If the origin returns an HTTP status code other than HTTP 200 (OK), the function doesn't execute.
LambdaFunctionAssociations
data LambdaFunctionAssociations Source #
A complex type that specifies a list of Lambda@Edge functions associations for a cache behavior.
If you want to invoke one or more Lambda@Edge functions triggered by
requests that match the PathPattern
of the cache behavior, specify the
applicable values for Quantity
and Items
. Note that there can be up
to 4 LambdaFunctionAssociation
items in this list (one for each
possible value of EventType
) and each EventType
can be associated
with only one function.
If you don't want to invoke any Lambda@Edge functions for the requests
that match PathPattern
, specify 0
for Quantity
and omit Items
.
See: newLambdaFunctionAssociations
smart constructor.
LambdaFunctionAssociations' | |
|
Instances
newLambdaFunctionAssociations Source #
Create a value of LambdaFunctionAssociations
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:LambdaFunctionAssociations'
, lambdaFunctionAssociations_items
- Optional: A complex type that contains LambdaFunctionAssociation
items for this cache behavior. If Quantity
is 0
, you can omit
Items
.
$sel:quantity:LambdaFunctionAssociations'
, lambdaFunctionAssociations_quantity
- The number of Lambda@Edge function associations for this cache
behavior.
lambdaFunctionAssociations_items :: Lens' LambdaFunctionAssociations (Maybe [LambdaFunctionAssociation]) Source #
Optional: A complex type that contains LambdaFunctionAssociation
items for this cache behavior. If Quantity
is 0
, you can omit
Items
.
lambdaFunctionAssociations_quantity :: Lens' LambdaFunctionAssociations Int Source #
The number of Lambda@Edge function associations for this cache behavior.
LoggingConfig
data LoggingConfig Source #
A complex type that controls whether access logs are written for the distribution.
See: newLoggingConfig
smart constructor.
LoggingConfig' | |
|
Instances
:: Bool | |
-> Bool | |
-> Text | |
-> Text | |
-> LoggingConfig |
Create a value of LoggingConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:enabled:LoggingConfig'
, loggingConfig_enabled
- Specifies whether you want CloudFront to save access logs to an Amazon
S3 bucket. If you don't want to enable logging when you create a
distribution or if you want to disable logging for an existing
distribution, specify false
for Enabled
, and specify empty Bucket
and Prefix
elements. If you specify false
for Enabled
but you
specify values for Bucket
, prefix
, and IncludeCookies
, the values
are automatically deleted.
$sel:includeCookies:LoggingConfig'
, loggingConfig_includeCookies
- Specifies whether you want CloudFront to include cookies in access logs,
specify true
for IncludeCookies
. If you choose to include cookies in
logs, CloudFront logs all cookies regardless of how you configure the
cache behaviors for this distribution. If you don't want to include
cookies when you create a distribution or if you want to disable include
cookies for an existing distribution, specify false
for
IncludeCookies
.
$sel:bucket:LoggingConfig'
, loggingConfig_bucket
- The Amazon S3 bucket to store the access logs in, for example,
myawslogbucket.s3.amazonaws.com
.
$sel:prefix:LoggingConfig'
, loggingConfig_prefix
- An optional string that you want CloudFront to prefix to the access log
filenames
for this distribution, for example, myprefix/
. If you
want to enable logging, but you don't want to specify a prefix, you
still must include an empty Prefix
element in the Logging
element.
loggingConfig_enabled :: 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.
loggingConfig_includeCookies :: 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
.
loggingConfig_bucket :: Lens' LoggingConfig Text Source #
The Amazon S3 bucket to store the access logs in, for example,
myawslogbucket.s3.amazonaws.com
.
loggingConfig_prefix :: 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.
MonitoringSubscription
data MonitoringSubscription Source #
A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.
See: newMonitoringSubscription
smart constructor.
MonitoringSubscription' | |
|
Instances
newMonitoringSubscription :: MonitoringSubscription Source #
Create a value of MonitoringSubscription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:realtimeMetricsSubscriptionConfig:MonitoringSubscription'
, monitoringSubscription_realtimeMetricsSubscriptionConfig
- A subscription configuration for additional CloudWatch metrics.
monitoringSubscription_realtimeMetricsSubscriptionConfig :: Lens' MonitoringSubscription (Maybe RealtimeMetricsSubscriptionConfig) Source #
A subscription configuration for additional CloudWatch metrics.
Origin
An origin.
An origin is the location where content is stored, and from which CloudFront gets content to serve to viewers. To specify an origin:
- Use
S3OriginConfig
to specify an Amazon S3 bucket that is not configured with static website hosting. Use
CustomOriginConfig
to specify all other kinds of origins, including:- An Amazon S3 bucket that is configured with static website hosting
- An Elastic Load Balancing load balancer
- An AWS Elemental MediaPackage endpoint
- An AWS Elemental MediaStore container
- Any other HTTP server, running on an Amazon EC2 instance or any other kind of host
For the current maximum number of origins that you can specify per distribution, see General Quotas on Web Distributions in the Amazon CloudFront Developer Guide (quotas were formerly referred to as limits).
See: newOrigin
smart constructor.
Origin' | |
|
Instances
Create a value of Origin
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:customHeaders:Origin'
, origin_customHeaders
- A list of HTTP header names and values that CloudFront adds to the
requests that it sends to the origin.
For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.
$sel:customOriginConfig:Origin'
, origin_customOriginConfig
- Use this type to specify an origin that is not an Amazon S3 bucket, with
one exception. If the Amazon S3 bucket is configured with static website
hosting, use this type. If the Amazon S3 bucket is not configured with
static website hosting, use the S3OriginConfig
type instead.
$sel:connectionTimeout:Origin'
, origin_connectionTimeout
- The number of seconds that CloudFront waits when trying to establish a
connection to the origin. The minimum timeout is 1 second, the maximum
is 10 seconds, and the default (if you don’t specify otherwise) is 10
seconds.
For more information, see Origin Connection Timeout in the Amazon CloudFront Developer Guide.
$sel:connectionAttempts:Origin'
, origin_connectionAttempts
- The number of times that CloudFront attempts to connect to the origin.
The minimum number is 1, the maximum is 3, and the default (if you don’t
specify otherwise) is 3.
For a custom origin (including an Amazon S3 bucket that’s configured with static website hosting), this value also specifies the number of times that CloudFront attempts to get a response from the origin, in the case of an Origin Response Timeout.
For more information, see Origin Connection Attempts in the Amazon CloudFront Developer Guide.
$sel:s3OriginConfig:Origin'
, origin_s3OriginConfig
- Use this type to specify an origin that is an Amazon S3 bucket that is
not configured with static website hosting. To specify any other type of
origin, including an Amazon S3 bucket that is configured with static
website hosting, use the CustomOriginConfig
type instead.
$sel:originPath:Origin'
, origin_originPath
- An optional path that CloudFront appends to the origin domain name when
CloudFront requests content from the origin.
For more information, see Origin Path in the Amazon CloudFront Developer Guide.
$sel:originShield:Origin'
, origin_originShield
- CloudFront Origin Shield. Using Origin Shield can help reduce the load
on your origin.
For more information, see Using Origin Shield in the Amazon CloudFront Developer Guide.
$sel:id:Origin'
, origin_id
- A unique identifier for the origin. This value must be unique within the
distribution.
Use this value to specify the TargetOriginId
in a CacheBehavior
or
DefaultCacheBehavior
.
$sel:domainName:Origin'
, origin_domainName
- The domain name for the origin.
For more information, see Origin Domain Name in the Amazon CloudFront Developer Guide.
origin_customHeaders :: Lens' Origin (Maybe CustomHeaders) Source #
A list of HTTP header names and values that CloudFront adds to the requests that it sends to the origin.
For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.
origin_customOriginConfig :: Lens' Origin (Maybe CustomOriginConfig) Source #
Use this type to specify an origin that is not an Amazon S3 bucket, with
one exception. If the Amazon S3 bucket is configured with static website
hosting, use this type. If the Amazon S3 bucket is not configured with
static website hosting, use the S3OriginConfig
type instead.
origin_connectionTimeout :: Lens' Origin (Maybe Int) Source #
The number of seconds that CloudFront waits when trying to establish a connection to the origin. The minimum timeout is 1 second, the maximum is 10 seconds, and the default (if you don’t specify otherwise) is 10 seconds.
For more information, see Origin Connection Timeout in the Amazon CloudFront Developer Guide.
origin_connectionAttempts :: Lens' Origin (Maybe Int) Source #
The number of times that CloudFront attempts to connect to the origin. The minimum number is 1, the maximum is 3, and the default (if you don’t specify otherwise) is 3.
For a custom origin (including an Amazon S3 bucket that’s configured with static website hosting), this value also specifies the number of times that CloudFront attempts to get a response from the origin, in the case of an Origin Response Timeout.
For more information, see Origin Connection Attempts in the Amazon CloudFront Developer Guide.
origin_s3OriginConfig :: Lens' Origin (Maybe S3OriginConfig) Source #
Use this type to specify an origin that is an Amazon S3 bucket that is
not configured with static website hosting. To specify any other type of
origin, including an Amazon S3 bucket that is configured with static
website hosting, use the CustomOriginConfig
type instead.
origin_originPath :: Lens' Origin (Maybe Text) Source #
An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
For more information, see Origin Path in the Amazon CloudFront Developer Guide.
origin_originShield :: Lens' Origin (Maybe OriginShield) Source #
CloudFront Origin Shield. Using Origin Shield can help reduce the load on your origin.
For more information, see Using Origin Shield in the Amazon CloudFront Developer Guide.
origin_id :: Lens' Origin Text Source #
A unique identifier for the origin. This value must be unique within the distribution.
Use this value to specify the TargetOriginId
in a CacheBehavior
or
DefaultCacheBehavior
.
origin_domainName :: Lens' Origin Text Source #
The domain name for the origin.
For more information, see Origin Domain Name in the Amazon CloudFront Developer Guide.
OriginCustomHeader
data OriginCustomHeader Source #
A complex type that contains HeaderName
and HeaderValue
elements, if
any, for this distribution.
See: newOriginCustomHeader
smart constructor.
OriginCustomHeader' | |
|
Instances
newOriginCustomHeader Source #
:: Text | |
-> Text | |
-> OriginCustomHeader |
Create a value of OriginCustomHeader
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:headerName:OriginCustomHeader'
, originCustomHeader_headerName
- The name of a header that you want CloudFront to send to your origin.
For more information, see
Adding Custom Headers to Origin Requests
in the Amazon CloudFront Developer Guide.
$sel:headerValue:OriginCustomHeader'
, originCustomHeader_headerValue
- The value for the header that you specified in the HeaderName
field.
originCustomHeader_headerName :: Lens' OriginCustomHeader Text Source #
The name of a header that you want CloudFront to send to your origin. For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.
originCustomHeader_headerValue :: Lens' OriginCustomHeader Text Source #
The value for the header that you specified in the HeaderName
field.
OriginGroup
data OriginGroup Source #
An origin group includes two origins (a primary origin and a second origin to failover to) and a failover criteria that you specify. You create an origin group to support origin failover in CloudFront. When you create or update a distribution, you can specifiy the origin group instead of a single origin, and CloudFront will failover from the primary origin to the second origin under the failover conditions that you've chosen.
See: newOriginGroup
smart constructor.
OriginGroup' | |
|
Instances
Create a value of OriginGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:OriginGroup'
, originGroup_id
- The origin group's ID.
$sel:failoverCriteria:OriginGroup'
, originGroup_failoverCriteria
- A complex type that contains information about the failover criteria for
an origin group.
$sel:members:OriginGroup'
, originGroup_members
- A complex type that contains information about the origins in an origin
group.
originGroup_id :: Lens' OriginGroup Text Source #
The origin group's ID.
originGroup_failoverCriteria :: Lens' OriginGroup OriginGroupFailoverCriteria Source #
A complex type that contains information about the failover criteria for an origin group.
originGroup_members :: Lens' OriginGroup OriginGroupMembers Source #
A complex type that contains information about the origins in an origin group.
OriginGroupFailoverCriteria
data OriginGroupFailoverCriteria Source #
A complex data type that includes information about the failover criteria for an origin group, including the status codes for which CloudFront will failover from the primary origin to the second origin.
See: newOriginGroupFailoverCriteria
smart constructor.
OriginGroupFailoverCriteria' | |
|
Instances
newOriginGroupFailoverCriteria Source #
Create a value of OriginGroupFailoverCriteria
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:statusCodes:OriginGroupFailoverCriteria'
, originGroupFailoverCriteria_statusCodes
- The status codes that, when returned from the primary origin, will
trigger CloudFront to failover to the second origin.
originGroupFailoverCriteria_statusCodes :: Lens' OriginGroupFailoverCriteria StatusCodes Source #
The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin.
OriginGroupMember
data OriginGroupMember Source #
An origin in an origin group.
See: newOriginGroupMember
smart constructor.
Instances
Create a value of OriginGroupMember
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:originId:OriginGroupMember'
, originGroupMember_originId
- The ID for an origin in an origin group.
originGroupMember_originId :: Lens' OriginGroupMember Text Source #
The ID for an origin in an origin group.
OriginGroupMembers
data OriginGroupMembers Source #
A complex data type for the origins included in an origin group.
See: newOriginGroupMembers
smart constructor.
OriginGroupMembers' | |
|
Instances
newOriginGroupMembers Source #
Create a value of OriginGroupMembers
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:quantity:OriginGroupMembers'
, originGroupMembers_quantity
- The number of origins in an origin group.
$sel:items:OriginGroupMembers'
, originGroupMembers_items
- Items (origins) in an origin group.
originGroupMembers_quantity :: Lens' OriginGroupMembers Int Source #
The number of origins in an origin group.
originGroupMembers_items :: Lens' OriginGroupMembers (NonEmpty OriginGroupMember) Source #
Items (origins) in an origin group.
OriginGroups
data OriginGroups Source #
A complex data type for the origin groups specified for a distribution.
See: newOriginGroups
smart constructor.
OriginGroups' | |
|
Instances
Create a value of OriginGroups
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:OriginGroups'
, originGroups_items
- The items (origin groups) in a distribution.
$sel:quantity:OriginGroups'
, originGroups_quantity
- The number of origin groups.
originGroups_items :: Lens' OriginGroups (Maybe [OriginGroup]) Source #
The items (origin groups) in a distribution.
originGroups_quantity :: Lens' OriginGroups Int Source #
The number of origin groups.
OriginRequestPolicy
data OriginRequestPolicy Source #
An origin request policy.
When it’s attached to a cache behavior, the origin request policy determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following:
- The request body and the URL path (without the domain name) from the viewer request.
- The headers that CloudFront automatically includes in every origin
request, including
Host
,User-Agent
, andX-Amz-Cf-Id
. - All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request policy. These can include items from the viewer request and, in the case of headers, additional ones that are added by CloudFront.
CloudFront sends a request when it can’t find an object in its cache
that matches the request. If you want to send values to the origin and
also include them in the cache key, use CachePolicy
.
See: newOriginRequestPolicy
smart constructor.
OriginRequestPolicy' | |
|
Instances
newOriginRequestPolicy Source #
Create a value of OriginRequestPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:OriginRequestPolicy'
, originRequestPolicy_id
- The unique identifier for the origin request policy.
$sel:lastModifiedTime:OriginRequestPolicy'
, originRequestPolicy_lastModifiedTime
- The date and time when the origin request policy was last modified.
$sel:originRequestPolicyConfig:OriginRequestPolicy'
, originRequestPolicy_originRequestPolicyConfig
- The origin request policy configuration.
originRequestPolicy_id :: Lens' OriginRequestPolicy Text Source #
The unique identifier for the origin request policy.
originRequestPolicy_lastModifiedTime :: Lens' OriginRequestPolicy UTCTime Source #
The date and time when the origin request policy was last modified.
originRequestPolicy_originRequestPolicyConfig :: Lens' OriginRequestPolicy OriginRequestPolicyConfig Source #
The origin request policy configuration.
OriginRequestPolicyConfig
data OriginRequestPolicyConfig Source #
An origin request policy configuration.
This configuration determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following:
- The request body and the URL path (without the domain name) from the viewer request.
- The headers that CloudFront automatically includes in every origin
request, including
Host
,User-Agent
, andX-Amz-Cf-Id
. - All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request policy. These can include items from the viewer request and, in the case of headers, additional ones that are added by CloudFront.
CloudFront sends a request when it can’t find an object in its cache
that matches the request. If you want to send values to the origin and
also include them in the cache key, use CachePolicy
.
See: newOriginRequestPolicyConfig
smart constructor.
OriginRequestPolicyConfig' | |
|
Instances
newOriginRequestPolicyConfig Source #
:: Text | |
-> OriginRequestPolicyHeadersConfig | |
-> OriginRequestPolicyCookiesConfig | |
-> OriginRequestPolicyQueryStringsConfig | |
-> OriginRequestPolicyConfig |
Create a value of OriginRequestPolicyConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:comment:OriginRequestPolicyConfig'
, originRequestPolicyConfig_comment
- A comment to describe the origin request policy. The comment cannot be
longer than 128 characters.
$sel:name:OriginRequestPolicyConfig'
, originRequestPolicyConfig_name
- A unique name to identify the origin request policy.
$sel:headersConfig:OriginRequestPolicyConfig'
, originRequestPolicyConfig_headersConfig
- The HTTP headers to include in origin requests. These can include
headers from viewer requests and additional headers added by CloudFront.
$sel:cookiesConfig:OriginRequestPolicyConfig'
, originRequestPolicyConfig_cookiesConfig
- The cookies from viewer requests to include in origin requests.
$sel:queryStringsConfig:OriginRequestPolicyConfig'
, originRequestPolicyConfig_queryStringsConfig
- The URL query strings from viewer requests to include in origin
requests.
originRequestPolicyConfig_comment :: Lens' OriginRequestPolicyConfig (Maybe Text) Source #
A comment to describe the origin request policy. The comment cannot be longer than 128 characters.
originRequestPolicyConfig_name :: Lens' OriginRequestPolicyConfig Text Source #
A unique name to identify the origin request policy.
originRequestPolicyConfig_headersConfig :: Lens' OriginRequestPolicyConfig OriginRequestPolicyHeadersConfig Source #
The HTTP headers to include in origin requests. These can include headers from viewer requests and additional headers added by CloudFront.
originRequestPolicyConfig_cookiesConfig :: Lens' OriginRequestPolicyConfig OriginRequestPolicyCookiesConfig Source #
The cookies from viewer requests to include in origin requests.
originRequestPolicyConfig_queryStringsConfig :: Lens' OriginRequestPolicyConfig OriginRequestPolicyQueryStringsConfig Source #
The URL query strings from viewer requests to include in origin requests.
OriginRequestPolicyCookiesConfig
data OriginRequestPolicyCookiesConfig Source #
An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in requests that CloudFront sends to the origin.
See: newOriginRequestPolicyCookiesConfig
smart constructor.
OriginRequestPolicyCookiesConfig' | |
|
Instances
newOriginRequestPolicyCookiesConfig Source #
Create a value of OriginRequestPolicyCookiesConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cookies:OriginRequestPolicyCookiesConfig'
, originRequestPolicyCookiesConfig_cookies
- Undocumented member.
$sel:cookieBehavior:OriginRequestPolicyCookiesConfig'
, originRequestPolicyCookiesConfig_cookieBehavior
- Determines whether cookies in viewer requests are included in requests
that CloudFront sends to the origin. Valid values are:
none
– Cookies in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any cookies that are listed in aCachePolicy
are included in origin requests.whitelist
– The cookies in viewer requests that are listed in theCookieNames
type are included in requests that CloudFront sends to the origin.all
– All cookies in viewer requests are included in requests that CloudFront sends to the origin.
originRequestPolicyCookiesConfig_cookies :: Lens' OriginRequestPolicyCookiesConfig (Maybe CookieNames) Source #
Undocumented member.
originRequestPolicyCookiesConfig_cookieBehavior :: Lens' OriginRequestPolicyCookiesConfig OriginRequestPolicyCookieBehavior Source #
Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:
none
– Cookies in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any cookies that are listed in aCachePolicy
are included in origin requests.whitelist
– The cookies in viewer requests that are listed in theCookieNames
type are included in requests that CloudFront sends to the origin.all
– All cookies in viewer requests are included in requests that CloudFront sends to the origin.
OriginRequestPolicyHeadersConfig
data OriginRequestPolicyHeadersConfig Source #
An object that determines whether any HTTP headers (and if so, which headers) are included in requests that CloudFront sends to the origin.
See: newOriginRequestPolicyHeadersConfig
smart constructor.
OriginRequestPolicyHeadersConfig' | |
|
Instances
newOriginRequestPolicyHeadersConfig Source #
Create a value of OriginRequestPolicyHeadersConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:headers:OriginRequestPolicyHeadersConfig'
, originRequestPolicyHeadersConfig_headers
- Undocumented member.
$sel:headerBehavior:OriginRequestPolicyHeadersConfig'
, originRequestPolicyHeadersConfig_headerBehavior
- Determines whether any HTTP headers are included in requests that
CloudFront sends to the origin. Valid values are:
none
– HTTP headers are not included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any headers that are listed in aCachePolicy
are included in origin requests.whitelist
– The HTTP headers that are listed in theHeaders
type are included in requests that CloudFront sends to the origin.allViewer
– All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.allViewerAndWhitelistCloudFront
– All HTTP headers in viewer requests and the additional CloudFront headers that are listed in theHeaders
type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.
originRequestPolicyHeadersConfig_headers :: Lens' OriginRequestPolicyHeadersConfig (Maybe Headers) Source #
Undocumented member.
originRequestPolicyHeadersConfig_headerBehavior :: Lens' OriginRequestPolicyHeadersConfig OriginRequestPolicyHeaderBehavior Source #
Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are:
none
– HTTP headers are not included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any headers that are listed in aCachePolicy
are included in origin requests.whitelist
– The HTTP headers that are listed in theHeaders
type are included in requests that CloudFront sends to the origin.allViewer
– All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.allViewerAndWhitelistCloudFront
– All HTTP headers in viewer requests and the additional CloudFront headers that are listed in theHeaders
type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.
OriginRequestPolicyList
data OriginRequestPolicyList Source #
A list of origin request policies.
See: newOriginRequestPolicyList
smart constructor.
OriginRequestPolicyList' | |
|
Instances
newOriginRequestPolicyList Source #
:: Int | |
-> Int | |
-> OriginRequestPolicyList |
Create a value of OriginRequestPolicyList
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:OriginRequestPolicyList'
, originRequestPolicyList_items
- Contains the origin request policies in the list.
$sel:nextMarker:OriginRequestPolicyList'
, originRequestPolicyList_nextMarker
- If there are more items in the list than are in this response, this
element is present. It contains the value that you should use in the
Marker
field of a subsequent request to continue listing origin
request policies where you left off.
$sel:maxItems:OriginRequestPolicyList'
, originRequestPolicyList_maxItems
- The maximum number of origin request policies requested.
$sel:quantity:OriginRequestPolicyList'
, originRequestPolicyList_quantity
- The total number of origin request policies returned in the response.
originRequestPolicyList_items :: Lens' OriginRequestPolicyList (Maybe [OriginRequestPolicySummary]) Source #
Contains the origin request policies in the list.
originRequestPolicyList_nextMarker :: Lens' OriginRequestPolicyList (Maybe Text) Source #
If there are more items in the list than are in this response, this
element is present. It contains the value that you should use in the
Marker
field of a subsequent request to continue listing origin
request policies where you left off.
originRequestPolicyList_maxItems :: Lens' OriginRequestPolicyList Int Source #
The maximum number of origin request policies requested.
originRequestPolicyList_quantity :: Lens' OriginRequestPolicyList Int Source #
The total number of origin request policies returned in the response.
OriginRequestPolicyQueryStringsConfig
data OriginRequestPolicyQueryStringsConfig Source #
An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in requests that CloudFront sends to the origin.
See: newOriginRequestPolicyQueryStringsConfig
smart constructor.
OriginRequestPolicyQueryStringsConfig' | |
|
Instances
newOriginRequestPolicyQueryStringsConfig Source #
:: OriginRequestPolicyQueryStringBehavior |
|
-> OriginRequestPolicyQueryStringsConfig |
Create a value of OriginRequestPolicyQueryStringsConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:queryStrings:OriginRequestPolicyQueryStringsConfig'
, originRequestPolicyQueryStringsConfig_queryStrings
- Contains a list of the query strings in viewer requests that are
included in requests that CloudFront sends to the origin.
$sel:queryStringBehavior:OriginRequestPolicyQueryStringsConfig'
, originRequestPolicyQueryStringsConfig_queryStringBehavior
- Determines whether any URL query strings in viewer requests are included
in requests that CloudFront sends to the origin. Valid values are:
none
– Query strings in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any query strings that are listed in aCachePolicy
are included in origin requests.whitelist
– The query strings in viewer requests that are listed in theQueryStringNames
type are included in requests that CloudFront sends to the origin.all
– All query strings in viewer requests are included in requests that CloudFront sends to the origin.
originRequestPolicyQueryStringsConfig_queryStrings :: Lens' OriginRequestPolicyQueryStringsConfig (Maybe QueryStringNames) Source #
Contains a list of the query strings in viewer requests that are included in requests that CloudFront sends to the origin.
originRequestPolicyQueryStringsConfig_queryStringBehavior :: Lens' OriginRequestPolicyQueryStringsConfig OriginRequestPolicyQueryStringBehavior Source #
Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:
none
– Query strings in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any query strings that are listed in aCachePolicy
are included in origin requests.whitelist
– The query strings in viewer requests that are listed in theQueryStringNames
type are included in requests that CloudFront sends to the origin.all
– All query strings in viewer requests are included in requests that CloudFront sends to the origin.
OriginRequestPolicySummary
data OriginRequestPolicySummary Source #
Contains an origin request policy.
See: newOriginRequestPolicySummary
smart constructor.
OriginRequestPolicySummary' | |
|
Instances
newOriginRequestPolicySummary Source #
Create a value of OriginRequestPolicySummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:type':OriginRequestPolicySummary'
, originRequestPolicySummary_type
- The type of origin request policy, either managed
(created by Amazon
Web Services) or custom
(created in this account).
$sel:originRequestPolicy:OriginRequestPolicySummary'
, originRequestPolicySummary_originRequestPolicy
- The origin request policy.
originRequestPolicySummary_type :: Lens' OriginRequestPolicySummary OriginRequestPolicyType Source #
The type of origin request policy, either managed
(created by Amazon
Web Services) or custom
(created in this account).
originRequestPolicySummary_originRequestPolicy :: Lens' OriginRequestPolicySummary OriginRequestPolicy Source #
The origin request policy.
OriginShield
data OriginShield Source #
CloudFront Origin Shield.
Using Origin Shield can help reduce the load on your origin. For more information, see Using Origin Shield in the Amazon CloudFront Developer Guide.
See: newOriginShield
smart constructor.
OriginShield' | |
|
Instances
Create a value of OriginShield
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:originShieldRegion:OriginShield'
, originShield_originShieldRegion
- The Region for Origin Shield.
Specify the Region that has the lowest latency to your origin. To
specify a region, use the region code, not the region name. For example,
specify the US East (Ohio) region as us-east-2
.
When you enable CloudFront Origin Shield, you must specify the Region for Origin Shield. For the list of Regions that you can specify, and for help choosing the best Region for your origin, see Choosing the Region for Origin Shield in the Amazon CloudFront Developer Guide.
$sel:enabled:OriginShield'
, originShield_enabled
- A flag that specifies whether Origin Shield is enabled.
When it’s enabled, CloudFront routes all requests through Origin Shield, which can help protect your origin. When it’s disabled, CloudFront might send requests directly to your origin from multiple edge locations or regional edge caches.
originShield_originShieldRegion :: Lens' OriginShield (Maybe Text) Source #
The Region for Origin Shield.
Specify the Region that has the lowest latency to your origin. To
specify a region, use the region code, not the region name. For example,
specify the US East (Ohio) region as us-east-2
.
When you enable CloudFront Origin Shield, you must specify the Region for Origin Shield. For the list of Regions that you can specify, and for help choosing the best Region for your origin, see Choosing the Region for Origin Shield in the Amazon CloudFront Developer Guide.
originShield_enabled :: Lens' OriginShield Bool Source #
A flag that specifies whether Origin Shield is enabled.
When it’s enabled, CloudFront routes all requests through Origin Shield, which can help protect your origin. When it’s disabled, CloudFront might send requests directly to your origin from multiple edge locations or regional edge caches.
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: newOriginSslProtocols
smart constructor.
OriginSslProtocols' | |
|
Instances
newOriginSslProtocols Source #
Create a value of OriginSslProtocols
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:quantity:OriginSslProtocols'
, originSslProtocols_quantity
- The number of SSL/TLS protocols that you want to allow CloudFront to
use when establishing an HTTPS connection with this origin.
$sel:items:OriginSslProtocols'
, originSslProtocols_items
- A list that contains allowed SSL/TLS protocols for this distribution.
originSslProtocols_quantity :: 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.
originSslProtocols_items :: Lens' OriginSslProtocols [SslProtocol] Source #
A list that contains allowed SSL/TLS protocols for this distribution.
Origins
Contains information about the origins for this distribution.
See: newOrigins
smart constructor.
Instances
Eq Origins Source # | |
Read Origins Source # | |
Show Origins Source # | |
Generic Origins Source # | |
NFData Origins Source # | |
Defined in Amazonka.CloudFront.Types.Origins | |
Hashable Origins Source # | |
Defined in Amazonka.CloudFront.Types.Origins | |
FromXML Origins Source # | |
ToXML Origins Source # | |
Defined in Amazonka.CloudFront.Types.Origins | |
type Rep Origins Source # | |
Defined in Amazonka.CloudFront.Types.Origins type Rep Origins = D1 ('MetaData "Origins" "Amazonka.CloudFront.Types.Origins" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "Origins'" 'PrefixI 'True) (S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Origin)))) |
Create a value of Origins
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:quantity:Origins'
, origins_quantity
- The number of origins for this distribution.
$sel:items:Origins'
, origins_items
- A list of origins.
ParametersInCacheKeyAndForwardedToOrigin
data ParametersInCacheKeyAndForwardedToOrigin Source #
This object determines the values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.
The headers, cookies, and query strings that are included in the cache
key are automatically included in requests that CloudFront sends to the
origin. CloudFront sends a request when it can’t find an object in its
cache that matches the request’s cache key. If you want to send values
to the origin but not include them in the cache key, use
OriginRequestPolicy
.
See: newParametersInCacheKeyAndForwardedToOrigin
smart constructor.
ParametersInCacheKeyAndForwardedToOrigin' | |
|
Instances
newParametersInCacheKeyAndForwardedToOrigin Source #
Create a value of ParametersInCacheKeyAndForwardedToOrigin
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:enableAcceptEncodingBrotli:ParametersInCacheKeyAndForwardedToOrigin'
, parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingBrotli
- A flag that can affect whether the Accept-Encoding
HTTP header is
included in the cache key and included in requests that CloudFront sends
to the origin.
This field is related to the EnableAcceptEncodingGzip
field. If one or
both of these fields is true
and the viewer request includes the
Accept-Encoding
header, then CloudFront does the following:
- Normalizes the value of the viewer’s
Accept-Encoding
header - Includes the normalized header in the cache key
- Includes the normalized header in the request to the origin, if a request is necessary
For more information, see Compression support in the Amazon CloudFront Developer Guide.
If you set this value to true
, and this cache behavior also has an
origin request policy attached, do not include the Accept-Encoding
header in the origin request policy. CloudFront always includes the
Accept-Encoding
header in origin requests when the value of this field
is true
, so including this header in an origin request policy has no
effect.
If both of these fields are false
, then CloudFront treats the
Accept-Encoding
header the same as any other HTTP header in the viewer
request. By default, it’s not included in the cache key and it’s not
included in origin requests. In this case, you can manually add
Accept-Encoding
to the headers whitelist like any other HTTP header.
$sel:enableAcceptEncodingGzip:ParametersInCacheKeyAndForwardedToOrigin'
, parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingGzip
- A flag that can affect whether the Accept-Encoding
HTTP header is
included in the cache key and included in requests that CloudFront sends
to the origin.
This field is related to the EnableAcceptEncodingBrotli
field. If one
or both of these fields is true
and the viewer request includes the
Accept-Encoding
header, then CloudFront does the following:
- Normalizes the value of the viewer’s
Accept-Encoding
header - Includes the normalized header in the cache key
- Includes the normalized header in the request to the origin, if a request is necessary
For more information, see Compression support in the Amazon CloudFront Developer Guide.
If you set this value to true
, and this cache behavior also has an
origin request policy attached, do not include the Accept-Encoding
header in the origin request policy. CloudFront always includes the
Accept-Encoding
header in origin requests when the value of this field
is true
, so including this header in an origin request policy has no
effect.
If both of these fields are false
, then CloudFront treats the
Accept-Encoding
header the same as any other HTTP header in the viewer
request. By default, it’s not included in the cache key and it’s not
included in origin requests. In this case, you can manually add
Accept-Encoding
to the headers whitelist like any other HTTP header.
$sel:headersConfig:ParametersInCacheKeyAndForwardedToOrigin'
, parametersInCacheKeyAndForwardedToOrigin_headersConfig
- An object that determines whether any HTTP headers (and if so, which
headers) are included in the cache key and automatically included in
requests that CloudFront sends to the origin.
$sel:cookiesConfig:ParametersInCacheKeyAndForwardedToOrigin'
, parametersInCacheKeyAndForwardedToOrigin_cookiesConfig
- An object that determines whether any cookies in viewer requests (and if
so, which cookies) are included in the cache key and automatically
included in requests that CloudFront sends to the origin.
$sel:queryStringsConfig:ParametersInCacheKeyAndForwardedToOrigin'
, parametersInCacheKeyAndForwardedToOrigin_queryStringsConfig
- An object that determines whether any URL query strings in viewer
requests (and if so, which query strings) are included in the cache key
and automatically included in requests that CloudFront sends to the
origin.
parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingBrotli :: Lens' ParametersInCacheKeyAndForwardedToOrigin (Maybe Bool) Source #
A flag that can affect whether the Accept-Encoding
HTTP header is
included in the cache key and included in requests that CloudFront sends
to the origin.
This field is related to the EnableAcceptEncodingGzip
field. If one or
both of these fields is true
and the viewer request includes the
Accept-Encoding
header, then CloudFront does the following:
- Normalizes the value of the viewer’s
Accept-Encoding
header - Includes the normalized header in the cache key
- Includes the normalized header in the request to the origin, if a request is necessary
For more information, see Compression support in the Amazon CloudFront Developer Guide.
If you set this value to true
, and this cache behavior also has an
origin request policy attached, do not include the Accept-Encoding
header in the origin request policy. CloudFront always includes the
Accept-Encoding
header in origin requests when the value of this field
is true
, so including this header in an origin request policy has no
effect.
If both of these fields are false
, then CloudFront treats the
Accept-Encoding
header the same as any other HTTP header in the viewer
request. By default, it’s not included in the cache key and it’s not
included in origin requests. In this case, you can manually add
Accept-Encoding
to the headers whitelist like any other HTTP header.
parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingGzip :: Lens' ParametersInCacheKeyAndForwardedToOrigin Bool Source #
A flag that can affect whether the Accept-Encoding
HTTP header is
included in the cache key and included in requests that CloudFront sends
to the origin.
This field is related to the EnableAcceptEncodingBrotli
field. If one
or both of these fields is true
and the viewer request includes the
Accept-Encoding
header, then CloudFront does the following:
- Normalizes the value of the viewer’s
Accept-Encoding
header - Includes the normalized header in the cache key
- Includes the normalized header in the request to the origin, if a request is necessary
For more information, see Compression support in the Amazon CloudFront Developer Guide.
If you set this value to true
, and this cache behavior also has an
origin request policy attached, do not include the Accept-Encoding
header in the origin request policy. CloudFront always includes the
Accept-Encoding
header in origin requests when the value of this field
is true
, so including this header in an origin request policy has no
effect.
If both of these fields are false
, then CloudFront treats the
Accept-Encoding
header the same as any other HTTP header in the viewer
request. By default, it’s not included in the cache key and it’s not
included in origin requests. In this case, you can manually add
Accept-Encoding
to the headers whitelist like any other HTTP header.
parametersInCacheKeyAndForwardedToOrigin_headersConfig :: Lens' ParametersInCacheKeyAndForwardedToOrigin CachePolicyHeadersConfig Source #
An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and automatically included in requests that CloudFront sends to the origin.
parametersInCacheKeyAndForwardedToOrigin_cookiesConfig :: Lens' ParametersInCacheKeyAndForwardedToOrigin CachePolicyCookiesConfig Source #
An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and automatically included in requests that CloudFront sends to the origin.
parametersInCacheKeyAndForwardedToOrigin_queryStringsConfig :: Lens' ParametersInCacheKeyAndForwardedToOrigin CachePolicyQueryStringsConfig Source #
An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and automatically included in requests that CloudFront sends to the origin.
Paths
A complex type that contains information about the objects that you want to invalidate. For more information, see Specifying the Objects to Invalidate in the Amazon CloudFront Developer Guide.
See: newPaths
smart constructor.
Instances
Eq Paths Source # | |
Read Paths Source # | |
Show Paths Source # | |
Generic Paths Source # | |
NFData Paths Source # | |
Defined in Amazonka.CloudFront.Types.Paths | |
Hashable Paths Source # | |
Defined in Amazonka.CloudFront.Types.Paths | |
FromXML Paths Source # | |
ToXML Paths Source # | |
Defined in Amazonka.CloudFront.Types.Paths | |
type Rep Paths Source # | |
Defined in Amazonka.CloudFront.Types.Paths type Rep Paths = D1 ('MetaData "Paths" "Amazonka.CloudFront.Types.Paths" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "Paths'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
Create a value of Paths
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:Paths'
, paths_items
- A complex type that contains a list of the paths that you want to
invalidate.
$sel:quantity:Paths'
, paths_quantity
- The number of invalidation paths specified for the objects that you want
to invalidate.
paths_items :: Lens' Paths (Maybe [Text]) Source #
A complex type that contains a list of the paths that you want to invalidate.
paths_quantity :: Lens' Paths Int Source #
The number of invalidation paths specified for the objects that you want to invalidate.
PublicKey
A public key that you can use with signed URLs and signed cookies, or with field-level encryption.
See: newPublicKey
smart constructor.
PublicKey' | |
|
Instances
Eq PublicKey Source # | |
Read PublicKey Source # | |
Show PublicKey Source # | |
Generic PublicKey Source # | |
NFData PublicKey Source # | |
Defined in Amazonka.CloudFront.Types.PublicKey | |
Hashable PublicKey Source # | |
Defined in Amazonka.CloudFront.Types.PublicKey | |
FromXML PublicKey Source # | |
type Rep PublicKey Source # | |
Defined in Amazonka.CloudFront.Types.PublicKey type Rep PublicKey = D1 ('MetaData "PublicKey" "Amazonka.CloudFront.Types.PublicKey" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "PublicKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "createdTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "publicKeyConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PublicKeyConfig)))) |
:: Text | |
-> UTCTime | |
-> PublicKeyConfig | |
-> PublicKey |
Create a value of PublicKey
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:PublicKey'
, publicKey_id
- The identifier of the public key.
$sel:createdTime:PublicKey'
, publicKey_createdTime
- The date and time when the public key was uploaded.
$sel:publicKeyConfig:PublicKey'
, publicKey_publicKeyConfig
- Configuration information about a public key that you can use with
signed URLs and signed cookies,
or with
field-level encryption.
publicKey_createdTime :: Lens' PublicKey UTCTime Source #
The date and time when the public key was uploaded.
publicKey_publicKeyConfig :: Lens' PublicKey PublicKeyConfig Source #
Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.
PublicKeyConfig
data PublicKeyConfig Source #
Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.
See: newPublicKeyConfig
smart constructor.
PublicKeyConfig' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> PublicKeyConfig |
Create a value of PublicKeyConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:comment:PublicKeyConfig'
, publicKeyConfig_comment
- A comment to describe the public key. The comment cannot be longer than
128 characters.
$sel:callerReference:PublicKeyConfig'
, publicKeyConfig_callerReference
- A string included in the request to help make sure that the request
can’t be replayed.
$sel:name:PublicKeyConfig'
, publicKeyConfig_name
- A name to help identify the public key.
$sel:encodedKey:PublicKeyConfig'
, publicKeyConfig_encodedKey
- The public key that you can use with
signed URLs and signed cookies,
or with
field-level encryption.
publicKeyConfig_comment :: Lens' PublicKeyConfig (Maybe Text) Source #
A comment to describe the public key. The comment cannot be longer than 128 characters.
publicKeyConfig_callerReference :: Lens' PublicKeyConfig Text Source #
A string included in the request to help make sure that the request can’t be replayed.
publicKeyConfig_name :: Lens' PublicKeyConfig Text Source #
A name to help identify the public key.
publicKeyConfig_encodedKey :: Lens' PublicKeyConfig Text Source #
The public key that you can use with signed URLs and signed cookies, or with field-level encryption.
PublicKeyList
data PublicKeyList Source #
A list of public keys that you can use with signed URLs and signed cookies, or with field-level encryption.
See: newPublicKeyList
smart constructor.
PublicKeyList' | |
|
Instances
Create a value of PublicKeyList
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:PublicKeyList'
, publicKeyList_items
- A list of public keys.
$sel:nextMarker:PublicKeyList'
, publicKeyList_nextMarker
- If there are more elements to be listed, this element is present and
contains the value that you can use for the Marker
request parameter
to continue listing your public keys where you left off.
$sel:maxItems:PublicKeyList'
, publicKeyList_maxItems
- The maximum number of public keys you want in the response.
$sel:quantity:PublicKeyList'
, publicKeyList_quantity
- The number of public keys in the list.
publicKeyList_items :: Lens' PublicKeyList (Maybe [PublicKeySummary]) Source #
A list of public keys.
publicKeyList_nextMarker :: 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.
publicKeyList_maxItems :: Lens' PublicKeyList Int Source #
The maximum number of public keys you want in the response.
publicKeyList_quantity :: Lens' PublicKeyList Int Source #
The number of public keys in the list.
PublicKeySummary
data PublicKeySummary Source #
Contains information about a public key.
See: newPublicKeySummary
smart constructor.
PublicKeySummary' | |
|
Instances
:: Text | |
-> Text | |
-> UTCTime | |
-> Text | |
-> PublicKeySummary |
Create a value of PublicKeySummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:comment:PublicKeySummary'
, publicKeySummary_comment
- A comment to describe the public key. The comment cannot be longer than
128 characters.
$sel:id:PublicKeySummary'
, publicKeySummary_id
- The identifier of the public key.
$sel:name:PublicKeySummary'
, publicKeySummary_name
- A name to help identify the public key.
$sel:createdTime:PublicKeySummary'
, publicKeySummary_createdTime
- The date and time when the public key was uploaded.
$sel:encodedKey:PublicKeySummary'
, publicKeySummary_encodedKey
- The public key.
publicKeySummary_comment :: Lens' PublicKeySummary (Maybe Text) Source #
A comment to describe the public key. The comment cannot be longer than 128 characters.
publicKeySummary_id :: Lens' PublicKeySummary Text Source #
The identifier of the public key.
publicKeySummary_name :: Lens' PublicKeySummary Text Source #
A name to help identify the public key.
publicKeySummary_createdTime :: Lens' PublicKeySummary UTCTime Source #
The date and time when the public key was uploaded.
publicKeySummary_encodedKey :: Lens' PublicKeySummary Text Source #
The public key.
QueryArgProfile
data QueryArgProfile Source #
Query argument-profile mapping for field-level encryption.
See: newQueryArgProfile
smart constructor.
Instances
Create a value of QueryArgProfile
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:queryArg:QueryArgProfile'
, queryArgProfile_queryArg
- Query argument for field-level encryption query argument-profile
mapping.
$sel:profileId:QueryArgProfile'
, queryArgProfile_profileId
- ID of profile to use for field-level encryption query argument-profile
mapping
queryArgProfile_queryArg :: Lens' QueryArgProfile Text Source #
Query argument for field-level encryption query argument-profile mapping.
queryArgProfile_profileId :: 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: newQueryArgProfileConfig
smart constructor.
QueryArgProfileConfig' | |
|
Instances
newQueryArgProfileConfig Source #
Create a value of QueryArgProfileConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:queryArgProfiles:QueryArgProfileConfig'
, queryArgProfileConfig_queryArgProfiles
- Profiles specified for query argument-profile mapping for field-level
encryption.
$sel:forwardWhenQueryArgProfileIsUnknown:QueryArgProfileConfig'
, queryArgProfileConfig_forwardWhenQueryArgProfileIsUnknown
- Flag to set if you want a request to be forwarded to the origin even if
the profile specified by the field-level encryption query argument,
fle-profile, is unknown.
queryArgProfileConfig_queryArgProfiles :: Lens' QueryArgProfileConfig (Maybe QueryArgProfiles) Source #
Profiles specified for query argument-profile mapping for field-level encryption.
queryArgProfileConfig_forwardWhenQueryArgProfileIsUnknown :: 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: newQueryArgProfiles
smart constructor.
QueryArgProfiles' | |
|
Instances
Create a value of QueryArgProfiles
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:QueryArgProfiles'
, queryArgProfiles_items
- Number of items for query argument-profile mapping for field-level
encryption.
$sel:quantity:QueryArgProfiles'
, queryArgProfiles_quantity
- Number of profiles for query argument-profile mapping for field-level
encryption.
queryArgProfiles_items :: Lens' QueryArgProfiles (Maybe [QueryArgProfile]) Source #
Number of items for query argument-profile mapping for field-level encryption.
queryArgProfiles_quantity :: Lens' QueryArgProfiles Int Source #
Number of profiles for query argument-profile mapping for field-level encryption.
QueryStringCacheKeys
data QueryStringCacheKeys Source #
This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.
If you want to include query strings in the cache key, use
QueryStringsConfig
in a cache policy. See CachePolicy
.
If you want to send query strings to the origin but not include them in
the cache key, use QueryStringsConfig
in an origin request policy. See
OriginRequestPolicy
.
A complex type that contains information about the query string parameters that you want CloudFront to use for caching for a cache behavior.
See: newQueryStringCacheKeys
smart constructor.
Instances
newQueryStringCacheKeys Source #
Create a value of QueryStringCacheKeys
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:QueryStringCacheKeys'
, queryStringCacheKeys_items
- A list that contains the query string parameters that you want
CloudFront to use as a basis for caching for a cache behavior. If
Quantity
is 0, you can omit Items
.
$sel:quantity:QueryStringCacheKeys'
, queryStringCacheKeys_quantity
- The number of whitelisted
query string parameters for a cache
behavior.
queryStringCacheKeys_items :: Lens' QueryStringCacheKeys (Maybe [Text]) Source #
A list that contains the query string parameters that you want
CloudFront to use as a basis for caching for a cache behavior. If
Quantity
is 0, you can omit Items
.
queryStringCacheKeys_quantity :: Lens' QueryStringCacheKeys Int Source #
The number of whitelisted
query string parameters for a cache
behavior.
QueryStringNames
data QueryStringNames Source #
Contains a list of query string names.
See: newQueryStringNames
smart constructor.
Instances
Create a value of QueryStringNames
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:QueryStringNames'
, queryStringNames_items
- A list of query string names.
$sel:quantity:QueryStringNames'
, queryStringNames_quantity
- The number of query string names in the Items
list.
queryStringNames_items :: Lens' QueryStringNames (Maybe [Text]) Source #
A list of query string names.
queryStringNames_quantity :: Lens' QueryStringNames Int Source #
The number of query string names in the Items
list.
RealtimeLogConfig
data RealtimeLogConfig Source #
A real-time log configuration.
See: newRealtimeLogConfig
smart constructor.
RealtimeLogConfig' | |
|
Instances
:: Text | |
-> Text | |
-> Integer | |
-> RealtimeLogConfig |
Create a value of RealtimeLogConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:RealtimeLogConfig'
, realtimeLogConfig_arn
- The Amazon Resource Name (ARN) of this real-time log configuration.
$sel:name:RealtimeLogConfig'
, realtimeLogConfig_name
- The unique name of this real-time log configuration.
$sel:samplingRate:RealtimeLogConfig'
, realtimeLogConfig_samplingRate
- The sampling rate for this real-time log configuration. The sampling
rate determines the percentage of viewer requests that are represented
in the real-time log data. The sampling rate is an integer between 1 and
100, inclusive.
$sel:endPoints:RealtimeLogConfig'
, realtimeLogConfig_endPoints
- Contains information about the Amazon Kinesis data stream where you are
sending real-time log data for this real-time log configuration.
$sel:fields:RealtimeLogConfig'
, realtimeLogConfig_fields
- A list of fields that are included in each real-time log record. In an
API response, the fields are provided in the same order in which they
are sent to the Amazon Kinesis data stream.
For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
realtimeLogConfig_arn :: Lens' RealtimeLogConfig Text Source #
The Amazon Resource Name (ARN) of this real-time log configuration.
realtimeLogConfig_name :: Lens' RealtimeLogConfig Text Source #
The unique name of this real-time log configuration.
realtimeLogConfig_samplingRate :: Lens' RealtimeLogConfig Integer Source #
The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. The sampling rate is an integer between 1 and 100, inclusive.
realtimeLogConfig_endPoints :: Lens' RealtimeLogConfig [EndPoint] Source #
Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.
realtimeLogConfig_fields :: Lens' RealtimeLogConfig [Text] Source #
A list of fields that are included in each real-time log record. In an API response, the fields are provided in the same order in which they are sent to the Amazon Kinesis data stream.
For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
RealtimeLogConfigs
data RealtimeLogConfigs Source #
A list of real-time log configurations.
See: newRealtimeLogConfigs
smart constructor.
RealtimeLogConfigs' | |
|
Instances
newRealtimeLogConfigs Source #
:: Int | |
-> Bool | |
-> Text | |
-> RealtimeLogConfigs |
Create a value of RealtimeLogConfigs
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:RealtimeLogConfigs'
, realtimeLogConfigs_items
- Contains the list of real-time log configurations.
$sel:nextMarker:RealtimeLogConfigs'
, realtimeLogConfigs_nextMarker
- If there are more items in the list than are in this response, this
element is present. It contains the value that you should use in the
Marker
field of a subsequent request to continue listing real-time log
configurations where you left off.
$sel:maxItems:RealtimeLogConfigs'
, realtimeLogConfigs_maxItems
- The maximum number of real-time log configurations requested.
$sel:isTruncated:RealtimeLogConfigs'
, realtimeLogConfigs_isTruncated
- A flag that indicates whether there are more real-time log
configurations than are contained in this list.
$sel:marker:RealtimeLogConfigs'
, realtimeLogConfigs_marker
- This parameter indicates where this list of real-time log configurations
begins. This list includes real-time log configurations that occur after
the marker.
realtimeLogConfigs_items :: Lens' RealtimeLogConfigs (Maybe [RealtimeLogConfig]) Source #
Contains the list of real-time log configurations.
realtimeLogConfigs_nextMarker :: Lens' RealtimeLogConfigs (Maybe Text) Source #
If there are more items in the list than are in this response, this
element is present. It contains the value that you should use in the
Marker
field of a subsequent request to continue listing real-time log
configurations where you left off.
realtimeLogConfigs_maxItems :: Lens' RealtimeLogConfigs Int Source #
The maximum number of real-time log configurations requested.
realtimeLogConfigs_isTruncated :: Lens' RealtimeLogConfigs Bool Source #
A flag that indicates whether there are more real-time log configurations than are contained in this list.
realtimeLogConfigs_marker :: Lens' RealtimeLogConfigs Text Source #
This parameter indicates where this list of real-time log configurations begins. This list includes real-time log configurations that occur after the marker.
RealtimeMetricsSubscriptionConfig
data RealtimeMetricsSubscriptionConfig Source #
A subscription configuration for additional CloudWatch metrics.
See: newRealtimeMetricsSubscriptionConfig
smart constructor.
RealtimeMetricsSubscriptionConfig' | |
|
Instances
newRealtimeMetricsSubscriptionConfig Source #
:: RealtimeMetricsSubscriptionStatus |
|
-> RealtimeMetricsSubscriptionConfig |
Create a value of RealtimeMetricsSubscriptionConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:realtimeMetricsSubscriptionStatus:RealtimeMetricsSubscriptionConfig'
, realtimeMetricsSubscriptionConfig_realtimeMetricsSubscriptionStatus
- A flag that indicates whether additional CloudWatch metrics are enabled
for a given CloudFront distribution.
realtimeMetricsSubscriptionConfig_realtimeMetricsSubscriptionStatus :: Lens' RealtimeMetricsSubscriptionConfig RealtimeMetricsSubscriptionStatus Source #
A flag that indicates whether additional CloudWatch metrics are enabled for a given CloudFront distribution.
Restrictions
data Restrictions Source #
A complex type that identifies ways in which you want to restrict distribution of your content.
See: newRestrictions
smart constructor.
Restrictions' | |
|
Instances
Create a value of Restrictions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:geoRestriction:Restrictions'
, restrictions_geoRestriction
- A complex type that controls the countries in which your content is
distributed. CloudFront determines the location of your users using
MaxMind
GeoIP databases.
restrictions_geoRestriction :: Lens' Restrictions 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.
S3Origin
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
See: newS3Origin
smart constructor.
S3Origin' | |
|
Instances
Eq S3Origin Source # | |
Read S3Origin Source # | |
Show S3Origin Source # | |
Generic S3Origin Source # | |
NFData S3Origin Source # | |
Defined in Amazonka.CloudFront.Types.S3Origin | |
Hashable S3Origin Source # | |
Defined in Amazonka.CloudFront.Types.S3Origin | |
FromXML S3Origin Source # | |
ToXML S3Origin Source # | |
Defined in Amazonka.CloudFront.Types.S3Origin | |
type Rep S3Origin Source # | |
Defined in Amazonka.CloudFront.Types.S3Origin type Rep S3Origin = D1 ('MetaData "S3Origin" "Amazonka.CloudFront.Types.S3Origin" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "S3Origin'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "originAccessIdentity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of S3Origin
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domainName:S3Origin'
, s3Origin_domainName
- The DNS name of the Amazon S3 origin.
$sel:originAccessIdentity:S3Origin'
, s3Origin_originAccessIdentity
- The CloudFront origin access identity to associate with the
distribution. Use an origin access identity to configure the
distribution so that end users can only access objects in an Amazon S3
bucket through CloudFront.
If you want end users to be able to access objects using either the
CloudFront URL or the Amazon S3 URL, specify an empty
OriginAccessIdentity
element.
To delete the origin access identity from an existing distribution,
update the distribution configuration and include an empty
OriginAccessIdentity
element.
To replace the origin access identity, update the distribution configuration and specify the new origin access identity.
For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon CloudFront Developer Guide.
s3Origin_originAccessIdentity :: Lens' S3Origin Text Source #
The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront.
If you want end users to be able to access objects using either the
CloudFront URL or the Amazon S3 URL, specify an empty
OriginAccessIdentity
element.
To delete the origin access identity from an existing distribution,
update the distribution configuration and include an empty
OriginAccessIdentity
element.
To replace the origin access identity, update the distribution configuration and specify the new origin access identity.
For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon CloudFront Developer Guide.
S3OriginConfig
data S3OriginConfig Source #
A complex type that contains information about the Amazon S3 origin. If
the origin is a custom origin or an S3 bucket that is configured as a
website endpoint, use the CustomOriginConfig
element instead.
See: newS3OriginConfig
smart constructor.
S3OriginConfig' | |
|
Instances
Create a value of S3OriginConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:originAccessIdentity:S3OriginConfig'
, s3OriginConfig_originAccessIdentity
- The CloudFront origin access identity to associate with the origin. Use
an origin access identity to configure the origin so that viewers can
only access objects in an Amazon S3 bucket through CloudFront. The
format of the value is:
origin-access-identity/cloudfront/ID-of-origin-access-identity
where ID-of-origin-access-identity
is the value that CloudFront
returned in the ID
element when you created the origin access
identity.
If you want viewers to be able to access objects using either the
CloudFront URL or the Amazon S3 URL, specify an empty
OriginAccessIdentity
element.
To delete the origin access identity from an existing distribution,
update the distribution configuration and include an empty
OriginAccessIdentity
element.
To replace the origin access identity, update the distribution configuration and specify the new origin access identity.
For more information about the origin access identity, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
s3OriginConfig_originAccessIdentity :: 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-identity/cloudfront/ID-of-origin-access-identity
where ID-of-origin-access-identity
is the value that CloudFront
returned in the ID
element when you created the origin access
identity.
If you want viewers to be able to access objects using either the
CloudFront URL or the Amazon S3 URL, specify an empty
OriginAccessIdentity
element.
To delete the origin access identity from an existing distribution,
update the distribution configuration and include an empty
OriginAccessIdentity
element.
To replace the origin access identity, update the distribution configuration and specify the new origin access identity.
For more information about the origin access identity, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
Signer
A list of accounts and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.
See: newSigner
smart constructor.
Signer' | |
|
Instances
Eq Signer Source # | |
Read Signer Source # | |
Show Signer Source # | |
Generic Signer Source # | |
NFData Signer Source # | |
Defined in Amazonka.CloudFront.Types.Signer | |
Hashable Signer Source # | |
Defined in Amazonka.CloudFront.Types.Signer | |
FromXML Signer Source # | |
type Rep Signer Source # | |
Defined in Amazonka.CloudFront.Types.Signer type Rep Signer = D1 ('MetaData "Signer" "Amazonka.CloudFront.Types.Signer" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "Signer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "awsAccountNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "keyPairIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KeyPairIds)))) |
Create a value of Signer
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:awsAccountNumber:Signer'
, signer_awsAccountNumber
- An account number that contains active CloudFront key pairs that
CloudFront can use to verify the signatures of signed URLs and signed
cookies. If the account that owns the key pairs is the same account that
owns the CloudFront distribution, the value of this field is self
.
$sel:keyPairIds:Signer'
, signer_keyPairIds
- A list of CloudFront key pair identifiers.
signer_awsAccountNumber :: Lens' Signer (Maybe Text) Source #
An account number that contains active CloudFront key pairs that
CloudFront can use to verify the signatures of signed URLs and signed
cookies. If the account that owns the key pairs is the same account that
owns the CloudFront distribution, the value of this field is self
.
signer_keyPairIds :: Lens' Signer (Maybe KeyPairIds) Source #
A list of CloudFront key pair identifiers.
StatusCodes
data StatusCodes Source #
A complex data type for the status codes that you specify that, when returned by a primary origin, trigger CloudFront to failover to a second origin.
See: newStatusCodes
smart constructor.
Instances
Create a value of StatusCodes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:quantity:StatusCodes'
, statusCodes_quantity
- The number of status codes.
$sel:items:StatusCodes'
, statusCodes_items
- The items (status codes) for an origin group.
statusCodes_quantity :: Lens' StatusCodes Int Source #
The number of status codes.
statusCodes_items :: Lens' StatusCodes (NonEmpty Int) Source #
The items (status codes) for an origin group.
StreamingDistribution
data StreamingDistribution Source #
A streaming distribution tells CloudFront where you want RTMP content to be delivered from, and the details about how to track and manage content delivery.
See: newStreamingDistribution
smart constructor.
StreamingDistribution' | |
|
Instances
newStreamingDistribution Source #
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> ActiveTrustedSigners | |
-> StreamingDistributionConfig | |
-> StreamingDistribution |
Create a value of StreamingDistribution
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lastModifiedTime:StreamingDistribution'
, streamingDistribution_lastModifiedTime
- The date and time that the distribution was last modified.
$sel:id:StreamingDistribution'
, streamingDistribution_id
- The identifier for the RTMP distribution. For example:
EGTXBD79EXAMPLE
.
$sel:arn:StreamingDistribution'
, streamingDistribution_arn
- The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where
123456789012
is your account ID.
$sel:status:StreamingDistribution'
, streamingDistribution_status
- The current status of the RTMP distribution. When the status is
Deployed
, the distribution's information is propagated to all
CloudFront edge locations.
$sel:domainName:StreamingDistribution'
, streamingDistribution_domainName
- The domain name that corresponds to the streaming distribution, for
example, s5c39gqb8ow64r.cloudfront.net
.
$sel:activeTrustedSigners:StreamingDistribution'
, streamingDistribution_activeTrustedSigners
- A complex type that lists the 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 account number of the trusted signer
or self
if the signer is the 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 account. If no
KeyPairId
element appears for a Signer
, that signer can't create
signed URLs.
For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
$sel:streamingDistributionConfig:StreamingDistribution'
, streamingDistribution_streamingDistributionConfig
- The current configuration information for the RTMP distribution.
streamingDistribution_lastModifiedTime :: Lens' StreamingDistribution (Maybe UTCTime) Source #
The date and time that the distribution was last modified.
streamingDistribution_id :: Lens' StreamingDistribution Text Source #
The identifier for the RTMP distribution. For example:
EGTXBD79EXAMPLE
.
streamingDistribution_arn :: Lens' StreamingDistribution Text Source #
The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where
123456789012
is your account ID.
streamingDistribution_status :: 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.
streamingDistribution_domainName :: Lens' StreamingDistribution Text Source #
The domain name that corresponds to the streaming distribution, for
example, s5c39gqb8ow64r.cloudfront.net
.
streamingDistribution_activeTrustedSigners :: Lens' StreamingDistribution ActiveTrustedSigners Source #
A complex type that lists the 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 account number of the trusted signer
or self
if the signer is the 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 account. If no
KeyPairId
element appears for a Signer
, that signer can't create
signed URLs.
For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
streamingDistribution_streamingDistributionConfig :: Lens' StreamingDistribution StreamingDistributionConfig Source #
The current configuration information for the RTMP distribution.
StreamingDistributionConfig
data StreamingDistributionConfig Source #
The RTMP distribution's configuration information.
See: newStreamingDistributionConfig
smart constructor.
StreamingDistributionConfig' | |
|
Instances
newStreamingDistributionConfig Source #
:: Text | |
-> S3Origin | |
-> Text | |
-> TrustedSigners | |
-> Bool | |
-> StreamingDistributionConfig |
Create a value of StreamingDistributionConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:aliases:StreamingDistributionConfig'
, streamingDistributionConfig_aliases
- A complex type that contains information about CNAMEs (alternate domain
names), if any, for this streaming distribution.
$sel:priceClass:StreamingDistributionConfig'
, streamingDistributionConfig_priceClass
- A complex type that contains information about price class for this
streaming distribution.
$sel:logging:StreamingDistributionConfig'
, streamingDistributionConfig_logging
- A complex type that controls whether access logs are written for the
streaming distribution.
$sel:callerReference:StreamingDistributionConfig'
, streamingDistributionConfig_callerReference
- A unique value (for example, a date-time stamp) that ensures that the
request can't be replayed.
If the value of CallerReference
is new (regardless of the content of
the StreamingDistributionConfig
object), CloudFront creates a new
distribution.
If CallerReference
is a value that you already sent in a previous
request to create a distribution, CloudFront returns a
DistributionAlreadyExists
error.
$sel:s3Origin:StreamingDistributionConfig'
, streamingDistributionConfig_s3Origin
- A complex type that contains information about the Amazon S3 bucket from
which you want CloudFront to get your media files for distribution.
$sel:comment:StreamingDistributionConfig'
, streamingDistributionConfig_comment
- Any comments you want to include about the streaming distribution.
$sel:trustedSigners:StreamingDistributionConfig'
, streamingDistributionConfig_trustedSigners
- A complex type that specifies any accounts that you want to permit to
create signed URLs for private content. If you want the distribution to
use signed URLs, include this element; if you want the distribution to
use public URLs, remove this element. For more information, see
Serving Private Content through CloudFront
in the Amazon CloudFront Developer Guide.
$sel:enabled:StreamingDistributionConfig'
, streamingDistributionConfig_enabled
- Whether the streaming distribution is enabled to accept user requests
for content.
streamingDistributionConfig_aliases :: Lens' StreamingDistributionConfig (Maybe Aliases) Source #
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
streamingDistributionConfig_priceClass :: Lens' StreamingDistributionConfig (Maybe PriceClass) Source #
A complex type that contains information about price class for this streaming distribution.
streamingDistributionConfig_logging :: Lens' StreamingDistributionConfig (Maybe StreamingLoggingConfig) Source #
A complex type that controls whether access logs are written for the streaming distribution.
streamingDistributionConfig_callerReference :: Lens' StreamingDistributionConfig 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 StreamingDistributionConfig
object), CloudFront creates a new
distribution.
If CallerReference
is a value that you already sent in a previous
request to create a distribution, CloudFront returns a
DistributionAlreadyExists
error.
streamingDistributionConfig_s3Origin :: 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.
streamingDistributionConfig_comment :: Lens' StreamingDistributionConfig Text Source #
Any comments you want to include about the streaming distribution.
streamingDistributionConfig_trustedSigners :: Lens' StreamingDistributionConfig TrustedSigners Source #
A complex type that specifies any accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
streamingDistributionConfig_enabled :: 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: newStreamingDistributionConfigWithTags
smart constructor.
StreamingDistributionConfigWithTags' | |
|
Instances
newStreamingDistributionConfigWithTags Source #
:: StreamingDistributionConfig |
|
-> Tags | |
-> StreamingDistributionConfigWithTags |
Create a value of StreamingDistributionConfigWithTags
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:streamingDistributionConfig:StreamingDistributionConfigWithTags'
, streamingDistributionConfigWithTags_streamingDistributionConfig
- A streaming distribution Configuration.
$sel:tags:StreamingDistributionConfigWithTags'
, streamingDistributionConfigWithTags_tags
- A complex type that contains zero or more Tag
elements.
streamingDistributionConfigWithTags_streamingDistributionConfig :: Lens' StreamingDistributionConfigWithTags StreamingDistributionConfig Source #
A streaming distribution Configuration.
streamingDistributionConfigWithTags_tags :: Lens' StreamingDistributionConfigWithTags Tags Source #
A complex type that contains zero or more Tag
elements.
StreamingDistributionList
data StreamingDistributionList Source #
A streaming distribution list.
See: newStreamingDistributionList
smart constructor.
StreamingDistributionList' | |
|
Instances
newStreamingDistributionList Source #
:: Text | |
-> Int | |
-> Bool | |
-> Int | |
-> StreamingDistributionList |
Create a value of StreamingDistributionList
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:StreamingDistributionList'
, streamingDistributionList_items
- A complex type that contains one StreamingDistributionSummary
element
for each distribution that was created by the current account.
$sel:nextMarker:StreamingDistributionList'
, streamingDistributionList_nextMarker
- If IsTruncated
is true
, this element is present and contains the
value you can use for the Marker
request parameter to continue listing
your RTMP distributions where they left off.
$sel:marker:StreamingDistributionList'
, streamingDistributionList_marker
- The value you provided for the Marker
request parameter.
$sel:maxItems:StreamingDistributionList'
, streamingDistributionList_maxItems
- The value you provided for the MaxItems
request parameter.
$sel:isTruncated:StreamingDistributionList'
, streamingDistributionList_isTruncated
- A flag that indicates whether more streaming distributions remain to be
listed. If your results were truncated, you can make a follow-up
pagination request using the Marker
request parameter to retrieve more
distributions in the list.
$sel:quantity:StreamingDistributionList'
, streamingDistributionList_quantity
- The number of streaming distributions that were created by the current
account.
streamingDistributionList_items :: Lens' StreamingDistributionList (Maybe [StreamingDistributionSummary]) Source #
A complex type that contains one StreamingDistributionSummary
element
for each distribution that was created by the current account.
streamingDistributionList_nextMarker :: 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.
streamingDistributionList_marker :: Lens' StreamingDistributionList Text Source #
The value you provided for the Marker
request parameter.
streamingDistributionList_maxItems :: Lens' StreamingDistributionList Int Source #
The value you provided for the MaxItems
request parameter.
streamingDistributionList_isTruncated :: 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.
streamingDistributionList_quantity :: Lens' StreamingDistributionList Int Source #
The number of streaming distributions that were created by the current account.
StreamingDistributionSummary
data StreamingDistributionSummary Source #
A summary of the information for a CloudFront streaming distribution.
See: newStreamingDistributionSummary
smart constructor.
StreamingDistributionSummary' | |
|
Instances
newStreamingDistributionSummary Source #
:: Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> Text | |
-> S3Origin | |
-> Aliases | |
-> TrustedSigners | |
-> Text | |
-> PriceClass | |
-> Bool | |
-> StreamingDistributionSummary |
Create a value of StreamingDistributionSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:StreamingDistributionSummary'
, streamingDistributionSummary_id
- The identifier for the distribution, for example, EDFDVBD632BHDS5
.
$sel:arn:StreamingDistributionSummary'
, streamingDistributionSummary_arn
- The ARN (Amazon Resource Name) for the streaming distribution. For
example:
arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5
,
where 123456789012
is your account ID.
$sel:status:StreamingDistributionSummary'
, streamingDistributionSummary_status
- Indicates the current status of the distribution. When the status is
Deployed
, the distribution's information is fully propagated
throughout the Amazon CloudFront system.
$sel:lastModifiedTime:StreamingDistributionSummary'
, streamingDistributionSummary_lastModifiedTime
- The date and time the distribution was last modified.
$sel:domainName:StreamingDistributionSummary'
, streamingDistributionSummary_domainName
- The domain name corresponding to the distribution, for example,
d111111abcdef8.cloudfront.net
.
$sel:s3Origin:StreamingDistributionSummary'
, streamingDistributionSummary_s3Origin
- A complex type that contains information about the Amazon S3 bucket from
which you want CloudFront to get your media files for distribution.
$sel:aliases:StreamingDistributionSummary'
, streamingDistributionSummary_aliases
- A complex type that contains information about CNAMEs (alternate domain
names), if any, for this streaming distribution.
$sel:trustedSigners:StreamingDistributionSummary'
, streamingDistributionSummary_trustedSigners
- A complex type that specifies the accounts, if any, that you want to
allow to create signed URLs for private content. If you want to require
signed URLs in requests for objects in the target origin that match the
PathPattern
for this cache behavior, specify true
for Enabled
, and
specify the applicable values for Quantity
and Items
.If you don't
want to require signed URLs in requests for objects that match
PathPattern
, specify false
for Enabled
and 0
for Quantity
.
Omit Items
. To add, change, or remove one or more trusted signers,
change Enabled
to true
(if it's currently false
), change
Quantity
as applicable, and specify all of the trusted signers that
you want to include in the updated distribution.
For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
$sel:comment:StreamingDistributionSummary'
, streamingDistributionSummary_comment
- The comment originally specified when this distribution was created.
$sel:priceClass:StreamingDistributionSummary'
, streamingDistributionSummary_priceClass
- A complex type that contains information about price class for this
streaming distribution.
$sel:enabled:StreamingDistributionSummary'
, streamingDistributionSummary_enabled
- Whether the distribution is enabled to accept end user requests for
content.
streamingDistributionSummary_id :: Lens' StreamingDistributionSummary Text Source #
The identifier for the distribution, for example, EDFDVBD632BHDS5
.
streamingDistributionSummary_arn :: 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 account ID.
streamingDistributionSummary_status :: 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.
streamingDistributionSummary_lastModifiedTime :: Lens' StreamingDistributionSummary UTCTime Source #
The date and time the distribution was last modified.
streamingDistributionSummary_domainName :: Lens' StreamingDistributionSummary Text Source #
The domain name corresponding to the distribution, for example,
d111111abcdef8.cloudfront.net
.
streamingDistributionSummary_s3Origin :: 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.
streamingDistributionSummary_aliases :: Lens' StreamingDistributionSummary Aliases Source #
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
streamingDistributionSummary_trustedSigners :: Lens' StreamingDistributionSummary TrustedSigners Source #
A complex type that specifies the accounts, if any, that you want to
allow to create signed URLs for private content. If you want to require
signed URLs in requests for objects in the target origin that match the
PathPattern
for this cache behavior, specify true
for Enabled
, and
specify the applicable values for Quantity
and Items
.If you don't
want to require signed URLs in requests for objects that match
PathPattern
, specify false
for Enabled
and 0
for Quantity
.
Omit Items
. To add, change, or remove one or more trusted signers,
change Enabled
to true
(if it's currently false
), change
Quantity
as applicable, and specify all of the trusted signers that
you want to include in the updated distribution.
For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
streamingDistributionSummary_comment :: Lens' StreamingDistributionSummary Text Source #
The comment originally specified when this distribution was created.
streamingDistributionSummary_priceClass :: Lens' StreamingDistributionSummary PriceClass Source #
A complex type that contains information about price class for this streaming distribution.
streamingDistributionSummary_enabled :: 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: newStreamingLoggingConfig
smart constructor.
StreamingLoggingConfig' | |
|
Instances
newStreamingLoggingConfig Source #
:: Bool | |
-> Text | |
-> Text | |
-> StreamingLoggingConfig |
Create a value of StreamingLoggingConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:enabled:StreamingLoggingConfig'
, streamingLoggingConfig_enabled
- Specifies whether you want CloudFront to save access logs to an Amazon
S3 bucket. If you don't want to enable logging when you create a
streaming distribution or if you want to disable logging for an existing
streaming distribution, specify false
for Enabled
, and specify
empty Bucket
and Prefix
elements. If you specify false
for
Enabled
but you specify values for Bucket
and Prefix
, the values
are automatically deleted.
$sel:bucket:StreamingLoggingConfig'
, streamingLoggingConfig_bucket
- The Amazon S3 bucket to store the access logs in, for example,
myawslogbucket.s3.amazonaws.com
.
$sel:prefix:StreamingLoggingConfig'
, streamingLoggingConfig_prefix
- An optional string that you want CloudFront to prefix to the access log
filenames for this streaming distribution, for example, myprefix/
. If
you want to enable logging, but you don't want to specify a prefix, you
still must include an empty Prefix
element in the Logging
element.
streamingLoggingConfig_enabled :: 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.
streamingLoggingConfig_bucket :: Lens' StreamingLoggingConfig Text Source #
The Amazon S3 bucket to store the access logs in, for example,
myawslogbucket.s3.amazonaws.com
.
streamingLoggingConfig_prefix :: 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: newTag
smart constructor.
Tag' | |
|
Instances
Eq Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
Generic Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.CloudFront.Types.Tag | |
Hashable Tag Source # | |
Defined in Amazonka.CloudFront.Types.Tag | |
FromXML Tag Source # | |
ToXML Tag Source # | |
Defined in Amazonka.CloudFront.Types.Tag | |
type Rep Tag Source # | |
Defined in Amazonka.CloudFront.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.CloudFront.Types.Tag" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Tag
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:value:Tag'
, tag_value
- A string that contains an optional Tag
value.
The string length should be between 0 and 256 characters. Valid
characters include a-z
, A-Z
, 0-9
, space, and the special
characters _ - . : / = + @
.
$sel:key:Tag'
, tag_key
- A string that contains Tag
key.
The string length should be between 1 and 128 characters. Valid
characters include a-z
, A-Z
, 0-9
, space, and the special
characters _ - . : / = + @
.
tag_value :: 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 _ - . : / = + @
.
tag_key :: 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: newTagKeys
smart constructor.
Instances
Eq TagKeys Source # | |
Read TagKeys Source # | |
Show TagKeys Source # | |
Generic TagKeys Source # | |
NFData TagKeys Source # | |
Defined in Amazonka.CloudFront.Types.TagKeys | |
Hashable TagKeys Source # | |
Defined in Amazonka.CloudFront.Types.TagKeys | |
ToXML TagKeys Source # | |
Defined in Amazonka.CloudFront.Types.TagKeys | |
type Rep TagKeys Source # | |
Defined in Amazonka.CloudFront.Types.TagKeys |
newTagKeys :: TagKeys Source #
Create a value of TagKeys
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:TagKeys'
, tagKeys_items
- A complex type that contains Tag
key elements.
tagKeys_items :: Lens' TagKeys (Maybe [Text]) Source #
A complex type that contains Tag
key elements.
Tags
A complex type that contains zero or more Tag
elements.
See: newTags
smart constructor.
Instances
Eq Tags Source # | |
Read Tags Source # | |
Show Tags Source # | |
Generic Tags Source # | |
NFData Tags Source # | |
Defined in Amazonka.CloudFront.Types.Tags | |
Hashable Tags Source # | |
Defined in Amazonka.CloudFront.Types.Tags | |
FromXML Tags Source # | |
ToXML Tags Source # | |
Defined in Amazonka.CloudFront.Types.Tags | |
type Rep Tags Source # | |
Defined in Amazonka.CloudFront.Types.Tags |
Create a value of Tags
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:Tags'
, tags_items
- A complex type that contains Tag
elements.
TestResult
data TestResult Source #
Contains the result of testing a CloudFront function with
TestFunction
.
See: newTestResult
smart constructor.
TestResult' | |
|
Instances
newTestResult :: TestResult Source #
Create a value of TestResult
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:computeUtilization:TestResult'
, testResult_computeUtilization
- The amount of time that the function took to run as a percentage of the
maximum allowed time. For example, a compute utilization of 35 means
that the function completed in 35% of the maximum allowed time.
$sel:functionExecutionLogs:TestResult'
, testResult_functionExecutionLogs
- Contains the log lines that the function wrote (if any) when running the
test.
$sel:functionOutput:TestResult'
, testResult_functionOutput
- The event object returned by the function. For more information about
the structure of the event object, see
Event object structure
in the Amazon CloudFront Developer Guide.
$sel:functionSummary:TestResult'
, testResult_functionSummary
- Contains configuration information and metadata about the CloudFront
function that was tested.
$sel:functionErrorMessage:TestResult'
, testResult_functionErrorMessage
- If the result of testing the function was an error, this field contains
the error message.
testResult_computeUtilization :: Lens' TestResult (Maybe Text) Source #
The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.
testResult_functionExecutionLogs :: Lens' TestResult (Maybe [Text]) Source #
Contains the log lines that the function wrote (if any) when running the test.
testResult_functionOutput :: Lens' TestResult (Maybe Text) Source #
The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.
testResult_functionSummary :: Lens' TestResult (Maybe FunctionSummary) Source #
Contains configuration information and metadata about the CloudFront function that was tested.
testResult_functionErrorMessage :: Lens' TestResult (Maybe Text) Source #
If the result of testing the function was an error, this field contains the error message.
TrustedKeyGroups
data TrustedKeyGroups Source #
A list of key groups whose public keys CloudFront can use to verify the signatures of signed URLs and signed cookies.
See: newTrustedKeyGroups
smart constructor.
TrustedKeyGroups' | |
|
Instances
Create a value of TrustedKeyGroups
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:TrustedKeyGroups'
, trustedKeyGroups_items
- A list of key groups identifiers.
$sel:enabled:TrustedKeyGroups'
, trustedKeyGroups_enabled
- This field is true
if any of the key groups in the list have public
keys that CloudFront can use to verify the signatures of signed URLs and
signed cookies. If not, this field is false
.
$sel:quantity:TrustedKeyGroups'
, trustedKeyGroups_quantity
- The number of key groups in the list.
trustedKeyGroups_items :: Lens' TrustedKeyGroups (Maybe [Text]) Source #
A list of key groups identifiers.
trustedKeyGroups_enabled :: Lens' TrustedKeyGroups Bool Source #
This field is true
if any of the key groups in the list have public
keys that CloudFront can use to verify the signatures of signed URLs and
signed cookies. If not, this field is false
.
trustedKeyGroups_quantity :: Lens' TrustedKeyGroups Int Source #
The number of key groups in the list.
TrustedSigners
data TrustedSigners Source #
A list of accounts whose public keys CloudFront can use to verify the signatures of signed URLs and signed cookies.
See: newTrustedSigners
smart constructor.
Instances
Create a value of TrustedSigners
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:TrustedSigners'
, trustedSigners_items
- A list of account identifiers.
$sel:enabled:TrustedSigners'
, trustedSigners_enabled
- This field is true
if any of the accounts have public keys that
CloudFront can use to verify the signatures of signed URLs and signed
cookies. If not, this field is false
.
$sel:quantity:TrustedSigners'
, trustedSigners_quantity
- The number of accounts in the list.
trustedSigners_items :: Lens' TrustedSigners (Maybe [Text]) Source #
A list of account identifiers.
trustedSigners_enabled :: Lens' TrustedSigners Bool Source #
This field is true
if any of the accounts have public keys that
CloudFront can use to verify the signatures of signed URLs and signed
cookies. If not, this field is false
.
trustedSigners_quantity :: Lens' TrustedSigners Int Source #
The number of accounts in the list.
ViewerCertificate
data ViewerCertificate Source #
A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.
If the distribution doesn’t use Aliases
(also known as alternate
domain names or CNAMEs)—that is, if the distribution uses the CloudFront
domain name such as d111111abcdef8.cloudfront.net
—set
CloudFrontDefaultCertificate
to true
and leave all other fields
empty.
If the distribution uses Aliases
(alternate domain names or CNAMEs),
use the fields in this type to specify the following settings:
Which viewers the distribution accepts HTTPS connections from: only viewers that support server name indication (SNI) (recommended), or all viewers including those that don’t support SNI.
- To accept HTTPS connections from only viewers that support SNI,
set
SSLSupportMethod
tosni-only
. This is recommended. Most browsers and clients support SNI. - To accept HTTPS connections from all viewers, including those
that don’t support SNI, set
SSLSupportMethod
tovip
. This is not recommended, and results in additional monthly charges from CloudFront.
- To accept HTTPS connections from only viewers that support SNI,
set
- The minimum SSL/TLS protocol version that the distribution can use
to communicate with viewers. To specify a minimum version, choose a
value for
MinimumProtocolVersion
. For more information, see Security Policy in the Amazon CloudFront Developer Guide. The location of the SSL/TLS certificate, Certificate Manager (ACM) (recommended) or Identity and Access Management (IAM). You specify the location by setting a value in one of the following fields (not both):
ACMCertificateArn
IAMCertificateId
All distributions support HTTPS connections from viewers. To require
viewers to use HTTPS only, or to redirect them from HTTP to HTTPS, use
ViewerProtocolPolicy
in the CacheBehavior
or DefaultCacheBehavior
.
To specify how CloudFront should use SSL/TLS to communicate with your
custom origin, use CustomOriginConfig
.
For more information, see Using HTTPS with CloudFront and Using Alternate Domain Names and HTTPS in the Amazon CloudFront Developer Guide.
See: newViewerCertificate
smart constructor.
ViewerCertificate' | |
|
Instances
newViewerCertificate :: ViewerCertificate Source #
Create a value of ViewerCertificate
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:sSLSupportMethod:ViewerCertificate'
, viewerCertificate_sSLSupportMethod
- If the distribution uses Aliases
(alternate domain names or CNAMEs),
specify which viewers the distribution accepts HTTPS connections from.
sni-only
– The distribution accepts HTTPS connections from only viewers that support server name indication (SNI). This is recommended. Most browsers and clients support SNI.vip
– The distribution accepts HTTPS connections from all viewers including those that don’t support SNI. This is not recommended, and results in additional monthly charges from CloudFront.static-ip
- Do not specify this value unless your distribution has been enabled for this feature by the CloudFront team. If you have a use case that requires static IP addresses for a distribution, contact CloudFront through the Amazon Web Services Support Center.
If the distribution uses the CloudFront domain name such as
d111111abcdef8.cloudfront.net
, don’t set a value for this field.
$sel:aCMCertificateArn:ViewerCertificate'
, viewerCertificate_aCMCertificateArn
- If the distribution uses Aliases
(alternate domain names or CNAMEs)
and the SSL/TLS certificate is stored in
Certificate Manager (ACM),
provide the Amazon Resource Name (ARN) of the ACM certificate.
CloudFront only supports ACM certificates in the US East (N. Virginia)
Region (us-east-1
).
If you specify an ACM certificate ARN, you must also specify values for
MinimumProtocolVersion
and SSLSupportMethod
.
$sel:certificateSource:ViewerCertificate'
, viewerCertificate_certificateSource
- This field is deprecated. Use one of the following fields instead:
ACMCertificateArn
IAMCertificateId
CloudFrontDefaultCertificate
$sel:minimumProtocolVersion:ViewerCertificate'
, viewerCertificate_minimumProtocolVersion
- If the distribution uses Aliases
(alternate domain names or CNAMEs),
specify the security policy that you want CloudFront to use for HTTPS
connections with viewers. The security policy determines two settings:
- The minimum SSL/TLS protocol that CloudFront can use to communicate with viewers.
- The ciphers that CloudFront can use to encrypt the content that it returns to viewers.
For more information, see Security Policy and Supported Protocols and Ciphers Between Viewers and CloudFront in the Amazon CloudFront Developer Guide.
On the CloudFront console, this setting is called Security Policy.
When you’re using SNI only (you set SSLSupportMethod
to sni-only
),
you must specify TLSv1
or higher.
If the distribution uses the CloudFront domain name such as
d111111abcdef8.cloudfront.net
(you set CloudFrontDefaultCertificate
to true
), CloudFront automatically sets the security policy to TLSv1
regardless of the value that you set here.
$sel:certificate:ViewerCertificate'
, viewerCertificate_certificate
- This field is deprecated. Use one of the following fields instead:
ACMCertificateArn
IAMCertificateId
CloudFrontDefaultCertificate
$sel:iAMCertificateId:ViewerCertificate'
, viewerCertificate_iAMCertificateId
- If the distribution uses Aliases
(alternate domain names or CNAMEs)
and the SSL/TLS certificate is stored in
Identity and Access Management (IAM),
provide the ID of the IAM certificate.
If you specify an IAM certificate ID, you must also specify values for
MinimumProtocolVersion
and SSLSupportMethod
.
$sel:cloudFrontDefaultCertificate:ViewerCertificate'
, viewerCertificate_cloudFrontDefaultCertificate
- If the distribution uses the CloudFront domain name such as
d111111abcdef8.cloudfront.net
, set this field to true
.
If the distribution uses Aliases
(alternate domain names or CNAMEs),
set this field to false
and specify values for the following fields:
ACMCertificateArn
orIAMCertificateId
(specify a value for one, not both)MinimumProtocolVersion
SSLSupportMethod
viewerCertificate_sSLSupportMethod :: Lens' ViewerCertificate (Maybe SSLSupportMethod) Source #
If the distribution uses Aliases
(alternate domain names or CNAMEs),
specify which viewers the distribution accepts HTTPS connections from.
sni-only
– The distribution accepts HTTPS connections from only viewers that support server name indication (SNI). This is recommended. Most browsers and clients support SNI.vip
– The distribution accepts HTTPS connections from all viewers including those that don’t support SNI. This is not recommended, and results in additional monthly charges from CloudFront.static-ip
- Do not specify this value unless your distribution has been enabled for this feature by the CloudFront team. If you have a use case that requires static IP addresses for a distribution, contact CloudFront through the Amazon Web Services Support Center.
If the distribution uses the CloudFront domain name such as
d111111abcdef8.cloudfront.net
, don’t set a value for this field.
viewerCertificate_aCMCertificateArn :: Lens' ViewerCertificate (Maybe Text) Source #
If the distribution uses Aliases
(alternate domain names or CNAMEs)
and the SSL/TLS certificate is stored in
Certificate Manager (ACM),
provide the Amazon Resource Name (ARN) of the ACM certificate.
CloudFront only supports ACM certificates in the US East (N. Virginia)
Region (us-east-1
).
If you specify an ACM certificate ARN, you must also specify values for
MinimumProtocolVersion
and SSLSupportMethod
.
viewerCertificate_certificateSource :: Lens' ViewerCertificate (Maybe CertificateSource) Source #
This field is deprecated. Use one of the following fields instead:
ACMCertificateArn
IAMCertificateId
CloudFrontDefaultCertificate
viewerCertificate_minimumProtocolVersion :: Lens' ViewerCertificate (Maybe MinimumProtocolVersion) Source #
If the distribution uses Aliases
(alternate domain names or CNAMEs),
specify the security policy that you want CloudFront to use for HTTPS
connections with viewers. The security policy determines two settings:
- The minimum SSL/TLS protocol that CloudFront can use to communicate with viewers.
- The ciphers that CloudFront can use to encrypt the content that it returns to viewers.
For more information, see Security Policy and Supported Protocols and Ciphers Between Viewers and CloudFront in the Amazon CloudFront Developer Guide.
On the CloudFront console, this setting is called Security Policy.
When you’re using SNI only (you set SSLSupportMethod
to sni-only
),
you must specify TLSv1
or higher.
If the distribution uses the CloudFront domain name such as
d111111abcdef8.cloudfront.net
(you set CloudFrontDefaultCertificate
to true
), CloudFront automatically sets the security policy to TLSv1
regardless of the value that you set here.
viewerCertificate_certificate :: Lens' ViewerCertificate (Maybe Text) Source #
This field is deprecated. Use one of the following fields instead:
ACMCertificateArn
IAMCertificateId
CloudFrontDefaultCertificate
viewerCertificate_iAMCertificateId :: Lens' ViewerCertificate (Maybe Text) Source #
If the distribution uses Aliases
(alternate domain names or CNAMEs)
and the SSL/TLS certificate is stored in
Identity and Access Management (IAM),
provide the ID of the IAM certificate.
If you specify an IAM certificate ID, you must also specify values for
MinimumProtocolVersion
and SSLSupportMethod
.
viewerCertificate_cloudFrontDefaultCertificate :: Lens' ViewerCertificate (Maybe Bool) Source #
If the distribution uses the CloudFront domain name such as
d111111abcdef8.cloudfront.net
, set this field to true
.
If the distribution uses Aliases
(alternate domain names or CNAMEs),
set this field to false
and specify values for the following fields:
ACMCertificateArn
orIAMCertificateId
(specify a value for one, not both)MinimumProtocolVersion
SSLSupportMethod