| Copyright | (c) 2013-2017 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.GetTableVersions
Description
Retrieves a list of strings that identify available versions of a specified table.
- getTableVersions :: Text -> Text -> GetTableVersions
- data GetTableVersions
- gtvCatalogId :: Lens' GetTableVersions (Maybe Text)
- gtvNextToken :: Lens' GetTableVersions (Maybe Text)
- gtvMaxResults :: Lens' GetTableVersions (Maybe Natural)
- gtvDatabaseName :: Lens' GetTableVersions Text
- gtvTableName :: Lens' GetTableVersions Text
- getTableVersionsResponse :: Int -> GetTableVersionsResponse
- data GetTableVersionsResponse
- gtvrsTableVersions :: Lens' GetTableVersionsResponse [TableVersion]
- gtvrsNextToken :: Lens' GetTableVersionsResponse (Maybe Text)
- gtvrsResponseStatus :: Lens' GetTableVersionsResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> GetTableVersions |
Creates a value of GetTableVersions with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gtvCatalogId- The ID of the Data Catalog where the tables reside. If none is supplied, the AWS account ID is used by default.gtvNextToken- A continuation token, if this is not the first call.gtvMaxResults- The maximum number of table versions to return in one response.gtvDatabaseName- The database in the catalog in which the table resides.gtvTableName- The name of the table.
data GetTableVersions Source #
See: getTableVersions smart constructor.
Instances
Request Lenses
gtvCatalogId :: Lens' GetTableVersions (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.
gtvNextToken :: Lens' GetTableVersions (Maybe Text) Source #
A continuation token, if this is not the first call.
gtvMaxResults :: Lens' GetTableVersions (Maybe Natural) Source #
The maximum number of table versions to return in one response.
gtvDatabaseName :: Lens' GetTableVersions Text Source #
The database in the catalog in which the table resides.
gtvTableName :: Lens' GetTableVersions Text Source #
The name of the table.
Destructuring the Response
getTableVersionsResponse Source #
Arguments
| :: Int | |
| -> GetTableVersionsResponse |
Creates a value of GetTableVersionsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gtvrsTableVersions- A list of strings identifying available versions of the specified table.gtvrsNextToken- A continuation token, if the list of available versions does not include the last one.gtvrsResponseStatus- -- | The response status code.
data GetTableVersionsResponse Source #
See: getTableVersionsResponse smart constructor.
Response Lenses
gtvrsTableVersions :: Lens' GetTableVersionsResponse [TableVersion] Source #
A list of strings identifying available versions of the specified table.
gtvrsNextToken :: Lens' GetTableVersionsResponse (Maybe Text) Source #
A continuation token, if the list of available versions does not include the last one.
gtvrsResponseStatus :: Lens' GetTableVersionsResponse Int Source #
- - | The response status code.