code: def create_artifact(self, artifact_name, artifact_type="Dataset"):
      response = self.client.create_artifact(
          ArtifactName=artifact_name,
          Source={
              "SourceUri": "Test-artifact-" + artifact_name,
              "SourceTypes": [
                  {
                      "SourceIdType": "S3ETag",
                      "Value": "Test-artifact-sourceId-value",
                  },
              ],
          },
          ArtifactType=artifact_type,
      )
      self.artifacts.append(response["ArtifactArn"])
  
      return response["ArtifactArn"]
  
file_path: sagemaker-python-sdk/tests/integ/sagemaker/lineage/helpers.py
imports: from __future__ import absolute_import
  import uuid
  import time
  from datetime import datetime
label_desc: Use image node_id 2 for calling the LineageResourceHelper obj's underlying member method code with example usage: obj.create_artifact(artifact_name, artifact_type) and returns: response