function resolveMonitoringConfig() {
  var config = {
    port: undefined,
    clientId: undefined,
    enabled: undefined,
    host: undefined
  };
  if (fromEnvironment(config) || fromConfigFile(config)) return toJSType(config);
  return toJSType(config);
}
Resolve client-side monitoring configuration from either environmental variables
or shared config file. Configurations from environmental variables have higher priority
than those from shared config file. The resolver will try to read the shared config file
no matter whether the AWS_SDK_LOAD_CONFIG variable is set.
@api private