amazonka-frauddetector-2.0: Amazon Fraud Detector SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.FraudDetector.Types.Event

Description

 
Synopsis

Documentation

data Event Source #

The event details.

See: newEvent smart constructor.

Constructors

Event' 

Fields

Instances

Instances details
FromJSON Event Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.Event

Generic Event Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.Event

Associated Types

type Rep Event :: Type -> Type #

Methods

from :: Event -> Rep Event x #

to :: Rep Event x -> Event #

Show Event Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.Event

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

NFData Event Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.Event

Methods

rnf :: Event -> () #

Eq Event Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.Event

Methods

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

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

Hashable Event Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.Event

Methods

hashWithSalt :: Int -> Event -> Int #

hash :: Event -> Int #

type Rep Event Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.Event

newEvent :: Event 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: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_currentLabel :: Lens' Event (Maybe Text) Source #

The label associated with the event.

event_entities :: Lens' Event (Maybe [Entity]) Source #

The event entities.

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_eventVariables :: Lens' Event (Maybe (HashMap Text Text)) Source #

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.

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.