The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::FraudDetector::CreateDetectorVersion - Arguments for method CreateDetectorVersion on Paws::FraudDetector

DESCRIPTION

This class represents the parameters used for calling the method CreateDetectorVersion on the Amazon Fraud Detector service. Use the attributes of this class as arguments to method CreateDetectorVersion.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDetectorVersion.

SYNOPSIS

my $frauddetector = Paws->service('FraudDetector');
my $CreateDetectorVersionResult = $frauddetector->CreateDetectorVersion(
  DetectorId => 'Myidentifier',
  Rules      => [
    {
      DetectorId  => 'Myidentifier',                  # min: 1, max: 64
      RuleId      => 'Myidentifier',                  # min: 1, max: 64
      RuleVersion => 'MywholeNumberVersionString',    # min: 1, max: 5

    },
    ...
  ],
  Description            => 'Mydescription',        # OPTIONAL
  ExternalModelEndpoints => [ 'Mystring', ... ],    # OPTIONAL
  ModelVersions          => [
    {
      ModelId   => 'MymodelIdentifier',      # min: 1, max: 64
      ModelType => 'ONLINE_FRAUD_INSIGHTS',  # values: ONLINE_FRAUD_INSIGHTS
      ModelVersionNumber => 'MynonEmptyString',    # min: 1
      Arn => 'MyfraudDetectorArn',    # min: 1, max: 256; OPTIONAL
    },
    ...
  ],    # OPTIONAL
  RuleExecutionMode => 'ALL_MATCHED',    # OPTIONAL
  Tags              => [
    {
      Key   => 'MytagKey',      # min: 1, max: 128
      Value => 'MytagValue',    # max: 256

    },
    ...
  ],    # OPTIONAL
);

# Results:
my $DetectorId        = $CreateDetectorVersionResult->DetectorId;
my $DetectorVersionId = $CreateDetectorVersionResult->DetectorVersionId;
my $Status            = $CreateDetectorVersionResult->Status;

# Returns a L<Paws::FraudDetector::CreateDetectorVersionResult> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/frauddetector/CreateDetectorVersion

ATTRIBUTES

Description => Str

The description of the detector version.

REQUIRED DetectorId => Str

The ID of the detector under which you want to create a new version.

ExternalModelEndpoints => ArrayRef[Str|Undef]

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

ModelVersions => ArrayRef[Paws::FraudDetector::ModelVersion]

The model versions to include in the detector version.

RuleExecutionMode => Str

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.

Valid values are: "ALL_MATCHED", "FIRST_MATCHED"

REQUIRED Rules => ArrayRef[Paws::FraudDetector::Rule]

The rules to include in the detector version.

Tags => ArrayRef[Paws::FraudDetector::Tag]

A collection of key and value pairs.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateDetectorVersion in Paws::FraudDetector

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues