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.APIGateway.DeleteModel
Description
Deletes a model.
Synopsis
Creating a Request
data DeleteModel Source #
Request to delete an existing model in an existing RestApi resource.
See: newDeleteModel
smart constructor.
Constructors
DeleteModel' | |
Instances
Arguments
:: Text | |
-> Text | |
-> DeleteModel |
Create a value of DeleteModel
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:
DeleteModel
, deleteModel_restApiId
- The string identifier of the associated RestApi.
$sel:modelName:DeleteModel'
, deleteModel_modelName
- The name of the model to delete.
Request Lenses
deleteModel_restApiId :: Lens' DeleteModel Text Source #
The string identifier of the associated RestApi.
deleteModel_modelName :: Lens' DeleteModel Text Source #
The name of the model to delete.
Destructuring the Response
data DeleteModelResponse Source #
See: newDeleteModelResponse
smart constructor.
Constructors
DeleteModelResponse' | |
Instances
newDeleteModelResponse :: DeleteModelResponse Source #
Create a value of DeleteModelResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.