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 |
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.
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.
Instances
Eq DeleteModelResponse Source # | |
Defined in Amazonka.APIGateway.DeleteModel (==) :: DeleteModelResponse -> DeleteModelResponse -> Bool # (/=) :: DeleteModelResponse -> DeleteModelResponse -> Bool # | |
Read DeleteModelResponse Source # | |
Show DeleteModelResponse Source # | |
Defined in Amazonka.APIGateway.DeleteModel showsPrec :: Int -> DeleteModelResponse -> ShowS # show :: DeleteModelResponse -> String # showList :: [DeleteModelResponse] -> ShowS # | |
Generic DeleteModelResponse Source # | |
Defined in Amazonka.APIGateway.DeleteModel type Rep DeleteModelResponse :: Type -> Type # from :: DeleteModelResponse -> Rep DeleteModelResponse x # to :: Rep DeleteModelResponse x -> DeleteModelResponse # | |
NFData DeleteModelResponse Source # | |
Defined in Amazonka.APIGateway.DeleteModel rnf :: DeleteModelResponse -> () # | |
type Rep DeleteModelResponse Source # | |
newDeleteModelResponse :: DeleteModelResponse Source #
Create a value of DeleteModelResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.