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 table definition from the Data Catalog.
Synopsis
Creating a Request
Creates a value of DeleteTable
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtCatalogId
- The ID of the Data Catalog where the table resides. If none is supplied, the AWS account ID is used by default.dtDatabaseName
- The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.dtName
- The name of the table to be deleted. For Hive compatibility, this name is entirely lowercase.
data DeleteTable Source #
See: deleteTable
smart constructor.
Instances
Request Lenses
dtCatalogId :: Lens' DeleteTable (Maybe Text) Source #
The ID of the Data Catalog where the table resides. If none is supplied, the AWS account ID is used by default.
dtDatabaseName :: Lens' DeleteTable Text Source #
The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.
dtName :: Lens' DeleteTable Text Source #
The name of the table to be deleted. For Hive compatibility, this name is entirely lowercase.
Destructuring the Response
Creates a value of DeleteTableResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtrsResponseStatus
- -- | The response status code.
data DeleteTableResponse Source #
See: deleteTableResponse
smart constructor.
Instances
Response Lenses
dtrsResponseStatus :: Lens' DeleteTableResponse Int Source #
- - | The response status code.