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.