libZSservicesZSamazonka-lightsailZSamazonka-lightsail
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.Lightsail.Types.QueryStringObject

Description

 
Synopsis

Documentation

data QueryStringObject Source #

Describes the query string parameters that an Amazon Lightsail content delivery network (CDN) distribution to bases caching on.

For the query strings that you specify, your distribution caches separate versions of the specified content based on the query string values in viewer requests.

See: newQueryStringObject smart constructor.

Constructors

QueryStringObject' 

Fields

  • queryStringsAllowList :: Maybe [Text]

    The specific query strings that the distribution forwards to the origin.

    Your distribution will cache content based on the specified query strings.

    If the option parameter is true, then your distribution forwards all query strings, regardless of what you specify using the queryStringsAllowList parameter.

  • option :: Maybe Bool

    Indicates whether the distribution forwards and caches based on query strings.

Instances

Instances details
Eq QueryStringObject Source # 
Instance details

Defined in Amazonka.Lightsail.Types.QueryStringObject

Read QueryStringObject Source # 
Instance details

Defined in Amazonka.Lightsail.Types.QueryStringObject

Show QueryStringObject Source # 
Instance details

Defined in Amazonka.Lightsail.Types.QueryStringObject

Generic QueryStringObject Source # 
Instance details

Defined in Amazonka.Lightsail.Types.QueryStringObject

Associated Types

type Rep QueryStringObject :: Type -> Type #

NFData QueryStringObject Source # 
Instance details

Defined in Amazonka.Lightsail.Types.QueryStringObject

Methods

rnf :: QueryStringObject -> () #

Hashable QueryStringObject Source # 
Instance details

Defined in Amazonka.Lightsail.Types.QueryStringObject

ToJSON QueryStringObject Source # 
Instance details

Defined in Amazonka.Lightsail.Types.QueryStringObject

FromJSON QueryStringObject Source # 
Instance details

Defined in Amazonka.Lightsail.Types.QueryStringObject

type Rep QueryStringObject Source # 
Instance details

Defined in Amazonka.Lightsail.Types.QueryStringObject

type Rep QueryStringObject = D1 ('MetaData "QueryStringObject" "Amazonka.Lightsail.Types.QueryStringObject" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "QueryStringObject'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryStringsAllowList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "option") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newQueryStringObject :: QueryStringObject Source #

Create a value of QueryStringObject with all optional fields omitted.

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

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

$sel:queryStringsAllowList:QueryStringObject', queryStringObject_queryStringsAllowList - The specific query strings that the distribution forwards to the origin.

Your distribution will cache content based on the specified query strings.

If the option parameter is true, then your distribution forwards all query strings, regardless of what you specify using the queryStringsAllowList parameter.

$sel:option:QueryStringObject', queryStringObject_option - Indicates whether the distribution forwards and caches based on query strings.

queryStringObject_queryStringsAllowList :: Lens' QueryStringObject (Maybe [Text]) Source #

The specific query strings that the distribution forwards to the origin.

Your distribution will cache content based on the specified query strings.

If the option parameter is true, then your distribution forwards all query strings, regardless of what you specify using the queryStringsAllowList parameter.

queryStringObject_option :: Lens' QueryStringObject (Maybe Bool) Source #

Indicates whether the distribution forwards and caches based on query strings.