LexModelsV2 / Client / delete_import

delete_import#

LexModelsV2.Client.delete_import(**kwargs)#

Removes a previous import and the associated file stored in an S3 bucket.

See also: AWS API Documentation

Request Syntax

response = client.delete_import(
    importId='string'
)
Parameters:

importId (string) –

[REQUIRED]

The unique identifier of the import to delete.

Return type:

dict

Returns:

Response Syntax

{
    'importId': 'string',
    'importStatus': 'InProgress'|'Completed'|'Failed'|'Deleting'
}

Response Structure

  • (dict) –

    • importId (string) –

      The unique identifier of the deleted import.

    • importStatus (string) –

      The current status of the deletion. When the deletion is complete, the import will no longer be returned by the ListImports operation and calls to the DescribeImport operation with the import identifier will fail.

Exceptions