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 年前
相關內容
- 已提問 6 個月前
- AWS 官方已更新 10 個月前
- AWS 官方已更新 1 年前