list_data_sources
async
¶
list_data_sources(
domain_identifier: DomainId,
project_identifier: str,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
environment_identifier: Optional[str] = None,
connection_identifier: Optional[str] = None,
type: Optional[DataSourceType] = None,
status: Optional[DataSourceStatus] = None,
name: Optional[Name] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListDataSourcesOutput
Lists data sources in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain in which to list the data sources.
-
project_identifier(str) –The identifier of the project in which to list data sources.
-
environment_identifier(Optional[str], default:None) –The identifier of the environment in which to list the data sources.
-
connection_identifier(Optional[str], default:None) –The ID of the connection.
-
type(Optional[DataSourceType], default:None) –The type of the data source.
-
status(Optional[DataSourceStatus], default:None) –The status of the data source.
-
name(Optional[Name], default:None) –The name of the data source.
-
next_token(Optional[PaginationToken], default:None) –When the number of data sources is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of data sources, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListDataSourcesto list the next set of data sources. -
max_results(Optional[MaxResults], default:None) –The maximum number of data sources to return in a single call to
ListDataSources. When the number of data sources to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListDataSourcesto list the next set of data sources.
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
12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 | |