| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Glue.GetTableVersion
Description
Retrieves a specified version of a table.
Synopsis
- data GetTableVersion = GetTableVersion' {}
- newGetTableVersion :: Text -> Text -> GetTableVersion
- getTableVersion_catalogId :: Lens' GetTableVersion (Maybe Text)
- getTableVersion_versionId :: 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.
Constructors
| GetTableVersion' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetTableVersion |
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:
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.
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.
GetTableVersion, getTableVersion_databaseName - The database in the catalog in which the table resides. For Hive
compatibility, this name is entirely lowercase.
GetTableVersion, getTableVersion_tableName - The name of the table. For Hive compatibility, this name is entirely
lowercase.
Request Lenses
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_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_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.
Constructors
| GetTableVersionResponse' | |
Fields
| |
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.