list_data_source_sync_jobs
async
¶
list_data_source_sync_jobs(
data_source_id: DataSourceId,
application_id: ApplicationId,
index_id: IndexId,
*,
config_overrides: Optional[AsyncQBusinessClientConfig] = 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/async_q_business.py
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 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 | |