amazonka-maciev2-2.0: Amazon Macie 2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MacieV2.DeleteAllowList

Description

Deletes an allow list.

Synopsis

Creating a Request

data DeleteAllowList Source #

See: newDeleteAllowList smart constructor.

Constructors

DeleteAllowList' 

Fields

  • ignoreJobChecks :: Maybe Text

    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.

  • id :: Text

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

Instances

Instances details
ToHeaders DeleteAllowList Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteAllowList

ToPath DeleteAllowList Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteAllowList

ToQuery DeleteAllowList Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteAllowList

AWSRequest DeleteAllowList Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteAllowList

Associated Types

type AWSResponse DeleteAllowList #

Generic DeleteAllowList Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteAllowList

Associated Types

type Rep DeleteAllowList :: Type -> Type #

Read DeleteAllowList Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteAllowList

Show DeleteAllowList Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteAllowList

NFData DeleteAllowList Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteAllowList

Methods

rnf :: DeleteAllowList -> () #

Eq DeleteAllowList Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteAllowList

Hashable DeleteAllowList Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteAllowList

type AWSResponse DeleteAllowList Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteAllowList

type Rep DeleteAllowList Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteAllowList

type Rep DeleteAllowList = D1 ('MetaData "DeleteAllowList" "Amazonka.MacieV2.DeleteAllowList" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "DeleteAllowList'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ignoreJobChecks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteAllowList Source #

Create a value of DeleteAllowList with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:ignoreJobChecks:DeleteAllowList', deleteAllowList_ignoreJobChecks - 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.

DeleteAllowList, deleteAllowList_id - The unique identifier for the Amazon Macie resource that the request applies to.

Request Lenses

deleteAllowList_ignoreJobChecks :: Lens' DeleteAllowList (Maybe Text) Source #

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.

deleteAllowList_id :: Lens' DeleteAllowList Text Source #

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

Destructuring the Response

data DeleteAllowListResponse Source #

See: newDeleteAllowListResponse smart constructor.

Constructors

DeleteAllowListResponse' 

Fields

Instances

Instances details
Generic DeleteAllowListResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteAllowList

Associated Types

type Rep DeleteAllowListResponse :: Type -> Type #

Read DeleteAllowListResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteAllowList

Show DeleteAllowListResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteAllowList

NFData DeleteAllowListResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteAllowList

Methods

rnf :: DeleteAllowListResponse -> () #

Eq DeleteAllowListResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteAllowList

type Rep DeleteAllowListResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteAllowList

type Rep DeleteAllowListResponse = D1 ('MetaData "DeleteAllowListResponse" "Amazonka.MacieV2.DeleteAllowList" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "DeleteAllowListResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteAllowListResponse Source #

Create a value of DeleteAllowListResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DeleteAllowListResponse', deleteAllowListResponse_httpStatus - The response's http status code.

Response Lenses