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

Description

Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.

Synopsis

Creating a Request

data GetResourceProfile Source #

See: newGetResourceProfile smart constructor.

Constructors

GetResourceProfile' 

Fields

  • resourceArn :: Text

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

Instances

Instances details
ToHeaders GetResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.GetResourceProfile

ToPath GetResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.GetResourceProfile

ToQuery GetResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.GetResourceProfile

AWSRequest GetResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.GetResourceProfile

Associated Types

type AWSResponse GetResourceProfile #

Generic GetResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.GetResourceProfile

Associated Types

type Rep GetResourceProfile :: Type -> Type #

Read GetResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.GetResourceProfile

Show GetResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.GetResourceProfile

NFData GetResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.GetResourceProfile

Methods

rnf :: GetResourceProfile -> () #

Eq GetResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.GetResourceProfile

Hashable GetResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.GetResourceProfile

type AWSResponse GetResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.GetResourceProfile

type Rep GetResourceProfile Source # 
Instance details

Defined in Amazonka.MacieV2.GetResourceProfile

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

newGetResourceProfile Source #

Create a value of GetResourceProfile 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:resourceArn:GetResourceProfile', getResourceProfile_resourceArn - The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.

Request Lenses

getResourceProfile_resourceArn :: Lens' GetResourceProfile Text Source #

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

Destructuring the Response

data GetResourceProfileResponse Source #

See: newGetResourceProfileResponse smart constructor.

Constructors

GetResourceProfileResponse' 

Fields

  • profileUpdatedAt :: Maybe ISO8601

    The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently recalculated sensitive data discovery statistics and details for the bucket. If the bucket's sensitivity score is calculated automatically, this includes the score.

  • sensitivityScore :: Maybe Int

    The current sensitivity score for the bucket, ranging from -1 (no analysis due to an error) to 100 (sensitive). By default, this score is calculated automatically based on the amount of data that Amazon Macie has analyzed in the bucket and the amount of sensitive data that Macie has found in the bucket.

  • sensitivityScoreOverridden :: Maybe Bool

    Specifies whether the bucket's current sensitivity score was set manually. If this value is true, the score was manually changed to 100. If this value is false, the score was calculated automatically by Amazon Macie.

  • statistics :: Maybe ResourceStatistics

    The sensitive data discovery statistics for the bucket. The statistics capture the results of automated sensitive data discovery activities that Amazon Macie has performed for the bucket.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetResourceProfileResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetResourceProfile

Associated Types

type Rep GetResourceProfileResponse :: Type -> Type #

Read GetResourceProfileResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetResourceProfile

Show GetResourceProfileResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetResourceProfile

NFData GetResourceProfileResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetResourceProfile

Eq GetResourceProfileResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetResourceProfile

type Rep GetResourceProfileResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetResourceProfile

type Rep GetResourceProfileResponse = D1 ('MetaData "GetResourceProfileResponse" "Amazonka.MacieV2.GetResourceProfile" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "GetResourceProfileResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "profileUpdatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "sensitivityScore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "sensitivityScoreOverridden") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "statistics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceStatistics)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetResourceProfileResponse Source #

Create a value of GetResourceProfileResponse 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:profileUpdatedAt:GetResourceProfileResponse', getResourceProfileResponse_profileUpdatedAt - The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently recalculated sensitive data discovery statistics and details for the bucket. If the bucket's sensitivity score is calculated automatically, this includes the score.

GetResourceProfileResponse, getResourceProfileResponse_sensitivityScore - The current sensitivity score for the bucket, ranging from -1 (no analysis due to an error) to 100 (sensitive). By default, this score is calculated automatically based on the amount of data that Amazon Macie has analyzed in the bucket and the amount of sensitive data that Macie has found in the bucket.

$sel:sensitivityScoreOverridden:GetResourceProfileResponse', getResourceProfileResponse_sensitivityScoreOverridden - Specifies whether the bucket's current sensitivity score was set manually. If this value is true, the score was manually changed to 100. If this value is false, the score was calculated automatically by Amazon Macie.

$sel:statistics:GetResourceProfileResponse', getResourceProfileResponse_statistics - The sensitive data discovery statistics for the bucket. The statistics capture the results of automated sensitive data discovery activities that Amazon Macie has performed for the bucket.

$sel:httpStatus:GetResourceProfileResponse', getResourceProfileResponse_httpStatus - The response's http status code.

Response Lenses

getResourceProfileResponse_profileUpdatedAt :: Lens' GetResourceProfileResponse (Maybe UTCTime) Source #

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently recalculated sensitive data discovery statistics and details for the bucket. If the bucket's sensitivity score is calculated automatically, this includes the score.

getResourceProfileResponse_sensitivityScore :: Lens' GetResourceProfileResponse (Maybe Int) Source #

The current sensitivity score for the bucket, ranging from -1 (no analysis due to an error) to 100 (sensitive). By default, this score is calculated automatically based on the amount of data that Amazon Macie has analyzed in the bucket and the amount of sensitive data that Macie has found in the bucket.

getResourceProfileResponse_sensitivityScoreOverridden :: Lens' GetResourceProfileResponse (Maybe Bool) Source #

Specifies whether the bucket's current sensitivity score was set manually. If this value is true, the score was manually changed to 100. If this value is false, the score was calculated automatically by Amazon Macie.

getResourceProfileResponse_statistics :: Lens' GetResourceProfileResponse (Maybe ResourceStatistics) Source #

The sensitive data discovery statistics for the bucket. The statistics capture the results of automated sensitive data discovery activities that Amazon Macie has performed for the bucket.