Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

resync

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