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
Afficher le fichier Open project: aws/aws-sdk-net Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
IsSetSerialNumber ( ) : bool
IsSetUserName ( ) : bool

Method Details

DeactivateMFADeviceRequest() public méthode

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

DeactivateMFADeviceRequest() public méthode

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: =/:,.@-
Résultat System