| 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.UpdateModel
Description
Updates model description.
Synopsis
- data UpdateModel = UpdateModel' {}
- newUpdateModel :: Text -> ModelTypeEnum -> UpdateModel
- updateModel_description :: Lens' UpdateModel (Maybe Text)
- updateModel_modelId :: Lens' UpdateModel Text
- updateModel_modelType :: Lens' UpdateModel ModelTypeEnum
- data UpdateModelResponse = UpdateModelResponse' {
- httpStatus :: Int
- newUpdateModelResponse :: Int -> UpdateModelResponse
- updateModelResponse_httpStatus :: Lens' UpdateModelResponse Int
Creating a Request
data UpdateModel Source #
See: newUpdateModel smart constructor.
Constructors
| UpdateModel' | |
Fields
| |
Instances
Create a value of UpdateModel 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:description:UpdateModel', updateModel_description - The new model description.
$sel:modelId:UpdateModel', updateModel_modelId - The model ID.
$sel:modelType:UpdateModel', updateModel_modelType - The model type.
Request Lenses
updateModel_description :: Lens' UpdateModel (Maybe Text) Source #
The new model description.
updateModel_modelId :: Lens' UpdateModel Text Source #
The model ID.
updateModel_modelType :: Lens' UpdateModel ModelTypeEnum Source #
The model type.
Destructuring the Response
data UpdateModelResponse Source #
See: newUpdateModelResponse smart constructor.
Constructors
| UpdateModelResponse' | |
Fields
| |
Instances
newUpdateModelResponse Source #
Arguments
| :: Int | |
| -> UpdateModelResponse |
Create a value of UpdateModelResponse 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:UpdateModelResponse', updateModelResponse_httpStatus - The response's http status code.
Response Lenses
updateModelResponse_httpStatus :: Lens' UpdateModelResponse Int Source #
The response's http status code.