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
13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 | |