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 Event = Event' {
- eventTimestamp :: Maybe Text
- entities :: Maybe [Sensitive Entity]
- labelTimestamp :: Maybe Text
- eventTypeName :: Maybe Text
- eventVariables :: Maybe (HashMap Text (Sensitive Text))
- currentLabel :: Maybe Text
- eventId :: Maybe Text
- newEvent :: Event
- event_eventTimestamp :: Lens' Event (Maybe Text)
- event_entities :: Lens' Event (Maybe [Entity])
- event_labelTimestamp :: Lens' Event (Maybe Text)
- event_eventTypeName :: Lens' Event (Maybe Text)
- event_eventVariables :: Lens' Event (Maybe (HashMap Text Text))
- event_currentLabel :: Lens' Event (Maybe Text)
- event_eventId :: Lens' Event (Maybe Text)
Documentation
The event details.
See: newEvent
smart constructor.
Event' | |
|
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:eventTimestamp:Event'
, event_eventTimestamp
- The timestamp that defines when the event under evaluation occurred. The
timestamp must be specified using ISO 8601 standard in UTC.
$sel:entities:Event'
, event_entities
- The event entities.
$sel:labelTimestamp:Event'
, event_labelTimestamp
- The timestamp associated with the label to update. The timestamp must be
specified using ISO 8601 standard in UTC.
$sel:eventTypeName:Event'
, event_eventTypeName
- The event type.
$sel:eventVariables:Event'
, event_eventVariables
- Names of the event type's variables you defined in Amazon Fraud
Detector to represent data elements and their corresponding values for
the event you are sending for evaluation.
$sel:currentLabel:Event'
, event_currentLabel
- The label associated with the event.
$sel:eventId:Event'
, event_eventId
- The event ID.
event_eventTimestamp :: Lens' Event (Maybe Text) Source #
The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.
event_labelTimestamp :: Lens' Event (Maybe Text) Source #
The timestamp associated with the label to update. The timestamp must be specified using ISO 8601 standard in UTC.