Sha256: 4fcb214c107d1298092e6428b9c35e554f7c7fdb182456cb6e878cbde025cd27

Contents?: true

Size: 802 Bytes

Versions: 2

Compression:

Stored size: 802 Bytes

Contents

module Fog
  module AWS
    class IAM
      class Real

        require 'fog/aws/parsers/iam/basic'

        # Deletes a user's login profile
        #
        # http://docs.amazonwebservices.com/IAM/latest/APIReference/API_DeleteLoginProfile.html
        # ==== Parameters
        # * user_name<~String> - Name of user whose login profile you want to delete
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'RequestId'<~String> - Id of the request
        #
        #
        def delete_login_profile(user_name)
          request({
            'Action'    => 'DeleteLoginProfile',
            'UserName'  => user_name,
            :parser     => Fog::Parsers::AWS::IAM::Basic.new
          })
        end

      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-1.22.0 lib/fog/aws/requests/iam/delete_login_profile.rb
fog-1.21.0 lib/fog/aws/requests/iam/delete_login_profile.rb