Struct aws_sdk_macie2::output::GetBucketStatisticsOutput
source · [−]#[non_exhaustive]pub struct GetBucketStatisticsOutput {Show 13 fields
pub bucket_count: i64,
pub bucket_count_by_effective_permission: Option<BucketCountByEffectivePermission>,
pub bucket_count_by_encryption_type: Option<BucketCountByEncryptionType>,
pub bucket_count_by_object_encryption_requirement: Option<BucketCountPolicyAllowsUnencryptedObjectUploads>,
pub bucket_count_by_shared_access_type: Option<BucketCountBySharedAccessType>,
pub classifiable_object_count: i64,
pub classifiable_size_in_bytes: i64,
pub last_updated: Option<DateTime>,
pub object_count: i64,
pub size_in_bytes: i64,
pub size_in_bytes_compressed: i64,
pub unclassifiable_object_count: Option<ObjectLevelStatistics>,
pub unclassifiable_object_size_in_bytes: Option<ObjectLevelStatistics>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.bucket_count: i64
The total number of buckets.
bucket_count_by_effective_permission: Option<BucketCountByEffectivePermission>
The total number of buckets that are publicly accessible based on a combination of permissions settings for each bucket.
bucket_count_by_encryption_type: Option<BucketCountByEncryptionType>
The total number of buckets that use certain types of server-side encryption to encrypt new objects by default. This object also reports the total number of buckets that don't encrypt new objects by default.
bucket_count_by_object_encryption_requirement: Option<BucketCountPolicyAllowsUnencryptedObjectUploads>
The total number of buckets whose bucket policies do or don't require server-side encryption of objects when objects are uploaded to the buckets.
The total number of buckets that are or aren't shared with another Amazon Web Services account.
classifiable_object_count: i64
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: i64
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, Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.
last_updated: Option<DateTime>
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 buckets.
object_count: i64
The total number of objects in the buckets.
size_in_bytes: i64
The total storage size, in bytes, of the buckets.
If versioning is enabled for any of the buckets, Amazon Macie calculates this value based on the size of the latest version of each object in those buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.
size_in_bytes_compressed: i64
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, Amazon Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.
unclassifiable_object_count: Option<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: Option<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.
Implementations
The total number of buckets.
pub fn bucket_count_by_effective_permission(
&self
) -> Option<&BucketCountByEffectivePermission>
pub fn bucket_count_by_effective_permission(
&self
) -> Option<&BucketCountByEffectivePermission>
The total number of buckets that are publicly accessible based on a combination of permissions settings for each bucket.
The total number of buckets that use certain types of server-side encryption to encrypt new objects by default. This object also reports the total number of buckets that don't encrypt new objects by default.
The total number of buckets whose bucket policies do or don't require server-side encryption of objects when objects are uploaded to the buckets.
The total number of buckets that are or aren't shared with another Amazon Web Services account.
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.
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, Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.
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 buckets.
The total number of objects in the buckets.
The total storage size, in bytes, of the buckets.
If versioning is enabled for any of the buckets, Amazon Macie calculates this value based on the size of the latest version of each object in those buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.
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, Amazon Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.
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.
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.
Creates a new builder-style object to manufacture GetBucketStatisticsOutput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetBucketStatisticsOutput
impl Send for GetBucketStatisticsOutput
impl Sync for GetBucketStatisticsOutput
impl Unpin for GetBucketStatisticsOutput
impl UnwindSafe for GetBucketStatisticsOutput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more