2017/09/07 - Amazon Lex Model Building Service - 1 new api methods
Exports the contents of a Amazon Lex resource in a specified format.
See also: AWS API Documentation
Request Syntax
client.get_export( name='string', version='string', resourceType='BOT', exportType='ALEXA_SKILLS_KIT' )
string
[REQUIRED]
The name of the bot to export.
string
[REQUIRED]
The version of the bot to export.
string
[REQUIRED]
The type of resource to export.
string
[REQUIRED]
The format of the exported data.
dict
Response Syntax
{ 'name': 'string', 'version': 'string', 'resourceType': 'BOT', 'exportType': 'ALEXA_SKILLS_KIT', 'exportStatus': 'IN_PROGRESS'|'READY'|'FAILED', 'failureReason': 'string', 'url': 'string' }
Response Structure
(dict) --
name (string) --
The name of the bot being exported.
version (string) --
The version of the bot being exported.
resourceType (string) --
The type of the exported resource.
exportType (string) --
The format of the exported data.
exportStatus (string) --
The status of the export.
IN_PROGRESS - The export is in progress.
READY - The export is complete.
FAILED - The export could not be completed.
failureReason (string) --
If status is FAILED , Amazon Lex provides the reason that it failed to export the resource.
url (string) --
An S3 pre-signed URL that provides the location of the exported resource. The exported resource is a ZIP archive that contains the exported resource in JSON format. The structure of the archive may change. Your code should not rely on the archive structure.