Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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 .
- resyncMFADevice :: Text -> Text -> Text -> Text -> ResyncMFADevice
- data ResyncMFADevice
- rmdUserName :: Lens' ResyncMFADevice Text
- rmdSerialNumber :: Lens' ResyncMFADevice Text
- rmdAuthenticationCode1 :: Lens' ResyncMFADevice Text
- rmdAuthenticationCode2 :: Lens' ResyncMFADevice Text
- resyncMFADeviceResponse :: ResyncMFADeviceResponse
- data ResyncMFADeviceResponse
Creating a Request
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> 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.
data ResyncMFADevice Source #
See: resyncMFADevice
smart constructor.
Request Lenses
rmdUserName :: Lens' ResyncMFADevice Text Source #
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 :: Lens' ResyncMFADevice Text Source #
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 :: Lens' ResyncMFADevice Text Source #
An authentication code emitted by the device. The format for this parameter is a sequence of six digits.
rmdAuthenticationCode2 :: Lens' ResyncMFADevice Text Source #
A subsequent authentication code emitted by the device. The format for this parameter is a sequence of six digits.
Destructuring the Response
resyncMFADeviceResponse :: ResyncMFADeviceResponse Source #
Creates a value of ResyncMFADeviceResponse
with the minimum fields required to make a request.
data ResyncMFADeviceResponse Source #
See: resyncMFADeviceResponse
smart constructor.