code: def test_feature_store_update_with_ttl_duration(
      sagemaker_session_mock,
  ):
      feature_group = FeatureGroup(
          name="MyFeatureGroup",
          sagemaker_session=sagemaker_session_mock,
      )
      online_store_config = OnlineStoreConfigUpdate(
          ttl_duration=TtlDuration(unit="Minutes", value=123)
      )
      feature_group.update(online_store_config=online_store_config)
      sagemaker_session_mock.update_feature_group.assert_called_with(
          feature_group_name="MyFeatureGroup",
          feature_additions=None,
          online_store_config=online_store_config.to_dict(),
      )
  
imports: from __future__ import absolute_import
  import pandas
  import pytest
  from mock import Mock, patch, MagicMock
  from botocore.exceptions import ProfileNotFound
  from sagemaker.feature_store.feature_definition import FractionalFeatureDefinition, IntegralFeatureDefinition, StringFeatureDefinition, FeatureTypeEnum, VectorCollectionType, SetCollectionType, ListCollectionType
  from sagemaker.feature_store.feature_group import FeatureGroup, IngestionManagerPandas, AthenaQuery, IngestionError
  from sagemaker.feature_store.inputs import FeatureParameter, DeletionModeEnum, TtlDuration, OnlineStoreConfigUpdate, OnlineStoreStorageTypeEnum
  from tests.unit import SAGEMAKER_CONFIG_FEATURE_GROUP
label_desc: Use image node_id 17 for calling a global function with example usage: test_feature_store_update_with_ttl_duration(sagemaker_session_mock) without return types