def delete_security_group(self, name=None, group_id=None):
        params = {}

        if name is not None:
            params['GroupName'] = name
        elif group_id is not None:
            params['GroupId'] = group_id

        return self.get_status('DeleteSecurityGroup', params, verb='POST')
Delete a security group from your account.
dataset/ETHPy150Open darcyliu/storyboard/boto/ec2/connection.py/EC2Connection.delete_security_group