Struct aws_sdk_frauddetector::operation::get_event_prediction_metadata::GetEventPredictionMetadataOutput
source · #[non_exhaustive]pub struct GetEventPredictionMetadataOutput {Show 15 fields
pub event_id: Option<String>,
pub event_type_name: Option<String>,
pub entity_id: Option<String>,
pub entity_type: Option<String>,
pub event_timestamp: Option<String>,
pub detector_id: Option<String>,
pub detector_version_id: Option<String>,
pub detector_version_status: Option<String>,
pub event_variables: Option<Vec<EventVariableSummary>>,
pub rules: Option<Vec<EvaluatedRule>>,
pub rule_execution_mode: Option<RuleExecutionMode>,
pub outcomes: Option<Vec<String>>,
pub evaluated_model_versions: Option<Vec<EvaluatedModelVersion>>,
pub evaluated_external_models: Option<Vec<EvaluatedExternalModel>>,
pub prediction_timestamp: Option<String>,
/* private fields */
}
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 associated with the detector specified for this prediction.
entity_id: Option<String>
The entity ID.
entity_type: Option<String>
The entity type.
event_timestamp: Option<String>
The timestamp for when the prediction was generated for the associated event ID.
detector_id: Option<String>
The detector ID.
detector_version_id: Option<String>
The detector version ID.
detector_version_status: Option<String>
The status of the detector version.
event_variables: Option<Vec<EventVariableSummary>>
A list of event variables that influenced the prediction scores.
rules: Option<Vec<EvaluatedRule>>
List of rules associated with the detector version that were used for evaluating variable values.
rule_execution_mode: Option<RuleExecutionMode>
The execution mode of the rule used for evaluating variable values.
outcomes: Option<Vec<String>>
The outcomes of the matched rule, based on the rule execution mode.
evaluated_model_versions: Option<Vec<EvaluatedModelVersion>>
Model versions that were evaluated for generating predictions.
evaluated_external_models: Option<Vec<EvaluatedExternalModel>>
External (Amazon SageMaker) models that were evaluated for generating predictions.
prediction_timestamp: Option<String>
The timestamp that defines when the prediction was generated.
Implementations§
source§impl GetEventPredictionMetadataOutput
impl GetEventPredictionMetadataOutput
sourcepub fn event_type_name(&self) -> Option<&str>
pub fn event_type_name(&self) -> Option<&str>
The event type associated with the detector specified for this prediction.
sourcepub fn entity_type(&self) -> Option<&str>
pub fn entity_type(&self) -> Option<&str>
The entity type.
sourcepub fn event_timestamp(&self) -> Option<&str>
pub fn event_timestamp(&self) -> Option<&str>
The timestamp for when the prediction was generated for the associated event ID.
sourcepub fn detector_id(&self) -> Option<&str>
pub fn detector_id(&self) -> Option<&str>
The detector ID.
sourcepub fn detector_version_id(&self) -> Option<&str>
pub fn detector_version_id(&self) -> Option<&str>
The detector version ID.
sourcepub fn detector_version_status(&self) -> Option<&str>
pub fn detector_version_status(&self) -> Option<&str>
The status of the detector version.
sourcepub fn event_variables(&self) -> &[EventVariableSummary]
pub fn event_variables(&self) -> &[EventVariableSummary]
A list of event variables that influenced the prediction scores.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .event_variables.is_none()
.
sourcepub fn rules(&self) -> &[EvaluatedRule]
pub fn rules(&self) -> &[EvaluatedRule]
List of rules associated with the detector version that were used for evaluating variable values.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .rules.is_none()
.
sourcepub fn rule_execution_mode(&self) -> Option<&RuleExecutionMode>
pub fn rule_execution_mode(&self) -> Option<&RuleExecutionMode>
The execution mode of the rule used for evaluating variable values.
sourcepub fn outcomes(&self) -> &[String]
pub fn outcomes(&self) -> &[String]
The outcomes of the matched rule, based on the rule execution mode.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .outcomes.is_none()
.
sourcepub fn evaluated_model_versions(&self) -> &[EvaluatedModelVersion]
pub fn evaluated_model_versions(&self) -> &[EvaluatedModelVersion]
Model versions that were evaluated for generating predictions.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .evaluated_model_versions.is_none()
.
sourcepub fn evaluated_external_models(&self) -> &[EvaluatedExternalModel]
pub fn evaluated_external_models(&self) -> &[EvaluatedExternalModel]
External (Amazon SageMaker) models that were evaluated for generating predictions.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .evaluated_external_models.is_none()
.
sourcepub fn prediction_timestamp(&self) -> Option<&str>
pub fn prediction_timestamp(&self) -> Option<&str>
The timestamp that defines when the prediction was generated.
source§impl GetEventPredictionMetadataOutput
impl GetEventPredictionMetadataOutput
sourcepub fn builder() -> GetEventPredictionMetadataOutputBuilder
pub fn builder() -> GetEventPredictionMetadataOutputBuilder
Creates a new builder-style object to manufacture GetEventPredictionMetadataOutput
.
Trait Implementations§
source§impl Clone for GetEventPredictionMetadataOutput
impl Clone for GetEventPredictionMetadataOutput
source§fn clone(&self) -> GetEventPredictionMetadataOutput
fn clone(&self) -> GetEventPredictionMetadataOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetEventPredictionMetadataOutput
impl PartialEq for GetEventPredictionMetadataOutput
source§fn eq(&self, other: &GetEventPredictionMetadataOutput) -> bool
fn eq(&self, other: &GetEventPredictionMetadataOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetEventPredictionMetadataOutput
impl RequestId for GetEventPredictionMetadataOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.