Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data QueryFilter = QueryFilter' {}
- newQueryFilter :: QueryFilter
- queryFilter_name :: Lens' QueryFilter (Maybe Text)
- queryFilter_values :: Lens' QueryFilter (Maybe [Text])
Documentation
data QueryFilter Source #
A structure that defines a key and values that you can use to filter the
results. The only performance events that are returned are those that
have values matching the ones that you specify in one of your
QueryFilter
structures.
For example, you could specify Browser
as the Name
and specify
Chrome,Firefox
as the Values
to return events generated only from
those browsers.
Specifying Invert
as the Name
works as a "not equal to" filter.
For example, specify Invert
as the Name
and specify Chrome
as the
value to return all events except events from user sessions with the
Chrome browser.
See: newQueryFilter
smart constructor.
QueryFilter' | |
|
Instances
newQueryFilter :: QueryFilter Source #
Create a value of QueryFilter
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:name:QueryFilter'
, queryFilter_name
- The name of a key to search for. The filter returns only the events that
match the Name
and Values
that you specify.
Valid values for Name
are Browser
| Device
| Country
| Page
|
OS
| EventType
| Invert
$sel:values:QueryFilter'
, queryFilter_values
- The values of the Name
that are to be be included in the returned
results.
queryFilter_name :: Lens' QueryFilter (Maybe Text) Source #
The name of a key to search for. The filter returns only the events that
match the Name
and Values
that you specify.
Valid values for Name
are Browser
| Device
| Country
| Page
|
OS
| EventType
| Invert
queryFilter_values :: Lens' QueryFilter (Maybe [Text]) Source #
The values of the Name
that are to be be included in the returned
results.