list_entity_personas
async
¶
list_entity_personas(
id: ExperienceId,
index_id: IndexId,
*,
config_overrides: Optional[AsynckendraClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResultsIntegerForListEntityPersonasRequest] = None,
) -> ListEntityPersonasResponse
Lists specific permissions of users and groups with access to your Amazon Kendra experience.
Parameters:
-
id(ExperienceId) –The identifier of your Amazon Kendra experience.
-
index_id(IndexId) –The identifier of the index for your Amazon Kendra experience.
-
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 users or groups.
-
max_results(Optional[MaxResultsIntegerForListEntityPersonasRequest], default:None) –The maximum number of returned users or groups.
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.
Source code in docs_src/capo_kendra/_services/async_kendra.py
2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 | |