v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14107861793.8 KB

Gets a list of slot types that match the specified criteria.

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

Path parameters

botIdstring required

The unique identifier of the bot that contains the slot types.

botVersionstring required

The version of the bot that contains the slot type.

localeIdstring required

The identifier of the language and locale of the slot types 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 slot types 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

If the response from the <code>ListSlotTypes</code> operation contains more results than specified in the <code>maxResults</code> parameter, a token is returned in the response. Use that token in the <code>nextToken</code> parameter to return the next page of results.

Response

Success

botIdstring

The identifier of the bot that contains the slot types.

botVersionstring

The version of the bot that contains the slot types.

localeIdstring

The language and local of the slot types in the list.

nextTokenstring

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