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

Amazonka.IAM.ResyncMFADevice

Description

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

Creating a Request

data ResyncMFADevice Source #

See: newResyncMFADevice smart constructor.

Constructors

ResyncMFADevice' 

Fields

  • userName :: Text

    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: _+=,.@-

  • serialNumber :: Text

    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: _+=,.@-

  • authenticationCode1 :: Text

    An authentication code emitted by the device.

    The format for this parameter is a sequence of six digits.

  • authenticationCode2 :: Text

    A subsequent authentication code emitted by the device.

    The format for this parameter is a sequence of six digits.

Instances

Instances details
Eq ResyncMFADevice Source # 
Instance details

Defined in Amazonka.IAM.ResyncMFADevice

Read ResyncMFADevice Source # 
Instance details

Defined in Amazonka.IAM.ResyncMFADevice

Show ResyncMFADevice Source # 
Instance details

Defined in Amazonka.IAM.ResyncMFADevice

Generic ResyncMFADevice Source # 
Instance details

Defined in Amazonka.IAM.ResyncMFADevice

Associated Types

type Rep ResyncMFADevice :: Type -> Type #

NFData ResyncMFADevice Source # 
Instance details

Defined in Amazonka.IAM.ResyncMFADevice

Methods

rnf :: ResyncMFADevice -> () #

Hashable ResyncMFADevice Source # 
Instance details

Defined in Amazonka.IAM.ResyncMFADevice

AWSRequest ResyncMFADevice Source # 
Instance details

Defined in Amazonka.IAM.ResyncMFADevice

Associated Types

type AWSResponse ResyncMFADevice #

ToHeaders ResyncMFADevice Source # 
Instance details

Defined in Amazonka.IAM.ResyncMFADevice

ToPath ResyncMFADevice Source # 
Instance details

Defined in Amazonka.IAM.ResyncMFADevice

ToQuery ResyncMFADevice Source # 
Instance details

Defined in Amazonka.IAM.ResyncMFADevice

type Rep ResyncMFADevice Source # 
Instance details

Defined in Amazonka.IAM.ResyncMFADevice

type Rep ResyncMFADevice = D1 ('MetaData "ResyncMFADevice" "Amazonka.IAM.ResyncMFADevice" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "ResyncMFADevice'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "serialNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "authenticationCode1") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "authenticationCode2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ResyncMFADevice Source # 
Instance details

Defined in Amazonka.IAM.ResyncMFADevice

newResyncMFADevice Source #

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

Instances details
Eq ResyncMFADeviceResponse Source # 
Instance details

Defined in Amazonka.IAM.ResyncMFADevice

Read ResyncMFADeviceResponse Source # 
Instance details

Defined in Amazonka.IAM.ResyncMFADevice

Show ResyncMFADeviceResponse Source # 
Instance details

Defined in Amazonka.IAM.ResyncMFADevice

Generic ResyncMFADeviceResponse Source # 
Instance details

Defined in Amazonka.IAM.ResyncMFADevice

Associated Types

type Rep ResyncMFADeviceResponse :: Type -> Type #

NFData ResyncMFADeviceResponse Source # 
Instance details

Defined in Amazonka.IAM.ResyncMFADevice

Methods

rnf :: ResyncMFADeviceResponse -> () #

type Rep ResyncMFADeviceResponse Source # 
Instance details

Defined in Amazonka.IAM.ResyncMFADevice

type Rep ResyncMFADeviceResponse = D1 ('MetaData "ResyncMFADeviceResponse" "Amazonka.IAM.ResyncMFADevice" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "ResyncMFADeviceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newResyncMFADeviceResponse :: ResyncMFADeviceResponse Source #

Create a value of ResyncMFADeviceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.