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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 Source #

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.

Instances
Eq ResyncMFADevice Source # 
Instance details

Defined in Network.AWS.IAM.ResyncMFADevice

Data ResyncMFADevice Source # 
Instance details

Defined in Network.AWS.IAM.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 Source # 
Instance details

Defined in Network.AWS.IAM.ResyncMFADevice

Show ResyncMFADevice Source # 
Instance details

Defined in Network.AWS.IAM.ResyncMFADevice

Generic ResyncMFADevice Source # 
Instance details

Defined in Network.AWS.IAM.ResyncMFADevice

Associated Types

type Rep ResyncMFADevice :: Type -> Type #

Hashable ResyncMFADevice Source # 
Instance details

Defined in Network.AWS.IAM.ResyncMFADevice

AWSRequest ResyncMFADevice Source # 
Instance details

Defined in Network.AWS.IAM.ResyncMFADevice

Associated Types

type Rs ResyncMFADevice :: Type #

ToHeaders ResyncMFADevice Source # 
Instance details

Defined in Network.AWS.IAM.ResyncMFADevice

ToPath ResyncMFADevice Source # 
Instance details

Defined in Network.AWS.IAM.ResyncMFADevice

ToQuery ResyncMFADevice Source # 
Instance details

Defined in Network.AWS.IAM.ResyncMFADevice

NFData ResyncMFADevice Source # 
Instance details

Defined in Network.AWS.IAM.ResyncMFADevice

Methods

rnf :: ResyncMFADevice -> () #

type Rep ResyncMFADevice Source # 
Instance details

Defined in Network.AWS.IAM.ResyncMFADevice

type Rep ResyncMFADevice = D1 (MetaData "ResyncMFADevice" "Network.AWS.IAM.ResyncMFADevice" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" False) (C1 (MetaCons "ResyncMFADevice'" PrefixI True) ((S1 (MetaSel (Just "_rmdUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rmdSerialNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_rmdAuthenticationCode1") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rmdAuthenticationCode2") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ResyncMFADevice Source # 
Instance details

Defined in Network.AWS.IAM.ResyncMFADevice

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.

Instances
Eq ResyncMFADeviceResponse Source # 
Instance details

Defined in Network.AWS.IAM.ResyncMFADevice

Data ResyncMFADeviceResponse Source # 
Instance details

Defined in Network.AWS.IAM.ResyncMFADevice

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 Source # 
Instance details

Defined in Network.AWS.IAM.ResyncMFADevice

Show ResyncMFADeviceResponse Source # 
Instance details

Defined in Network.AWS.IAM.ResyncMFADevice

Generic ResyncMFADeviceResponse Source # 
Instance details

Defined in Network.AWS.IAM.ResyncMFADevice

Associated Types

type Rep ResyncMFADeviceResponse :: Type -> Type #

NFData ResyncMFADeviceResponse Source # 
Instance details

Defined in Network.AWS.IAM.ResyncMFADevice

Methods

rnf :: ResyncMFADeviceResponse -> () #

type Rep ResyncMFADeviceResponse Source # 
Instance details

Defined in Network.AWS.IAM.ResyncMFADevice

type Rep ResyncMFADeviceResponse = D1 (MetaData "ResyncMFADeviceResponse" "Network.AWS.IAM.ResyncMFADevice" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" False) (C1 (MetaCons "ResyncMFADeviceResponse'" PrefixI False) (U1 :: Type -> Type))