list_data_source_sync_jobs
async
¶
list_data_source_sync_jobs(
id: DataSourceId,
index_id: IndexId,
*,
config_overrides: Optional[AsynckendraClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResultsIntegerForListDataSourceSyncJobsRequest] = None,
start_time_filter: Optional[TimeRange] = None,
status_filter: Optional[DataSourceSyncJobStatus] = None,
) -> ListDataSourceSyncJobsResponse
Gets statistics about synchronizing a data source connector.
Parameters:
-
id(DataSourceId) –The identifier of the data source connector.
-
index_id(IndexId) –The identifier of the index used with the data source connector.
-
next_token(Optional[NextToken], default:None) –If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of jobs.
-
max_results(Optional[MaxResultsIntegerForListDataSourceSyncJobsRequest], default:None) –The maximum number of synchronization jobs to return in the response. If there are fewer results in the list, this response contains only the actual results.
-
start_time_filter(Optional[TimeRange], default:None) –When specified, the synchronization jobs returned in the list are limited to jobs between the specified dates.
-
status_filter(Optional[DataSourceSyncJobStatus], default:None) –Only returns synchronization jobs with the
Statusfield equal to the specified status.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.
-
ConflictException–A conflict occurred with the request. Please fix any inconsistences with your resources and try again.
-
InternalServerException–An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.
-
ResourceNotFoundException–The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.
-
ThrottlingException–The request was denied due to request throttling. Please reduce the number of requests and try again.
-
ValidationException–The input fails to satisfy the constraints set by the Amazon Kendra service. Please 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_kendra/_services/async_kendra.py
2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 | |