Class: Aws::IAM::Types::DeactivateMFADeviceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::DeactivateMFADeviceRequest
- Defined in:
- gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
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: =,.@:/-
1795 1796 1797 1798 1799 1800 |
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 1795 class DeactivateMFADeviceRequest < Struct.new( :user_name, :serial_number) SENSITIVE = [] include Aws::Structure end |
#user_name ⇒ String
The name of the user whose MFA device you want to deactivate.
This parameter is optional. If no user name is included, it defaults to the principal making the request. When you make this request with root user credentials, you must use an AssumeRoot session to omit the user name.
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: _+=,.@-
1795 1796 1797 1798 1799 1800 |
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 1795 class DeactivateMFADeviceRequest < Struct.new( :user_name, :serial_number) SENSITIVE = [] include Aws::Structure end |