search_knowledge_bases
¶
search_knowledge_bases(
aws_account_id: KbAwsAccountId,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
filters: Optional[KnowledgeBaseSearchFilters] = None,
sort_by: Optional[KnowledgeBaseSortBy] = None,
) -> SearchKnowledgeBasesResponse
Searches for a subset of knowledge bases based on specified filters.
Parameters:
-
aws_account_id(KbAwsAccountId) –The ID of the Amazon Web Services account that contains the knowledge base.
-
next_token(Optional[NextToken], default:None) –The token for the next set of results, or null if there are no more results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return.
-
filters(Optional[KnowledgeBaseSearchFilters], default:None) –The filters to apply when searching knowledge bases.
-
sort_by(Optional[KnowledgeBaseSortBy], default:None) –The sort configuration for the search results.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
InternalFailureException–An internal failure occurred.
-
InvalidNextTokenException–The
NextTokenvalue isn't valid. -
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
PreconditionNotMetException–One or more preconditions aren't met.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–Access is throttled.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/quick_sight.py
17882 17883 17884 17885 17886 17887 17888 17889 17890 17891 17892 17893 17894 17895 17896 17897 17898 17899 17900 17901 17902 17903 17904 17905 17906 17907 17908 17909 17910 17911 17912 17913 17914 17915 17916 17917 17918 17919 17920 17921 17922 17923 17924 17925 17926 17927 17928 17929 17930 17931 17932 17933 17934 17935 17936 17937 17938 17939 17940 17941 17942 17943 17944 17945 17946 17947 17948 17949 17950 17951 17952 17953 17954 17955 17956 17957 17958 17959 17960 17961 17962 17963 | |