| 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.UpdateTable
Description
Updates a metadata table in the Data Catalog.
- updateTable :: Text -> TableInput -> UpdateTable
- data UpdateTable
- utCatalogId :: Lens' UpdateTable (Maybe Text)
- utDatabaseName :: Lens' UpdateTable Text
- utTableInput :: Lens' UpdateTable TableInput
- updateTableResponse :: Int -> UpdateTableResponse
- data UpdateTableResponse
- utrsResponseStatus :: Lens' UpdateTableResponse Int
Creating a Request
Arguments
| :: Text | |
| -> TableInput | |
| -> UpdateTable |
Creates a value of UpdateTable with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
utCatalogId- The ID of the Data Catalog where the table resides. If none is supplied, the AWS account ID is used by default.utDatabaseName- The name of the catalog database in which the table resides.utTableInput- An updatedTableInputobject to define the metadata table in the catalog.
data UpdateTable Source #
See: updateTable smart constructor.
Instances
Request Lenses
utCatalogId :: Lens' UpdateTable (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.
utDatabaseName :: Lens' UpdateTable Text Source #
The name of the catalog database in which the table resides.
utTableInput :: Lens' UpdateTable TableInput Source #
An updated TableInput object to define the metadata table in the catalog.
Destructuring the Response
Arguments
| :: Int | |
| -> UpdateTableResponse |
Creates a value of UpdateTableResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
utrsResponseStatus- -- | The response status code.
data UpdateTableResponse Source #
See: updateTableResponse smart constructor.
Response Lenses
utrsResponseStatus :: Lens' UpdateTableResponse Int Source #
- - | The response status code.