Container for the parameters to the EnableMFADevice operation.
Enables the specified MFA device and associates it with the specified user name. When enabled,
the MFA device is required for every subsequent login by the user name associated with
the device.
Declaration Syntax
C# |
public class EnableMFADeviceRequest : AmazonWebServiceRequest
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
EnableMFADeviceRequest()()()() | Initializes a new instance of the EnableMFADeviceRequest class | |
AuthenticationCode1 |
Gets and sets the property AuthenticationCode1.
An authentication code emitted by the device. | |
AuthenticationCode2 |
Gets and sets the property AuthenticationCode2.
A subsequent authentication code emitted by the device. | |
Equals(Object) | (Inherited from Object.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
SerialNumber |
Gets and sets the property SerialNumber.
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN. | |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
UserName |
Gets and sets the property UserName.
Name of the user for whom you want to enable the MFA device. | |
WithAuthenticationCode1(String) | Obsolete.
Sets the AuthenticationCode1 property
| |
WithAuthenticationCode2(String) | Obsolete.
Sets the AuthenticationCode2 property
| |
WithSerialNumber(String) | Obsolete.
Sets the SerialNumber property
| |
WithUserName(String) | Obsolete.
Sets the UserName property
|
Inheritance Hierarchy
Object | ||
AmazonWebServiceRequest | ||
EnableMFADeviceRequest |