list_domains
async
¶
list_domains(
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
status: Optional[DomainStatus] = None,
max_results: Optional[MaxResultsForListDomains] = None,
next_token: Optional[PaginationToken] = None,
) -> ListDomainsOutput
Lists Amazon DataZone domains.
Parameters:
-
status(Optional[DomainStatus], default:None) –The status of the data source.
-
max_results(Optional[MaxResultsForListDomains], default:None) –The maximum number of domains to return in a single call to
ListDomains. When the number of domains to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListDomainsto list the next set of domains. -
next_token(Optional[PaginationToken], default:None) –When the number of domains is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of domains, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListDomainsto list the next set of domains.
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.
-
ConflictException–There is a conflict while performing this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The specified resource cannot be found.
-
ServiceQuotaExceededException–The request has exceeded the specified service quota.
-
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
13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 | |