#[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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 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.

bucket_count_by_shared_access_type: Option<BucketCountBySharedAccessType>

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.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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