LexModelBuildingService / Client / get_import



Gets information about an import job started with the StartImport operation.

See also: AWS API Documentation

Request Syntax

response = client.get_import(

importId (string) –


The identifier of the import job information to return.

Return type:



Response Syntax

    'name': 'string',
    'resourceType': 'BOT'|'INTENT'|'SLOT_TYPE',
    'importId': 'string',
    'importStatus': 'IN_PROGRESS'|'COMPLETE'|'FAILED',
    'failureReason': [
    '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 the failureReason 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.


  • LexModelBuildingService.Client.exceptions.NotFoundException

  • LexModelBuildingService.Client.exceptions.LimitExceededException

  • LexModelBuildingService.Client.exceptions.InternalFailureException

  • LexModelBuildingService.Client.exceptions.BadRequestException