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 |
Deletes multiple tables at once.
- batchDeleteTable :: Text -> BatchDeleteTable
- data BatchDeleteTable
- bdtCatalogId :: Lens' BatchDeleteTable (Maybe Text)
- bdtDatabaseName :: Lens' BatchDeleteTable Text
- bdtTablesToDelete :: Lens' BatchDeleteTable [Text]
- batchDeleteTableResponse :: Int -> BatchDeleteTableResponse
- data BatchDeleteTableResponse
- bdtrsErrors :: Lens' BatchDeleteTableResponse [TableError]
- bdtrsResponseStatus :: Lens' BatchDeleteTableResponse Int
Creating a Request
Creates a value of BatchDeleteTable
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bdtCatalogId
- The ID of the Data Catalog where the table resides. If none is supplied, the AWS account ID is used by default.bdtDatabaseName
- The name of the catalog database where the tables to delete reside.bdtTablesToDelete
- A list of the table to delete.
data BatchDeleteTable Source #
See: batchDeleteTable
smart constructor.
Request Lenses
bdtCatalogId :: Lens' BatchDeleteTable (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.
bdtDatabaseName :: Lens' BatchDeleteTable Text Source #
The name of the catalog database where the tables to delete reside.
bdtTablesToDelete :: Lens' BatchDeleteTable [Text] Source #
A list of the table to delete.
Destructuring the Response
batchDeleteTableResponse Source #
Creates a value of BatchDeleteTableResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bdtrsErrors
- A list of errors encountered in attempting to delete the specified tables.bdtrsResponseStatus
- -- | The response status code.
data BatchDeleteTableResponse Source #
See: batchDeleteTableResponse
smart constructor.
Response Lenses
bdtrsErrors :: Lens' BatchDeleteTableResponse [TableError] Source #
A list of errors encountered in attempting to delete the specified tables.
bdtrsResponseStatus :: Lens' BatchDeleteTableResponse Int Source #
- - | The response status code.