get_asset_type
¶
get_asset_type(
domain_identifier: DomainId,
identifier: AssetTypeIdentifier,
*,
config_overrides: Optional[DataZoneClientConfig] = 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/data_zone.py
11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 | |