class Aws::Macie2::Types::GetBucketStatisticsResponse

Provides the results of a query that retrieved aggregated statistical data for all the S3 buckets that Amazon Macie monitors and analyzes for an account.

@!attribute [rw] bucket_count

@return [Integer]

@!attribute [rw] bucket_count_by_effective_permission

Provides information about the number of S3 buckets that are
publicly accessible based on a combination of permissions settings
for each bucket.
@return [Types::BucketCountByEffectivePermission]

@!attribute [rw] bucket_count_by_encryption_type

Provides information about the number of S3 buckets that use certain
types of server-side encryption by default or don't encrypt new
objects by default. For detailed information about these settings,
see [Setting default server-side encryption behavior for Amazon S3
buckets][1] in the *Amazon Simple Storage Service User Guide*.

[1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html
@return [Types::BucketCountByEncryptionType]

@!attribute [rw] bucket_count_by_object_encryption_requirement

Provides information about the number of S3 buckets whose bucket
policies do or don't require server-side encryption of objects when
objects are uploaded to the buckets.
@return [Types::BucketCountPolicyAllowsUnencryptedObjectUploads]

@!attribute [rw] bucket_count_by_shared_access_type

Provides information about the number of S3 buckets that are or
aren't shared with other Amazon Web Services accounts.
@return [Types::BucketCountBySharedAccessType]

@!attribute [rw] classifiable_object_count

@return [Integer]

@!attribute [rw] classifiable_size_in_bytes

@return [Integer]

@!attribute [rw] last_updated

@return [Time]

@!attribute [rw] object_count

@return [Integer]

@!attribute [rw] size_in_bytes

@return [Integer]

@!attribute [rw] size_in_bytes_compressed

@return [Integer]

@!attribute [rw] unclassifiable_object_count

Provides information about the total storage size (in bytes) or
number of objects that Amazon Macie can't analyze in one or more S3
buckets. In a BucketMetadata or MatchingBucket object, this data is
for a specific bucket. In a GetBucketStatisticsResponse object, this
data is aggregated for all the buckets in the query results. If
versioning is enabled for a bucket, total storage size values are
based on the size of the latest version of each applicable object in
the bucket.
@return [Types::ObjectLevelStatistics]

@!attribute [rw] unclassifiable_object_size_in_bytes

Provides information about the total storage size (in bytes) or
number of objects that Amazon Macie can't analyze in one or more S3
buckets. In a BucketMetadata or MatchingBucket object, this data is
for a specific bucket. In a GetBucketStatisticsResponse object, this
data is aggregated for all the buckets in the query results. If
versioning is enabled for a bucket, total storage size values are
based on the size of the latest version of each applicable object in
the bucket.
@return [Types::ObjectLevelStatistics]

@see docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatisticsResponse AWS API Documentation

Constants

SENSITIVE