Struct aws_sdk_macie2::types::SessionContext
source · #[non_exhaustive]pub struct SessionContext { /* private fields */ }
Expand description
Provides information about a session that was created for an entity that performed an action by using temporary security credentials.
Implementations§
source§impl SessionContext
impl SessionContext
sourcepub fn attributes(&self) -> Option<&SessionContextAttributes>
pub fn attributes(&self) -> Option<&SessionContextAttributes>
The date and time when the credentials were issued, and whether the credentials were authenticated with a multi-factor authentication (MFA) device.
sourcepub fn session_issuer(&self) -> Option<&SessionIssuer>
pub fn session_issuer(&self) -> Option<&SessionIssuer>
The source and type of credentials that were issued to the entity.
source§impl SessionContext
impl SessionContext
sourcepub fn builder() -> SessionContextBuilder
pub fn builder() -> SessionContextBuilder
Creates a new builder-style object to manufacture SessionContext
.
Trait Implementations§
source§impl Clone for SessionContext
impl Clone for SessionContext
source§fn clone(&self) -> SessionContext
fn clone(&self) -> SessionContext
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 SessionContext
impl Debug for SessionContext
source§impl PartialEq<SessionContext> for SessionContext
impl PartialEq<SessionContext> for SessionContext
source§fn eq(&self, other: &SessionContext) -> bool
fn eq(&self, other: &SessionContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.