class Aws::FraudDetector::Types::CreateVariableRequest
@note When making an API call, you may pass CreateVariableRequest
data as a hash: { name: "string", # required data_type: "STRING", # required, accepts STRING, INTEGER, FLOAT, BOOLEAN data_source: "EVENT", # required, accepts EVENT, MODEL_SCORE, EXTERNAL_MODEL_SCORE default_value: "string", # required description: "string", variable_type: "string", tags: [ { key: "tagKey", # required value: "tagValue", # required }, ], }
@!attribute [rw] name
The name of the variable. @return [String]
@!attribute [rw] data_type
The data type. @return [String]
@!attribute [rw] data_source
The source of the data. @return [String]
@!attribute [rw] default_value
The default value for the variable when no value is received. @return [String]
@!attribute [rw] description
The description. @return [String]
@!attribute [rw] variable_type
The variable type. For more information see [Variable types][1]. 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` [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types @return [String]
@!attribute [rw] tags
A collection of key and value pairs. @return [Array<Types::Tag>]
@see docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateVariableRequest AWS API Documentation
Constants
- SENSITIVE