| 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 |
Network.AWS.Glue.BatchDeleteTable
Description
Deletes multiple tables at once.
Synopsis
- 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
Arguments
| :: Text | |
| -> BatchDeleteTable |
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. For Hive compatibility, this name is entirely lowercase.bdtTablesToDelete- A list of the table to delete.
data BatchDeleteTable Source #
See: batchDeleteTable smart constructor.
Instances
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. For Hive compatibility, this name is entirely lowercase.
bdtTablesToDelete :: Lens' BatchDeleteTable [Text] Source #
A list of the table to delete.
Destructuring the Response
batchDeleteTableResponse Source #
Arguments
| :: Int | |
| -> BatchDeleteTableResponse |
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.
Instances
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.