Copyright | (c) 2013-2018 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. For Hive compatibility, this must be all lowercase.
data DeleteDatabase Source #
See: deleteDatabase
smart constructor.
Instances
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.
ddName :: Lens' DeleteDatabase Text Source #
The name of the Database to delete. For Hive compatibility, this must be all lowercase.
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.
Instances
Response Lenses
ddrsResponseStatus :: Lens' DeleteDatabaseResponse Int Source #
- - | The response status code.