Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
QueryStringObject' | |
|
Instances
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.