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-test-again-1.6.0 lib/fog/aws/requests/iam/update_login_profile.rb
fog-test-me-1.10.0 lib/fog/aws/requests/iam/update_login_profile.rb
fog-parser-fix-1.6.0 lib/fog/aws/requests/iam/update_login_profile.rb
fog-1.10.0 lib/fog/aws/requests/iam/update_login_profile.rb
fog-1.9.0 lib/fog/aws/requests/iam/update_login_profile.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/aws/requests/iam/update_login_profile.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/aws/requests/iam/update_login_profile.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/aws/requests/iam/update_login_profile.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/aws/requests/iam/update_login_profile.rb
fog-sgonyea-1.8.1 lib/fog/aws/requests/iam/update_login_profile.rb
fog-1.8.0 lib/fog/aws/requests/iam/update_login_profile.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/aws/requests/iam/update_login_profile.rb
fog-1.7.0 lib/fog/aws/requests/iam/update_login_profile.rb
fog-1.6.0 lib/fog/aws/requests/iam/update_login_profile.rb
fog-1.5.0 lib/fog/aws/requests/iam/update_login_profile.rb
fog-1.4.0 lib/fog/aws/requests/iam/update_login_profile.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/update_login_profile.rb
michiels-fog-1.3.1 lib/fog/aws/requests/iam/update_login_profile.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/aws/requests/iam/update_login_profile.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/update_login_profile.rb