code: def apply_security_groups_to_lb(self, name, security_groups):
          
          params = {'LoadBalancerName' : name}
          self.build_list_params(params, security_groups, 
                                 'SecurityGroups.member.%d')
          return self.get_list('ApplySecurityGroupsToLoadBalancer', 
                               params,
                               None)
docs: Applies security groups to the load balancer.
          Applying security groups that are already registered with the 
          Load Balancer has no effect.
  
          :type name: string
          :param name: The name of the Load Balancer
  
          :type security_groups: List of strings
          :param security_groups: The name of the security group(s) to add.
  
          :rtype: List of strings
          :return: An updated list of security groups for this Load Balancer.