Method: Fog::AWS::IAM::Real#update_login_profile
- Defined in:
- lib/fog/aws/requests/iam/update_login_profile.rb
permalink #update_login_profile(user_name, password) ⇒ Object
Updates a login profile for a user
docs.amazonwebservices.com/IAM/latest/APIReference/API_UpdateLoginProfile.html
Parameters
-
user_name<~String> - Name of user to change the login profile for
-
password<~String> - The new password for this user
Returns
-
response<~Excon::Response>:
-
body<~Hash>:
-
‘RequestId’<~String> - Id of the request
-
-
21 22 23 24 25 26 27 28 |
# File 'lib/fog/aws/requests/iam/update_login_profile.rb', line 21 def update_login_profile(user_name, password) request({ 'Action' => 'UpdateLoginProfile', 'UserName' => user_name, 'Password' => password, :parser => Fog::Parsers::AWS::IAM::Basic.new }) end |