| 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.GetTable
Description
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.gttName- The name of the table for which to retrieve the definition.
See: getTable smart constructor.
Instances
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.
Destructuring the Response
Arguments
| :: Int | |
| -> GetTableResponse |
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- TheTableobject 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.