v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14107861793.8 KB

Creates a zip archive containing the contents of a bot or a bot locale. The archive contains a directory structure that contains JSON files that define the bot.

You can create an archive that contains the complete definition of a bot, or you can specify that the archive contain only the definition of a single bot locale.

For more information about exporting bots, and about the structure of the export archive, see Importing and exporting bots

put/exports/

Request body

fileFormat'LexJson' | 'TSV' | 'CSV' required

The file format of the bot or bot locale definition files.

filePasswordstring password

An password to use to encrypt the exported archive. Using a password is optional, but you should encrypt the archive to protect the data in transit between Amazon Lex and your local computer.

Response

Success

exportIdstring

An identifier for a specific request to create an export.

fileFormat'LexJson' | 'TSV' | 'CSV'

The file format used for the bot or bot locale definition files.

exportStatus'InProgress' | 'Completed' | 'Failed' | 'Deleting'

The status of the export. When the status is <code>Completed</code>, you can use the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html">DescribeExport</a> operation to get the pre-signed S3 URL link to your exported bot or bot locale.

creationDateTimestring date-time

The date and time that the request to export a bot was created.