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.AssociateS3Resources

Description

Associates specified S3 resources with Amazon Macie Classic for monitoring and data classification. If memberAccountId isn't specified, the action associates specified S3 resources with Macie Classic for the current Macie Classic administrator account. If memberAccountId is specified, the action associates specified S3 resources with Macie Classic for the specified member account.

Synopsis

Creating a Request

data AssociateS3Resources Source #

See: newAssociateS3Resources smart constructor.

Constructors

AssociateS3Resources' 

Fields

Instances

Instances details
Eq AssociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.AssociateS3Resources

Read AssociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.AssociateS3Resources

Show AssociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.AssociateS3Resources

Generic AssociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.AssociateS3Resources

Associated Types

type Rep AssociateS3Resources :: Type -> Type #

NFData AssociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.AssociateS3Resources

Methods

rnf :: AssociateS3Resources -> () #

Hashable AssociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.AssociateS3Resources

ToJSON AssociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.AssociateS3Resources

AWSRequest AssociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.AssociateS3Resources

Associated Types

type AWSResponse AssociateS3Resources #

ToHeaders AssociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.AssociateS3Resources

ToPath AssociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.AssociateS3Resources

ToQuery AssociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.AssociateS3Resources

type Rep AssociateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.AssociateS3Resources

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

Defined in Amazonka.Macie.AssociateS3Resources

newAssociateS3Resources :: AssociateS3Resources Source #

Create a value of AssociateS3Resources 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:AssociateS3Resources', associateS3Resources_memberAccountId - The ID of the Amazon Macie Classic member account whose resources you want to associate with Macie Classic.

$sel:s3Resources:AssociateS3Resources', associateS3Resources_s3Resources - The S3 resources that you want to associate with Amazon Macie Classic for monitoring and data classification.

Request Lenses

associateS3Resources_memberAccountId :: Lens' AssociateS3Resources (Maybe Text) Source #

The ID of the Amazon Macie Classic member account whose resources you want to associate with Macie Classic.

associateS3Resources_s3Resources :: Lens' AssociateS3Resources [S3ResourceClassification] Source #

The S3 resources that you want to associate with Amazon Macie Classic for monitoring and data classification.

Destructuring the Response

data AssociateS3ResourcesResponse Source #

See: newAssociateS3ResourcesResponse smart constructor.

Constructors

AssociateS3ResourcesResponse' 

Fields

Instances

Instances details
Eq AssociateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.AssociateS3Resources

Read AssociateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.AssociateS3Resources

Show AssociateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.AssociateS3Resources

Generic AssociateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.AssociateS3Resources

Associated Types

type Rep AssociateS3ResourcesResponse :: Type -> Type #

NFData AssociateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.AssociateS3Resources

type Rep AssociateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.AssociateS3Resources

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

newAssociateS3ResourcesResponse Source #

Create a value of AssociateS3ResourcesResponse 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:AssociateS3ResourcesResponse', associateS3ResourcesResponse_failedS3Resources - S3 resources that couldn't be associated with Amazon Macie Classic. An error code and an error message are provided for each failed item.

$sel:httpStatus:AssociateS3ResourcesResponse', associateS3ResourcesResponse_httpStatus - The response's http status code.

Response Lenses

associateS3ResourcesResponse_failedS3Resources :: Lens' AssociateS3ResourcesResponse (Maybe [FailedS3Resource]) Source #

S3 resources that couldn't be associated with Amazon Macie Classic. An error code and an error message are provided for each failed item.