docs: def register_targets(name,
                       targets,
                       region=None,
                       key=None,
                       keyid=None,
                       profile=None):
      '''
      Register targets to a target froup of an ALB. ``targets`` is either a
      instance id string or a list of instance id's.
  
      Returns:
  
      - ``True``: instance(s) registered successfully
      - ``False``: instance(s) failed to be registered
  
      CLI example:
  
      .. code-block:: bash
  
          salt myminion boto_elbv2.register_targets myelb instance_id
          salt myminion boto_elbv2.register_targets myelb "[instance_id,instance_id]"
      '''
      targetsdict = []
      if isinstance(targets, six.string_types) or isinstance(targets, six.text_type):
          targetsdict.append({"Id": targets})
      else:
          for target in targets:
              targetsdict.append({"Id": target})
      conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
  
      try:
          registered_targets = conn.register_targets(TargetGroupArn=name, Targets=targetsdict)
          if registered_targets:
              return True
          return False
      except ClientError as error:
          log.warning(error)
          return False