Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data EventContextDataType = EventContextDataType' {}
- newEventContextDataType :: EventContextDataType
- eventContextDataType_ipAddress :: Lens' EventContextDataType (Maybe Text)
- eventContextDataType_country :: Lens' EventContextDataType (Maybe Text)
- eventContextDataType_city :: Lens' EventContextDataType (Maybe Text)
- eventContextDataType_deviceName :: Lens' EventContextDataType (Maybe Text)
- eventContextDataType_timezone :: Lens' EventContextDataType (Maybe Text)
Documentation
data EventContextDataType Source #
Specifies the user context data captured at the time of an event request.
See: newEventContextDataType
smart constructor.
Instances
newEventContextDataType :: EventContextDataType Source #
Create a value of EventContextDataType
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:ipAddress:EventContextDataType'
, eventContextDataType_ipAddress
- The user's IP address.
$sel:country:EventContextDataType'
, eventContextDataType_country
- The user's country.
$sel:city:EventContextDataType'
, eventContextDataType_city
- The user's city.
$sel:deviceName:EventContextDataType'
, eventContextDataType_deviceName
- The user's device name.
$sel:timezone:EventContextDataType'
, eventContextDataType_timezone
- The user's time zone.
eventContextDataType_ipAddress :: Lens' EventContextDataType (Maybe Text) Source #
The user's IP address.
eventContextDataType_country :: Lens' EventContextDataType (Maybe Text) Source #
The user's country.
eventContextDataType_city :: Lens' EventContextDataType (Maybe Text) Source #
The user's city.
eventContextDataType_deviceName :: Lens' EventContextDataType (Maybe Text) Source #
The user's device name.
eventContextDataType_timezone :: Lens' EventContextDataType (Maybe Text) Source #
The user's time zone.