| 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.DeleteTableVersion
Description
Deletes a specified version of a table.
Synopsis
- deleteTableVersion :: Text -> Text -> Text -> DeleteTableVersion
- data DeleteTableVersion
- dtvCatalogId :: Lens' DeleteTableVersion (Maybe Text)
- dtvDatabaseName :: Lens' DeleteTableVersion Text
- dtvTableName :: Lens' DeleteTableVersion Text
- dtvVersionId :: Lens' DeleteTableVersion Text
- deleteTableVersionResponse :: Int -> DeleteTableVersionResponse
- data DeleteTableVersionResponse
- dtvrsResponseStatus :: Lens' DeleteTableVersionResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> DeleteTableVersion |
Creates a value of DeleteTableVersion with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtvCatalogId- The ID of the Data Catalog where the tables reside. If none is supplied, the AWS account ID is used by default.dtvDatabaseName- The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.dtvTableName- The name of the table. For Hive compatibility, this name is entirely lowercase.dtvVersionId- The ID of the table version to be deleted.
data DeleteTableVersion Source #
See: deleteTableVersion smart constructor.
Instances
Request Lenses
dtvCatalogId :: Lens' DeleteTableVersion (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.
dtvDatabaseName :: Lens' DeleteTableVersion Text Source #
The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
dtvTableName :: Lens' DeleteTableVersion Text Source #
The name of the table. For Hive compatibility, this name is entirely lowercase.
dtvVersionId :: Lens' DeleteTableVersion Text Source #
The ID of the table version to be deleted.
Destructuring the Response
deleteTableVersionResponse Source #
Arguments
| :: Int | |
| -> DeleteTableVersionResponse |
Creates a value of DeleteTableVersionResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtvrsResponseStatus- -- | The response status code.
data DeleteTableVersionResponse Source #
See: deleteTableVersionResponse smart constructor.
Instances
Response Lenses
dtvrsResponseStatus :: Lens' DeleteTableVersionResponse Int Source #
- - | The response status code.