v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1471501483.8 KB

Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in the list for 7 days.

post/imports/

Query parameters

maxResultsstring

Pagination limit

nextTokenstring

Pagination token

Request body

botIdstring

The unique identifier that Amazon Lex assigned to the bot.

botVersionstring

The version of the bot to list imports for.

maxResultsinteger

The maximum number of imports 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>ListImports</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>ListImports</code> request to return the next page of results. For a complete set of results, call the <code>ListImports</code> operation until the <code>nextToken</code> returned in the response is null.</p>
localeIdstring

Specifies the locale that should be present in the list. If you don't specify a resource type in the <code>filters</code> parameter, the list contains both bot locales and custom vocabularies.

Response

Success

botIdstring

The unique identifier assigned by Amazon Lex to the bot.

botVersionstring

The version of the bot that was imported. It will always be <code>DRAFT</code>.

nextTokenstring

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

localeIdstring

The locale specified in the request.