list_asset_revisions
async
¶
list_asset_revisions(
domain_identifier: DomainId,
identifier: AssetIdentifier,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListAssetRevisionsOutput
Lists the revisions for the asset.
Prerequisites:
-
The asset must exist in the domain.
-
There must be at least one revision of the asset (which happens automatically after creation).
-
The domain must be valid and active.
-
User must have permissions on the asset and domain.
Parameters:
-
domain_identifier(DomainId) –The identifier of the domain.
-
identifier(AssetIdentifier) –The identifier of the asset.
-
next_token(Optional[PaginationToken], default:None) –When the number of revisions is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of revisions, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListAssetRevisionsto list the next set of revisions. -
max_results(Optional[MaxResults], default:None) –The maximum number of revisions to return in a single call to
ListAssetRevisions. When the number of revisions to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListAssetRevisionsto list the next set of revisions.
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
5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 | |