#[non_exhaustive]pub struct CheckNoPublicAccessOutput {
pub result: Option<CheckNoPublicAccessResult>,
pub message: Option<String>,
pub reasons: Option<Vec<ReasonSummary>>,
/* private fields */
}
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.result: Option<CheckNoPublicAccessResult>
The result of the check for public access to the specified resource type. If the result is PASS
, the policy doesn't allow public access to the specified resource type. If the result is FAIL
, the policy might allow public access to the specified resource type.
message: Option<String>
The message indicating whether the specified policy allows public access to resources.
reasons: Option<Vec<ReasonSummary>>
A list of reasons why the specified resource policy grants public access for the resource type.
Implementations§
source§impl CheckNoPublicAccessOutput
impl CheckNoPublicAccessOutput
sourcepub fn result(&self) -> Option<&CheckNoPublicAccessResult>
pub fn result(&self) -> Option<&CheckNoPublicAccessResult>
The result of the check for public access to the specified resource type. If the result is PASS
, the policy doesn't allow public access to the specified resource type. If the result is FAIL
, the policy might allow public access to the specified resource type.
sourcepub fn message(&self) -> Option<&str>
pub fn message(&self) -> Option<&str>
The message indicating whether the specified policy allows public access to resources.
sourcepub fn reasons(&self) -> &[ReasonSummary]
pub fn reasons(&self) -> &[ReasonSummary]
A list of reasons why the specified resource policy grants public access for the resource type.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .reasons.is_none()
.
source§impl CheckNoPublicAccessOutput
impl CheckNoPublicAccessOutput
sourcepub fn builder() -> CheckNoPublicAccessOutputBuilder
pub fn builder() -> CheckNoPublicAccessOutputBuilder
Creates a new builder-style object to manufacture CheckNoPublicAccessOutput
.
Trait Implementations§
source§impl Clone for CheckNoPublicAccessOutput
impl Clone for CheckNoPublicAccessOutput
source§fn clone(&self) -> CheckNoPublicAccessOutput
fn clone(&self) -> CheckNoPublicAccessOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CheckNoPublicAccessOutput
impl Debug for CheckNoPublicAccessOutput
source§impl PartialEq for CheckNoPublicAccessOutput
impl PartialEq for CheckNoPublicAccessOutput
source§fn eq(&self, other: &CheckNoPublicAccessOutput) -> bool
fn eq(&self, other: &CheckNoPublicAccessOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CheckNoPublicAccessOutput
impl RequestId for CheckNoPublicAccessOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for CheckNoPublicAccessOutput
Auto Trait Implementations§
impl Freeze for CheckNoPublicAccessOutput
impl RefUnwindSafe for CheckNoPublicAccessOutput
impl Send for CheckNoPublicAccessOutput
impl Sync for CheckNoPublicAccessOutput
impl Unpin for CheckNoPublicAccessOutput
impl UnwindSafe for CheckNoPublicAccessOutput
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