| 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.DeleteRestApi
Description
Deletes the specified API.
Synopsis
Creating a Request
data DeleteRestApi Source #
Request to delete the specified API from your collection.
See: newDeleteRestApi smart constructor.
Constructors
| DeleteRestApi' | |
Instances
Arguments
| :: Text | |
| -> DeleteRestApi |
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:
DeleteRestApi, deleteRestApi_restApiId - The string identifier of the associated RestApi.
Request Lenses
deleteRestApi_restApiId :: Lens' DeleteRestApi Text Source #
The string identifier of the associated RestApi.
Destructuring the Response
data DeleteRestApiResponse Source #
See: newDeleteRestApiResponse smart constructor.
Constructors
| DeleteRestApiResponse' | |
Instances
newDeleteRestApiResponse :: DeleteRestApiResponse Source #
Create a value of DeleteRestApiResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.