Synchronizes the specified MFA device with its IAM resource object on the AWS servers.
iam_resync_mfa_device(UserName, SerialNumber, AuthenticationCode1,
AuthenticationCode2)
[required] 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: \_+=,.@-
[required] 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: \_+=,.@-
[required] An authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
[required] A subsequent authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
svc$resync_mfa_device( UserName = "string", SerialNumber = "string", AuthenticationCode1 = "string", AuthenticationCode2 = "string" )
For more information about creating and working with virtual MFA devices, go to Using a Virtual MFA Device in the IAM User Guide.