list_data_source_sync_jobs
¶
list_data_source_sync_jobs(
id: DataSourceId,
index_id: IndexId,
*,
config_overrides: Optional[kendraClientConfig] = 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/kendra.py
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 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 | |