lib/iam/right_iam_mfa_devices.rb
# Synchronizes the specified MFA device with AWS servers.
#
#  iam.resync_mfa_device('kd1', 'x12345', '12345', '67890') #=> true
#
Synchronizes the specified MFA device with AWS servers.
Synchronizes the specified MFA device with AWS servers .
def resync_mfa_device(user_name, serial_number, auth_code1, auth_code2)
      request_hash = { 'UserName'            => user_name,
                       'SerialNumber'        => serial_number,
                       'AuthenticationCode1' => auth_code1,
                       'AuthenticationCode2' => auth_code2 }
      link = generate_request("ResyncMFADevice", request_hash)
      request_info(link, RightHttp2xxParser.new(:logger => @logger))
    end
def resync_mfa_device ( user_name , serial_number , auth_code1 , auth_code2 ) request_hash = { 'UserName' => user_name , 'SerialNumber' => serial_number , 'AuthenticationCode1' => auth_code1 , 'AuthenticationCode2' => auth_code2 } link = generate_request ( "ResyncMFADevice" , request_hash ) request_info ( link , RightHttp2xxParser . new ( :logger => @logger ) ) end
Synchronizes the specified MFA device with AWS servers.
Synchronizes the specified MFA device with AWS servers .
user_name
<not_specific>
serial_number
<not_specific>
auth_code1
<not_specific>
auth_code2
<not_specific>