You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::FraudDetector::Types::CreateVariableRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::FraudDetector::Types::CreateVariableRequest
- Defined in:
- (unknown)
Overview
When passing CreateVariableRequest as input to an Aws::Client method, you can use a vanilla 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
},
],
}
Instance Attribute Summary collapse
-
#data_source ⇒ String
The source of the data.
-
#data_type ⇒ String
The data type.
-
#default_value ⇒ String
The default value for the variable when no value is received.
-
#description ⇒ String
The description.
-
#name ⇒ String
The name of the variable.
-
#tags ⇒ Array<Types::Tag>
A collection of key and value pairs.
-
#variable_type ⇒ String
The variable type.
Instance Attribute Details
#data_source ⇒ String
The source of the data.
Possible values:
- EVENT
- MODEL_SCORE
- EXTERNAL_MODEL_SCORE
#data_type ⇒ String
The data type.
Possible values:
- STRING
- INTEGER
- FLOAT
- BOOLEAN
#default_value ⇒ String
The default value for the variable when no value is received.
#description ⇒ String
The description.
#name ⇒ String
The name of the variable.
#tags ⇒ Array<Types::Tag>
A collection of key and value pairs.
#variable_type ⇒ String
The variable type. For more information see 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