list_asset_revisions
¶
list_asset_revisions(
domain_identifier: DomainId,
identifier: AssetIdentifier,
*,
config_overrides: Optional[DataZoneClientConfig] = 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/data_zone.py
5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 | |