Copyright | (c) 2013-2021 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 |
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.
Synopsis
- data ResyncMFADevice = ResyncMFADevice' {}
- newResyncMFADevice :: Text -> Text -> Text -> Text -> ResyncMFADevice
- resyncMFADevice_userName :: Lens' ResyncMFADevice Text
- resyncMFADevice_serialNumber :: Lens' ResyncMFADevice Text
- resyncMFADevice_authenticationCode1 :: Lens' ResyncMFADevice Text
- resyncMFADevice_authenticationCode2 :: Lens' ResyncMFADevice Text
- data ResyncMFADeviceResponse = ResyncMFADeviceResponse' {
- newResyncMFADeviceResponse :: ResyncMFADeviceResponse
Creating a Request
data ResyncMFADevice Source #
See: newResyncMFADevice
smart constructor.
ResyncMFADevice' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> ResyncMFADevice |
Create a value of ResyncMFADevice
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:userName:ResyncMFADevice'
, resyncMFADevice_userName
- The name of the user whose MFA device you want to resynchronize.
This parameter allows (through 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: _+=,.@-
$sel:serialNumber:ResyncMFADevice'
, resyncMFADevice_serialNumber
- Serial number that uniquely identifies the MFA device.
This parameter allows (through 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: _+=,.@-
$sel:authenticationCode1:ResyncMFADevice'
, resyncMFADevice_authenticationCode1
- An authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
$sel:authenticationCode2:ResyncMFADevice'
, resyncMFADevice_authenticationCode2
- A subsequent authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
Request Lenses
resyncMFADevice_userName :: Lens' ResyncMFADevice Text Source #
The name of the user whose MFA device you want to resynchronize.
This parameter allows (through 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: _+=,.@-
resyncMFADevice_serialNumber :: Lens' ResyncMFADevice Text Source #
Serial number that uniquely identifies the MFA device.
This parameter allows (through 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: _+=,.@-
resyncMFADevice_authenticationCode1 :: Lens' ResyncMFADevice Text Source #
An authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
resyncMFADevice_authenticationCode2 :: 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
data ResyncMFADeviceResponse Source #
See: newResyncMFADeviceResponse
smart constructor.
Instances
Eq ResyncMFADeviceResponse Source # | |
Defined in Amazonka.IAM.ResyncMFADevice | |
Read ResyncMFADeviceResponse Source # | |
Show ResyncMFADeviceResponse Source # | |
Defined in Amazonka.IAM.ResyncMFADevice showsPrec :: Int -> ResyncMFADeviceResponse -> ShowS # show :: ResyncMFADeviceResponse -> String # showList :: [ResyncMFADeviceResponse] -> ShowS # | |
Generic ResyncMFADeviceResponse Source # | |
Defined in Amazonka.IAM.ResyncMFADevice type Rep ResyncMFADeviceResponse :: Type -> Type # | |
NFData ResyncMFADeviceResponse Source # | |
Defined in Amazonka.IAM.ResyncMFADevice rnf :: ResyncMFADeviceResponse -> () # | |
type Rep ResyncMFADeviceResponse Source # | |
newResyncMFADeviceResponse :: ResyncMFADeviceResponse Source #
Create a value of ResyncMFADeviceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.