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 |
Retrieves the Table
definition in a Data Catalog for a specified table.
- getTable :: Text -> Text -> GetTable
- data GetTable
- gttCatalogId :: Lens' GetTable (Maybe Text)
- gttDatabaseName :: Lens' GetTable Text
- gttName :: Lens' GetTable Text
- getTableResponse :: Int -> GetTableResponse
- data GetTableResponse
- ggrsTable :: Lens' GetTableResponse (Maybe Table)
- ggrsResponseStatus :: Lens' GetTableResponse Int
Creating a Request
Creates a value of GetTable
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gttCatalogId
- The ID of the Data Catalog where the table resides. If none is supplied, the AWS account ID is used by default.gttDatabaseName
- The name of the database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.gttName
- The name of the table for which to retrieve the definition. For Hive compatibility, this name is entirely lowercase.
See: getTable
smart constructor.
Request Lenses
gttCatalogId :: Lens' GetTable (Maybe Text) Source #
The ID of the Data Catalog where the table resides. If none is supplied, the AWS account ID is used by default.
gttDatabaseName :: Lens' GetTable Text Source #
The name of the database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
gttName :: Lens' GetTable Text Source #
The name of the table for which to retrieve the definition. For Hive compatibility, this name is entirely lowercase.
Destructuring the Response
Creates a value of GetTableResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ggrsTable
- TheTable
object that defines the specified table.ggrsResponseStatus
- -- | The response status code.
data GetTableResponse Source #
See: getTableResponse
smart constructor.
Response Lenses
ggrsTable :: Lens' GetTableResponse (Maybe Table) Source #
The Table
object that defines the specified table.
ggrsResponseStatus :: Lens' GetTableResponse Int Source #
- - | The response status code.