put_asset_type
¶
put_asset_type(
name: AssetTypeName,
forms: AssetTypeFormsMap,
*,
config_overrides: Optional[GlueClientConfig] = None,
client_token: Optional[HashString] = None,
) -> PutAssetTypeResponse
Creates or updates an asset type in Glue Data Catalog. An asset type defines the structure of assets by specifying which forms they include. If an asset type with the given name already exists, it is updated.
Parameters:
-
name(AssetTypeName) –The name of the asset type.
-
forms(AssetTypeFormsMap) –The forms that make up the asset type, keyed by form name. Each entry references the form type that defines the form's schema.
-
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
16263 16264 16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 16275 16276 16277 16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 16303 16304 16305 16306 16307 16308 16309 16310 16311 16312 16313 16314 16315 16316 16317 16318 16319 | |