list_designations
¶
list_designations(
domain_identifier: DomainId,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[ListDesignationsMaxResults] = None,
) -> ListDesignationsOutput
Lists the designations in a domain. The response returns system-managed designations first, followed by user-created designations in alphabetical order by name. Results are paginated. Use nextToken to retrieve additional pages of results.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain that contains the designations to list.
-
next_token(Optional[PaginationToken], default:None) –If the results exceed the value of
MaxResults, the previous call returns a pagination token. Specify this token in a subsequent call toListDesignationsto retrieve the next set of results. If not specified, the operation returns the first page of results. -
max_results(Optional[ListDesignationsMaxResults], default:None) –The maximum number of designations to return in a single call to
ListDesignations. If the number of designations exceedsMaxResults, the response includes aNextTokenvalue. Use that token in a subsequent call toListDesignationsto retrieve the next set of designations. The default value is 20.
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
6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 | |