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::CreateVariable - Arguments for method CreateVariable on Paws::FraudDetector

DESCRIPTION

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

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

SYNOPSIS

    my $frauddetector = Paws->service('FraudDetector');
    my $CreateVariableResult = $frauddetector->CreateVariable(
      DataSource   => 'EVENT',
      DataType     => 'STRING',
      DefaultValue => 'Mystring',
      Name         => 'Mystring',
      Description  => 'Mystring',    # OPTIONAL
      Tags         => [
        {
          Key   => 'MytagKey',      # min: 1, max: 128
          Value => 'MytagValue',    # max: 256

        },
        ...
      ],    # OPTIONAL
      VariableType => 'Mystring',    # OPTIONAL
    );

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/CreateVariable

ATTRIBUTES

REQUIRED DataSource => Str

The source of the data.

Valid values are: "EVENT", "MODEL_SCORE", "EXTERNAL_MODEL_SCORE"

REQUIRED DataType => Str

The data type.

Valid values are: "STRING", "INTEGER", "FLOAT", "BOOLEAN"

REQUIRED DefaultValue => Str

The default value for the variable when no value is received.

Description => Str

The description.

REQUIRED Name => Str

The name of the variable.

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

A collection of key and value pairs.

VariableType => Str

The variable type. For more information see Variable types (https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types).

Valid Values: AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT

SEE ALSO

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