Macie2 / Client / delete_allow_list



Deletes an allow list.

See also: AWS API Documentation

Request Syntax

response = client.delete_allow_list(
  • id (string) –


    The unique identifier for the Amazon Macie resource that the request applies to.

  • ignoreJobChecks (string) –

    Specifies whether to force deletion of the allow list, even if active classification jobs are configured to use the list.

    When you try to delete an allow list, Amazon Macie checks for classification jobs that use the list and have a status other than COMPLETE or CANCELLED. By default, Macie rejects your request if any jobs meet these criteria. To skip these checks and delete the list, set this value to true. To delete the list only if no active jobs are configured to use it, set this value to false.

Return type:



Response Syntax


Response Structure

  • (dict) –

    The request succeeded. The allow list was deleted and there isn’t any content to include in the body of the response (No Content).


  • Macie2.Client.exceptions.ResourceNotFoundException

  • Macie2.Client.exceptions.ThrottlingException

  • Macie2.Client.exceptions.ValidationException

  • Macie2.Client.exceptions.InternalServerException

  • Macie2.Client.exceptions.AccessDeniedException