Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Removes a specified Database from a Data Catalog.
Creating a Request
:: Text | |
-> DeleteDatabase |
Creates a value of DeleteDatabase
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddCatalogId
- The ID of the Data Catalog in which the database resides. If none is supplied, the AWS account ID is used by default.ddName
- The name of the Database to delete.
data DeleteDatabase Source #
See: deleteDatabase
smart constructor.
Request Lenses
ddCatalogId :: Lens' DeleteDatabase (Maybe Text) Source #
The ID of the Data Catalog in which the database resides. If none is supplied, the AWS account ID is used by default.
Destructuring the Response
deleteDatabaseResponse Source #
Creates a value of DeleteDatabaseResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddrsResponseStatus
- -- | The response status code.
data DeleteDatabaseResponse Source #
See: deleteDatabaseResponse
smart constructor.
Response Lenses
ddrsResponseStatus :: Lens' DeleteDatabaseResponse Int Source #
- - | The response status code.