list_faqs
async
¶
list_faqs(
index_id: IndexId,
*,
config_overrides: Optional[AsynckendraClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResultsIntegerForListFaqsRequest] = None,
) -> ListFaqsResponse
Gets a list of FAQs associated with an index.
Parameters:
-
index_id(IndexId) –The index for the FAQs.
-
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 FAQs.
-
max_results(Optional[MaxResultsIntegerForListFaqsRequest], default:None) –The maximum number of FAQs to return in the response. If there are fewer results in the list, this response contains only the actual results.
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.
-
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.