libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.FraudDetector.CreateVariable

Description

Creates a variable.

Synopsis

Creating a Request

data CreateVariable Source #

See: newCreateVariable smart constructor.

Constructors

CreateVariable' 

Fields

  • variableType :: Maybe Text

    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

  • description :: Maybe Text

    The description.

  • tags :: Maybe [Tag]

    A collection of key and value pairs.

  • name :: Text

    The name of the variable.

  • dataType :: DataType

    The data type.

  • dataSource :: DataSource

    The source of the data.

  • defaultValue :: Text

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

Instances

Instances details
Eq CreateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateVariable

Read CreateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateVariable

Show CreateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateVariable

Generic CreateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateVariable

Associated Types

type Rep CreateVariable :: Type -> Type #

NFData CreateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateVariable

Methods

rnf :: CreateVariable -> () #

Hashable CreateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateVariable

ToJSON CreateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateVariable

AWSRequest CreateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateVariable

Associated Types

type AWSResponse CreateVariable #

ToHeaders CreateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateVariable

ToPath CreateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateVariable

ToQuery CreateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateVariable

type Rep CreateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateVariable

type Rep CreateVariable = D1 ('MetaData "CreateVariable" "Amazonka.FraudDetector.CreateVariable" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "CreateVariable'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "variableType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "dataType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DataType)) :*: (S1 ('MetaSel ('Just "dataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DataSource) :*: S1 ('MetaSel ('Just "defaultValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateVariable

newCreateVariable Source #

Create a value of CreateVariable with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:variableType:CreateVariable', createVariable_variableType - 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

$sel:description:CreateVariable', createVariable_description - The description.

$sel:tags:CreateVariable', createVariable_tags - A collection of key and value pairs.

$sel:name:CreateVariable', createVariable_name - The name of the variable.

$sel:dataType:CreateVariable', createVariable_dataType - The data type.

$sel:dataSource:CreateVariable', createVariable_dataSource - The source of the data.

$sel:defaultValue:CreateVariable', createVariable_defaultValue - The default value for the variable when no value is received.

Request Lenses

createVariable_variableType :: Lens' CreateVariable (Maybe Text) Source #

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

createVariable_tags :: Lens' CreateVariable (Maybe [Tag]) Source #

A collection of key and value pairs.

createVariable_name :: Lens' CreateVariable Text Source #

The name of the variable.

createVariable_defaultValue :: Lens' CreateVariable Text Source #

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

Destructuring the Response

data CreateVariableResponse Source #

See: newCreateVariableResponse smart constructor.

Constructors

CreateVariableResponse' 

Fields

Instances

Instances details
Eq CreateVariableResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateVariable

Read CreateVariableResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateVariable

Show CreateVariableResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateVariable

Generic CreateVariableResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateVariable

Associated Types

type Rep CreateVariableResponse :: Type -> Type #

NFData CreateVariableResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateVariable

Methods

rnf :: CreateVariableResponse -> () #

type Rep CreateVariableResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateVariable

type Rep CreateVariableResponse = D1 ('MetaData "CreateVariableResponse" "Amazonka.FraudDetector.CreateVariable" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "CreateVariableResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateVariableResponse Source #

Create a value of CreateVariableResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:CreateVariableResponse', createVariableResponse_httpStatus - The response's http status code.

Response Lenses