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
sourceimpl GetBucketStatisticsOutput
impl GetBucketStatisticsOutput
sourcepub fn bucket_count(&self) -> i64
pub fn bucket_count(&self) -> i64
The total number of buckets.
sourcepub 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.
sourcepub fn bucket_count_by_encryption_type(
&self
) -> Option<&BucketCountByEncryptionType>
pub fn bucket_count_by_encryption_type(
&self
) -> 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.
sourcepub fn bucket_count_by_object_encryption_requirement(
&self
) -> Option<&BucketCountPolicyAllowsUnencryptedObjectUploads>
pub fn bucket_count_by_object_encryption_requirement(
&self
) -> 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.
sourcepub fn classifiable_object_count(&self) -> i64
pub fn classifiable_object_count(&self) -> 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.
sourcepub fn classifiable_size_in_bytes(&self) -> i64
pub fn classifiable_size_in_bytes(&self) -> 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.
sourcepub fn last_updated(&self) -> Option<&DateTime>
pub fn last_updated(&self) -> 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.
sourcepub fn object_count(&self) -> i64
pub fn object_count(&self) -> i64
The total number of objects in the buckets.
sourcepub fn size_in_bytes(&self) -> i64
pub fn size_in_bytes(&self) -> 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.
sourcepub fn size_in_bytes_compressed(&self) -> i64
pub fn size_in_bytes_compressed(&self) -> 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.
sourcepub fn unclassifiable_object_count(&self) -> Option<&ObjectLevelStatistics>
pub fn unclassifiable_object_count(&self) -> 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.
sourcepub fn unclassifiable_object_size_in_bytes(
&self
) -> Option<&ObjectLevelStatistics>
pub fn unclassifiable_object_size_in_bytes(
&self
) -> 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.
sourceimpl GetBucketStatisticsOutput
impl GetBucketStatisticsOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetBucketStatisticsOutput
Trait Implementations
sourceimpl Clone for GetBucketStatisticsOutput
impl Clone for GetBucketStatisticsOutput
sourcefn clone(&self) -> GetBucketStatisticsOutput
fn clone(&self) -> GetBucketStatisticsOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetBucketStatisticsOutput
impl Debug for GetBucketStatisticsOutput
sourceimpl PartialEq<GetBucketStatisticsOutput> for GetBucketStatisticsOutput
impl PartialEq<GetBucketStatisticsOutput> for GetBucketStatisticsOutput
sourcefn eq(&self, other: &GetBucketStatisticsOutput) -> bool
fn eq(&self, other: &GetBucketStatisticsOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetBucketStatisticsOutput) -> bool
fn ne(&self, other: &GetBucketStatisticsOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetBucketStatisticsOutput
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more