Sha256: 3fbfcd66079712fc5a6f40378ce2384a4f738350d6b510386b18e7f74e4957d7

Contents?: true

Size: 910 Bytes

Versions: 114

Compression:

Stored size: 910 Bytes

Contents

module Fog
  module AWS
    class IAM
      class Real

        require 'fog/aws/parsers/iam/basic'

        # Updates a login profile for a user
        # 
        # http://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
        #
        #
        def update_login_profile(user_name, password)
          request({
            'Action'    => 'UpdateLoginProfile',
            'UserName'  => user_name,
            'Password'  => password,
            :parser     => Fog::Parsers::AWS::IAM::Basic.new
          })
        end

      end
    end
  end
end

Version data entries

114 entries across 114 versions & 18 rubygems

Version Path
fog-1.0.0 lib/fog/aws/requests/iam/update_login_profile.rb
brightbox-cli-0.13.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/update_login_profile.rb
brightbox-cli-0.13.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/update_login_profile.rb
fog-0.11.0 lib/fog/aws/requests/iam/update_login_profile.rb
fog-0.10.0 lib/fog/aws/requests/iam/update_login_profile.rb
fog4encbs-0.9.0.1 lib/fog/aws/requests/iam/update_login_profile.rb
fog4encbs-0.9.0 lib/fog/aws/requests/iam/update_login_profile.rb
fog-0.9.0 lib/fog/aws/requests/iam/update_login_profile.rb
fog-0.8.2 lib/fog/aws/requests/iam/update_login_profile.rb
fog-0.8.1 lib/fog/aws/requests/iam/update_login_profile.rb
fog-0.8.0 lib/fog/aws/requests/iam/update_login_profile.rb
fog-0.7.2 lib/fog/aws/requests/iam/update_login_profile.rb
fog-0.7.1 lib/fog/aws/requests/iam/update_login_profile.rb
fog-0.7.0 lib/fog/aws/requests/iam/update_login_profile.rb