class_docstr: A boto based Active Record class based on convention of CRUD operations.
docstr: Set tags on this ApiObject.
  
  Args:
      resource_arn (str): The arn of the Record
      tags (Optional[Tags]): An array of Tag objects that set to Record
  
  Returns:
      A list of key, value pair objects. i.e. [{"key":"value"}]
docstr_tok: ["Set","tags","on","this","ApiObject",".","Args",":","resource_arn","(","str",")",":","The","arn","of","the","Record","tags","(","Optional","[","Tags","]",")",":","An","array","of","Tag","objects","that","set","to","Record","Returns",":","A","list","of","key",",","value","pair","objects",".","i.e",".","[","{","``","key","''",":","''","value","''","}","]"]
code: def _set_tags(self, resource_arn=None, tags=None):
      """Set tags on this ApiObject.
  
      Args:
          resource_arn (str): The arn of the Record
          tags (Optional[Tags]): An array of Tag objects that set to Record
  
      Returns:
          A list of key, value pair objects. i.e. [{"key":"value"}]
      """
      tag_list = self.sagemaker_session.sagemaker_client.add_tags(
          ResourceArn=resource_arn, Tags=format_tags(tags)
      )["Tags"]
      return tag_list
  
imports: from __future__ import absolute_import
  from sagemaker.apiutils import _boto_functions, _utils
  from sagemaker.utils import format_tags
label_desc: Use image node_id 5 for calling the Record obj's underlying member method code with example usage: obj._set_tags(resource_arn, tags) and returns: tag_list