You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::FraudDetector::Types::UpdateDetectorVersionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::FraudDetector::Types::UpdateDetectorVersionRequest
- Defined in:
- (unknown)
Overview
When passing UpdateDetectorVersionRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
detector_id: "identifier", # required
detector_version_id: "wholeNumberVersionString", # required
external_model_endpoints: ["string"], # required
rules: [ # required
{
detector_id: "identifier", # required
rule_id: "identifier", # required
rule_version: "wholeNumberVersionString", # required
},
],
description: "description",
model_versions: [
{
model_id: "modelIdentifier", # required
model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
model_version_number: "nonEmptyString", # required
arn: "fraudDetectorArn",
},
],
rule_execution_mode: "ALL_MATCHED", # accepts ALL_MATCHED, FIRST_MATCHED
}
Instance Attribute Summary collapse
-
#description ⇒ 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 ⇒ Array<String>
The Amazon SageMaker model endpoints to include in the detector version.
-
#model_versions ⇒ Array<Types::ModelVersion>
The model versions to include in the detector version.
-
#rule_execution_mode ⇒ String
The rule execution mode to add to the detector.
-
#rules ⇒ Array<Types::Rule>
The rules to include in the detector version.
Instance Attribute Details
#description ⇒ 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 ⇒ Array<String>
The Amazon SageMaker model endpoints to include in the detector version.
#model_versions ⇒ Array<Types::ModelVersion>
The model versions to include in the detector version.
#rule_execution_mode ⇒ 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
.
Possible values:
- ALL_MATCHED
- FIRST_MATCHED
#rules ⇒ Array<Types::Rule>
The rules to include in the detector version.