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
6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 | |