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 |
Retrieves a specified version of a table.
Synopsis
- data GetTableVersion = GetTableVersion' {}
- newGetTableVersion :: Text -> Text -> GetTableVersion
- getTableVersion_versionId :: Lens' GetTableVersion (Maybe Text)
- getTableVersion_catalogId :: Lens' GetTableVersion (Maybe Text)
- getTableVersion_databaseName :: Lens' GetTableVersion Text
- getTableVersion_tableName :: Lens' GetTableVersion Text
- data GetTableVersionResponse = GetTableVersionResponse' {}
- newGetTableVersionResponse :: Int -> GetTableVersionResponse
- getTableVersionResponse_tableVersion :: Lens' GetTableVersionResponse (Maybe TableVersion)
- getTableVersionResponse_httpStatus :: Lens' GetTableVersionResponse Int
Creating a Request
data GetTableVersion Source #
See: newGetTableVersion
smart constructor.
GetTableVersion' | |
|
Instances
Create a value of GetTableVersion
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:versionId:GetTableVersion'
, getTableVersion_versionId
- The ID value of the table version to be retrieved. A VersionID
is a
string representation of an integer. Each version is incremented by 1.
$sel:catalogId:GetTableVersion'
, getTableVersion_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:GetTableVersion'
, getTableVersion_databaseName
- The database in the catalog in which the table resides. For Hive
compatibility, this name is entirely lowercase.
$sel:tableName:GetTableVersion'
, getTableVersion_tableName
- The name of the table. For Hive compatibility, this name is entirely
lowercase.
Request Lenses
getTableVersion_versionId :: Lens' GetTableVersion (Maybe Text) Source #
The ID value of the table version to be retrieved. A VersionID
is a
string representation of an integer. Each version is incremented by 1.
getTableVersion_catalogId :: Lens' GetTableVersion (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.
getTableVersion_databaseName :: Lens' GetTableVersion Text Source #
The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
getTableVersion_tableName :: Lens' GetTableVersion Text Source #
The name of the table. For Hive compatibility, this name is entirely lowercase.
Destructuring the Response
data GetTableVersionResponse Source #
See: newGetTableVersionResponse
smart constructor.
GetTableVersionResponse' | |
|
Instances
newGetTableVersionResponse Source #
Create a value of GetTableVersionResponse
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:tableVersion:GetTableVersionResponse'
, getTableVersionResponse_tableVersion
- The requested table version.
$sel:httpStatus:GetTableVersionResponse'
, getTableVersionResponse_httpStatus
- The response's http status code.
Response Lenses
getTableVersionResponse_tableVersion :: Lens' GetTableVersionResponse (Maybe TableVersion) Source #
The requested table version.
getTableVersionResponse_httpStatus :: Lens' GetTableVersionResponse Int Source #
The response's http status code.