list_data_sources
async
¶
list_data_sources(
application_id: ApplicationId,
index_id: IndexId,
*,
config_overrides: Optional[AsyncQBusinessClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResultsIntegerForListDataSources] = None,
) -> ListDataSourcesResponse
Lists the Amazon Q Business data source connectors that you have created.
Parameters:
-
application_id(ApplicationId) –The identifier of the Amazon Q Business application linked to the data source connectors.
-
index_id(IndexId) –The identifier of the index used with one or more data source connectors.
-
next_token(Optional[NextToken], default:None) –If the
maxResultsresponse was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q Business data source connectors. -
max_results(Optional[MaxResultsIntegerForListDataSources], default:None) –The maximum number of data source connectors to return.
Raises:
-
AccessDeniedException–You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
-
InternalServerException–An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
-
ResourceNotFoundException–The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
-
ThrottlingException–The request was denied due to throttling. Reduce the number of requests and try again.
-
ValidationException–The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_qbusiness/_services/async_q_business.py
5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 | |