v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14107861793.8 KB

Get a list of intents that meet the specified criteria.

post/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/

Path parameters

botIdstring required

The unique identifier of the bot that contains the intent.

botVersionstring required

The version of the bot that contains the intent.

localeIdstring required

The identifier of the language and locale of the intents to list. The string must match one of the supported locales. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.

Request body

maxResultsinteger

The maximum number of intents to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.

nextTokenstring
<p>If the response from the <code>ListIntents</code> operation contains more results than specified in the <code>maxResults</code> parameter, a token is returned in the response.</p> <p>Use the returned token in the <code>nextToken</code> parameter of a <code>ListIntents</code> request to return the next page of results. For a complete set of results, call the <code>ListIntents</code> operation until the <code>nextToken</code> returned in the response is null.</p>

Response

Success

botIdstring

The identifier of the bot that contains the intent.

botVersionstring

The version of the bot that contains the intent.

localeIdstring

The language and locale of the intents in the list.

nextTokenstring

A token that indicates whether there are more results to return in a response to the <code>ListIntents</code> operation. If the <code>nextToken</code> field is present, you send the contents as the <code>nextToken</code> parameter of a <code>ListIntents</code> operation request to get the next page of results.