amazonka-frauddetector-2.0: Amazon Fraud Detector SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.FraudDetector.UpdateVariable

Description

Updates a variable.

Synopsis

Creating a Request

data UpdateVariable Source #

See: newUpdateVariable smart constructor.

Constructors

UpdateVariable' 

Fields

Instances

Instances details
ToJSON UpdateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateVariable

ToHeaders UpdateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateVariable

ToPath UpdateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateVariable

ToQuery UpdateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateVariable

AWSRequest UpdateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateVariable

Associated Types

type AWSResponse UpdateVariable #

Generic UpdateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateVariable

Associated Types

type Rep UpdateVariable :: Type -> Type #

Read UpdateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateVariable

Show UpdateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateVariable

NFData UpdateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateVariable

Methods

rnf :: UpdateVariable -> () #

Eq UpdateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateVariable

Hashable UpdateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateVariable

type AWSResponse UpdateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateVariable

type Rep UpdateVariable Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateVariable

type Rep UpdateVariable = D1 ('MetaData "UpdateVariable" "Amazonka.FraudDetector.UpdateVariable" "amazonka-frauddetector-2.0-CdXFXtLV8DgKo4Kta7Jw61" 'False) (C1 ('MetaCons "UpdateVariable'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "defaultValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "variableType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateVariable Source #

Create a value of UpdateVariable 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:

UpdateVariable, updateVariable_defaultValue - The new default value of the variable.

UpdateVariable, updateVariable_description - The new description.

UpdateVariable, updateVariable_variableType - The variable type. For more information see Variable types.

UpdateVariable, updateVariable_name - The name of the variable.

Request Lenses

updateVariable_defaultValue :: Lens' UpdateVariable (Maybe Text) Source #

The new default value of the variable.

updateVariable_variableType :: Lens' UpdateVariable (Maybe Text) Source #

The variable type. For more information see Variable types.

updateVariable_name :: Lens' UpdateVariable Text Source #

The name of the variable.

Destructuring the Response

data UpdateVariableResponse Source #

See: newUpdateVariableResponse smart constructor.

Constructors

UpdateVariableResponse' 

Fields

Instances

Instances details
Generic UpdateVariableResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateVariable

Associated Types

type Rep UpdateVariableResponse :: Type -> Type #

Read UpdateVariableResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateVariable

Show UpdateVariableResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateVariable

NFData UpdateVariableResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateVariable

Methods

rnf :: UpdateVariableResponse -> () #

Eq UpdateVariableResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateVariable

type Rep UpdateVariableResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateVariable

type Rep UpdateVariableResponse = D1 ('MetaData "UpdateVariableResponse" "Amazonka.FraudDetector.UpdateVariable" "amazonka-frauddetector-2.0-CdXFXtLV8DgKo4Kta7Jw61" 'False) (C1 ('MetaCons "UpdateVariableResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateVariableResponse Source #

Create a value of UpdateVariableResponse 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:UpdateVariableResponse', updateVariableResponse_httpStatus - The response's http status code.

Response Lenses