def set_security_groups(mounttargetid, securitygroup, keyid=None, key=None, profile=None, region=None, **kwargs):
 client = _get_conn(key=key, keyid=keyid, profile=profile, region=region)
 client.modify_mount_target_security_groups(MountTargetId=mounttargetid, SecurityGroups=securitygroup)

def set_security_groups ( mounttargetid , securitygroup , keyid = None , key = None , profile = None , region = None , ** kwargs ) : client = _get_conn ( key = key , keyid = keyid , profile = profile , region = region ) client . modify_mount_target_security_groups ( MountTargetId = mounttargetid , SecurityGroups = securitygroup )
modifies the set of security groups in effect for a mount target mounttargetid - id of the mount target whose security groups will be modified securitygroups - list of no more than 5 vpc security group ids .