amazonka-rum-2.0: Amazon CloudWatch RUM SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Rum.Types.QueryFilter

Description

 
Synopsis

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.

Constructors

QueryFilter' 

Fields

  • name :: Maybe Text

    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

  • values :: Maybe [Text]

    The values of the Name that are to be be included in the returned results.

Instances

Instances details
ToJSON QueryFilter Source # 
Instance details

Defined in Amazonka.Rum.Types.QueryFilter

Generic QueryFilter Source # 
Instance details

Defined in Amazonka.Rum.Types.QueryFilter

Associated Types

type Rep QueryFilter :: Type -> Type #

Read QueryFilter Source # 
Instance details

Defined in Amazonka.Rum.Types.QueryFilter

Show QueryFilter Source # 
Instance details

Defined in Amazonka.Rum.Types.QueryFilter

NFData QueryFilter Source # 
Instance details

Defined in Amazonka.Rum.Types.QueryFilter

Methods

rnf :: QueryFilter -> () #

Eq QueryFilter Source # 
Instance details

Defined in Amazonka.Rum.Types.QueryFilter

Hashable QueryFilter Source # 
Instance details

Defined in Amazonka.Rum.Types.QueryFilter

type Rep QueryFilter Source # 
Instance details

Defined in Amazonka.Rum.Types.QueryFilter

type Rep QueryFilter = D1 ('MetaData "QueryFilter" "Amazonka.Rum.Types.QueryFilter" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'False) (C1 ('MetaCons "QueryFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

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.