update_table_objects
async
¶
update_table_objects(
database_name: NameString,
table_name: NameString,
write_operations: WriteOperationList,
*,
config_overrides: Optional[AsyncLakeFormationClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
transaction_id: Optional[TransactionIdString] = None,
) -> UpdateTableObjectsResponse
Updates the manifest of Amazon S3 objects that make up the specified governed table.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The catalog containing the governed table to update. Defaults to the caller’s account ID.
-
database_name(NameString) –The database containing the governed table to update.
-
table_name(NameString) –The governed table to update.
-
transaction_id(Optional[TransactionIdString], default:None) –The transaction at which to do the write.
-
write_operations(WriteOperationList) –A list of
WriteOperationobjects that define an object to add to or delete from the manifest for a governed table.
Raises:
-
ConcurrentModificationException–Two processes are trying to modify a resource simultaneously.
-
EntityNotFoundException–A specified entity does not exist.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
ResourceNotReadyException–Contains details about an error related to a resource which is not ready for a transaction.
-
TransactionCanceledException–Contains details about an error related to a transaction that was cancelled.
-
TransactionCommitInProgressException–Contains details about an error related to a transaction commit that was in progress.
-
TransactionCommittedException–Contains details about an error where the specified transaction has already been committed and cannot be used for
UpdateTableObjects. -
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_lakeformation/_services/async_lake_formation.py
5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 | |