sg_string_list = ['sg-xxxx1234', 'sg-xxxx5678']
conn = boto.connect_ec2()
conn.modify_network_interface_attribute(interface_id=eni_id, attr=
    'groupSet', value=sg_string_list)
How do I add or remove security groups from ENIs using Boto?