Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Updates the manifest of Amazon S3 objects that make up the specified governed table.
Synopsis
- data UpdateTableObjects = UpdateTableObjects' {}
- newUpdateTableObjects :: Text -> Text -> NonEmpty WriteOperation -> UpdateTableObjects
- updateTableObjects_catalogId :: Lens' UpdateTableObjects (Maybe Text)
- updateTableObjects_transactionId :: Lens' UpdateTableObjects (Maybe Text)
- updateTableObjects_databaseName :: Lens' UpdateTableObjects Text
- updateTableObjects_tableName :: Lens' UpdateTableObjects Text
- updateTableObjects_writeOperations :: Lens' UpdateTableObjects (NonEmpty WriteOperation)
- data UpdateTableObjectsResponse = UpdateTableObjectsResponse' {
- httpStatus :: Int
- newUpdateTableObjectsResponse :: Int -> UpdateTableObjectsResponse
- updateTableObjectsResponse_httpStatus :: Lens' UpdateTableObjectsResponse Int
Creating a Request
data UpdateTableObjects Source #
See: newUpdateTableObjects
smart constructor.
UpdateTableObjects' | |
|
Instances
newUpdateTableObjects Source #
:: Text | |
-> Text | |
-> NonEmpty WriteOperation | |
-> UpdateTableObjects |
Create a value of UpdateTableObjects
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateTableObjects
, updateTableObjects_catalogId
- The catalog containing the governed table to update. Defaults to the
caller’s account ID.
UpdateTableObjects
, updateTableObjects_transactionId
- The transaction at which to do the write.
UpdateTableObjects
, updateTableObjects_databaseName
- The database containing the governed table to update.
UpdateTableObjects
, updateTableObjects_tableName
- The governed table to update.
$sel:writeOperations:UpdateTableObjects'
, updateTableObjects_writeOperations
- A list of WriteOperation
objects that define an object to add to or
delete from the manifest for a governed table.
Request Lenses
updateTableObjects_catalogId :: Lens' UpdateTableObjects (Maybe Text) Source #
The catalog containing the governed table to update. Defaults to the caller’s account ID.
updateTableObjects_transactionId :: Lens' UpdateTableObjects (Maybe Text) Source #
The transaction at which to do the write.
updateTableObjects_databaseName :: Lens' UpdateTableObjects Text Source #
The database containing the governed table to update.
updateTableObjects_tableName :: Lens' UpdateTableObjects Text Source #
The governed table to update.
updateTableObjects_writeOperations :: Lens' UpdateTableObjects (NonEmpty WriteOperation) Source #
A list of WriteOperation
objects that define an object to add to or
delete from the manifest for a governed table.
Destructuring the Response
data UpdateTableObjectsResponse Source #
See: newUpdateTableObjectsResponse
smart constructor.
UpdateTableObjectsResponse' | |
|
Instances
newUpdateTableObjectsResponse Source #
Create a value of UpdateTableObjectsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateTableObjectsResponse'
, updateTableObjectsResponse_httpStatus
- The response's http status code.
Response Lenses
updateTableObjectsResponse_httpStatus :: Lens' UpdateTableObjectsResponse Int Source #
The response's http status code.