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 |
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.
UpdateModel' | |
|
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:
UpdateModel
, updateModel_description
- The new model description.
UpdateModel
, updateModel_modelId
- The model ID.
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.
UpdateModelResponse' | |
|
Instances
newUpdateModelResponse Source #
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.