libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Pinpoint.Types.Event

Description

 
Synopsis

Documentation

data Event Source #

Specifies information about an event that reports data to Amazon Pinpoint.

See: newEvent smart constructor.

Constructors

Event' 

Fields

Instances

Instances details
Eq Event Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.Event

Methods

(==) :: Event -> Event -> Bool #

(/=) :: Event -> Event -> Bool #

Read Event Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.Event

Show Event Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.Event

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

Generic Event Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.Event

Associated Types

type Rep Event :: Type -> Type #

Methods

from :: Event -> Rep Event x #

to :: Rep Event x -> Event #

NFData Event Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.Event

Methods

rnf :: Event -> () #

Hashable Event Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.Event

Methods

hashWithSalt :: Int -> Event -> Int #

hash :: Event -> Int #

ToJSON Event Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.Event

type Rep Event Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.Event

newEvent Source #

Create a value of Event 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:clientSdkVersion:Event', event_clientSdkVersion - The version of the SDK that's running on the client device.

$sel:metrics:Event', event_metrics - One or more custom metrics that are associated with the event.

$sel:appVersionCode:Event', event_appVersionCode - The version number of the app that's recording the event.

$sel:appTitle:Event', event_appTitle - The title of the app that's recording the event.

$sel:appPackageName:Event', event_appPackageName - The package name of the app that's recording the event.

$sel:attributes:Event', event_attributes - One or more custom attributes that are associated with the event.

$sel:sdkName:Event', event_sdkName - The name of the SDK that's being used to record the event.

$sel:session:Event', event_session - Information about the session in which the event occurred.

$sel:eventType:Event', event_eventType - The name of the event.

$sel:timestamp:Event', event_timestamp - The date and time, in ISO 8601 format, when the event occurred.

event_clientSdkVersion :: Lens' Event (Maybe Text) Source #

The version of the SDK that's running on the client device.

event_metrics :: Lens' Event (Maybe (HashMap Text Double)) Source #

One or more custom metrics that are associated with the event.

event_appVersionCode :: Lens' Event (Maybe Text) Source #

The version number of the app that's recording the event.

event_appTitle :: Lens' Event (Maybe Text) Source #

The title of the app that's recording the event.

event_appPackageName :: Lens' Event (Maybe Text) Source #

The package name of the app that's recording the event.

event_attributes :: Lens' Event (Maybe (HashMap Text Text)) Source #

One or more custom attributes that are associated with the event.

event_sdkName :: Lens' Event (Maybe Text) Source #

The name of the SDK that's being used to record the event.

event_session :: Lens' Event (Maybe Session) Source #

Information about the session in which the event occurred.

event_eventType :: Lens' Event Text Source #

The name of the event.

event_timestamp :: Lens' Event Text Source #

The date and time, in ISO 8601 format, when the event occurred.