code: def valid_endpointconfig_config():
      return {
          "AsyncInferenceConfig": {
              "OutputConfig": {"KmsKeyId": "kmskeyid1"}
          },
          "DataCaptureConfig": {"KmsKeyId": "kmskeyid2"},
          "KmsKeyId": "kmskeyid3",
          "ProductionVariants": [
              {"CoreDumpConfig": {"KmsKeyId": "kmskeyid4"}}
          ],
      }
  
imports: from __future__ import absolute_import
  import os
  import pytest
  from mock import MagicMock
label_desc: Use image node_id 19 for calling a global function with example usage: valid_endpointconfig_config() and returns: dict