list_designations
async
¶
list_designations(
domain_identifier: DomainId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = 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/async_data_zone.py
6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 | |