amazonka-iam-1.6.0: Amazon Identity and Access Management SDK.

Copyright (c) 2013-2018 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

Description

Synchronizes the specified MFA device with its IAM resource object on the AWS servers.

For more information about creating and working with virtual MFA devices, go to Using a Virtual MFA Device in the IAM User Guide .

# Creating a Request

Arguments

 :: Text rmdUserName -> Text rmdSerialNumber -> Text rmdAuthenticationCode1 -> Text rmdAuthenticationCode2 -> ResyncMFADevice

Creates a value of ResyncMFADevice with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

• rmdUserName - The name of the user whose MFA device you want to resynchronize. 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: _+=,.@-
• rmdSerialNumber - Serial number that uniquely identifies the MFA device. 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: _+=,.@-
• rmdAuthenticationCode1 - An authentication code emitted by the device. The format for this parameter is a sequence of six digits.
• rmdAuthenticationCode2 - A subsequent authentication code emitted by the device. The format for this parameter is a sequence of six digits.

See: resyncMFADevice smart constructor.

Instances

# Request Lenses

The name of the user whose MFA device you want to resynchronize. 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: _+=,.@-

Serial number that uniquely identifies the MFA device. 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: _+=,.@-

An authentication code emitted by the device. The format for this parameter is a sequence of six digits.

A subsequent authentication code emitted by the device. The format for this parameter is a sequence of six digits.

# Destructuring the Response

Creates a value of ResyncMFADeviceResponse with the minimum fields required to make a request.

See: resyncMFADeviceResponse smart constructor.

Instances