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

Description

 
Synopsis

Documentation

data BucketMetadata 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 metadata from Amazon S3 for the bucket and the bucket's objects, the value for the versioning property is false and the value for most other properties is null. Key exceptions are accountId, bucketArn, bucketCreatedAt, bucketName, lastUpdated, and region. To identify the cause of the error, refer to the errorCode and errorMessage values.

See: newBucketMetadata smart constructor.

Constructors

BucketMetadata' 

Fields

  • accountId :: Maybe Text

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

  • allowsUnencryptedObjectUploads :: Maybe AllowsUnencryptedObjectUploads

    Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are uploaded to the bucket. Possible values are:

    • FALSE - The bucket policy requires server-side encryption of new objects. PutObject requests must include a valid server-side encryption header.
    • TRUE - The bucket doesn't have a bucket policy or it has a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, it doesn't require PutObject requests to include a valid server-side encryption header.
    • UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of new objects.

    Valid server-side encryption headers are: x-amz-server-side-encryption with a value of AES256 or aws:kms, and x-amz-server-side-encryption-customer-algorithm with a value of AES256.

  • bucketArn :: Maybe Text

    The Amazon Resource Name (ARN) of the bucket.

  • bucketCreatedAt :: Maybe ISO8601

    The date and time, in UTC and extended ISO 8601 format, when the bucket was created, or changes such as edits to the bucket's policy were most recently made to 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 data 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.

  • lastUpdated :: Maybe ISO8601

    The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved both bucket and object metadata from Amazon S3 for the bucket.

  • objectCount :: Maybe Integer

    The total number of objects in the bucket.

  • objectCountByEncryptionType :: Maybe ObjectCountByEncryptionType

    The total number of objects that are 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.

  • publicAccess :: Maybe BucketPublicAccess

    Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket, and provides information about those settings.

  • region :: Maybe Text

    The Amazon Web Services Region that hosts the bucket.

  • replicationDetails :: Maybe ReplicationDetails

    Specifies whether the bucket is configured to replicate one or more objects to buckets for other Amazon Web Services accounts and, if so, which accounts.

  • sensitivityScore :: Maybe Int

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

  • serverSideEncryption :: Maybe BucketServerSideEncryption

    Specifies whether the bucket encrypts new objects by default and, if so, the type of server-side encryption that's used.

  • sharedAccess :: Maybe SharedAccess

    Specifies whether the bucket is shared with another Amazon Web Services account. Possible values are:

    • EXTERNAL - The bucket is shared with an Amazon Web Services account that isn't part of the same Amazon Macie organization.
    • INTERNAL - The bucket is shared with an Amazon Web Services account that's part of the same Amazon Macie organization.
    • NOT_SHARED - The bucket isn't shared with other Amazon Web Services accounts.
    • UNKNOWN - Amazon Macie wasn't able to evaluate the shared access settings for the bucket.
  • 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.

  • tags :: Maybe [KeyValuePair]

    An array that specifies the tags (keys and values) that are associated with 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.

  • versioning :: Maybe Bool

    Specifies whether versioning is enabled for the bucket.

Instances

Instances details
FromJSON BucketMetadata Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketMetadata

Generic BucketMetadata Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketMetadata

Associated Types

type Rep BucketMetadata :: Type -> Type #

Read BucketMetadata Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketMetadata

Show BucketMetadata Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketMetadata

NFData BucketMetadata Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketMetadata

Methods

rnf :: BucketMetadata -> () #

Eq BucketMetadata Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketMetadata

Hashable BucketMetadata Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketMetadata

type Rep BucketMetadata Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketMetadata

