#[non_exhaustive]pub struct BucketCountByEffectivePermission {
pub publicly_accessible: Option<i64>,
pub publicly_readable: Option<i64>,
pub publicly_writable: Option<i64>,
pub unknown: Option<i64>,
}Expand description
Provides information about the number of S3 buckets that are publicly accessible due to a combination of permissions settings for each bucket.
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.publicly_accessible: Option<i64>The total number of buckets that allow the general public to have read or write access to the bucket.
publicly_readable: Option<i64>The total number of buckets that allow the general public to have read access to the bucket.
publicly_writable: Option<i64>The total number of buckets that allow the general public to have write access to the bucket.
unknown: Option<i64>The total number of buckets that Amazon Macie wasn't able to evaluate permissions settings for. Macie can't determine whether these buckets are publicly accessible.
Implementations§
source§impl BucketCountByEffectivePermission
impl BucketCountByEffectivePermission
sourcepub fn publicly_accessible(&self) -> Option<i64>
pub fn publicly_accessible(&self) -> Option<i64>
The total number of buckets that allow the general public to have read or write access to the bucket.
sourcepub fn publicly_readable(&self) -> Option<i64>
pub fn publicly_readable(&self) -> Option<i64>
The total number of buckets that allow the general public to have read access to the bucket.
sourcepub fn publicly_writable(&self) -> Option<i64>
pub fn publicly_writable(&self) -> Option<i64>
The total number of buckets that allow the general public to have write access to the bucket.
source§impl BucketCountByEffectivePermission
impl BucketCountByEffectivePermission
sourcepub fn builder() -> BucketCountByEffectivePermissionBuilder
pub fn builder() -> BucketCountByEffectivePermissionBuilder
Creates a new builder-style object to manufacture BucketCountByEffectivePermission.
Trait Implementations§
source§impl Clone for BucketCountByEffectivePermission
impl Clone for BucketCountByEffectivePermission
source§fn clone(&self) -> BucketCountByEffectivePermission
fn clone(&self) -> BucketCountByEffectivePermission
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for BucketCountByEffectivePermission
impl PartialEq for BucketCountByEffectivePermission
source§fn eq(&self, other: &BucketCountByEffectivePermission) -> bool
fn eq(&self, other: &BucketCountByEffectivePermission) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BucketCountByEffectivePermission
Auto Trait Implementations§
impl Freeze for BucketCountByEffectivePermission
impl RefUnwindSafe for BucketCountByEffectivePermission
impl Send for BucketCountByEffectivePermission
impl Sync for BucketCountByEffectivePermission
impl Unpin for BucketCountByEffectivePermission
impl UnwindSafe for BucketCountByEffectivePermission
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more