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
2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 | |