NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $frauddetector = Paws->service('FraudDetector');
my $CreateModelVersionResult = $frauddetector->CreateModelVersion(
  ModelId            => 'MymodelIdentifier',
  ModelType          => 'ONLINE_FRAUD_INSIGHTS',
  TrainingDataSchema => {
    LabelSchema => {
      LabelMapper => { 'Mystring' => [ 'Mystring', ... ], },

    },
    ModelVariables => [ 'Mystring', ... ],

  },
  TrainingDataSource   => 'EXTERNAL_EVENTS',
  ExternalEventsDetail => {
    DataAccessRoleArn => 'MyiamRoleArn',          # min: 1, max: 256
    DataLocation      => 'Mys3BucketLocation',    # min: 1, max: 512

  },    # OPTIONAL
  Tags => [
    {
      Key   => 'MytagKey',      # min: 1, max: 128
      Value => 'MytagValue',    # max: 256

    },
    ...
  ],    # OPTIONAL
);

# Results:
my $ModelId            = $CreateModelVersionResult->ModelId;
my $ModelType          = $CreateModelVersionResult->ModelType;
my $ModelVersionNumber = $CreateModelVersionResult->ModelVersionNumber;
my $Status             = $CreateModelVersionResult->Status;

# Returns a L<Paws::FraudDetector::CreateModelVersionResult> 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/CreateModelVersion

ATTRIBUTES

ExternalEventsDetail => Paws::FraudDetector::ExternalEventsDetail

Details for the external events data used for model version training. Required if trainingDataSource is EXTERNAL_EVENTS.

REQUIRED ModelId => Str

The model ID.

REQUIRED ModelType => Str

The model type.

Valid values are: "ONLINE_FRAUD_INSIGHTS"

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

A collection of key and value pairs.

REQUIRED TrainingDataSchema => Paws::FraudDetector::TrainingDataSchema

The training data schema.

REQUIRED TrainingDataSource => Str

The training data source location in Amazon S3.

Valid values are: "EXTERNAL_EVENTS"

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateModelVersion 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