Struct aws_sdk_iot::model::AuthResult
source · #[non_exhaustive]pub struct AuthResult { /* private fields */ }
Expand description
The authorizer result.
Implementations§
source§impl AuthResult
impl AuthResult
sourcepub fn allowed(&self) -> Option<&Allowed>
pub fn allowed(&self) -> Option<&Allowed>
The policies and statements that allowed the specified action.
sourcepub fn denied(&self) -> Option<&Denied>
pub fn denied(&self) -> Option<&Denied>
The policies and statements that denied the specified action.
sourcepub fn auth_decision(&self) -> Option<&AuthDecision>
pub fn auth_decision(&self) -> Option<&AuthDecision>
The final authorization decision of this scenario. Multiple statements are taken into account when determining the authorization decision. An explicit deny statement can override multiple allow statements.
sourcepub fn missing_context_values(&self) -> Option<&[String]>
pub fn missing_context_values(&self) -> Option<&[String]>
Contains any missing context values found while evaluating policy.
source§impl AuthResult
impl AuthResult
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AuthResult
.
Trait Implementations§
source§impl Clone for AuthResult
impl Clone for AuthResult
source§fn clone(&self) -> AuthResult
fn clone(&self) -> AuthResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AuthResult
impl Debug for AuthResult
source§impl PartialEq<AuthResult> for AuthResult
impl PartialEq<AuthResult> for AuthResult
source§fn eq(&self, other: &AuthResult) -> bool
fn eq(&self, other: &AuthResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.