libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudFront.Types.QueryStringCacheKeys

Description

 
Synopsis

Documentation

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
Eq QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

Read QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

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

NFData QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

Methods

rnf :: QueryStringCacheKeys -> () #

Hashable QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

FromXML QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

ToXML 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" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" '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.