| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.FraudDetector.UpdateVariable
Description
Updates a variable.
Synopsis
- data UpdateVariable = UpdateVariable' {
- defaultValue :: Maybe Text
- variableType :: Maybe Text
- description :: Maybe Text
- name :: Text
- newUpdateVariable :: Text -> UpdateVariable
- updateVariable_defaultValue :: Lens' UpdateVariable (Maybe Text)
- updateVariable_variableType :: Lens' UpdateVariable (Maybe Text)
- updateVariable_description :: Lens' UpdateVariable (Maybe Text)
- updateVariable_name :: Lens' UpdateVariable Text
- data UpdateVariableResponse = UpdateVariableResponse' {
- httpStatus :: Int
- newUpdateVariableResponse :: Int -> UpdateVariableResponse
- updateVariableResponse_httpStatus :: Lens' UpdateVariableResponse Int
Creating a Request
data UpdateVariable Source #
See: newUpdateVariable smart constructor.
Constructors
| UpdateVariable' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateVariable |
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:
$sel:defaultValue:UpdateVariable', updateVariable_defaultValue - The new default value of the variable.
$sel:variableType:UpdateVariable', updateVariable_variableType - The variable type. For more information see
Variable types.
$sel:description:UpdateVariable', updateVariable_description - The new description.
$sel:name: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_description :: Lens' UpdateVariable (Maybe Text) Source #
The new description.
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
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
updateVariableResponse_httpStatus :: Lens' UpdateVariableResponse Int Source #
The response's http status code.