Skip to content

GetBucketStatisticsResponse

Source code in docs_src/capo_macie2/types/get_bucket_statistics_response.py
class GetBucketStatisticsResponse(TypedDict, closed=True):
    bucket_count: NotRequired["capo_macie2.types.__long.__long"]
    """<p>The total number of buckets.</p>"""
    bucket_count_by_effective_permission: NotRequired[
        "capo_macie2.types.bucket_count_by_effective_permission.BucketCountByEffectivePermission"
    ]
    """<p>The total number of buckets that are publicly accessible due to a combination of permissions settings for each bucket.</p>"""
    bucket_count_by_encryption_type: NotRequired[
        "capo_macie2.types.bucket_count_by_encryption_type.BucketCountByEncryptionType"
    ]
    """<p>The total number of buckets whose settings do or don't specify default server-side encryption behavior for objects that are added to the buckets.</p>"""
    bucket_count_by_object_encryption_requirement: NotRequired[
        "capo_macie2.types.bucket_count_policy_allows_unencrypted_object_uploads.BucketCountPolicyAllowsUnencryptedObjectUploads"
    ]
    """<p>The total number of buckets whose bucket policies do or don't require server-side encryption of objects when objects are added to the buckets.</p>"""
    bucket_count_by_shared_access_type: NotRequired[
        "capo_macie2.types.bucket_count_by_shared_access_type.BucketCountBySharedAccessType"
    ]
    """<p>The total number of buckets that are or aren't shared with other Amazon Web Services accounts, Amazon CloudFront origin access identities (OAIs), or CloudFront origin access controls (OACs).</p>"""
    bucket_statistics_by_sensitivity: NotRequired[
        "capo_macie2.types.bucket_statistics_by_sensitivity.BucketStatisticsBySensitivity"
    ]
    """<p>The aggregated sensitive data discovery statistics for the buckets. If automated sensitive data discovery is currently disabled for your account, the value for most statistics is 0.</p>"""
    classifiable_object_count: NotRequired["capo_macie2.types.__long.__long"]
    """<p>The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.</p>"""
    classifiable_size_in_bytes: NotRequired["capo_macie2.types.__long.__long"]
    """<p>The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.</p> <p>If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.</p>"""
    last_updated: NotRequired[
        "capo_macie2.types.__timestamp_iso8601.__timestampIso8601"
    ]
    """<p>The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved bucket or object metadata from Amazon S3 for the buckets.</p>"""
    object_count: NotRequired["capo_macie2.types.__long.__long"]
    """<p>The total number of objects in the buckets.</p>"""
    size_in_bytes: NotRequired["capo_macie2.types.__long.__long"]
    """<p>The total storage size, in bytes, of the buckets.</p> <p>If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each object in the buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.</p>"""
    size_in_bytes_compressed: NotRequired["capo_macie2.types.__long.__long"]
    """<p>The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets.</p> <p>If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.</p>"""
    unclassifiable_object_count: NotRequired[
        "capo_macie2.types.object_level_statistics.ObjectLevelStatistics"
    ]
    """<p>The total number of objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.</p>"""
    unclassifiable_object_size_in_bytes: NotRequired[
        "capo_macie2.types.object_level_statistics.ObjectLevelStatistics"
    ]
    """<p>The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.</p>"""

bucket_count instance-attribute

bucket_count: NotRequired[__long]

The total number of buckets.

bucket_count_by_effective_permission instance-attribute

bucket_count_by_effective_permission: NotRequired[BucketCountByEffectivePermission]

The total number of buckets that are publicly accessible due to a combination of permissions settings for each bucket.

bucket_count_by_encryption_type instance-attribute

bucket_count_by_encryption_type: NotRequired[BucketCountByEncryptionType]

The total number of buckets whose settings do or don't specify default server-side encryption behavior for objects that are added to the buckets.

bucket_count_by_object_encryption_requirement instance-attribute

bucket_count_by_object_encryption_requirement: NotRequired[
    BucketCountPolicyAllowsUnencryptedObjectUploads
]

The total number of buckets whose bucket policies do or don't require server-side encryption of objects when objects are added to the buckets.

bucket_count_by_shared_access_type instance-attribute

bucket_count_by_shared_access_type: NotRequired[BucketCountBySharedAccessType]

The total number of buckets that are or aren't shared with other Amazon Web Services accounts, Amazon CloudFront origin access identities (OAIs), or CloudFront origin access controls (OACs).

bucket_statistics_by_sensitivity instance-attribute

bucket_statistics_by_sensitivity: NotRequired[BucketStatisticsBySensitivity]

The aggregated sensitive data discovery statistics for the buckets. If automated sensitive data discovery is currently disabled for your account, the value for most statistics is 0.

classifiable_object_count instance-attribute

classifiable_object_count: NotRequired[__long]

The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.

classifiable_size_in_bytes instance-attribute

classifiable_size_in_bytes: NotRequired[__long]

The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. 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 any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.

last_updated instance-attribute

last_updated: NotRequired[__timestampIso8601]

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

object_count instance-attribute

object_count: NotRequired[__long]

The total number of objects in the buckets.

size_in_bytes instance-attribute

size_in_bytes: NotRequired[__long]

The total storage size, in bytes, of the buckets.

If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each object in the buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.

size_in_bytes_compressed instance-attribute

size_in_bytes_compressed: NotRequired[__long]

The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets.

If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.

unclassifiable_object_count instance-attribute

unclassifiable_object_count: NotRequired[ObjectLevelStatistics]

The total number of objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.

unclassifiable_object_size_in_bytes instance-attribute

unclassifiable_object_size_in_bytes: NotRequired[ObjectLevelStatistics]

The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.