Class: Aws::IAM::Types::DeactivateMFADeviceRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iam/types.rb

Overview

Note:

When making an API call, you may pass DeactivateMFADeviceRequest data as a hash:

{
  user_name: "existingUserNameType", # required
  serial_number: "serialNumberType", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#serial_numberString

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: =,[email protected]:/-

[1]: wikipedia.org/wiki/regex

Returns:

  • (String)

1954
1955
1956
1957
1958
1959
# File 'lib/aws-sdk-iam/types.rb', line 1954

class DeactivateMFADeviceRequest < Struct.new(
  :user_name,
  :serial_number)
  SENSITIVE = []
  include Aws::Structure
end

#user_nameString

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: _+=,[email protected]

[1]: wikipedia.org/wiki/regex

Returns:

  • (String)

1954
1955
1956
1957
1958
1959
# File 'lib/aws-sdk-iam/types.rb', line 1954

class DeactivateMFADeviceRequest < Struct.new(
  :user_name,
  :serial_number)
  SENSITIVE = []
  include Aws::Structure
end