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 the specified API.
Synopsis
Creating a Request
data DeleteRestApi Source #
Request to delete the specified API from your collection.
See: newDeleteRestApi
smart constructor.
Instances
Create a value of DeleteRestApi
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:DeleteRestApi'
, deleteRestApi_restApiId
- [Required] The string identifier of the associated RestApi.
Request Lenses
deleteRestApi_restApiId :: Lens' DeleteRestApi Text Source #
- Required
- The string identifier of the associated RestApi.
Destructuring the Response
data DeleteRestApiResponse Source #
See: newDeleteRestApiResponse
smart constructor.
Instances
Eq DeleteRestApiResponse Source # | |
Defined in Amazonka.APIGateway.DeleteRestApi (==) :: DeleteRestApiResponse -> DeleteRestApiResponse -> Bool # (/=) :: DeleteRestApiResponse -> DeleteRestApiResponse -> Bool # | |
Read DeleteRestApiResponse Source # | |
Show DeleteRestApiResponse Source # | |
Defined in Amazonka.APIGateway.DeleteRestApi showsPrec :: Int -> DeleteRestApiResponse -> ShowS # show :: DeleteRestApiResponse -> String # showList :: [DeleteRestApiResponse] -> ShowS # | |
Generic DeleteRestApiResponse Source # | |
Defined in Amazonka.APIGateway.DeleteRestApi type Rep DeleteRestApiResponse :: Type -> Type # | |
NFData DeleteRestApiResponse Source # | |
Defined in Amazonka.APIGateway.DeleteRestApi rnf :: DeleteRestApiResponse -> () # | |
type Rep DeleteRestApiResponse Source # | |
newDeleteRestApiResponse :: DeleteRestApiResponse Source #
Create a value of DeleteRestApiResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.