resync

IAM.MfaDevice.resync(**kwargs)

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 .

See also: AWS API Documentation

Request Syntax

response = mfa_device.resync(
    AuthenticationCode1='string',
    AuthenticationCode2='string'
)
Parameters
  • AuthenticationCode1 (string) --

    [REQUIRED]

    An authentication code emitted by the device.

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

  • AuthenticationCode2 (string) --

    [REQUIRED]

    A subsequent authentication code emitted by the device.

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

Returns

None