Container for the parameters to the DeactivateMFADevice operation.

Deactivates the specified MFA device and removes it from association with the user name for which it was originally enabled.

Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class DeactivateMFADeviceRequest : AmazonWebServiceRequest
Public Class DeactivateMFADeviceRequest _
	Inherits AmazonWebServiceRequest
public ref class DeactivateMFADeviceRequest : public AmazonWebServiceRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
DeactivateMFADeviceRequest()()()()
Initializes a new instance of the DeactivateMFADeviceRequest class
Equals(Object)
Determines whether the specified Object is equal to the current 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
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.

Constraints:

Length
9 - 256
Pattern
[\w+=/:,.@-]*

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UserName
Name of the user whose MFA device you want to deactivate.

Constraints:

Length
1 - 128
Pattern
[\w+=,.@-]*

WithSerialNumber(String)
Sets the SerialNumber property
WithUserName(String)
Sets the UserName property

Inheritance Hierarchy

System..::..Object
  Amazon.Runtime..::..AmazonWebServiceRequest
    Amazon.IdentityManagement.Model..::..DeactivateMFADeviceRequest

See Also