list_data_product_revisions
async
¶
list_data_product_revisions(
domain_identifier: DomainId,
identifier: DataProductId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[PaginationToken] = None,
) -> ListDataProductRevisionsOutput
Lists data product revisions.
Prerequisites:
-
The data product ID must exist within the domain.
-
User must have view permissions on the data product.
-
The domain must be in a valid and accessible state.
Parameters:
-
domain_identifier(DomainId) –The ID of the domain of the data product revisions that you want to list.
-
identifier(DataProductId) –The ID of the data product revision.
-
max_results(Optional[MaxResults], default:None) –The maximum number of asset filters to return in a single call to
ListDataProductRevisions. When the number of data product revisions to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListDataProductRevisionsto list the next set of data product revisions. -
next_token(Optional[PaginationToken], default:None) –When the number of data product revisions is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of data product revisions, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListDataProductRevisionsto list the next set of data product 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
5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 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 | |