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.Types.ResourceStatistics

Description

 
Synopsis

Documentation

data ResourceStatistics Source #

Provides statistical data for sensitive data discovery metrics that apply to an S3 bucket that Amazon Macie monitors and analyzes for your account. The statistics capture the results of automated sensitive data discovery activities that Macie has performed for the bucket. The data is available only if automated sensitive data discovery is currently enabled for your account.

See: newResourceStatistics smart constructor.

Constructors

ResourceStatistics' 

Fields

  • totalBytesClassified :: Maybe Integer

    The total amount of data, in bytes, that Amazon Macie has analyzed in the bucket.

  • totalDetections :: Maybe Integer

    The total number of occurrences of sensitive data that Amazon Macie has found in the bucket's objects. This includes occurrences that are currently suppressed by the sensitivity scoring settings for the bucket (totalDetectionsSuppressed).

  • totalDetectionsSuppressed :: Maybe Integer

    The total number of occurrences of sensitive data that are currently suppressed by the sensitivity scoring settings for the bucket. These represent occurrences of sensitive data that Amazon Macie found in the bucket's objects, but the occurrences were manually suppressed. By default, suppressed occurrences are excluded from the bucket's sensitivity score.

  • totalItemsClassified :: Maybe Integer

    The total number of objects that Amazon Macie has analyzed in the bucket.

  • totalItemsSensitive :: Maybe Integer

    The total number of the bucket's objects that Amazon Macie has found sensitive data in.

  • totalItemsSkipped :: Maybe Integer

    The total number of objects that Amazon Macie hasn't analyzed in the bucket due to an error or issue. For example, the object is a malformed file. This value includes objects that Macie hasn't analyzed for reasons reported by other statistics in the ResourceStatistics object.

  • totalItemsSkippedInvalidEncryption :: Maybe Integer

    The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted with a key that Macie isn't allowed to use.

  • totalItemsSkippedInvalidKms :: Maybe Integer

    The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted with an KMS key that was disabled or deleted.

  • totalItemsSkippedPermissionDenied :: Maybe Integer

    The total number of objects that Amazon Macie hasn't analyzed in the bucket because Macie isn't allowed to access the objects.

Instances

Instances details
FromJSON ResourceStatistics Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ResourceStatistics

Generic ResourceStatistics Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ResourceStatistics

Associated Types

type Rep ResourceStatistics :: Type -> Type #

Read ResourceStatistics Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ResourceStatistics

Show ResourceStatistics Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ResourceStatistics

NFData ResourceStatistics Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ResourceStatistics

Methods

rnf :: ResourceStatistics -> () #

Eq ResourceStatistics Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ResourceStatistics

Hashable ResourceStatistics Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ResourceStatistics

type Rep ResourceStatistics Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ResourceStatistics

type Rep ResourceStatistics = D1 ('MetaData "ResourceStatistics" "Amazonka.MacieV2.Types.ResourceStatistics" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "ResourceStatistics'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "totalBytesClassified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "totalDetections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "totalDetectionsSuppressed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "totalItemsClassified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: ((S1 ('MetaSel ('Just "totalItemsSensitive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "totalItemsSkipped") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "totalItemsSkippedInvalidEncryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "totalItemsSkippedInvalidKms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "totalItemsSkippedPermissionDenied") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))))

newResourceStatistics :: ResourceStatistics Source #

Create a value of ResourceStatistics 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:totalBytesClassified:ResourceStatistics', resourceStatistics_totalBytesClassified - The total amount of data, in bytes, that Amazon Macie has analyzed in the bucket.

$sel:totalDetections:ResourceStatistics', resourceStatistics_totalDetections - The total number of occurrences of sensitive data that Amazon Macie has found in the bucket's objects. This includes occurrences that are currently suppressed by the sensitivity scoring settings for the bucket (totalDetectionsSuppressed).

$sel:totalDetectionsSuppressed:ResourceStatistics', resourceStatistics_totalDetectionsSuppressed - The total number of occurrences of sensitive data that are currently suppressed by the sensitivity scoring settings for the bucket. These represent occurrences of sensitive data that Amazon Macie found in the bucket's objects, but the occurrences were manually suppressed. By default, suppressed occurrences are excluded from the bucket's sensitivity score.

$sel:totalItemsClassified:ResourceStatistics', resourceStatistics_totalItemsClassified - The total number of objects that Amazon Macie has analyzed in the bucket.

$sel:totalItemsSensitive:ResourceStatistics', resourceStatistics_totalItemsSensitive - The total number of the bucket's objects that Amazon Macie has found sensitive data in.

$sel:totalItemsSkipped:ResourceStatistics', resourceStatistics_totalItemsSkipped - The total number of objects that Amazon Macie hasn't analyzed in the bucket due to an error or issue. For example, the object is a malformed file. This value includes objects that Macie hasn't analyzed for reasons reported by other statistics in the ResourceStatistics object.

$sel:totalItemsSkippedInvalidEncryption:ResourceStatistics', resourceStatistics_totalItemsSkippedInvalidEncryption - The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted with a key that Macie isn't allowed to use.

$sel:totalItemsSkippedInvalidKms:ResourceStatistics', resourceStatistics_totalItemsSkippedInvalidKms - The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted with an KMS key that was disabled or deleted.

$sel:totalItemsSkippedPermissionDenied:ResourceStatistics', resourceStatistics_totalItemsSkippedPermissionDenied - The total number of objects that Amazon Macie hasn't analyzed in the bucket because Macie isn't allowed to access the objects.

resourceStatistics_totalBytesClassified :: Lens' ResourceStatistics (Maybe Integer) Source #

The total amount of data, in bytes, that Amazon Macie has analyzed in the bucket.

resourceStatistics_totalDetections :: Lens' ResourceStatistics (Maybe Integer) Source #

The total number of occurrences of sensitive data that Amazon Macie has found in the bucket's objects. This includes occurrences that are currently suppressed by the sensitivity scoring settings for the bucket (totalDetectionsSuppressed).

resourceStatistics_totalDetectionsSuppressed :: Lens' ResourceStatistics (Maybe Integer) Source #

The total number of occurrences of sensitive data that are currently suppressed by the sensitivity scoring settings for the bucket. These represent occurrences of sensitive data that Amazon Macie found in the bucket's objects, but the occurrences were manually suppressed. By default, suppressed occurrences are excluded from the bucket's sensitivity score.

resourceStatistics_totalItemsClassified :: Lens' ResourceStatistics (Maybe Integer) Source #

The total number of objects that Amazon Macie has analyzed in the bucket.

resourceStatistics_totalItemsSensitive :: Lens' ResourceStatistics (Maybe Integer) Source #

The total number of the bucket's objects that Amazon Macie has found sensitive data in.

resourceStatistics_totalItemsSkipped :: Lens' ResourceStatistics (Maybe Integer) Source #

The total number of objects that Amazon Macie hasn't analyzed in the bucket due to an error or issue. For example, the object is a malformed file. This value includes objects that Macie hasn't analyzed for reasons reported by other statistics in the ResourceStatistics object.

resourceStatistics_totalItemsSkippedInvalidEncryption :: Lens' ResourceStatistics (Maybe Integer) Source #

The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted with a key that Macie isn't allowed to use.

resourceStatistics_totalItemsSkippedInvalidKms :: Lens' ResourceStatistics (Maybe Integer) Source #

The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted with an KMS key that was disabled or deleted.

resourceStatistics_totalItemsSkippedPermissionDenied :: Lens' ResourceStatistics (Maybe Integer) Source #

The total number of objects that Amazon Macie hasn't analyzed in the bucket because Macie isn't allowed to access the objects.