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 MatchingBucket = MatchingBucket' {
- accountId :: Maybe Text
- bucketName :: Maybe Text
- classifiableObjectCount :: Maybe Integer
- classifiableSizeInBytes :: Maybe Integer
- errorCode :: Maybe BucketMetadataErrorCode
- errorMessage :: Maybe Text
- jobDetails :: Maybe JobDetails
- lastAutomatedDiscoveryTime :: Maybe ISO8601
- objectCount :: Maybe Integer
- objectCountByEncryptionType :: Maybe ObjectCountByEncryptionType
- sensitivityScore :: Maybe Int
- sizeInBytes :: Maybe Integer
- sizeInBytesCompressed :: Maybe Integer
- unclassifiableObjectCount :: Maybe ObjectLevelStatistics
- unclassifiableObjectSizeInBytes :: Maybe ObjectLevelStatistics
- newMatchingBucket :: MatchingBucket
- matchingBucket_accountId :: Lens' MatchingBucket (Maybe Text)
- matchingBucket_bucketName :: Lens' MatchingBucket (Maybe Text)
- matchingBucket_classifiableObjectCount :: Lens' MatchingBucket (Maybe Integer)
- matchingBucket_classifiableSizeInBytes :: Lens' MatchingBucket (Maybe Integer)
- matchingBucket_errorCode :: Lens' MatchingBucket (Maybe BucketMetadataErrorCode)
- matchingBucket_errorMessage :: Lens' MatchingBucket (Maybe Text)
- matchingBucket_jobDetails :: Lens' MatchingBucket (Maybe JobDetails)
- matchingBucket_lastAutomatedDiscoveryTime :: Lens' MatchingBucket (Maybe UTCTime)
- matchingBucket_objectCount :: Lens' MatchingBucket (Maybe Integer)
- matchingBucket_objectCountByEncryptionType :: Lens' MatchingBucket (Maybe ObjectCountByEncryptionType)
- matchingBucket_sensitivityScore :: Lens' MatchingBucket (Maybe Int)
- matchingBucket_sizeInBytes :: Lens' MatchingBucket (Maybe Integer)
- matchingBucket_sizeInBytesCompressed :: Lens' MatchingBucket (Maybe Integer)
- matchingBucket_unclassifiableObjectCount :: Lens' MatchingBucket (Maybe ObjectLevelStatistics)
- matchingBucket_unclassifiableObjectSizeInBytes :: Lens' MatchingBucket (Maybe ObjectLevelStatistics)
Documentation
data MatchingBucket Source #
Provides statistical data and other information about an S3 bucket that Amazon Macie monitors and analyzes for your account. If an error occurs when Macie attempts to retrieve and process information about the bucket or the bucket's objects, the value for most of these properties is null. Key exceptions are accountId and bucketName. To identify the cause of the error, refer to the errorCode and errorMessage values.
See: newMatchingBucket
smart constructor.
MatchingBucket' | |
|
Instances
newMatchingBucket :: MatchingBucket Source #
Create a value of MatchingBucket
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:accountId:MatchingBucket'
, matchingBucket_accountId
- The unique identifier for the Amazon Web Services account that owns the
bucket.
$sel:bucketName:MatchingBucket'
, matchingBucket_bucketName
- The name of the bucket.
$sel:classifiableObjectCount:MatchingBucket'
, matchingBucket_classifiableObjectCount
- The total number of objects that Amazon Macie can analyze in the bucket.
These objects use a supported storage class and have a file name
extension for a supported file or storage format.
$sel:classifiableSizeInBytes:MatchingBucket'
, matchingBucket_classifiableSizeInBytes
- The total storage size, in bytes, of the objects that Amazon Macie can
analyze in the bucket. These objects use a supported storage class and
have a file name extension for a supported file or storage format.
If versioning is enabled for the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
$sel:errorCode:MatchingBucket'
, matchingBucket_errorCode
- Specifies the error code for an error that prevented Amazon Macie from
retrieving and processing information about the bucket and the bucket's
objects. If this value is ACCESS_DENIED, Macie doesn't have permission
to retrieve the information. For example, the bucket has a restrictive
bucket policy and Amazon S3 denied the request. If this value is null,
Macie was able to retrieve and process the information.
$sel:errorMessage:MatchingBucket'
, matchingBucket_errorMessage
- A brief description of the error (errorCode) that prevented Amazon Macie
from retrieving and processing information about the bucket and the
bucket's objects. This value is null if Macie was able to retrieve and
process the information.
$sel:jobDetails:MatchingBucket'
, matchingBucket_jobDetails
- Specifies whether any one-time or recurring classification jobs are
configured to analyze objects in the bucket, and, if so, the details of
the job that ran most recently.
$sel:lastAutomatedDiscoveryTime:MatchingBucket'
, matchingBucket_lastAutomatedDiscoveryTime
- The date and time, in UTC and extended ISO 8601 format, when Amazon
Macie most recently performed automated sensitive data discovery for the
bucket. This value is null if automated sensitive data discovery is
currently disabled for your account.
$sel:objectCount:MatchingBucket'
, matchingBucket_objectCount
- The total number of objects in the bucket.
$sel:objectCountByEncryptionType:MatchingBucket'
, matchingBucket_objectCountByEncryptionType
- The total number of objects in the bucket, grouped by server-side
encryption type. This includes a grouping that reports the total number
of objects that aren't encrypted or use client-side encryption.
$sel:sensitivityScore:MatchingBucket'
, matchingBucket_sensitivityScore
- The current sensitivity score for the bucket, ranging from -1 (no
analysis due to an error) to 100 (sensitive). This value is null if
automated sensitive data discovery is currently disabled for your
account.
$sel:sizeInBytes:MatchingBucket'
, matchingBucket_sizeInBytes
- The total storage size, in bytes, of the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each object in the bucket. This value doesn't reflect the storage size of all versions of each object in the bucket.
$sel:sizeInBytesCompressed:MatchingBucket'
, matchingBucket_sizeInBytesCompressed
- The total storage size, in bytes, of the objects that are compressed
(.gz, .gzip, .zip) files in the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
$sel:unclassifiableObjectCount:MatchingBucket'
, matchingBucket_unclassifiableObjectCount
- The total number of objects that Amazon Macie can't analyze in the
bucket. These objects don't use a supported storage class or don't
have a file name extension for a supported file or storage format.
$sel:unclassifiableObjectSizeInBytes:MatchingBucket'
, matchingBucket_unclassifiableObjectSizeInBytes
- The total storage size, in bytes, of the objects that Amazon Macie
can't analyze in the bucket. These objects don't use a supported
storage class or don't have a file name extension for a supported file
or storage format.
matchingBucket_accountId :: Lens' MatchingBucket (Maybe Text) Source #
The unique identifier for the Amazon Web Services account that owns the bucket.
matchingBucket_bucketName :: Lens' MatchingBucket (Maybe Text) Source #
The name of the bucket.
matchingBucket_classifiableObjectCount :: Lens' MatchingBucket (Maybe Integer) Source #
The total number of objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.
matchingBucket_classifiableSizeInBytes :: Lens' MatchingBucket (Maybe Integer) Source #
The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.
If versioning is enabled for the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
matchingBucket_errorCode :: Lens' MatchingBucket (Maybe BucketMetadataErrorCode) Source #
Specifies the error code for an error that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. If this value is ACCESS_DENIED, Macie doesn't have permission to retrieve the information. For example, the bucket has a restrictive bucket policy and Amazon S3 denied the request. If this value is null, Macie was able to retrieve and process the information.
matchingBucket_errorMessage :: Lens' MatchingBucket (Maybe Text) Source #
A brief description of the error (errorCode) that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. This value is null if Macie was able to retrieve and process the information.
matchingBucket_jobDetails :: Lens' MatchingBucket (Maybe JobDetails) Source #
Specifies whether any one-time or recurring classification jobs are configured to analyze objects in the bucket, and, if so, the details of the job that ran most recently.
matchingBucket_lastAutomatedDiscoveryTime :: Lens' MatchingBucket (Maybe UTCTime) Source #
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently performed automated sensitive data discovery for the bucket. This value is null if automated sensitive data discovery is currently disabled for your account.
matchingBucket_objectCount :: Lens' MatchingBucket (Maybe Integer) Source #
The total number of objects in the bucket.
matchingBucket_objectCountByEncryptionType :: Lens' MatchingBucket (Maybe ObjectCountByEncryptionType) Source #
The total number of objects in the bucket, grouped by server-side encryption type. This includes a grouping that reports the total number of objects that aren't encrypted or use client-side encryption.
matchingBucket_sensitivityScore :: Lens' MatchingBucket (Maybe Int) Source #
The current sensitivity score for the bucket, ranging from -1 (no analysis due to an error) to 100 (sensitive). This value is null if automated sensitive data discovery is currently disabled for your account.
matchingBucket_sizeInBytes :: Lens' MatchingBucket (Maybe Integer) Source #
The total storage size, in bytes, of the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each object in the bucket. This value doesn't reflect the storage size of all versions of each object in the bucket.
matchingBucket_sizeInBytesCompressed :: Lens' MatchingBucket (Maybe Integer) Source #
The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
matchingBucket_unclassifiableObjectCount :: Lens' MatchingBucket (Maybe ObjectLevelStatistics) Source #
The total number of objects that Amazon Macie can't analyze in the bucket. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.
matchingBucket_unclassifiableObjectSizeInBytes :: Lens' MatchingBucket (Maybe ObjectLevelStatistics) Source #
The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the bucket. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.