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'
)
[REQUIRED]
The unique identifier of the import to delete.
{
'importId': 'string',
'importStatus': 'InProgress'|'Completed'|'Failed'|'Deleting'
}
Response Structure
The unique identifier of the deleted import.
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
LexModelsV2.Client.exceptions.ThrottlingException
LexModelsV2.Client.exceptions.ServiceQuotaExceededException
LexModelsV2.Client.exceptions.ValidationException
LexModelsV2.Client.exceptions.PreconditionFailedException
LexModelsV2.Client.exceptions.InternalServerException