list_custom_vocabulary_items
¶
list_custom_vocabulary_items(
bot_id: Id,
bot_version: BotVersion,
locale_id: LocaleId,
*,
config_overrides: Optional[LexModelsV2ClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListCustomVocabularyItemsResponse
Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.
Parameters:
-
bot_id(Id) –The identifier of the version of the bot associated with this custom vocabulary.
-
bot_version(BotVersion) –The bot version of the bot to the list custom vocabulary request.
-
locale_id(LocaleId) –The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
-
max_results(Optional[MaxResults], default:None) –The maximum number of items returned by the list operation.
-
next_token(Optional[NextToken], default:None) –The nextToken identifier to the list custom vocabulary request.
Raises:
-
InternalServerException–The service encountered an unexpected condition. Try your request again.
-
ResourceNotFoundException–You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
-
ServiceQuotaExceededException–You have reached a quota for your bot.
-
ThrottlingException–Your request rate is too high. Reduce the frequency of requests.
-
ValidationException–One of the input parameters in your request isn't valid. Check the parameters and try your request again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_lex_models_v2/_services/lex_models_v2.py
4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 | |