Sha256: 36a76660e21019acebf7cb735d88649cd9bfa18f28e3c72b81bb7aee75c7ea49

Contents?: true

Size: 897 Bytes

Versions: 29

Compression:

Stored size: 897 Bytes

Contents

module Fog
  module AWS
    class IAM
      class Real

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

        # Remove a user from a group
        # 
        # ==== Parameters
        # * group_name<~String>: name of the group
        # * user_name<~String>: name of user to remove
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'RequestId'<~String> - Id of the request
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/IAM/latest/APIReference/API_RemoveUserFromGroup.html
        #
        def remove_user_from_group(group_name, user_name)
          request(
            'Action'    => 'RemoveUserFromGroup',
            'GroupName' => group_name,
            'UserName'  => user_name,
            :parser     => Fog::Parsers::AWS::IAM::Basic.new
          )
        end

      end
    end
  end
end

Version data entries

29 entries across 29 versions & 5 rubygems

Version Path
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/remove_user_from_group.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/remove_user_from_group.rb
fog-1.1.2 lib/fog/aws/requests/iam/remove_user_from_group.rb
fog_tractical-1.1.4 lib/fog/aws/requests/iam/remove_user_from_group.rb
fog_tractical-1.1.3 lib/fog/aws/requests/iam/remove_user_from_group.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/remove_user_from_group.rb
fog-1.1.1 lib/fog/aws/requests/iam/remove_user_from_group.rb
fog-1.1.0 lib/fog/aws/requests/iam/remove_user_from_group.rb
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/remove_user_from_group.rb
tag-fog-1.0.1 lib/fog/aws/requests/iam/remove_user_from_group.rb
brightbox-cli-0.14.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/remove_user_from_group.rb
brightbox-cli-0.14.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/remove_user_from_group.rb
fog-1.0.0 lib/fog/aws/requests/iam/remove_user_from_group.rb
brightbox-cli-0.13.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/remove_user_from_group.rb
brightbox-cli-0.13.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/remove_user_from_group.rb
fog-0.11.0 lib/fog/aws/requests/iam/remove_user_from_group.rb
fog-0.10.0 lib/fog/aws/requests/iam/remove_user_from_group.rb
fog4encbs-0.9.0.1 lib/fog/aws/requests/iam/remove_user_from_group.rb
fog4encbs-0.9.0 lib/fog/aws/requests/iam/remove_user_from_group.rb
fog-0.9.0 lib/fog/aws/requests/iam/remove_user_from_group.rb