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.GetTableVersion
Description
Retrieves a specified version of a table.
Synopsis
- getTableVersion :: Text -> Text -> GetTableVersion
- data GetTableVersion
- gtvVersionId :: Lens' GetTableVersion (Maybe Text)
- gtvCatalogId :: Lens' GetTableVersion (Maybe Text)
- gtvDatabaseName :: Lens' GetTableVersion Text
- gtvTableName :: Lens' GetTableVersion Text
- getTableVersionResponse :: Int -> GetTableVersionResponse
- data GetTableVersionResponse
- gtvrsTableVersion :: Lens' GetTableVersionResponse (Maybe TableVersion)
- gtvrsResponseStatus :: Lens' GetTableVersionResponse Int
Creating a Request
Arguments
:: Text | |
-> Text | |
-> GetTableVersion |
Creates a value of GetTableVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gtvVersionId
- The ID value of the table version to be retrieved.gtvCatalogId
- The ID of the Data Catalog where the tables reside. If none is supplied, the AWS account ID is used by default.gtvDatabaseName
- The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.gtvTableName
- The name of the table. For Hive compatibility, this name is entirely lowercase.
data GetTableVersion Source #
See: getTableVersion
smart constructor.
Instances
Request Lenses
gtvVersionId :: Lens' GetTableVersion (Maybe Text) Source #
The ID value of the table version to be retrieved.
gtvCatalogId :: Lens' GetTableVersion (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.
gtvDatabaseName :: Lens' GetTableVersion Text Source #
The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
gtvTableName :: Lens' GetTableVersion Text Source #
The name of the table. For Hive compatibility, this name is entirely lowercase.
Destructuring the Response
getTableVersionResponse Source #
Arguments
:: Int | |
-> GetTableVersionResponse |
Creates a value of GetTableVersionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gtvrsTableVersion
- The requested table version.gtvrsResponseStatus
- -- | The response status code.
data GetTableVersionResponse Source #
See: getTableVersionResponse
smart constructor.
Instances
Response Lenses
gtvrsTableVersion :: Lens' GetTableVersionResponse (Maybe TableVersion) Source #
The requested table version.
gtvrsResponseStatus :: Lens' GetTableVersionResponse Int Source #
- - | The response status code.