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

Description

 
Synopsis

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.

Constructors

MatchingBucket' 

Fields

  • accountId :: Maybe Text

    The unique identifier for the Amazon Web Services account that owns the bucket.

  • bucketName :: Maybe Text

    The name of the bucket.

  • classifiableObjectCount :: Maybe Integer

    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.

  • classifiableSizeInBytes :: Maybe Integer

    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.

  • errorCode :: Maybe BucketMetadataErrorCode

    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.

  • errorMessage :: Maybe Text

    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.

  • jobDetails :: Maybe 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.

  • lastAutomatedDiscoveryTime :: Maybe ISO8601

    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.

  • objectCount :: Maybe Integer

    The total number of objects in the bucket.

  • objectCountByEncryptionType :: Maybe 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.

  • sensitivityScore :: Maybe Int

    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.

  • sizeInBytes :: Maybe Integer

    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.

  • sizeInBytesCompressed :: Maybe Integer

    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.

  • unclassifiableObjectCount :: Maybe ObjectLevelStatistics

    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.

  • unclassifiableObjectSizeInBytes :: Maybe ObjectLevelStatistics

    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.

Instances

Instances details
FromJSON MatchingBucket Source # 
Instance details

Defined in Amazonka.MacieV2.Types.MatchingBucket

Generic MatchingBucket Source # 
Instance details

Defined in Amazonka.MacieV2.Types.MatchingBucket

Associated Types

type Rep MatchingBucket :: Type -> Type #

Read MatchingBucket Source # 
Instance details

Defined in Amazonka.MacieV2.Types.MatchingBucket

Show MatchingBucket Source # 
Instance details

Defined in Amazonka.MacieV2.Types.MatchingBucket

NFData MatchingBucket Source # 
Instance details

Defined in Amazonka.MacieV2.Types.MatchingBucket

Methods

rnf :: MatchingBucket -> () #

Eq MatchingBucket Source # 
Instance details

Defined in Amazonka.MacieV2.Types.MatchingBucket

Hashable MatchingBucket Source # 
Instance details

Defined in Amazonka.MacieV2.Types.MatchingBucket

type Rep MatchingBucket Source # 
Instance details

Defined in Amazonka.MacieV2.Types.MatchingBucket

type Rep MatchingBucket = D1 ('MetaData "MatchingBucket" "Amazonka.MacieV2.Types.MatchingBucket" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "MatchingBucket'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "bucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "classifiableObjectCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: ((S1 ('MetaSel ('Just "classifiableSizeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BucketMetadataErrorCode))) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobDetails))))) :*: (((S1 ('MetaSel ('Just "lastAutomatedDiscoveryTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "objectCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "objectCountByEncryptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ObjectCountByEncryptionType)) :*: S1 ('MetaSel ('Just "sensitivityScore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "sizeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "sizeInBytesCompressed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "unclassifiableObjectCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ObjectLevelStatistics)) :*: S1 ('MetaSel ('Just "unclassifiableObjectSizeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ObjectLevelStatistics)))))))

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