pub struct GetEventPredictionRequest {
pub detector_id: String,
pub detector_version_id: Option<String>,
pub entities: Vec<Entity>,
pub event_id: String,
pub event_timestamp: String,
pub event_type_name: String,
pub event_variables: HashMap<String, String>,
pub external_model_endpoint_data_blobs: Option<HashMap<String, ModelEndpointDataBlob>>,
}
Fields
detector_id: String
The detector ID.
detector_version_id: Option<String>
The detector version ID.
entities: Vec<Entity>
The entity type (associated with the detector's event type) and specific entity ID representing who performed the event. If an entity id is not available, use "UNKNOWN."
event_id: String
The unique ID used to identify the event.
event_timestamp: String
Timestamp that defines when the event under evaluation occurred.
event_type_name: String
The event type associated with the detector specified for the prediction.
event_variables: 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.
external_model_endpoint_data_blobs: Option<HashMap<String, ModelEndpointDataBlob>>
The Amazon SageMaker model endpoint input data blobs.
Trait Implementations
sourceimpl Clone for GetEventPredictionRequest
impl Clone for GetEventPredictionRequest
sourcefn clone(&self) -> GetEventPredictionRequest
fn clone(&self) -> GetEventPredictionRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetEventPredictionRequest
impl Debug for GetEventPredictionRequest
sourceimpl Default for GetEventPredictionRequest
impl Default for GetEventPredictionRequest
sourcefn default() -> GetEventPredictionRequest
fn default() -> GetEventPredictionRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<GetEventPredictionRequest> for GetEventPredictionRequest
impl PartialEq<GetEventPredictionRequest> for GetEventPredictionRequest
sourcefn eq(&self, other: &GetEventPredictionRequest) -> bool
fn eq(&self, other: &GetEventPredictionRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetEventPredictionRequest) -> bool
fn ne(&self, other: &GetEventPredictionRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for GetEventPredictionRequest
impl Serialize for GetEventPredictionRequest
impl StructuralPartialEq for GetEventPredictionRequest
Auto Trait Implementations
impl RefUnwindSafe for GetEventPredictionRequest
impl Send for GetEventPredictionRequest
impl Sync for GetEventPredictionRequest
impl Unpin for GetEventPredictionRequest
impl UnwindSafe for GetEventPredictionRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more