code: def test_s3_uri_artifacts(sagemaker_session):
      obj = artifact.Artifact(
          sagemaker_session=sagemaker_session,
          artifact_arn="test-arn",
          artifact_name="foo",
          source_uri="s3://abced",
          properties={"k1": "v1", "k2": "v2"},
          properties_to_remove=["r1"],
      )
      sagemaker_session.sagemaker_client.list_artifacts.side_effect = [
          {
              "ArtifactSummaries": [
                  {
                      "ArtifactArn": "A",
                      "ArtifactName": "B",
                      "Source": {
                          "SourceUri": "D",
                          "source_types": [
                              {
                                  "SourceIdType": "source_id_type",
                                  "Value": "value1",
                              }
                          ],
                      },
                      "ArtifactType": "test-type",
                  }
              ],
              "NextToken": "100",
          },
      ]
      result = obj.s3_uri_artifacts(s3_uri="s3://abced")
  
      expected_calls = [
          unittest.mock.call(SourceUri="s3://abced"),
      ]
      expected_result = {
          "ArtifactSummaries": [
              {
                  "ArtifactArn": "A",
                  "ArtifactName": "B",
                  "Source": {
                      "SourceUri": "D",
                      "source_types": [
                          {
                              "SourceIdType": "source_id_type",
                              "Value": "value1",
                          }
                      ],
                  },
                  "ArtifactType": "test-type",
              }
          ],
          "NextToken": "100",
      }
      assert (
          expected_calls
          == sagemaker_session.sagemaker_client.list_artifacts.mock_calls
      )
      assert result == expected_result
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/lineage/test_artifact.py
imports: from __future__ import absolute_import
  import datetime
  import unittest.mock
  from sagemaker.lineage import artifact, _api_types
label_desc: Use image node_id 15 for calling a global function with example usage: test_s3_uri_artifacts(sagemaker_session) without return types