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.RumEvent

Description

 
Synopsis

Documentation

data RumEvent Source #

A structure that contains the information for one performance event that RUM collects from a user session with your application.

See: newRumEvent smart constructor.

Constructors

RumEvent' 

Fields

  • metadata :: Maybe Text

    Metadata about this event, which contains a JSON serialization of the identity of the user for this session. The user information comes from information such as the HTTP user-agent request header and document interface.

  • details :: Text

    A string containing details about the event.

  • id :: Text

    A unique ID for this event.

  • timestamp :: POSIX

    The exact time that this event occurred.

  • type' :: Text

    The JSON schema that denotes the type of event this is, such as a page load or a new session.

Instances

Instances details
ToJSON RumEvent Source # 
Instance details

Defined in Amazonka.Rum.Types.RumEvent

Generic RumEvent Source # 
Instance details

Defined in Amazonka.Rum.Types.RumEvent

Associated Types

type Rep RumEvent :: Type -> Type #

Methods

from :: RumEvent -> Rep RumEvent x #

to :: Rep RumEvent x -> RumEvent #

Read RumEvent Source # 
Instance details

Defined in Amazonka.Rum.Types.RumEvent

Show RumEvent Source # 
Instance details

Defined in Amazonka.Rum.Types.RumEvent

NFData RumEvent Source # 
Instance details

Defined in Amazonka.Rum.Types.RumEvent

Methods

rnf :: RumEvent -> () #

Eq RumEvent Source # 
Instance details

Defined in Amazonka.Rum.Types.RumEvent

Hashable RumEvent Source # 
Instance details

Defined in Amazonka.Rum.Types.RumEvent

Methods

hashWithSalt :: Int -> RumEvent -> Int #

hash :: RumEvent -> Int #

type Rep RumEvent Source # 
Instance details

Defined in Amazonka.Rum.Types.RumEvent

newRumEvent Source #

Create a value of RumEvent 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:metadata:RumEvent', rumEvent_metadata - Metadata about this event, which contains a JSON serialization of the identity of the user for this session. The user information comes from information such as the HTTP user-agent request header and document interface.

$sel:details:RumEvent', rumEvent_details - A string containing details about the event.

$sel:id:RumEvent', rumEvent_id - A unique ID for this event.

$sel:timestamp:RumEvent', rumEvent_timestamp - The exact time that this event occurred.

$sel:type':RumEvent', rumEvent_type - The JSON schema that denotes the type of event this is, such as a page load or a new session.

rumEvent_metadata :: Lens' RumEvent (Maybe Text) Source #

Metadata about this event, which contains a JSON serialization of the identity of the user for this session. The user information comes from information such as the HTTP user-agent request header and document interface.

rumEvent_details :: Lens' RumEvent Text Source #

A string containing details about the event.

rumEvent_id :: Lens' RumEvent Text Source #

A unique ID for this event.

rumEvent_timestamp :: Lens' RumEvent UTCTime Source #

The exact time that this event occurred.

rumEvent_type :: Lens' RumEvent Text Source #

The JSON schema that denotes the type of event this is, such as a page load or a new session.