Struct aws_sdk_accessanalyzer::operation::check_access_not_granted::CheckAccessNotGrantedOutput
source · #[non_exhaustive]pub struct CheckAccessNotGrantedOutput {
pub result: Option<CheckAccessNotGrantedResult>,
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<CheckAccessNotGrantedResult>The result of the check for whether the access is allowed. If the result is PASS, the specified policy doesn't allow any of the specified permissions in the access object. If the result is FAIL, the specified policy might allow some or all of the permissions in the access object.
message: Option<String>The message indicating whether the specified access is allowed.
reasons: Option<Vec<ReasonSummary>>A description of the reasoning of the result.
Implementations§
source§impl CheckAccessNotGrantedOutput
impl CheckAccessNotGrantedOutput
sourcepub fn result(&self) -> Option<&CheckAccessNotGrantedResult>
pub fn result(&self) -> Option<&CheckAccessNotGrantedResult>
The result of the check for whether the access is allowed. If the result is PASS, the specified policy doesn't allow any of the specified permissions in the access object. If the result is FAIL, the specified policy might allow some or all of the permissions in the access object.
sourcepub fn message(&self) -> Option<&str>
pub fn message(&self) -> Option<&str>
The message indicating whether the specified access is allowed.
sourcepub fn reasons(&self) -> &[ReasonSummary]
pub fn reasons(&self) -> &[ReasonSummary]
A description of the reasoning of the result.
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 CheckAccessNotGrantedOutput
impl CheckAccessNotGrantedOutput
sourcepub fn builder() -> CheckAccessNotGrantedOutputBuilder
pub fn builder() -> CheckAccessNotGrantedOutputBuilder
Creates a new builder-style object to manufacture CheckAccessNotGrantedOutput.
Trait Implementations§
source§impl Clone for CheckAccessNotGrantedOutput
impl Clone for CheckAccessNotGrantedOutput
source§fn clone(&self) -> CheckAccessNotGrantedOutput
fn clone(&self) -> CheckAccessNotGrantedOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CheckAccessNotGrantedOutput
impl Debug for CheckAccessNotGrantedOutput
source§impl PartialEq for CheckAccessNotGrantedOutput
impl PartialEq for CheckAccessNotGrantedOutput
source§fn eq(&self, other: &CheckAccessNotGrantedOutput) -> bool
fn eq(&self, other: &CheckAccessNotGrantedOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for CheckAccessNotGrantedOutput
impl RequestId for CheckAccessNotGrantedOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.