code: def test_online_store_config():
      config = OnlineStoreConfig(enable_online_store=True)
      assert ordered(config.to_dict()) == ordered(
          {"EnableOnlineStore": True}
      )
  
      config_with_kms = OnlineStoreConfig(
          enable_online_store=True,
          online_store_security_config=OnlineStoreSecurityConfig(
              kms_key_id="kms"
          ),
      )
      assert ordered(config_with_kms.to_dict()) == ordered(
          {
              "EnableOnlineStore": True,
              "SecurityConfig": {
                  "KmsKeyId": "kms",
              },
          }
      )
  
      config_with_inmemory = OnlineStoreConfig(
          enable_online_store=True,
          storage_type=OnlineStoreStorageTypeEnum.IN_MEMORY,
      )
      assert ordered(config_with_inmemory.to_dict()) == ordered(
          {
              "EnableOnlineStore": True,
              "StorageType": "InMemory",
          }
      )
  
      config_with_kms_standard = OnlineStoreConfig(
          enable_online_store=True,
          online_store_security_config=OnlineStoreSecurityConfig(
              kms_key_id="kms"
          ),
          storage_type=OnlineStoreStorageTypeEnum.STANDARD,
      )
      assert ordered(config_with_kms_standard.to_dict()) == ordered(
          {
              "EnableOnlineStore": True,
              "SecurityConfig": {
                  "KmsKeyId": "kms",
              },
              "StorageType": "Standard",
          }
      )
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/feature_store/test_inputs.py
imports: from __future__ import absolute_import
  from sagemaker.feature_store.inputs import OnlineStoreSecurityConfig, OnlineStoreConfig, S3StorageConfig, DataCatalogConfig, OfflineStoreConfig, FeatureParameter, TableFormatEnum, OnlineStoreStorageTypeEnum, Filter, FilterOperatorEnum, Identifier, FeatureValue
label_desc: Use image node_id 3 for calling a global function with example usage: test_online_store_config() without return types