Batch Delete Custom Vocabulary Item
lexmodelsv2_batch_delete_custom_vocabulary_item | R Documentation |
Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary¶
Description¶
Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.
Usage¶
lexmodelsv2_batch_delete_custom_vocabulary_item(botId, botVersion,
localeId, customVocabularyItemList)
Arguments¶
botId
[required] The identifier of the bot associated with this custom vocabulary.
botVersion
[required] The identifier of the version of the bot associated with this custom vocabulary.
localeId
[required] 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 .
customVocabularyItemList
[required] A list of custom vocabulary items requested to be deleted. Each entry must contain the unique custom vocabulary entry identifier.
Value¶
A list with the following syntax:
list(
botId = "string",
botVersion = "string",
localeId = "string",
errors = list(
list(
itemId = "string",
errorMessage = "string",
errorCode = "DUPLICATE_INPUT"|"RESOURCE_DOES_NOT_EXIST"|"RESOURCE_ALREADY_EXISTS"|"INTERNAL_SERVER_FAILURE"
)
),
resources = list(
list(
itemId = "string",
phrase = "string",
weight = 123,
displayAs = "string"
)
)
)