Struct aws_sdk_frauddetector::operation::update_detector_version::UpdateDetectorVersionInput
source · #[non_exhaustive]pub struct UpdateDetectorVersionInput {
pub detector_id: Option<String>,
pub detector_version_id: Option<String>,
pub external_model_endpoints: Option<Vec<String>>,
pub rules: Option<Vec<Rule>>,
pub description: Option<String>,
pub model_versions: Option<Vec<ModelVersion>>,
pub rule_execution_mode: Option<RuleExecutionMode>,
}
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.detector_id: Option<String>
The parent detector ID for the detector version you want to update.
detector_version_id: Option<String>
The detector version ID.
external_model_endpoints: Option<Vec<String>>
The Amazon SageMaker model endpoints to include in the detector version.
rules: Option<Vec<Rule>>
The rules to include in the detector version.
description: Option<String>
The detector version description.
model_versions: Option<Vec<ModelVersion>>
The model versions to include in the detector version.
rule_execution_mode: Option<RuleExecutionMode>
The rule execution mode to add to the detector.
If you specify FIRST_MATCHED
, Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.
If you specifiy ALL_MATCHED
, Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. You can define and edit the rule mode at the detector version level, when it is in draft status.
The default behavior is FIRST_MATCHED
.
Implementations§
source§impl UpdateDetectorVersionInput
impl UpdateDetectorVersionInput
sourcepub fn detector_id(&self) -> Option<&str>
pub fn detector_id(&self) -> Option<&str>
The parent detector ID for the detector version you want to update.
sourcepub fn detector_version_id(&self) -> Option<&str>
pub fn detector_version_id(&self) -> Option<&str>
The detector version ID.
sourcepub fn external_model_endpoints(&self) -> &[String]
pub fn external_model_endpoints(&self) -> &[String]
The Amazon SageMaker model endpoints to include in the detector version.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .external_model_endpoints.is_none()
.
sourcepub fn rules(&self) -> &[Rule]
pub fn rules(&self) -> &[Rule]
The rules to include in the detector version.
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 description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The detector version description.
sourcepub fn model_versions(&self) -> &[ModelVersion]
pub fn model_versions(&self) -> &[ModelVersion]
The model versions to include in the detector version.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .model_versions.is_none()
.
sourcepub fn rule_execution_mode(&self) -> Option<&RuleExecutionMode>
pub fn rule_execution_mode(&self) -> Option<&RuleExecutionMode>
The rule execution mode to add to the detector.
If you specify FIRST_MATCHED
, Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.
If you specifiy ALL_MATCHED
, Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. You can define and edit the rule mode at the detector version level, when it is in draft status.
The default behavior is FIRST_MATCHED
.
source§impl UpdateDetectorVersionInput
impl UpdateDetectorVersionInput
sourcepub fn builder() -> UpdateDetectorVersionInputBuilder
pub fn builder() -> UpdateDetectorVersionInputBuilder
Creates a new builder-style object to manufacture UpdateDetectorVersionInput
.
Trait Implementations§
source§impl Clone for UpdateDetectorVersionInput
impl Clone for UpdateDetectorVersionInput
source§fn clone(&self) -> UpdateDetectorVersionInput
fn clone(&self) -> UpdateDetectorVersionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateDetectorVersionInput
impl Debug for UpdateDetectorVersionInput
source§impl PartialEq for UpdateDetectorVersionInput
impl PartialEq for UpdateDetectorVersionInput
source§fn eq(&self, other: &UpdateDetectorVersionInput) -> bool
fn eq(&self, other: &UpdateDetectorVersionInput) -> bool
self
and other
values to be equal, and is used
by ==
.