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

Description

Updates the sensitivity score for an S3 bucket.

Synopsis

Creating a Request

data UpdateResourceProfile Source #

See: newUpdateResourceProfile smart constructor.

Constructors

UpdateResourceProfile' 

Fields

  • sensitivityScoreOverride :: Maybe Int

    The new sensitivity score for the bucket. Valid values are: 100, assign the maximum score and apply the Sensitive label to the bucket; and, null (empty), assign a score that Amazon Macie calculates automatically after you submit the request.

  • resourceArn :: Text

    The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.

Instances

Instances details
ToJSON UpdateResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateResourceProfile

ToHeaders UpdateResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateResourceProfile

ToPath UpdateResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateResourceProfile

ToQuery UpdateResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateResourceProfile

AWSRequest UpdateResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateResourceProfile

Associated Types

type AWSResponse UpdateResourceProfile #

Generic UpdateResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateResourceProfile

Associated Types

type Rep UpdateResourceProfile :: Type -> Type #

Read UpdateResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateResourceProfile

Show UpdateResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateResourceProfile

NFData UpdateResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateResourceProfile

Methods

rnf :: UpdateResourceProfile -> () #

Eq UpdateResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateResourceProfile

Hashable UpdateResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateResourceProfile

type AWSResponse UpdateResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateResourceProfile

type Rep UpdateResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateResourceProfile

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

newUpdateResourceProfile Source #

Create a value of UpdateResourceProfile 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:sensitivityScoreOverride:UpdateResourceProfile', updateResourceProfile_sensitivityScoreOverride - The new sensitivity score for the bucket. Valid values are: 100, assign the maximum score and apply the Sensitive label to the bucket; and, null (empty), assign a score that Amazon Macie calculates automatically after you submit the request.

$sel:resourceArn:UpdateResourceProfile', updateResourceProfile_resourceArn - The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.

Request Lenses

updateResourceProfile_sensitivityScoreOverride :: Lens' UpdateResourceProfile (Maybe Int) Source #

The new sensitivity score for the bucket. Valid values are: 100, assign the maximum score and apply the Sensitive label to the bucket; and, null (empty), assign a score that Amazon Macie calculates automatically after you submit the request.

updateResourceProfile_resourceArn :: Lens' UpdateResourceProfile Text Source #

The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.

Destructuring the Response

data UpdateResourceProfileResponse Source #

See: newUpdateResourceProfileResponse smart constructor.

Constructors

UpdateResourceProfileResponse' 

Fields

Instances

Instances details
Generic UpdateResourceProfileResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateResourceProfile

Associated Types

type Rep UpdateResourceProfileResponse :: Type -> Type #

Read UpdateResourceProfileResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateResourceProfile

Show UpdateResourceProfileResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateResourceProfile

NFData UpdateResourceProfileResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateResourceProfile

Eq UpdateResourceProfileResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateResourceProfile

type Rep UpdateResourceProfileResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateResourceProfile

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

newUpdateResourceProfileResponse Source #

Create a value of UpdateResourceProfileResponse 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:UpdateResourceProfileResponse', updateResourceProfileResponse_httpStatus - The response's http status code.

Response Lenses