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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.ResyncMFADevice

Contents

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 .

Synopsis

Creating a Request

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 #

See: resyncMFADevice smart constructor.

Instances

Eq ResyncMFADevice # 
Data ResyncMFADevice # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResyncMFADevice -> c ResyncMFADevice #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResyncMFADevice #

toConstr :: ResyncMFADevice -> Constr #

dataTypeOf :: ResyncMFADevice -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ResyncMFADevice) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResyncMFADevice) #

gmapT :: (forall b. Data b => b -> b) -> ResyncMFADevice -> ResyncMFADevice #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResyncMFADevice -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResyncMFADevice -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResyncMFADevice -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResyncMFADevice -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResyncMFADevice -> m ResyncMFADevice #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResyncMFADevice -> m ResyncMFADevice #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResyncMFADevice -> m ResyncMFADevice #

Read ResyncMFADevice # 
Show ResyncMFADevice # 
Generic ResyncMFADevice # 
Hashable ResyncMFADevice # 
NFData ResyncMFADevice # 

Methods

rnf :: ResyncMFADevice -> () #

AWSRequest ResyncMFADevice # 
ToQuery ResyncMFADevice # 
ToPath ResyncMFADevice # 
ToHeaders ResyncMFADevice # 
type Rep ResyncMFADevice # 
type Rep ResyncMFADevice = D1 (MetaData "ResyncMFADevice" "Network.AWS.IAM.ResyncMFADevice" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "ResyncMFADevice'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_rmdUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_rmdSerialNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_rmdAuthenticationCode1") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_rmdAuthenticationCode2") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ResyncMFADevice # 

Request Lenses

rmdUserName :: Lens' ResyncMFADevice Text #

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 #

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 #

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

rmdAuthenticationCode2 :: Lens' ResyncMFADevice Text #

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

Destructuring the Response

resyncMFADeviceResponse :: ResyncMFADeviceResponse #

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

data ResyncMFADeviceResponse #

See: resyncMFADeviceResponse smart constructor.

Instances

Eq ResyncMFADeviceResponse # 
Data ResyncMFADeviceResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResyncMFADeviceResponse -> c ResyncMFADeviceResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResyncMFADeviceResponse #

toConstr :: ResyncMFADeviceResponse -> Constr #

dataTypeOf :: ResyncMFADeviceResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ResyncMFADeviceResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResyncMFADeviceResponse) #

gmapT :: (forall b. Data b => b -> b) -> ResyncMFADeviceResponse -> ResyncMFADeviceResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResyncMFADeviceResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResyncMFADeviceResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResyncMFADeviceResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResyncMFADeviceResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResyncMFADeviceResponse -> m ResyncMFADeviceResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResyncMFADeviceResponse -> m ResyncMFADeviceResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResyncMFADeviceResponse -> m ResyncMFADeviceResponse #

Read ResyncMFADeviceResponse # 
Show ResyncMFADeviceResponse # 
Generic ResyncMFADeviceResponse # 
NFData ResyncMFADeviceResponse # 

Methods

rnf :: ResyncMFADeviceResponse -> () #

type Rep ResyncMFADeviceResponse # 
type Rep ResyncMFADeviceResponse = D1 (MetaData "ResyncMFADeviceResponse" "Network.AWS.IAM.ResyncMFADevice" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "ResyncMFADeviceResponse'" PrefixI False) U1)