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

Description

Updates the classification types for the specified S3 resources. If memberAccountId isn't specified, the action updates the classification types of the S3 resources associated with Amazon Macie Classic for the current Macie Classic administrator account. If memberAccountId is specified, the action updates the classification types of the S3 resources associated with Macie Classic for the specified member account.

Synopsis

Creating a Request

data UpdateS3Resources Source #

See: newUpdateS3Resources smart constructor.

Constructors

UpdateS3Resources' 

Fields

Instances

Instances details
Eq UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

Read UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

Show UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

Generic UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

Associated Types

type Rep UpdateS3Resources :: Type -> Type #

NFData UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

Methods

rnf :: UpdateS3Resources -> () #

Hashable UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

ToJSON UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

AWSRequest UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

Associated Types

type AWSResponse UpdateS3Resources #

ToHeaders UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

ToPath UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

ToQuery UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

type Rep UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

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

Defined in Amazonka.Macie.UpdateS3Resources

newUpdateS3Resources :: UpdateS3Resources Source #

Create a value of UpdateS3Resources 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:UpdateS3Resources', updateS3Resources_memberAccountId - The AWS ID of the Amazon Macie Classic member account whose S3 resources' classification types you want to update.

$sel:s3ResourcesUpdate:UpdateS3Resources', updateS3Resources_s3ResourcesUpdate - The S3 resources whose classification types you want to update.

Request Lenses

updateS3Resources_memberAccountId :: Lens' UpdateS3Resources (Maybe Text) Source #

The AWS ID of the Amazon Macie Classic member account whose S3 resources' classification types you want to update.

updateS3Resources_s3ResourcesUpdate :: Lens' UpdateS3Resources [S3ResourceClassificationUpdate] Source #

The S3 resources whose classification types you want to update.

Destructuring the Response

data UpdateS3ResourcesResponse Source #

See: newUpdateS3ResourcesResponse smart constructor.

Constructors

UpdateS3ResourcesResponse' 

Fields

Instances

Instances details
Eq UpdateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

Read UpdateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

Show UpdateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

Generic UpdateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

Associated Types

type Rep UpdateS3ResourcesResponse :: Type -> Type #

NFData UpdateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

type Rep UpdateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

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

newUpdateS3ResourcesResponse Source #

Create a value of UpdateS3ResourcesResponse 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:UpdateS3ResourcesResponse', updateS3ResourcesResponse_failedS3Resources - The S3 resources whose classification types can't be updated. An error code and an error message are provided for each failed item.

$sel:httpStatus:UpdateS3ResourcesResponse', updateS3ResourcesResponse_httpStatus - The response's http status code.

Response Lenses

updateS3ResourcesResponse_failedS3Resources :: Lens' UpdateS3ResourcesResponse (Maybe [FailedS3Resource]) Source #

The S3 resources whose classification types can't be updated. An error code and an error message are provided for each failed item.