OpenSearchService / Client / list_data_sources
list_data_sources#
- OpenSearchService.Client.list_data_sources(**kwargs)#
A list of the data source details of the domain.
See also: AWS API Documentation
Request Syntax
response = client.list_data_sources( DomainName='string' )
- Parameters:
DomainName (string) –
[REQUIRED]
The name of the domain.
- Return type:
dict
- Returns:
Response Syntax
{ 'DataSources': [ { 'DataSourceType': { 'S3GlueDataCatalog': { 'RoleArn': 'string' } }, 'Name': 'string', 'Description': 'string' }, ] }
Response Structure
(dict) –
The result of a
ListDataSourcesoperation.DataSources (list) –
A list of the data sources.
(dict) –
Details about the data sources.
DataSourceType (dict) –
The type of data source.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
S3GlueDataCatalog. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
S3GlueDataCatalog (dict) –
The data source for the AWS S3 Glue Data Catalog.
RoleArn (string) –
The role ARN for the AWS S3 Glue Data Catalog.
Name (string) –
The name of the data source.
Description (string) –
A description of the data source.
Exceptions
OpenSearchService.Client.exceptions.BaseExceptionOpenSearchService.Client.exceptions.InternalExceptionOpenSearchService.Client.exceptions.ResourceNotFoundExceptionOpenSearchService.Client.exceptions.ValidationExceptionOpenSearchService.Client.exceptions.DisabledOperationExceptionOpenSearchService.Client.exceptions.DependencyFailureException