| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.FraudDetector.UpdateVariable
Description
Updates a variable.
Synopsis
- data UpdateVariable = UpdateVariable' {
- defaultValue :: Maybe Text
- description :: Maybe Text
- variableType :: Maybe Text
- name :: Text
- newUpdateVariable :: Text -> UpdateVariable
- updateVariable_defaultValue :: Lens' UpdateVariable (Maybe Text)
- updateVariable_description :: Lens' UpdateVariable (Maybe Text)
- updateVariable_variableType :: 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:
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_description :: Lens' UpdateVariable (Maybe Text) Source #
The new description.
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
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.