libZSservicesZSamazonka-macieZSamazonka-macie
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Macie.DisassociateS3Resources

Description

Removes specified S3 resources from being monitored by Amazon Macie Classic. If memberAccountId isn't specified, the action removes specified S3 resources from Macie Classic for the current Macie Classic administrator account. If memberAccountId is specified, the action removes specified S3 resources from Macie Classic for the specified member account.

Synopsis

Creating a Request

data DisassociateS3Resources Source #

See: newDisassociateS3Resources smart constructor.

Constructors

DisassociateS3Resources' 

Fields

  • memberAccountId :: Maybe Text

    The ID of the Amazon Macie Classic member account whose resources you want to remove from being monitored by Macie Classic.

  • associatedS3Resources :: [S3Resource]

    The S3 resources (buckets or prefixes) that you want to remove from being monitored and classified by Amazon Macie Classic.

Instances

Instances details
Eq DisassociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.DisassociateS3Resources

Read DisassociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.DisassociateS3Resources

Show DisassociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.DisassociateS3Resources

Generic DisassociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.DisassociateS3Resources

Associated Types

type Rep DisassociateS3Resources :: Type -> Type #

NFData DisassociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.DisassociateS3Resources

Methods

rnf :: DisassociateS3Resources -> () #

Hashable DisassociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.DisassociateS3Resources

ToJSON DisassociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.DisassociateS3Resources

AWSRequest DisassociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.DisassociateS3Resources

ToHeaders DisassociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.DisassociateS3Resources

ToPath DisassociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.DisassociateS3Resources

ToQuery DisassociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.DisassociateS3Resources

type Rep DisassociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.DisassociateS3Resources

type Rep DisassociateS3Resources = D1 ('MetaData "DisassociateS3Resources" "Amazonka.Macie.DisassociateS3Resources" "libZSservicesZSamazonka-macieZSamazonka-macie" 'False) (C1 ('MetaCons "DisassociateS3Resources'" 'PrefixI 'True) (S1 ('MetaSel ('Just "memberAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "associatedS3Resources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [S3Resource])))
type AWSResponse DisassociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.DisassociateS3Resources

newDisassociateS3Resources :: DisassociateS3Resources Source #

Create a value of DisassociateS3Resources 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:memberAccountId:DisassociateS3Resources', disassociateS3Resources_memberAccountId - The ID of the Amazon Macie Classic member account whose resources you want to remove from being monitored by Macie Classic.

$sel:associatedS3Resources:DisassociateS3Resources', disassociateS3Resources_associatedS3Resources - The S3 resources (buckets or prefixes) that you want to remove from being monitored and classified by Amazon Macie Classic.

Request Lenses

disassociateS3Resources_memberAccountId :: Lens' DisassociateS3Resources (Maybe Text) Source #

The ID of the Amazon Macie Classic member account whose resources you want to remove from being monitored by Macie Classic.

disassociateS3Resources_associatedS3Resources :: Lens' DisassociateS3Resources [S3Resource] Source #

The S3 resources (buckets or prefixes) that you want to remove from being monitored and classified by Amazon Macie Classic.

Destructuring the Response

data DisassociateS3ResourcesResponse Source #

See: newDisassociateS3ResourcesResponse smart constructor.

Constructors

DisassociateS3ResourcesResponse' 

Fields

  • failedS3Resources :: Maybe [FailedS3Resource]

    S3 resources that couldn't be removed from being monitored and classified by Amazon Macie Classic. An error code and an error message are provided for each failed item.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DisassociateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.DisassociateS3Resources

Read DisassociateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.DisassociateS3Resources

Show DisassociateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.DisassociateS3Resources

Generic DisassociateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.DisassociateS3Resources

Associated Types

type Rep DisassociateS3ResourcesResponse :: Type -> Type #

NFData DisassociateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.DisassociateS3Resources

type Rep DisassociateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.DisassociateS3Resources

type Rep DisassociateS3ResourcesResponse = D1 ('MetaData "DisassociateS3ResourcesResponse" "Amazonka.Macie.DisassociateS3Resources" "libZSservicesZSamazonka-macieZSamazonka-macie" 'False) (C1 ('MetaCons "DisassociateS3ResourcesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failedS3Resources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FailedS3Resource])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDisassociateS3ResourcesResponse Source #

Create a value of DisassociateS3ResourcesResponse 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:failedS3Resources:DisassociateS3ResourcesResponse', disassociateS3ResourcesResponse_failedS3Resources - S3 resources that couldn't be removed from being monitored and classified by Amazon Macie Classic. An error code and an error message are provided for each failed item.

$sel:httpStatus:DisassociateS3ResourcesResponse', disassociateS3ResourcesResponse_httpStatus - The response's http status code.

Response Lenses

disassociateS3ResourcesResponse_failedS3Resources :: Lens' DisassociateS3ResourcesResponse (Maybe [FailedS3Resource]) Source #

S3 resources that couldn't be removed from being monitored and classified by Amazon Macie Classic. An error code and an error message are provided for each failed item.