Sha256: cfbab9a36fb94f4329d39b612c14bce0af9c8d87abcd1a8070f45253e7cd15d4

Contents?: true

Size: 983 Bytes

Versions: 114

Compression:

Stored size: 983 Bytes

Contents

module Fog
  module AWS
    class IAM
      class Real

        require 'fog/aws/parsers/iam/login_profile'

        # Retrieves the login profile for a user
        # 
        # http://docs.amazonwebservices.com/IAM/latest/APIReference/API_CreateLoginProfile.html
        # ==== Parameters
        # * user_name<~String> - Name of user to retrieve the login profile for
        # * password<~String> - The new password for this user
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'LoginProfile'<~Hash>
        #        * UserName<~String>
        #        * CreateDate
        #     * 'RequestId'<~String> - Id of the request
        #
        #
        def get_login_profile(user_name)
          request({
            'Action'    => 'GetLoginProfile',
            'UserName'  => user_name,
            :parser     => Fog::Parsers::AWS::IAM::LoginProfile.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/get_login_profile.rb
gapinc-fog-1.14.0 lib/fog/aws/requests/iam/get_login_profile.rb
fog-maestrodev-1.14.0.20130806165225 lib/fog/aws/requests/iam/get_login_profile.rb
fog-1.14.0 lib/fog/aws/requests/iam/get_login_profile.rb
fog-1.13.0 lib/fog/aws/requests/iam/get_login_profile.rb
gapinc-fog-1.12.1.2 lib/fog/aws/requests/iam/get_login_profile.rb
gapinc-fog-1.12.1.1 lib/fog/aws/requests/iam/get_login_profile.rb
gapinc-fog-1.12.1a lib/fog/aws/requests/iam/get_login_profile.rb
gapinc-fog-1.12.1 lib/fog/aws/requests/iam/get_login_profile.rb
fog-1.12.1 lib/fog/aws/requests/iam/get_login_profile.rb
fog-1.12.0 lib/fog/aws/requests/iam/get_login_profile.rb
hpfog-0.0.20 lib/fog/aws/requests/iam/get_login_profile.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/lib/fog/aws/requests/iam/get_login_profile.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/lib/fog/aws/requests/iam/get_login_profile.rb
fog-nirvanix-1.8.2 lib/fog/aws/requests/iam/get_login_profile.rb
fog-1.11.1 lib/fog/aws/requests/iam/get_login_profile.rb
fog-1.11.0 lib/fog/aws/requests/iam/get_login_profile.rb
fog-nirvanix-1.8.1 lib/fog/aws/requests/iam/get_login_profile.rb
fog-1.10.1 lib/fog/aws/requests/iam/get_login_profile.rb
fog-parser-fix-1.6.1 lib/fog/aws/requests/iam/get_login_profile.rb