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 |
Updates a metadata table in the Data Catalog.
Synopsis
- updateTable :: Text -> TableInput -> UpdateTable
- data UpdateTable
- utSkipArchive :: Lens' UpdateTable (Maybe Bool)
- 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
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:
utSkipArchive
- By default,UpdateTable
always creates an archived version of the table before updating it. IfskipArchive
is set to true, however,UpdateTable
does not create the archived version.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. For Hive compatibility, this name is entirely lowercase.utTableInput
- An updatedTableInput
object to define the metadata table in the catalog.
data UpdateTable Source #
See: updateTable
smart constructor.
Instances
Request Lenses
utSkipArchive :: Lens' UpdateTable (Maybe Bool) Source #
By default, UpdateTable
always creates an archived version of the table before updating it. If skipArchive
is set to true, however, UpdateTable
does not create the archived version.
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. For Hive compatibility, this name is entirely lowercase.
utTableInput :: Lens' UpdateTable TableInput Source #
An updated TableInput
object to define the metadata table in the catalog.
Destructuring the Response
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.
Instances
Response Lenses
utrsResponseStatus :: Lens' UpdateTableResponse Int Source #
- - | The response status code.