C# Class Amazon.IdentityManagement.Model.DeactivateMFADeviceRequest

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.

For more information about creating and working with virtual MFA devices, go to Using a Virtual MFA Device in the IAM User Guide.

Inheritance: AmazonIdentityManagementServiceRequest
Mostrar archivo Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
DeactivateMFADeviceRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

DeactivateMFADeviceRequest ( string userName, string serialNumber ) : System

Instantiates DeactivateMFADeviceRequest with the parameterized properties

Private Methods

Method Description
IsSetSerialNumber ( ) : bool
IsSetUserName ( ) : bool

Method Details

DeactivateMFADeviceRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public DeactivateMFADeviceRequest ( ) : System
return System

DeactivateMFADeviceRequest() public method

Instantiates DeactivateMFADeviceRequest with the parameterized properties
public DeactivateMFADeviceRequest ( string userName, string serialNumber ) : System
userName string The name of the user whose MFA device you want to deactivate. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
serialNumber string The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =/:,.@-
return System