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 |
Documentation
A structure that contains the information about one evaluation event or custom event sent to Evidently. This is a JSON payload. If this event specifies a pre-defined event type, the payload must follow the defined event schema.
See: newEvent
smart constructor.
Event' | |
|
Instances
ToJSON Event Source # | |
Defined in Amazonka.Evidently.Types.Event | |
Generic Event Source # | |
Read Event Source # | |
Show Event Source # | |
NFData Event Source # | |
Defined in Amazonka.Evidently.Types.Event | |
Eq Event Source # | |
Hashable Event Source # | |
Defined in Amazonka.Evidently.Types.Event | |
type Rep Event Source # | |
Defined in Amazonka.Evidently.Types.Event type Rep Event = D1 ('MetaData "Event" "Amazonka.Evidently.Types.Event" "amazonka-evidently-2.0-Es2fJk98R0DAUPYaVkZSYC" 'False) (C1 ('MetaCons "Event'" 'PrefixI 'True) (S1 ('MetaSel ('Just "data'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EventType)))) |
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:data':Event'
, event_data
- The event data.
$sel:timestamp:Event'
, event_timestamp
- The timestamp of the event.
$sel:type':Event'
, event_type
- aws.evidently.evaluation
specifies an evaluation event, which
determines which feature variation that a user sees.
aws.evidently.custom
specifies a custom event, which generates metrics
from user actions such as clicks and checkouts.