LexModelBuildingService.Client.
get_import
(**kwargs)¶Gets information about an import job started with the StartImport
operation.
See also: AWS API Documentation
Request Syntax
response = client.get_import(
importId='string'
)
[REQUIRED]
The identifier of the import job information to return.
{
'name': 'string',
'resourceType': 'BOT'|'INTENT'|'SLOT_TYPE',
'mergeStrategy': 'OVERWRITE_LATEST'|'FAIL_ON_CONFLICT',
'importId': 'string',
'importStatus': 'IN_PROGRESS'|'COMPLETE'|'FAILED',
'failureReason': [
'string',
],
'createdDate': datetime(2015, 1, 1)
}
Response Structure
The name given to the import job.
The type of resource imported.
The action taken when there was a conflict between an existing resource and a resource in the import file.
The identifier for the specific import job.
The status of the import job. If the status is FAILED
, you can get the reason for the failure from the failureReason
field.
A string that describes why an import job failed to complete.
A timestamp for the date and time that the import job was created.
Exceptions
LexModelBuildingService.Client.exceptions.NotFoundException
LexModelBuildingService.Client.exceptions.LimitExceededException
LexModelBuildingService.Client.exceptions.InternalFailureException
LexModelBuildingService.Client.exceptions.BadRequestException