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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#descriptionString

The detector version description.

Returns:

  • (String)

    The detector version description.

#detector_idString

The parent detector ID for the detector version you want to update.

Returns:

  • (String)

    The parent detector ID for the detector version you want to update.

#detector_version_idString

The detector version ID.

Returns:

  • (String)

    The detector version ID.

#external_model_endpointsArray<String>

The Amazon SageMaker model endpoints to include in the detector version.

Returns:

  • (Array<String>)

    The Amazon SageMaker model endpoints to include in the detector version.

#model_versionsArray<Types::ModelVersion>

The model versions to include in the detector version.

Returns:

#rule_execution_modeString

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

Returns:

  • (String)

    The rule execution mode to add to the detector.

#rulesArray<Types::Rule>

The rules to include in the detector version.

Returns:

  • (Array<Types::Rule>)

    The rules to include in the detector version.