| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.IAM.ResyncMFADevice
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 .
- 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
Arguments
| :: 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. The regex pattern for this parameter is 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. The regex pattern for this parameter is 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.
Instances
Request Lenses
rmdUserName :: Lens' ResyncMFADevice Text Source #
The name of the user whose MFA device you want to resynchronize. The regex pattern for this parameter is 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. The regex pattern for this parameter is 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.