class
Amazonite::Iam::MFADevice
- Amazonite::Iam::MFADevice
- Reference
- Object
Overview
Contains information about an MFA device.
This data type is used as a response element in the ListMFADevices operation.
Defined in:
iam/mfa_device.crConstructors
- .from_xml(node : XML::Node) : self
- .new(user_name : String, serial_number : String, enable_date : Time)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#enable_date : Time
The date when the MFA device was enabled for the user.
-
#enable_date=(enable_date : Time)
The date when the MFA device was enabled for the user.
-
#hash(hasher)
See
Object#hash(hasher) -
#serial_number : String
The serial number that uniquely identifies the MFA device.
-
#serial_number=(serial_number : String)
The serial number that uniquely identifies the MFA device.
- #to_query_params(prefix : String) : Array(Tuple(String, String))
-
#user_name : String
The user with whom the MFA device is associated.
-
#user_name=(user_name : String)
The user with whom the MFA device is associated.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.