AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the ResyncMFADevice operation. Synchronizes the specified MFA device with its IAM resource object on the Amazon Web Services servers.

For more information about creating and working with virtual MFA devices, see Using a virtual MFA device in the IAM User Guide.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.IdentityManagement.AmazonIdentityManagementServiceRequest
      Amazon.IdentityManagement.Model.ResyncMFADeviceRequest

Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK.IdentityManagement.dll
Version: 3.x.y.z

Syntax

C#
public class ResyncMFADeviceRequest : AmazonIdentityManagementServiceRequest
         IAmazonWebServiceRequest

The ResyncMFADeviceRequest type exposes the following members

Constructors

NameDescription
Public Method ResyncMFADeviceRequest()

Properties

NameTypeDescription
Public Property AuthenticationCode1 System.String

Gets and sets the property AuthenticationCode1.

An authentication code emitted by the device.

The format for this parameter is a sequence of six digits.

Public Property AuthenticationCode2 System.String

Gets and sets the property AuthenticationCode2.

A subsequent authentication code emitted by the device.

The format for this parameter is a sequence of six digits.

Public Property SerialNumber System.String

Gets and sets the property SerialNumber.

Serial number that uniquely identifies the MFA device.

This parameter allows (through 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: _+=,.@-

Public Property UserName System.String

Gets and sets the property UserName.

The name of the user whose MFA device you want to resynchronize.

This parameter allows (through 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: _+=,.@-

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5