Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_export

delete_export(**kwargs)

Removes a previous export and the associated files stored in an S3 bucket.

See also: AWS API Documentation

Request Syntax

response = client.delete_export(
    exportId='string'
)
Parameters
exportId (string) --

[REQUIRED]

The unique identifier of the export to delete.

Return type
dict
Returns
Response Syntax
{
    'exportId': 'string',
    'exportStatus': 'InProgress'|'Completed'|'Failed'|'Deleting'
}

Response Structure

  • (dict) --
    • exportId (string) --

      The unique identifier of the deleted export.

    • exportStatus (string) --

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

Exceptions

  • LexModelsV2.Client.exceptions.ThrottlingException
  • LexModelsV2.Client.exceptions.ServiceQuotaExceededException
  • LexModelsV2.Client.exceptions.ValidationException
  • LexModelsV2.Client.exceptions.PreconditionFailedException
  • LexModelsV2.Client.exceptions.InternalServerException