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 QueryStringConditionConfig Source #
Information about a query string condition.
The query string component of a URI starts after the first '?' character and is terminated by either a '#' character or the end of the URI. A typical query string contains key/value pairs separated by '&' characters. The allowed characters are specified by RFC 3986. Any character can be percentage encoded.
See: newQueryStringConditionConfig
smart constructor.
QueryStringConditionConfig' | |
|
Instances
newQueryStringConditionConfig :: QueryStringConditionConfig Source #
Create a value of QueryStringConditionConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:values:QueryStringConditionConfig'
, queryStringConditionConfig_values
- One or more key/value pairs or values to find in the query string. The
maximum size of each string is 128 characters. The comparison is case
insensitive. The following wildcard characters are supported: * (matches
0 or more characters) and ? (matches exactly 1 character). To search for
a literal '*' or '?' character in a query string, you must escape
these characters in Values
using a '\' character.
If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.
queryStringConditionConfig_values :: Lens' QueryStringConditionConfig (Maybe [QueryStringKeyValuePair]) Source #
One or more key/value pairs or values to find in the query string. The
maximum size of each string is 128 characters. The comparison is case
insensitive. The following wildcard characters are supported: * (matches
0 or more characters) and ? (matches exactly 1 character). To search for
a literal '*' or '?' character in a query string, you must escape
these characters in Values
using a '\' character.
If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.