Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ResourceStatistics = ResourceStatistics' {
- totalBytesClassified :: Maybe Integer
- totalDetections :: Maybe Integer
- totalDetectionsSuppressed :: Maybe Integer
- totalItemsClassified :: Maybe Integer
- totalItemsSensitive :: Maybe Integer
- totalItemsSkipped :: Maybe Integer
- totalItemsSkippedInvalidEncryption :: Maybe Integer
- totalItemsSkippedInvalidKms :: Maybe Integer
- totalItemsSkippedPermissionDenied :: Maybe Integer
- newResourceStatistics :: ResourceStatistics
- resourceStatistics_totalBytesClassified :: Lens' ResourceStatistics (Maybe Integer)
- resourceStatistics_totalDetections :: Lens' ResourceStatistics (Maybe Integer)
- resourceStatistics_totalDetectionsSuppressed :: Lens' ResourceStatistics (Maybe Integer)
- resourceStatistics_totalItemsClassified :: Lens' ResourceStatistics (Maybe Integer)
- resourceStatistics_totalItemsSensitive :: Lens' ResourceStatistics (Maybe Integer)
- resourceStatistics_totalItemsSkipped :: Lens' ResourceStatistics (Maybe Integer)
- resourceStatistics_totalItemsSkippedInvalidEncryption :: Lens' ResourceStatistics (Maybe Integer)
- resourceStatistics_totalItemsSkippedInvalidKms :: Lens' ResourceStatistics (Maybe Integer)
- resourceStatistics_totalItemsSkippedPermissionDenied :: Lens' ResourceStatistics (Maybe Integer)
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.
ResourceStatistics' | |
|
Instances
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.