Struct aws_sdk_frauddetector::operation::create_detector_version::CreateDetectorVersionInput
source · #[non_exhaustive]pub struct CreateDetectorVersionInput {
pub detector_id: Option<String>,
pub description: Option<String>,
pub external_model_endpoints: Option<Vec<String>>,
pub rules: Option<Vec<Rule>>,
pub model_versions: Option<Vec<ModelVersion>>,
pub rule_execution_mode: Option<RuleExecutionMode>,
pub tags: Option<Vec<Tag>>,
}
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 ID of the detector under which you want to create a new version.
description: Option<String>
The description of the detector version.
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.
model_versions: Option<Vec<ModelVersion>>
The model versions to include in the detector version.
rule_execution_mode: Option<RuleExecutionMode>
The rule execution mode for the rules included in the detector version.
You can define and edit the rule mode at the detector version level, when it is in draft status.
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.
The default behavior is FIRST_MATCHED
.
A collection of key and value pairs.
Implementations§
source§impl CreateDetectorVersionInput
impl CreateDetectorVersionInput
sourcepub fn detector_id(&self) -> Option<&str>
pub fn detector_id(&self) -> Option<&str>
The ID of the detector under which you want to create a new version.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the detector version.
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 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 for the rules included in the detector version.
You can define and edit the rule mode at the detector version level, when it is in draft status.
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.
The default behavior is FIRST_MATCHED
.
A collection of key and value pairs.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateDetectorVersionInput
impl CreateDetectorVersionInput
sourcepub fn builder() -> CreateDetectorVersionInputBuilder
pub fn builder() -> CreateDetectorVersionInputBuilder
Creates a new builder-style object to manufacture CreateDetectorVersionInput
.
Trait Implementations§
source§impl Clone for CreateDetectorVersionInput
impl Clone for CreateDetectorVersionInput
source§fn clone(&self) -> CreateDetectorVersionInput
fn clone(&self) -> CreateDetectorVersionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDetectorVersionInput
impl Debug for CreateDetectorVersionInput
source§impl PartialEq for CreateDetectorVersionInput
impl PartialEq for CreateDetectorVersionInput
source§fn eq(&self, other: &CreateDetectorVersionInput) -> bool
fn eq(&self, other: &CreateDetectorVersionInput) -> bool
self
and other
values to be equal, and is used
by ==
.