list_data_source_sync_jobs
¶
list_data_source_sync_jobs(
data_source_id: DataSourceId,
application_id: ApplicationId,
index_id: IndexId,
*,
config_overrides: Optional[QBusinessClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResultsIntegerForListDataSourcesSyncJobs] = None,
start_time: Optional[Timestamp] = None,
end_time: Optional[Timestamp] = None,
status_filter: Optional[DataSourceSyncJobStatus] = None,
) -> ListDataSourceSyncJobsResponse
Get information about an Amazon Q Business data source connector synchronization.
Parameters:
-
data_source_id(DataSourceId) –The identifier of the data source connector.
-
application_id(ApplicationId) –The identifier of the Amazon Q Business application connected to the data source.
-
index_id(IndexId) –The identifier of the index used with the Amazon Q Business data source connector.
-
next_token(Optional[NextToken], default:None) –If the
maxResultsresponse was incpmplete because there is more data to retriever, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of responses. -
max_results(Optional[MaxResultsIntegerForListDataSourcesSyncJobs], default:None) –The maximum number of synchronization jobs to return in the response.
-
start_time(Optional[Timestamp], default:None) –The start time of the data source connector sync.
-
end_time(Optional[Timestamp], default:None) –The end time of the data source connector sync.
-
status_filter(Optional[DataSourceSyncJobStatus], default:None) –Only returns synchronization jobs with the
Statusfield equal to the specified status.
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.
-
ConflictException–You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies with your resources 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
2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 | |