LexModelBuildingService / Client / get_import
get_import#
- 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' )
- Parameters:
importId (string) –
[REQUIRED]
The identifier of the import job information to return.
- Return type:
dict
- Returns:
Response Syntax
{ '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
(dict) –
name (string) –
The name given to the import job.
resourceType (string) –
The type of resource imported.
mergeStrategy (string) –
The action taken when there was a conflict between an existing resource and a resource in the import file.
importId (string) –
The identifier for the specific import job.
importStatus (string) –
The status of the import job. If the status is
FAILED
, you can get the reason for the failure from thefailureReason
field.failureReason (list) –
A string that describes why an import job failed to complete.
(string) –
createdDate (datetime) –
A timestamp for the date and time that the import job was created.
Exceptions