AgentsforBedrock / Client / list_data_sources
list_data_sources#
- AgentsforBedrock.Client.list_data_sources(**kwargs)#
List data sources
See also: AWS API Documentation
Request Syntax
response = client.list_data_sources( knowledgeBaseId='string', maxResults=123, nextToken='string' )
- Parameters:
knowledgeBaseId (string) –
[REQUIRED]
Identifier for a resource.
maxResults (integer) – Max Results.
nextToken (string) – Opaque continuation token of previous paginated response.
- Return type:
dict
- Returns:
Response Syntax
{ 'dataSourceSummaries': [ { 'knowledgeBaseId': 'string', 'dataSourceId': 'string', 'name': 'string', 'status': 'AVAILABLE'|'DELETING', 'description': 'string', 'updatedAt': datetime(2015, 1, 1) }, ], 'nextToken': 'string' }
Response Structure
(dict) –
dataSourceSummaries (list) –
list of data source summaries
(dict) –
Summary information of a data source.
knowledgeBaseId (string) –
Identifier for a resource.
dataSourceId (string) –
Identifier for a resource.
name (string) –
Name for a resource.
status (string) –
The status of a data source.
description (string) –
Description of the Resource.
updatedAt (datetime) –
Time Stamp.
nextToken (string) –
Opaque continuation token of previous paginated response.
Exceptions
AgentsforBedrock.Client.exceptions.ThrottlingException
AgentsforBedrock.Client.exceptions.AccessDeniedException
AgentsforBedrock.Client.exceptions.ValidationException
AgentsforBedrock.Client.exceptions.InternalServerException
AgentsforBedrock.Client.exceptions.ResourceNotFoundException