batch_update_partition
async
¶
batch_update_partition(
database_name: NameString,
table_name: NameString,
entries: BatchUpdatePartitionRequestEntryList,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
) -> BatchUpdatePartitionResponse
Updates one or more partitions in a batch operation.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The ID of the catalog in which the partition is to be updated. Currently, this should be the Amazon Web Services account ID.
-
database_name(NameString) –The name of the metadata database in which the partition is to be updated.
-
table_name(NameString) –The name of the metadata table in which the partition is to be updated.
-
entries(BatchUpdatePartitionRequestEntryList) –A list of up to 100
BatchUpdatePartitionRequestEntryobjects to update.
Raises:
-
ConcurrentModificationException–Two processes are trying to modify a resource simultaneously.
-
EntityNotFoundException–A specified entity does not exist
-
GlueEncryptionException–An encryption operation failed.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 | |