Struct aws_sdk_iam::operation::get_mfa_device::GetMfaDeviceOutput
source · #[non_exhaustive]pub struct GetMfaDeviceOutput {
pub user_name: Option<String>,
pub serial_number: String,
pub enable_date: Option<DateTime>,
pub certifications: Option<HashMap<String, String>>,
/* 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.user_name: Option<String>
The friendly name identifying the user.
serial_number: String
Serial number that uniquely identifies the MFA device. For this API, we only accept FIDO security key ARNs.
enable_date: Option<DateTime>
The date that a specified user's MFA device was first enabled.
certifications: Option<HashMap<String, String>>
The certifications of a specified user's MFA device. We currently provide FIPS-140-2, FIPS-140-3, and FIDO certification levels obtained from FIDO Alliance Metadata Service (MDS).
Implementations§
source§impl GetMfaDeviceOutput
impl GetMfaDeviceOutput
sourcepub fn serial_number(&self) -> &str
pub fn serial_number(&self) -> &str
Serial number that uniquely identifies the MFA device. For this API, we only accept FIDO security key ARNs.
sourcepub fn enable_date(&self) -> Option<&DateTime>
pub fn enable_date(&self) -> Option<&DateTime>
The date that a specified user's MFA device was first enabled.
sourcepub fn certifications(&self) -> Option<&HashMap<String, String>>
pub fn certifications(&self) -> Option<&HashMap<String, String>>
The certifications of a specified user's MFA device. We currently provide FIPS-140-2, FIPS-140-3, and FIDO certification levels obtained from FIDO Alliance Metadata Service (MDS).
source§impl GetMfaDeviceOutput
impl GetMfaDeviceOutput
sourcepub fn builder() -> GetMfaDeviceOutputBuilder
pub fn builder() -> GetMfaDeviceOutputBuilder
Creates a new builder-style object to manufacture GetMfaDeviceOutput
.
Trait Implementations§
source§impl Clone for GetMfaDeviceOutput
impl Clone for GetMfaDeviceOutput
source§fn clone(&self) -> GetMfaDeviceOutput
fn clone(&self) -> GetMfaDeviceOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetMfaDeviceOutput
impl Debug for GetMfaDeviceOutput
source§impl PartialEq for GetMfaDeviceOutput
impl PartialEq for GetMfaDeviceOutput
source§fn eq(&self, other: &GetMfaDeviceOutput) -> bool
fn eq(&self, other: &GetMfaDeviceOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetMfaDeviceOutput
impl RequestId for GetMfaDeviceOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetMfaDeviceOutput
Auto Trait Implementations§
impl Freeze for GetMfaDeviceOutput
impl RefUnwindSafe for GetMfaDeviceOutput
impl Send for GetMfaDeviceOutput
impl Sync for GetMfaDeviceOutput
impl Unpin for GetMfaDeviceOutput
impl UnwindSafe for GetMfaDeviceOutput
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