    # File lib/fog/aws/requests/compute/delete_security_group.rb, line 21
            def delete_security_group(name, id = nil)
              if name && id
                raise Fog::Compute::AWS::Error.new("May not specify both group_name and group_id")
              end
              if name
                type_id    = 'GroupName'
                identifier = name
              else
                type_id    = 'GroupId'
                identifier = id
              end
              request(
                'Action'    => 'DeleteSecurityGroup',
                type_id     => identifier,
                :idempotent => true,
                :parser     => Fog::Parsers::Compute::AWS::Basic.new
              )
            end