class Amazonite::Iam::MFADevice

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.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(user_name : String, serial_number : String, enable_date : Time) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def enable_date : Time #

The date when the MFA device was enabled for the user.


[View source]
def enable_date=(enable_date : Time) #

The date when the MFA device was enabled for the user.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def serial_number : String #

The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.


[View source]
def serial_number=(serial_number : String) #

The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def user_name : String #

The user with whom the MFA device is associated.


[View source]
def user_name=(user_name : String) #

The user with whom the MFA device is associated.


[View source]
def validate! : Nil #

[View source]