Skip to content

/AWS1/CL_LM2=>CREATEEXPORT()

About CreateExport

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

Method Signature

IMPORTING

Required arguments:

IO_RESOURCESPECIFICATION TYPE REF TO /AWS1/CL_LM2EXPORTRESOURCESPEC /AWS1/CL_LM2EXPORTRESOURCESPEC

Specifies the type of resource to export, either a bot or a bot locale. You can only specify one type of resource to export.

IV_FILEFORMAT TYPE /AWS1/LM2IMPORTEXPFILEFORMAT /AWS1/LM2IMPORTEXPFILEFORMAT

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

Optional arguments:

IV_FILEPASSWORD TYPE /AWS1/LM2IMPORTEXPFILEPASSWORD /AWS1/LM2IMPORTEXPFILEPASSWORD

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LM2CREATEEXPORTRSP /AWS1/CL_LM2CREATEEXPORTRSP