| 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 |
Amazonka.Pinpoint.Types.Event
Description
Synopsis
- data Event = Event' {}
- newEvent :: Text -> Text -> Event
- event_appPackageName :: Lens' Event (Maybe Text)
- event_appTitle :: Lens' Event (Maybe Text)
- event_appVersionCode :: Lens' Event (Maybe Text)
- event_attributes :: Lens' Event (Maybe (HashMap Text Text))
- event_clientSdkVersion :: Lens' Event (Maybe Text)
- event_metrics :: Lens' Event (Maybe (HashMap Text Double))
- event_sdkName :: Lens' Event (Maybe Text)
- event_session :: Lens' Event (Maybe Session)
- event_eventType :: Lens' Event Text
- event_timestamp :: Lens' Event Text
Documentation
Specifies information about an event that reports data to Amazon Pinpoint.
See: newEvent smart constructor.
Constructors
| Event' | |
Fields
| |
Instances
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:appPackageName:Event', event_appPackageName - The package name of the app that's recording the event.
$sel:appTitle:Event', event_appTitle - The title of the app that's recording the event.
$sel:appVersionCode:Event', event_appVersionCode - The version number 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: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: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_appPackageName :: Lens' Event (Maybe Text) Source #
The package name of the app that's recording the event.
event_appVersionCode :: Lens' Event (Maybe Text) Source #
The version number 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_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_sdkName :: Lens' Event (Maybe Text) Source #
The name of the SDK that's being used to record the event.