| 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.FraudDetector.Types.Event
Description
Synopsis
- data Event = Event' {
- currentLabel :: Maybe Text
- entities :: Maybe [Sensitive Entity]
- eventId :: Maybe Text
- eventTimestamp :: Maybe Text
- eventTypeName :: Maybe Text
- eventVariables :: Maybe (HashMap Text (Sensitive Text))
- labelTimestamp :: Maybe Text
- newEvent :: Event
- event_currentLabel :: Lens' Event (Maybe Text)
- event_entities :: Lens' Event (Maybe [Entity])
- event_eventId :: Lens' Event (Maybe Text)
- event_eventTimestamp :: Lens' Event (Maybe Text)
- event_eventTypeName :: Lens' Event (Maybe Text)
- event_eventVariables :: Lens' Event (Maybe (HashMap Text Text))
- event_labelTimestamp :: Lens' Event (Maybe Text)
Documentation
The event details.
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:currentLabel:Event', event_currentLabel - The label associated with the event.
$sel:entities:Event', event_entities - The event entities.
$sel:eventId:Event', event_eventId - The event ID.
$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: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:labelTimestamp:Event', event_labelTimestamp - The timestamp associated with the label to update. The timestamp must be
specified using ISO 8601 standard in UTC.
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.