#[non_exhaustive]pub struct AwsIamAccessKeySessionContextAttributes {
pub mfa_authenticated: bool,
pub creation_date: Option<String>,
}
Expand description
Attributes of the session that the key was used for.
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.mfa_authenticated: bool
Indicates whether the session used multi-factor authentication (MFA).
creation_date: Option<String>
Indicates when the session was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
Implementations§
source§impl AwsIamAccessKeySessionContextAttributes
impl AwsIamAccessKeySessionContextAttributes
sourcepub fn mfa_authenticated(&self) -> bool
pub fn mfa_authenticated(&self) -> bool
Indicates whether the session used multi-factor authentication (MFA).
sourcepub fn creation_date(&self) -> Option<&str>
pub fn creation_date(&self) -> Option<&str>
Indicates when the session was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
source§impl AwsIamAccessKeySessionContextAttributes
impl AwsIamAccessKeySessionContextAttributes
sourcepub fn builder() -> AwsIamAccessKeySessionContextAttributesBuilder
pub fn builder() -> AwsIamAccessKeySessionContextAttributesBuilder
Creates a new builder-style object to manufacture AwsIamAccessKeySessionContextAttributes
.
Trait Implementations§
source§impl Clone for AwsIamAccessKeySessionContextAttributes
impl Clone for AwsIamAccessKeySessionContextAttributes
source§fn clone(&self) -> AwsIamAccessKeySessionContextAttributes
fn clone(&self) -> AwsIamAccessKeySessionContextAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsIamAccessKeySessionContextAttributes
impl PartialEq for AwsIamAccessKeySessionContextAttributes
source§fn eq(&self, other: &AwsIamAccessKeySessionContextAttributes) -> bool
fn eq(&self, other: &AwsIamAccessKeySessionContextAttributes) -> bool
self
and other
values to be equal, and is used
by ==
.