| 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.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
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:
$sel:restApiId:DeleteModel', deleteModel_restApiId - [Required] The string identifier of the associated RestApi.
$sel:modelName:DeleteModel', deleteModel_modelName - [Required] The name of the model to delete.
Request Lenses
deleteModel_restApiId :: Lens' DeleteModel Text Source #
- Required
- The string identifier of the associated RestApi.
deleteModel_modelName :: Lens' DeleteModel Text Source #
- Required
- 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.