update_asset
async
¶
update_asset(
identifier: AssetId,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
name: Optional[AssetName] = None,
description: Optional[AssetDescription] = None,
client_token: Optional[HashString] = None,
) -> UpdateAssetResponse
Updates the name and description of an existing asset in Glue Data Catalog. Only the fields that you provide are updated.
Parameters:
-
identifier(AssetId) –The unique identifier of the asset to update.
-
name(Optional[AssetName], default:None) –The new name of the asset.
-
description(Optional[AssetDescription], default:None) –The new description of the asset.
-
client_token(Optional[HashString], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
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.
-
ThrottlingException–The throttling threshhold was exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
19325 19326 19327 19328 19329 19330 19331 19332 19333 19334 19335 19336 19337 19338 19339 19340 19341 19342 19343 19344 19345 19346 19347 19348 19349 19350 19351 19352 19353 19354 19355 19356 19357 19358 19359 19360 19361 19362 19363 19364 19365 19366 19367 19368 19369 19370 19371 19372 19373 19374 19375 19376 19377 19378 19379 19380 19381 19382 19383 19384 19385 19386 19387 19388 19389 | |