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.DeactivateMFADevice

Contents

Description

Deactivates the specified MFA device and removes it from association with the user name for which it was originally enabled.

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

deactivateMFADevice Source #

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

Use one of the following lenses to modify other fields as desired:

  • dmdUserName - The name of the user whose MFA device you want to deactivate. 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: =,.@-
  • dmdSerialNumber - The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN. 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: =/:,.@-

data DeactivateMFADevice Source #

See: deactivateMFADevice smart constructor.

Instances

Eq DeactivateMFADevice Source # 
Data DeactivateMFADevice Source # 

Methods

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

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

toConstr :: DeactivateMFADevice -> Constr #

dataTypeOf :: DeactivateMFADevice -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeactivateMFADevice Source # 
Show DeactivateMFADevice Source # 
Generic DeactivateMFADevice Source # 
Hashable DeactivateMFADevice Source # 
NFData DeactivateMFADevice Source # 

Methods

rnf :: DeactivateMFADevice -> () #

AWSRequest DeactivateMFADevice Source # 
ToPath DeactivateMFADevice Source # 
ToHeaders DeactivateMFADevice Source # 
ToQuery DeactivateMFADevice Source # 
type Rep DeactivateMFADevice Source # 
type Rep DeactivateMFADevice = D1 (MetaData "DeactivateMFADevice" "Network.AWS.IAM.DeactivateMFADevice" "amazonka-iam-1.4.5-tAuuyG7nyKEp3j6LBO0rr" False) (C1 (MetaCons "DeactivateMFADevice'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dmdUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dmdSerialNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeactivateMFADevice Source # 

Request Lenses

dmdUserName :: Lens' DeactivateMFADevice Text Source #

The name of the user whose MFA device you want to deactivate. 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: =,.@-

dmdSerialNumber :: Lens' DeactivateMFADevice Text Source #

The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN. 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: =/:,.@-

Destructuring the Response

deactivateMFADeviceResponse :: DeactivateMFADeviceResponse Source #

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

data DeactivateMFADeviceResponse Source #

See: deactivateMFADeviceResponse smart constructor.

Instances

Eq DeactivateMFADeviceResponse Source # 
Data DeactivateMFADeviceResponse Source # 

Methods

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

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

toConstr :: DeactivateMFADeviceResponse -> Constr #

dataTypeOf :: DeactivateMFADeviceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeactivateMFADeviceResponse Source # 
Show DeactivateMFADeviceResponse Source # 
Generic DeactivateMFADeviceResponse Source # 
NFData DeactivateMFADeviceResponse Source # 
type Rep DeactivateMFADeviceResponse Source # 
type Rep DeactivateMFADeviceResponse = D1 (MetaData "DeactivateMFADeviceResponse" "Network.AWS.IAM.DeactivateMFADevice" "amazonka-iam-1.4.5-tAuuyG7nyKEp3j6LBO0rr" False) (C1 (MetaCons "DeactivateMFADeviceResponse'" PrefixI False) U1)