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
20046 20047 20048 20049 20050 20051 20052 20053 20054 20055 20056 20057 20058 20059 20060 20061 20062 20063 20064 20065 20066 20067 20068 20069 20070 20071 20072 20073 20074 20075 20076 20077 20078 20079 20080 20081 20082 20083 20084 20085 20086 20087 20088 20089 20090 20091 20092 20093 20094 20095 20096 20097 20098 20099 20100 20101 20102 20103 20104 20105 20106 20107 20108 20109 20110 | |