amazonka-cloudfront-2.0: Amazon CloudFront SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFront.Types

Contents

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2020-05-31 of the Amazon CloudFront SDK configuration.

Errors

_AccessDenied :: AsError a => Fold a ServiceError Source #

Access denied.

_BatchTooLarge :: AsError a => Fold a ServiceError Source #

Invalidation batch specified is too large.

_CNAMEAlreadyExists :: AsError a => Fold a ServiceError Source #

The CNAME specified is already defined for CloudFront.

_CachePolicyAlreadyExists :: AsError a => Fold 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.

_CachePolicyInUse :: AsError a => Fold a ServiceError Source #

Cannot delete the cache policy because it is attached to one or more cache behaviors.

_CannotChangeImmutablePublicKeyFields :: AsError a => Fold a ServiceError Source #

You can't change the value of a public key.

_CloudFrontOriginAccessIdentityAlreadyExists :: AsError a => Fold 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.

_CloudFrontOriginAccessIdentityInUse :: AsError a => Fold a ServiceError Source #

The Origin Access Identity specified is already in use.

_ContinuousDeploymentPolicyAlreadyExists :: AsError a => Fold a ServiceError Source #

A continuous deployment policy with this configuration already exists.

_ContinuousDeploymentPolicyInUse :: AsError a => Fold a ServiceError Source #

You cannot delete a continuous deployment policy that is associated with a primary distribution.

_DistributionAlreadyExists :: AsError a => Fold a ServiceError Source #

The caller reference you attempted to create the distribution with is associated with another distribution.

_DistributionNotDisabled :: AsError a => Fold a ServiceError Source #

The specified CloudFront distribution is not disabled. You must disable the distribution before you can delete it.

_FieldLevelEncryptionConfigAlreadyExists :: AsError a => Fold a ServiceError Source #

The specified configuration for field-level encryption already exists.

_FieldLevelEncryptionConfigInUse :: AsError a => Fold a ServiceError Source #

The specified configuration for field-level encryption is in use.

_FieldLevelEncryptionProfileAlreadyExists :: AsError a => Fold a ServiceError Source #

The specified profile for field-level encryption already exists.

_FieldLevelEncryptionProfileInUse :: AsError a => Fold a ServiceError Source #

The specified profile for field-level encryption is in use.

_FieldLevelEncryptionProfileSizeExceeded :: AsError a => Fold a ServiceError Source #

The maximum size of a profile for field-level encryption was exceeded.

_FunctionAlreadyExists :: AsError a => Fold a ServiceError Source #

A function with the same name already exists in this Amazon Web Services account. To create a function, you must provide a unique name. To update an existing function, use UpdateFunction.

_FunctionInUse :: AsError a => Fold a ServiceError Source #

Cannot delete the function because it's attached to one or more cache behaviors.

_FunctionSizeLimitExceeded :: AsError a => Fold a ServiceError Source #

The function is too large. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_IllegalDelete :: AsError a => Fold a ServiceError Source #

You cannot delete a managed policy.

_IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior :: AsError a => Fold a ServiceError Source #

The specified configuration for field-level encryption can't be associated with the specified cache behavior.

_IllegalOriginAccessConfiguration :: AsError a => Fold a ServiceError Source #

An origin cannot contain both an origin access control (OAC) and an origin access identity (OAI).

_IllegalUpdate :: AsError a => Fold a ServiceError Source #

The update contains modifications that are not allowed.

_InconsistentQuantities :: AsError a => Fold a ServiceError Source #

The value of Quantity and the size of Items don't match.

_InvalidArgument :: AsError a => Fold a ServiceError Source #

An argument is invalid.

_InvalidDefaultRootObject :: AsError a => Fold a ServiceError Source #

The default root object file name is too big or contains an invalid character.

_InvalidDomainNameForOriginAccessControl :: AsError a => Fold a ServiceError Source #

An origin access control is associated with an origin whose domain name is not supported.

_InvalidErrorCode :: AsError a => Fold a ServiceError Source #

An invalid error code was specified.

_InvalidForwardCookies :: AsError a => Fold 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.

_InvalidFunctionAssociation :: AsError a => Fold a ServiceError Source #

A CloudFront function association is invalid.

_InvalidGeoRestrictionParameter :: AsError a => Fold a ServiceError Source #

The specified geo restriction parameter is not valid.

_InvalidHeadersForS3Origin :: AsError a => Fold a ServiceError Source #

The headers specified are not valid for an Amazon S3 origin.

_InvalidIfMatchVersion :: AsError a => Fold a ServiceError Source #

The If-Match version is missing or not valid.

_InvalidLambdaFunctionAssociation :: AsError a => Fold a ServiceError Source #

The specified Lambda@Edge function association is invalid.

_InvalidLocationCode :: AsError a => Fold a ServiceError Source #

The location code specified is not valid.

_InvalidMinimumProtocolVersion :: AsError a => Fold a ServiceError Source #

The minimum protocol version specified is not valid.

_InvalidOrigin :: AsError a => Fold a ServiceError Source #

The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.

_InvalidOriginAccessControl :: AsError a => Fold a ServiceError Source #

The origin access control is not valid.

_InvalidOriginAccessIdentity :: AsError a => Fold a ServiceError Source #

The origin access identity is not valid or doesn't exist.

_InvalidOriginKeepaliveTimeout :: AsError a => Fold a ServiceError Source #

The keep alive timeout specified for the origin is not valid.

_InvalidOriginReadTimeout :: AsError a => Fold a ServiceError Source #

The read timeout specified for the origin is not valid.

_InvalidProtocolSettings :: AsError a => Fold 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).

_InvalidQueryStringParameters :: AsError a => Fold a ServiceError Source #

The query string parameters specified are not valid.

_InvalidRelativePath :: AsError a => Fold a ServiceError Source #

The relative path is too big, is not URL-encoded, or does not begin with a slash (/).

_InvalidRequiredProtocol :: AsError a => Fold 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.

_InvalidResponseCode :: AsError a => Fold a ServiceError Source #

A response code is not valid.

_InvalidTTLOrder :: AsError a => Fold a ServiceError Source #

The TTL order specified is not valid.

_InvalidTagging :: AsError a => Fold a ServiceError Source #

The tagging specified is not valid.

_InvalidViewerCertificate :: AsError a => Fold a ServiceError Source #

A viewer certificate specified is not valid.

_InvalidWebACLId :: AsError a => Fold 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.

_KeyGroupAlreadyExists :: AsError a => Fold 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.

_MissingBody :: AsError a => Fold a ServiceError Source #

This operation requires a body. Ensure that the body is present and the Content-Type header is set.

_MonitoringSubscriptionAlreadyExists :: AsError a => Fold a ServiceError Source #

A monitoring subscription already exists for the specified distribution.

_NoSuchCachePolicy :: AsError a => Fold a ServiceError Source #

The cache policy does not exist.

_NoSuchCloudFrontOriginAccessIdentity :: AsError a => Fold a ServiceError Source #

The specified origin access identity does not exist.

_NoSuchContinuousDeploymentPolicy :: AsError a => Fold a ServiceError Source #

The continuous deployment policy doesn't exist.

_NoSuchDistribution :: AsError a => Fold a ServiceError Source #

The specified distribution does not exist.

_NoSuchFieldLevelEncryptionConfig :: AsError a => Fold a ServiceError Source #

The specified configuration for field-level encryption doesn't exist.

_NoSuchFieldLevelEncryptionProfile :: AsError a => Fold a ServiceError Source #

The specified profile for field-level encryption doesn't exist.

_NoSuchFunctionExists :: AsError a => Fold a ServiceError Source #

The function does not exist.

_NoSuchInvalidation :: AsError a => Fold a ServiceError Source #

The specified invalidation does not exist.

_NoSuchMonitoringSubscription :: AsError a => Fold a ServiceError Source #

A monitoring subscription does not exist for the specified distribution.

_NoSuchOrigin :: AsError a => Fold a ServiceError Source #

No origin exists with the specified Origin Id.

_NoSuchOriginAccessControl :: AsError a => Fold a ServiceError Source #

The origin access control does not exist.

_NoSuchOriginRequestPolicy :: AsError a => Fold a ServiceError Source #

The origin request policy does not exist.

_NoSuchPublicKey :: AsError a => Fold a ServiceError Source #

The specified public key doesn't exist.

_NoSuchRealtimeLogConfig :: AsError a => Fold a ServiceError Source #

The real-time log configuration does not exist.

_NoSuchResource :: AsError a => Fold a ServiceError Source #

A resource that was specified is not valid.

_NoSuchResponseHeadersPolicy :: AsError a => Fold a ServiceError Source #

The response headers policy does not exist.

_NoSuchStreamingDistribution :: AsError a => Fold a ServiceError Source #

The specified streaming distribution does not exist.

_OriginAccessControlAlreadyExists :: AsError a => Fold a ServiceError Source #

An origin access control with the specified parameters already exists.

_OriginAccessControlInUse :: AsError a => Fold a ServiceError Source #

Cannot delete the origin access control because it's in use by one or more distributions.

_OriginRequestPolicyAlreadyExists :: AsError a => Fold 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.

_OriginRequestPolicyInUse :: AsError a => Fold a ServiceError Source #

Cannot delete the origin request policy because it is attached to one or more cache behaviors.

_PreconditionFailed :: AsError a => Fold a ServiceError Source #

The precondition in one or more of the request fields evaluated to false.

_PublicKeyAlreadyExists :: AsError a => Fold a ServiceError Source #

The specified public key already exists.

_PublicKeyInUse :: AsError a => Fold a ServiceError Source #

The specified public key is in use.

_QueryArgProfileEmpty :: AsError a => Fold a ServiceError Source #

No profile specified for the field-level encryption query argument.

_RealtimeLogConfigAlreadyExists :: AsError a => Fold 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.

_RealtimeLogConfigInUse :: AsError a => Fold a ServiceError Source #

Cannot delete the real-time log configuration because it is attached to one or more cache behaviors.

_RealtimeLogConfigOwnerMismatch :: AsError a => Fold a ServiceError Source #

The specified real-time log configuration belongs to a different Amazon Web Services account.

_ResourceInUse :: AsError a => Fold a ServiceError Source #

Cannot delete this resource because it is in use.

_ResponseHeadersPolicyAlreadyExists :: AsError a => Fold a ServiceError Source #

A response headers policy with this name already exists. You must provide a unique name. To modify an existing response headers policy, use UpdateResponseHeadersPolicy.

_ResponseHeadersPolicyInUse :: AsError a => Fold a ServiceError Source #

Cannot delete the response headers policy because it is attached to one or more cache behaviors in a CloudFront distribution.

_StagingDistributionInUse :: AsError a => Fold a ServiceError Source #

A continuous deployment policy for this staging distribution already exists.

_StreamingDistributionAlreadyExists :: AsError a => Fold a ServiceError Source #

The caller reference you attempted to create the streaming distribution with is associated with another distribution

_StreamingDistributionNotDisabled :: AsError a => Fold a ServiceError Source #

The specified CloudFront distribution is not disabled. You must disable the distribution before you can delete it.

_TestFunctionFailed :: AsError a => Fold a ServiceError Source #

The CloudFront function failed.

_TooLongCSPInResponseHeadersPolicy :: AsError a => Fold a ServiceError Source #

The length of the Content-Security-Policy header value in the response headers policy exceeds the maximum.

For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_TooManyCacheBehaviors :: AsError a => Fold a ServiceError Source #

You cannot create more cache behaviors for the distribution.

_TooManyCachePolicies :: AsError a => Fold a ServiceError Source #

You have reached the maximum number of cache policies for this Amazon Web Services account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_TooManyCertificates :: AsError a => Fold a ServiceError Source #

You cannot create anymore custom SSL/TLS certificates.

_TooManyCloudFrontOriginAccessIdentities :: AsError a => Fold a ServiceError Source #

Processing your request would cause you to exceed the maximum number of origin access identities allowed.

_TooManyContinuousDeploymentPolicies :: AsError a => Fold a ServiceError Source #

You have reached the maximum number of continuous deployment policies for this Amazon Web Services account.

_TooManyCookieNamesInWhiteList :: AsError a => Fold a ServiceError Source #

Your request contains more cookie names in the whitelist than are allowed per cache behavior.

_TooManyCookiesInCachePolicy :: AsError a => Fold 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.

_TooManyCookiesInOriginRequestPolicy :: AsError a => Fold 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.

_TooManyCustomHeadersInResponseHeadersPolicy :: AsError a => Fold a ServiceError Source #

The number of custom headers in the response headers policy exceeds the maximum.

For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_TooManyDistributionCNAMEs :: AsError a => Fold a ServiceError Source #

Your request contains more CNAMEs than are allowed per distribution.

_TooManyDistributions :: AsError a => Fold a ServiceError Source #

Processing your request would cause you to exceed the maximum number of distributions allowed.

_TooManyDistributionsAssociatedToCachePolicy :: AsError a => Fold 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.

_TooManyDistributionsAssociatedToFieldLevelEncryptionConfig :: AsError a => Fold a ServiceError Source #

The maximum number of distributions have been associated with the specified configuration for field-level encryption.

_TooManyDistributionsAssociatedToKeyGroup :: AsError a => Fold 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.

_TooManyDistributionsAssociatedToOriginAccessControl :: AsError a => Fold a ServiceError Source #

The maximum number of distributions have been associated with the specified origin access control.

For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_TooManyDistributionsAssociatedToOriginRequestPolicy :: AsError a => Fold 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.

_TooManyDistributionsAssociatedToResponseHeadersPolicy :: AsError a => Fold a ServiceError Source #

The maximum number of distributions have been associated with the specified response headers policy.

For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_TooManyDistributionsWithFunctionAssociations :: AsError a => Fold 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.

_TooManyDistributionsWithLambdaAssociations :: AsError a => Fold a ServiceError Source #

Processing your request would cause the maximum number of distributions with Lambda@Edge function associations per owner to be exceeded.

_TooManyDistributionsWithSingleFunctionARN :: AsError a => Fold a ServiceError Source #

The maximum number of distributions have been associated with the specified Lambda@Edge function.

_TooManyFieldLevelEncryptionConfigs :: AsError a => Fold a ServiceError Source #

The maximum number of configurations for field-level encryption have been created.

_TooManyFieldLevelEncryptionContentTypeProfiles :: AsError a => Fold a ServiceError Source #

The maximum number of content type profiles for field-level encryption have been created.

_TooManyFieldLevelEncryptionEncryptionEntities :: AsError a => Fold a ServiceError Source #

The maximum number of encryption entities for field-level encryption have been created.

_TooManyFieldLevelEncryptionFieldPatterns :: AsError a => Fold a ServiceError Source #

The maximum number of field patterns for field-level encryption have been created.

_TooManyFieldLevelEncryptionProfiles :: AsError a => Fold a ServiceError Source #

The maximum number of profiles for field-level encryption have been created.

_TooManyFieldLevelEncryptionQueryArgProfiles :: AsError a => Fold a ServiceError Source #

The maximum number of query arg profiles for field-level encryption have been created.

_TooManyFunctionAssociations :: AsError a => Fold 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.

_TooManyFunctions :: AsError a => Fold a ServiceError Source #

You have reached the maximum number of CloudFront functions for this Amazon Web Services account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_TooManyHeadersInCachePolicy :: AsError a => Fold 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.

_TooManyHeadersInForwardedValues :: AsError a => Fold a ServiceError Source #

Your request contains too many headers in forwarded values.

_TooManyHeadersInOriginRequestPolicy :: AsError a => Fold 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.

_TooManyInvalidationsInProgress :: AsError a => Fold a ServiceError Source #

You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects.

_TooManyKeyGroups :: AsError a => Fold a ServiceError Source #

You have reached the maximum number of key groups for this Amazon Web Services account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_TooManyKeyGroupsAssociatedToDistribution :: AsError a => Fold 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.

_TooManyLambdaFunctionAssociations :: AsError a => Fold a ServiceError Source #

Your request contains more Lambda@Edge function associations than are allowed per distribution.

_TooManyOriginAccessControls :: AsError a => Fold a ServiceError Source #

The number of origin access controls in your Amazon Web Services account exceeds the maximum allowed.

For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_TooManyOriginCustomHeaders :: AsError a => Fold a ServiceError Source #

Your request contains too many origin custom headers.

_TooManyOriginGroupsPerDistribution :: AsError a => Fold a ServiceError Source #

Processing your request would cause you to exceed the maximum number of origin groups allowed.

_TooManyOriginRequestPolicies :: AsError a => Fold a ServiceError Source #

You have reached the maximum number of origin request policies for this Amazon Web Services account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_TooManyOrigins :: AsError a => Fold a ServiceError Source #

You cannot create more origins for the distribution.

_TooManyPublicKeys :: AsError a => Fold 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.

_TooManyPublicKeysInKeyGroup :: AsError a => Fold 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.

_TooManyQueryStringParameters :: AsError a => Fold a ServiceError Source #

Your request contains too many query string parameters.

_TooManyQueryStringsInCachePolicy :: AsError a => Fold 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.

_TooManyQueryStringsInOriginRequestPolicy :: AsError a => Fold 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.

_TooManyRealtimeLogConfigs :: AsError a => Fold a ServiceError Source #

You have reached the maximum number of real-time log configurations for this Amazon Web Services account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_TooManyRemoveHeadersInResponseHeadersPolicy :: AsError a => Fold a ServiceError Source #

The number of headers in RemoveHeadersConfig in the response headers policy exceeds the maximum.

For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_TooManyResponseHeadersPolicies :: AsError a => Fold a ServiceError Source #

You have reached the maximum number of response headers policies for this Amazon Web Services account.

For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_TooManyStreamingDistributionCNAMEs :: AsError a => Fold a ServiceError Source #

Your request contains more CNAMEs than are allowed per distribution.

_TooManyStreamingDistributions :: AsError a => Fold a ServiceError Source #

Processing your request would cause you to exceed the maximum number of streaming distributions allowed.

_TooManyTrustedSigners :: AsError a => Fold a ServiceError Source #

Your request contains more trusted signers than are allowed per distribution.

_TrustedKeyGroupDoesNotExist :: AsError a => Fold a ServiceError Source #

The specified key group does not exist.

_TrustedSignerDoesNotExist :: AsError a => Fold a ServiceError Source #

One or more of your trusted signers don't exist.

_UnsupportedOperation :: AsError a => Fold a ServiceError Source #

This operation is not supported in this region.

CachePolicyCookieBehavior

newtype CachePolicyCookieBehavior Source #

Instances

Instances details
FromJSON CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

FromJSONKey CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

ToJSON CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

ToJSONKey CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

ToByteString CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

ToHeader CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

ToLog CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

ToQuery CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

FromText CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

ToText CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

FromXML CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

ToXML CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

Generic CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

Associated Types

type Rep CachePolicyCookieBehavior :: Type -> Type #

Read CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

Show CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

NFData CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

Eq CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

Ord CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

Hashable CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

type Rep CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

type Rep CachePolicyCookieBehavior = D1 ('MetaData "CachePolicyCookieBehavior" "Amazonka.CloudFront.Types.CachePolicyCookieBehavior" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "CachePolicyCookieBehavior'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCachePolicyCookieBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

CachePolicyHeaderBehavior

newtype CachePolicyHeaderBehavior Source #

Instances

Instances details
FromJSON CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

FromJSONKey CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

ToJSON CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

ToJSONKey CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

ToByteString CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

ToHeader CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

ToLog CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

ToQuery CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

FromText CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

ToText CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

FromXML CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

ToXML CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

Generic CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

Associated Types

type Rep CachePolicyHeaderBehavior :: Type -> Type #

Read CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

Show CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

NFData CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

Eq CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

Ord CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

Hashable CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

type Rep CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

type Rep CachePolicyHeaderBehavior = D1 ('MetaData "CachePolicyHeaderBehavior" "Amazonka.CloudFront.Types.CachePolicyHeaderBehavior" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "CachePolicyHeaderBehavior'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCachePolicyHeaderBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

CachePolicyQueryStringBehavior

newtype CachePolicyQueryStringBehavior Source #

Instances

Instances details
FromJSON CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

FromJSONKey CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

ToJSON CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

ToJSONKey CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

ToByteString CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

ToHeader CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

ToLog CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

ToQuery CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

FromText CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

ToText CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

FromXML CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

ToXML CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

Generic CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

Associated Types

type Rep CachePolicyQueryStringBehavior :: Type -> Type #

Read CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

Show CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

NFData CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

Eq CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

Ord CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

Hashable CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

type Rep CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

type Rep CachePolicyQueryStringBehavior = D1 ('MetaData "CachePolicyQueryStringBehavior" "Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "CachePolicyQueryStringBehavior'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCachePolicyQueryStringBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

CachePolicyType

newtype CachePolicyType Source #

Constructors

CachePolicyType' 

Instances

Instances details
FromJSON CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

FromJSONKey CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

ToJSON CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

ToJSONKey CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

ToByteString CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

ToHeader CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

ToLog CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

ToQuery CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

FromText CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

ToText CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

FromXML CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

ToXML CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

Methods

toXML :: CachePolicyType -> XML #

Generic CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

Associated Types

type Rep CachePolicyType :: Type -> Type #

Read CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

Show CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

NFData CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

Methods

rnf :: CachePolicyType -> () #

Eq CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

Ord CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

Hashable CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

type Rep CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

type Rep CachePolicyType = D1 ('MetaData "CachePolicyType" "Amazonka.CloudFront.Types.CachePolicyType" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "CachePolicyType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCachePolicyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

CertificateSource

newtype CertificateSource Source #

Instances

Instances details
FromJSON CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

FromJSONKey CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

ToJSON CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

ToJSONKey CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

ToByteString CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

ToHeader CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

ToLog CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

ToQuery CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

FromText CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

ToText CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

FromXML CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

ToXML CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

Generic CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

Associated Types

type Rep CertificateSource :: Type -> Type #

Read CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

Show CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

NFData CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

Methods

rnf :: CertificateSource -> () #

Eq CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

Ord CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

Hashable CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

type Rep CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

type Rep CertificateSource = D1 ('MetaData "CertificateSource" "Amazonka.CloudFront.Types.CertificateSource" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "CertificateSource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCertificateSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ContinuousDeploymentPolicyType

newtype ContinuousDeploymentPolicyType Source #

Instances

Instances details
FromJSON ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

FromJSONKey ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

ToJSON ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

ToJSONKey ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

ToByteString ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

ToHeader ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

ToLog ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

ToQuery ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

FromText ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

ToText ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

FromXML ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

ToXML ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

Generic ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

Associated Types

type Rep ContinuousDeploymentPolicyType :: Type -> Type #

Read ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

Show ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

NFData ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

Eq ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

Ord ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

Hashable ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

type Rep ContinuousDeploymentPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType

type Rep ContinuousDeploymentPolicyType = D1 ('MetaData "ContinuousDeploymentPolicyType" "Amazonka.CloudFront.Types.ContinuousDeploymentPolicyType" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "ContinuousDeploymentPolicyType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromContinuousDeploymentPolicyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EventType

newtype EventType Source #

Constructors

EventType' 

Fields

Instances

Instances details
FromJSON EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

FromJSONKey EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

ToJSON EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

ToJSONKey EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

ToByteString EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

Methods

toBS :: EventType -> ByteString #

ToHeader EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

ToLog EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

ToQuery EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

FromText EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

ToText EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

Methods

toText :: EventType -> Text #

FromXML EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

ToXML EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

Methods

toXML :: EventType -> XML #

Generic EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

Associated Types

type Rep EventType :: Type -> Type #

Read EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

Show EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

NFData EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

Methods

rnf :: EventType -> () #

Eq EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

Ord EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

Hashable EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

type Rep EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

type Rep EventType = D1 ('MetaData "EventType" "Amazonka.CloudFront.Types.EventType" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "EventType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Format

newtype Format Source #

Constructors

Format' 

Fields

Bundled Patterns

pattern Format_URLEncoded :: Format 

Instances

Instances details
FromJSON Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

FromJSONKey Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

ToJSON Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

ToJSONKey Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

ToByteString Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Methods

toBS :: Format -> ByteString #

ToHeader Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Methods

toHeader :: HeaderName -> Format -> [Header] #

ToLog Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

ToQuery Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

FromText Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

ToText Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Methods

toText :: Format -> Text #

FromXML Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

ToXML Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Methods

toXML :: Format -> XML #

Generic Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Associated Types

type Rep Format :: Type -> Type #

Methods

from :: Format -> Rep Format x #

to :: Rep Format x -> Format #

Read Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Show Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

NFData Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Methods

rnf :: Format -> () #

Eq Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Methods

(==) :: Format -> Format -> Bool #

(/=) :: Format -> Format -> Bool #

Ord Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Hashable Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Methods

hashWithSalt :: Int -> Format -> Int #

hash :: Format -> Int #

type Rep Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

type Rep Format = D1 ('MetaData "Format" "Amazonka.CloudFront.Types.Format" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "Format'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

FrameOptionsList

newtype FrameOptionsList Source #

Instances

Instances details
FromJSON FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

FromJSONKey FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

ToJSON FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

ToJSONKey FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

ToByteString FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

ToHeader FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

ToLog FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

ToQuery FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

FromText FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

ToText FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

FromXML FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

ToXML FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

Generic FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

Associated Types

type Rep FrameOptionsList :: Type -> Type #

Read FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

Show FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

NFData FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

Methods

rnf :: FrameOptionsList -> () #

Eq FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

Ord FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

Hashable FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

type Rep FrameOptionsList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FrameOptionsList

type Rep FrameOptionsList = D1 ('MetaData "FrameOptionsList" "Amazonka.CloudFront.Types.FrameOptionsList" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "FrameOptionsList'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromFrameOptionsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

FunctionRuntime

newtype FunctionRuntime Source #

Constructors

FunctionRuntime' 

Instances

Instances details
FromJSON FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

FromJSONKey FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

ToJSON FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

ToJSONKey FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

ToByteString FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

ToHeader FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

ToLog FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

ToQuery FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

FromText FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

ToText FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

FromXML FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

ToXML FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

Methods

toXML :: FunctionRuntime -> XML #

Generic FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

Associated Types

type Rep FunctionRuntime :: Type -> Type #

Read FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

Show FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

NFData FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

Methods

rnf :: FunctionRuntime -> () #

Eq FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

Ord FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

Hashable FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

type Rep FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

type Rep FunctionRuntime = D1 ('MetaData "FunctionRuntime" "Amazonka.CloudFront.Types.FunctionRuntime" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "FunctionRuntime'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromFunctionRuntime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

FunctionStage

newtype FunctionStage Source #

Constructors

FunctionStage' 

Instances

Instances details
FromJSON FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

FromJSONKey FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

ToJSON FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

ToJSONKey FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

ToByteString FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

ToHeader FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

ToLog FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

ToQuery FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

FromText FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

ToText FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

Methods

toText :: FunctionStage -> Text #

FromXML FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

ToXML FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

Methods

toXML :: FunctionStage -> XML #

Generic FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

Associated Types

type Rep FunctionStage :: Type -> Type #

Read FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

Show FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

NFData FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

Methods

rnf :: FunctionStage -> () #

Eq FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

Ord FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

Hashable FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

type Rep FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

type Rep FunctionStage = D1 ('MetaData "FunctionStage" "Amazonka.CloudFront.Types.FunctionStage" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "FunctionStage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromFunctionStage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

GeoRestrictionType

newtype GeoRestrictionType Source #

Instances

Instances details
FromJSON GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

FromJSONKey GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

ToJSON GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

ToJSONKey GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

ToByteString GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

ToHeader GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

ToLog GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

ToQuery GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

FromText GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

ToText GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

FromXML GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

ToXML GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

Generic GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

Associated Types

type Rep GeoRestrictionType :: Type -> Type #

Read GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

Show GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

NFData GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

Methods

rnf :: GeoRestrictionType -> () #

Eq GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

Ord GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

Hashable GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

type Rep GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

type Rep GeoRestrictionType = D1 ('MetaData "GeoRestrictionType" "Amazonka.CloudFront.Types.GeoRestrictionType" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "GeoRestrictionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromGeoRestrictionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

HttpVersion

newtype HttpVersion Source #

Constructors

HttpVersion' 

Instances

Instances details
FromJSON HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

FromJSONKey HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

ToJSON HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

ToJSONKey HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

ToByteString HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

ToHeader HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

ToLog HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

ToQuery HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

FromText HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

ToText HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

Methods

toText :: HttpVersion -> Text #

FromXML HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

ToXML HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

Methods

toXML :: HttpVersion -> XML #

Generic HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

Associated Types

type Rep HttpVersion :: Type -> Type #

Read HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

Show HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

NFData HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

Methods

rnf :: HttpVersion -> () #

Eq HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

Ord HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

Hashable HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

type Rep HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

type Rep HttpVersion = D1 ('MetaData "HttpVersion" "Amazonka.CloudFront.Types.HttpVersion" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "HttpVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromHttpVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ICPRecordalStatus

newtype ICPRecordalStatus Source #

Instances

Instances details
FromJSON ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

FromJSONKey ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

ToJSON ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

ToJSONKey ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

ToByteString ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

ToHeader ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

ToLog ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

ToQuery ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

FromText ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

ToText ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

FromXML ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

ToXML ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

Generic ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

Associated Types

type Rep ICPRecordalStatus :: Type -> Type #

Read ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

Show ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

NFData ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

Methods

rnf :: ICPRecordalStatus -> () #

Eq ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

Ord ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

Hashable ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

type Rep ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

type Rep ICPRecordalStatus = D1 ('MetaData "ICPRecordalStatus" "Amazonka.CloudFront.Types.ICPRecordalStatus" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "ICPRecordalStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromICPRecordalStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ItemSelection

newtype ItemSelection Source #

Constructors

ItemSelection' 

Instances

Instances details
FromJSON ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

FromJSONKey ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

ToJSON ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

ToJSONKey ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

ToByteString ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

ToHeader ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

ToLog ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

ToQuery ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

FromText ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

ToText ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

Methods

toText :: ItemSelection -> Text #

FromXML ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

ToXML ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

Methods

toXML :: ItemSelection -> XML #

Generic ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

Associated Types

type Rep ItemSelection :: Type -> Type #

Read ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

Show ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

NFData ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

Methods

rnf :: ItemSelection -> () #

Eq ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

Ord ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

Hashable ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

type Rep ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

type Rep ItemSelection = D1 ('MetaData "ItemSelection" "Amazonka.CloudFront.Types.ItemSelection" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "ItemSelection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromItemSelection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Method

newtype Method Source #

Constructors

Method' 

Fields

Bundled Patterns

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

Instances details
FromJSON Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

FromJSONKey Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

ToJSON Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

ToJSONKey Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

ToByteString Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Methods

toBS :: Method -> ByteString #

ToHeader Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Methods

toHeader :: HeaderName -> Method -> [Header] #

ToLog Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

ToQuery Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

FromText Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

ToText Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Methods

toText :: Method -> Text #

FromXML Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

ToXML Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Methods

toXML :: Method -> XML #

Generic Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Associated Types

type Rep Method :: Type -> Type #

Methods

from :: Method -> Rep Method x #

to :: Rep Method x -> Method #

Read Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Show Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

NFData Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Methods

rnf :: Method -> () #

Eq Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Methods

(==) :: Method -> Method -> Bool #

(/=) :: Method -> Method -> Bool #

Ord Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Hashable Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Methods

hashWithSalt :: Int -> Method -> Int #

hash :: Method -> Int #

type Rep Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

type Rep Method = D1 ('MetaData "Method" "Amazonka.CloudFront.Types.Method" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "Method'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

MinimumProtocolVersion

newtype MinimumProtocolVersion Source #

Instances

Instances details
FromJSON MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

FromJSONKey MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

ToJSON MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

ToJSONKey MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

ToByteString MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

ToHeader MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

ToLog MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

ToQuery MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

FromText MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

ToText MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

FromXML MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

ToXML MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

Generic MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

Associated Types

type Rep MinimumProtocolVersion :: Type -> Type #

Read MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

Show MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

NFData MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

Methods

rnf :: MinimumProtocolVersion -> () #

Eq MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

Ord MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

Hashable MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

type Rep MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

type Rep MinimumProtocolVersion = D1 ('MetaData "MinimumProtocolVersion" "Amazonka.CloudFront.Types.MinimumProtocolVersion" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "MinimumProtocolVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromMinimumProtocolVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

OriginAccessControlOriginTypes

newtype OriginAccessControlOriginTypes Source #

Instances

Instances details
FromJSON OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

FromJSONKey OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

ToJSON OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

ToJSONKey OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

ToByteString OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

ToHeader OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

ToLog OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

ToQuery OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

FromText OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

ToText OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

FromXML OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

ToXML OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

Generic OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

Associated Types

type Rep OriginAccessControlOriginTypes :: Type -> Type #

Read OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

Show OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

NFData OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

Eq OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

Ord OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

Hashable OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

type Rep OriginAccessControlOriginTypes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlOriginTypes

type Rep OriginAccessControlOriginTypes = D1 ('MetaData "OriginAccessControlOriginTypes" "Amazonka.CloudFront.Types.OriginAccessControlOriginTypes" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "OriginAccessControlOriginTypes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOriginAccessControlOriginTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

OriginAccessControlSigningBehaviors

newtype OriginAccessControlSigningBehaviors Source #

Instances

Instances details
FromJSON OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

FromJSONKey OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

ToJSON OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

ToJSONKey OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

ToByteString OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

ToHeader OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

ToLog OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

ToQuery OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

FromText OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

ToText OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

FromXML OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

ToXML OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

Generic OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

Read OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

Show OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

NFData OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

Eq OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

Ord OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

Hashable OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

type Rep OriginAccessControlSigningBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors

type Rep OriginAccessControlSigningBehaviors = D1 ('MetaData "OriginAccessControlSigningBehaviors" "Amazonka.CloudFront.Types.OriginAccessControlSigningBehaviors" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "OriginAccessControlSigningBehaviors'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOriginAccessControlSigningBehaviors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

OriginAccessControlSigningProtocols

newtype OriginAccessControlSigningProtocols Source #

Instances

Instances details
FromJSON OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

FromJSONKey OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

ToJSON OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

ToJSONKey OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

ToByteString OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

ToHeader OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

ToLog OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

ToQuery OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

FromText OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

ToText OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

FromXML OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

ToXML OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

Generic OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

Read OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

Show OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

NFData OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

Eq OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

Ord OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

Hashable OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

type Rep OriginAccessControlSigningProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols

type Rep OriginAccessControlSigningProtocols = D1 ('MetaData "OriginAccessControlSigningProtocols" "Amazonka.CloudFront.Types.OriginAccessControlSigningProtocols" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "OriginAccessControlSigningProtocols'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOriginAccessControlSigningProtocols") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

OriginProtocolPolicy

newtype OriginProtocolPolicy Source #

Instances

Instances details
FromJSON OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

FromJSONKey OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

ToJSON OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

ToJSONKey OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

ToByteString OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

ToHeader OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

ToLog OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

ToQuery OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

FromText OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

ToText OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

FromXML OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

ToXML OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

Generic OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

Associated Types

type Rep OriginProtocolPolicy :: Type -> Type #

Read OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

Show OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

NFData OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

Methods

rnf :: OriginProtocolPolicy -> () #

Eq OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

Ord OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

Hashable OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

type Rep OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

type Rep OriginProtocolPolicy = D1 ('MetaData "OriginProtocolPolicy" "Amazonka.CloudFront.Types.OriginProtocolPolicy" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "OriginProtocolPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOriginProtocolPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

OriginRequestPolicyCookieBehavior

newtype OriginRequestPolicyCookieBehavior Source #

Instances

Instances details
FromJSON OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

FromJSONKey OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

ToJSON OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

ToJSONKey OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

ToByteString OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

ToHeader OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

ToLog OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

ToQuery OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

FromText OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

ToText OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

FromXML OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

ToXML OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

Generic OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

Associated Types

type Rep OriginRequestPolicyCookieBehavior :: Type -> Type #

Read OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

Show OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

NFData OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

Eq OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

Ord OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

Hashable OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

type Rep OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

type Rep OriginRequestPolicyCookieBehavior = D1 ('MetaData "OriginRequestPolicyCookieBehavior" "Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "OriginRequestPolicyCookieBehavior'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOriginRequestPolicyCookieBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

OriginRequestPolicyHeaderBehavior

newtype OriginRequestPolicyHeaderBehavior Source #

Instances

Instances details
FromJSON OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

FromJSONKey OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

ToJSON OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

ToJSONKey OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

ToByteString OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

ToHeader OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

ToLog OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

ToQuery OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

FromText OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

ToText OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

FromXML OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

ToXML OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

Generic OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

Associated Types

type Rep OriginRequestPolicyHeaderBehavior :: Type -> Type #

Read OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

Show OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

NFData OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

Eq OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

Ord OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

Hashable OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

type Rep OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

type Rep OriginRequestPolicyHeaderBehavior = D1 ('MetaData "OriginRequestPolicyHeaderBehavior" "Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "OriginRequestPolicyHeaderBehavior'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOriginRequestPolicyHeaderBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

OriginRequestPolicyQueryStringBehavior

newtype OriginRequestPolicyQueryStringBehavior Source #

Instances

Instances details
FromJSON OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

FromJSONKey OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

ToJSON OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

ToJSONKey OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

ToByteString OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

ToHeader OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

ToLog OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

ToQuery OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

FromText OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

ToText OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

FromXML OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

ToXML OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

Generic OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

Read OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

Show OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

NFData OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

Eq OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

Ord OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

Hashable OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

type Rep OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

type Rep OriginRequestPolicyQueryStringBehavior = D1 ('MetaData "OriginRequestPolicyQueryStringBehavior" "Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "OriginRequestPolicyQueryStringBehavior'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOriginRequestPolicyQueryStringBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

OriginRequestPolicyType

newtype OriginRequestPolicyType Source #

Instances

Instances details
FromJSON OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

FromJSONKey OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

ToJSON OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

ToJSONKey OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

ToByteString OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

ToHeader OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

ToLog OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

ToQuery OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

FromText OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

ToText OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

FromXML OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

ToXML OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

Generic OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

Associated Types

type Rep OriginRequestPolicyType :: Type -> Type #

Read OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

Show OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

NFData OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

Methods

rnf :: OriginRequestPolicyType -> () #

Eq OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

Ord OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

Hashable OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

type Rep OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

type Rep OriginRequestPolicyType = D1 ('MetaData "OriginRequestPolicyType" "Amazonka.CloudFront.Types.OriginRequestPolicyType" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "OriginRequestPolicyType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOriginRequestPolicyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PriceClass

newtype PriceClass Source #

Constructors

PriceClass' 

Fields

Instances

Instances details
FromJSON PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

FromJSONKey PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

ToJSON PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

ToJSONKey PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

ToByteString PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

ToHeader PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

ToLog PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

ToQuery PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

FromText PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

ToText PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

Methods

toText :: PriceClass -> Text #

FromXML PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

ToXML PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

Methods

toXML :: PriceClass -> XML #

Generic PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

Associated Types

type Rep PriceClass :: Type -> Type #

Read PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

Show PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

NFData PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

Methods

rnf :: PriceClass -> () #

Eq PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

Ord PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

Hashable PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

type Rep PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

type Rep PriceClass = D1 ('MetaData "PriceClass" "Amazonka.CloudFront.Types.PriceClass" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "PriceClass'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPriceClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RealtimeMetricsSubscriptionStatus

newtype RealtimeMetricsSubscriptionStatus Source #

Instances

Instances details
FromJSON RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

FromJSONKey RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

ToJSON RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

ToJSONKey RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

ToByteString RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

ToHeader RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

ToLog RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

ToQuery RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

FromText RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

ToText RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

FromXML RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

ToXML RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

Generic RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

Associated Types

type Rep RealtimeMetricsSubscriptionStatus :: Type -> Type #

Read RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

Show RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

NFData RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

Eq RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

Ord RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

Hashable RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

type Rep RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

type Rep RealtimeMetricsSubscriptionStatus = D1 ('MetaData "RealtimeMetricsSubscriptionStatus" "Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "RealtimeMetricsSubscriptionStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRealtimeMetricsSubscriptionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ReferrerPolicyList

newtype ReferrerPolicyList Source #

Instances

Instances details
FromJSON ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

FromJSONKey ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

ToJSON ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

ToJSONKey ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

ToByteString ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

ToHeader ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

ToLog ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

ToQuery ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

FromText ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

ToText ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

FromXML ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

ToXML ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

Generic ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

Associated Types

type Rep ReferrerPolicyList :: Type -> Type #

Read ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

Show ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

NFData ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

Methods

rnf :: ReferrerPolicyList -> () #

Eq ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

Ord ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

Hashable ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

type Rep ReferrerPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ReferrerPolicyList

type Rep ReferrerPolicyList = D1 ('MetaData "ReferrerPolicyList" "Amazonka.CloudFront.Types.ReferrerPolicyList" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "ReferrerPolicyList'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromReferrerPolicyList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResponseHeadersPolicyAccessControlAllowMethodsValues

newtype ResponseHeadersPolicyAccessControlAllowMethodsValues Source #

Instances

Instances details
FromJSON ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

FromJSONKey ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

ToJSON ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

ToJSONKey ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

ToByteString ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

ToHeader ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

ToLog ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

ToQuery ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

FromText ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

ToText ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

FromXML ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

ToXML ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

Generic ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

Read ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

Show ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

NFData ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

Eq ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

Ord ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

Hashable ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

type Rep ResponseHeadersPolicyAccessControlAllowMethodsValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues

type Rep ResponseHeadersPolicyAccessControlAllowMethodsValues = D1 ('MetaData "ResponseHeadersPolicyAccessControlAllowMethodsValues" "Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethodsValues" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "ResponseHeadersPolicyAccessControlAllowMethodsValues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResponseHeadersPolicyAccessControlAllowMethodsValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResponseHeadersPolicyType

newtype ResponseHeadersPolicyType Source #

Instances

Instances details
FromJSON ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

FromJSONKey ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

ToJSON ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

ToJSONKey ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

ToByteString ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

ToHeader ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

ToLog ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

ToQuery ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

FromText ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

ToText ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

FromXML ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

ToXML ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

Generic ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

Associated Types

type Rep ResponseHeadersPolicyType :: Type -> Type #

Read ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

Show ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

NFData ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

Eq ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

Ord ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

Hashable ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

type Rep ResponseHeadersPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyType

type Rep ResponseHeadersPolicyType = D1 ('MetaData "ResponseHeadersPolicyType" "Amazonka.CloudFront.Types.ResponseHeadersPolicyType" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "ResponseHeadersPolicyType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResponseHeadersPolicyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SSLSupportMethod

newtype SSLSupportMethod Source #

Instances

Instances details
FromJSON SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

FromJSONKey SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

ToJSON SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

ToJSONKey SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

ToByteString SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

ToHeader SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

ToLog SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

ToQuery SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

FromText SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

ToText SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

FromXML SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

ToXML SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

Generic SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

Associated Types

type Rep SSLSupportMethod :: Type -> Type #

Read SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

Show SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

NFData SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

Methods

rnf :: SSLSupportMethod -> () #

Eq SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

Ord SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

Hashable SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

type Rep SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

type Rep SSLSupportMethod = D1 ('MetaData "SSLSupportMethod" "Amazonka.CloudFront.Types.SSLSupportMethod" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "SSLSupportMethod'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSSLSupportMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SslProtocol

newtype SslProtocol Source #

Constructors

SslProtocol' 

Instances

Instances details
FromJSON SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

FromJSONKey SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

ToJSON SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

ToJSONKey SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

ToByteString SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

ToHeader SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

ToLog SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

ToQuery SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

FromText SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

ToText SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

Methods

toText :: SslProtocol -> Text #

FromXML SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

ToXML SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

Methods

toXML :: SslProtocol -> XML #

Generic SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

Associated Types

type Rep SslProtocol :: Type -> Type #

Read SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

Show SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

NFData SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

Methods

rnf :: SslProtocol -> () #

Eq SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

Ord SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

Hashable SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

type Rep SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

type Rep SslProtocol = D1 ('MetaData "SslProtocol" "Amazonka.CloudFront.Types.SslProtocol" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "SslProtocol'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSslProtocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ViewerProtocolPolicy

newtype ViewerProtocolPolicy Source #

Instances

Instances details
FromJSON ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

FromJSONKey ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

ToJSON ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

ToJSONKey ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

ToByteString ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

ToHeader ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

ToLog ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

ToQuery ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

FromText ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

ToText ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

FromXML ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

ToXML ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

Generic ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

Associated Types

type Rep ViewerProtocolPolicy :: Type -> Type #

Read ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

Show ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

NFData ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

Methods

rnf :: ViewerProtocolPolicy -> () #

Eq ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

Ord ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

Hashable ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

type Rep ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

type Rep ViewerProtocolPolicy = D1 ('MetaData "ViewerProtocolPolicy" "Amazonka.CloudFront.Types.ViewerProtocolPolicy" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'True) (C1 ('MetaCons "ViewerProtocolPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromViewerProtocolPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

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.

Constructors

ActiveTrustedKeyGroups' 

Fields

  • items :: Maybe [KGKeyPairIds]

    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.

  • enabled :: Bool

    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.

  • quantity :: Int

    The number of key groups in the list.

Instances

Instances details
FromXML ActiveTrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedKeyGroups

Generic ActiveTrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedKeyGroups

Associated Types

type Rep ActiveTrustedKeyGroups :: Type -> Type #

Read ActiveTrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedKeyGroups

Show ActiveTrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedKeyGroups

NFData ActiveTrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedKeyGroups

Methods

rnf :: ActiveTrustedKeyGroups -> () #

Eq ActiveTrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedKeyGroups

Hashable ActiveTrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedKeyGroups

type Rep ActiveTrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedKeyGroups

type Rep ActiveTrustedKeyGroups = D1 ('MetaData "ActiveTrustedKeyGroups" "Amazonka.CloudFront.Types.ActiveTrustedKeyGroups" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ActiveTrustedKeyGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [KGKeyPairIds])) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newActiveTrustedKeyGroups Source #

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.

ActiveTrustedSigners

data ActiveTrustedSigners Source #

A list of Amazon Web Services accounts and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.

See: newActiveTrustedSigners smart constructor.

Constructors

ActiveTrustedSigners' 

Fields

  • items :: Maybe [Signer]

    A list of Amazon Web Services accounts and the identifiers of active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.

  • enabled :: Bool

    This field is true if any of the Amazon Web Services accounts in the list have active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

  • quantity :: Int

    The number of Amazon Web Services accounts in the list.

Instances

Instances details
FromXML ActiveTrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedSigners

Generic ActiveTrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedSigners

Associated Types

type Rep ActiveTrustedSigners :: Type -> Type #

Read ActiveTrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedSigners

Show ActiveTrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedSigners

NFData ActiveTrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedSigners

Methods

rnf :: ActiveTrustedSigners -> () #

Eq ActiveTrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedSigners

Hashable ActiveTrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedSigners

type Rep ActiveTrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedSigners

type Rep ActiveTrustedSigners = D1 ('MetaData "ActiveTrustedSigners" "Amazonka.CloudFront.Types.ActiveTrustedSigners" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ActiveTrustedSigners'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Signer])) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newActiveTrustedSigners Source #

Create a value of ActiveTrustedSigners with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:items:ActiveTrustedSigners', activeTrustedSigners_items - A list of Amazon Web Services accounts and the identifiers of active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.

$sel:enabled:ActiveTrustedSigners', activeTrustedSigners_enabled - This field is true if any of the Amazon Web Services accounts in the list have active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

$sel:quantity:ActiveTrustedSigners', activeTrustedSigners_quantity - The number of Amazon Web Services accounts in the list.

activeTrustedSigners_items :: Lens' ActiveTrustedSigners (Maybe [Signer]) Source #

A list of Amazon Web Services accounts and the identifiers of active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.

activeTrustedSigners_enabled :: Lens' ActiveTrustedSigners Bool Source #

This field is true if any of the Amazon Web Services accounts in the list have active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

activeTrustedSigners_quantity :: Lens' ActiveTrustedSigners Int Source #

The number of Amazon Web Services 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.

Constructors

AliasICPRecordal' 

Fields

  • cname :: Maybe Text

    A domain name associated with a distribution.

  • iCPRecordalStatus :: Maybe 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.

Instances

Instances details
FromXML AliasICPRecordal Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AliasICPRecordal

Generic AliasICPRecordal Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AliasICPRecordal

Associated Types

type Rep AliasICPRecordal :: Type -> Type #

Read AliasICPRecordal Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AliasICPRecordal

Show AliasICPRecordal Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AliasICPRecordal

NFData AliasICPRecordal Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AliasICPRecordal

Methods

rnf :: AliasICPRecordal -> () #

Eq AliasICPRecordal Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AliasICPRecordal

Hashable AliasICPRecordal Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AliasICPRecordal

type Rep AliasICPRecordal Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AliasICPRecordal

type Rep AliasICPRecordal = D1 ('MetaData "AliasICPRecordal" "Amazonka.CloudFront.Types.AliasICPRecordal" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "AliasICPRecordal'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "iCPRecordalStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ICPRecordalStatus))))

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

data Aliases Source #

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

See: newAliases smart constructor.

Constructors

Aliases' 

Fields

  • items :: Maybe [Text]

    A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.

  • quantity :: Int

    The number of CNAME aliases, if any, that you want to associate with this distribution.

Instances

Instances details
FromXML Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

ToXML Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

Methods

toXML :: Aliases -> XML #

Generic Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

Associated Types

type Rep Aliases :: Type -> Type #

Methods

from :: Aliases -> Rep Aliases x #

to :: Rep Aliases x -> Aliases #

Read Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

Show Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

NFData Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

Methods

rnf :: Aliases -> () #

Eq Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

Methods

(==) :: Aliases -> Aliases -> Bool #

(/=) :: Aliases -> Aliases -> Bool #

Hashable Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

Methods

hashWithSalt :: Int -> Aliases -> Int #

hash :: Aliases -> Int #

type Rep Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

type Rep Aliases = D1 ('MetaData "Aliases" "Amazonka.CloudFront.Types.Aliases" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" '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)))

newAliases Source #

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 and HEAD requests.
  • CloudFront forwards only GET, HEAD, and OPTIONS requests.
  • CloudFront forwards GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE requests.

If you pick the third choice, you may need to restrict access to your Amazon S3 bucket or to your custom origin so users can't perform operations that you don't want them to. For example, you might not want users to have permissions to delete objects from your origin.

See: newAllowedMethods smart constructor.

Constructors

AllowedMethods' 

Fields

  • cachedMethods :: Maybe CachedMethods
     
  • quantity :: Int

    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).

  • items :: [Method]

    A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.

Instances

Instances details
FromXML AllowedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AllowedMethods

ToXML AllowedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AllowedMethods

Methods

toXML :: AllowedMethods -> XML #

Generic AllowedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AllowedMethods

Associated Types

type Rep AllowedMethods :: Type -> Type #

Read AllowedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AllowedMethods

Show AllowedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AllowedMethods

NFData AllowedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AllowedMethods

Methods

rnf :: AllowedMethods -> () #

Eq AllowedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AllowedMethods

Hashable AllowedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AllowedMethods

type Rep AllowedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AllowedMethods

type Rep AllowedMethods = D1 ('MetaData "AllowedMethods" "Amazonka.CloudFront.Types.AllowedMethods" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "AllowedMethods'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cachedMethods") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CachedMethods)) :*: (S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Method]))))

newAllowedMethods Source #

Create a value of AllowedMethods with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:cachedMethods:AllowedMethods', allowedMethods_cachedMethods - Undocumented member.

AllowedMethods, allowedMethods_quantity - The number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (for GET and HEAD requests), 3 (for GET, HEAD, and OPTIONS requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE requests).

AllowedMethods, allowedMethods_items - A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.

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.

Constructors

CacheBehavior' 

Fields

  • allowedMethods :: Maybe AllowedMethods
     
  • cachePolicyId :: Maybe Text

    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.

  • compress :: Maybe Bool

    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.

  • defaultTTL :: Maybe Integer

    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.

  • fieldLevelEncryptionId :: Maybe Text

    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.

  • forwardedValues :: Maybe 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.

  • functionAssociations :: Maybe 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.

  • lambdaFunctionAssociations :: Maybe LambdaFunctionAssociations

    A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.

  • maxTTL :: Maybe Integer

    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.

  • minTTL :: Maybe Integer

    This field is deprecated. We recommend that you use the MinTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

    The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

    You must specify 0 for MinTTL if you configure CloudFront to forward all headers to your origin (under Headers, if you specify 1 for Quantity and * for Name).

  • originRequestPolicyId :: Maybe Text

    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.

  • realtimeLogConfigArn :: Maybe Text

    The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior. For more information, see Real-time logs in the Amazon CloudFront Developer Guide.

  • responseHeadersPolicyId :: Maybe Text

    The identifier for a response headers policy.

  • smoothStreaming :: Maybe Bool

    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.

  • trustedKeyGroups :: Maybe 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.

  • trustedSigners :: Maybe TrustedSigners

    We recommend using TrustedKeyGroups instead of TrustedSigners.

    A list of Amazon Web Services account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies.

    When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in the trusted signer's Amazon Web Services account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

  • pathPattern :: Text

    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.

  • targetOriginId :: Text

    The value of ID for the origin that you want CloudFront to route requests to when they match this cache behavior.

  • viewerProtocolPolicy :: 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.

Instances

Instances details
FromXML CacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehavior

ToXML CacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehavior

Methods

toXML :: CacheBehavior -> XML #

Generic CacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehavior

Associated Types

type Rep CacheBehavior :: Type -> Type #

Read CacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehavior

Show CacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehavior

NFData CacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehavior

Methods

rnf :: CacheBehavior -> () #

Eq CacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehavior

Hashable CacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehavior

type Rep CacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehavior

type Rep CacheBehavior = D1 ('MetaData "CacheBehavior" "Amazonka.CloudFront.Types.CacheBehavior" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CacheBehavior'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "allowedMethods") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AllowedMethods)) :*: S1 ('MetaSel ('Just "cachePolicyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "compress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "defaultTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: ((S1 ('MetaSel ('Just "fieldLevelEncryptionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "forwardedValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ForwardedValues))) :*: (S1 ('MetaSel ('Just "functionAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FunctionAssociations)) :*: (S1 ('MetaSel ('Just "lambdaFunctionAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LambdaFunctionAssociations)) :*: S1 ('MetaSel ('Just "maxTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))) :*: (((S1 ('MetaSel ('Just "minTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "originRequestPolicyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "realtimeLogConfigArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "responseHeadersPolicyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "smoothStreaming") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "trustedKeyGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrustedKeyGroups)) :*: S1 ('MetaSel ('Just "trustedSigners") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrustedSigners))) :*: (S1 ('MetaSel ('Just "pathPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "targetOriginId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "viewerProtocolPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ViewerProtocolPolicy)))))))

newCacheBehavior Source #

Create a value of CacheBehavior with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:allowedMethods:CacheBehavior', cacheBehavior_allowedMethods - Undocumented member.

$sel:cachePolicyId:CacheBehavior', cacheBehavior_cachePolicyId - The unique identifier of the cache policy that is attached to this cache behavior. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

A CacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

$sel:compress:CacheBehavior', cacheBehavior_compress - Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide.

$sel:defaultTTL:CacheBehavior', cacheBehavior_defaultTTL - This field is deprecated. We recommend that you use the DefaultTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

$sel:fieldLevelEncryptionId:CacheBehavior', cacheBehavior_fieldLevelEncryptionId - The value of ID for the field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data for this cache behavior.

$sel:forwardedValues:CacheBehavior', cacheBehavior_forwardedValues - This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see Working with policies in the Amazon CloudFront Developer Guide.

If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

A CacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.

$sel:functionAssociations:CacheBehavior', cacheBehavior_functionAssociations - A list of CloudFront functions that are associated with this cache behavior. CloudFront functions must be published to the LIVE stage to associate them with a cache behavior.

$sel:lambdaFunctionAssociations:CacheBehavior', cacheBehavior_lambdaFunctionAssociations - A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.

$sel:maxTTL:CacheBehavior', cacheBehavior_maxTTL - This field is deprecated. We recommend that you use the MaxTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

$sel:minTTL:CacheBehavior', cacheBehavior_minTTL - This field is deprecated. We recommend that you use the MinTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

You must specify 0 for MinTTL if you configure CloudFront to forward all headers to your origin (under Headers, if you specify 1 for Quantity and * for Name).

$sel:originRequestPolicyId:CacheBehavior', cacheBehavior_originRequestPolicyId - The unique identifier of the origin request policy that is attached to this cache behavior. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

$sel:realtimeLogConfigArn:CacheBehavior', cacheBehavior_realtimeLogConfigArn - The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior. For more information, see Real-time logs in the Amazon CloudFront Developer Guide.

$sel:responseHeadersPolicyId:CacheBehavior', cacheBehavior_responseHeadersPolicyId - The identifier for a response headers policy.

$sel:smoothStreaming:CacheBehavior', cacheBehavior_smoothStreaming - Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true; if not, specify false. If you specify true for SmoothStreaming, you can still distribute other content using this cache behavior if the content matches the value of PathPattern.

$sel:trustedKeyGroups:CacheBehavior', cacheBehavior_trustedKeyGroups - A list of key groups that CloudFront can use to validate signed URLs or signed cookies.

When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

$sel:trustedSigners:CacheBehavior', cacheBehavior_trustedSigners - We recommend using TrustedKeyGroups instead of TrustedSigners.

A list of Amazon Web Services account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies.

When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in the trusted signer's Amazon Web Services account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

$sel:pathPattern:CacheBehavior', cacheBehavior_pathPattern - The pattern (for example, images/*.jpg) that specifies which requests to apply the behavior to. When CloudFront receives a viewer request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution.

You can optionally include a slash (/) at the beginning of the path pattern. For example, /images/*.jpg. CloudFront behavior is the same with or without the leading /.

The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.

For more information, see Path Pattern in the Amazon CloudFront Developer Guide.

$sel:targetOriginId:CacheBehavior', cacheBehavior_targetOriginId - The value of ID for the origin that you want CloudFront to route requests to when they match this cache behavior.

$sel:viewerProtocolPolicy:CacheBehavior', cacheBehavior_viewerProtocolPolicy - The protocol that viewers can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. You can specify the following options:

  • allow-all: Viewers can use HTTP or HTTPS.
  • redirect-to-https: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL.
  • https-only: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden).

For more information about requiring the HTTPS protocol, see Requiring HTTPS Between Viewers and CloudFront in the Amazon CloudFront Developer Guide.

The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects' cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see Managing Cache Expiration in the Amazon CloudFront Developer Guide.

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_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_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_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_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_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_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_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_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_responseHeadersPolicyId :: Lens' CacheBehavior (Maybe Text) Source #

The identifier for a response headers policy.

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_trustedSigners :: Lens' CacheBehavior (Maybe TrustedSigners) Source #

We recommend using TrustedKeyGroups instead of TrustedSigners.

A list of Amazon Web Services account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies.

When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in the trusted signer's Amazon Web Services account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

cacheBehavior_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.

Constructors

CacheBehaviors' 

Fields

  • items :: Maybe [CacheBehavior]

    Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.

  • quantity :: Int

    The number of cache behaviors for this distribution.

Instances

Instances details
FromXML CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

ToXML CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

Methods

toXML :: CacheBehaviors -> XML #

Generic CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

Associated Types

type Rep CacheBehaviors :: Type -> Type #

Read CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

Show CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

NFData CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

Methods

rnf :: CacheBehaviors -> () #

Eq CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

Hashable CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

type Rep CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

type Rep CacheBehaviors = D1 ('MetaData "CacheBehaviors" "Amazonka.CloudFront.Types.CacheBehaviors" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CacheBehaviors'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CacheBehavior])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCacheBehaviors Source #

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.

Constructors

CachePolicy' 

Fields

Instances

Instances details
FromXML CachePolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicy

Generic CachePolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicy

Associated Types

type Rep CachePolicy :: Type -> Type #

Read CachePolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicy

Show CachePolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicy

NFData CachePolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicy

Methods

rnf :: CachePolicy -> () #

Eq CachePolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicy

Hashable CachePolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicy

type Rep CachePolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicy

type Rep CachePolicy = D1 ('MetaData "CachePolicy" "Amazonka.CloudFront.Types.CachePolicy" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CachePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "cachePolicyConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CachePolicyConfig))))

newCachePolicy Source #

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.

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.

Constructors

CachePolicyConfig' 

Fields

  • comment :: Maybe Text

    A comment to describe the cache policy. The comment cannot be longer than 128 characters.

  • defaultTTL :: Maybe Integer

    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.

  • maxTTL :: Maybe Integer

    The maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value only when the origin sends Cache-Control or Expires headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

    The default value for this field is 31536000 seconds (one year). If the value of MinTTL or DefaultTTL is more than 31536000 seconds, then the default value for this field is the same as the value of DefaultTTL.

  • parametersInCacheKeyAndForwardedToOrigin :: Maybe 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.

  • name :: Text

    A unique name to identify the cache policy.

  • minTTL :: Integer

    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.

Instances

Instances details
FromXML CachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyConfig

ToXML CachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyConfig

Generic CachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyConfig

Associated Types

type Rep CachePolicyConfig :: Type -> Type #

Read CachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyConfig

Show CachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyConfig

NFData CachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyConfig

Methods

rnf :: CachePolicyConfig -> () #

Eq CachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyConfig

Hashable CachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyConfig

type Rep CachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyConfig

type Rep CachePolicyConfig = D1 ('MetaData "CachePolicyConfig" "Amazonka.CloudFront.Types.CachePolicyConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CachePolicyConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "defaultTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "maxTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: (S1 ('MetaSel ('Just "parametersInCacheKeyAndForwardedToOrigin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ParametersInCacheKeyAndForwardedToOrigin)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "minTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)))))

newCachePolicyConfig Source #

Create a value of CachePolicyConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:comment:CachePolicyConfig', cachePolicyConfig_comment - A comment to describe the cache policy. The comment cannot be longer than 128 characters.

$sel:defaultTTL:CachePolicyConfig', cachePolicyConfig_defaultTTL - The default amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value as the object's time to live (TTL) only when the origin does not send Cache-Control or Expires headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

The default value for this field is 86400 seconds (one day). If the value of MinTTL is more than 86400 seconds, then the default value for this field is the same as the value of MinTTL.

$sel:maxTTL:CachePolicyConfig', cachePolicyConfig_maxTTL - The maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value only when the origin sends Cache-Control or Expires headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

The default value for this field is 31536000 seconds (one year). If the value of MinTTL or DefaultTTL is more than 31536000 seconds, then the default value for this field is the same as the value of DefaultTTL.

$sel:parametersInCacheKeyAndForwardedToOrigin:CachePolicyConfig', cachePolicyConfig_parametersInCacheKeyAndForwardedToOrigin - The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are automatically included in requests that CloudFront sends to the origin.

$sel:name:CachePolicyConfig', cachePolicyConfig_name - A unique name to identify the cache policy.

$sel:minTTL:CachePolicyConfig', cachePolicyConfig_minTTL - The minimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

cachePolicyConfig_comment :: Lens' CachePolicyConfig (Maybe Text) Source #

A comment to describe the cache policy. The comment cannot be longer than 128 characters.

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_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_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.

Constructors

CachePolicyCookiesConfig' 

Fields

  • cookies :: Maybe CookieNames
     
  • cookieBehavior :: CachePolicyCookieBehavior

    Determines whether any cookies in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

    • none – Cookies in viewer requests are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any cookies that are listed in an OriginRequestPolicy are included in origin requests.
    • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
    • allExcept – All cookies in viewer requests that are not listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
    • all – All cookies in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

Instances

Instances details
FromXML CachePolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookiesConfig

ToXML CachePolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookiesConfig

Generic CachePolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookiesConfig

Associated Types

type Rep CachePolicyCookiesConfig :: Type -> Type #

Read CachePolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookiesConfig

Show CachePolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookiesConfig

NFData CachePolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookiesConfig

Eq CachePolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookiesConfig

Hashable CachePolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookiesConfig

type Rep CachePolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookiesConfig

type Rep CachePolicyCookiesConfig = D1 ('MetaData "CachePolicyCookiesConfig" "Amazonka.CloudFront.Types.CachePolicyCookiesConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CachePolicyCookiesConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cookies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CookieNames)) :*: S1 ('MetaSel ('Just "cookieBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CachePolicyCookieBehavior)))

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 to none, any cookies that are listed in an OriginRequestPolicy are included in origin requests.
  • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • allExcept – All cookies in viewer requests that are not listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • all – All cookies in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

cachePolicyCookiesConfig_cookieBehavior :: Lens' CachePolicyCookiesConfig CachePolicyCookieBehavior 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 to none, any cookies that are listed in an OriginRequestPolicy are included in origin requests.
  • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • allExcept – All cookies in viewer requests that are not listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • all – All cookies in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

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.

Constructors

CachePolicyHeadersConfig' 

Fields

  • headers :: Maybe Headers
     
  • headerBehavior :: CachePolicyHeaderBehavior

    Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

    • none – HTTP headers are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in an OriginRequestPolicy are included in origin requests.
    • whitelist – The HTTP headers that are listed in the Headers type are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

Instances

Instances details
FromXML CachePolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeadersConfig

ToXML CachePolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeadersConfig

Generic CachePolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeadersConfig

Associated Types

type Rep CachePolicyHeadersConfig :: Type -> Type #

Read CachePolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeadersConfig

Show CachePolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeadersConfig

NFData CachePolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeadersConfig

Eq CachePolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeadersConfig

Hashable CachePolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeadersConfig

type Rep CachePolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeadersConfig

type Rep CachePolicyHeadersConfig = D1 ('MetaData "CachePolicyHeadersConfig" "Amazonka.CloudFront.Types.CachePolicyHeadersConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CachePolicyHeadersConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "headers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Headers)) :*: S1 ('MetaSel ('Just "headerBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CachePolicyHeaderBehavior)))

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 to none, any headers that are listed in an OriginRequestPolicy are included in origin requests.
  • whitelist – The HTTP headers that are listed in the Headers type are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

cachePolicyHeadersConfig_headerBehavior :: Lens' CachePolicyHeadersConfig CachePolicyHeaderBehavior 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 to none, any headers that are listed in an OriginRequestPolicy are included in origin requests.
  • whitelist – The HTTP headers that are listed in the Headers type are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

CachePolicyList

data CachePolicyList Source #

A list of cache policies.

See: newCachePolicyList smart constructor.

Constructors

CachePolicyList' 

Fields

  • items :: Maybe [CachePolicySummary]

    Contains the cache policies in the list.

  • nextMarker :: Maybe Text

    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.

  • maxItems :: Int

    The maximum number of cache policies requested.

  • quantity :: Int

    The total number of cache policies returned in the response.

Instances

Instances details
FromXML CachePolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyList

Generic CachePolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyList

Associated Types

type Rep CachePolicyList :: Type -> Type #

Read CachePolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyList

Show CachePolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyList

NFData CachePolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyList

Methods

rnf :: CachePolicyList -> () #

Eq CachePolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyList

Hashable CachePolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyList

type Rep CachePolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyList

type Rep CachePolicyList = D1 ('MetaData "CachePolicyList" "Amazonka.CloudFront.Types.CachePolicyList" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CachePolicyList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CachePolicySummary])) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCachePolicyList Source #

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.

Constructors

CachePolicyQueryStringsConfig' 

Fields

  • queryStrings :: Maybe QueryStringNames

    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).

  • queryStringBehavior :: CachePolicyQueryStringBehavior

    Determines whether any URL query strings in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

    • none – Query strings in viewer requests are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any query strings that are listed in an OriginRequestPolicy are included in origin requests.
    • whitelist – The query strings in viewer requests that are listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
    • allExcept – All query strings in viewer requests that are not listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
    • all – All query strings in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

Instances

Instances details
FromXML CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

ToXML CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

Generic CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

Associated Types

type Rep CachePolicyQueryStringsConfig :: Type -> Type #

Read CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

Show CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

NFData CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

Eq CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

Hashable CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

type Rep CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

type Rep CachePolicyQueryStringsConfig = D1 ('MetaData "CachePolicyQueryStringsConfig" "Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CachePolicyQueryStringsConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryStrings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryStringNames)) :*: S1 ('MetaSel ('Just "queryStringBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CachePolicyQueryStringBehavior)))

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 to none, any query strings that are listed in an OriginRequestPolicy are included in origin requests.
  • whitelist – The query strings in viewer requests that are listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • allExcept – All query strings in viewer requests that are not listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • all – All query strings in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

cachePolicyQueryStringsConfig_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 to none, any query strings that are listed in an OriginRequestPolicy are included in origin requests.
  • whitelist – The query strings in viewer requests that are listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • allExcept – All query strings in viewer requests that are not listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • all – All query strings in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

CachePolicySummary

data CachePolicySummary Source #

Contains a cache policy.

See: newCachePolicySummary smart constructor.

Constructors

CachePolicySummary' 

Fields

Instances

Instances details
FromXML CachePolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicySummary

Generic CachePolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicySummary

Associated Types

type Rep CachePolicySummary :: Type -> Type #

Read CachePolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicySummary

Show CachePolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicySummary

NFData CachePolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicySummary

Methods

rnf :: CachePolicySummary -> () #

Eq CachePolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicySummary

Hashable CachePolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicySummary

type Rep CachePolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicySummary

type Rep CachePolicySummary = D1 ('MetaData "CachePolicySummary" "Amazonka.CloudFront.Types.CachePolicySummary" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CachePolicySummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CachePolicyType) :*: S1 ('MetaSel ('Just "cachePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CachePolicy)))

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 Amazon Web Services 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 Amazon Web Services account).

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 and HEAD requests.
  • CloudFront caches responses to GET, HEAD, and OPTIONS requests.

If you pick the second choice for your Amazon S3 Origin, you may need to forward Access-Control-Request-Method, Access-Control-Request-Headers, and Origin headers for the responses to be cached correctly.

See: newCachedMethods smart constructor.

Constructors

CachedMethods' 

Fields

  • quantity :: Int

    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).

  • items :: [Method]

    A complex type that contains the HTTP methods that you want CloudFront to cache responses to.

Instances

Instances details
FromXML CachedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachedMethods

ToXML CachedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachedMethods

Methods

toXML :: CachedMethods -> XML #

Generic CachedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachedMethods

Associated Types

type Rep CachedMethods :: Type -> Type #

Read CachedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachedMethods

Show CachedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachedMethods

NFData CachedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachedMethods

Methods

rnf :: CachedMethods -> () #

Eq CachedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachedMethods

Hashable CachedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachedMethods

type Rep CachedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachedMethods

type Rep CachedMethods = D1 ('MetaData "CachedMethods" "Amazonka.CloudFront.Types.CachedMethods" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CachedMethods'" 'PrefixI 'True) (S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Method])))

newCachedMethods Source #

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.

Constructors

CloudFrontOriginAccessIdentity' 

Fields

Instances

Instances details
FromXML CloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity

Generic CloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity

Associated Types

type Rep CloudFrontOriginAccessIdentity :: Type -> Type #

Read CloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity

Show CloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity

NFData CloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity

Eq CloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity

Hashable CloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity

type Rep CloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity

type Rep CloudFrontOriginAccessIdentity = D1 ('MetaData "CloudFrontOriginAccessIdentity" "Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CloudFrontOriginAccessIdentity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cloudFrontOriginAccessIdentityConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CloudFrontOriginAccessIdentityConfig)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "s3CanonicalUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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_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.

Constructors

CloudFrontOriginAccessIdentityConfig' 

Fields

  • callerReference :: Text

    A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

    If the value of CallerReference is new (regardless of the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created.

    If the CallerReference is a value already sent in a previous identity request, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request.

    If the CallerReference is a value you already sent in a previous request to create an identity, but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.

  • comment :: Text

    A comment to describe the origin access identity. The comment cannot be longer than 128 characters.

Instances

Instances details
FromXML CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

ToXML CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

Generic CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

Read CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

Show CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

NFData CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

Eq CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

Hashable CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

type Rep CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

type Rep CloudFrontOriginAccessIdentityConfig = D1 ('MetaData "CloudFrontOriginAccessIdentityConfig" "Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CloudFrontOriginAccessIdentityConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "callerReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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.

Constructors

CloudFrontOriginAccessIdentityList' 

Fields

  • items :: Maybe [CloudFrontOriginAccessIdentitySummary]

    A complex type that contains one CloudFrontOriginAccessIdentitySummary element for each origin access identity that was created by the current Amazon Web Services account.

  • nextMarker :: Maybe Text

    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.

  • marker :: Text

    Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last identity on that page).

  • maxItems :: Int

    The maximum number of origin access identities you want in the response body.

  • isTruncated :: Bool

    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.

  • quantity :: Int

    The number of CloudFront origin access identities that were created by the current Amazon Web Services account.

Instances

Instances details
FromXML CloudFrontOriginAccessIdentityList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList

Generic CloudFrontOriginAccessIdentityList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList

Associated Types

type Rep CloudFrontOriginAccessIdentityList :: Type -> Type #

Read CloudFrontOriginAccessIdentityList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList

Show CloudFrontOriginAccessIdentityList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList

NFData CloudFrontOriginAccessIdentityList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList

Eq CloudFrontOriginAccessIdentityList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList

Hashable CloudFrontOriginAccessIdentityList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList

type Rep CloudFrontOriginAccessIdentityList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList

type Rep CloudFrontOriginAccessIdentityList = D1 ('MetaData "CloudFrontOriginAccessIdentityList" "Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CloudFrontOriginAccessIdentityList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CloudFrontOriginAccessIdentitySummary])) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "isTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCloudFrontOriginAccessIdentityList Source #

Create a value of CloudFrontOriginAccessIdentityList with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:items:CloudFrontOriginAccessIdentityList', cloudFrontOriginAccessIdentityList_items - A complex type that contains one CloudFrontOriginAccessIdentitySummary element for each origin access identity that was created by the current Amazon Web Services account.

$sel:nextMarker:CloudFrontOriginAccessIdentityList', cloudFrontOriginAccessIdentityList_nextMarker - If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your origin access identities where they left off.

$sel:marker:CloudFrontOriginAccessIdentityList', cloudFrontOriginAccessIdentityList_marker - Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last identity on that page).

$sel:maxItems:CloudFrontOriginAccessIdentityList', cloudFrontOriginAccessIdentityList_maxItems - The maximum number of origin access identities you want in the response body.

$sel:isTruncated:CloudFrontOriginAccessIdentityList', cloudFrontOriginAccessIdentityList_isTruncated - A flag that indicates whether more origin access identities remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more items in the list.

$sel:quantity:CloudFrontOriginAccessIdentityList', cloudFrontOriginAccessIdentityList_quantity - The number of CloudFront origin access identities that were created by the current Amazon Web Services account.

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 Amazon Web Services 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 Amazon Web Services account.

CloudFrontOriginAccessIdentitySummary

data CloudFrontOriginAccessIdentitySummary Source #

Summary of the information about a CloudFront origin access identity.

See: newCloudFrontOriginAccessIdentitySummary smart constructor.

Constructors

CloudFrontOriginAccessIdentitySummary' 

Fields

  • id :: Text

    The ID for the origin access identity. For example: E74FTE3AJFJ256A.

  • s3CanonicalUserId :: Text

    The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

  • comment :: Text

    The comment for this origin access identity, as originally specified when created.

Instances

Instances details
FromXML CloudFrontOriginAccessIdentitySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary

Generic CloudFrontOriginAccessIdentitySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary

Read CloudFrontOriginAccessIdentitySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary

Show CloudFrontOriginAccessIdentitySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary

NFData CloudFrontOriginAccessIdentitySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary

Eq CloudFrontOriginAccessIdentitySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary

Hashable CloudFrontOriginAccessIdentitySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary

type Rep CloudFrontOriginAccessIdentitySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary

type Rep CloudFrontOriginAccessIdentitySummary = D1 ('MetaData "CloudFrontOriginAccessIdentitySummary" "Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CloudFrontOriginAccessIdentitySummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "s3CanonicalUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCloudFrontOriginAccessIdentitySummary Source #

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.

Constructors

ConflictingAlias' 

Fields

  • accountId :: Maybe Text

    The (partially hidden) ID of the Amazon Web Services account that owns the distribution that's associated with the alias.

  • alias :: Maybe Text

    An alias (also called a CNAME).

  • distributionId :: Maybe Text

    The (partially hidden) ID of the CloudFront distribution associated with the alias.

Instances

Instances details
FromXML ConflictingAlias Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAlias

Generic ConflictingAlias Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAlias

Associated Types

type Rep ConflictingAlias :: Type -> Type #

Read ConflictingAlias Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAlias

Show ConflictingAlias Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAlias

NFData ConflictingAlias Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAlias

Methods

rnf :: ConflictingAlias -> () #

Eq ConflictingAlias Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAlias

Hashable ConflictingAlias Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAlias

type Rep ConflictingAlias Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAlias

type Rep ConflictingAlias = D1 ('MetaData "ConflictingAlias" "Amazonka.CloudFront.Types.ConflictingAlias" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ConflictingAlias'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "alias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "distributionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:accountId:ConflictingAlias', conflictingAlias_accountId - The (partially hidden) ID of the Amazon Web Services account that owns the distribution that's associated with the alias.

$sel:alias:ConflictingAlias', conflictingAlias_alias - An alias (also called a CNAME).

$sel:distributionId:ConflictingAlias', conflictingAlias_distributionId - The (partially hidden) ID of the CloudFront distribution associated with the alias.

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_alias :: Lens' ConflictingAlias (Maybe Text) Source #

An alias (also called a CNAME).

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.

Constructors

ConflictingAliasesList' 

Fields

  • items :: Maybe [ConflictingAlias]

    Contains the conflicting aliases in the list.

  • maxItems :: Maybe Int

    The maximum number of conflicting aliases requested.

  • nextMarker :: Maybe Text

    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.

  • quantity :: Maybe Int

    The number of conflicting aliases returned in the response.

Instances

Instances details
FromXML ConflictingAliasesList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAliasesList

Generic ConflictingAliasesList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAliasesList

Associated Types

type Rep ConflictingAliasesList :: Type -> Type #

Read ConflictingAliasesList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAliasesList

Show ConflictingAliasesList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAliasesList

NFData ConflictingAliasesList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAliasesList

Methods

rnf :: ConflictingAliasesList -> () #

Eq ConflictingAliasesList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAliasesList

Hashable ConflictingAliasesList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAliasesList

type Rep ConflictingAliasesList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAliasesList

type Rep ConflictingAliasesList = D1 ('MetaData "ConflictingAliasesList" "Amazonka.CloudFront.Types.ConflictingAliasesList" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ConflictingAliasesList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ConflictingAlias])) :*: S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

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:items:ConflictingAliasesList', conflictingAliasesList_items - Contains the conflicting aliases in the list.

$sel:maxItems:ConflictingAliasesList', conflictingAliasesList_maxItems - The maximum number of conflicting aliases requested.

$sel:nextMarker:ConflictingAliasesList', conflictingAliasesList_nextMarker - If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing conflicting aliases where you left off.

$sel:quantity:ConflictingAliasesList', conflictingAliasesList_quantity - The number of conflicting aliases returned in the response.

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.

conflictingAliasesList_quantity :: Lens' ConflictingAliasesList (Maybe Int) Source #

The number of conflicting aliases returned in the response.

ContentTypeProfile

data ContentTypeProfile Source #

A field-level encryption content type profile.

See: newContentTypeProfile smart constructor.

Constructors

ContentTypeProfile' 

Fields

  • profileId :: Maybe Text

    The profile ID for a field-level encryption content type-profile mapping.

  • format :: Format

    The format for a field-level encryption content type-profile mapping.

  • contentType :: Text

    The content type for a field-level encryption content type-profile mapping.

Instances

Instances details
FromXML ContentTypeProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfile

ToXML ContentTypeProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfile

Generic ContentTypeProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfile

Associated Types

type Rep ContentTypeProfile :: Type -> Type #

Read ContentTypeProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfile

Show ContentTypeProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfile

NFData ContentTypeProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfile

Methods

rnf :: ContentTypeProfile -> () #

Eq ContentTypeProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfile

Hashable ContentTypeProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfile

type Rep ContentTypeProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfile

type Rep ContentTypeProfile = D1 ('MetaData "ContentTypeProfile" "Amazonka.CloudFront.Types.ContentTypeProfile" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ContentTypeProfile'" 'PrefixI 'True) (S1 ('MetaSel ('Just "profileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Format) :*: S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newContentTypeProfile Source #

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.

Constructors

ContentTypeProfileConfig' 

Fields

  • contentTypeProfiles :: Maybe ContentTypeProfiles

    The configuration for a field-level encryption content type-profile.

  • forwardWhenContentTypeIsUnknown :: Bool

    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.

Instances

Instances details
FromXML ContentTypeProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfileConfig

ToXML ContentTypeProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfileConfig

Generic ContentTypeProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfileConfig

Associated Types

type Rep ContentTypeProfileConfig :: Type -> Type #

Read ContentTypeProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfileConfig

Show ContentTypeProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfileConfig

NFData ContentTypeProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfileConfig

Eq ContentTypeProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfileConfig

Hashable ContentTypeProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfileConfig

type Rep ContentTypeProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfileConfig

type Rep ContentTypeProfileConfig = D1 ('MetaData "ContentTypeProfileConfig" "Amazonka.CloudFront.Types.ContentTypeProfileConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ContentTypeProfileConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contentTypeProfiles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentTypeProfiles)) :*: S1 ('MetaSel ('Just "forwardWhenContentTypeIsUnknown") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

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.

Constructors

ContentTypeProfiles' 

Fields

Instances

Instances details
FromXML ContentTypeProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfiles

ToXML ContentTypeProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfiles

Generic ContentTypeProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfiles

Associated Types

type Rep ContentTypeProfiles :: Type -> Type #

Read ContentTypeProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfiles

Show ContentTypeProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfiles

NFData ContentTypeProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfiles

Methods

rnf :: ContentTypeProfiles -> () #

Eq ContentTypeProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfiles

Hashable ContentTypeProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfiles

type Rep ContentTypeProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfiles

type Rep ContentTypeProfiles = D1 ('MetaData "ContentTypeProfiles" "Amazonka.CloudFront.Types.ContentTypeProfiles" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ContentTypeProfiles'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ContentTypeProfile])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.

ContinuousDeploymentPolicy

data ContinuousDeploymentPolicy Source #

A continuous deployment policy.

See: newContinuousDeploymentPolicy smart constructor.

Constructors

ContinuousDeploymentPolicy' 

Fields

Instances

Instances details
FromXML ContinuousDeploymentPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicy

Generic ContinuousDeploymentPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicy

Associated Types

type Rep ContinuousDeploymentPolicy :: Type -> Type #

Read ContinuousDeploymentPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicy

Show ContinuousDeploymentPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicy

NFData ContinuousDeploymentPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicy

Eq ContinuousDeploymentPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicy

Hashable ContinuousDeploymentPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicy

type Rep ContinuousDeploymentPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicy

type Rep ContinuousDeploymentPolicy = D1 ('MetaData "ContinuousDeploymentPolicy" "Amazonka.CloudFront.Types.ContinuousDeploymentPolicy" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ContinuousDeploymentPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "continuousDeploymentPolicyConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ContinuousDeploymentPolicyConfig))))

continuousDeploymentPolicy_id :: Lens' ContinuousDeploymentPolicy Text Source #

The identifier of the continuous deployment policy.

continuousDeploymentPolicy_lastModifiedTime :: Lens' ContinuousDeploymentPolicy UTCTime Source #

The date and time the continuous deployment policy was last modified.

ContinuousDeploymentPolicyConfig

data ContinuousDeploymentPolicyConfig Source #

Contains the configuration for a continuous deployment policy.

See: newContinuousDeploymentPolicyConfig smart constructor.

Constructors

ContinuousDeploymentPolicyConfig' 

Fields

  • trafficConfig :: Maybe TrafficConfig

    Contains the parameters for routing production traffic from your primary to staging distributions.

  • stagingDistributionDnsNames :: StagingDistributionDnsNames

    The CloudFront domain name of the staging distribution. For example: d111111abcdef8.cloudfront.net.

  • enabled :: Bool

    A Boolean that indicates whether this continuous deployment policy is enabled (in effect). When this value is true, this policy is enabled and in effect. When this value is false, this policy is not enabled and has no effect.

Instances

Instances details
FromXML ContinuousDeploymentPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyConfig

ToXML ContinuousDeploymentPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyConfig

Generic ContinuousDeploymentPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyConfig

Associated Types

type Rep ContinuousDeploymentPolicyConfig :: Type -> Type #

Read ContinuousDeploymentPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyConfig

Show ContinuousDeploymentPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyConfig

NFData ContinuousDeploymentPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyConfig

Eq ContinuousDeploymentPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyConfig

Hashable ContinuousDeploymentPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyConfig

type Rep ContinuousDeploymentPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyConfig

type Rep ContinuousDeploymentPolicyConfig = D1 ('MetaData "ContinuousDeploymentPolicyConfig" "Amazonka.CloudFront.Types.ContinuousDeploymentPolicyConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ContinuousDeploymentPolicyConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trafficConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrafficConfig)) :*: (S1 ('MetaSel ('Just "stagingDistributionDnsNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StagingDistributionDnsNames) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))

newContinuousDeploymentPolicyConfig Source #

Create a value of ContinuousDeploymentPolicyConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:trafficConfig:ContinuousDeploymentPolicyConfig', continuousDeploymentPolicyConfig_trafficConfig - Contains the parameters for routing production traffic from your primary to staging distributions.

$sel:stagingDistributionDnsNames:ContinuousDeploymentPolicyConfig', continuousDeploymentPolicyConfig_stagingDistributionDnsNames - The CloudFront domain name of the staging distribution. For example: d111111abcdef8.cloudfront.net.

$sel:enabled:ContinuousDeploymentPolicyConfig', continuousDeploymentPolicyConfig_enabled - A Boolean that indicates whether this continuous deployment policy is enabled (in effect). When this value is true, this policy is enabled and in effect. When this value is false, this policy is not enabled and has no effect.

continuousDeploymentPolicyConfig_trafficConfig :: Lens' ContinuousDeploymentPolicyConfig (Maybe TrafficConfig) Source #

Contains the parameters for routing production traffic from your primary to staging distributions.

continuousDeploymentPolicyConfig_stagingDistributionDnsNames :: Lens' ContinuousDeploymentPolicyConfig StagingDistributionDnsNames Source #

The CloudFront domain name of the staging distribution. For example: d111111abcdef8.cloudfront.net.

continuousDeploymentPolicyConfig_enabled :: Lens' ContinuousDeploymentPolicyConfig Bool Source #

A Boolean that indicates whether this continuous deployment policy is enabled (in effect). When this value is true, this policy is enabled and in effect. When this value is false, this policy is not enabled and has no effect.

ContinuousDeploymentPolicyList

data ContinuousDeploymentPolicyList Source #

Contains a list of continuous deployment policies.

See: newContinuousDeploymentPolicyList smart constructor.

Constructors

ContinuousDeploymentPolicyList' 

Fields

  • items :: Maybe [ContinuousDeploymentPolicySummary]

    A list of continuous deployment policy items.

  • nextMarker :: Maybe Text

    Indicates the next page of continuous deployment policies. To get the next page of the list, use this value in the Marker field of your request.

  • maxItems :: Int

    The maximum number of continuous deployment policies that were specified in your request.

  • quantity :: Int

    The total number of continuous deployment policies in your Amazon Web Services account, regardless of the MaxItems value.

Instances

Instances details
FromXML ContinuousDeploymentPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyList

Generic ContinuousDeploymentPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyList

Associated Types

type Rep ContinuousDeploymentPolicyList :: Type -> Type #

Read ContinuousDeploymentPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyList

Show ContinuousDeploymentPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyList

NFData ContinuousDeploymentPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyList

Eq ContinuousDeploymentPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyList

Hashable ContinuousDeploymentPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyList

type Rep ContinuousDeploymentPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicyList

type Rep ContinuousDeploymentPolicyList = D1 ('MetaData "ContinuousDeploymentPolicyList" "Amazonka.CloudFront.Types.ContinuousDeploymentPolicyList" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ContinuousDeploymentPolicyList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ContinuousDeploymentPolicySummary])) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newContinuousDeploymentPolicyList Source #

Create a value of ContinuousDeploymentPolicyList with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:items:ContinuousDeploymentPolicyList', continuousDeploymentPolicyList_items - A list of continuous deployment policy items.

$sel:nextMarker:ContinuousDeploymentPolicyList', continuousDeploymentPolicyList_nextMarker - Indicates the next page of continuous deployment policies. To get the next page of the list, use this value in the Marker field of your request.

$sel:maxItems:ContinuousDeploymentPolicyList', continuousDeploymentPolicyList_maxItems - The maximum number of continuous deployment policies that were specified in your request.

$sel:quantity:ContinuousDeploymentPolicyList', continuousDeploymentPolicyList_quantity - The total number of continuous deployment policies in your Amazon Web Services account, regardless of the MaxItems value.

continuousDeploymentPolicyList_nextMarker :: Lens' ContinuousDeploymentPolicyList (Maybe Text) Source #

Indicates the next page of continuous deployment policies. To get the next page of the list, use this value in the Marker field of your request.

continuousDeploymentPolicyList_maxItems :: Lens' ContinuousDeploymentPolicyList Int Source #

The maximum number of continuous deployment policies that were specified in your request.

continuousDeploymentPolicyList_quantity :: Lens' ContinuousDeploymentPolicyList Int Source #

The total number of continuous deployment policies in your Amazon Web Services account, regardless of the MaxItems value.

ContinuousDeploymentPolicySummary

data ContinuousDeploymentPolicySummary Source #

A summary of the information about your continuous deployment policies.

See: newContinuousDeploymentPolicySummary smart constructor.

Instances

Instances details
FromXML ContinuousDeploymentPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicySummary

Generic ContinuousDeploymentPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicySummary

Associated Types

type Rep ContinuousDeploymentPolicySummary :: Type -> Type #

Read ContinuousDeploymentPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicySummary

Show ContinuousDeploymentPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicySummary

NFData ContinuousDeploymentPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicySummary

Eq ContinuousDeploymentPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicySummary

Hashable ContinuousDeploymentPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicySummary

type Rep ContinuousDeploymentPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentPolicySummary

type Rep ContinuousDeploymentPolicySummary = D1 ('MetaData "ContinuousDeploymentPolicySummary" "Amazonka.CloudFront.Types.ContinuousDeploymentPolicySummary" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ContinuousDeploymentPolicySummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "continuousDeploymentPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ContinuousDeploymentPolicy)))

newContinuousDeploymentPolicySummary Source #

Create a value of ContinuousDeploymentPolicySummary with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:continuousDeploymentPolicy:ContinuousDeploymentPolicySummary', continuousDeploymentPolicySummary_continuousDeploymentPolicy - The continuous deployment policy.

ContinuousDeploymentSingleHeaderConfig

data ContinuousDeploymentSingleHeaderConfig Source #

This configuration determines which HTTP requests are sent to the staging distribution. If the HTTP request contains a header and value that matches what you specify here, the request is sent to the staging distribution. Otherwise the request is sent to the primary distribution.

See: newContinuousDeploymentSingleHeaderConfig smart constructor.

Constructors

ContinuousDeploymentSingleHeaderConfig' 

Fields

  • header :: Text

    The request header name that you want CloudFront to send to your staging distribution. The header must contain the prefix aws-cf-cd-.

  • value :: Text

    The request header value.

Instances

Instances details
FromXML ContinuousDeploymentSingleHeaderConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentSingleHeaderConfig

ToXML ContinuousDeploymentSingleHeaderConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentSingleHeaderConfig

Generic ContinuousDeploymentSingleHeaderConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentSingleHeaderConfig

Read ContinuousDeploymentSingleHeaderConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentSingleHeaderConfig

Show ContinuousDeploymentSingleHeaderConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentSingleHeaderConfig

NFData ContinuousDeploymentSingleHeaderConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentSingleHeaderConfig

Eq ContinuousDeploymentSingleHeaderConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentSingleHeaderConfig

Hashable ContinuousDeploymentSingleHeaderConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentSingleHeaderConfig

type Rep ContinuousDeploymentSingleHeaderConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentSingleHeaderConfig

type Rep ContinuousDeploymentSingleHeaderConfig = D1 ('MetaData "ContinuousDeploymentSingleHeaderConfig" "Amazonka.CloudFront.Types.ContinuousDeploymentSingleHeaderConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ContinuousDeploymentSingleHeaderConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "header") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newContinuousDeploymentSingleHeaderConfig Source #

Create a value of ContinuousDeploymentSingleHeaderConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:header:ContinuousDeploymentSingleHeaderConfig', continuousDeploymentSingleHeaderConfig_header - The request header name that you want CloudFront to send to your staging distribution. The header must contain the prefix aws-cf-cd-.

$sel:value:ContinuousDeploymentSingleHeaderConfig', continuousDeploymentSingleHeaderConfig_value - The request header value.

continuousDeploymentSingleHeaderConfig_header :: Lens' ContinuousDeploymentSingleHeaderConfig Text Source #

The request header name that you want CloudFront to send to your staging distribution. The header must contain the prefix aws-cf-cd-.

ContinuousDeploymentSingleWeightConfig

data ContinuousDeploymentSingleWeightConfig Source #

Contains the percentage of traffic to send to a staging distribution.

See: newContinuousDeploymentSingleWeightConfig smart constructor.

Constructors

ContinuousDeploymentSingleWeightConfig' 

Fields

Instances

Instances details
FromXML ContinuousDeploymentSingleWeightConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentSingleWeightConfig

ToXML ContinuousDeploymentSingleWeightConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentSingleWeightConfig

Generic ContinuousDeploymentSingleWeightConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentSingleWeightConfig

Read ContinuousDeploymentSingleWeightConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentSingleWeightConfig

Show ContinuousDeploymentSingleWeightConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentSingleWeightConfig

NFData ContinuousDeploymentSingleWeightConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentSingleWeightConfig

Eq ContinuousDeploymentSingleWeightConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentSingleWeightConfig

Hashable ContinuousDeploymentSingleWeightConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentSingleWeightConfig

type Rep ContinuousDeploymentSingleWeightConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContinuousDeploymentSingleWeightConfig

type Rep ContinuousDeploymentSingleWeightConfig = D1 ('MetaData "ContinuousDeploymentSingleWeightConfig" "Amazonka.CloudFront.Types.ContinuousDeploymentSingleWeightConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ContinuousDeploymentSingleWeightConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sessionStickinessConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SessionStickinessConfig)) :*: S1 ('MetaSel ('Just "weight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)))

newContinuousDeploymentSingleWeightConfig Source #

Create a value of ContinuousDeploymentSingleWeightConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sessionStickinessConfig:ContinuousDeploymentSingleWeightConfig', continuousDeploymentSingleWeightConfig_sessionStickinessConfig - Undocumented member.

$sel:weight:ContinuousDeploymentSingleWeightConfig', continuousDeploymentSingleWeightConfig_weight - The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and .15.

continuousDeploymentSingleWeightConfig_weight :: Lens' ContinuousDeploymentSingleWeightConfig Double Source #

The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and .15.

CookieNames

data CookieNames Source #

Contains a list of cookie names.

See: newCookieNames smart constructor.

Constructors

CookieNames' 

Fields

Instances

Instances details
FromXML CookieNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookieNames

ToXML CookieNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookieNames

Methods

toXML :: CookieNames -> XML #

Generic CookieNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookieNames

Associated Types

type Rep CookieNames :: Type -> Type #

Read CookieNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookieNames

Show CookieNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookieNames

NFData CookieNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookieNames

Methods

rnf :: CookieNames -> () #

Eq CookieNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookieNames

Hashable CookieNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookieNames

type Rep CookieNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookieNames

type Rep CookieNames = D1 ('MetaData "CookieNames" "Amazonka.CloudFront.Types.CookieNames" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CookieNames'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCookieNames Source #

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.

Constructors

CookiePreference' 

Fields

  • whitelistedNames :: Maybe CookieNames

    This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

    If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

    If you want to send cookies to the origin but not include them in the cache key, use 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.

  • forward :: ItemSelection

    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.

Instances

Instances details
FromXML CookiePreference Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookiePreference

ToXML CookiePreference Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookiePreference

Generic CookiePreference Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookiePreference

Associated Types

type Rep CookiePreference :: Type -> Type #

Read CookiePreference Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookiePreference

Show CookiePreference Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookiePreference

NFData CookiePreference Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookiePreference

Methods

rnf :: CookiePreference -> () #

Eq CookiePreference Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookiePreference

Hashable CookiePreference Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookiePreference

type Rep CookiePreference Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookiePreference

type Rep CookiePreference = D1 ('MetaData "CookiePreference" "Amazonka.CloudFront.Types.CookiePreference" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CookiePreference'" 'PrefixI 'True) (S1 ('MetaSel ('Just "whitelistedNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CookieNames)) :*: S1 ('MetaSel ('Just "forward") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ItemSelection)))

newCookiePreference Source #

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.

Constructors

CustomErrorResponse' 

Fields

  • errorCachingMinTTL :: Maybe Integer

    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.

  • responseCode :: Maybe Text

    The HTTP status code that you want CloudFront to return to the viewer along with the custom error page. There are a variety of reasons that you might want CloudFront to return a status code different from the status code that your origin returned to CloudFront, for example:

    • Some Internet devices (some firewalls and corporate proxies, for example) intercept HTTP 4xx and 5xx and prevent the response from being returned to the viewer. If you substitute 200, the response typically won't be intercepted.
    • If you don't care about distinguishing among different client errors or server errors, you can specify 400 or 500 as the ResponseCode for all 4xx or 5xx errors.
    • You might want to return a 200 status code (OK) and static website so your customers don't know that your website is down.

    If you specify a value for ResponseCode, you must also specify a value for ResponsePagePath.

  • responsePagePath :: Maybe Text

    The path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ErrorCode, for example, /4xx-errors/403-forbidden.html. If you want to store your objects and your custom error pages in different locations, your distribution must include a cache behavior for which the following is true:

    • The value of PathPattern matches the path to your custom error messages. For example, suppose you saved custom error pages for 4xx errors in an Amazon S3 bucket in a directory named /4xx-errors. Your distribution must include a cache behavior for which the path pattern routes requests for your custom error pages to that location, for example, /4xx-errors/*.
    • The value of TargetOriginId specifies the value of the ID element for the origin that contains your custom error pages.

    If you specify a value for ResponsePagePath, you must also specify a value for ResponseCode.

    We recommend that you store custom error pages in an Amazon S3 bucket. If you store custom error pages on an HTTP server and the server starts to return 5xx errors, CloudFront can't get the files that you want to return to viewers because the origin server is unavailable.

  • errorCode :: Int

    The HTTP status code for which you want to specify a custom error page and/or a caching duration.

Instances

Instances details
FromXML CustomErrorResponse Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponse

ToXML CustomErrorResponse Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponse

Generic CustomErrorResponse Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponse

Associated Types

type Rep CustomErrorResponse :: Type -> Type #

Read CustomErrorResponse Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponse

Show CustomErrorResponse Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponse

NFData CustomErrorResponse Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponse

Methods

rnf :: CustomErrorResponse -> () #

Eq CustomErrorResponse Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponse

Hashable CustomErrorResponse Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponse

type Rep CustomErrorResponse Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponse

type Rep CustomErrorResponse = D1 ('MetaData "CustomErrorResponse" "Amazonka.CloudFront.Types.CustomErrorResponse" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CustomErrorResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "errorCachingMinTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "responseCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "responsePagePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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:errorCachingMinTTL:CustomErrorResponse', customErrorResponse_errorCachingMinTTL - The minimum amount of time, in seconds, that you want CloudFront to cache the HTTP status code specified in ErrorCode. When this time period has elapsed, CloudFront queries your origin to see whether the problem that caused the error has been resolved and the requested object is now available.

For more information, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

$sel:responseCode:CustomErrorResponse', customErrorResponse_responseCode - The HTTP status code that you want CloudFront to return to the viewer along with the custom error page. There are a variety of reasons that you might want CloudFront to return a status code different from the status code that your origin returned to CloudFront, for example:

  • Some Internet devices (some firewalls and corporate proxies, for example) intercept HTTP 4xx and 5xx and prevent the response from being returned to the viewer. If you substitute 200, the response typically won't be intercepted.
  • If you don't care about distinguishing among different client errors or server errors, you can specify 400 or 500 as the ResponseCode for all 4xx or 5xx errors.
  • You might want to return a 200 status code (OK) and static website so your customers don't know that your website is down.

If you specify a value for ResponseCode, you must also specify a value for ResponsePagePath.

$sel:responsePagePath:CustomErrorResponse', customErrorResponse_responsePagePath - The path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ErrorCode, for example, /4xx-errors/403-forbidden.html. If you want to store your objects and your custom error pages in different locations, your distribution must include a cache behavior for which the following is true:

  • The value of PathPattern matches the path to your custom error messages. For example, suppose you saved custom error pages for 4xx errors in an Amazon S3 bucket in a directory named /4xx-errors. Your distribution must include a cache behavior for which the path pattern routes requests for your custom error pages to that location, for example, /4xx-errors/*.
  • The value of TargetOriginId specifies the value of the ID element for the origin that contains your custom error pages.

If you specify a value for ResponsePagePath, you must also specify a value for ResponseCode.

We recommend that you store custom error pages in an Amazon S3 bucket. If you store custom error pages on an HTTP server and the server starts to return 5xx errors, CloudFront can't get the files that you want to return to viewers because the origin server is unavailable.

$sel:errorCode:CustomErrorResponse', customErrorResponse_errorCode - The HTTP status code for which you want to specify a custom error page and/or a caching duration.

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_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 or 500 as the ResponseCode for all 4xx or 5xx errors.
  • You might want to return a 200 status code (OK) and static website so your customers don't know that your website is down.

If you specify a value for ResponseCode, you must also specify a value for ResponsePagePath.

customErrorResponse_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 the ID element for the origin that contains your custom error pages.

If you specify a value for ResponsePagePath, you must also specify a value for ResponseCode.

We recommend that you store custom error pages in an Amazon S3 bucket. If you store custom error pages on an HTTP server and the server starts to return 5xx errors, CloudFront can't get the files that you want to return to viewers because the origin server is unavailable.

customErrorResponse_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.

Constructors

CustomErrorResponses' 

Fields

  • items :: Maybe [CustomErrorResponse]

    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.

  • quantity :: Int

    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.

Instances

Instances details
FromXML CustomErrorResponses Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponses

ToXML CustomErrorResponses Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponses

Generic CustomErrorResponses Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponses

Associated Types

type Rep CustomErrorResponses :: Type -> Type #

Read CustomErrorResponses Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponses

Show CustomErrorResponses Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponses

NFData CustomErrorResponses Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponses

Methods

rnf :: CustomErrorResponses -> () #

Eq CustomErrorResponses Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponses

Hashable CustomErrorResponses Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponses

type Rep CustomErrorResponses Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponses

type Rep CustomErrorResponses = D1 ('MetaData "CustomErrorResponses" "Amazonka.CloudFront.Types.CustomErrorResponses" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CustomErrorResponses'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CustomErrorResponse])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.

Constructors

CustomHeaders' 

Fields

  • items :: Maybe [OriginCustomHeader]

    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.

  • quantity :: Int

    The number of custom headers, if any, for this distribution.

Instances

Instances details
FromXML CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

ToXML CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

Methods

toXML :: CustomHeaders -> XML #

Generic CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

Associated Types

type Rep CustomHeaders :: Type -> Type #

Show CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

NFData CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

Methods

rnf :: CustomHeaders -> () #

Eq CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

Hashable CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

type Rep CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

type Rep CustomHeaders = D1 ('MetaData "CustomHeaders" "Amazonka.CloudFront.Types.CustomHeaders" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CustomHeaders'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OriginCustomHeader])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCustomHeaders Source #

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.

Constructors

CustomOriginConfig' 

Fields

  • originKeepaliveTimeout :: Maybe Int

    Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 5 seconds.

    For more information, see Origin Keep-alive Timeout in the Amazon CloudFront Developer Guide.

  • originReadTimeout :: Maybe Int

    Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.

    For more information, see Origin Response Timeout in the Amazon CloudFront Developer Guide.

  • originSslProtocols :: Maybe 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.

  • hTTPPort :: Int

    The HTTP port that CloudFront uses to connect to the origin. Specify the HTTP port that the origin listens on.

  • hTTPSPort :: Int

    The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that the origin listens on.

  • originProtocolPolicy :: 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.

Instances

Instances details
FromXML CustomOriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomOriginConfig

ToXML CustomOriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomOriginConfig

Generic CustomOriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomOriginConfig

Associated Types

type Rep CustomOriginConfig :: Type -> Type #

Read CustomOriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomOriginConfig

Show CustomOriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomOriginConfig

NFData CustomOriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomOriginConfig

Methods

rnf :: CustomOriginConfig -> () #

Eq CustomOriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomOriginConfig

Hashable CustomOriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomOriginConfig

type Rep CustomOriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomOriginConfig

type Rep CustomOriginConfig = D1 ('MetaData "CustomOriginConfig" "Amazonka.CloudFront.Types.CustomOriginConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "CustomOriginConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "originKeepaliveTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "originReadTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "originSslProtocols") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OriginSslProtocols)))) :*: (S1 ('MetaSel ('Just "hTTPPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "hTTPSPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "originProtocolPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginProtocolPolicy)))))

newCustomOriginConfig Source #

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.

Constructors

DefaultCacheBehavior' 

Fields

  • allowedMethods :: Maybe AllowedMethods
     
  • cachePolicyId :: Maybe Text

    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.

  • compress :: Maybe Bool

    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.

  • defaultTTL :: Maybe Integer

    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.

  • fieldLevelEncryptionId :: Maybe Text

    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.

  • forwardedValues :: Maybe 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.

  • functionAssociations :: Maybe 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.

  • lambdaFunctionAssociations :: Maybe LambdaFunctionAssociations

    A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.

  • maxTTL :: Maybe Integer

    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.

  • minTTL :: Maybe Integer

    This field is deprecated. We recommend that you use the MinTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

    The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

    You must specify 0 for MinTTL if you configure CloudFront to forward all headers to your origin (under Headers, if you specify 1 for Quantity and * for Name).

  • originRequestPolicyId :: Maybe Text

    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.

  • realtimeLogConfigArn :: Maybe Text

    The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior. For more information, see Real-time logs in the Amazon CloudFront Developer Guide.

  • responseHeadersPolicyId :: Maybe Text

    The identifier for a response headers policy.

  • smoothStreaming :: Maybe Bool

    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.

  • trustedKeyGroups :: Maybe 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.

  • trustedSigners :: Maybe TrustedSigners

    We recommend using TrustedKeyGroups instead of TrustedSigners.

    A list of Amazon Web Services account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies.

    When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in a trusted signer's Amazon Web Services account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

  • targetOriginId :: Text

    The value of ID for the origin that you want CloudFront to route requests to when they use the default cache behavior.

  • viewerProtocolPolicy :: 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.

Instances

Instances details
FromXML DefaultCacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DefaultCacheBehavior

ToXML DefaultCacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DefaultCacheBehavior

Generic DefaultCacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DefaultCacheBehavior

Associated Types

type Rep DefaultCacheBehavior :: Type -> Type #

Read DefaultCacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DefaultCacheBehavior

Show DefaultCacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DefaultCacheBehavior

NFData DefaultCacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DefaultCacheBehavior

Methods

rnf :: DefaultCacheBehavior -> () #

Eq DefaultCacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DefaultCacheBehavior

Hashable DefaultCacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DefaultCacheBehavior

type Rep DefaultCacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DefaultCacheBehavior

type Rep DefaultCacheBehavior = D1 ('MetaData "DefaultCacheBehavior" "Amazonka.CloudFront.Types.DefaultCacheBehavior" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "DefaultCacheBehavior'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "allowedMethods") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AllowedMethods)) :*: S1 ('MetaSel ('Just "cachePolicyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "compress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "defaultTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: ((S1 ('MetaSel ('Just "fieldLevelEncryptionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "forwardedValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ForwardedValues))) :*: (S1 ('MetaSel ('Just "functionAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FunctionAssociations)) :*: (S1 ('MetaSel ('Just "lambdaFunctionAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LambdaFunctionAssociations)) :*: S1 ('MetaSel ('Just "maxTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))) :*: (((S1 ('MetaSel ('Just "minTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "originRequestPolicyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "realtimeLogConfigArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "responseHeadersPolicyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "smoothStreaming") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "trustedKeyGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrustedKeyGroups))) :*: (S1 ('MetaSel ('Just "trustedSigners") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrustedSigners)) :*: (S1 ('MetaSel ('Just "targetOriginId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "viewerProtocolPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ViewerProtocolPolicy)))))))

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:cachePolicyId:DefaultCacheBehavior', defaultCacheBehavior_cachePolicyId - The unique identifier of the cache policy that is attached to the default cache behavior. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

A DefaultCacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

$sel:compress:DefaultCacheBehavior', defaultCacheBehavior_compress - Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide.

$sel:defaultTTL:DefaultCacheBehavior', defaultCacheBehavior_defaultTTL - This field is deprecated. We recommend that you use the DefaultTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

$sel:fieldLevelEncryptionId:DefaultCacheBehavior', defaultCacheBehavior_fieldLevelEncryptionId - The value of ID for the field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data for the default cache behavior.

$sel:forwardedValues:DefaultCacheBehavior', defaultCacheBehavior_forwardedValues - This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see Working with policies in the Amazon CloudFront Developer Guide.

If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

A DefaultCacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.

$sel:functionAssociations:DefaultCacheBehavior', defaultCacheBehavior_functionAssociations - A list of CloudFront functions that are associated with this cache behavior. CloudFront functions must be published to the LIVE stage to associate them with a cache behavior.

$sel:lambdaFunctionAssociations:DefaultCacheBehavior', defaultCacheBehavior_lambdaFunctionAssociations - A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.

$sel:maxTTL:DefaultCacheBehavior', defaultCacheBehavior_maxTTL - This field is deprecated. We recommend that you use the MaxTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

$sel:minTTL:DefaultCacheBehavior', defaultCacheBehavior_minTTL - This field is deprecated. We recommend that you use the MinTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

You must specify 0 for MinTTL if you configure CloudFront to forward all headers to your origin (under Headers, if you specify 1 for Quantity and * for Name).

$sel:originRequestPolicyId:DefaultCacheBehavior', defaultCacheBehavior_originRequestPolicyId - The unique identifier of the origin request policy that is attached to the default cache behavior. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

$sel:realtimeLogConfigArn:DefaultCacheBehavior', defaultCacheBehavior_realtimeLogConfigArn - The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior. For more information, see Real-time logs in the Amazon CloudFront Developer Guide.

$sel:responseHeadersPolicyId:DefaultCacheBehavior', defaultCacheBehavior_responseHeadersPolicyId - The identifier for a response headers policy.

$sel:smoothStreaming:DefaultCacheBehavior', defaultCacheBehavior_smoothStreaming - Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true; if not, specify false. If you specify true for SmoothStreaming, you can still distribute other content using this cache behavior if the content matches the value of PathPattern.

$sel:trustedKeyGroups:DefaultCacheBehavior', defaultCacheBehavior_trustedKeyGroups - A list of key groups that CloudFront can use to validate signed URLs or signed cookies.

When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

$sel:trustedSigners:DefaultCacheBehavior', defaultCacheBehavior_trustedSigners - We recommend using TrustedKeyGroups instead of TrustedSigners.

A list of Amazon Web Services account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies.

When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in a trusted signer's Amazon Web Services account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

$sel:targetOriginId:DefaultCacheBehavior', defaultCacheBehavior_targetOriginId - The value of ID for the origin that you want CloudFront to route requests to when they use the default cache behavior.

$sel:viewerProtocolPolicy:DefaultCacheBehavior', defaultCacheBehavior_viewerProtocolPolicy - The protocol that viewers can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. You can specify the following options:

  • allow-all: Viewers can use HTTP or HTTPS.
  • redirect-to-https: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL.
  • https-only: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden).

For more information about requiring the HTTPS protocol, see Requiring HTTPS Between Viewers and CloudFront in the Amazon CloudFront Developer Guide.

The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects' cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see Managing Cache Expiration in the Amazon CloudFront Developer Guide.

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_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_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_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_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_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_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_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_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_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_trustedSigners :: Lens' DefaultCacheBehavior (Maybe TrustedSigners) Source #

We recommend using TrustedKeyGroups instead of TrustedSigners.

A list of Amazon Web Services account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies.

When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in a trusted signer's Amazon Web Services account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

defaultCacheBehavior_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.

Constructors

Distribution' 

Fields

  • activeTrustedKeyGroups :: Maybe ActiveTrustedKeyGroups

    This field contains a list of key groups and the public keys in each key group that CloudFront can use to verify the signatures of signed URLs or signed cookies.

  • activeTrustedSigners :: Maybe ActiveTrustedSigners

    We recommend using TrustedKeyGroups instead of TrustedSigners.

    This field contains a list of Amazon Web Services account IDs and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs or signed cookies.

  • aliasICPRecordals :: Maybe [AliasICPRecordal]

    Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.

    For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.

  • id :: Text

    The distribution's identifier. For example: E1U5RQF7T870K0.

  • arn :: Text

    The distribution's Amazon Resource Name (ARN).

  • status :: Text

    The distribution's status. When the status is Deployed, the distribution's information is fully propagated to all CloudFront edge locations.

  • lastModifiedTime :: ISO8601

    The date and time when the distribution was last modified.

  • inProgressInvalidationBatches :: Int

    The number of invalidation batches currently in progress.

  • domainName :: Text

    The distribution's CloudFront domain name. For example: d111111abcdef8.cloudfront.net.

  • distributionConfig :: DistributionConfig

    The distribution's configuration.

Instances

Instances details
FromXML Distribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Distribution

Generic Distribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Distribution

Associated Types

type Rep Distribution :: Type -> Type #

Show Distribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Distribution

NFData Distribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Distribution

Methods

rnf :: Distribution -> () #

Eq Distribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Distribution

Hashable Distribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Distribution

type Rep Distribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Distribution

newDistribution Source #

Create a value of Distribution with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:activeTrustedKeyGroups:Distribution', distribution_activeTrustedKeyGroups - This field contains a list of key groups and the public keys in each key group that CloudFront can use to verify the signatures of signed URLs or signed cookies.

$sel:activeTrustedSigners:Distribution', distribution_activeTrustedSigners - We recommend using TrustedKeyGroups instead of TrustedSigners.

This field contains a list of Amazon Web Services account IDs and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs or signed cookies.

$sel:aliasICPRecordals:Distribution', distribution_aliasICPRecordals - Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.

For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.

$sel:id:Distribution', distribution_id - The distribution's identifier. For example: E1U5RQF7T870K0.

$sel:arn:Distribution', distribution_arn - The distribution's Amazon Resource Name (ARN).

$sel:status:Distribution', distribution_status - The distribution's status. When the status is Deployed, the distribution's information is fully propagated to all CloudFront edge locations.

$sel:lastModifiedTime:Distribution', distribution_lastModifiedTime - The date and time when the distribution was last modified.

$sel:inProgressInvalidationBatches:Distribution', distribution_inProgressInvalidationBatches - The number of invalidation batches currently in progress.

$sel:domainName:Distribution', distribution_domainName - The distribution's CloudFront domain name. For example: d111111abcdef8.cloudfront.net.

$sel:distributionConfig:Distribution', distribution_distributionConfig - The distribution's configuration.

distribution_activeTrustedKeyGroups :: Lens' Distribution (Maybe ActiveTrustedKeyGroups) Source #

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_activeTrustedSigners :: Lens' Distribution (Maybe ActiveTrustedSigners) Source #

We recommend using TrustedKeyGroups instead of TrustedSigners.

This field contains a list of Amazon Web Services account IDs and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs or signed cookies.

distribution_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_id :: Lens' Distribution Text Source #

The distribution's identifier. For example: E1U5RQF7T870K0.

distribution_arn :: Lens' Distribution Text Source #

The distribution's Amazon Resource Name (ARN).

distribution_status :: Lens' Distribution Text Source #

The distribution's status. 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 when 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 distribution's CloudFront domain name. For example: d111111abcdef8.cloudfront.net.

DistributionConfig

data DistributionConfig Source #

A distribution configuration.

See: newDistributionConfig smart constructor.

Constructors

DistributionConfig' 

Fields

  • aliases :: Maybe Aliases

    A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

  • cacheBehaviors :: Maybe CacheBehaviors

    A complex type that contains zero or more CacheBehavior elements.

  • continuousDeploymentPolicyId :: Maybe Text

    The identifier of a continuous deployment policy. For more information, see CreateContinuousDeploymentPolicy.

  • customErrorResponses :: Maybe 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.

  • defaultRootObject :: Maybe Text

    The object that you want CloudFront to request from your origin (for example, index.html) when a viewer requests the root URL for your distribution (https://www.example.com) instead of an object in your distribution (https://www.example.com/product-description.html). Specifying a default root object avoids exposing the contents of your distribution.

    Specify only the object name, for example, index.html. Don't add a / before the object name.

    If you don't want to specify a default root object when you create a distribution, include an empty DefaultRootObject element.

    To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element.

    To replace the default root object, update the distribution configuration and specify the new object.

    For more information about the default root object, see Creating a Default Root Object in the Amazon CloudFront Developer Guide.

  • httpVersion :: Maybe HttpVersion

    (Optional) Specify the maximum HTTP version(s) that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 automatically use an earlier HTTP version.

    For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2 or later, and must support Server Name Indication (SNI).

    For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3 and Server Name Indication (SNI). CloudFront supports HTTP/3 connection migration to allow the viewer to switch networks without losing connection. For more information about connection migration, see Connection Migration at RFC 9000. For more information about supported TLSv1.3 ciphers, see Supported protocols and ciphers between viewers and CloudFront.

  • isIPV6Enabled :: Maybe Bool

    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.

  • logging :: Maybe LoggingConfig

    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.

  • originGroups :: Maybe OriginGroups

    A complex type that contains information about origin groups for this distribution.

  • priceClass :: Maybe 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.

  • restrictions :: Maybe Restrictions

    A complex type that identifies ways in which you want to restrict distribution of your content.

  • staging :: Maybe Bool

    A Boolean that indicates whether this is a staging distribution. When this value is true, this is a staging distribution. When this value is false, this is not a staging distribution.

  • viewerCertificate :: Maybe ViewerCertificate

    A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.

  • webACLId :: Maybe Text

    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.

  • callerReference :: Text

    A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

    If the value of CallerReference is new (regardless of the content of the DistributionConfig object), CloudFront creates a new distribution.

    If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error.

  • origins :: Origins

    A complex type that contains information about origins for this distribution.

  • defaultCacheBehavior :: 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.

  • comment :: Sensitive Text

    A comment to describe the distribution. The comment cannot be longer than 128 characters.

  • enabled :: Bool

    From this field, you can enable or disable the selected distribution.

Instances

Instances details
FromXML DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

ToXML DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

Generic DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

Associated Types

type Rep DistributionConfig :: Type -> Type #

Show DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

NFData DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

Methods

rnf :: DistributionConfig -> () #

Eq DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

Hashable DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

type Rep DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

type Rep DistributionConfig = D1 ('MetaData "DistributionConfig" "Amazonka.CloudFront.Types.DistributionConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "DistributionConfig'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "aliases") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Aliases)) :*: S1 ('MetaSel ('Just "cacheBehaviors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheBehaviors))) :*: (S1 ('MetaSel ('Just "continuousDeploymentPolicyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "customErrorResponses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomErrorResponses)))) :*: ((S1 ('MetaSel ('Just "defaultRootObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HttpVersion))) :*: (S1 ('MetaSel ('Just "isIPV6Enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "logging") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoggingConfig)) :*: S1 ('MetaSel ('Just "originGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OriginGroups)))))) :*: (((S1 ('MetaSel ('Just "priceClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PriceClass)) :*: S1 ('MetaSel ('Just "restrictions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Restrictions))) :*: (S1 ('MetaSel ('Just "staging") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "viewerCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ViewerCertificate)) :*: S1 ('MetaSel ('Just "webACLId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "callerReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "origins") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Origins)) :*: (S1 ('MetaSel ('Just "defaultCacheBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DefaultCacheBehavior) :*: (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))))))

newDistributionConfig Source #

Create a value of DistributionConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:aliases:DistributionConfig', distributionConfig_aliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

$sel:cacheBehaviors:DistributionConfig', distributionConfig_cacheBehaviors - A complex type that contains zero or more CacheBehavior elements.

$sel:continuousDeploymentPolicyId:DistributionConfig', distributionConfig_continuousDeploymentPolicyId - The identifier of a continuous deployment policy. For more information, see CreateContinuousDeploymentPolicy.

$sel:customErrorResponses:DistributionConfig', distributionConfig_customErrorResponses - A complex type that controls the following:

  • Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
  • How long CloudFront caches HTTP status codes in the 4xx and 5xx range.

For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

$sel:defaultRootObject:DistributionConfig', distributionConfig_defaultRootObject - The object that you want CloudFront to request from your origin (for example, index.html) when a viewer requests the root URL for your distribution (https://www.example.com) instead of an object in your distribution (https://www.example.com/product-description.html). Specifying a default root object avoids exposing the contents of your distribution.

Specify only the object name, for example, index.html. Don't add a / before the object name.

If you don't want to specify a default root object when you create a distribution, include an empty DefaultRootObject element.

To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element.

To replace the default root object, update the distribution configuration and specify the new object.

For more information about the default root object, see Creating a Default Root Object in the Amazon CloudFront Developer Guide.

$sel:httpVersion:DistributionConfig', distributionConfig_httpVersion - (Optional) Specify the maximum HTTP version(s) that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 automatically use an earlier HTTP version.

For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2 or later, and must support Server Name Indication (SNI).

For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3 and Server Name Indication (SNI). CloudFront supports HTTP/3 connection migration to allow the viewer to switch networks without losing connection. For more information about connection migration, see Connection Migration at RFC 9000. For more information about supported TLSv1.3 ciphers, see Supported protocols and ciphers between viewers and CloudFront.

$sel:isIPV6Enabled:DistributionConfig', distributionConfig_isIPV6Enabled - If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your distribution, specify true. If you specify false, CloudFront responds to IPv6 DNS requests with the DNS response code NOERROR and with no IP addresses. This allows viewers to submit a second request, for an IPv4 address for your distribution.

In general, you should enable IPv6 if you have users on IPv6 networks who want to access your content. However, if you're using signed URLs or signed cookies to restrict access to your content, and if you're using a custom policy that includes the IpAddress parameter to restrict the IP addresses that can access your content, don't enable IPv6. If you want to restrict access to some content by IP address and not restrict access to other content (or restrict access but not by IP address), you can create two distributions. For more information, see Creating a Signed URL Using a Custom Policy in the Amazon CloudFront Developer Guide.

If you're using an Route 53 Amazon Web Services Integration alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true:

  • You enable IPv6 for the distribution
  • You're using alternate domain names in the URLs for your objects

For more information, see Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name in the Route 53 Amazon Web Services Integration Developer Guide.

If you created a CNAME resource record set, either with Route 53 Amazon Web Services Integration or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request.

$sel:logging:DistributionConfig', distributionConfig_logging - A complex type that controls whether access logs are written for the distribution.

For more information about logging, see Access Logs in the Amazon CloudFront Developer Guide.

$sel:originGroups:DistributionConfig', distributionConfig_originGroups - A complex type that contains information about origin groups for this distribution.

$sel:priceClass:DistributionConfig', distributionConfig_priceClass - The price class that corresponds with the maximum price that you want to pay for CloudFront service. If you specify PriceClass_All, CloudFront responds to requests for your objects from all CloudFront edge locations.

If you specify a price class other than PriceClass_All, CloudFront serves your objects from the CloudFront edge location that has the lowest latency among the edge locations in your price class. Viewers who are in or near regions that are excluded from your specified price class may encounter slower performance.

For more information about price classes, see Choosing the Price Class for a CloudFront Distribution in the Amazon CloudFront Developer Guide. For information about CloudFront pricing, including how price classes (such as Price Class 100) map to CloudFront regions, see Amazon CloudFront Pricing.

$sel:restrictions:DistributionConfig', distributionConfig_restrictions - A complex type that identifies ways in which you want to restrict distribution of your content.

$sel:staging:DistributionConfig', distributionConfig_staging - A Boolean that indicates whether this is a staging distribution. When this value is true, this is a staging distribution. When this value is false, this is not a staging distribution.

$sel:viewerCertificate:DistributionConfig', distributionConfig_viewerCertificate - A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.

$sel:webACLId:DistributionConfig', distributionConfig_webACLId - A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a.

WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about WAF, see the WAF Developer Guide.

$sel:callerReference:DistributionConfig', distributionConfig_callerReference - A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

If the value of CallerReference is new (regardless of the content of the DistributionConfig object), CloudFront creates a new distribution.

If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error.

$sel:origins:DistributionConfig', distributionConfig_origins - A complex type that contains information about origins for this distribution.

$sel:defaultCacheBehavior:DistributionConfig', distributionConfig_defaultCacheBehavior - A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

$sel:comment:DistributionConfig', distributionConfig_comment - A comment to describe the distribution. The comment cannot be longer than 128 characters.

DistributionConfig, distributionConfig_enabled - From this field, you can enable or disable the selected distribution.

distributionConfig_aliases :: Lens' DistributionConfig (Maybe Aliases) Source #

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

distributionConfig_cacheBehaviors :: Lens' DistributionConfig (Maybe CacheBehaviors) Source #

A complex type that contains zero or more CacheBehavior elements.

distributionConfig_continuousDeploymentPolicyId :: Lens' DistributionConfig (Maybe Text) Source #

The identifier of a continuous deployment policy. For more information, see CreateContinuousDeploymentPolicy.

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_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 (https://www.example.com) instead of an object in your distribution (https://www.example.com/product-description.html). Specifying a default root object avoids exposing the contents of your distribution.

Specify only the object name, for example, index.html. Don't add a / before the object name.

If you don't want to specify a default root object when you create a distribution, include an empty DefaultRootObject element.

To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element.

To replace the default root object, update the distribution configuration and specify the new object.

For more information about the default root object, see Creating a Default Root Object in the Amazon CloudFront Developer Guide.

distributionConfig_httpVersion :: Lens' DistributionConfig (Maybe HttpVersion) Source #

(Optional) Specify the maximum HTTP version(s) that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 automatically use an earlier HTTP version.

For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2 or later, and must support Server Name Indication (SNI).

For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3 and Server Name Indication (SNI). CloudFront supports HTTP/3 connection migration to allow the viewer to switch networks without losing connection. For more information about connection migration, see Connection Migration at RFC 9000. For more information about supported TLSv1.3 ciphers, see Supported protocols and ciphers between viewers and CloudFront.

distributionConfig_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_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_originGroups :: Lens' DistributionConfig (Maybe OriginGroups) Source #

A complex type that contains information about origin groups for this distribution.

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_restrictions :: Lens' DistributionConfig (Maybe Restrictions) Source #

A complex type that identifies ways in which you want to restrict distribution of your content.

distributionConfig_staging :: Lens' DistributionConfig (Maybe Bool) Source #

A Boolean that indicates whether this is a staging distribution. When this value is true, this is a staging distribution. When this value is false, this is not a staging distribution.

distributionConfig_viewerCertificate :: Lens' DistributionConfig (Maybe ViewerCertificate) Source #

A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.

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_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 #

A 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.

Constructors

DistributionConfigWithTags' 

Fields

Instances

Instances details
ToXML DistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfigWithTags

Generic DistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfigWithTags

Associated Types

type Rep DistributionConfigWithTags :: Type -> Type #

Show DistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfigWithTags

NFData DistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfigWithTags

Eq DistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfigWithTags

Hashable DistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfigWithTags

type Rep DistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfigWithTags

type Rep DistributionConfigWithTags = D1 ('MetaData "DistributionConfigWithTags" "Amazonka.CloudFront.Types.DistributionConfigWithTags" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "DistributionConfigWithTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "distributionConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DistributionConfig) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Tags)))

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_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.

Constructors

DistributionIdList' 

Fields

  • items :: Maybe [Text]

    Contains the distribution IDs in the list.

  • nextMarker :: Maybe Text

    Contains the value that you should use in the Marker field of a subsequent request to continue listing distribution IDs where you left off.

  • marker :: Text

    The value provided in the Marker request field.

  • maxItems :: Int

    The maximum number of distribution IDs requested.

  • isTruncated :: Bool

    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.

  • quantity :: Int

    The total number of distribution IDs returned in the response.

Instances

Instances details
FromXML DistributionIdList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionIdList

Generic DistributionIdList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionIdList

Associated Types

type Rep DistributionIdList :: Type -> Type #

Read DistributionIdList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionIdList

Show DistributionIdList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionIdList

NFData DistributionIdList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionIdList

Methods

rnf :: DistributionIdList -> () #

Eq DistributionIdList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionIdList

Hashable DistributionIdList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionIdList

type Rep DistributionIdList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionIdList

type Rep DistributionIdList = D1 ('MetaData "DistributionIdList" "Amazonka.CloudFront.Types.DistributionIdList" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "DistributionIdList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "isTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDistributionIdList Source #

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.

Constructors

DistributionList' 

Fields

  • items :: Maybe [DistributionSummary]

    A complex type that contains one DistributionSummary element for each distribution that was created by the current Amazon Web Services account.

  • nextMarker :: Maybe Text

    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.

  • marker :: Text

    The value you provided for the Marker request parameter.

  • maxItems :: Int

    The value you provided for the MaxItems request parameter.

  • isTruncated :: Bool

    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.

  • quantity :: Int

    The number of distributions that were created by the current Amazon Web Services account.

Instances

Instances details
FromXML DistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionList

Generic DistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionList

Associated Types

type Rep DistributionList :: Type -> Type #

Show DistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionList

NFData DistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionList

Methods

rnf :: DistributionList -> () #

Eq DistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionList

Hashable DistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionList

type Rep DistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionList

type Rep DistributionList = D1 ('MetaData "DistributionList" "Amazonka.CloudFront.Types.DistributionList" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "DistributionList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DistributionSummary])) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "isTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDistributionList Source #

Create a value of DistributionList with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:items:DistributionList', distributionList_items - A complex type that contains one DistributionSummary element for each distribution that was created by the current Amazon Web Services account.

$sel:nextMarker:DistributionList', distributionList_nextMarker - If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.

$sel:marker:DistributionList', distributionList_marker - The value you provided for the Marker request parameter.

$sel:maxItems:DistributionList', distributionList_maxItems - The value you provided for the MaxItems request parameter.

$sel:isTruncated:DistributionList', distributionList_isTruncated - A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

$sel:quantity:DistributionList', distributionList_quantity - The number of distributions that were created by the current Amazon Web Services account.

distributionList_items :: Lens' DistributionList (Maybe [DistributionSummary]) Source #

A complex type that contains one DistributionSummary element for each distribution that was created by the current Amazon Web Services 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 Amazon Web Services account.

DistributionSummary

data DistributionSummary Source #

A summary of the information about a CloudFront distribution.

See: newDistributionSummary smart constructor.

Constructors

DistributionSummary' 

Fields

  • aliasICPRecordals :: Maybe [AliasICPRecordal]

    Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.

    For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.

  • originGroups :: Maybe OriginGroups

    A complex type that contains information about origin groups for this distribution.

  • id :: Text

    The identifier for the distribution. For example: EDFDVBD632BHDS5.

  • arn :: Text

    The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your Amazon Web Services account ID.

  • status :: Text

    The current status of the distribution. When the status is Deployed, the distribution's information is propagated to all CloudFront edge locations.

  • lastModifiedTime :: ISO8601

    The date and time the distribution was last modified.

  • domainName :: Text

    The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net.

  • aliases :: Aliases

    A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

  • origins :: Origins

    A complex type that contains information about origins for this distribution.

  • defaultCacheBehavior :: 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.

  • cacheBehaviors :: CacheBehaviors

    A complex type that contains zero or more CacheBehavior elements.

  • customErrorResponses :: CustomErrorResponses

    A complex type that contains zero or more CustomErrorResponses elements.

  • comment :: Text

    The comment originally specified when this distribution was created.

  • priceClass :: PriceClass

    A complex type that contains information about price class for this streaming distribution.

  • enabled :: Bool

    Whether the distribution is enabled to accept user requests for content.

  • viewerCertificate :: ViewerCertificate

    A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.

  • restrictions :: Restrictions

    A complex type that identifies ways in which you want to restrict distribution of your content.

  • webACLId :: Text

    The Web ACL Id (if any) associated with the distribution.

  • httpVersion :: 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.

  • isIPV6Enabled :: Bool

    Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.

  • staging :: Bool

    Whether the primary distribution has a staging distribution enabled.

Instances

Instances details
FromXML DistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionSummary

Generic DistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionSummary

Associated Types

type Rep DistributionSummary :: Type -> Type #

Show DistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionSummary

NFData DistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionSummary

Methods

rnf :: DistributionSummary -> () #

Eq DistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionSummary

Hashable DistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionSummary

type Rep DistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionSummary

type Rep DistributionSummary = D1 ('MetaData "DistributionSummary" "Amazonka.CloudFront.Types.DistributionSummary" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "DistributionSummary'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "aliasICPRecordals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AliasICPRecordal])) :*: S1 ('MetaSel ('Just "originGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OriginGroups))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "aliases") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Aliases) :*: (S1 ('MetaSel ('Just "origins") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Origins) :*: S1 ('MetaSel ('Just "defaultCacheBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DefaultCacheBehavior))))) :*: (((S1 ('MetaSel ('Just "cacheBehaviors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CacheBehaviors) :*: S1 ('MetaSel ('Just "customErrorResponses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CustomErrorResponses)) :*: (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "priceClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PriceClass) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "viewerCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ViewerCertificate) :*: (S1 ('MetaSel ('Just "restrictions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Restrictions) :*: S1 ('MetaSel ('Just "webACLId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "httpVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HttpVersion) :*: (S1 ('MetaSel ('Just "isIPV6Enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "staging") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))))))

newDistributionSummary Source #

Create a value of DistributionSummary with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:aliasICPRecordals:DistributionSummary', distributionSummary_aliasICPRecordals - Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.

For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.

$sel:originGroups:DistributionSummary', distributionSummary_originGroups - A complex type that contains information about origin groups for this distribution.

$sel:id:DistributionSummary', distributionSummary_id - The identifier for the distribution. For example: EDFDVBD632BHDS5.

$sel:arn:DistributionSummary', distributionSummary_arn - The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your Amazon Web Services account ID.

$sel:status:DistributionSummary', distributionSummary_status - The current status of the distribution. When the status is Deployed, the distribution's information is propagated to all CloudFront edge locations.

$sel:lastModifiedTime:DistributionSummary', distributionSummary_lastModifiedTime - The date and time the distribution was last modified.

$sel:domainName:DistributionSummary', distributionSummary_domainName - The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net.

$sel:aliases:DistributionSummary', distributionSummary_aliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

$sel:origins:DistributionSummary', distributionSummary_origins - A complex type that contains information about origins for this distribution.

$sel:defaultCacheBehavior:DistributionSummary', distributionSummary_defaultCacheBehavior - A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

$sel:cacheBehaviors:DistributionSummary', distributionSummary_cacheBehaviors - A complex type that contains zero or more CacheBehavior elements.

$sel:customErrorResponses:DistributionSummary', distributionSummary_customErrorResponses - A complex type that contains zero or more CustomErrorResponses elements.

$sel:comment:DistributionSummary', distributionSummary_comment - The comment originally specified when this distribution was created.

$sel:priceClass:DistributionSummary', distributionSummary_priceClass - A complex type that contains information about price class for this streaming distribution.

$sel:enabled:DistributionSummary', distributionSummary_enabled - Whether the distribution is enabled to accept user requests for content.

$sel:viewerCertificate:DistributionSummary', distributionSummary_viewerCertificate - A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.

$sel:restrictions:DistributionSummary', distributionSummary_restrictions - A complex type that identifies ways in which you want to restrict distribution of your content.

$sel:webACLId:DistributionSummary', distributionSummary_webACLId - The Web ACL Id (if any) associated with the distribution.

$sel:httpVersion:DistributionSummary', distributionSummary_httpVersion - Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 will automatically use an earlier version.

$sel:isIPV6Enabled:DistributionSummary', distributionSummary_isIPV6Enabled - Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.

$sel:staging:DistributionSummary', distributionSummary_staging - Whether the primary distribution has a staging distribution enabled.

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_originGroups :: Lens' DistributionSummary (Maybe OriginGroups) Source #

A complex type that contains information about origin groups for this distribution.

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 Amazon Web Services 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.

distributionSummary_staging :: Lens' DistributionSummary Bool Source #

Whether the primary distribution has a staging distribution enabled.

EncryptionEntities

data EncryptionEntities Source #

Complex data type for field-level encryption profiles that includes all of the encryption entities.

See: newEncryptionEntities smart constructor.

Constructors

EncryptionEntities' 

Fields

  • items :: Maybe [EncryptionEntity]

    An array of field patterns in a field-level encryption content type-profile mapping.

  • quantity :: Int

    Number of field pattern items in a field-level encryption content type-profile mapping.

Instances

Instances details
FromXML EncryptionEntities Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntities

ToXML EncryptionEntities Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntities

Generic EncryptionEntities Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntities

Associated Types

type Rep EncryptionEntities :: Type -> Type #

Read EncryptionEntities Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntities

Show EncryptionEntities Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntities

NFData EncryptionEntities Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntities

Methods

rnf :: EncryptionEntities -> () #

Eq EncryptionEntities Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntities

Hashable EncryptionEntities Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntities

type Rep EncryptionEntities Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntities

type Rep EncryptionEntities = D1 ('MetaData "EncryptionEntities" "Amazonka.CloudFront.Types.EncryptionEntities" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "EncryptionEntities'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EncryptionEntity])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.

Constructors

EncryptionEntity' 

Fields

  • publicKeyId :: Text

    The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.

  • providerId :: Text

    The provider associated with the public key being used for encryption. This value must also be provided with the private key for applications to be able to decrypt data.

  • fieldPatterns :: 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.

Instances

Instances details
FromXML EncryptionEntity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntity

ToXML EncryptionEntity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntity

Generic EncryptionEntity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntity

Associated Types

type Rep EncryptionEntity :: Type -> Type #

Read EncryptionEntity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntity

Show EncryptionEntity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntity

NFData EncryptionEntity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntity

Methods

rnf :: EncryptionEntity -> () #

Eq EncryptionEntity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntity

Hashable EncryptionEntity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntity

type Rep EncryptionEntity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntity

type Rep EncryptionEntity = D1 ('MetaData "EncryptionEntity" "Amazonka.CloudFront.Types.EncryptionEntity" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "EncryptionEntity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "publicKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "providerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "fieldPatterns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FieldPatterns))))

newEncryptionEntity Source #

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

data EndPoint Source #

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.

Constructors

EndPoint' 

Fields

Instances

Instances details
FromXML EndPoint Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EndPoint

ToXML EndPoint Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EndPoint

Methods

toXML :: EndPoint -> XML #

Generic EndPoint Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EndPoint

Associated Types

type Rep EndPoint :: Type -> Type #

Methods

from :: EndPoint -> Rep EndPoint x #

to :: Rep EndPoint x -> EndPoint #

Read EndPoint Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EndPoint

Show EndPoint Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EndPoint

NFData EndPoint Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EndPoint

Methods

rnf :: EndPoint -> () #

Eq EndPoint Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EndPoint

Hashable EndPoint Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EndPoint

Methods

hashWithSalt :: Int -> EndPoint -> Int #

hash :: EndPoint -> Int #

type Rep EndPoint Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EndPoint

type Rep EndPoint = D1 ('MetaData "EndPoint" "Amazonka.CloudFront.Types.EndPoint" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" '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)))

newEndPoint Source #

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.

Constructors

FieldLevelEncryption' 

Fields

  • id :: Text

    The configuration ID for a field-level encryption configuration which includes a set of profiles that specify certain selected data fields to be encrypted by specific public keys.

  • lastModifiedTime :: ISO8601

    The last time the field-level encryption configuration was changed.

  • fieldLevelEncryptionConfig :: FieldLevelEncryptionConfig

    A complex data type that includes the profile configurations specified for field-level encryption.

Instances

Instances details
FromXML FieldLevelEncryption Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryption

Generic FieldLevelEncryption Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryption

Associated Types

type Rep FieldLevelEncryption :: Type -> Type #

Read FieldLevelEncryption Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryption

Show FieldLevelEncryption Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryption

NFData FieldLevelEncryption Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryption

Methods

rnf :: FieldLevelEncryption -> () #

Eq FieldLevelEncryption Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryption

Hashable FieldLevelEncryption Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryption

type Rep FieldLevelEncryption Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryption

type Rep FieldLevelEncryption = D1 ('MetaData "FieldLevelEncryption" "Amazonka.CloudFront.Types.FieldLevelEncryption" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "FieldLevelEncryption'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "fieldLevelEncryptionConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FieldLevelEncryptionConfig))))

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.

Constructors

FieldLevelEncryptionConfig' 

Fields

Instances

Instances details
FromXML FieldLevelEncryptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionConfig

ToXML FieldLevelEncryptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionConfig

Generic FieldLevelEncryptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionConfig

Associated Types

type Rep FieldLevelEncryptionConfig :: Type -> Type #

Read FieldLevelEncryptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionConfig

Show FieldLevelEncryptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionConfig

NFData FieldLevelEncryptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionConfig

Eq FieldLevelEncryptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionConfig

Hashable FieldLevelEncryptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionConfig

type Rep FieldLevelEncryptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionConfig

type Rep FieldLevelEncryptionConfig = D1 ('MetaData "FieldLevelEncryptionConfig" "Amazonka.CloudFront.Types.FieldLevelEncryptionConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "FieldLevelEncryptionConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "contentTypeProfileConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentTypeProfileConfig))) :*: (S1 ('MetaSel ('Just "queryArgProfileConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryArgProfileConfig)) :*: S1 ('MetaSel ('Just "callerReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:comment:FieldLevelEncryptionConfig', fieldLevelEncryptionConfig_comment - An optional comment about the configuration. The comment cannot be longer than 128 characters.

$sel:contentTypeProfileConfig:FieldLevelEncryptionConfig', fieldLevelEncryptionConfig_contentTypeProfileConfig - A complex data type that specifies when to forward content if a content type isn't recognized and profiles to use as by default in a request if a query argument doesn't specify a profile to use.

$sel:queryArgProfileConfig:FieldLevelEncryptionConfig', fieldLevelEncryptionConfig_queryArgProfileConfig - A complex data type that specifies when to forward content if a profile isn't found and the profile that can be provided as a query argument in a request.

$sel:callerReference:FieldLevelEncryptionConfig', fieldLevelEncryptionConfig_callerReference - A unique number that ensures the request can't be replayed.

fieldLevelEncryptionConfig_comment :: Lens' FieldLevelEncryptionConfig (Maybe Text) Source #

An optional comment about the configuration. The comment cannot be longer than 128 characters.

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_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_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.

Constructors

FieldLevelEncryptionList' 

Fields

  • items :: Maybe [FieldLevelEncryptionSummary]

    An array of field-level encryption items.

  • nextMarker :: Maybe Text

    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.

  • maxItems :: Int

    The maximum number of elements you want in the response body.

  • quantity :: Int

    The number of field-level encryption items.

Instances

Instances details
FromXML FieldLevelEncryptionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionList

Generic FieldLevelEncryptionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionList

Associated Types

type Rep FieldLevelEncryptionList :: Type -> Type #

Read FieldLevelEncryptionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionList

Show FieldLevelEncryptionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionList

NFData FieldLevelEncryptionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionList

Eq FieldLevelEncryptionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionList

Hashable FieldLevelEncryptionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionList

type Rep FieldLevelEncryptionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionList

type Rep FieldLevelEncryptionList = D1 ('MetaData "FieldLevelEncryptionList" "Amazonka.CloudFront.Types.FieldLevelEncryptionList" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "FieldLevelEncryptionList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FieldLevelEncryptionSummary])) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newFieldLevelEncryptionList Source #

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_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.

Constructors

FieldLevelEncryptionProfile' 

Fields

Instances

Instances details
FromXML FieldLevelEncryptionProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfile

Generic FieldLevelEncryptionProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfile

Associated Types

type Rep FieldLevelEncryptionProfile :: Type -> Type #

Read FieldLevelEncryptionProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfile

Show FieldLevelEncryptionProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfile

NFData FieldLevelEncryptionProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfile

Eq FieldLevelEncryptionProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfile

Hashable FieldLevelEncryptionProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfile

type Rep FieldLevelEncryptionProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfile

type Rep FieldLevelEncryptionProfile = D1 ('MetaData "FieldLevelEncryptionProfile" "Amazonka.CloudFront.Types.FieldLevelEncryptionProfile" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "FieldLevelEncryptionProfile'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "fieldLevelEncryptionProfileConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FieldLevelEncryptionProfileConfig))))

newFieldLevelEncryptionProfile Source #

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.

Constructors

FieldLevelEncryptionProfileConfig' 

Fields

  • comment :: Maybe Text

    An optional comment for the field-level encryption profile. The comment cannot be longer than 128 characters.

  • name :: Text

    Profile name for the field-level encryption profile.

  • callerReference :: Text

    A unique number that ensures that the request can't be replayed.

  • encryptionEntities :: 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.

Instances

Instances details
FromXML FieldLevelEncryptionProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig

ToXML FieldLevelEncryptionProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig

Generic FieldLevelEncryptionProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig

Associated Types

type Rep FieldLevelEncryptionProfileConfig :: Type -> Type #

Read FieldLevelEncryptionProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig

Show FieldLevelEncryptionProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig

NFData FieldLevelEncryptionProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig

Eq FieldLevelEncryptionProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig

Hashable FieldLevelEncryptionProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig

type Rep FieldLevelEncryptionProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig

type Rep FieldLevelEncryptionProfileConfig = D1 ('MetaData "FieldLevelEncryptionProfileConfig" "Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "FieldLevelEncryptionProfileConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "callerReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "encryptionEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EncryptionEntities))))

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.

Constructors

FieldLevelEncryptionProfileList' 

Fields

  • items :: Maybe [FieldLevelEncryptionProfileSummary]

    The field-level encryption profile items.

  • nextMarker :: Maybe Text

    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.

  • maxItems :: Int

    The maximum number of field-level encryption profiles you want in the response body.

  • quantity :: Int

    The number of field-level encryption profiles.

Instances

Instances details
FromXML FieldLevelEncryptionProfileList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList

Generic FieldLevelEncryptionProfileList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList

Associated Types

type Rep FieldLevelEncryptionProfileList :: Type -> Type #

Read FieldLevelEncryptionProfileList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList

Show FieldLevelEncryptionProfileList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList

NFData FieldLevelEncryptionProfileList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList

Eq FieldLevelEncryptionProfileList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList

Hashable FieldLevelEncryptionProfileList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList

type Rep FieldLevelEncryptionProfileList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList

type Rep FieldLevelEncryptionProfileList = D1 ('MetaData "FieldLevelEncryptionProfileList" "Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "FieldLevelEncryptionProfileList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FieldLevelEncryptionProfileSummary])) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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_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.

FieldLevelEncryptionProfileSummary

data FieldLevelEncryptionProfileSummary Source #

The field-level encryption profile summary.

See: newFieldLevelEncryptionProfileSummary smart constructor.

Constructors

FieldLevelEncryptionProfileSummary' 

Fields

  • comment :: Maybe Text

    An optional comment for the field-level encryption profile summary. The comment cannot be longer than 128 characters.

  • id :: Text

    ID for the field-level encryption profile summary.

  • lastModifiedTime :: ISO8601

    The time when the the field-level encryption profile summary was last updated.

  • name :: Text

    Name for the field-level encryption profile summary.

  • encryptionEntities :: 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.

Instances

Instances details
FromXML FieldLevelEncryptionProfileSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary

Generic FieldLevelEncryptionProfileSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary

Associated Types

type Rep FieldLevelEncryptionProfileSummary :: Type -> Type #

Read FieldLevelEncryptionProfileSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary

Show FieldLevelEncryptionProfileSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary

NFData FieldLevelEncryptionProfileSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary

Eq FieldLevelEncryptionProfileSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary

Hashable FieldLevelEncryptionProfileSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary

type Rep FieldLevelEncryptionProfileSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary

type Rep FieldLevelEncryptionProfileSummary = D1 ('MetaData "FieldLevelEncryptionProfileSummary" "Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "FieldLevelEncryptionProfileSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "encryptionEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EncryptionEntities)))))

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.

Constructors

FieldLevelEncryptionSummary' 

Fields

Instances

Instances details
FromXML FieldLevelEncryptionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionSummary

Generic FieldLevelEncryptionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionSummary

Associated Types

type Rep FieldLevelEncryptionSummary :: Type -> Type #

Read FieldLevelEncryptionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionSummary

Show FieldLevelEncryptionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionSummary

NFData FieldLevelEncryptionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionSummary

Eq FieldLevelEncryptionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionSummary

Hashable FieldLevelEncryptionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionSummary

type Rep FieldLevelEncryptionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionSummary

type Rep FieldLevelEncryptionSummary = D1 ('MetaData "FieldLevelEncryptionSummary" "Amazonka.CloudFront.Types.FieldLevelEncryptionSummary" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "FieldLevelEncryptionSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "contentTypeProfileConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentTypeProfileConfig))) :*: (S1 ('MetaSel ('Just "queryArgProfileConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryArgProfileConfig)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)))))

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:comment:FieldLevelEncryptionSummary', fieldLevelEncryptionSummary_comment - An optional comment about the field-level encryption item. The comment cannot be longer than 128 characters.

$sel:contentTypeProfileConfig:FieldLevelEncryptionSummary', fieldLevelEncryptionSummary_contentTypeProfileConfig - A summary of a content type-profile mapping.

$sel:queryArgProfileConfig:FieldLevelEncryptionSummary', fieldLevelEncryptionSummary_queryArgProfileConfig - A summary of a query argument-profile mapping.

$sel:id:FieldLevelEncryptionSummary', fieldLevelEncryptionSummary_id - The unique ID of a field-level encryption item.

$sel:lastModifiedTime:FieldLevelEncryptionSummary', fieldLevelEncryptionSummary_lastModifiedTime - The last time that the summary of field-level encryption items was modified.

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.

Constructors

FieldPatterns' 

Fields

  • items :: Maybe [Text]

    An array of the field-level encryption field patterns.

  • quantity :: Int

    The number of field-level encryption field patterns.

Instances

Instances details
FromXML FieldPatterns Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldPatterns

ToXML FieldPatterns Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldPatterns

Methods

toXML :: FieldPatterns -> XML #

Generic FieldPatterns Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldPatterns

Associated Types

type Rep FieldPatterns :: Type -> Type #

Read FieldPatterns Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldPatterns

Show FieldPatterns Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldPatterns

NFData FieldPatterns Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldPatterns

Methods

rnf :: FieldPatterns -> () #

Eq FieldPatterns Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldPatterns

Hashable FieldPatterns Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldPatterns

type Rep FieldPatterns Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldPatterns

type Rep FieldPatterns = D1 ('MetaData "FieldPatterns" "Amazonka.CloudFront.Types.FieldPatterns" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "FieldPatterns'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newFieldPatterns Source #

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.

Constructors

ForwardedValues' 

Fields

  • headers :: Maybe Headers

    This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

    If you want to include 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.

  • queryStringCacheKeys :: Maybe QueryStringCacheKeys

    This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

    If you want to include query strings in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

    If you want to send query strings to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

    A complex type that contains information about the query string parameters that you want CloudFront to use for caching for this cache behavior.

  • queryString :: Bool

    This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

    If you want to include 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.

  • cookies :: CookiePreference

    This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

    If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

    If you want to send cookies to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

    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.

Instances

Instances details
FromXML ForwardedValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ForwardedValues

ToXML ForwardedValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ForwardedValues

Methods

toXML :: ForwardedValues -> XML #

Generic ForwardedValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ForwardedValues

Associated Types

type Rep ForwardedValues :: Type -> Type #

Read ForwardedValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ForwardedValues

Show ForwardedValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ForwardedValues

NFData ForwardedValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ForwardedValues

Methods

rnf :: ForwardedValues -> () #

Eq ForwardedValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ForwardedValues

Hashable ForwardedValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ForwardedValues

type Rep ForwardedValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ForwardedValues

type Rep ForwardedValues = D1 ('MetaData "ForwardedValues" "Amazonka.CloudFront.Types.ForwardedValues" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ForwardedValues'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "headers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Headers)) :*: S1 ('MetaSel ('Just "queryStringCacheKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryStringCacheKeys))) :*: (S1 ('MetaSel ('Just "queryString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "cookies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CookiePreference))))

newForwardedValues Source #

Create a value of ForwardedValues with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:headers:ForwardedValues', forwardedValues_headers - This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include headers in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send headers to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

A complex type that specifies the Headers, if any, that you want CloudFront to forward to the origin for this cache behavior (whitelisted headers). For the headers that you specify, CloudFront also caches separate versions of a specified object that is based on the header values in viewer requests.

For more information, see Caching Content Based on Request Headers in the Amazon CloudFront Developer Guide.

$sel:queryStringCacheKeys:ForwardedValues', forwardedValues_queryStringCacheKeys - This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include query strings in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send query strings to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

A complex type that contains information about the query string parameters that you want CloudFront to use for caching for this cache behavior.

$sel:queryString:ForwardedValues', forwardedValues_queryString - This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include query strings in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send query strings to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior and cache based on the query string parameters. CloudFront behavior depends on the value of QueryString and on the values that you specify for QueryStringCacheKeys, if any:

If you specify true for QueryString and you don't specify any values for QueryStringCacheKeys, CloudFront forwards all query string parameters to the origin and caches based on all query string parameters. Depending on how many query string parameters and values you have, this can adversely affect performance because CloudFront must forward more requests to the origin.

If you specify true for QueryString and you specify one or more values for QueryStringCacheKeys, CloudFront forwards all query string parameters to the origin, but it only caches based on the query string parameters that you specify.

If you specify false for QueryString, CloudFront doesn't forward any query string parameters to the origin, and doesn't cache based on query string parameters.

For more information, see Configuring CloudFront to Cache Based on Query String Parameters in the Amazon CloudFront Developer Guide.

$sel:cookies:ForwardedValues', forwardedValues_cookies - This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send cookies to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide.

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_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_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.

Constructors

FunctionAssociation' 

Fields

  • functionARN :: Text

    The Amazon Resource Name (ARN) of the function.

  • eventType :: 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.

Instances

Instances details
FromXML FunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociation

ToXML FunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociation

Generic FunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociation

Associated Types

type Rep FunctionAssociation :: Type -> Type #

Read FunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociation

Show FunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociation

NFData FunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociation

Methods

rnf :: FunctionAssociation -> () #

Eq FunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociation

Hashable FunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociation

type Rep FunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociation

type Rep FunctionAssociation = D1 ('MetaData "FunctionAssociation" "Amazonka.CloudFront.Types.FunctionAssociation" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "FunctionAssociation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "functionARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "eventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EventType)))

newFunctionAssociation Source #

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.

Constructors

FunctionAssociations' 

Fields

  • items :: Maybe [FunctionAssociation]

    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.

  • quantity :: Int

    The number of CloudFront functions in the list.

Instances

Instances details
FromXML FunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociations

ToXML FunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociations

Generic FunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociations

Associated Types

type Rep FunctionAssociations :: Type -> Type #

Read FunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociations

Show FunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociations

NFData FunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociations

Methods

rnf :: FunctionAssociations -> () #

Eq FunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociations

Hashable FunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociations

type Rep FunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociations

type Rep FunctionAssociations = D1 ('MetaData "FunctionAssociations" "Amazonka.CloudFront.Types.FunctionAssociations" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "FunctionAssociations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FunctionAssociation])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.

Constructors

FunctionConfig' 

Fields

Instances

Instances details
FromXML FunctionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionConfig

ToXML FunctionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionConfig

Methods

toXML :: FunctionConfig -> XML #

Generic FunctionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionConfig

Associated Types

type Rep FunctionConfig :: Type -> Type #

Read FunctionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionConfig

Show FunctionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionConfig

NFData FunctionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionConfig

Methods

rnf :: FunctionConfig -> () #

Eq FunctionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionConfig

Hashable FunctionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionConfig

type Rep FunctionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionConfig

type Rep FunctionConfig = D1 ('MetaData "FunctionConfig" "Amazonka.CloudFront.Types.FunctionConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "FunctionConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "runtime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FunctionRuntime)))

newFunctionConfig Source #

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.

Constructors

FunctionList' 

Fields

  • items :: Maybe [FunctionSummary]

    Contains the functions in the list.

  • nextMarker :: Maybe Text

    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.

  • maxItems :: Int

    The maximum number of functions requested.

  • quantity :: Int

    The number of functions returned in the response.

Instances

Instances details
FromXML FunctionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionList

Generic FunctionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionList

Associated Types

type Rep FunctionList :: Type -> Type #

Read FunctionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionList

Show FunctionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionList

NFData FunctionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionList

Methods

rnf :: FunctionList -> () #

Eq FunctionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionList

Hashable FunctionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionList

type Rep FunctionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionList

type Rep FunctionList = D1 ('MetaData "FunctionList" "Amazonka.CloudFront.Types.FunctionList" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "FunctionList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FunctionSummary])) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newFunctionList Source #

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.

Constructors

FunctionMetadata' 

Fields

  • createdTime :: Maybe ISO8601

    The date and time when the function was created.

  • stage :: Maybe FunctionStage

    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.

  • functionARN :: Text

    The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.

  • lastModifiedTime :: ISO8601

    The date and time when the function was most recently updated.

Instances

Instances details
FromXML FunctionMetadata Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionMetadata

Generic FunctionMetadata Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionMetadata

Associated Types

type Rep FunctionMetadata :: Type -> Type #

Read FunctionMetadata Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionMetadata

Show FunctionMetadata Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionMetadata

NFData FunctionMetadata Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionMetadata

Methods

rnf :: FunctionMetadata -> () #

Eq FunctionMetadata Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionMetadata

Hashable FunctionMetadata Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionMetadata

type Rep FunctionMetadata Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionMetadata

type Rep FunctionMetadata = D1 ('MetaData "FunctionMetadata" "Amazonka.CloudFront.Types.FunctionMetadata" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "FunctionMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "createdTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FunctionStage))) :*: (S1 ('MetaSel ('Just "functionARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601))))

newFunctionMetadata Source #

Create a value of FunctionMetadata with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:createdTime:FunctionMetadata', functionMetadata_createdTime - The date and time when the function was created.

$sel:stage:FunctionMetadata', functionMetadata_stage - The stage that the function is in, either DEVELOPMENT or LIVE.

When a function is in the DEVELOPMENT stage, you can test the function with TestFunction, and update it with UpdateFunction.

When a function is in the LIVE stage, you can attach the function to a distribution's cache behavior, using the function's ARN.

$sel:functionARN:FunctionMetadata', functionMetadata_functionARN - The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.

$sel:lastModifiedTime:FunctionMetadata', functionMetadata_lastModifiedTime - The date and time when the function was most recently updated.

functionMetadata_createdTime :: Lens' FunctionMetadata (Maybe UTCTime) Source #

The date and time when the function was created.

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_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.

Constructors

FunctionSummary' 

Fields

Instances

Instances details
FromXML FunctionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionSummary

Generic FunctionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionSummary

Associated Types

type Rep FunctionSummary :: Type -> Type #

Read FunctionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionSummary

Show FunctionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionSummary

NFData FunctionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionSummary

Methods

rnf :: FunctionSummary -> () #

Eq FunctionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionSummary

Hashable FunctionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionSummary

type Rep FunctionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionSummary

type Rep FunctionSummary = D1 ('MetaData "FunctionSummary" "Amazonka.CloudFront.Types.FunctionSummary" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "FunctionSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "functionConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FunctionConfig) :*: S1 ('MetaSel ('Just "functionMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FunctionMetadata))))

newFunctionSummary Source #

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.

Constructors

GeoRestriction' 

Fields

  • items :: Maybe [Text]

    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.

  • restrictionType :: GeoRestrictionType

    The method that you want to use to restrict distribution of your content by country:

    • none: No geo restriction is enabled, meaning access to content is not restricted by client geo location.
    • blacklist: The Location elements specify the countries in which you don't want CloudFront to distribute your content.
    • whitelist: The Location elements specify the countries in which you want CloudFront to distribute your content.
  • quantity :: Int

    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.

Instances

Instances details
FromXML GeoRestriction Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestriction

ToXML GeoRestriction Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestriction

Methods

toXML :: GeoRestriction -> XML #

Generic GeoRestriction Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestriction

Associated Types

type Rep GeoRestriction :: Type -> Type #

Read GeoRestriction Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestriction

Show GeoRestriction Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestriction

NFData GeoRestriction Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestriction

Methods

rnf :: GeoRestriction -> () #

Eq GeoRestriction Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestriction

Hashable GeoRestriction Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestriction

type Rep GeoRestriction Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestriction

type Rep GeoRestriction = D1 ('MetaData "GeoRestriction" "Amazonka.CloudFront.Types.GeoRestriction" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "GeoRestriction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "restrictionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GeoRestrictionType) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGeoRestriction Source #

Create a value of GeoRestriction with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:items:GeoRestriction', geoRestriction_items - A complex type that contains a Location element for each country in which you want CloudFront either to distribute your content (whitelist) or not distribute your content (blacklist).

The Location element is a two-letter, uppercase country code for a country that you want to include in your blacklist or whitelist. Include one Location element for each country.

CloudFront and MaxMind both use ISO 3166 country codes. For the current list of countries and the corresponding codes, see ISO 3166-1-alpha-2 code on the /International Organization for Standardization/ website. You can also refer to the country list on the CloudFront console, which includes both country names and codes.

$sel:restrictionType:GeoRestriction', geoRestriction_restrictionType - The method that you want to use to restrict distribution of your content by country:

  • none: No geo restriction is enabled, meaning access to content is not restricted by client geo location.
  • blacklist: The Location elements specify the countries in which you don't want CloudFront to distribute your content.
  • whitelist: The Location elements specify the countries in which you want CloudFront to distribute your content.

$sel:quantity:GeoRestriction', geoRestriction_quantity - When geo restriction is enabled, this is the number of countries in your whitelist or blacklist. Otherwise, when it is not enabled, Quantity is 0, and you can omit Items.

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: The Location elements specify the countries in which you don't want CloudFront to distribute your content.
  • whitelist: The Location elements specify the countries in which you want CloudFront to distribute your content.

geoRestriction_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

data Headers Source #

Contains a list of HTTP header names.

See: newHeaders smart constructor.

Constructors

Headers' 

Fields

Instances

Instances details
FromXML Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

ToXML Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Methods

toXML :: Headers -> XML #

Generic Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Associated Types

type Rep Headers :: Type -> Type #

Methods

from :: Headers -> Rep Headers x #

to :: Rep Headers x -> Headers #

Read Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Show Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

NFData Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Methods

rnf :: Headers -> () #

Eq Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Methods

(==) :: Headers -> Headers -> Bool #

(/=) :: Headers -> Headers -> Bool #

Hashable Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Methods

hashWithSalt :: Int -> Headers -> Int #

hash :: Headers -> Int #

type Rep Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

type Rep Headers = D1 ('MetaData "Headers" "Amazonka.CloudFront.Types.Headers" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" '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)))

newHeaders Source #

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.

headers_items :: Lens' Headers (Maybe [Text]) Source #

A list of HTTP header names.

headers_quantity :: Lens' Headers Int Source #

The number of header names in the Items list.

Invalidation

data Invalidation Source #

An invalidation.

See: newInvalidation smart constructor.

Constructors

Invalidation' 

Fields

  • id :: Text

    The identifier for the invalidation request. For example: IDFDVBD632BHDS5.

  • status :: Text

    The status of the invalidation request. When the invalidation batch is finished, the status is Completed.

  • createTime :: ISO8601

    The date and time the invalidation request was first made.

  • invalidationBatch :: InvalidationBatch

    The current invalidation information for the batch request.

Instances

Instances details
FromXML Invalidation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Invalidation

Generic Invalidation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Invalidation

Associated Types

type Rep Invalidation :: Type -> Type #

Read Invalidation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Invalidation

Show Invalidation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Invalidation

NFData Invalidation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Invalidation

Methods

rnf :: Invalidation -> () #

Eq Invalidation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Invalidation

Hashable Invalidation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Invalidation

type Rep Invalidation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Invalidation

type Rep Invalidation = D1 ('MetaData "Invalidation" "Amazonka.CloudFront.Types.Invalidation" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "Invalidation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "invalidationBatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InvalidationBatch))))

newInvalidation Source #

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.

Constructors

InvalidationBatch' 

Fields

  • paths :: 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.

  • callerReference :: Text

    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.

Instances

Instances details
FromXML InvalidationBatch Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationBatch

ToXML InvalidationBatch Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationBatch

Generic InvalidationBatch Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationBatch

Associated Types

type Rep InvalidationBatch :: Type -> Type #

Read InvalidationBatch Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationBatch

Show InvalidationBatch Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationBatch

NFData InvalidationBatch Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationBatch

Methods

rnf :: InvalidationBatch -> () #

Eq InvalidationBatch Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationBatch

Hashable InvalidationBatch Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationBatch

type Rep InvalidationBatch Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationBatch

type Rep InvalidationBatch = D1 ('MetaData "InvalidationBatch" "Amazonka.CloudFront.Types.InvalidationBatch" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "InvalidationBatch'" 'PrefixI 'True) (S1 ('MetaSel ('Just "paths") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Paths) :*: S1 ('MetaSel ('Just "callerReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newInvalidationBatch Source #

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.

Constructors

InvalidationList' 

Fields

  • items :: Maybe [InvalidationSummary]

    A complex type that contains one InvalidationSummary element for each invalidation batch created by the current Amazon Web Services account.

  • nextMarker :: Maybe Text

    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.

  • marker :: Text

    The value that you provided for the Marker request parameter.

  • maxItems :: Int

    The value that you provided for the MaxItems request parameter.

  • isTruncated :: Bool

    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.

  • quantity :: Int

    The number of invalidation batches that were created by the current Amazon Web Services account.

Instances

Instances details
FromXML InvalidationList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationList

Generic InvalidationList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationList

Associated Types

type Rep InvalidationList :: Type -> Type #

Read InvalidationList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationList

Show InvalidationList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationList

NFData InvalidationList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationList

Methods

rnf :: InvalidationList -> () #

Eq InvalidationList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationList

Hashable InvalidationList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationList

type Rep InvalidationList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationList

type Rep InvalidationList = D1 ('MetaData "InvalidationList" "Amazonka.CloudFront.Types.InvalidationList" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "InvalidationList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InvalidationSummary])) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "isTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newInvalidationList Source #

Create a value of InvalidationList with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:items:InvalidationList', invalidationList_items - A complex type that contains one InvalidationSummary element for each invalidation batch created by the current Amazon Web Services account.

$sel:nextMarker:InvalidationList', invalidationList_nextMarker - If IsTruncated is true, this element is present and contains the value that you can use for the Marker request parameter to continue listing your invalidation batches where they left off.

$sel:marker:InvalidationList', invalidationList_marker - The value that you provided for the Marker request parameter.

$sel:maxItems:InvalidationList', invalidationList_maxItems - The value that you provided for the MaxItems request parameter.

$sel:isTruncated:InvalidationList', invalidationList_isTruncated - A flag that indicates whether more invalidation batch requests remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more invalidation batches in the list.

$sel:quantity:InvalidationList', invalidationList_quantity - The number of invalidation batches that were created by the current Amazon Web Services account.

invalidationList_items :: Lens' InvalidationList (Maybe [InvalidationSummary]) Source #

A complex type that contains one InvalidationSummary element for each invalidation batch created by the current Amazon Web Services 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 Amazon Web Services account.

InvalidationSummary

data InvalidationSummary Source #

A summary of an invalidation request.

See: newInvalidationSummary smart constructor.

Constructors

InvalidationSummary' 

Fields

  • id :: Text

    The unique ID for an invalidation request.

  • createTime :: ISO8601

    The time that an invalidation request was created.

  • status :: Text

    The status of an invalidation request.

Instances

Instances details
FromXML InvalidationSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationSummary

Generic InvalidationSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationSummary

Associated Types

type Rep InvalidationSummary :: Type -> Type #

Read InvalidationSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationSummary

Show InvalidationSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationSummary

NFData InvalidationSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationSummary

Methods

rnf :: InvalidationSummary -> () #

Eq InvalidationSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationSummary

Hashable InvalidationSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationSummary

type Rep InvalidationSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationSummary

type Rep InvalidationSummary = D1 ('MetaData "InvalidationSummary" "Amazonka.CloudFront.Types.InvalidationSummary" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "InvalidationSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newInvalidationSummary Source #

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.

Constructors

KGKeyPairIds' 

Fields

Instances

Instances details
FromXML KGKeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KGKeyPairIds

Generic KGKeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KGKeyPairIds

Associated Types

type Rep KGKeyPairIds :: Type -> Type #

Read KGKeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KGKeyPairIds

Show KGKeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KGKeyPairIds

NFData KGKeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KGKeyPairIds

Methods

rnf :: KGKeyPairIds -> () #

Eq KGKeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KGKeyPairIds

Hashable KGKeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KGKeyPairIds

type Rep KGKeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KGKeyPairIds

type Rep KGKeyPairIds = D1 ('MetaData "KGKeyPairIds" "Amazonka.CloudFront.Types.KGKeyPairIds" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "KGKeyPairIds'" 'PrefixI 'True) (S1 ('MetaSel ('Just "keyGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "keyPairIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KeyPairIds))))

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:keyGroupId:KGKeyPairIds', kGKeyPairIds_keyGroupId - The identifier of the key group that contains the public keys.

$sel:keyPairIds:KGKeyPairIds', kGKeyPairIds_keyPairIds - Undocumented member.

kGKeyPairIds_keyGroupId :: Lens' KGKeyPairIds (Maybe Text) Source #

The identifier of the key group that contains the public keys.

KeyGroup

data KeyGroup Source #

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.

Constructors

KeyGroup' 

Fields

Instances

Instances details
FromXML KeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroup

Generic KeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroup

Associated Types

type Rep KeyGroup :: Type -> Type #

Methods

from :: KeyGroup -> Rep KeyGroup x #

to :: Rep KeyGroup x -> KeyGroup #

Read KeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroup

Show KeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroup

NFData KeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroup

Methods

rnf :: KeyGroup -> () #

Eq KeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroup

Hashable KeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroup

Methods

hashWithSalt :: Int -> KeyGroup -> Int #

hash :: KeyGroup -> Int #

type Rep KeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroup

type Rep KeyGroup = D1 ('MetaData "KeyGroup" "Amazonka.CloudFront.Types.KeyGroup" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" '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))))

newKeyGroup Source #

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_id :: Lens' KeyGroup Text Source #

The identifier for the key group.

keyGroup_lastModifiedTime :: Lens' KeyGroup UTCTime Source #

The date and time when the key group was last modified.

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.

Constructors

KeyGroupConfig' 

Fields

  • comment :: Maybe Text

    A comment to describe the key group. The comment cannot be longer than 128 characters.

  • name :: Text

    A name to identify the key group.

  • items :: [Text]

    A list of the identifiers of the public keys in the key group.

Instances

Instances details
FromXML KeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupConfig

ToXML KeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupConfig

Methods

toXML :: KeyGroupConfig -> XML #

Generic KeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupConfig

Associated Types

type Rep KeyGroupConfig :: Type -> Type #

Read KeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupConfig

Show KeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupConfig

NFData KeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupConfig

Methods

rnf :: KeyGroupConfig -> () #

Eq KeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupConfig

Hashable KeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupConfig

type Rep KeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupConfig

type Rep KeyGroupConfig = D1 ('MetaData "KeyGroupConfig" "Amazonka.CloudFront.Types.KeyGroupConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "KeyGroupConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

newKeyGroupConfig Source #

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.

Constructors

KeyGroupList' 

Fields

  • items :: Maybe [KeyGroupSummary]

    A list of key groups.

  • nextMarker :: Maybe Text

    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.

  • maxItems :: Int

    The maximum number of key groups requested.

  • quantity :: Int

    The number of key groups returned in the response.

Instances

Instances details
FromXML KeyGroupList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupList

Generic KeyGroupList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupList

Associated Types

type Rep KeyGroupList :: Type -> Type #

Read KeyGroupList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupList

Show KeyGroupList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupList

NFData KeyGroupList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupList

Methods

rnf :: KeyGroupList -> () #

Eq KeyGroupList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupList

Hashable KeyGroupList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupList

type Rep KeyGroupList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupList

type Rep KeyGroupList = D1 ('MetaData "KeyGroupList" "Amazonka.CloudFront.Types.KeyGroupList" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "KeyGroupList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [KeyGroupSummary])) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newKeyGroupList Source #

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_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.

Constructors

KeyGroupSummary' 

Fields

Instances

Instances details
FromXML KeyGroupSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupSummary

Generic KeyGroupSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupSummary

Associated Types

type Rep KeyGroupSummary :: Type -> Type #

Read KeyGroupSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupSummary

Show KeyGroupSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupSummary

NFData KeyGroupSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupSummary

Methods

rnf :: KeyGroupSummary -> () #

Eq KeyGroupSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupSummary

Hashable KeyGroupSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupSummary

type Rep KeyGroupSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupSummary

type Rep KeyGroupSummary = D1 ('MetaData "KeyGroupSummary" "Amazonka.CloudFront.Types.KeyGroupSummary" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "KeyGroupSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "keyGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 KeyGroup)))

newKeyGroupSummary Source #

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.

KeyPairIds

data KeyPairIds Source #

A list of CloudFront key pair identifiers.

See: newKeyPairIds smart constructor.

Constructors

KeyPairIds' 

Fields

  • items :: Maybe [Text]

    A list of CloudFront key pair identifiers.

  • quantity :: Int

    The number of key pair identifiers in the list.

Instances

Instances details
FromXML KeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyPairIds

Generic KeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyPairIds

Associated Types

type Rep KeyPairIds :: Type -> Type #

Read KeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyPairIds

Show KeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyPairIds

NFData KeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyPairIds

Methods

rnf :: KeyPairIds -> () #

Eq KeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyPairIds

Hashable KeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyPairIds

type Rep KeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyPairIds

type Rep KeyPairIds = D1 ('MetaData "KeyPairIds" "Amazonka.CloudFront.Types.KeyPairIds" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "KeyPairIds'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newKeyPairIds Source #

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.

Constructors

KinesisStreamConfig' 

Fields

  • roleARN :: Text

    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.

  • streamARN :: Text

    The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.

Instances

Instances details
FromXML KinesisStreamConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KinesisStreamConfig

ToXML KinesisStreamConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KinesisStreamConfig

Generic KinesisStreamConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KinesisStreamConfig

Associated Types

type Rep KinesisStreamConfig :: Type -> Type #

Read KinesisStreamConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KinesisStreamConfig

Show KinesisStreamConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KinesisStreamConfig

NFData KinesisStreamConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KinesisStreamConfig

Methods

rnf :: KinesisStreamConfig -> () #

Eq KinesisStreamConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KinesisStreamConfig

Hashable KinesisStreamConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KinesisStreamConfig

type Rep KinesisStreamConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KinesisStreamConfig

type Rep KinesisStreamConfig = D1 ('MetaData "KinesisStreamConfig" "Amazonka.CloudFront.Types.KinesisStreamConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "KinesisStreamConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roleARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "streamARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newKinesisStreamConfig Source #

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.

Constructors

LambdaFunctionAssociation' 

Fields

  • includeBody :: Maybe Bool

    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.

  • lambdaFunctionARN :: Text

    The ARN of the Lambda@Edge function. You must specify the ARN of a function version; you can't specify an alias or $LATEST.

  • eventType :: 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.

Instances

Instances details
FromXML LambdaFunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociation

ToXML LambdaFunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociation

Generic LambdaFunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociation

Associated Types

type Rep LambdaFunctionAssociation :: Type -> Type #

Read LambdaFunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociation

Show LambdaFunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociation

NFData LambdaFunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociation

Eq LambdaFunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociation

Hashable LambdaFunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociation

type Rep LambdaFunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociation

type Rep LambdaFunctionAssociation = D1 ('MetaData "LambdaFunctionAssociation" "Amazonka.CloudFront.Types.LambdaFunctionAssociation" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "LambdaFunctionAssociation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "includeBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "lambdaFunctionARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "eventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EventType))))

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.

Constructors

LambdaFunctionAssociations' 

Fields

  • items :: Maybe [LambdaFunctionAssociation]

    Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.

  • quantity :: Int

    The number of Lambda@Edge function associations for this cache behavior.

Instances

Instances details
FromXML LambdaFunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociations

ToXML LambdaFunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociations

Generic LambdaFunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociations

Associated Types

type Rep LambdaFunctionAssociations :: Type -> Type #

Read LambdaFunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociations

Show LambdaFunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociations

NFData LambdaFunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociations

Eq LambdaFunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociations

Hashable LambdaFunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociations

type Rep LambdaFunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociations

type Rep LambdaFunctionAssociations = D1 ('MetaData "LambdaFunctionAssociations" "Amazonka.CloudFront.Types.LambdaFunctionAssociations" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "LambdaFunctionAssociations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LambdaFunctionAssociation])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.

Constructors

LoggingConfig' 

Fields

  • enabled :: Bool

    Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't want to enable logging when you create a 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.

  • includeCookies :: Bool

    Specifies whether you want CloudFront to include cookies in access logs, specify true for IncludeCookies. If you choose to include cookies in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for this distribution. If you don't want to include cookies when you create a distribution or if you want to disable include cookies for an existing distribution, specify false for IncludeCookies.

  • bucket :: Text

    The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

  • prefix :: Text

    An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix element in the Logging element.

Instances

Instances details
FromXML LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LoggingConfig

ToXML LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LoggingConfig

Methods

toXML :: LoggingConfig -> XML #

Generic LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LoggingConfig

Associated Types

type Rep LoggingConfig :: Type -> Type #

Read LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LoggingConfig

Show LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LoggingConfig

NFData LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LoggingConfig

Methods

rnf :: LoggingConfig -> () #

Eq LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LoggingConfig

Hashable LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LoggingConfig

type Rep LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LoggingConfig

type Rep LoggingConfig = D1 ('MetaData "LoggingConfig" "Amazonka.CloudFront.Types.LoggingConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "LoggingConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "includeCookies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newLoggingConfig Source #

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.

Constructors

MonitoringSubscription' 

Fields

Instances

Instances details
FromXML MonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MonitoringSubscription

ToXML MonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MonitoringSubscription

Generic MonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MonitoringSubscription

Associated Types

type Rep MonitoringSubscription :: Type -> Type #

Read MonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MonitoringSubscription

Show MonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MonitoringSubscription

NFData MonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MonitoringSubscription

Methods

rnf :: MonitoringSubscription -> () #

Eq MonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MonitoringSubscription

Hashable MonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MonitoringSubscription

type Rep MonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MonitoringSubscription

type Rep MonitoringSubscription = D1 ('MetaData "MonitoringSubscription" "Amazonka.CloudFront.Types.MonitoringSubscription" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "MonitoringSubscription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "realtimeMetricsSubscriptionConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RealtimeMetricsSubscriptionConfig))))

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.

Origin

data Origin Source #

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.

Constructors

Origin' 

Fields

  • connectionAttempts :: Maybe Int

    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.

  • connectionTimeout :: Maybe Int

    The number of seconds that CloudFront waits when trying to establish a connection to the origin. The minimum timeout is 1 second, the maximum is 10 seconds, and the default (if you don't specify otherwise) is 10 seconds.

    For more information, see Origin Connection Timeout in the Amazon CloudFront Developer Guide.

  • customHeaders :: Maybe 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.

  • customOriginConfig :: Maybe 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.

  • originAccessControlId :: Maybe Text

    The unique identifier of an origin access control for this origin.

    For more information, see Restricting access to an Amazon S3 origin in the Amazon CloudFront Developer Guide.

  • originPath :: Maybe Text

    An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.

    For more information, see Origin Path in the Amazon CloudFront Developer Guide.

  • originShield :: Maybe 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.

  • s3OriginConfig :: Maybe 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.

  • id :: Text

    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.

  • domainName :: Text

    The domain name for the origin.

    For more information, see Origin Domain Name in the Amazon CloudFront Developer Guide.

Instances

Instances details
FromXML Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origin

ToXML Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origin

Methods

toXML :: Origin -> XML #

Generic Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origin

Associated Types

type Rep Origin :: Type -> Type #

Methods

from :: Origin -> Rep Origin x #

to :: Rep Origin x -> Origin #

Show Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origin

NFData Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origin

Methods

rnf :: Origin -> () #

Eq Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origin

Methods

(==) :: Origin -> Origin -> Bool #

(/=) :: Origin -> Origin -> Bool #

Hashable Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origin

Methods

hashWithSalt :: Int -> Origin -> Int #

hash :: Origin -> Int #

type Rep Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origin

newOrigin Source #

Create a value of Origin with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:connectionAttempts:Origin', origin_connectionAttempts - The number of times that CloudFront attempts to connect to the origin. The minimum number is 1, the maximum is 3, and the default (if you don't specify otherwise) is 3.

For a custom origin (including an Amazon S3 bucket that's configured with static website hosting), this value also specifies the number of times that CloudFront attempts to get a response from the origin, in the case of an Origin Response Timeout.

For more information, see Origin Connection Attempts in the Amazon CloudFront Developer Guide.

$sel:connectionTimeout:Origin', origin_connectionTimeout - The number of seconds that CloudFront waits when trying to establish a connection to the origin. The minimum timeout is 1 second, the maximum is 10 seconds, and the default (if you don't specify otherwise) is 10 seconds.

For more information, see Origin Connection Timeout in the Amazon CloudFront Developer Guide.

$sel:customHeaders:Origin', origin_customHeaders - A list of HTTP header names and values that CloudFront adds to the requests that it sends to the origin.

For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.

$sel:customOriginConfig:Origin', origin_customOriginConfig - Use this type to specify an origin that is not an Amazon S3 bucket, with one exception. If the Amazon S3 bucket is configured with static website hosting, use this type. If the Amazon S3 bucket is not configured with static website hosting, use the S3OriginConfig type instead.

$sel:originAccessControlId:Origin', origin_originAccessControlId - The unique identifier of an origin access control for this origin.

For more information, see Restricting access to an Amazon S3 origin in the Amazon CloudFront Developer Guide.

$sel:originPath:Origin', origin_originPath - An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.

For more information, see Origin Path in the Amazon CloudFront Developer Guide.

$sel:originShield:Origin', origin_originShield - CloudFront Origin Shield. Using Origin Shield can help reduce the load on your origin.

For more information, see Using Origin Shield in the Amazon CloudFront Developer Guide.

$sel:s3OriginConfig:Origin', origin_s3OriginConfig - Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting. To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the CustomOriginConfig type instead.

$sel:id:Origin', origin_id - A unique identifier for the origin. This value must be unique within the distribution.

Use this value to specify the TargetOriginId in a CacheBehavior or DefaultCacheBehavior.

$sel:domainName:Origin', origin_domainName - The domain name for the origin.

For more information, see Origin Domain Name in the Amazon CloudFront Developer Guide.

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_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_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_originAccessControlId :: Lens' Origin (Maybe Text) Source #

The unique identifier of an origin access control for this origin.

For more information, see Restricting access to an Amazon S3 origin in the Amazon CloudFront Developer Guide.

origin_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_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_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.

OriginAccessControl

data OriginAccessControl Source #

A CloudFront origin access control, including its unique identifier.

See: newOriginAccessControl smart constructor.

Constructors

OriginAccessControl' 

Fields

Instances

Instances details
FromXML OriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControl

Generic OriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControl

Associated Types

type Rep OriginAccessControl :: Type -> Type #

Read OriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControl

Show OriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControl

NFData OriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControl

Methods

rnf :: OriginAccessControl -> () #

Eq OriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControl

Hashable OriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControl

type Rep OriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControl

type Rep OriginAccessControl = D1 ('MetaData "OriginAccessControl" "Amazonka.CloudFront.Types.OriginAccessControl" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginAccessControl'" 'PrefixI 'True) (S1 ('MetaSel ('Just "originAccessControlConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OriginAccessControlConfig)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newOriginAccessControl Source #

Create a value of OriginAccessControl with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:originAccessControlConfig:OriginAccessControl', originAccessControl_originAccessControlConfig - The origin access control.

$sel:id:OriginAccessControl', originAccessControl_id - The unique identifier of the origin access control.

originAccessControl_id :: Lens' OriginAccessControl Text Source #

The unique identifier of the origin access control.

OriginAccessControlConfig

data OriginAccessControlConfig Source #

A CloudFront origin access control configuration.

See: newOriginAccessControlConfig smart constructor.

Constructors

OriginAccessControlConfig' 

Fields

  • description :: Maybe Text

    A description of the origin access control.

  • name :: Text

    A name to identify the origin access control.

  • signingProtocol :: OriginAccessControlSigningProtocols

    The signing protocol of the origin access control, which determines how CloudFront signs (authenticates) requests. The only valid value is sigv4.

  • signingBehavior :: OriginAccessControlSigningBehaviors

    Specifies which requests CloudFront signs (adds authentication information to). Specify always for the most common use case. For more information, see origin access control advanced settings in the Amazon CloudFront Developer Guide.

    This field can have one of the following values:

    • always – CloudFront signs all origin requests, overwriting the Authorization header from the viewer request if one exists.
    • never – CloudFront doesn't sign any origin requests. This value turns off origin access control for all origins in all distributions that use this origin access control.
    • no-override – If the viewer request doesn't contain the Authorization header, then CloudFront signs the origin request. If the viewer request contains the Authorization header, then CloudFront doesn't sign the origin request and instead passes along the Authorization header from the viewer request. __WARNING: To pass along the Authorization header from the viewer request, you must add the Authorization header to a cache policy for all cache behaviors that use origins associated with this origin access control.__
  • originAccessControlOriginType :: OriginAccessControlOriginTypes

    The type of origin that this origin access control is for. The only valid value is s3.

Instances

Instances details
FromXML OriginAccessControlConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlConfig

ToXML OriginAccessControlConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlConfig

Generic OriginAccessControlConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlConfig

Associated Types

type Rep OriginAccessControlConfig :: Type -> Type #

Read OriginAccessControlConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlConfig

Show OriginAccessControlConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlConfig

NFData OriginAccessControlConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlConfig

Eq OriginAccessControlConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlConfig

Hashable OriginAccessControlConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlConfig

type Rep OriginAccessControlConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlConfig

type Rep OriginAccessControlConfig = D1 ('MetaData "OriginAccessControlConfig" "Amazonka.CloudFront.Types.OriginAccessControlConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginAccessControlConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "signingProtocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginAccessControlSigningProtocols) :*: (S1 ('MetaSel ('Just "signingBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginAccessControlSigningBehaviors) :*: S1 ('MetaSel ('Just "originAccessControlOriginType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginAccessControlOriginTypes)))))

newOriginAccessControlConfig Source #

Create a value of OriginAccessControlConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:description:OriginAccessControlConfig', originAccessControlConfig_description - A description of the origin access control.

$sel:name:OriginAccessControlConfig', originAccessControlConfig_name - A name to identify the origin access control.

$sel:signingProtocol:OriginAccessControlConfig', originAccessControlConfig_signingProtocol - The signing protocol of the origin access control, which determines how CloudFront signs (authenticates) requests. The only valid value is sigv4.

$sel:signingBehavior:OriginAccessControlConfig', originAccessControlConfig_signingBehavior - Specifies which requests CloudFront signs (adds authentication information to). Specify always for the most common use case. For more information, see origin access control advanced settings in the Amazon CloudFront Developer Guide.

This field can have one of the following values:

  • always – CloudFront signs all origin requests, overwriting the Authorization header from the viewer request if one exists.
  • never – CloudFront doesn't sign any origin requests. This value turns off origin access control for all origins in all distributions that use this origin access control.
  • no-override – If the viewer request doesn't contain the Authorization header, then CloudFront signs the origin request. If the viewer request contains the Authorization header, then CloudFront doesn't sign the origin request and instead passes along the Authorization header from the viewer request. __WARNING: To pass along the Authorization header from the viewer request, you must add the Authorization header to a cache policy for all cache behaviors that use origins associated with this origin access control.__

$sel:originAccessControlOriginType:OriginAccessControlConfig', originAccessControlConfig_originAccessControlOriginType - The type of origin that this origin access control is for. The only valid value is s3.

originAccessControlConfig_name :: Lens' OriginAccessControlConfig Text Source #

A name to identify the origin access control.

originAccessControlConfig_signingProtocol :: Lens' OriginAccessControlConfig OriginAccessControlSigningProtocols Source #

The signing protocol of the origin access control, which determines how CloudFront signs (authenticates) requests. The only valid value is sigv4.

originAccessControlConfig_signingBehavior :: Lens' OriginAccessControlConfig OriginAccessControlSigningBehaviors Source #

Specifies which requests CloudFront signs (adds authentication information to). Specify always for the most common use case. For more information, see origin access control advanced settings in the Amazon CloudFront Developer Guide.

This field can have one of the following values:

  • always – CloudFront signs all origin requests, overwriting the Authorization header from the viewer request if one exists.
  • never – CloudFront doesn't sign any origin requests. This value turns off origin access control for all origins in all distributions that use this origin access control.
  • no-override – If the viewer request doesn't contain the Authorization header, then CloudFront signs the origin request. If the viewer request contains the Authorization header, then CloudFront doesn't sign the origin request and instead passes along the Authorization header from the viewer request. __WARNING: To pass along the Authorization header from the viewer request, you must add the Authorization header to a cache policy for all cache behaviors that use origins associated with this origin access control.__

originAccessControlConfig_originAccessControlOriginType :: Lens' OriginAccessControlConfig OriginAccessControlOriginTypes Source #

The type of origin that this origin access control is for. The only valid value is s3.

OriginAccessControlList

data OriginAccessControlList Source #

A list of CloudFront origin access controls.

See: newOriginAccessControlList smart constructor.

Constructors

OriginAccessControlList' 

Fields

  • items :: Maybe [OriginAccessControlSummary]

    Contains the origin access controls in the list.

  • nextMarker :: Maybe Text

    If there are more items in the list than are in this response, this element is present. It contains the value to use in the Marker field of another request to continue listing origin access controls.

  • marker :: Text

    The value of the Marker field that was provided in the request.

  • maxItems :: Int

    The maximum number of origin access controls requested.

  • isTruncated :: Bool

    If there are more items in the list than are in this response, this value is true.

  • quantity :: Int

    The number of origin access controls returned in the response.

Instances

Instances details
FromXML OriginAccessControlList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlList

Generic OriginAccessControlList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlList

Associated Types

type Rep OriginAccessControlList :: Type -> Type #

Read OriginAccessControlList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlList

Show OriginAccessControlList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlList

NFData OriginAccessControlList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlList

Methods

rnf :: OriginAccessControlList -> () #

Eq OriginAccessControlList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlList

Hashable OriginAccessControlList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlList

type Rep OriginAccessControlList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlList

type Rep OriginAccessControlList = D1 ('MetaData "OriginAccessControlList" "Amazonka.CloudFront.Types.OriginAccessControlList" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginAccessControlList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OriginAccessControlSummary])) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "isTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newOriginAccessControlList Source #

Create a value of OriginAccessControlList with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:items:OriginAccessControlList', originAccessControlList_items - Contains the origin access controls in the list.

$sel:nextMarker:OriginAccessControlList', originAccessControlList_nextMarker - If there are more items in the list than are in this response, this element is present. It contains the value to use in the Marker field of another request to continue listing origin access controls.

$sel:marker:OriginAccessControlList', originAccessControlList_marker - The value of the Marker field that was provided in the request.

$sel:maxItems:OriginAccessControlList', originAccessControlList_maxItems - The maximum number of origin access controls requested.

$sel:isTruncated:OriginAccessControlList', originAccessControlList_isTruncated - If there are more items in the list than are in this response, this value is true.

$sel:quantity:OriginAccessControlList', originAccessControlList_quantity - The number of origin access controls returned in the response.

originAccessControlList_nextMarker :: Lens' OriginAccessControlList (Maybe Text) Source #

If there are more items in the list than are in this response, this element is present. It contains the value to use in the Marker field of another request to continue listing origin access controls.

originAccessControlList_marker :: Lens' OriginAccessControlList Text Source #

The value of the Marker field that was provided in the request.

originAccessControlList_maxItems :: Lens' OriginAccessControlList Int Source #

The maximum number of origin access controls requested.

originAccessControlList_isTruncated :: Lens' OriginAccessControlList Bool Source #

If there are more items in the list than are in this response, this value is true.

originAccessControlList_quantity :: Lens' OriginAccessControlList Int Source #

The number of origin access controls returned in the response.

OriginAccessControlSummary

data OriginAccessControlSummary Source #

A CloudFront origin access control.

See: newOriginAccessControlSummary smart constructor.

Constructors

OriginAccessControlSummary' 

Fields

  • id :: Text

    The unique identifier of the origin access control.

  • description :: Text

    A description of the origin access control.

  • name :: Text

    A unique name that identifies the origin access control.

  • signingProtocol :: OriginAccessControlSigningProtocols

    The signing protocol of the origin access control. The signing protocol determines how CloudFront signs (authenticates) requests. The only valid value is sigv4.

  • signingBehavior :: OriginAccessControlSigningBehaviors

    A value that specifies which requests CloudFront signs (adds authentication information to). This field can have one of the following values:

    • never – CloudFront doesn't sign any origin requests.
    • always – CloudFront signs all origin requests, overwriting the Authorization header from the viewer request if necessary.
    • no-override – If the viewer request doesn't contain the Authorization header, CloudFront signs the origin request. If the viewer request contains the Authorization header, CloudFront doesn't sign the origin request, but instead passes along the Authorization header that it received in the viewer request.
  • originAccessControlOriginType :: OriginAccessControlOriginTypes

    The type of origin that this origin access control is for. The only valid value is s3.

Instances

Instances details
FromXML OriginAccessControlSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSummary

Generic OriginAccessControlSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSummary

Associated Types

type Rep OriginAccessControlSummary :: Type -> Type #

Read OriginAccessControlSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSummary

Show OriginAccessControlSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSummary

NFData OriginAccessControlSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSummary

Eq OriginAccessControlSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSummary

Hashable OriginAccessControlSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSummary

type Rep OriginAccessControlSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginAccessControlSummary

type Rep OriginAccessControlSummary = D1 ('MetaData "OriginAccessControlSummary" "Amazonka.CloudFront.Types.OriginAccessControlSummary" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginAccessControlSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "signingProtocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginAccessControlSigningProtocols) :*: (S1 ('MetaSel ('Just "signingBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginAccessControlSigningBehaviors) :*: S1 ('MetaSel ('Just "originAccessControlOriginType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginAccessControlOriginTypes)))))

newOriginAccessControlSummary Source #

Create a value of OriginAccessControlSummary with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:id:OriginAccessControlSummary', originAccessControlSummary_id - The unique identifier of the origin access control.

$sel:description:OriginAccessControlSummary', originAccessControlSummary_description - A description of the origin access control.

$sel:name:OriginAccessControlSummary', originAccessControlSummary_name - A unique name that identifies the origin access control.

$sel:signingProtocol:OriginAccessControlSummary', originAccessControlSummary_signingProtocol - The signing protocol of the origin access control. The signing protocol determines how CloudFront signs (authenticates) requests. The only valid value is sigv4.

$sel:signingBehavior:OriginAccessControlSummary', originAccessControlSummary_signingBehavior - A value that specifies which requests CloudFront signs (adds authentication information to). This field can have one of the following values:

  • never – CloudFront doesn't sign any origin requests.
  • always – CloudFront signs all origin requests, overwriting the Authorization header from the viewer request if necessary.
  • no-override – If the viewer request doesn't contain the Authorization header, CloudFront signs the origin request. If the viewer request contains the Authorization header, CloudFront doesn't sign the origin request, but instead passes along the Authorization header that it received in the viewer request.

$sel:originAccessControlOriginType:OriginAccessControlSummary', originAccessControlSummary_originAccessControlOriginType - The type of origin that this origin access control is for. The only valid value is s3.

originAccessControlSummary_id :: Lens' OriginAccessControlSummary Text Source #

The unique identifier of the origin access control.

originAccessControlSummary_name :: Lens' OriginAccessControlSummary Text Source #

A unique name that identifies the origin access control.

originAccessControlSummary_signingProtocol :: Lens' OriginAccessControlSummary OriginAccessControlSigningProtocols Source #

The signing protocol of the origin access control. The signing protocol determines how CloudFront signs (authenticates) requests. The only valid value is sigv4.

originAccessControlSummary_signingBehavior :: Lens' OriginAccessControlSummary OriginAccessControlSigningBehaviors Source #

A value that specifies which requests CloudFront signs (adds authentication information to). This field can have one of the following values:

  • never – CloudFront doesn't sign any origin requests.
  • always – CloudFront signs all origin requests, overwriting the Authorization header from the viewer request if necessary.
  • no-override – If the viewer request doesn't contain the Authorization header, CloudFront signs the origin request. If the viewer request contains the Authorization header, CloudFront doesn't sign the origin request, but instead passes along the Authorization header that it received in the viewer request.

originAccessControlSummary_originAccessControlOriginType :: Lens' OriginAccessControlSummary OriginAccessControlOriginTypes Source #

The type of origin that this origin access control is for. The only valid value is s3.

OriginCustomHeader

data OriginCustomHeader Source #

A complex type that contains HeaderName and HeaderValue elements, if any, for this distribution.

See: newOriginCustomHeader smart constructor.

Constructors

OriginCustomHeader' 

Fields

Instances

Instances details
FromXML OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

ToXML OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

Generic OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

Associated Types

type Rep OriginCustomHeader :: Type -> Type #

Show OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

NFData OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

Methods

rnf :: OriginCustomHeader -> () #

Eq OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

Hashable OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

type Rep OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

type Rep OriginCustomHeader = D1 ('MetaData "OriginCustomHeader" "Amazonka.CloudFront.Types.OriginCustomHeader" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginCustomHeader'" 'PrefixI 'True) (S1 ('MetaSel ('Just "headerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "headerValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))))

newOriginCustomHeader Source #

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.

Constructors

OriginGroup' 

Fields

Instances

Instances details
FromXML OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

ToXML OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

Methods

toXML :: OriginGroup -> XML #

Generic OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

Associated Types

type Rep OriginGroup :: Type -> Type #

Read OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

Show OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

NFData OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

Methods

rnf :: OriginGroup -> () #

Eq OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

Hashable OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

type Rep OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

type Rep OriginGroup = D1 ('MetaData "OriginGroup" "Amazonka.CloudFront.Types.OriginGroup" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "failoverCriteria") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginGroupFailoverCriteria) :*: S1 ('MetaSel ('Just "members") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginGroupMembers))))

newOriginGroup Source #

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.

Constructors

OriginGroupFailoverCriteria' 

Fields

  • statusCodes :: StatusCodes

    The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin.

Instances

Instances details
FromXML OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

ToXML OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

Generic OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

Associated Types

type Rep OriginGroupFailoverCriteria :: Type -> Type #

Read OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

Show OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

NFData OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

Eq OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

Hashable OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

type Rep OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

type Rep OriginGroupFailoverCriteria = D1 ('MetaData "OriginGroupFailoverCriteria" "Amazonka.CloudFront.Types.OriginGroupFailoverCriteria" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginGroupFailoverCriteria'" 'PrefixI 'True) (S1 ('MetaSel ('Just "statusCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StatusCodes)))

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.

Constructors

OriginGroupMember' 

Fields

Instances

Instances details
FromXML OriginGroupMember Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMember

ToXML OriginGroupMember Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMember

Generic OriginGroupMember Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMember

Associated Types

type Rep OriginGroupMember :: Type -> Type #

Read OriginGroupMember Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMember

Show OriginGroupMember Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMember

NFData OriginGroupMember Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMember

Methods

rnf :: OriginGroupMember -> () #

Eq OriginGroupMember Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMember

Hashable OriginGroupMember Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMember

type Rep OriginGroupMember Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMember

type Rep OriginGroupMember = D1 ('MetaData "OriginGroupMember" "Amazonka.CloudFront.Types.OriginGroupMember" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginGroupMember'" 'PrefixI 'True) (S1 ('MetaSel ('Just "originId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newOriginGroupMember Source #

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.

Constructors

OriginGroupMembers' 

Fields

Instances

Instances details
FromXML OriginGroupMembers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMembers

ToXML OriginGroupMembers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMembers

Generic OriginGroupMembers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMembers

Associated Types

type Rep OriginGroupMembers :: Type -> Type #

Read OriginGroupMembers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMembers

Show OriginGroupMembers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMembers

NFData OriginGroupMembers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMembers

Methods

rnf :: OriginGroupMembers -> () #

Eq OriginGroupMembers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMembers

Hashable OriginGroupMembers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMembers

type Rep OriginGroupMembers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMembers

type Rep OriginGroupMembers = D1 ('MetaData "OriginGroupMembers" "Amazonka.CloudFront.Types.OriginGroupMembers" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginGroupMembers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty OriginGroupMember))))

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.

OriginGroups

data OriginGroups Source #

A complex data type for the origin groups specified for a distribution.

See: newOriginGroups smart constructor.

Constructors

OriginGroups' 

Fields

Instances

Instances details
FromXML OriginGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroups

ToXML OriginGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroups

Methods

toXML :: OriginGroups -> XML #

Generic OriginGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroups

Associated Types

type Rep OriginGroups :: Type -> Type #

Read OriginGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroups

Show OriginGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroups

NFData OriginGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroups

Methods

rnf :: OriginGroups -> () #

Eq OriginGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroups

Hashable OriginGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroups

type Rep OriginGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroups

type Rep OriginGroups = D1 ('MetaData "OriginGroups" "Amazonka.CloudFront.Types.OriginGroups" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OriginGroup])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newOriginGroups Source #

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, and X-Amz-Cf-Id.
  • All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request policy. These can include items from the viewer request and, in the case of headers, additional ones that are added by CloudFront.

CloudFront sends a request when it can't find an object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use CachePolicy.

See: newOriginRequestPolicy smart constructor.

Constructors

OriginRequestPolicy' 

Fields

Instances

Instances details
FromXML OriginRequestPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicy

Generic OriginRequestPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicy

Associated Types

type Rep OriginRequestPolicy :: Type -> Type #

Read OriginRequestPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicy

Show OriginRequestPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicy

NFData OriginRequestPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicy

Methods

rnf :: OriginRequestPolicy -> () #

Eq OriginRequestPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicy

Hashable OriginRequestPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicy

type Rep OriginRequestPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicy

type Rep OriginRequestPolicy = D1 ('MetaData "OriginRequestPolicy" "Amazonka.CloudFront.Types.OriginRequestPolicy" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginRequestPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "originRequestPolicyConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginRequestPolicyConfig))))

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.

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, and X-Amz-Cf-Id.
  • All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request policy. These can include items from the viewer request and, in the case of headers, additional ones that are added by CloudFront.

CloudFront sends a request when it can't find an object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use CachePolicy.

See: newOriginRequestPolicyConfig smart constructor.

Constructors

OriginRequestPolicyConfig' 

Fields

Instances

Instances details
FromXML OriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyConfig

ToXML OriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyConfig

Generic OriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyConfig

Associated Types

type Rep OriginRequestPolicyConfig :: Type -> Type #

Read OriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyConfig

Show OriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyConfig

NFData OriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyConfig

Eq OriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyConfig

Hashable OriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyConfig

type Rep OriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyConfig

type Rep OriginRequestPolicyConfig = D1 ('MetaData "OriginRequestPolicyConfig" "Amazonka.CloudFront.Types.OriginRequestPolicyConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginRequestPolicyConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "headersConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginRequestPolicyHeadersConfig) :*: (S1 ('MetaSel ('Just "cookiesConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginRequestPolicyCookiesConfig) :*: S1 ('MetaSel ('Just "queryStringsConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginRequestPolicyQueryStringsConfig)))))

newOriginRequestPolicyConfig Source #

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_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.

Constructors

OriginRequestPolicyCookiesConfig' 

Fields

  • cookies :: Maybe CookieNames
     
  • cookieBehavior :: OriginRequestPolicyCookieBehavior

    Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:

    • none – Cookies in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any cookies that are listed in a CachePolicy are included in origin requests.
    • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in requests that CloudFront sends to the origin.
    • all – All cookies in viewer requests are included in requests that CloudFront sends to the origin.

Instances

Instances details
FromXML OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

ToXML OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

Generic OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

Associated Types

type Rep OriginRequestPolicyCookiesConfig :: Type -> Type #

Read OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

Show OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

NFData OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

Eq OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

Hashable OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

type Rep OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

type Rep OriginRequestPolicyCookiesConfig = D1 ('MetaData "OriginRequestPolicyCookiesConfig" "Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginRequestPolicyCookiesConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cookies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CookieNames)) :*: S1 ('MetaSel ('Just "cookieBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginRequestPolicyCookieBehavior)))

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 to none, any cookies that are listed in a CachePolicy are included in origin requests.
  • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in requests that CloudFront sends to the origin.
  • all – All cookies in viewer requests are included in requests that CloudFront sends to the origin.

originRequestPolicyCookiesConfig_cookieBehavior :: Lens' OriginRequestPolicyCookiesConfig OriginRequestPolicyCookieBehavior 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 to none, any cookies that are listed in a CachePolicy are included in origin requests.
  • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in requests that CloudFront sends to the origin.
  • all – All cookies in viewer requests are included in requests that CloudFront sends to the origin.

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.

Constructors

OriginRequestPolicyHeadersConfig' 

Fields

  • headers :: Maybe Headers
     
  • headerBehavior :: OriginRequestPolicyHeaderBehavior

    Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are:

    • none – HTTP headers are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in a CachePolicy are included in origin requests.
    • whitelist – The HTTP headers that are listed in the Headers type are included in requests that CloudFront sends to the origin.
    • allViewer – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.
    • allViewerAndWhitelistCloudFront – All HTTP headers in viewer requests and the additional CloudFront headers that are listed in the Headers type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.

Instances

Instances details
FromXML OriginRequestPolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig

ToXML OriginRequestPolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig

Generic OriginRequestPolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig

Associated Types

type Rep OriginRequestPolicyHeadersConfig :: Type -> Type #

Read OriginRequestPolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig

Show OriginRequestPolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig

NFData OriginRequestPolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig

Eq OriginRequestPolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig

Hashable OriginRequestPolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig

type Rep OriginRequestPolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig

type Rep OriginRequestPolicyHeadersConfig = D1 ('MetaData "OriginRequestPolicyHeadersConfig" "Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginRequestPolicyHeadersConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "headers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Headers)) :*: S1 ('MetaSel ('Just "headerBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginRequestPolicyHeaderBehavior)))

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 to none, any headers that are listed in a CachePolicy are included in origin requests.
  • whitelist – The HTTP headers that are listed in the Headers type are included in requests that CloudFront sends to the origin.
  • allViewer – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.
  • allViewerAndWhitelistCloudFront – All HTTP headers in viewer requests and the additional CloudFront headers that are listed in the Headers type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.

originRequestPolicyHeadersConfig_headerBehavior :: Lens' OriginRequestPolicyHeadersConfig OriginRequestPolicyHeaderBehavior 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 to none, any headers that are listed in a CachePolicy are included in origin requests.
  • whitelist – The HTTP headers that are listed in the Headers type are included in requests that CloudFront sends to the origin.
  • allViewer – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.
  • allViewerAndWhitelistCloudFront – All HTTP headers in viewer requests and the additional CloudFront headers that are listed in the Headers type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.

OriginRequestPolicyList

data OriginRequestPolicyList Source #

A list of origin request policies.

See: newOriginRequestPolicyList smart constructor.

Constructors

OriginRequestPolicyList' 

Fields

  • items :: Maybe [OriginRequestPolicySummary]

    Contains the origin request policies in the list.

  • nextMarker :: Maybe Text

    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.

  • maxItems :: Int

    The maximum number of origin request policies requested.

  • quantity :: Int

    The total number of origin request policies returned in the response.

Instances

Instances details
FromXML OriginRequestPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyList

Generic OriginRequestPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyList

Associated Types

type Rep OriginRequestPolicyList :: Type -> Type #

Read OriginRequestPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyList

Show OriginRequestPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyList

NFData OriginRequestPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyList

Methods

rnf :: OriginRequestPolicyList -> () #

Eq OriginRequestPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyList

Hashable OriginRequestPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyList

type Rep OriginRequestPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyList

type Rep OriginRequestPolicyList = D1 ('MetaData "OriginRequestPolicyList" "Amazonka.CloudFront.Types.OriginRequestPolicyList" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginRequestPolicyList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OriginRequestPolicySummary])) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newOriginRequestPolicyList Source #

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_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.

Constructors

OriginRequestPolicyQueryStringsConfig' 

Fields

  • queryStrings :: Maybe QueryStringNames

    Contains a list of the query strings in viewer requests that are included in requests that CloudFront sends to the origin.

  • queryStringBehavior :: OriginRequestPolicyQueryStringBehavior

    Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:

    • none – Query strings in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any query strings that are listed in a CachePolicy are included in origin requests.
    • whitelist – The query strings in viewer requests that are listed in the QueryStringNames type are included in requests that CloudFront sends to the origin.
    • all – All query strings in viewer requests are included in requests that CloudFront sends to the origin.

Instances

Instances details
FromXML OriginRequestPolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig

ToXML OriginRequestPolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig

Generic OriginRequestPolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig

Read OriginRequestPolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig

Show OriginRequestPolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig

NFData OriginRequestPolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig

Eq OriginRequestPolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig

Hashable OriginRequestPolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig

type Rep OriginRequestPolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig

type Rep OriginRequestPolicyQueryStringsConfig = D1 ('MetaData "OriginRequestPolicyQueryStringsConfig" "Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginRequestPolicyQueryStringsConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryStrings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryStringNames)) :*: S1 ('MetaSel ('Just "queryStringBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginRequestPolicyQueryStringBehavior)))

newOriginRequestPolicyQueryStringsConfig Source #

Create a value of OriginRequestPolicyQueryStringsConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queryStrings:OriginRequestPolicyQueryStringsConfig', originRequestPolicyQueryStringsConfig_queryStrings - Contains a list of the query strings in viewer requests that are included in requests that CloudFront sends to the origin.

$sel:queryStringBehavior:OriginRequestPolicyQueryStringsConfig', originRequestPolicyQueryStringsConfig_queryStringBehavior - Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:

  • none – Query strings in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any query strings that are listed in a CachePolicy are included in origin requests.
  • whitelist – The query strings in viewer requests that are listed in the QueryStringNames type are included in requests that CloudFront sends to the origin.
  • all – All query strings in viewer requests are included in requests that CloudFront sends to the origin.

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 to none, any query strings that are listed in a CachePolicy are included in origin requests.
  • whitelist – The query strings in viewer requests that are listed in the QueryStringNames type are included in requests that CloudFront sends to the origin.
  • all – All query strings in viewer requests are included in requests that CloudFront sends to the origin.

OriginRequestPolicySummary

data OriginRequestPolicySummary Source #

Contains an origin request policy.

See: newOriginRequestPolicySummary smart constructor.

Constructors

OriginRequestPolicySummary' 

Fields

Instances

Instances details
FromXML OriginRequestPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicySummary

Generic OriginRequestPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicySummary

Associated Types

type Rep OriginRequestPolicySummary :: Type -> Type #

Read OriginRequestPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicySummary

Show OriginRequestPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicySummary

NFData OriginRequestPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicySummary

Eq OriginRequestPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicySummary

Hashable OriginRequestPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicySummary

type Rep OriginRequestPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicySummary

type Rep OriginRequestPolicySummary = D1 ('MetaData "OriginRequestPolicySummary" "Amazonka.CloudFront.Types.OriginRequestPolicySummary" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginRequestPolicySummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginRequestPolicyType) :*: S1 ('MetaSel ('Just "originRequestPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginRequestPolicy)))

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 Amazon Web Services 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 Amazon Web Services account).

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.

Constructors

OriginShield' 

Fields

  • originShieldRegion :: Maybe Text

    The Amazon Web Services Region for Origin Shield.

    Specify the Amazon Web Services Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as us-east-2.

    When you enable CloudFront Origin Shield, you must specify the Amazon Web Services Region for Origin Shield. For the list of Amazon Web Services Regions that you can specify, and for help choosing the best Region for your origin, see Choosing the Amazon Web Services Region for Origin Shield in the Amazon CloudFront Developer Guide.

  • enabled :: Bool

    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.

Instances

Instances details
FromXML OriginShield Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginShield

ToXML OriginShield Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginShield

Methods

toXML :: OriginShield -> XML #

Generic OriginShield Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginShield

Associated Types

type Rep OriginShield :: Type -> Type #

Read OriginShield Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginShield

Show OriginShield Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginShield

NFData OriginShield Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginShield

Methods

rnf :: OriginShield -> () #

Eq OriginShield Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginShield

Hashable OriginShield Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginShield

type Rep OriginShield Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginShield

type Rep OriginShield = D1 ('MetaData "OriginShield" "Amazonka.CloudFront.Types.OriginShield" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginShield'" 'PrefixI 'True) (S1 ('MetaSel ('Just "originShieldRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newOriginShield Source #

Create a value of OriginShield with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:originShieldRegion:OriginShield', originShield_originShieldRegion - The Amazon Web Services Region for Origin Shield.

Specify the Amazon Web Services Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as us-east-2.

When you enable CloudFront Origin Shield, you must specify the Amazon Web Services Region for Origin Shield. For the list of Amazon Web Services Regions that you can specify, and for help choosing the best Region for your origin, see Choosing the Amazon Web Services Region for Origin Shield in the Amazon CloudFront Developer Guide.

$sel:enabled:OriginShield', originShield_enabled - A flag that specifies whether Origin Shield is enabled.

When it's enabled, CloudFront routes all requests through Origin Shield, which can help protect your origin. When it's disabled, CloudFront might send requests directly to your origin from multiple edge locations or regional edge caches.

originShield_originShieldRegion :: Lens' OriginShield (Maybe Text) Source #

The Amazon Web Services Region for Origin Shield.

Specify the Amazon Web Services Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as us-east-2.

When you enable CloudFront Origin Shield, you must specify the Amazon Web Services Region for Origin Shield. For the list of Amazon Web Services Regions that you can specify, and for help choosing the best Region for your origin, see Choosing the Amazon Web Services Region for Origin Shield in the Amazon CloudFront Developer Guide.

originShield_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.

Constructors

OriginSslProtocols' 

Fields

  • quantity :: Int

    The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.

  • items :: [SslProtocol]

    A list that contains allowed SSL/TLS protocols for this distribution.

Instances

Instances details
FromXML OriginSslProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginSslProtocols

ToXML OriginSslProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginSslProtocols

Generic OriginSslProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginSslProtocols

Associated Types

type Rep OriginSslProtocols :: Type -> Type #

Read OriginSslProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginSslProtocols

Show OriginSslProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginSslProtocols

NFData OriginSslProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginSslProtocols

Methods

rnf :: OriginSslProtocols -> () #

Eq OriginSslProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginSslProtocols

Hashable OriginSslProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginSslProtocols

type Rep OriginSslProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginSslProtocols

type Rep OriginSslProtocols = D1 ('MetaData "OriginSslProtocols" "Amazonka.CloudFront.Types.OriginSslProtocols" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginSslProtocols'" 'PrefixI 'True) (S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SslProtocol])))

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

data Origins Source #

Contains information about the origins for this distribution.

See: newOrigins smart constructor.

Constructors

Origins' 

Fields

Instances

Instances details
FromXML Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

ToXML Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

Methods

toXML :: Origins -> XML #

Generic Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

Associated Types

type Rep Origins :: Type -> Type #

Methods

from :: Origins -> Rep Origins x #

to :: Rep Origins x -> Origins #

Show Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

NFData Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

Methods

rnf :: Origins -> () #

Eq Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

Methods

(==) :: Origins -> Origins -> Bool #

(/=) :: Origins -> Origins -> Bool #

Hashable Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

Methods

hashWithSalt :: Int -> Origins -> Int #

hash :: Origins -> Int #

type Rep Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

type Rep Origins = D1 ('MetaData "Origins" "Amazonka.CloudFront.Types.Origins" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" '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))))

newOrigins Source #

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.

origins_quantity :: Lens' Origins Int Source #

The number of origins for this distribution.

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.

Constructors

ParametersInCacheKeyAndForwardedToOrigin' 

Fields

  • enableAcceptEncodingBrotli :: Maybe Bool

    A flag that can affect whether the Accept-Encoding HTTP header is included in the cache key and included in requests that CloudFront sends to the origin.

    This field is related to the 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.

  • enableAcceptEncodingGzip :: Bool

    A flag that can affect whether the Accept-Encoding HTTP header is included in the cache key and included in requests that CloudFront sends to the origin.

    This field is related to the EnableAcceptEncodingBrotli field. If one or both of these fields is true and the viewer request includes the Accept-Encoding header, then CloudFront does the following:

    • Normalizes the value of the viewer's Accept-Encoding header
    • Includes the normalized header in the cache key
    • Includes the normalized header in the request to the origin, if a request is necessary

    For more information, see Compression support in the Amazon CloudFront Developer Guide.

    If you set this value to true, and this cache behavior also has an origin request policy attached, do not include the Accept-Encoding header in the origin request policy. CloudFront always includes the Accept-Encoding header in origin requests when the value of this field is true, so including this header in an origin request policy has no effect.

    If both of these fields are false, then CloudFront treats the Accept-Encoding header the same as any other HTTP header in the viewer request. By default, it's not included in the cache key and it's not included in origin requests. In this case, you can manually add Accept-Encoding to the headers whitelist like any other HTTP header.

  • headersConfig :: CachePolicyHeadersConfig

    An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

  • cookiesConfig :: CachePolicyCookiesConfig

    An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

  • queryStringsConfig :: CachePolicyQueryStringsConfig

    An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

Instances

Instances details
FromXML ParametersInCacheKeyAndForwardedToOrigin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin

ToXML ParametersInCacheKeyAndForwardedToOrigin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin

Generic ParametersInCacheKeyAndForwardedToOrigin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin

Read ParametersInCacheKeyAndForwardedToOrigin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin

Show ParametersInCacheKeyAndForwardedToOrigin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin

NFData ParametersInCacheKeyAndForwardedToOrigin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin

Eq ParametersInCacheKeyAndForwardedToOrigin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin

Hashable ParametersInCacheKeyAndForwardedToOrigin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin

type Rep ParametersInCacheKeyAndForwardedToOrigin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin

type Rep ParametersInCacheKeyAndForwardedToOrigin = D1 ('MetaData "ParametersInCacheKeyAndForwardedToOrigin" "Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ParametersInCacheKeyAndForwardedToOrigin'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enableAcceptEncodingBrotli") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "enableAcceptEncodingGzip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "headersConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CachePolicyHeadersConfig) :*: (S1 ('MetaSel ('Just "cookiesConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CachePolicyCookiesConfig) :*: S1 ('MetaSel ('Just "queryStringsConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CachePolicyQueryStringsConfig)))))

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

data 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.

See: newPaths smart constructor.

Constructors

Paths' 

Fields

  • items :: Maybe [Text]

    A complex type that contains a list of the paths that you want to invalidate.

  • quantity :: Int

    The number of invalidation paths specified for the objects that you want to invalidate.

Instances

Instances details
FromXML Paths Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Paths

Methods

parseXML :: [Node] -> Either String Paths #

ToXML Paths Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Paths

Methods

toXML :: Paths -> XML #

Generic Paths Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Paths

Associated Types

type Rep Paths :: Type -> Type #

Methods

from :: Paths -> Rep Paths x #

to :: Rep Paths x -> Paths #

Read Paths Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Paths

Show Paths Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Paths

Methods

showsPrec :: Int -> Paths -> ShowS #

show :: Paths -> String #

showList :: [Paths] -> ShowS #

NFData Paths Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Paths

Methods

rnf :: Paths -> () #

Eq Paths Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Paths

Methods

(==) :: Paths -> Paths -> Bool #

(/=) :: Paths -> Paths -> Bool #

Hashable Paths Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Paths

Methods

hashWithSalt :: Int -> Paths -> Int #

hash :: Paths -> Int #

type Rep Paths Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Paths

type Rep Paths = D1 ('MetaData "Paths" "Amazonka.CloudFront.Types.Paths" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" '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)))

newPaths Source #

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

data PublicKey Source #

A public key that you can use with signed URLs and signed cookies, or with field-level encryption.

See: newPublicKey smart constructor.

Constructors

PublicKey' 

Fields

Instances

Instances details
FromXML PublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKey

Generic PublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKey

Associated Types

type Rep PublicKey :: Type -> Type #

Read PublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKey

Show PublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKey

NFData PublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKey

Methods

rnf :: PublicKey -> () #

Eq PublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKey

Hashable PublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKey

type Rep PublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKey

type Rep PublicKey = D1 ('MetaData "PublicKey" "Amazonka.CloudFront.Types.PublicKey" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" '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))))

newPublicKey Source #

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_id :: Lens' PublicKey Text Source #

The identifier of the public key.

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.

Constructors

PublicKeyConfig' 

Fields

Instances

Instances details
FromXML PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

ToXML PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

Methods

toXML :: PublicKeyConfig -> XML #

Generic PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

Associated Types

type Rep PublicKeyConfig :: Type -> Type #

Read PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

Show PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

NFData PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

Methods

rnf :: PublicKeyConfig -> () #

Eq PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

Hashable PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

type Rep PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

type Rep PublicKeyConfig = D1 ('MetaData "PublicKeyConfig" "Amazonka.CloudFront.Types.PublicKeyConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "PublicKeyConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "callerReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "encodedKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newPublicKeyConfig Source #

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.

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.

Constructors

PublicKeyList' 

Fields

  • items :: Maybe [PublicKeySummary]

    A list of public keys.

  • nextMarker :: Maybe Text

    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.

  • maxItems :: Int

    The maximum number of public keys you want in the response.

  • quantity :: Int

    The number of public keys in the list.

Instances

Instances details
FromXML PublicKeyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyList

Generic PublicKeyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyList

Associated Types

type Rep PublicKeyList :: Type -> Type #

Read PublicKeyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyList

Show PublicKeyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyList

NFData PublicKeyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyList

Methods

rnf :: PublicKeyList -> () #

Eq PublicKeyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyList

Hashable PublicKeyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyList

type Rep PublicKeyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyList

type Rep PublicKeyList = D1 ('MetaData "PublicKeyList" "Amazonka.CloudFront.Types.PublicKeyList" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "PublicKeyList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PublicKeySummary])) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newPublicKeyList Source #

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_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.

Constructors

PublicKeySummary' 

Fields

Instances

Instances details
FromXML PublicKeySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeySummary

Generic PublicKeySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeySummary

Associated Types

type Rep PublicKeySummary :: Type -> Type #

Read PublicKeySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeySummary

Show PublicKeySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeySummary

NFData PublicKeySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeySummary

Methods

rnf :: PublicKeySummary -> () #

Eq PublicKeySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeySummary

Hashable PublicKeySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeySummary

type Rep PublicKeySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeySummary

type Rep PublicKeySummary = D1 ('MetaData "PublicKeySummary" "Amazonka.CloudFront.Types.PublicKeySummary" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "PublicKeySummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "createdTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "encodedKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newPublicKeySummary Source #

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.

QueryArgProfile

data QueryArgProfile Source #

Query argument-profile mapping for field-level encryption.

See: newQueryArgProfile smart constructor.

Constructors

QueryArgProfile' 

Fields

  • queryArg :: Text

    Query argument for field-level encryption query argument-profile mapping.

  • profileId :: Text

    ID of profile to use for field-level encryption query argument-profile mapping

Instances

Instances details
FromXML QueryArgProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfile

ToXML QueryArgProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfile

Methods

toXML :: QueryArgProfile -> XML #

Generic QueryArgProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfile

Associated Types

type Rep QueryArgProfile :: Type -> Type #

Read QueryArgProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfile

Show QueryArgProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfile

NFData QueryArgProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfile

Methods

rnf :: QueryArgProfile -> () #

Eq QueryArgProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfile

Hashable QueryArgProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfile

type Rep QueryArgProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfile

type Rep QueryArgProfile = D1 ('MetaData "QueryArgProfile" "Amazonka.CloudFront.Types.QueryArgProfile" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "QueryArgProfile'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryArg") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "profileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newQueryArgProfile Source #

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.

Constructors

QueryArgProfileConfig' 

Fields

Instances

Instances details
FromXML QueryArgProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfileConfig

ToXML QueryArgProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfileConfig

Generic QueryArgProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfileConfig

Associated Types

type Rep QueryArgProfileConfig :: Type -> Type #

Read QueryArgProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfileConfig

Show QueryArgProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfileConfig

NFData QueryArgProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfileConfig

Methods

rnf :: QueryArgProfileConfig -> () #

Eq QueryArgProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfileConfig

Hashable QueryArgProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfileConfig

type Rep QueryArgProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfileConfig

type Rep QueryArgProfileConfig = D1 ('MetaData "QueryArgProfileConfig" "Amazonka.CloudFront.Types.QueryArgProfileConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "QueryArgProfileConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryArgProfiles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryArgProfiles)) :*: S1 ('MetaSel ('Just "forwardWhenQueryArgProfileIsUnknown") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

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.

Constructors

QueryArgProfiles' 

Fields

  • items :: Maybe [QueryArgProfile]

    Number of items for query argument-profile mapping for field-level encryption.

  • quantity :: Int

    Number of profiles for query argument-profile mapping for field-level encryption.

Instances

Instances details
FromXML QueryArgProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfiles

ToXML QueryArgProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfiles

Generic QueryArgProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfiles

Associated Types

type Rep QueryArgProfiles :: Type -> Type #

Read QueryArgProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfiles

Show QueryArgProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfiles

NFData QueryArgProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfiles

Methods

rnf :: QueryArgProfiles -> () #

Eq QueryArgProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfiles

Hashable QueryArgProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfiles

type Rep QueryArgProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfiles

type Rep QueryArgProfiles = D1 ('MetaData "QueryArgProfiles" "Amazonka.CloudFront.Types.QueryArgProfiles" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "QueryArgProfiles'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [QueryArgProfile])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newQueryArgProfiles Source #

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.

Constructors

QueryStringCacheKeys' 

Fields

  • items :: Maybe [Text]

    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.

  • quantity :: Int

    The number of whitelisted query string parameters for a cache behavior.

Instances

Instances details
FromXML QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

ToXML QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

Generic QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

Associated Types

type Rep QueryStringCacheKeys :: Type -> Type #

Read QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

Show QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

NFData QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

Methods

rnf :: QueryStringCacheKeys -> () #

Eq QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

Hashable QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

type Rep QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

type Rep QueryStringCacheKeys = D1 ('MetaData "QueryStringCacheKeys" "Amazonka.CloudFront.Types.QueryStringCacheKeys" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "QueryStringCacheKeys'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.

Constructors

QueryStringNames' 

Fields

Instances

Instances details
FromXML QueryStringNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringNames

ToXML QueryStringNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringNames

Generic QueryStringNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringNames

Associated Types

type Rep QueryStringNames :: Type -> Type #

Read QueryStringNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringNames

Show QueryStringNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringNames

NFData QueryStringNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringNames

Methods

rnf :: QueryStringNames -> () #

Eq QueryStringNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringNames

Hashable QueryStringNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringNames

type Rep QueryStringNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringNames

type Rep QueryStringNames = D1 ('MetaData "QueryStringNames" "Amazonka.CloudFront.Types.QueryStringNames" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "QueryStringNames'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newQueryStringNames Source #

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.

Constructors

RealtimeLogConfig' 

Fields

  • arn :: Text

    The Amazon Resource Name (ARN) of this real-time log configuration.

  • name :: Text

    The unique name of this real-time log configuration.

  • samplingRate :: Integer

    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.

  • endPoints :: [EndPoint]

    Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.

  • fields :: [Text]

    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.

Instances

Instances details
FromXML RealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfig

Generic RealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfig

Associated Types

type Rep RealtimeLogConfig :: Type -> Type #

Read RealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfig

Show RealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfig

NFData RealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfig

Methods

rnf :: RealtimeLogConfig -> () #

Eq RealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfig

Hashable RealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfig

type Rep RealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfig

type Rep RealtimeLogConfig = D1 ('MetaData "RealtimeLogConfig" "Amazonka.CloudFront.Types.RealtimeLogConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "RealtimeLogConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "samplingRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer) :*: (S1 ('MetaSel ('Just "endPoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [EndPoint]) :*: S1 ('MetaSel ('Just "fields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))))

newRealtimeLogConfig Source #

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.

Constructors

RealtimeLogConfigs' 

Fields

  • items :: Maybe [RealtimeLogConfig]

    Contains the list of real-time log configurations.

  • nextMarker :: Maybe Text

    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.

  • maxItems :: Int

    The maximum number of real-time log configurations requested.

  • isTruncated :: Bool

    A flag that indicates whether there are more real-time log configurations than are contained in this list.

  • marker :: Text

    This parameter indicates where this list of real-time log configurations begins. This list includes real-time log configurations that occur after the marker.

Instances

Instances details
FromXML RealtimeLogConfigs Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfigs

Generic RealtimeLogConfigs Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfigs

Associated Types

type Rep RealtimeLogConfigs :: Type -> Type #

Read RealtimeLogConfigs Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfigs

Show RealtimeLogConfigs Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfigs

NFData RealtimeLogConfigs Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfigs

Methods

rnf :: RealtimeLogConfigs -> () #

Eq RealtimeLogConfigs Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfigs

Hashable RealtimeLogConfigs Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfigs

type Rep RealtimeLogConfigs Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfigs

type Rep RealtimeLogConfigs = D1 ('MetaData "RealtimeLogConfigs" "Amazonka.CloudFront.Types.RealtimeLogConfigs" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "RealtimeLogConfigs'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RealtimeLogConfig])) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "isTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newRealtimeLogConfigs Source #

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.

Constructors

RealtimeMetricsSubscriptionConfig' 

Fields

Instances

Instances details
FromXML RealtimeMetricsSubscriptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig

ToXML RealtimeMetricsSubscriptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig

Generic RealtimeMetricsSubscriptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig

Associated Types

type Rep RealtimeMetricsSubscriptionConfig :: Type -> Type #

Read RealtimeMetricsSubscriptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig

Show RealtimeMetricsSubscriptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig

NFData RealtimeMetricsSubscriptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig

Eq RealtimeMetricsSubscriptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig

Hashable RealtimeMetricsSubscriptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig

type Rep RealtimeMetricsSubscriptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig

type Rep RealtimeMetricsSubscriptionConfig = D1 ('MetaData "RealtimeMetricsSubscriptionConfig" "Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "RealtimeMetricsSubscriptionConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "realtimeMetricsSubscriptionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RealtimeMetricsSubscriptionStatus)))

newRealtimeMetricsSubscriptionConfig Source #

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.

ResponseHeadersPolicy

data ResponseHeadersPolicy Source #

A response headers policy.

A response headers policy contains information about a set of HTTP response headers.

After you create a response headers policy, you can use its ID to attach it to one or more cache behaviors in a CloudFront distribution. When it's attached to a cache behavior, the response headers policy affects the HTTP headers that CloudFront includes in HTTP responses to requests that match the cache behavior. CloudFront adds or removes response headers according to the configuration of the response headers policy.

For more information, see Adding or removing HTTP headers in CloudFront responses in the Amazon CloudFront Developer Guide.

See: newResponseHeadersPolicy smart constructor.

Constructors

ResponseHeadersPolicy' 

Fields

Instances

Instances details
FromXML ResponseHeadersPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicy

Generic ResponseHeadersPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicy

Associated Types

type Rep ResponseHeadersPolicy :: Type -> Type #

Read ResponseHeadersPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicy

Show ResponseHeadersPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicy

NFData ResponseHeadersPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicy

Methods

rnf :: ResponseHeadersPolicy -> () #

Eq ResponseHeadersPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicy

Hashable ResponseHeadersPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicy

type Rep ResponseHeadersPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicy

type Rep ResponseHeadersPolicy = D1 ('MetaData "ResponseHeadersPolicy" "Amazonka.CloudFront.Types.ResponseHeadersPolicy" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "responseHeadersPolicyConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResponseHeadersPolicyConfig))))

newResponseHeadersPolicy Source #

Create a value of ResponseHeadersPolicy with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:id:ResponseHeadersPolicy', responseHeadersPolicy_id - The identifier for the response headers policy.

$sel:lastModifiedTime:ResponseHeadersPolicy', responseHeadersPolicy_lastModifiedTime - The date and time when the response headers policy was last modified.

$sel:responseHeadersPolicyConfig:ResponseHeadersPolicy', responseHeadersPolicy_responseHeadersPolicyConfig - A response headers policy configuration.

responseHeadersPolicy_id :: Lens' ResponseHeadersPolicy Text Source #

The identifier for the response headers policy.

responseHeadersPolicy_lastModifiedTime :: Lens' ResponseHeadersPolicy UTCTime Source #

The date and time when the response headers policy was last modified.

ResponseHeadersPolicyAccessControlAllowHeaders

data ResponseHeadersPolicyAccessControlAllowHeaders Source #

A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-Headers HTTP response header.

For more information about the Access-Control-Allow-Headers HTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.

See: newResponseHeadersPolicyAccessControlAllowHeaders smart constructor.

Constructors

ResponseHeadersPolicyAccessControlAllowHeaders' 

Fields

  • quantity :: Int

    The number of HTTP header names in the list.

  • items :: [Text]

    The list of HTTP header names. You can specify * to allow all headers.

Instances

Instances details
FromXML ResponseHeadersPolicyAccessControlAllowHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowHeaders

ToXML ResponseHeadersPolicyAccessControlAllowHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowHeaders

Generic ResponseHeadersPolicyAccessControlAllowHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowHeaders

Read ResponseHeadersPolicyAccessControlAllowHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowHeaders

Show ResponseHeadersPolicyAccessControlAllowHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowHeaders

NFData ResponseHeadersPolicyAccessControlAllowHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowHeaders

Eq ResponseHeadersPolicyAccessControlAllowHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowHeaders

Hashable ResponseHeadersPolicyAccessControlAllowHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowHeaders

type Rep ResponseHeadersPolicyAccessControlAllowHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowHeaders

type Rep ResponseHeadersPolicyAccessControlAllowHeaders = D1 ('MetaData "ResponseHeadersPolicyAccessControlAllowHeaders" "Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowHeaders" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyAccessControlAllowHeaders'" 'PrefixI 'True) (S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newResponseHeadersPolicyAccessControlAllowHeaders Source #

Create a value of ResponseHeadersPolicyAccessControlAllowHeaders with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:quantity:ResponseHeadersPolicyAccessControlAllowHeaders', responseHeadersPolicyAccessControlAllowHeaders_quantity - The number of HTTP header names in the list.

$sel:items:ResponseHeadersPolicyAccessControlAllowHeaders', responseHeadersPolicyAccessControlAllowHeaders_items - The list of HTTP header names. You can specify * to allow all headers.

responseHeadersPolicyAccessControlAllowHeaders_items :: Lens' ResponseHeadersPolicyAccessControlAllowHeaders [Text] Source #

The list of HTTP header names. You can specify * to allow all headers.

ResponseHeadersPolicyAccessControlAllowMethods

data ResponseHeadersPolicyAccessControlAllowMethods Source #

A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.

For more information about the Access-Control-Allow-Methods HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.

See: newResponseHeadersPolicyAccessControlAllowMethods smart constructor.

Constructors

ResponseHeadersPolicyAccessControlAllowMethods' 

Fields

Instances

Instances details
FromXML ResponseHeadersPolicyAccessControlAllowMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethods

ToXML ResponseHeadersPolicyAccessControlAllowMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethods

Generic ResponseHeadersPolicyAccessControlAllowMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethods

Read ResponseHeadersPolicyAccessControlAllowMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethods

Show ResponseHeadersPolicyAccessControlAllowMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethods

NFData ResponseHeadersPolicyAccessControlAllowMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethods

Eq ResponseHeadersPolicyAccessControlAllowMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethods

Hashable ResponseHeadersPolicyAccessControlAllowMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethods

type Rep ResponseHeadersPolicyAccessControlAllowMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethods

type Rep ResponseHeadersPolicyAccessControlAllowMethods = D1 ('MetaData "ResponseHeadersPolicyAccessControlAllowMethods" "Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowMethods" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyAccessControlAllowMethods'" 'PrefixI 'True) (S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ResponseHeadersPolicyAccessControlAllowMethodsValues])))

newResponseHeadersPolicyAccessControlAllowMethods Source #

Create a value of ResponseHeadersPolicyAccessControlAllowMethods with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:quantity:ResponseHeadersPolicyAccessControlAllowMethods', responseHeadersPolicyAccessControlAllowMethods_quantity - The number of HTTP methods in the list.

$sel:items:ResponseHeadersPolicyAccessControlAllowMethods', responseHeadersPolicyAccessControlAllowMethods_items - The list of HTTP methods. Valid values are:

  • GET
  • DELETE
  • HEAD
  • OPTIONS
  • PATCH
  • POST
  • PUT
  • ALL

ALL is a special value that includes all of the listed HTTP methods.

responseHeadersPolicyAccessControlAllowMethods_items :: Lens' ResponseHeadersPolicyAccessControlAllowMethods [ResponseHeadersPolicyAccessControlAllowMethodsValues] Source #

The list of HTTP methods. Valid values are:

  • GET
  • DELETE
  • HEAD
  • OPTIONS
  • PATCH
  • POST
  • PUT
  • ALL

ALL is a special value that includes all of the listed HTTP methods.

ResponseHeadersPolicyAccessControlAllowOrigins

data ResponseHeadersPolicyAccessControlAllowOrigins Source #

A list of origins (domain names) that CloudFront can use as the value for the Access-Control-Allow-Origin HTTP response header.

For more information about the Access-Control-Allow-Origin HTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.

See: newResponseHeadersPolicyAccessControlAllowOrigins smart constructor.

Constructors

ResponseHeadersPolicyAccessControlAllowOrigins' 

Fields

  • quantity :: Int

    The number of origins in the list.

  • items :: [Text]

    The list of origins (domain names). You can specify * to allow all origins.

Instances

Instances details
FromXML ResponseHeadersPolicyAccessControlAllowOrigins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins

ToXML ResponseHeadersPolicyAccessControlAllowOrigins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins

Generic ResponseHeadersPolicyAccessControlAllowOrigins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins

Read ResponseHeadersPolicyAccessControlAllowOrigins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins

Show ResponseHeadersPolicyAccessControlAllowOrigins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins

NFData ResponseHeadersPolicyAccessControlAllowOrigins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins

Eq ResponseHeadersPolicyAccessControlAllowOrigins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins

Hashable ResponseHeadersPolicyAccessControlAllowOrigins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins

type Rep ResponseHeadersPolicyAccessControlAllowOrigins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins

type Rep ResponseHeadersPolicyAccessControlAllowOrigins = D1 ('MetaData "ResponseHeadersPolicyAccessControlAllowOrigins" "Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlAllowOrigins" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyAccessControlAllowOrigins'" 'PrefixI 'True) (S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newResponseHeadersPolicyAccessControlAllowOrigins Source #

Create a value of ResponseHeadersPolicyAccessControlAllowOrigins with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:quantity:ResponseHeadersPolicyAccessControlAllowOrigins', responseHeadersPolicyAccessControlAllowOrigins_quantity - The number of origins in the list.

$sel:items:ResponseHeadersPolicyAccessControlAllowOrigins', responseHeadersPolicyAccessControlAllowOrigins_items - The list of origins (domain names). You can specify * to allow all origins.

responseHeadersPolicyAccessControlAllowOrigins_items :: Lens' ResponseHeadersPolicyAccessControlAllowOrigins [Text] Source #

The list of origins (domain names). You can specify * to allow all origins.

ResponseHeadersPolicyAccessControlExposeHeaders

data ResponseHeadersPolicyAccessControlExposeHeaders Source #

A list of HTTP headers that CloudFront includes as values for the Access-Control-Expose-Headers HTTP response header.

For more information about the Access-Control-Expose-Headers HTTP response header, see Access-Control-Expose-Headers in the MDN Web Docs.

See: newResponseHeadersPolicyAccessControlExposeHeaders smart constructor.

Constructors

ResponseHeadersPolicyAccessControlExposeHeaders' 

Fields

  • items :: Maybe [Text]

    The list of HTTP headers. You can specify * to expose all headers.

  • quantity :: Int

    The number of HTTP headers in the list.

Instances

Instances details
FromXML ResponseHeadersPolicyAccessControlExposeHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlExposeHeaders

ToXML ResponseHeadersPolicyAccessControlExposeHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlExposeHeaders

Generic ResponseHeadersPolicyAccessControlExposeHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlExposeHeaders

Read ResponseHeadersPolicyAccessControlExposeHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlExposeHeaders

Show ResponseHeadersPolicyAccessControlExposeHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlExposeHeaders

NFData ResponseHeadersPolicyAccessControlExposeHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlExposeHeaders

Eq ResponseHeadersPolicyAccessControlExposeHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlExposeHeaders

Hashable ResponseHeadersPolicyAccessControlExposeHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlExposeHeaders

type Rep ResponseHeadersPolicyAccessControlExposeHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlExposeHeaders

type Rep ResponseHeadersPolicyAccessControlExposeHeaders = D1 ('MetaData "ResponseHeadersPolicyAccessControlExposeHeaders" "Amazonka.CloudFront.Types.ResponseHeadersPolicyAccessControlExposeHeaders" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyAccessControlExposeHeaders'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newResponseHeadersPolicyAccessControlExposeHeaders Source #

Create a value of ResponseHeadersPolicyAccessControlExposeHeaders with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:items:ResponseHeadersPolicyAccessControlExposeHeaders', responseHeadersPolicyAccessControlExposeHeaders_items - The list of HTTP headers. You can specify * to expose all headers.

$sel:quantity:ResponseHeadersPolicyAccessControlExposeHeaders', responseHeadersPolicyAccessControlExposeHeaders_quantity - The number of HTTP headers in the list.

ResponseHeadersPolicyConfig

data ResponseHeadersPolicyConfig Source #

A response headers policy configuration.

A response headers policy configuration contains metadata about the response headers policy, and configurations for sets of HTTP response headers.

See: newResponseHeadersPolicyConfig smart constructor.

Constructors

ResponseHeadersPolicyConfig' 

Fields

Instances

Instances details
FromXML ResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig

ToXML ResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig

Generic ResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig

Associated Types

type Rep ResponseHeadersPolicyConfig :: Type -> Type #

Read ResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig

Show ResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig

NFData ResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig

Eq ResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig

Hashable ResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig

type Rep ResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyConfig

newResponseHeadersPolicyConfig Source #

Create a value of ResponseHeadersPolicyConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:comment:ResponseHeadersPolicyConfig', responseHeadersPolicyConfig_comment - A comment to describe the response headers policy.

The comment cannot be longer than 128 characters.

$sel:corsConfig:ResponseHeadersPolicyConfig', responseHeadersPolicyConfig_corsConfig - A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).

$sel:customHeadersConfig:ResponseHeadersPolicyConfig', responseHeadersPolicyConfig_customHeadersConfig - A configuration for a set of custom HTTP response headers.

$sel:removeHeadersConfig:ResponseHeadersPolicyConfig', responseHeadersPolicyConfig_removeHeadersConfig - A configuration for a set of HTTP headers to remove from the HTTP response.

$sel:securityHeadersConfig:ResponseHeadersPolicyConfig', responseHeadersPolicyConfig_securityHeadersConfig - A configuration for a set of security-related HTTP response headers.

$sel:serverTimingHeadersConfig:ResponseHeadersPolicyConfig', responseHeadersPolicyConfig_serverTimingHeadersConfig - A configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront.

$sel:name:ResponseHeadersPolicyConfig', responseHeadersPolicyConfig_name - A name to identify the response headers policy.

The name must be unique for response headers policies in this Amazon Web Services account.

responseHeadersPolicyConfig_comment :: Lens' ResponseHeadersPolicyConfig (Maybe Text) Source #

A comment to describe the response headers policy.

The comment cannot be longer than 128 characters.

responseHeadersPolicyConfig_corsConfig :: Lens' ResponseHeadersPolicyConfig (Maybe ResponseHeadersPolicyCorsConfig) Source #

A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).

responseHeadersPolicyConfig_serverTimingHeadersConfig :: Lens' ResponseHeadersPolicyConfig (Maybe ResponseHeadersPolicyServerTimingHeadersConfig) Source #

A configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront.

responseHeadersPolicyConfig_name :: Lens' ResponseHeadersPolicyConfig Text Source #

A name to identify the response headers policy.

The name must be unique for response headers policies in this Amazon Web Services account.

ResponseHeadersPolicyContentSecurityPolicy

data ResponseHeadersPolicyContentSecurityPolicy Source #

The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

For more information about the Content-Security-Policy HTTP response header, see Content-Security-Policy in the MDN Web Docs.

See: newResponseHeadersPolicyContentSecurityPolicy smart constructor.

Constructors

ResponseHeadersPolicyContentSecurityPolicy' 

Fields

  • override :: Bool

    A Boolean that determines whether CloudFront overrides the Content-Security-Policy HTTP response header received from the origin with the one specified in this response headers policy.

  • contentSecurityPolicy :: Text

    The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

Instances

Instances details
FromXML ResponseHeadersPolicyContentSecurityPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy

ToXML ResponseHeadersPolicyContentSecurityPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy

Generic ResponseHeadersPolicyContentSecurityPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy

Read ResponseHeadersPolicyContentSecurityPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy

Show ResponseHeadersPolicyContentSecurityPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy

NFData ResponseHeadersPolicyContentSecurityPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy

Eq ResponseHeadersPolicyContentSecurityPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy

Hashable ResponseHeadersPolicyContentSecurityPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy

type Rep ResponseHeadersPolicyContentSecurityPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy

type Rep ResponseHeadersPolicyContentSecurityPolicy = D1 ('MetaData "ResponseHeadersPolicyContentSecurityPolicy" "Amazonka.CloudFront.Types.ResponseHeadersPolicyContentSecurityPolicy" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyContentSecurityPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "override") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "contentSecurityPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newResponseHeadersPolicyContentSecurityPolicy Source #

Create a value of ResponseHeadersPolicyContentSecurityPolicy with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:override:ResponseHeadersPolicyContentSecurityPolicy', responseHeadersPolicyContentSecurityPolicy_override - A Boolean that determines whether CloudFront overrides the Content-Security-Policy HTTP response header received from the origin with the one specified in this response headers policy.

$sel:contentSecurityPolicy:ResponseHeadersPolicyContentSecurityPolicy', responseHeadersPolicyContentSecurityPolicy_contentSecurityPolicy - The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

responseHeadersPolicyContentSecurityPolicy_override :: Lens' ResponseHeadersPolicyContentSecurityPolicy Bool Source #

A Boolean that determines whether CloudFront overrides the Content-Security-Policy HTTP response header received from the origin with the one specified in this response headers policy.

responseHeadersPolicyContentSecurityPolicy_contentSecurityPolicy :: Lens' ResponseHeadersPolicyContentSecurityPolicy Text Source #

The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

ResponseHeadersPolicyContentTypeOptions

data ResponseHeadersPolicyContentTypeOptions Source #

Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff.

For more information about the X-Content-Type-Options HTTP response header, see X-Content-Type-Options in the MDN Web Docs.

See: newResponseHeadersPolicyContentTypeOptions smart constructor.

Constructors

ResponseHeadersPolicyContentTypeOptions' 

Fields

  • override :: Bool

    A Boolean that determines whether CloudFront overrides the X-Content-Type-Options HTTP response header received from the origin with the one specified in this response headers policy.

Instances

Instances details
FromXML ResponseHeadersPolicyContentTypeOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions

ToXML ResponseHeadersPolicyContentTypeOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions

Generic ResponseHeadersPolicyContentTypeOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions

Read ResponseHeadersPolicyContentTypeOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions

Show ResponseHeadersPolicyContentTypeOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions

NFData ResponseHeadersPolicyContentTypeOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions

Eq ResponseHeadersPolicyContentTypeOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions

Hashable ResponseHeadersPolicyContentTypeOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions

type Rep ResponseHeadersPolicyContentTypeOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions

type Rep ResponseHeadersPolicyContentTypeOptions = D1 ('MetaData "ResponseHeadersPolicyContentTypeOptions" "Amazonka.CloudFront.Types.ResponseHeadersPolicyContentTypeOptions" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyContentTypeOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "override") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newResponseHeadersPolicyContentTypeOptions Source #

Create a value of ResponseHeadersPolicyContentTypeOptions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:override:ResponseHeadersPolicyContentTypeOptions', responseHeadersPolicyContentTypeOptions_override - A Boolean that determines whether CloudFront overrides the X-Content-Type-Options HTTP response header received from the origin with the one specified in this response headers policy.

responseHeadersPolicyContentTypeOptions_override :: Lens' ResponseHeadersPolicyContentTypeOptions Bool Source #

A Boolean that determines whether CloudFront overrides the X-Content-Type-Options HTTP response header received from the origin with the one specified in this response headers policy.

ResponseHeadersPolicyCorsConfig

data ResponseHeadersPolicyCorsConfig Source #

A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS). CloudFront adds these headers to HTTP responses that it sends for CORS requests that match a cache behavior associated with this response headers policy.

For more information about CORS, see Cross-Origin Resource Sharing (CORS) in the MDN Web Docs.

See: newResponseHeadersPolicyCorsConfig smart constructor.

Constructors

ResponseHeadersPolicyCorsConfig' 

Fields

Instances

Instances details
FromXML ResponseHeadersPolicyCorsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCorsConfig

ToXML ResponseHeadersPolicyCorsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCorsConfig

Generic ResponseHeadersPolicyCorsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCorsConfig

Associated Types

type Rep ResponseHeadersPolicyCorsConfig :: Type -> Type #

Read ResponseHeadersPolicyCorsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCorsConfig

Show ResponseHeadersPolicyCorsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCorsConfig

NFData ResponseHeadersPolicyCorsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCorsConfig

Eq ResponseHeadersPolicyCorsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCorsConfig

Hashable ResponseHeadersPolicyCorsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCorsConfig

type Rep ResponseHeadersPolicyCorsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCorsConfig

type Rep ResponseHeadersPolicyCorsConfig = D1 ('MetaData "ResponseHeadersPolicyCorsConfig" "Amazonka.CloudFront.Types.ResponseHeadersPolicyCorsConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyCorsConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accessControlExposeHeaders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResponseHeadersPolicyAccessControlExposeHeaders)) :*: (S1 ('MetaSel ('Just "accessControlMaxAgeSec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "accessControlAllowOrigins") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResponseHeadersPolicyAccessControlAllowOrigins))) :*: ((S1 ('MetaSel ('Just "accessControlAllowHeaders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResponseHeadersPolicyAccessControlAllowHeaders) :*: S1 ('MetaSel ('Just "accessControlAllowMethods") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResponseHeadersPolicyAccessControlAllowMethods)) :*: (S1 ('MetaSel ('Just "accessControlAllowCredentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "originOverride") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))))

newResponseHeadersPolicyCorsConfig Source #

Create a value of ResponseHeadersPolicyCorsConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:accessControlExposeHeaders:ResponseHeadersPolicyCorsConfig', responseHeadersPolicyCorsConfig_accessControlExposeHeaders - A list of HTTP headers that CloudFront includes as values for the Access-Control-Expose-Headers HTTP response header.

For more information about the Access-Control-Expose-Headers HTTP response header, see Access-Control-Expose-Headers in the MDN Web Docs.

$sel:accessControlMaxAgeSec:ResponseHeadersPolicyCorsConfig', responseHeadersPolicyCorsConfig_accessControlMaxAgeSec - A number that CloudFront uses as the value for the Access-Control-Max-Age HTTP response header.

For more information about the Access-Control-Max-Age HTTP response header, see Access-Control-Max-Age in the MDN Web Docs.

$sel:accessControlAllowOrigins:ResponseHeadersPolicyCorsConfig', responseHeadersPolicyCorsConfig_accessControlAllowOrigins - A list of origins (domain names) that CloudFront can use as the value for the Access-Control-Allow-Origin HTTP response header.

For more information about the Access-Control-Allow-Origin HTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.

$sel:accessControlAllowHeaders:ResponseHeadersPolicyCorsConfig', responseHeadersPolicyCorsConfig_accessControlAllowHeaders - A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-Headers HTTP response header.

For more information about the Access-Control-Allow-Headers HTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.

$sel:accessControlAllowMethods:ResponseHeadersPolicyCorsConfig', responseHeadersPolicyCorsConfig_accessControlAllowMethods - A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.

For more information about the Access-Control-Allow-Methods HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.

$sel:accessControlAllowCredentials:ResponseHeadersPolicyCorsConfig', responseHeadersPolicyCorsConfig_accessControlAllowCredentials - A Boolean that CloudFront uses as the value for the Access-Control-Allow-Credentials HTTP response header.

For more information about the Access-Control-Allow-Credentials HTTP response header, see Access-Control-Allow-Credentials in the MDN Web Docs.

$sel:originOverride:ResponseHeadersPolicyCorsConfig', responseHeadersPolicyCorsConfig_originOverride - A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.

responseHeadersPolicyCorsConfig_accessControlExposeHeaders :: Lens' ResponseHeadersPolicyCorsConfig (Maybe ResponseHeadersPolicyAccessControlExposeHeaders) Source #

A list of HTTP headers that CloudFront includes as values for the Access-Control-Expose-Headers HTTP response header.

For more information about the Access-Control-Expose-Headers HTTP response header, see Access-Control-Expose-Headers in the MDN Web Docs.

responseHeadersPolicyCorsConfig_accessControlMaxAgeSec :: Lens' ResponseHeadersPolicyCorsConfig (Maybe Int) Source #

A number that CloudFront uses as the value for the Access-Control-Max-Age HTTP response header.

For more information about the Access-Control-Max-Age HTTP response header, see Access-Control-Max-Age in the MDN Web Docs.

responseHeadersPolicyCorsConfig_accessControlAllowOrigins :: Lens' ResponseHeadersPolicyCorsConfig ResponseHeadersPolicyAccessControlAllowOrigins Source #

A list of origins (domain names) that CloudFront can use as the value for the Access-Control-Allow-Origin HTTP response header.

For more information about the Access-Control-Allow-Origin HTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.

responseHeadersPolicyCorsConfig_accessControlAllowHeaders :: Lens' ResponseHeadersPolicyCorsConfig ResponseHeadersPolicyAccessControlAllowHeaders Source #

A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-Headers HTTP response header.

For more information about the Access-Control-Allow-Headers HTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.

responseHeadersPolicyCorsConfig_accessControlAllowMethods :: Lens' ResponseHeadersPolicyCorsConfig ResponseHeadersPolicyAccessControlAllowMethods Source #

A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.

For more information about the Access-Control-Allow-Methods HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.

responseHeadersPolicyCorsConfig_accessControlAllowCredentials :: Lens' ResponseHeadersPolicyCorsConfig Bool Source #

A Boolean that CloudFront uses as the value for the Access-Control-Allow-Credentials HTTP response header.

For more information about the Access-Control-Allow-Credentials HTTP response header, see Access-Control-Allow-Credentials in the MDN Web Docs.

responseHeadersPolicyCorsConfig_originOverride :: Lens' ResponseHeadersPolicyCorsConfig Bool Source #

A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.

ResponseHeadersPolicyCustomHeader

data ResponseHeadersPolicyCustomHeader Source #

An HTTP response header name and its value. CloudFront includes this header in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy.

See: newResponseHeadersPolicyCustomHeader smart constructor.

Constructors

ResponseHeadersPolicyCustomHeader' 

Fields

  • header :: Text

    The HTTP response header name.

  • value :: Text

    The value for the HTTP response header.

  • override :: Bool

    A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.

Instances

Instances details
FromXML ResponseHeadersPolicyCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader

ToXML ResponseHeadersPolicyCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader

Generic ResponseHeadersPolicyCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader

Associated Types

type Rep ResponseHeadersPolicyCustomHeader :: Type -> Type #

Read ResponseHeadersPolicyCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader

Show ResponseHeadersPolicyCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader

NFData ResponseHeadersPolicyCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader

Eq ResponseHeadersPolicyCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader

Hashable ResponseHeadersPolicyCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader

type Rep ResponseHeadersPolicyCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader

type Rep ResponseHeadersPolicyCustomHeader = D1 ('MetaData "ResponseHeadersPolicyCustomHeader" "Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeader" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyCustomHeader'" 'PrefixI 'True) (S1 ('MetaSel ('Just "header") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "override") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))

newResponseHeadersPolicyCustomHeader Source #

Create a value of ResponseHeadersPolicyCustomHeader with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:header:ResponseHeadersPolicyCustomHeader', responseHeadersPolicyCustomHeader_header - The HTTP response header name.

$sel:value:ResponseHeadersPolicyCustomHeader', responseHeadersPolicyCustomHeader_value - The value for the HTTP response header.

$sel:override:ResponseHeadersPolicyCustomHeader', responseHeadersPolicyCustomHeader_override - A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.

responseHeadersPolicyCustomHeader_override :: Lens' ResponseHeadersPolicyCustomHeader Bool Source #

A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.

ResponseHeadersPolicyCustomHeadersConfig

data ResponseHeadersPolicyCustomHeadersConfig Source #

A list of HTTP response header names and their values. CloudFront includes these headers in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy.

See: newResponseHeadersPolicyCustomHeadersConfig smart constructor.

Constructors

ResponseHeadersPolicyCustomHeadersConfig' 

Fields

Instances

Instances details
FromXML ResponseHeadersPolicyCustomHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig

ToXML ResponseHeadersPolicyCustomHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig

Generic ResponseHeadersPolicyCustomHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig

Read ResponseHeadersPolicyCustomHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig

Show ResponseHeadersPolicyCustomHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig

NFData ResponseHeadersPolicyCustomHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig

Eq ResponseHeadersPolicyCustomHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig

Hashable ResponseHeadersPolicyCustomHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig

type Rep ResponseHeadersPolicyCustomHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig

type Rep ResponseHeadersPolicyCustomHeadersConfig = D1 ('MetaData "ResponseHeadersPolicyCustomHeadersConfig" "Amazonka.CloudFront.Types.ResponseHeadersPolicyCustomHeadersConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyCustomHeadersConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResponseHeadersPolicyCustomHeader])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newResponseHeadersPolicyCustomHeadersConfig Source #

Create a value of ResponseHeadersPolicyCustomHeadersConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:items:ResponseHeadersPolicyCustomHeadersConfig', responseHeadersPolicyCustomHeadersConfig_items - The list of HTTP response headers and their values.

$sel:quantity:ResponseHeadersPolicyCustomHeadersConfig', responseHeadersPolicyCustomHeadersConfig_quantity - The number of HTTP response headers in the list.

ResponseHeadersPolicyFrameOptions

data ResponseHeadersPolicyFrameOptions Source #

Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header's value.

For more information about the X-Frame-Options HTTP response header, see X-Frame-Options in the MDN Web Docs.

See: newResponseHeadersPolicyFrameOptions smart constructor.

Constructors

ResponseHeadersPolicyFrameOptions' 

Fields

  • override :: Bool

    A Boolean that determines whether CloudFront overrides the X-Frame-Options HTTP response header received from the origin with the one specified in this response headers policy.

  • frameOption :: FrameOptionsList

    The value of the X-Frame-Options HTTP response header. Valid values are DENY and SAMEORIGIN.

    For more information about these values, see X-Frame-Options in the MDN Web Docs.

Instances

Instances details
FromXML ResponseHeadersPolicyFrameOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions

ToXML ResponseHeadersPolicyFrameOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions

Generic ResponseHeadersPolicyFrameOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions

Associated Types

type Rep ResponseHeadersPolicyFrameOptions :: Type -> Type #

Read ResponseHeadersPolicyFrameOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions

Show ResponseHeadersPolicyFrameOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions

NFData ResponseHeadersPolicyFrameOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions

Eq ResponseHeadersPolicyFrameOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions

Hashable ResponseHeadersPolicyFrameOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions

type Rep ResponseHeadersPolicyFrameOptions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions

type Rep ResponseHeadersPolicyFrameOptions = D1 ('MetaData "ResponseHeadersPolicyFrameOptions" "Amazonka.CloudFront.Types.ResponseHeadersPolicyFrameOptions" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyFrameOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "override") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "frameOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FrameOptionsList)))

newResponseHeadersPolicyFrameOptions Source #

Create a value of ResponseHeadersPolicyFrameOptions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:override:ResponseHeadersPolicyFrameOptions', responseHeadersPolicyFrameOptions_override - A Boolean that determines whether CloudFront overrides the X-Frame-Options HTTP response header received from the origin with the one specified in this response headers policy.

$sel:frameOption:ResponseHeadersPolicyFrameOptions', responseHeadersPolicyFrameOptions_frameOption - The value of the X-Frame-Options HTTP response header. Valid values are DENY and SAMEORIGIN.

For more information about these values, see X-Frame-Options in the MDN Web Docs.

responseHeadersPolicyFrameOptions_override :: Lens' ResponseHeadersPolicyFrameOptions Bool Source #

A Boolean that determines whether CloudFront overrides the X-Frame-Options HTTP response header received from the origin with the one specified in this response headers policy.

responseHeadersPolicyFrameOptions_frameOption :: Lens' ResponseHeadersPolicyFrameOptions FrameOptionsList Source #

The value of the X-Frame-Options HTTP response header. Valid values are DENY and SAMEORIGIN.

For more information about these values, see X-Frame-Options in the MDN Web Docs.

ResponseHeadersPolicyList

data ResponseHeadersPolicyList Source #

A list of response headers policies.

See: newResponseHeadersPolicyList smart constructor.

Constructors

ResponseHeadersPolicyList' 

Fields

  • items :: Maybe [ResponseHeadersPolicySummary]

    The response headers policies in the list.

  • nextMarker :: Maybe Text

    If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing response headers policies where you left off.

  • maxItems :: Int

    The maximum number of response headers policies requested.

  • quantity :: Int

    The number of response headers policies returned.

Instances

Instances details
FromXML ResponseHeadersPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyList

Generic ResponseHeadersPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyList

Associated Types

type Rep ResponseHeadersPolicyList :: Type -> Type #

Read ResponseHeadersPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyList

Show ResponseHeadersPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyList

NFData ResponseHeadersPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyList

Eq ResponseHeadersPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyList

Hashable ResponseHeadersPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyList

type Rep ResponseHeadersPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyList

type Rep ResponseHeadersPolicyList = D1 ('MetaData "ResponseHeadersPolicyList" "Amazonka.CloudFront.Types.ResponseHeadersPolicyList" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResponseHeadersPolicySummary])) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newResponseHeadersPolicyList Source #

Create a value of ResponseHeadersPolicyList with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:items:ResponseHeadersPolicyList', responseHeadersPolicyList_items - The response headers policies in the list.

$sel:nextMarker:ResponseHeadersPolicyList', responseHeadersPolicyList_nextMarker - If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing response headers policies where you left off.

$sel:maxItems:ResponseHeadersPolicyList', responseHeadersPolicyList_maxItems - The maximum number of response headers policies requested.

$sel:quantity:ResponseHeadersPolicyList', responseHeadersPolicyList_quantity - The number of response headers policies returned.

responseHeadersPolicyList_nextMarker :: Lens' ResponseHeadersPolicyList (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 response headers policies where you left off.

responseHeadersPolicyList_maxItems :: Lens' ResponseHeadersPolicyList Int Source #

The maximum number of response headers policies requested.

responseHeadersPolicyList_quantity :: Lens' ResponseHeadersPolicyList Int Source #

The number of response headers policies returned.

ResponseHeadersPolicyReferrerPolicy

data ResponseHeadersPolicyReferrerPolicy Source #

Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header's value.

For more information about the Referrer-Policy HTTP response header, see Referrer-Policy in the MDN Web Docs.

See: newResponseHeadersPolicyReferrerPolicy smart constructor.

Constructors

ResponseHeadersPolicyReferrerPolicy' 

Fields

  • override :: Bool

    A Boolean that determines whether CloudFront overrides the Referrer-Policy HTTP response header received from the origin with the one specified in this response headers policy.

  • referrerPolicy :: ReferrerPolicyList

    The value of the Referrer-Policy HTTP response header. Valid values are:

    • no-referrer
    • no-referrer-when-downgrade
    • origin
    • origin-when-cross-origin
    • same-origin
    • strict-origin
    • strict-origin-when-cross-origin
    • unsafe-url

    For more information about these values, see Referrer-Policy in the MDN Web Docs.

Instances

Instances details
FromXML ResponseHeadersPolicyReferrerPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy

ToXML ResponseHeadersPolicyReferrerPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy

Generic ResponseHeadersPolicyReferrerPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy

Read ResponseHeadersPolicyReferrerPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy

Show ResponseHeadersPolicyReferrerPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy

NFData ResponseHeadersPolicyReferrerPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy

Eq ResponseHeadersPolicyReferrerPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy

Hashable ResponseHeadersPolicyReferrerPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy

type Rep ResponseHeadersPolicyReferrerPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy

type Rep ResponseHeadersPolicyReferrerPolicy = D1 ('MetaData "ResponseHeadersPolicyReferrerPolicy" "Amazonka.CloudFront.Types.ResponseHeadersPolicyReferrerPolicy" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyReferrerPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "override") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "referrerPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReferrerPolicyList)))

newResponseHeadersPolicyReferrerPolicy Source #

Create a value of ResponseHeadersPolicyReferrerPolicy with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:override:ResponseHeadersPolicyReferrerPolicy', responseHeadersPolicyReferrerPolicy_override - A Boolean that determines whether CloudFront overrides the Referrer-Policy HTTP response header received from the origin with the one specified in this response headers policy.

$sel:referrerPolicy:ResponseHeadersPolicyReferrerPolicy', responseHeadersPolicyReferrerPolicy_referrerPolicy - The value of the Referrer-Policy HTTP response header. Valid values are:

  • no-referrer
  • no-referrer-when-downgrade
  • origin
  • origin-when-cross-origin
  • same-origin
  • strict-origin
  • strict-origin-when-cross-origin
  • unsafe-url

For more information about these values, see Referrer-Policy in the MDN Web Docs.

responseHeadersPolicyReferrerPolicy_override :: Lens' ResponseHeadersPolicyReferrerPolicy Bool Source #

A Boolean that determines whether CloudFront overrides the Referrer-Policy HTTP response header received from the origin with the one specified in this response headers policy.

responseHeadersPolicyReferrerPolicy_referrerPolicy :: Lens' ResponseHeadersPolicyReferrerPolicy ReferrerPolicyList Source #

The value of the Referrer-Policy HTTP response header. Valid values are:

  • no-referrer
  • no-referrer-when-downgrade
  • origin
  • origin-when-cross-origin
  • same-origin
  • strict-origin
  • strict-origin-when-cross-origin
  • unsafe-url

For more information about these values, see Referrer-Policy in the MDN Web Docs.

ResponseHeadersPolicyRemoveHeader

data ResponseHeadersPolicyRemoveHeader Source #

The name of an HTTP header that CloudFront removes from HTTP responses to requests that match the cache behavior that this response headers policy is attached to.

See: newResponseHeadersPolicyRemoveHeader smart constructor.

Constructors

ResponseHeadersPolicyRemoveHeader' 

Fields

Instances

Instances details
FromXML ResponseHeadersPolicyRemoveHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeader

ToXML ResponseHeadersPolicyRemoveHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeader

Generic ResponseHeadersPolicyRemoveHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeader

Associated Types

type Rep ResponseHeadersPolicyRemoveHeader :: Type -> Type #

Read ResponseHeadersPolicyRemoveHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeader

Show ResponseHeadersPolicyRemoveHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeader

NFData ResponseHeadersPolicyRemoveHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeader

Eq ResponseHeadersPolicyRemoveHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeader

Hashable ResponseHeadersPolicyRemoveHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeader

type Rep ResponseHeadersPolicyRemoveHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeader

type Rep ResponseHeadersPolicyRemoveHeader = D1 ('MetaData "ResponseHeadersPolicyRemoveHeader" "Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeader" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyRemoveHeader'" 'PrefixI 'True) (S1 ('MetaSel ('Just "header") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newResponseHeadersPolicyRemoveHeader Source #

Create a value of ResponseHeadersPolicyRemoveHeader with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:header:ResponseHeadersPolicyRemoveHeader', responseHeadersPolicyRemoveHeader_header - The HTTP header name.

ResponseHeadersPolicyRemoveHeadersConfig

data ResponseHeadersPolicyRemoveHeadersConfig Source #

A list of HTTP header names that CloudFront removes from HTTP responses to requests that match the cache behavior that this response headers policy is attached to.

See: newResponseHeadersPolicyRemoveHeadersConfig smart constructor.

Constructors

ResponseHeadersPolicyRemoveHeadersConfig' 

Fields

Instances

Instances details
FromXML ResponseHeadersPolicyRemoveHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeadersConfig

ToXML ResponseHeadersPolicyRemoveHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeadersConfig

Generic ResponseHeadersPolicyRemoveHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeadersConfig

Read ResponseHeadersPolicyRemoveHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeadersConfig

Show ResponseHeadersPolicyRemoveHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeadersConfig

NFData ResponseHeadersPolicyRemoveHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeadersConfig

Eq ResponseHeadersPolicyRemoveHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeadersConfig

Hashable ResponseHeadersPolicyRemoveHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeadersConfig

type Rep ResponseHeadersPolicyRemoveHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeadersConfig

type Rep ResponseHeadersPolicyRemoveHeadersConfig = D1 ('MetaData "ResponseHeadersPolicyRemoveHeadersConfig" "Amazonka.CloudFront.Types.ResponseHeadersPolicyRemoveHeadersConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyRemoveHeadersConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResponseHeadersPolicyRemoveHeader])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newResponseHeadersPolicyRemoveHeadersConfig Source #

Create a value of ResponseHeadersPolicyRemoveHeadersConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:items:ResponseHeadersPolicyRemoveHeadersConfig', responseHeadersPolicyRemoveHeadersConfig_items - The list of HTTP header names.

$sel:quantity:ResponseHeadersPolicyRemoveHeadersConfig', responseHeadersPolicyRemoveHeadersConfig_quantity - The number of HTTP header names in the list.

ResponseHeadersPolicySecurityHeadersConfig

data ResponseHeadersPolicySecurityHeadersConfig Source #

A configuration for a set of security-related HTTP response headers. CloudFront adds these headers to HTTP responses that it sends for requests that match a cache behavior associated with this response headers policy.

See: newResponseHeadersPolicySecurityHeadersConfig smart constructor.

Constructors

ResponseHeadersPolicySecurityHeadersConfig' 

Fields

Instances

Instances details
FromXML ResponseHeadersPolicySecurityHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig

ToXML ResponseHeadersPolicySecurityHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig

Generic ResponseHeadersPolicySecurityHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig

Read ResponseHeadersPolicySecurityHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig

Show ResponseHeadersPolicySecurityHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig

NFData ResponseHeadersPolicySecurityHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig

Eq ResponseHeadersPolicySecurityHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig

Hashable ResponseHeadersPolicySecurityHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig

type Rep ResponseHeadersPolicySecurityHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySecurityHeadersConfig

newResponseHeadersPolicySecurityHeadersConfig :: ResponseHeadersPolicySecurityHeadersConfig Source #

Create a value of ResponseHeadersPolicySecurityHeadersConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

ResponseHeadersPolicySecurityHeadersConfig, responseHeadersPolicySecurityHeadersConfig_contentSecurityPolicy - The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

For more information about the Content-Security-Policy HTTP response header, see Content-Security-Policy in the MDN Web Docs.

$sel:contentTypeOptions:ResponseHeadersPolicySecurityHeadersConfig', responseHeadersPolicySecurityHeadersConfig_contentTypeOptions - Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff.

For more information about the X-Content-Type-Options HTTP response header, see X-Content-Type-Options in the MDN Web Docs.

$sel:frameOptions:ResponseHeadersPolicySecurityHeadersConfig', responseHeadersPolicySecurityHeadersConfig_frameOptions - Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header's value.

For more information about the X-Frame-Options HTTP response header, see X-Frame-Options in the MDN Web Docs.

ResponseHeadersPolicySecurityHeadersConfig, responseHeadersPolicySecurityHeadersConfig_referrerPolicy - Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header's value.

For more information about the Referrer-Policy HTTP response header, see Referrer-Policy in the MDN Web Docs.

$sel:strictTransportSecurity:ResponseHeadersPolicySecurityHeadersConfig', responseHeadersPolicySecurityHeadersConfig_strictTransportSecurity - Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header's value.

For more information about the Strict-Transport-Security HTTP response header, see Strict-Transport-Security in the MDN Web Docs.

$sel:xSSProtection:ResponseHeadersPolicySecurityHeadersConfig', responseHeadersPolicySecurityHeadersConfig_xSSProtection - Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the header's value.

For more information about the X-XSS-Protection HTTP response header, see X-XSS-Protection in the MDN Web Docs.

responseHeadersPolicySecurityHeadersConfig_contentSecurityPolicy :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyContentSecurityPolicy) Source #

The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

For more information about the Content-Security-Policy HTTP response header, see Content-Security-Policy in the MDN Web Docs.

responseHeadersPolicySecurityHeadersConfig_contentTypeOptions :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyContentTypeOptions) Source #

Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff.

For more information about the X-Content-Type-Options HTTP response header, see X-Content-Type-Options in the MDN Web Docs.

responseHeadersPolicySecurityHeadersConfig_frameOptions :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyFrameOptions) Source #

Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header's value.

For more information about the X-Frame-Options HTTP response header, see X-Frame-Options in the MDN Web Docs.

responseHeadersPolicySecurityHeadersConfig_referrerPolicy :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyReferrerPolicy) Source #

Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header's value.

For more information about the Referrer-Policy HTTP response header, see Referrer-Policy in the MDN Web Docs.

responseHeadersPolicySecurityHeadersConfig_strictTransportSecurity :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyStrictTransportSecurity) Source #

Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header's value.

For more information about the Strict-Transport-Security HTTP response header, see Strict-Transport-Security in the MDN Web Docs.

responseHeadersPolicySecurityHeadersConfig_xSSProtection :: Lens' ResponseHeadersPolicySecurityHeadersConfig (Maybe ResponseHeadersPolicyXSSProtection) Source #

Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the header's value.

For more information about the X-XSS-Protection HTTP response header, see X-XSS-Protection in the MDN Web Docs.

ResponseHeadersPolicyServerTimingHeadersConfig

data ResponseHeadersPolicyServerTimingHeadersConfig Source #

A configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront. CloudFront adds this header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy.

You can use the Server-Timing header to view metrics that can help you gain insights about the behavior and performance of CloudFront. For example, you can see which cache layer served a cache hit, or the first byte latency from the origin when there was a cache miss. You can use the metrics in the Server-Timing header to troubleshoot issues or test the efficiency of your CloudFront configuration. For more information, see Server-Timing header in the Amazon CloudFront Developer Guide.

See: newResponseHeadersPolicyServerTimingHeadersConfig smart constructor.

Constructors

ResponseHeadersPolicyServerTimingHeadersConfig' 

Fields

  • samplingRate :: Maybe Double

    A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the Server-Timing header to. When you set the sampling rate to 100, CloudFront adds the Server-Timing header to the HTTP response for every request that matches the cache behavior that this response headers policy is attached to. When you set it to 50, CloudFront adds the header to 50% of the responses for requests that match the cache behavior. You can set the sampling rate to any number 0–100 with up to four decimal places.

  • enabled :: Bool

    A Boolean that determines whether CloudFront adds the Server-Timing header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy.

Instances

Instances details
FromXML ResponseHeadersPolicyServerTimingHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyServerTimingHeadersConfig

ToXML ResponseHeadersPolicyServerTimingHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyServerTimingHeadersConfig

Generic ResponseHeadersPolicyServerTimingHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyServerTimingHeadersConfig

Read ResponseHeadersPolicyServerTimingHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyServerTimingHeadersConfig

Show ResponseHeadersPolicyServerTimingHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyServerTimingHeadersConfig

NFData ResponseHeadersPolicyServerTimingHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyServerTimingHeadersConfig

Eq ResponseHeadersPolicyServerTimingHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyServerTimingHeadersConfig

Hashable ResponseHeadersPolicyServerTimingHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyServerTimingHeadersConfig

type Rep ResponseHeadersPolicyServerTimingHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyServerTimingHeadersConfig

type Rep ResponseHeadersPolicyServerTimingHeadersConfig = D1 ('MetaData "ResponseHeadersPolicyServerTimingHeadersConfig" "Amazonka.CloudFront.Types.ResponseHeadersPolicyServerTimingHeadersConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyServerTimingHeadersConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "samplingRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newResponseHeadersPolicyServerTimingHeadersConfig Source #

Create a value of ResponseHeadersPolicyServerTimingHeadersConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:samplingRate:ResponseHeadersPolicyServerTimingHeadersConfig', responseHeadersPolicyServerTimingHeadersConfig_samplingRate - A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the Server-Timing header to. When you set the sampling rate to 100, CloudFront adds the Server-Timing header to the HTTP response for every request that matches the cache behavior that this response headers policy is attached to. When you set it to 50, CloudFront adds the header to 50% of the responses for requests that match the cache behavior. You can set the sampling rate to any number 0–100 with up to four decimal places.

$sel:enabled:ResponseHeadersPolicyServerTimingHeadersConfig', responseHeadersPolicyServerTimingHeadersConfig_enabled - A Boolean that determines whether CloudFront adds the Server-Timing header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy.

responseHeadersPolicyServerTimingHeadersConfig_samplingRate :: Lens' ResponseHeadersPolicyServerTimingHeadersConfig (Maybe Double) Source #

A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the Server-Timing header to. When you set the sampling rate to 100, CloudFront adds the Server-Timing header to the HTTP response for every request that matches the cache behavior that this response headers policy is attached to. When you set it to 50, CloudFront adds the header to 50% of the responses for requests that match the cache behavior. You can set the sampling rate to any number 0–100 with up to four decimal places.

responseHeadersPolicyServerTimingHeadersConfig_enabled :: Lens' ResponseHeadersPolicyServerTimingHeadersConfig Bool Source #

A Boolean that determines whether CloudFront adds the Server-Timing header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy.

ResponseHeadersPolicyStrictTransportSecurity

data ResponseHeadersPolicyStrictTransportSecurity Source #

Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header's value.

For more information about the Strict-Transport-Security HTTP response header, see Strict-Transport-Security in the MDN Web Docs.

See: newResponseHeadersPolicyStrictTransportSecurity smart constructor.

Constructors

ResponseHeadersPolicyStrictTransportSecurity' 

Fields

  • includeSubdomains :: Maybe Bool

    A Boolean that determines whether CloudFront includes the includeSubDomains directive in the Strict-Transport-Security HTTP response header.

  • preload :: Maybe Bool

    A Boolean that determines whether CloudFront includes the preload directive in the Strict-Transport-Security HTTP response header.

  • override :: Bool

    A Boolean that determines whether CloudFront overrides the Strict-Transport-Security HTTP response header received from the origin with the one specified in this response headers policy.

  • accessControlMaxAgeSec :: Int

    A number that CloudFront uses as the value for the max-age directive in the Strict-Transport-Security HTTP response header.

Instances

Instances details
FromXML ResponseHeadersPolicyStrictTransportSecurity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity

ToXML ResponseHeadersPolicyStrictTransportSecurity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity

Generic ResponseHeadersPolicyStrictTransportSecurity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity

Read ResponseHeadersPolicyStrictTransportSecurity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity

Show ResponseHeadersPolicyStrictTransportSecurity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity

NFData ResponseHeadersPolicyStrictTransportSecurity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity

Eq ResponseHeadersPolicyStrictTransportSecurity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity

Hashable ResponseHeadersPolicyStrictTransportSecurity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity

type Rep ResponseHeadersPolicyStrictTransportSecurity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity

type Rep ResponseHeadersPolicyStrictTransportSecurity = D1 ('MetaData "ResponseHeadersPolicyStrictTransportSecurity" "Amazonka.CloudFront.Types.ResponseHeadersPolicyStrictTransportSecurity" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyStrictTransportSecurity'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "includeSubdomains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "preload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "override") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "accessControlMaxAgeSec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newResponseHeadersPolicyStrictTransportSecurity Source #

Create a value of ResponseHeadersPolicyStrictTransportSecurity with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:includeSubdomains:ResponseHeadersPolicyStrictTransportSecurity', responseHeadersPolicyStrictTransportSecurity_includeSubdomains - A Boolean that determines whether CloudFront includes the includeSubDomains directive in the Strict-Transport-Security HTTP response header.

$sel:preload:ResponseHeadersPolicyStrictTransportSecurity', responseHeadersPolicyStrictTransportSecurity_preload - A Boolean that determines whether CloudFront includes the preload directive in the Strict-Transport-Security HTTP response header.

$sel:override:ResponseHeadersPolicyStrictTransportSecurity', responseHeadersPolicyStrictTransportSecurity_override - A Boolean that determines whether CloudFront overrides the Strict-Transport-Security HTTP response header received from the origin with the one specified in this response headers policy.

$sel:accessControlMaxAgeSec:ResponseHeadersPolicyStrictTransportSecurity', responseHeadersPolicyStrictTransportSecurity_accessControlMaxAgeSec - A number that CloudFront uses as the value for the max-age directive in the Strict-Transport-Security HTTP response header.

responseHeadersPolicyStrictTransportSecurity_includeSubdomains :: Lens' ResponseHeadersPolicyStrictTransportSecurity (Maybe Bool) Source #

A Boolean that determines whether CloudFront includes the includeSubDomains directive in the Strict-Transport-Security HTTP response header.

responseHeadersPolicyStrictTransportSecurity_preload :: Lens' ResponseHeadersPolicyStrictTransportSecurity (Maybe Bool) Source #

A Boolean that determines whether CloudFront includes the preload directive in the Strict-Transport-Security HTTP response header.

responseHeadersPolicyStrictTransportSecurity_override :: Lens' ResponseHeadersPolicyStrictTransportSecurity Bool Source #

A Boolean that determines whether CloudFront overrides the Strict-Transport-Security HTTP response header received from the origin with the one specified in this response headers policy.

responseHeadersPolicyStrictTransportSecurity_accessControlMaxAgeSec :: Lens' ResponseHeadersPolicyStrictTransportSecurity Int Source #

A number that CloudFront uses as the value for the max-age directive in the Strict-Transport-Security HTTP response header.

ResponseHeadersPolicySummary

data ResponseHeadersPolicySummary Source #

Contains a response headers policy.

See: newResponseHeadersPolicySummary smart constructor.

Constructors

ResponseHeadersPolicySummary' 

Fields

Instances

Instances details
FromXML ResponseHeadersPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySummary

Generic ResponseHeadersPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySummary

Associated Types

type Rep ResponseHeadersPolicySummary :: Type -> Type #

Read ResponseHeadersPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySummary

Show ResponseHeadersPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySummary

NFData ResponseHeadersPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySummary

Eq ResponseHeadersPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySummary

Hashable ResponseHeadersPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySummary

type Rep ResponseHeadersPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicySummary

type Rep ResponseHeadersPolicySummary = D1 ('MetaData "ResponseHeadersPolicySummary" "Amazonka.CloudFront.Types.ResponseHeadersPolicySummary" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicySummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResponseHeadersPolicyType) :*: S1 ('MetaSel ('Just "responseHeadersPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResponseHeadersPolicy)))

newResponseHeadersPolicySummary Source #

Create a value of ResponseHeadersPolicySummary with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:type':ResponseHeadersPolicySummary', responseHeadersPolicySummary_type - The type of response headers policy, either managed (created by Amazon Web Services) or custom (created in this Amazon Web Services account).

$sel:responseHeadersPolicy:ResponseHeadersPolicySummary', responseHeadersPolicySummary_responseHeadersPolicy - The response headers policy.

responseHeadersPolicySummary_type :: Lens' ResponseHeadersPolicySummary ResponseHeadersPolicyType Source #

The type of response headers policy, either managed (created by Amazon Web Services) or custom (created in this Amazon Web Services account).

ResponseHeadersPolicyXSSProtection

data ResponseHeadersPolicyXSSProtection Source #

Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the header's value.

For more information about the X-XSS-Protection HTTP response header, see X-XSS-Protection in the MDN Web Docs.

See: newResponseHeadersPolicyXSSProtection smart constructor.

Constructors

ResponseHeadersPolicyXSSProtection' 

Fields

  • modeBlock :: Maybe Bool

    A Boolean that determines whether CloudFront includes the mode=block directive in the X-XSS-Protection header.

    For more information about this directive, see X-XSS-Protection in the MDN Web Docs.

  • reportUri :: Maybe Text

    A reporting URI, which CloudFront uses as the value of the report directive in the X-XSS-Protection header.

    You cannot specify a ReportUri when ModeBlock is true.

    For more information about using a reporting URL, see X-XSS-Protection in the MDN Web Docs.

  • override :: Bool

    A Boolean that determines whether CloudFront overrides the X-XSS-Protection HTTP response header received from the origin with the one specified in this response headers policy.

  • protection :: Bool

    A Boolean that determines the value of the X-XSS-Protection HTTP response header. When this setting is true, the value of the X-XSS-Protection header is 1. When this setting is false, the value of the X-XSS-Protection header is 0.

    For more information about these settings, see X-XSS-Protection in the MDN Web Docs.

Instances

Instances details
FromXML ResponseHeadersPolicyXSSProtection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyXSSProtection

ToXML ResponseHeadersPolicyXSSProtection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyXSSProtection

Generic ResponseHeadersPolicyXSSProtection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyXSSProtection

Associated Types

type Rep ResponseHeadersPolicyXSSProtection :: Type -> Type #

Read ResponseHeadersPolicyXSSProtection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyXSSProtection

Show ResponseHeadersPolicyXSSProtection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyXSSProtection

NFData ResponseHeadersPolicyXSSProtection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyXSSProtection

Eq ResponseHeadersPolicyXSSProtection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyXSSProtection

Hashable ResponseHeadersPolicyXSSProtection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyXSSProtection

type Rep ResponseHeadersPolicyXSSProtection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ResponseHeadersPolicyXSSProtection

type Rep ResponseHeadersPolicyXSSProtection = D1 ('MetaData "ResponseHeadersPolicyXSSProtection" "Amazonka.CloudFront.Types.ResponseHeadersPolicyXSSProtection" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ResponseHeadersPolicyXSSProtection'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "modeBlock") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "reportUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "override") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "protection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))

newResponseHeadersPolicyXSSProtection Source #

Create a value of ResponseHeadersPolicyXSSProtection with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:modeBlock:ResponseHeadersPolicyXSSProtection', responseHeadersPolicyXSSProtection_modeBlock - A Boolean that determines whether CloudFront includes the mode=block directive in the X-XSS-Protection header.

For more information about this directive, see X-XSS-Protection in the MDN Web Docs.

$sel:reportUri:ResponseHeadersPolicyXSSProtection', responseHeadersPolicyXSSProtection_reportUri - A reporting URI, which CloudFront uses as the value of the report directive in the X-XSS-Protection header.

You cannot specify a ReportUri when ModeBlock is true.

For more information about using a reporting URL, see X-XSS-Protection in the MDN Web Docs.

$sel:override:ResponseHeadersPolicyXSSProtection', responseHeadersPolicyXSSProtection_override - A Boolean that determines whether CloudFront overrides the X-XSS-Protection HTTP response header received from the origin with the one specified in this response headers policy.

$sel:protection:ResponseHeadersPolicyXSSProtection', responseHeadersPolicyXSSProtection_protection - A Boolean that determines the value of the X-XSS-Protection HTTP response header. When this setting is true, the value of the X-XSS-Protection header is 1. When this setting is false, the value of the X-XSS-Protection header is 0.

For more information about these settings, see X-XSS-Protection in the MDN Web Docs.

responseHeadersPolicyXSSProtection_modeBlock :: Lens' ResponseHeadersPolicyXSSProtection (Maybe Bool) Source #

A Boolean that determines whether CloudFront includes the mode=block directive in the X-XSS-Protection header.

For more information about this directive, see X-XSS-Protection in the MDN Web Docs.

responseHeadersPolicyXSSProtection_reportUri :: Lens' ResponseHeadersPolicyXSSProtection (Maybe Text) Source #

A reporting URI, which CloudFront uses as the value of the report directive in the X-XSS-Protection header.

You cannot specify a ReportUri when ModeBlock is true.

For more information about using a reporting URL, see X-XSS-Protection in the MDN Web Docs.

responseHeadersPolicyXSSProtection_override :: Lens' ResponseHeadersPolicyXSSProtection Bool Source #

A Boolean that determines whether CloudFront overrides the X-XSS-Protection HTTP response header received from the origin with the one specified in this response headers policy.

responseHeadersPolicyXSSProtection_protection :: Lens' ResponseHeadersPolicyXSSProtection Bool Source #

A Boolean that determines the value of the X-XSS-Protection HTTP response header. When this setting is true, the value of the X-XSS-Protection header is 1. When this setting is false, the value of the X-XSS-Protection header is 0.

For more information about these settings, see X-XSS-Protection in the MDN Web Docs.

Restrictions

data Restrictions Source #

A complex type that identifies ways in which you want to restrict distribution of your content.

See: newRestrictions smart constructor.

Constructors

Restrictions' 

Fields

  • geoRestriction :: 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.

Instances

Instances details
FromXML Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

ToXML Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Methods

toXML :: Restrictions -> XML #

Generic Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Associated Types

type Rep Restrictions :: Type -> Type #

Read Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Show Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

NFData Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Methods

rnf :: Restrictions -> () #

Eq Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Hashable Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

type Rep Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

type Rep Restrictions = D1 ('MetaData "Restrictions" "Amazonka.CloudFront.Types.Restrictions" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "Restrictions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "geoRestriction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GeoRestriction)))

newRestrictions Source #

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

data 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.

See: newS3Origin smart constructor.

Constructors

S3Origin' 

Fields

  • domainName :: Text

    The DNS name of the Amazon S3 origin.

  • originAccessIdentity :: Text

    The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront.

    If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

    To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

    To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

    For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon CloudFront Developer Guide.

Instances

Instances details
FromXML S3Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3Origin

ToXML S3Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3Origin

Methods

toXML :: S3Origin -> XML #

Generic S3Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3Origin

Associated Types

type Rep S3Origin :: Type -> Type #

Methods

from :: S3Origin -> Rep S3Origin x #

to :: Rep S3Origin x -> S3Origin #

Read S3Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3Origin

Show S3Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3Origin

NFData S3Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3Origin

Methods

rnf :: S3Origin -> () #

Eq S3Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3Origin

Hashable S3Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3Origin

Methods

hashWithSalt :: Int -> S3Origin -> Int #

hash :: S3Origin -> Int #

type Rep S3Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3Origin

type Rep S3Origin = D1 ('MetaData "S3Origin" "Amazonka.CloudFront.Types.S3Origin" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "S3Origin'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "originAccessIdentity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newS3Origin Source #

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_domainName :: Lens' S3Origin Text Source #

The DNS name of the Amazon S3 origin.

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.

Constructors

S3OriginConfig' 

Fields

  • originAccessIdentity :: Text

    The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that viewers can only access objects in an Amazon S3 bucket through CloudFront. The format of the value is:

    origin-access-identity/cloudfront/ID-of-origin-access-identity

    where ID-of-origin-access-identity is the value that CloudFront returned in the ID element when you created the origin access identity.

    If you want viewers to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

    To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

    To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

    For more information about the origin access identity, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

Instances

Instances details
FromXML S3OriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3OriginConfig

ToXML S3OriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3OriginConfig

Methods

toXML :: S3OriginConfig -> XML #

Generic S3OriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3OriginConfig

Associated Types

type Rep S3OriginConfig :: Type -> Type #

Read S3OriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3OriginConfig

Show S3OriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3OriginConfig

NFData S3OriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3OriginConfig

Methods

rnf :: S3OriginConfig -> () #

Eq S3OriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3OriginConfig

Hashable S3OriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3OriginConfig

type Rep S3OriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3OriginConfig

type Rep S3OriginConfig = D1 ('MetaData "S3OriginConfig" "Amazonka.CloudFront.Types.S3OriginConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "S3OriginConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "originAccessIdentity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newS3OriginConfig Source #

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.

SessionStickinessConfig

data SessionStickinessConfig Source #

Session stickiness provides the ability to define multiple requests from a single viewer as a single session. This prevents the potentially inconsistent experience of sending some of a given user's requests to your staging distribution, while others are sent to your primary distribution. Define the session duration using TTL values.

See: newSessionStickinessConfig smart constructor.

Constructors

SessionStickinessConfig' 

Fields

  • idleTTL :: Int

    The amount of time after which you want sessions to cease if no requests are received. Allowed values are 300–3600 seconds (5–60 minutes).

    The value must be less than or equal to MaximumTTL.

  • maximumTTL :: Int

    The maximum amount of time to consider requests from the viewer as being part of the same session. Allowed values are 300–3600 seconds (5–60 minutes).

    The value must be less than or equal to IdleTTL.

Instances

Instances details
FromXML SessionStickinessConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SessionStickinessConfig

ToXML SessionStickinessConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SessionStickinessConfig

Generic SessionStickinessConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SessionStickinessConfig

Associated Types

type Rep SessionStickinessConfig :: Type -> Type #

Read SessionStickinessConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SessionStickinessConfig

Show SessionStickinessConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SessionStickinessConfig

NFData SessionStickinessConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SessionStickinessConfig

Methods

rnf :: SessionStickinessConfig -> () #

Eq SessionStickinessConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SessionStickinessConfig

Hashable SessionStickinessConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SessionStickinessConfig

type Rep SessionStickinessConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SessionStickinessConfig

type Rep SessionStickinessConfig = D1 ('MetaData "SessionStickinessConfig" "Amazonka.CloudFront.Types.SessionStickinessConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "SessionStickinessConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "idleTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "maximumTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newSessionStickinessConfig Source #

Create a value of SessionStickinessConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:idleTTL:SessionStickinessConfig', sessionStickinessConfig_idleTTL - The amount of time after which you want sessions to cease if no requests are received. Allowed values are 300–3600 seconds (5–60 minutes).

The value must be less than or equal to MaximumTTL.

$sel:maximumTTL:SessionStickinessConfig', sessionStickinessConfig_maximumTTL - The maximum amount of time to consider requests from the viewer as being part of the same session. Allowed values are 300–3600 seconds (5–60 minutes).

The value must be less than or equal to IdleTTL.

sessionStickinessConfig_idleTTL :: Lens' SessionStickinessConfig Int Source #

The amount of time after which you want sessions to cease if no requests are received. Allowed values are 300–3600 seconds (5–60 minutes).

The value must be less than or equal to MaximumTTL.

sessionStickinessConfig_maximumTTL :: Lens' SessionStickinessConfig Int Source #

The maximum amount of time to consider requests from the viewer as being part of the same session. Allowed values are 300–3600 seconds (5–60 minutes).

The value must be less than or equal to IdleTTL.

Signer

data Signer Source #

A list of Amazon Web Services accounts and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.

See: newSigner smart constructor.

Constructors

Signer' 

Fields

  • awsAccountNumber :: Maybe Text

    An Amazon Web Services account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If the Amazon Web Services account that owns the key pairs is the same account that owns the CloudFront distribution, the value of this field is self.

  • keyPairIds :: Maybe KeyPairIds

    A list of CloudFront key pair identifiers.

Instances

Instances details
FromXML Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Generic Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Associated Types

type Rep Signer :: Type -> Type #

Methods

from :: Signer -> Rep Signer x #

to :: Rep Signer x -> Signer #

Read Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Show Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

NFData Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Methods

rnf :: Signer -> () #

Eq Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Methods

(==) :: Signer -> Signer -> Bool #

(/=) :: Signer -> Signer -> Bool #

Hashable Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Methods

hashWithSalt :: Int -> Signer -> Int #

hash :: Signer -> Int #

type Rep Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

type Rep Signer = D1 ('MetaData "Signer" "Amazonka.CloudFront.Types.Signer" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" '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))))

newSigner :: Signer Source #

Create a value of Signer with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:awsAccountNumber:Signer', signer_awsAccountNumber - An Amazon Web Services account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If the Amazon Web Services account that owns the key pairs is the same account that owns the CloudFront distribution, the value of this field is self.

$sel:keyPairIds:Signer', signer_keyPairIds - A list of CloudFront key pair identifiers.

signer_awsAccountNumber :: Lens' Signer (Maybe Text) Source #

An Amazon Web Services account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If the Amazon Web Services account that owns the key pairs is the same account that owns the CloudFront distribution, the value of this field is self.

signer_keyPairIds :: Lens' Signer (Maybe KeyPairIds) Source #

A list of CloudFront key pair identifiers.

StagingDistributionDnsNames

data StagingDistributionDnsNames Source #

The CloudFront domain name of the staging distribution.

See: newStagingDistributionDnsNames smart constructor.

Constructors

StagingDistributionDnsNames' 

Fields

  • items :: Maybe [Text]

    The CloudFront domain name of the staging distribution.

  • quantity :: Int

    The number of CloudFront domain names in your staging distribution.

Instances

Instances details
FromXML StagingDistributionDnsNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StagingDistributionDnsNames

ToXML StagingDistributionDnsNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StagingDistributionDnsNames

Generic StagingDistributionDnsNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StagingDistributionDnsNames

Associated Types

type Rep StagingDistributionDnsNames :: Type -> Type #

Read StagingDistributionDnsNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StagingDistributionDnsNames

Show StagingDistributionDnsNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StagingDistributionDnsNames

NFData StagingDistributionDnsNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StagingDistributionDnsNames

Eq StagingDistributionDnsNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StagingDistributionDnsNames

Hashable StagingDistributionDnsNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StagingDistributionDnsNames

type Rep StagingDistributionDnsNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StagingDistributionDnsNames

type Rep StagingDistributionDnsNames = D1 ('MetaData "StagingDistributionDnsNames" "Amazonka.CloudFront.Types.StagingDistributionDnsNames" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "StagingDistributionDnsNames'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStagingDistributionDnsNames Source #

Create a value of StagingDistributionDnsNames with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:items:StagingDistributionDnsNames', stagingDistributionDnsNames_items - The CloudFront domain name of the staging distribution.

$sel:quantity:StagingDistributionDnsNames', stagingDistributionDnsNames_quantity - The number of CloudFront domain names in your staging distribution.

stagingDistributionDnsNames_items :: Lens' StagingDistributionDnsNames (Maybe [Text]) Source #

The CloudFront domain name of the staging distribution.

stagingDistributionDnsNames_quantity :: Lens' StagingDistributionDnsNames Int Source #

The number of CloudFront domain names in your staging distribution.

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.

Constructors

StatusCodes' 

Fields

Instances

Instances details
FromXML StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

ToXML StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

Methods

toXML :: StatusCodes -> XML #

Generic StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

Associated Types

type Rep StatusCodes :: Type -> Type #

Read StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

Show StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

NFData StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

Methods

rnf :: StatusCodes -> () #

Eq StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

Hashable StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

type Rep StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

type Rep StatusCodes = D1 ('MetaData "StatusCodes" "Amazonka.CloudFront.Types.StatusCodes" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "StatusCodes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Int))))

newStatusCodes Source #

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.

Constructors

StreamingDistribution' 

Fields

  • lastModifiedTime :: Maybe ISO8601

    The date and time that the distribution was last modified.

  • id :: Text

    The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE.

  • arn :: Text

    The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your Amazon Web Services account ID.

  • status :: Text

    The current status of the RTMP distribution. When the status is Deployed, the distribution's information is propagated to all CloudFront edge locations.

  • domainName :: Text

    The domain name that corresponds to the streaming distribution, for example, s5c39gqb8ow64r.cloudfront.net.

  • activeTrustedSigners :: ActiveTrustedSigners

    A complex type that lists the Amazon Web Services accounts, if any, that you included in the TrustedSigners complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.

    The Signer complex type lists the Amazon Web Services account number of the trusted signer or self if the signer is the Amazon Web Services account that created the distribution. The Signer element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's Amazon Web Services account. If no KeyPairId element appears for a Signer, that signer can't create signed URLs.

    For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

  • streamingDistributionConfig :: StreamingDistributionConfig

    The current configuration information for the RTMP distribution.

Instances

Instances details
FromXML StreamingDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistribution

Generic StreamingDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistribution

Associated Types

type Rep StreamingDistribution :: Type -> Type #

Read StreamingDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistribution

Show StreamingDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistribution

NFData StreamingDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistribution

Methods

rnf :: StreamingDistribution -> () #

Eq StreamingDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistribution

Hashable StreamingDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistribution

type Rep StreamingDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistribution

type Rep StreamingDistribution = D1 ('MetaData "StreamingDistribution" "Amazonka.CloudFront.Types.StreamingDistribution" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "StreamingDistribution'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "activeTrustedSigners") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActiveTrustedSigners) :*: S1 ('MetaSel ('Just "streamingDistributionConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StreamingDistributionConfig)))))

newStreamingDistribution Source #

Create a value of StreamingDistribution with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:lastModifiedTime:StreamingDistribution', streamingDistribution_lastModifiedTime - The date and time that the distribution was last modified.

$sel:id:StreamingDistribution', streamingDistribution_id - The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE.

$sel:arn:StreamingDistribution', streamingDistribution_arn - The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your Amazon Web Services account ID.

$sel:status:StreamingDistribution', streamingDistribution_status - The current status of the RTMP distribution. When the status is Deployed, the distribution's information is propagated to all CloudFront edge locations.

$sel:domainName:StreamingDistribution', streamingDistribution_domainName - The domain name that corresponds to the streaming distribution, for example, s5c39gqb8ow64r.cloudfront.net.

$sel:activeTrustedSigners:StreamingDistribution', streamingDistribution_activeTrustedSigners - A complex type that lists the Amazon Web Services accounts, if any, that you included in the TrustedSigners complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.

The Signer complex type lists the Amazon Web Services account number of the trusted signer or self if the signer is the Amazon Web Services account that created the distribution. The Signer element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's Amazon Web Services account. If no KeyPairId element appears for a Signer, that signer can't create signed URLs.

For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

$sel:streamingDistributionConfig:StreamingDistribution', streamingDistribution_streamingDistributionConfig - The current configuration information for the RTMP distribution.

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 Amazon Web Services 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 Amazon Web Services accounts, if any, that you included in the TrustedSigners complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.

The Signer complex type lists the Amazon Web Services account number of the trusted signer or self if the signer is the Amazon Web Services account that created the distribution. The Signer element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's Amazon Web Services account. If no KeyPairId element appears for a Signer, that signer can't create signed URLs.

For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

StreamingDistributionConfig

data StreamingDistributionConfig Source #

The RTMP distribution's configuration information.

See: newStreamingDistributionConfig smart constructor.

Constructors

StreamingDistributionConfig' 

Fields

  • aliases :: Maybe Aliases

    A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

  • logging :: Maybe StreamingLoggingConfig

    A complex type that controls whether access logs are written for the streaming distribution.

  • priceClass :: Maybe PriceClass

    A complex type that contains information about price class for this streaming distribution.

  • callerReference :: Text

    A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

    If the value of CallerReference is new (regardless of the content of the 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.

  • s3Origin :: S3Origin

    A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

  • comment :: Text

    Any comments you want to include about the streaming distribution.

  • trustedSigners :: TrustedSigners

    A complex type that specifies any Amazon Web Services accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

  • enabled :: Bool

    Whether the streaming distribution is enabled to accept user requests for content.

Instances

Instances details
FromXML StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

ToXML StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

Generic StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

Associated Types

type Rep StreamingDistributionConfig :: Type -> Type #

Read StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

Show StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

NFData StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

Eq StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

Hashable StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

type Rep StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

newStreamingDistributionConfig Source #

Create a value of StreamingDistributionConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:aliases:StreamingDistributionConfig', streamingDistributionConfig_aliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

$sel:logging:StreamingDistributionConfig', streamingDistributionConfig_logging - A complex type that controls whether access logs are written for the streaming distribution.

$sel:priceClass:StreamingDistributionConfig', streamingDistributionConfig_priceClass - A complex type that contains information about price class for this streaming distribution.

$sel:callerReference:StreamingDistributionConfig', streamingDistributionConfig_callerReference - A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

If the value of CallerReference is new (regardless of the content of the StreamingDistributionConfig object), CloudFront creates a new distribution.

If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error.

$sel:s3Origin:StreamingDistributionConfig', streamingDistributionConfig_s3Origin - A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

$sel:comment:StreamingDistributionConfig', streamingDistributionConfig_comment - Any comments you want to include about the streaming distribution.

$sel:trustedSigners:StreamingDistributionConfig', streamingDistributionConfig_trustedSigners - A complex type that specifies any Amazon Web Services accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

StreamingDistributionConfig, streamingDistributionConfig_enabled - Whether the streaming distribution is enabled to accept user requests for content.

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_logging :: Lens' StreamingDistributionConfig (Maybe StreamingLoggingConfig) Source #

A complex type that controls whether access logs are written for the streaming distribution.

streamingDistributionConfig_priceClass :: Lens' StreamingDistributionConfig (Maybe PriceClass) Source #

A complex type that contains information about price class for this 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 Amazon Web Services accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

streamingDistributionConfig_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.

Constructors

StreamingDistributionConfigWithTags' 

Fields

Instances

Instances details
ToXML StreamingDistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags

Generic StreamingDistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags

Read StreamingDistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags

Show StreamingDistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags

NFData StreamingDistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags

Eq StreamingDistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags

Hashable StreamingDistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags

type Rep StreamingDistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags

type Rep StreamingDistributionConfigWithTags = D1 ('MetaData "StreamingDistributionConfigWithTags" "Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "StreamingDistributionConfigWithTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "streamingDistributionConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StreamingDistributionConfig) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Tags)))

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.

Constructors

StreamingDistributionList' 

Fields

  • items :: Maybe [StreamingDistributionSummary]

    A complex type that contains one StreamingDistributionSummary element for each distribution that was created by the current Amazon Web Services account.

  • nextMarker :: Maybe Text

    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.

  • marker :: Text

    The value you provided for the Marker request parameter.

  • maxItems :: Int

    The value you provided for the MaxItems request parameter.

  • isTruncated :: Bool

    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.

  • quantity :: Int

    The number of streaming distributions that were created by the current Amazon Web Services account.

Instances

Instances details
FromXML StreamingDistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionList

Generic StreamingDistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionList

Associated Types

type Rep StreamingDistributionList :: Type -> Type #

Read StreamingDistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionList

Show StreamingDistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionList

NFData StreamingDistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionList

Eq StreamingDistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionList

Hashable StreamingDistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionList

type Rep StreamingDistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionList

type Rep StreamingDistributionList = D1 ('MetaData "StreamingDistributionList" "Amazonka.CloudFront.Types.StreamingDistributionList" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "StreamingDistributionList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StreamingDistributionSummary])) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "isTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newStreamingDistributionList Source #

Create a value of StreamingDistributionList with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:items:StreamingDistributionList', streamingDistributionList_items - A complex type that contains one StreamingDistributionSummary element for each distribution that was created by the current Amazon Web Services account.

$sel:nextMarker:StreamingDistributionList', streamingDistributionList_nextMarker - If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your RTMP distributions where they left off.

$sel:marker:StreamingDistributionList', streamingDistributionList_marker - The value you provided for the Marker request parameter.

$sel:maxItems:StreamingDistributionList', streamingDistributionList_maxItems - The value you provided for the MaxItems request parameter.

$sel:isTruncated:StreamingDistributionList', streamingDistributionList_isTruncated - A flag that indicates whether more streaming distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

$sel:quantity:StreamingDistributionList', streamingDistributionList_quantity - The number of streaming distributions that were created by the current Amazon Web Services account.

streamingDistributionList_items :: Lens' StreamingDistributionList (Maybe [StreamingDistributionSummary]) Source #

A complex type that contains one StreamingDistributionSummary element for each distribution that was created by the current Amazon Web Services 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 Amazon Web Services account.

StreamingDistributionSummary

data StreamingDistributionSummary Source #

A summary of the information for a CloudFront streaming distribution.

See: newStreamingDistributionSummary smart constructor.

Constructors

StreamingDistributionSummary' 

Fields

  • id :: Text

    The identifier for the distribution, for example, EDFDVBD632BHDS5.

  • arn :: Text

    The ARN (Amazon Resource Name) for the streaming distribution. For example: arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5, where 123456789012 is your Amazon Web Services account ID.

  • status :: Text

    Indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system.

  • lastModifiedTime :: ISO8601

    The date and time the distribution was last modified.

  • domainName :: Text

    The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net.

  • s3Origin :: S3Origin

    A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

  • aliases :: Aliases

    A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

  • trustedSigners :: TrustedSigners

    A complex type that specifies the Amazon Web Services accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items.If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.

    For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

  • comment :: Text

    The comment originally specified when this distribution was created.

  • priceClass :: PriceClass

    A complex type that contains information about price class for this streaming distribution.

  • enabled :: Bool

    Whether the distribution is enabled to accept end user requests for content.

Instances

Instances details
FromXML StreamingDistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionSummary

Generic StreamingDistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionSummary

Associated Types

type Rep StreamingDistributionSummary :: Type -> Type #

Read StreamingDistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionSummary

Show StreamingDistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionSummary

NFData StreamingDistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionSummary

Eq StreamingDistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionSummary

Hashable StreamingDistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionSummary

type Rep StreamingDistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionSummary

newStreamingDistributionSummary Source #

Create a value of StreamingDistributionSummary with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:id:StreamingDistributionSummary', streamingDistributionSummary_id - The identifier for the distribution, for example, EDFDVBD632BHDS5.

$sel:arn:StreamingDistributionSummary', streamingDistributionSummary_arn - The ARN (Amazon Resource Name) for the streaming distribution. For example: arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5, where 123456789012 is your Amazon Web Services account ID.

$sel:status:StreamingDistributionSummary', streamingDistributionSummary_status - Indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system.

$sel:lastModifiedTime:StreamingDistributionSummary', streamingDistributionSummary_lastModifiedTime - The date and time the distribution was last modified.

StreamingDistributionSummary, streamingDistributionSummary_domainName - The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net.

$sel:s3Origin:StreamingDistributionSummary', streamingDistributionSummary_s3Origin - A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

$sel:aliases:StreamingDistributionSummary', streamingDistributionSummary_aliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

$sel:trustedSigners:StreamingDistributionSummary', streamingDistributionSummary_trustedSigners - A complex type that specifies the Amazon Web Services accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items.If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.

For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

$sel:comment:StreamingDistributionSummary', streamingDistributionSummary_comment - The comment originally specified when this distribution was created.

$sel:priceClass:StreamingDistributionSummary', streamingDistributionSummary_priceClass - A complex type that contains information about price class for this streaming distribution.

StreamingDistributionSummary, streamingDistributionSummary_enabled - Whether the distribution is enabled to accept end user requests for content.

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 Amazon Web Services 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_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 Amazon Web Services accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items.If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.

For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

streamingDistributionSummary_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.

Constructors

StreamingLoggingConfig' 

Fields

  • enabled :: Bool

    Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't want to enable logging when you create a streaming distribution or if you want to disable logging for an existing streaming distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.

  • bucket :: Text

    The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

  • prefix :: Text

    An optional string that you want CloudFront to prefix to the access log filenames for this streaming distribution, for example, myprefix/. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix element in the Logging element.

Instances

Instances details
FromXML StreamingLoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingLoggingConfig

ToXML StreamingLoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingLoggingConfig

Generic StreamingLoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingLoggingConfig

Associated Types

type Rep StreamingLoggingConfig :: Type -> Type #

Read StreamingLoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingLoggingConfig

Show StreamingLoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingLoggingConfig

NFData StreamingLoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingLoggingConfig

Methods

rnf :: StreamingLoggingConfig -> () #

Eq StreamingLoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingLoggingConfig

Hashable StreamingLoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingLoggingConfig

type Rep StreamingLoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingLoggingConfig

type Rep StreamingLoggingConfig = D1 ('MetaData "StreamingLoggingConfig" "Amazonka.CloudFront.Types.StreamingLoggingConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "StreamingLoggingConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newStreamingLoggingConfig Source #

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

data Tag Source #

A complex type that contains Tag key and Tag value.

See: newTag smart constructor.

Constructors

Tag' 

Fields

  • value :: Maybe Text

    A string that contains an optional Tag value.

    The string length should be between 0 and 256 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @.

  • key :: Text

    A string that contains Tag key.

    The string length should be between 1 and 128 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @.

Instances

Instances details
FromXML Tag Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tag

Methods

parseXML :: [Node] -> Either String Tag #

ToXML Tag Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tag

Methods

toXML :: Tag -> XML #

Generic Tag Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Read Tag Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

NFData Tag Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tag

Methods

rnf :: Tag -> () #

Eq Tag Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tag

Methods

(==) :: Tag -> Tag -> Bool #

(/=) :: Tag -> Tag -> Bool #

Hashable Tag Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

type Rep Tag Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.CloudFront.Types.Tag" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" '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)))

newTag Source #

Arguments

:: Text

$sel:key:Tag'

-> Tag 

Create a value of Tag with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:value:Tag', tag_value - A string that contains an optional Tag value.

The string length should be between 0 and 256 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @.

$sel:key:Tag', tag_key - A string that contains Tag key.

The string length should be between 1 and 128 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @.

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

data TagKeys Source #

A complex type that contains zero or more Tag elements.

See: newTagKeys smart constructor.

Constructors

TagKeys' 

Fields

Instances

Instances details
ToXML TagKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TagKeys

Methods

toXML :: TagKeys -> XML #

Generic TagKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TagKeys

Associated Types

type Rep TagKeys :: Type -> Type #

Methods

from :: TagKeys -> Rep TagKeys x #

to :: Rep TagKeys x -> TagKeys #

Read TagKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TagKeys

Show TagKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TagKeys

NFData TagKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TagKeys

Methods

rnf :: TagKeys -> () #

Eq TagKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TagKeys

Methods

(==) :: TagKeys -> TagKeys -> Bool #

(/=) :: TagKeys -> TagKeys -> Bool #

Hashable TagKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TagKeys

Methods

hashWithSalt :: Int -> TagKeys -> Int #

hash :: TagKeys -> Int #

type Rep TagKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TagKeys

type Rep TagKeys = D1 ('MetaData "TagKeys" "Amazonka.CloudFront.Types.TagKeys" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "TagKeys'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

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

data Tags Source #

A complex type that contains zero or more Tag elements.

See: newTags smart constructor.

Constructors

Tags' 

Fields

Instances

Instances details
FromXML Tags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tags

Methods

parseXML :: [Node] -> Either String Tags #

ToXML Tags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tags

Methods

toXML :: Tags -> XML #

Generic Tags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tags

Associated Types

type Rep Tags :: Type -> Type #

Methods

from :: Tags -> Rep Tags x #

to :: Rep Tags x -> Tags #

Read Tags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tags

Show Tags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tags

Methods

showsPrec :: Int -> Tags -> ShowS #

show :: Tags -> String #

showList :: [Tags] -> ShowS #

NFData Tags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tags

Methods

rnf :: Tags -> () #

Eq Tags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tags

Methods

(==) :: Tags -> Tags -> Bool #

(/=) :: Tags -> Tags -> Bool #

Hashable Tags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tags

Methods

hashWithSalt :: Int -> Tags -> Int #

hash :: Tags -> Int #

type Rep Tags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tags

type Rep Tags = D1 ('MetaData "Tags" "Amazonka.CloudFront.Types.Tags" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "Tags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))))

newTags :: Tags Source #

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.

tags_items :: Lens' Tags (Maybe [Tag]) Source #

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.

Constructors

TestResult' 

Fields

Instances

Instances details
FromXML TestResult Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TestResult

Generic TestResult Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TestResult

Associated Types

type Rep TestResult :: Type -> Type #

Show TestResult Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TestResult

NFData TestResult Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TestResult

Methods

rnf :: TestResult -> () #

Eq TestResult Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TestResult

Hashable TestResult Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TestResult

type Rep TestResult Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TestResult

type Rep TestResult = D1 ('MetaData "TestResult" "Amazonka.CloudFront.Types.TestResult" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "TestResult'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "computeUtilization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "functionErrorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "functionExecutionLogs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive [Text]))) :*: (S1 ('MetaSel ('Just "functionOutput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "functionSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FunctionSummary))))))

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:functionErrorMessage:TestResult', testResult_functionErrorMessage - If the result of testing the function was an error, this field contains the error message.

$sel:functionExecutionLogs:TestResult', testResult_functionExecutionLogs - Contains the log lines that the function wrote (if any) when running the test.

$sel:functionOutput:TestResult', testResult_functionOutput - The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.

$sel:functionSummary:TestResult', testResult_functionSummary - Contains configuration information and metadata about the CloudFront function that was tested.

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_functionErrorMessage :: Lens' TestResult (Maybe Text) Source #

If the result of testing the function was an error, this field contains the error message.

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.

TrafficConfig

data TrafficConfig Source #

The traffic configuration of your continuous deployment.

See: newTrafficConfig smart constructor.

Constructors

TrafficConfig' 

Fields

Instances

Instances details
FromXML TrafficConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrafficConfig

ToXML TrafficConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrafficConfig

Methods

toXML :: TrafficConfig -> XML #

Generic TrafficConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrafficConfig

Associated Types

type Rep TrafficConfig :: Type -> Type #

Read TrafficConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrafficConfig

Show TrafficConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrafficConfig

NFData TrafficConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrafficConfig

Methods

rnf :: TrafficConfig -> () #

Eq TrafficConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrafficConfig

Hashable TrafficConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrafficConfig

type Rep TrafficConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrafficConfig

type Rep TrafficConfig = D1 ('MetaData "TrafficConfig" "Amazonka.CloudFront.Types.TrafficConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "TrafficConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "singleHeaderConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContinuousDeploymentSingleHeaderConfig)) :*: (S1 ('MetaSel ('Just "singleWeightConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContinuousDeploymentSingleWeightConfig)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ContinuousDeploymentPolicyType))))

newTrafficConfig Source #

Create a value of TrafficConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:singleHeaderConfig:TrafficConfig', trafficConfig_singleHeaderConfig - Determines which HTTP requests are sent to the staging distribution.

$sel:singleWeightConfig:TrafficConfig', trafficConfig_singleWeightConfig - Contains the percentage of traffic to send to the staging distribution.

$sel:type':TrafficConfig', trafficConfig_type - The type of traffic configuration.

trafficConfig_singleHeaderConfig :: Lens' TrafficConfig (Maybe ContinuousDeploymentSingleHeaderConfig) Source #

Determines which HTTP requests are sent to the staging distribution.

trafficConfig_singleWeightConfig :: Lens' TrafficConfig (Maybe ContinuousDeploymentSingleWeightConfig) Source #

Contains the percentage of traffic to send to the staging distribution.

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.

Constructors

TrustedKeyGroups' 

Fields

  • items :: Maybe [Text]

    A list of key groups identifiers.

  • enabled :: Bool

    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.

  • quantity :: Int

    The number of key groups in the list.

Instances

Instances details
FromXML TrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedKeyGroups

ToXML TrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedKeyGroups

Generic TrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedKeyGroups

Associated Types

type Rep TrustedKeyGroups :: Type -> Type #

Read TrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedKeyGroups

Show TrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedKeyGroups

NFData TrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedKeyGroups

Methods

rnf :: TrustedKeyGroups -> () #

Eq TrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedKeyGroups

Hashable TrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedKeyGroups

type Rep TrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedKeyGroups

type Rep TrustedKeyGroups = D1 ('MetaData "TrustedKeyGroups" "Amazonka.CloudFront.Types.TrustedKeyGroups" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "TrustedKeyGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newTrustedKeyGroups Source #

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 Amazon Web Services accounts whose public keys CloudFront can use to verify the signatures of signed URLs and signed cookies.

See: newTrustedSigners smart constructor.

Constructors

TrustedSigners' 

Fields

  • items :: Maybe [Text]

    A list of Amazon Web Services account identifiers.

  • enabled :: Bool

    This field is true if any of the Amazon Web Services accounts have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

  • quantity :: Int

    The number of Amazon Web Services accounts in the list.

Instances

Instances details
FromXML TrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedSigners

ToXML TrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedSigners

Methods

toXML :: TrustedSigners -> XML #

Generic TrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedSigners

Associated Types

type Rep TrustedSigners :: Type -> Type #

Read TrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedSigners

Show TrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedSigners

NFData TrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedSigners

Methods

rnf :: TrustedSigners -> () #

Eq TrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedSigners

Hashable TrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedSigners

type Rep TrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedSigners

type Rep TrustedSigners = D1 ('MetaData "TrustedSigners" "Amazonka.CloudFront.Types.TrustedSigners" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "TrustedSigners'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newTrustedSigners Source #

Create a value of TrustedSigners with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:items:TrustedSigners', trustedSigners_items - A list of Amazon Web Services account identifiers.

$sel:enabled:TrustedSigners', trustedSigners_enabled - This field is true if any of the Amazon Web Services accounts have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

$sel:quantity:TrustedSigners', trustedSigners_quantity - The number of Amazon Web Services accounts in the list.

trustedSigners_items :: Lens' TrustedSigners (Maybe [Text]) Source #

A list of Amazon Web Services account identifiers.

trustedSigners_enabled :: Lens' TrustedSigners Bool Source #

This field is true if any of the Amazon Web Services accounts have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

trustedSigners_quantity :: Lens' TrustedSigners Int Source #

The number of Amazon Web Services 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 to sni-only. This is recommended. Most browsers and clients support SNI.
    • To accept HTTPS connections from all viewers, including those that don't support SNI, set SSLSupportMethod to vip. This is not recommended, and results in additional monthly charges from CloudFront.
  • The minimum SSL/TLS protocol version that the distribution can use to communicate with viewers. To specify a minimum version, choose a value for MinimumProtocolVersion. For more information, see Security Policy in the Amazon CloudFront Developer Guide.
  • The location of the SSL/TLS certificate, Certificate Manager (ACM) (recommended) or Identity and Access Management (IAM). You specify the location by setting a value in one of the following fields (not both):

    • ACMCertificateArn
    • IAMCertificateId

All distributions support HTTPS connections from viewers. To require viewers to use HTTPS only, or to redirect them from HTTP to HTTPS, use ViewerProtocolPolicy in the CacheBehavior or DefaultCacheBehavior. To specify how CloudFront should use SSL/TLS to communicate with your custom origin, use CustomOriginConfig.

For more information, see Using HTTPS with CloudFront and Using Alternate Domain Names and HTTPS in the Amazon CloudFront Developer Guide.

See: newViewerCertificate smart constructor.

Constructors

ViewerCertificate' 

Fields

  • aCMCertificateArn :: Maybe Text

    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.

  • certificate :: Maybe Text

    This field is deprecated. Use one of the following fields instead:

    • ACMCertificateArn
    • IAMCertificateId
    • CloudFrontDefaultCertificate
  • certificateSource :: Maybe CertificateSource

    This field is deprecated. Use one of the following fields instead:

    • ACMCertificateArn
    • IAMCertificateId
    • CloudFrontDefaultCertificate
  • cloudFrontDefaultCertificate :: Maybe Bool

    If the distribution uses the CloudFront domain name such as d111111abcdef8.cloudfront.net, set this field to true.

    If the distribution uses Aliases (alternate domain names or CNAMEs), set this field to false and specify values for the following fields:

    • ACMCertificateArn or IAMCertificateId (specify a value for one, not both)
    • MinimumProtocolVersion
    • SSLSupportMethod
  • iAMCertificateId :: Maybe Text

    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.

  • minimumProtocolVersion :: Maybe 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.

  • sSLSupportMethod :: Maybe 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.

Instances

Instances details
FromXML ViewerCertificate Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerCertificate

ToXML ViewerCertificate Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerCertificate

Generic ViewerCertificate Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerCertificate

Associated Types

type Rep ViewerCertificate :: Type -> Type #

Read ViewerCertificate Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerCertificate

Show ViewerCertificate Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerCertificate

NFData ViewerCertificate Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerCertificate

Methods

rnf :: ViewerCertificate -> () #

Eq ViewerCertificate Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerCertificate

Hashable ViewerCertificate Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerCertificate

type Rep ViewerCertificate Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerCertificate

type Rep ViewerCertificate = D1 ('MetaData "ViewerCertificate" "Amazonka.CloudFront.Types.ViewerCertificate" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ViewerCertificate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "aCMCertificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "certificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificateSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CertificateSource)))) :*: ((S1 ('MetaSel ('Just "cloudFrontDefaultCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "iAMCertificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "minimumProtocolVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MinimumProtocolVersion)) :*: S1 ('MetaSel ('Just "sSLSupportMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SSLSupportMethod))))))

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:aCMCertificateArn:ViewerCertificate', viewerCertificate_aCMCertificateArn - If the distribution uses Aliases (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in Certificate Manager (ACM), provide the Amazon Resource Name (ARN) of the ACM certificate. CloudFront only supports ACM certificates in the US East (N. Virginia) Region (us-east-1).

If you specify an ACM certificate ARN, you must also specify values for MinimumProtocolVersion and SSLSupportMethod.

$sel:certificate:ViewerCertificate', viewerCertificate_certificate - This field is deprecated. Use one of the following fields instead:

  • ACMCertificateArn
  • IAMCertificateId
  • CloudFrontDefaultCertificate

$sel:certificateSource:ViewerCertificate', viewerCertificate_certificateSource - This field is deprecated. Use one of the following fields instead:

  • ACMCertificateArn
  • IAMCertificateId
  • CloudFrontDefaultCertificate

$sel:cloudFrontDefaultCertificate:ViewerCertificate', viewerCertificate_cloudFrontDefaultCertificate - If the distribution uses the CloudFront domain name such as d111111abcdef8.cloudfront.net, set this field to true.

If the distribution uses Aliases (alternate domain names or CNAMEs), set this field to false and specify values for the following fields:

  • ACMCertificateArn or IAMCertificateId (specify a value for one, not both)
  • MinimumProtocolVersion
  • SSLSupportMethod

$sel:iAMCertificateId:ViewerCertificate', viewerCertificate_iAMCertificateId - If the distribution uses Aliases (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in Identity and Access Management (IAM), provide the ID of the IAM certificate.

If you specify an IAM certificate ID, you must also specify values for MinimumProtocolVersion and SSLSupportMethod.

$sel:minimumProtocolVersion:ViewerCertificate', viewerCertificate_minimumProtocolVersion - If the distribution uses Aliases (alternate domain names or CNAMEs), specify the security policy that you want CloudFront to use for HTTPS connections with viewers. The security policy determines two settings:

  • The minimum SSL/TLS protocol that CloudFront can use to communicate with viewers.
  • The ciphers that CloudFront can use to encrypt the content that it returns to viewers.

For more information, see Security Policy and Supported Protocols and Ciphers Between Viewers and CloudFront in the Amazon CloudFront Developer Guide.

On the CloudFront console, this setting is called Security Policy.

When you're using SNI only (you set SSLSupportMethod to sni-only), you must specify TLSv1 or higher.

If the distribution uses the CloudFront domain name such as d111111abcdef8.cloudfront.net (you set CloudFrontDefaultCertificate to true), CloudFront automatically sets the security policy to TLSv1 regardless of the value that you set here.

$sel:sSLSupportMethod:ViewerCertificate', viewerCertificate_sSLSupportMethod - If the distribution uses Aliases (alternate domain names or CNAMEs), specify which viewers the distribution accepts HTTPS connections from.

  • sni-only – The distribution accepts HTTPS connections from only viewers that support server name indication (SNI). This is recommended. Most browsers and clients support SNI.
  • vip – The distribution accepts HTTPS connections from all viewers including those that don't support SNI. This is not recommended, and results in additional monthly charges from CloudFront.
  • static-ip - Do not specify this value unless your distribution has been enabled for this feature by the CloudFront team. If you have a use case that requires static IP addresses for a distribution, contact CloudFront through the Amazon Web Services Support Center.

If the distribution uses the CloudFront domain name such as d111111abcdef8.cloudfront.net, don't set a value for this field.

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_certificate :: Lens' ViewerCertificate (Maybe Text) Source #

This field is deprecated. Use one of the following fields instead:

  • ACMCertificateArn
  • IAMCertificateId
  • CloudFrontDefaultCertificate

viewerCertificate_certificateSource :: Lens' ViewerCertificate (Maybe CertificateSource) Source #

This field is deprecated. Use one of the following fields instead:

  • ACMCertificateArn
  • IAMCertificateId
  • CloudFrontDefaultCertificate

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 or IAMCertificateId (specify a value for one, not both)
  • MinimumProtocolVersion
  • SSLSupportMethod

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_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_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.