code: def _build_tag_param_list(params, tags):
      '''
      helper function to build a tag parameter list to send
      '''
      keys = sorted(tags.keys())
      i = 1
      for key in keys:
          value = tags[key]
          params['Tags.member.{0}.Key'.format(i)] = key
          if value is not None:
              params['Tags.member.{0}.Value'.format(i)] = value
          i += f _build_tag_param_list(params, tags):
      '''
      helper function to build a tag parameter list to send
      '''
      keys = sorted(tags.keys())
      i = 1
      for key in keys:
          value = tags[key]
          params['Tags.member.{0}.Key'.format(i)] = key
          if value is not None:
              params['Tags.member.{0}.Value'.format(i)] = value
          i += 1
docs: helper function to build a tag parameter list to send