code: def valid_training_job_config(
      valid_iam_role_arn, valid_vpc_config, valid_environment_config
  ):
      return {
          "EnableNetworkIsolation": True,
          "Environment": valid_environment_config,
          "OutputDataConfig": {"KmsKeyId": "kmskeyid1"},
          "ResourceConfig": {"VolumeKmsKeyId": "volumekmskeyid1"},
          "ProfilerConfig": {"DisableProfiler": False},
          "RoleArn": valid_iam_role_arn,
          "VpcConfig": valid_vpc_config,
      }
  
imports: from __future__ import absolute_import
  import os
  import pytest
  from mock import MagicMock
label_desc: Use image node_id 14 for calling a global function with example usage: valid_training_job_config(valid_iam_role_arn, valid_vpc_config, valid_environment_config) and returns: dict