pub struct UpdateDetectorVersionRequest {
pub description: Option<String>,
pub detector_id: String,
pub detector_version_id: String,
pub external_model_endpoints: Vec<String>,
pub model_versions: Option<Vec<ModelVersion>>,
pub rule_execution_mode: Option<String>,
pub rules: Vec<Rule>,
}
Fields
description: Option<String>
The detector version description.
detector_id: String
The parent detector ID for the detector version you want to update.
detector_version_id: String
The detector version ID.
external_model_endpoints: Vec<String>
The Amazon SageMaker model endpoints to include in the detector version.
model_versions: Option<Vec<ModelVersion>>
The model versions to include in the detector version.
rule_execution_mode: Option<String>
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
.
rules: Vec<Rule>
The rules to include in the detector version.
Trait Implementations
sourceimpl Clone for UpdateDetectorVersionRequest
impl Clone for UpdateDetectorVersionRequest
sourcefn clone(&self) -> UpdateDetectorVersionRequest
fn clone(&self) -> UpdateDetectorVersionRequest
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 UpdateDetectorVersionRequest
impl Debug for UpdateDetectorVersionRequest
sourceimpl Default for UpdateDetectorVersionRequest
impl Default for UpdateDetectorVersionRequest
sourcefn default() -> UpdateDetectorVersionRequest
fn default() -> UpdateDetectorVersionRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UpdateDetectorVersionRequest> for UpdateDetectorVersionRequest
impl PartialEq<UpdateDetectorVersionRequest> for UpdateDetectorVersionRequest
sourcefn eq(&self, other: &UpdateDetectorVersionRequest) -> bool
fn eq(&self, other: &UpdateDetectorVersionRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateDetectorVersionRequest) -> bool
fn ne(&self, other: &UpdateDetectorVersionRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateDetectorVersionRequest
Auto Trait Implementations
impl RefUnwindSafe for UpdateDetectorVersionRequest
impl Send for UpdateDetectorVersionRequest
impl Sync for UpdateDetectorVersionRequest
impl Unpin for UpdateDetectorVersionRequest
impl UnwindSafe for UpdateDetectorVersionRequest
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