get_asset_type
async
¶
get_asset_type(
domain_identifier: DomainId,
identifier: AssetTypeIdentifier,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
revision: Optional[Revision] = None,
) -> GetAssetTypeOutput
Gets an Amazon DataZone asset type.
Asset types define the categories and characteristics of different kinds of data assets within Amazon DataZone.. They determine what metadata fields are required, what operations are possible, and how the asset integrates with other Amazon Web Services services. Asset types can range from built-in types like Amazon S3 buckets and Amazon Web Services Glue tables to custom types defined for specific organizational needs. Understanding asset types is crucial for properly organizing and managing different kinds of data resources.
Prerequisites:
-
The asset type with identifier must exist in the domain. ResourceNotFoundException.
-
You must have the GetAssetType permission.
-
Ensure the domain-identifier value is correct and accessible.
Parameters:
-
domain_identifier(DomainId) –The ID of the Amazon DataZone domain in which the asset type exists.
-
identifier(AssetTypeIdentifier) –The ID of the asset type.
-
revision(Optional[Revision], default:None) –The revision of the asset type.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The specified resource cannot be found.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/async_data_zone.py
12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 | |