describe_export
(**kwargs)¶Gets information about a specific export.
See also: AWS API Documentation
Request Syntax
response = client.describe_export(
exportId='string'
)
[REQUIRED]
The unique identifier of the export to describe.
{
'exportId': 'string',
'resourceSpecification': {
'botExportSpecification': {
'botId': 'string',
'botVersion': 'string'
},
'botLocaleExportSpecification': {
'botId': 'string',
'botVersion': 'string',
'localeId': 'string'
},
'customVocabularyExportSpecification': {
'botId': 'string',
'botVersion': 'string',
'localeId': 'string'
}
},
'fileFormat': 'LexJson'|'TSV',
'exportStatus': 'InProgress'|'Completed'|'Failed'|'Deleting',
'failureReasons': [
'string',
],
'downloadUrl': 'string',
'creationDateTime': datetime(2015, 1, 1),
'lastUpdatedDateTime': datetime(2015, 1, 1)
}
Response Structure
The unique identifier of the described export.
The bot, bot ID, and optional locale ID of the exported bot or bot locale.
Parameters for exporting a bot.
The identifier of the bot assigned by Amazon Lex.
The version of the bot that was exported. This will be either DRAFT
or the version number.
Parameters for exporting a bot locale.
The identifier of the bot to create the locale for.
The version of the bot to export.
The identifier of the language and locale to export. The string must match one of the locales in the bot.
The parameters required to export a custom vocabulary.
The identifier of the bot that contains the custom vocabulary to export.
The version of the bot that contains the custom vocabulary to export.
The locale of the bot that contains the custom vocabulary to export.
The file format used in the files that describe the resource.
The status of the export. When the status is Complete
the export archive file is available for download.
If the exportStatus
is failed, contains one or more reasons why the export could not be completed.
A pre-signed S3 URL that points to the bot or bot locale archive. The URL is only available for 5 minutes after calling the DescribeExport
operation.
The date and time that the export was created.
The last date and time that the export was updated.
Exceptions
LexModelsV2.Client.exceptions.ThrottlingException
LexModelsV2.Client.exceptions.ValidationException
LexModelsV2.Client.exceptions.ResourceNotFoundException
LexModelsV2.Client.exceptions.InternalServerException