list_domains
¶
list_domains(
*,
config_overrides: Optional[DataZoneClientConfig] = 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/data_zone.py
13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 | |