Struct aws_sdk_frauddetector::types::Event
source · #[non_exhaustive]pub struct Event {
pub event_id: Option<String>,
pub event_type_name: Option<String>,
pub event_timestamp: Option<String>,
pub event_variables: Option<HashMap<String, String>>,
pub current_label: Option<String>,
pub label_timestamp: Option<String>,
pub entities: Option<Vec<Entity>>,
}
Expand description
The event details.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.event_id: Option<String>
The event ID.
event_type_name: Option<String>
The event type.
event_timestamp: Option<String>
The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.
event_variables: Option<HashMap<String, String>>
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.
current_label: Option<String>
The label associated with the event.
label_timestamp: Option<String>
The timestamp associated with the label to update. The timestamp must be specified using ISO 8601 standard in UTC.
entities: Option<Vec<Entity>>
The event entities.
Implementations§
source§impl Event
impl Event
sourcepub fn event_type_name(&self) -> Option<&str>
pub fn event_type_name(&self) -> Option<&str>
The event type.
sourcepub fn event_timestamp(&self) -> Option<&str>
pub fn event_timestamp(&self) -> Option<&str>
The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.
sourcepub fn event_variables(&self) -> Option<&HashMap<String, String>>
pub fn event_variables(&self) -> Option<&HashMap<String, String>>
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.
sourcepub fn current_label(&self) -> Option<&str>
pub fn current_label(&self) -> Option<&str>
The label associated with the event.
sourcepub fn label_timestamp(&self) -> Option<&str>
pub fn label_timestamp(&self) -> Option<&str>
The timestamp associated with the label to update. The timestamp must be specified using ISO 8601 standard in UTC.