Sha256: 43dd134d69f67219878a9d1650afead2a69f67dd5271eb792e77f20ea42ce7f6

Contents?: true

Size: 765 Bytes

Versions: 29

Compression:

Stored size: 765 Bytes

Contents

module Fog
  module AWS
    class IAM
      class Real

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

        # Delete a group
        # 
        # ==== Parameters
        # * group_name<~String>: name of the group to delete
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'RequestId'<~String> - Id of the request
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/IAM/latest/APIReference/API_DeleteGroup.html
        #
        def delete_group(group_name)
          request(
            'Action'    => 'DeleteGroup',
            'GroupName' => group_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
fog-0.8.2 lib/fog/aws/requests/iam/delete_group.rb
fog-0.8.1 lib/fog/aws/requests/iam/delete_group.rb
fog-0.8.0 lib/fog/aws/requests/iam/delete_group.rb
fog-0.7.2 lib/fog/aws/requests/iam/delete_group.rb
fog-0.7.1 lib/fog/aws/requests/iam/delete_group.rb
fog-0.7.0 lib/fog/aws/requests/iam/delete_group.rb
fog-0.6.0 lib/fog/aws/requests/iam/delete_group.rb
fog-0.5.3 lib/fog/aws/requests/iam/delete_group.rb
fog-0.5.2 lib/fog/aws/requests/iam/delete_group.rb