1 回答
- 最新
- 投票最多
- 评论最多
0
A bot locale is not immediately available after successfully invoking the CreateBotLocale API. The "botLocaleStatus" attribute in the response of CreateBotLocale and DescribeBotLocale will tell you the current status of the bot locale. You need to verify that the bot locale is in a valid state (NOT_BUILT) after invoking CreateBotLocale to successfully create intents in that bot locale. In the Java SDK, you can do this in two ways:
- Create a loop to poll for the status of the bot locale using DescribeBotLocale API
- Use a SDK waiter to poll that the bot locale is created and available. More info on SDK waiters
已回答 2 年前
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 10 个月前