amazonka-macie-2.0: Amazon Macie 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.Macie.UpdateS3Resources

Description

(Discontinued) 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
ToJSON UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.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

AWSRequest UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

Associated Types

type AWSResponse UpdateS3Resources #

Generic UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

Associated Types

type Rep UpdateS3Resources :: Type -> Type #

Read UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

Show UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

NFData UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

Methods

rnf :: UpdateS3Resources -> () #

Eq UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

Hashable UpdateS3Resources Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

type AWSResponse 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" "amazonka-macie-2.0-6zQjUC5IKQtkmzh23qe2R" '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])))

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 - (Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic member account whose S3 resources' classification types you want to update.

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

Request Lenses

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

(Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic member account whose S3 resources' classification types you want to update.

updateS3Resources_s3ResourcesUpdate :: Lens' UpdateS3Resources [S3ResourceClassificationUpdate] Source #

(Discontinued) 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
Generic UpdateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

Associated Types

type Rep UpdateS3ResourcesResponse :: Type -> Type #

Read UpdateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

Show UpdateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

NFData UpdateS3ResourcesResponse Source # 
Instance details

Defined in Amazonka.Macie.UpdateS3Resources

Eq 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" "amazonka-macie-2.0-6zQjUC5IKQtkmzh23qe2R" '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 - (Discontinued) 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 #

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