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.15.0 lib/fog/aws/requests/iam/update_login_profile.rb
gapinc-fog-1.14.0 lib/fog/aws/requests/iam/update_login_profile.rb
fog-maestrodev-1.14.0.20130806165225 lib/fog/aws/requests/iam/update_login_profile.rb
fog-1.14.0 lib/fog/aws/requests/iam/update_login_profile.rb
fog-1.13.0 lib/fog/aws/requests/iam/update_login_profile.rb
gapinc-fog-1.12.1.2 lib/fog/aws/requests/iam/update_login_profile.rb
gapinc-fog-1.12.1.1 lib/fog/aws/requests/iam/update_login_profile.rb
gapinc-fog-1.12.1a lib/fog/aws/requests/iam/update_login_profile.rb
gapinc-fog-1.12.1 lib/fog/aws/requests/iam/update_login_profile.rb
fog-1.12.1 lib/fog/aws/requests/iam/update_login_profile.rb
fog-1.12.0 lib/fog/aws/requests/iam/update_login_profile.rb
hpfog-0.0.20 lib/fog/aws/requests/iam/update_login_profile.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/lib/fog/aws/requests/iam/update_login_profile.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/lib/fog/aws/requests/iam/update_login_profile.rb
fog-nirvanix-1.8.2 lib/fog/aws/requests/iam/update_login_profile.rb
fog-1.11.1 lib/fog/aws/requests/iam/update_login_profile.rb
fog-1.11.0 lib/fog/aws/requests/iam/update_login_profile.rb
fog-nirvanix-1.8.1 lib/fog/aws/requests/iam/update_login_profile.rb
fog-1.10.1 lib/fog/aws/requests/iam/update_login_profile.rb
fog-parser-fix-1.6.1 lib/fog/aws/requests/iam/update_login_profile.rb