Class: Aws::IAM::Types::DeactivateMFADeviceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::DeactivateMFADeviceRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iam/types.rb
Overview
When making an API call, you may pass DeactivateMFADeviceRequest data as a hash:
{
user_name: "existingUserNameType", # required
serial_number: "serialNumberType", # required
}
Instance Attribute Summary collapse
-
#serial_number ⇒ String
The serial number that uniquely identifies the MFA device.
-
#user_name ⇒ String
The name of the user whose MFA device you want to deactivate.
Instance Attribute Details
#serial_number ⇒ String
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: =,.@:/-
1737 1738 1739 1740 1741 |
# File 'lib/aws-sdk-iam/types.rb', line 1737 class DeactivateMFADeviceRequest < Struct.new( :user_name, :serial_number) include Aws::Structure end |
#user_name ⇒ String
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: _+=,.@-
1737 1738 1739 1740 1741 |
# File 'lib/aws-sdk-iam/types.rb', line 1737 class DeactivateMFADeviceRequest < Struct.new( :user_name, :serial_number) include Aws::Structure end |