list_custom_vocabulary_items
async
¶
list_custom_vocabulary_items(
bot_id: Id,
bot_version: BotVersion,
locale_id: LocaleId,
*,
config_overrides: Optional[AsyncLexModelsV2ClientConfig] = 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/async_lex_models_v2.py
4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 | |