list_data_sources
¶
list_data_sources(
application_id: ApplicationId,
index_id: IndexId,
*,
config_overrides: Optional[QBusinessClientConfig] = 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/q_business.py
5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 | |