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 |
Deletes a specified batch of versions of a table.
- batchDeleteTableVersion :: Text -> Text -> BatchDeleteTableVersion
- data BatchDeleteTableVersion
- bdtvCatalogId :: Lens' BatchDeleteTableVersion (Maybe Text)
- bdtvDatabaseName :: Lens' BatchDeleteTableVersion Text
- bdtvTableName :: Lens' BatchDeleteTableVersion Text
- bdtvVersionIds :: Lens' BatchDeleteTableVersion [Text]
- batchDeleteTableVersionResponse :: Int -> BatchDeleteTableVersionResponse
- data BatchDeleteTableVersionResponse
- bdtvrsErrors :: Lens' BatchDeleteTableVersionResponse [TableVersionError]
- bdtvrsResponseStatus :: Lens' BatchDeleteTableVersionResponse Int
Creating a Request
batchDeleteTableVersion Source #
Creates a value of BatchDeleteTableVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bdtvCatalogId
- The ID of the Data Catalog where the tables reside. If none is supplied, the AWS account ID is used by default.bdtvDatabaseName
- The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.bdtvTableName
- The name of the table. For Hive compatibility, this name is entirely lowercase.bdtvVersionIds
- A list of the IDs of versions to be deleted.
data BatchDeleteTableVersion Source #
See: batchDeleteTableVersion
smart constructor.
Request Lenses
bdtvCatalogId :: Lens' BatchDeleteTableVersion (Maybe Text) Source #
The ID of the Data Catalog where the tables reside. If none is supplied, the AWS account ID is used by default.
bdtvDatabaseName :: Lens' BatchDeleteTableVersion Text Source #
The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
bdtvTableName :: Lens' BatchDeleteTableVersion Text Source #
The name of the table. For Hive compatibility, this name is entirely lowercase.
bdtvVersionIds :: Lens' BatchDeleteTableVersion [Text] Source #
A list of the IDs of versions to be deleted.
Destructuring the Response
batchDeleteTableVersionResponse Source #
Creates a value of BatchDeleteTableVersionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bdtvrsErrors
- A list of errors encountered while trying to delete the specified table versions.bdtvrsResponseStatus
- -- | The response status code.
data BatchDeleteTableVersionResponse Source #
See: batchDeleteTableVersionResponse
smart constructor.
Response Lenses
bdtvrsErrors :: Lens' BatchDeleteTableVersionResponse [TableVersionError] Source #
A list of errors encountered while trying to delete the specified table versions.
bdtvrsResponseStatus :: Lens' BatchDeleteTableVersionResponse Int Source #
- - | The response status code.