Learn R Programming

paws.security.identity (version 0.1.0)

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

Description

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

Usage

iam_deactivate_mfa_device(UserName, SerialNumber)

Arguments

UserName

[required] The name of the user whose MFA device you want to deactivate.

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

[required] The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.

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

Request syntax

svc$deactivate_mfa_device(
  UserName = "string",
  SerialNumber = "string"
)

Details

For more information about creating and working with virtual MFA devices, go to Enabling a Virtual Multi-factor Authentication (MFA) Device in the IAM User Guide.