Sha256: 180bd50b57de0b5edfc04beb7a83600beb1747b284d174f93346fe2e990fdd4f

Contents?: true

Size: 980 Bytes

Versions: 26

Compression:

Stored size: 980 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

26 entries across 26 versions & 5 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/aws/requests/iam/get_login_profile.rb
fog-aws-0.3.0 lib/fog/aws/requests/iam/get_login_profile.rb
fog-aws-0.2.2 lib/fog/aws/requests/iam/get_login_profile.rb
fog-aws-0.2.0 lib/fog/aws/requests/iam/get_login_profile.rb
fog-aws-0.1.2 lib/fog/aws/requests/iam/get_login_profile.rb
fog-aws-0.1.1 lib/fog/aws/requests/iam/get_login_profile.rb
fog-aws-0.1.0 lib/fog/aws/requests/iam/get_login_profile.rb
fog-aws-0.0.8 lib/fog/aws/requests/iam/get_login_profile.rb
fog-aws-0.0.7 lib/fog/aws/requests/iam/get_login_profile.rb
fog-aws-0.0.6 lib/fog/aws/requests/iam/get_login_profile.rb
fog-aws-0.0.5 lib/fog/aws/requests/iam/get_login_profile.rb
fog-1.26.0 lib/fog/aws/requests/iam/get_login_profile.rb
fog-1.25.0 lib/fog/aws/requests/iam/get_login_profile.rb
nsidc-fog-1.24.1 lib/fog/aws/requests/iam/get_login_profile.rb
fog-1.24.0 lib/fog/aws/requests/iam/get_login_profile.rb
ns-fog-1.22.11 lib/fog/aws/requests/iam/get_login_profile.rb
ns-fog-1.22.10 lib/fog/aws/requests/iam/get_login_profile.rb
ns-fog-1.22.9 lib/fog/aws/requests/iam/get_login_profile.rb
ns-fog-1.22.8 lib/fog/aws/requests/iam/get_login_profile.rb
ns-fog-1.22.7 lib/fog/aws/requests/iam/get_login_profile.rb