v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14107861793.8 KB

Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.

put/imports/

Request body

importIdstring required

The unique identifier for the import. It is included in the response from the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateUploadUrl.html">CreateUploadUrl</a> operation.

mergeStrategy'Overwrite' | 'FailOnConflict' | 'Append' required

The strategy to use when there is a name conflict between the imported resource and an existing resource. When the merge strategy is <code>FailOnConflict</code> existing resources are not overwritten and the import fails.

filePasswordstring password

The password used to encrypt the zip archive that contains the resource definition. You should always encrypt the zip archive to protect it during transit between your site and Amazon Lex.

Response

Success

importIdstring

A unique identifier for the import.

mergeStrategy'Overwrite' | 'FailOnConflict' | 'Append'

The strategy used when there was a name conflict between the imported resource and an existing resource. When the merge strategy is <code>FailOnConflict</code> existing resources are not overwritten and the import fails.

importStatus'InProgress' | 'Completed' | 'Failed' | 'Deleting'

The current status of the import. When the status is <code>Complete</code> the bot, bot alias, or custom vocabulary is ready to use.

creationDateTimestring date-time

The date and time that the import request was created.