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-maestrodev-1.20.0.20140305101839 lib/fog/aws/requests/iam/get_login_profile.rb
fog-maestrodev-1.20.0.20140305101305 lib/fog/aws/requests/iam/get_login_profile.rb
fog-maestrodev-1.19.0.20140212012611 lib/fog/aws/requests/iam/get_login_profile.rb
fog-1.20.0 lib/fog/aws/requests/iam/get_login_profile.rb
fog-maestrodev-1.19.0.20140110004459 lib/fog/aws/requests/iam/get_login_profile.rb
fog-maestrodev-1.19.0.20140110003812 lib/fog/aws/requests/iam/get_login_profile.rb
fog-maestrodev-1.19.0.20140109202555 lib/fog/aws/requests/iam/get_login_profile.rb
fog-maestrodev-1.19.0.20140107192102 lib/fog/aws/requests/iam/get_login_profile.rb
fog-maestrodev-1.19.0.20140107142106 lib/fog/aws/requests/iam/get_login_profile.rb
fog-maestrodev-1.19.0.20131219203941 lib/fog/aws/requests/iam/get_login_profile.rb
fog-maestrodev-1.18.0.20131219193542 lib/fog/aws/requests/iam/get_login_profile.rb
fog-1.19.0 lib/fog/aws/requests/iam/get_login_profile.rb
fog-maestrodev-1.18.0.20131219033443 lib/fog/aws/requests/iam/get_login_profile.rb
fog-maestrodev-1.18.0.20131219032002 lib/fog/aws/requests/iam/get_login_profile.rb
fog-maestrodev-1.18.0.20131219030716 lib/fog/aws/requests/iam/get_login_profile.rb
fog-maestrodev-1.18.0.20131219022322 lib/fog/aws/requests/iam/get_login_profile.rb
fog-maestrodev-1.18.0.20131218202447 lib/fog/aws/requests/iam/get_login_profile.rb
fog-maestrodev-1.18.0.20131209091424 lib/fog/aws/requests/iam/get_login_profile.rb
fog-maestrodev-1.18.0.20131209090811 lib/fog/aws/requests/iam/get_login_profile.rb
fog-maestrodev-1.18.0.20131206115947 lib/fog/aws/requests/iam/get_login_profile.rb