type Rep BucketMetadata = D1 ('MetaData "BucketMetadata" "Amazonka.MacieV2.Types.BucketMetadata" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "BucketMetadata'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "allowsUnencryptedObjectUploads") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AllowsUnencryptedObjectUploads)) :*: S1 ('MetaSel ('Just "bucketArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "bucketCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (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 "lastUpdated") '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 "publicAccess") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BucketPublicAccess)) :*: S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "replicationDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicationDetails)) :*: (S1 ('MetaSel ('Just "sensitivityScore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "serverSideEncryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BucketServerSideEncryption))))) :*: ((S1 ('MetaSel ('Just "sharedAccess") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SharedAccess)) :*: (S1 ('MetaSel ('Just "sizeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "sizeInBytesCompressed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [KeyValuePair])) :*: S1 ('MetaSel ('Just "unclassifiableObjectCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ObjectLevelStatistics))) :*: (S1 ('MetaSel ('Just "unclassifiableObjectSizeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ObjectLevelStatistics)) :*: S1 ('MetaSel ('Just "versioning") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))))

newBucketMetadata :: BucketMetadata Source #

Create a value of BucketMetadata 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:BucketMetadata', bucketMetadata_accountId - The unique identifier for the Amazon Web Services account that owns the bucket.

$sel:allowsUnencryptedObjectUploads:BucketMetadata', bucketMetadata_allowsUnencryptedObjectUploads - Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are uploaded to the bucket. Possible values are:

  • FALSE - The bucket policy requires server-side encryption of new objects. PutObject requests must include a valid server-side encryption header.
  • TRUE - The bucket doesn't have a bucket policy or it has a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, it doesn't require PutObject requests to include a valid server-side encryption header.
  • UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of new objects.

Valid server-side encryption headers are: x-amz-server-side-encryption with a value of AES256 or aws:kms, and x-amz-server-side-encryption-customer-algorithm with a value of AES256.

$sel:bucketArn:BucketMetadata', bucketMetadata_bucketArn - The Amazon Resource Name (ARN) of the bucket.

$sel:bucketCreatedAt:BucketMetadata', bucketMetadata_bucketCreatedAt - The date and time, in UTC and extended ISO 8601 format, when the bucket was created, or changes such as edits to the bucket's policy were most recently made to the bucket.

$sel:bucketName:BucketMetadata', bucketMetadata_bucketName - The name of the bucket.

$sel:classifiableObjectCount:BucketMetadata', bucketMetadata_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:BucketMetadata', bucketMetadata_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:BucketMetadata', bucketMetadata_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:BucketMetadata', bucketMetadata_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:BucketMetadata', bucketMetadata_jobDetails - Specifies whether any one-time or recurring classification jobs are configured to analyze data in the bucket, and, if so, the details of the job that ran most recently.

$sel:lastAutomatedDiscoveryTime:BucketMetadata', bucketMetadata_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:lastUpdated:BucketMetadata', bucketMetadata_lastUpdated - The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved both bucket and object metadata from Amazon S3 for the bucket.

$sel:objectCount:BucketMetadata', bucketMetadata_objectCount - The total number of objects in the bucket.

$sel:objectCountByEncryptionType:BucketMetadata', bucketMetadata_objectCountByEncryptionType - The total number of objects that are 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:publicAccess:BucketMetadata', bucketMetadata_publicAccess - Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket, and provides information about those settings.

$sel:region:BucketMetadata', bucketMetadata_region - The Amazon Web Services Region that hosts the bucket.

$sel:replicationDetails:BucketMetadata', bucketMetadata_replicationDetails - Specifies whether the bucket is configured to replicate one or more objects to buckets for other Amazon Web Services accounts and, if so, which accounts.

$sel:sensitivityScore:BucketMetadata', bucketMetadata_sensitivityScore - The 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:serverSideEncryption:BucketMetadata', bucketMetadata_serverSideEncryption - Specifies whether the bucket encrypts new objects by default and, if so, the type of server-side encryption that's used.

$sel:sharedAccess:BucketMetadata', bucketMetadata_sharedAccess - Specifies whether the bucket is shared with another Amazon Web Services account. Possible values are:

  • EXTERNAL - The bucket is shared with an Amazon Web Services account that isn't part of the same Amazon Macie organization.
  • INTERNAL - The bucket is shared with an Amazon Web Services account that's part of the same Amazon Macie organization.
  • NOT_SHARED - The bucket isn't shared with other Amazon Web Services accounts.
  • UNKNOWN - Amazon Macie wasn't able to evaluate the shared access settings for the bucket.

$sel:sizeInBytes:BucketMetadata', bucketMetadata_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:BucketMetadata', bucketMetadata_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:tags:BucketMetadata', bucketMetadata_tags - An array that specifies the tags (keys and values) that are associated with the bucket.

$sel:unclassifiableObjectCount:BucketMetadata', bucketMetadata_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:BucketMetadata', bucketMetadata_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.

$sel:versioning:BucketMetadata', bucketMetadata_versioning - Specifies whether versioning is enabled for the bucket.

bucketMetadata_accountId :: Lens' BucketMetadata (Maybe Text) Source #

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

bucketMetadata_allowsUnencryptedObjectUploads :: Lens' BucketMetadata (Maybe AllowsUnencryptedObjectUploads) Source #

Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are uploaded to the bucket. Possible values are:

  • FALSE - The bucket policy requires server-side encryption of new objects. PutObject requests must include a valid server-side encryption header.
  • TRUE - The bucket doesn't have a bucket policy or it has a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, it doesn't require PutObject requests to include a valid server-side encryption header.
  • UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of new objects.

Valid server-side encryption headers are: x-amz-server-side-encryption with a value of AES256 or aws:kms, and x-amz-server-side-encryption-customer-algorithm with a value of AES256.

bucketMetadata_bucketArn :: Lens' BucketMetadata (Maybe Text) Source #

The Amazon Resource Name (ARN) of the bucket.

bucketMetadata_bucketCreatedAt :: Lens' BucketMetadata (Maybe UTCTime) Source #

The date and time, in UTC and extended ISO 8601 format, when the bucket was created, or changes such as edits to the bucket's policy were most recently made to the bucket.

bucketMetadata_classifiableObjectCount :: Lens' BucketMetadata (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.

bucketMetadata_classifiableSizeInBytes :: Lens' BucketMetadata (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.

bucketMetadata_errorCode :: Lens' BucketMetadata (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.

bucketMetadata_errorMessage :: Lens' BucketMetadata (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.

bucketMetadata_jobDetails :: Lens' BucketMetadata (Maybe JobDetails) Source #

Specifies whether any one-time or recurring classification jobs are configured to analyze data in the bucket, and, if so, the details of the job that ran most recently.

bucketMetadata_lastAutomatedDiscoveryTime :: Lens' BucketMetadata (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.

bucketMetadata_lastUpdated :: Lens' BucketMetadata (Maybe UTCTime) Source #

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved both bucket and object metadata from Amazon S3 for the bucket.

bucketMetadata_objectCount :: Lens' BucketMetadata (Maybe Integer) Source #

The total number of objects in the bucket.

bucketMetadata_objectCountByEncryptionType :: Lens' BucketMetadata (Maybe ObjectCountByEncryptionType) Source #

The total number of objects that are 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.

bucketMetadata_publicAccess :: Lens' BucketMetadata (Maybe BucketPublicAccess) Source #

Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket, and provides information about those settings.

bucketMetadata_region :: Lens' BucketMetadata (Maybe Text) Source #

The Amazon Web Services Region that hosts the bucket.

bucketMetadata_replicationDetails :: Lens' BucketMetadata (Maybe ReplicationDetails) Source #

Specifies whether the bucket is configured to replicate one or more objects to buckets for other Amazon Web Services accounts and, if so, which accounts.

bucketMetadata_sensitivityScore :: Lens' BucketMetadata (Maybe Int) Source #

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

bucketMetadata_serverSideEncryption :: Lens' BucketMetadata (Maybe BucketServerSideEncryption) Source #

Specifies whether the bucket encrypts new objects by default and, if so, the type of server-side encryption that's used.

bucketMetadata_sharedAccess :: Lens' BucketMetadata (Maybe SharedAccess) Source #

Specifies whether the bucket is shared with another Amazon Web Services account. Possible values are:

  • EXTERNAL - The bucket is shared with an Amazon Web Services account that isn't part of the same Amazon Macie organization.
  • INTERNAL - The bucket is shared with an Amazon Web Services account that's part of the same Amazon Macie organization.
  • NOT_SHARED - The bucket isn't shared with other Amazon Web Services accounts.
  • UNKNOWN - Amazon Macie wasn't able to evaluate the shared access settings for the bucket.

bucketMetadata_sizeInBytes :: Lens' BucketMetadata (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.

bucketMetadata_sizeInBytesCompressed :: Lens' BucketMetadata (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.

bucketMetadata_tags :: Lens' BucketMetadata (Maybe [KeyValuePair]) Source #

An array that specifies the tags (keys and values) that are associated with the bucket.

bucketMetadata_unclassifiableObjectCount :: Lens' BucketMetadata (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.

bucketMetadata_unclassifiableObjectSizeInBytes :: Lens' BucketMetadata (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.

bucketMetadata_versioning :: Lens' BucketMetadata (Maybe Bool) Source #

Specifies whether versioning is enabled for the bucket.