Copyright | (c) 2013-2021 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 |
Deletes a specified version of a table.
Synopsis
- data DeleteTableVersion = DeleteTableVersion' {}
- newDeleteTableVersion :: Text -> Text -> Text -> DeleteTableVersion
- deleteTableVersion_catalogId :: Lens' DeleteTableVersion (Maybe Text)
- deleteTableVersion_databaseName :: Lens' DeleteTableVersion Text
- deleteTableVersion_tableName :: Lens' DeleteTableVersion Text
- deleteTableVersion_versionId :: Lens' DeleteTableVersion Text
- data DeleteTableVersionResponse = DeleteTableVersionResponse' {
- httpStatus :: Int
- newDeleteTableVersionResponse :: Int -> DeleteTableVersionResponse
- deleteTableVersionResponse_httpStatus :: Lens' DeleteTableVersionResponse Int
Creating a Request
data DeleteTableVersion Source #
See: newDeleteTableVersion
smart constructor.
DeleteTableVersion' | |
|
Instances
newDeleteTableVersion Source #
:: Text | |
-> Text | |
-> Text | |
-> DeleteTableVersion |
Create a value of DeleteTableVersion
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:catalogId:DeleteTableVersion'
, deleteTableVersion_catalogId
- The ID of the Data Catalog where the tables reside. If none is provided,
the Amazon Web Services account ID is used by default.
$sel:databaseName:DeleteTableVersion'
, deleteTableVersion_databaseName
- The database in the catalog in which the table resides. For Hive
compatibility, this name is entirely lowercase.
$sel:tableName:DeleteTableVersion'
, deleteTableVersion_tableName
- The name of the table. For Hive compatibility, this name is entirely
lowercase.
$sel:versionId:DeleteTableVersion'
, deleteTableVersion_versionId
- The ID of the table version to be deleted. A VersionID
is a string
representation of an integer. Each version is incremented by 1.
Request Lenses
deleteTableVersion_catalogId :: Lens' DeleteTableVersion (Maybe Text) Source #
The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account ID is used by default.
deleteTableVersion_databaseName :: Lens' DeleteTableVersion Text Source #
The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
deleteTableVersion_tableName :: Lens' DeleteTableVersion Text Source #
The name of the table. For Hive compatibility, this name is entirely lowercase.
deleteTableVersion_versionId :: Lens' DeleteTableVersion Text Source #
The ID of the table version to be deleted. A VersionID
is a string
representation of an integer. Each version is incremented by 1.
Destructuring the Response
data DeleteTableVersionResponse Source #
See: newDeleteTableVersionResponse
smart constructor.
DeleteTableVersionResponse' | |
|
Instances
newDeleteTableVersionResponse Source #
Create a value of DeleteTableVersionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteTableVersionResponse'
, deleteTableVersionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteTableVersionResponse_httpStatus :: Lens' DeleteTableVersionResponse Int Source #
The response's http status code.