update_asset
¶
update_asset(
identifier: AssetId,
*,
config_overrides: Optional[GlueClientConfig] = 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/glue.py
19014 19015 19016 19017 19018 19019 19020 19021 19022 19023 19024 19025 19026 19027 19028 19029 19030 19031 19032 19033 19034 19035 19036 19037 19038 19039 19040 19041 19042 19043 19044 19045 19046 19047 19048 19049 19050 19051 19052 19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 19068 19069 19070 19071 19072 19073 19074 19075 19076 19077 | |