Struct aws_sdk_frauddetector::operation::send_event::SendEventInput
source · #[non_exhaustive]pub struct SendEventInput {
pub event_id: Option<String>,
pub event_type_name: Option<String>,
pub event_timestamp: Option<String>,
pub event_variables: Option<HashMap<String, String>>,
pub assigned_label: Option<String>,
pub label_timestamp: Option<String>,
pub entities: Option<Vec<Entity>>,
}
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 to upload.
event_type_name: Option<String>
The event type name of the event.
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.
assigned_label: Option<String>
The label to associate with the event. Required if specifying labelTimestamp
.
label_timestamp: Option<String>
The timestamp associated with the label. Required if specifying assignedLabel
.
entities: Option<Vec<Entity>>
An array of entities.
Implementations§
source§impl SendEventInput
impl SendEventInput
sourcepub fn event_type_name(&self) -> Option<&str>
pub fn event_type_name(&self) -> Option<&str>
The event type name of the event.
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 assigned_label(&self) -> Option<&str>
pub fn assigned_label(&self) -> Option<&str>
The label to associate with the event. Required if specifying labelTimestamp
.
sourcepub fn label_timestamp(&self) -> Option<&str>
pub fn label_timestamp(&self) -> Option<&str>
The timestamp associated with the label. Required if specifying assignedLabel
.
source§impl SendEventInput
impl SendEventInput
sourcepub fn builder() -> SendEventInputBuilder
pub fn builder() -> SendEventInputBuilder
Creates a new builder-style object to manufacture SendEventInput
.
Trait Implementations§
source§impl Clone for SendEventInput
impl Clone for SendEventInput
source§fn clone(&self) -> SendEventInput
fn clone(&self) -> SendEventInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SendEventInput
impl Debug for SendEventInput
source§impl PartialEq for SendEventInput
impl PartialEq for SendEventInput
source§fn eq(&self, other: &SendEventInput) -> bool
fn eq(&self, other: &SendEventInput) -> bool
self
and other
values to be equal, and is used
by ==
.