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
5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 | |