code: def test_save(sagemaker_session):
      obj = action.Action(
          sagemaker_session,
          action_name="foo",
          description="updated-description",
          status="updated-status",
          properties={"k1": "v1"},
          properties_to_remove=["k2"],
      )
      sagemaker_session.sagemaker_client.update_action.return_value = {}
      obj.save()
  
      sagemaker_session.sagemaker_client.update_action.assert_called_with(
          ActionName="foo",
          Description="updated-description",
          Status="updated-status",
          Properties={"k1": "v1"},
          PropertiesToRemove=["k2"],
      )
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/lineage/test_action.py
imports: from __future__ import absolute_import
  import datetime
  import unittest.mock
  from sagemaker.lineage import action, _api_types
  from sagemaker.lineage._api_types import ActionSource
label_desc: Use image node_id 9 for calling a global function with example usage: test_save(sagemaker_session) without return types