1 Answer
- Newest
- Most votes
- Most comments
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
answered 2 years ago
Relevant content
- Accepted Answerasked a year ago
- asked 4 years ago
- AWS OFFICIALUpdated 19 days ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago