code: function fromConfigFile(config) {
    var sharedFileConfig;
    try {
      var configFile = AWS.util.iniLoader.loadFrom({
        isConfig: true,
        filename: process.env[AWS.util.sharedConfigFileEnv]
      });
      var sharedFileConfig = configFile[
        process.env.AWS_PROFILE || AWS.util.defaultProfile
      ];
    } catch (err) {
      return false;
    }
    if (!sharedFileConfig) return config;
    config.port = config.port || sharedFileConfig.csm_port;
    config.enabled = config.enabled || sharedFileConfig.csm_enabled;
    config.clientId = config.clientId || sharedFileConfig.csm_client_id;
    return config.port && config.enabled && config.clientId;
  }
docs: Resolve cofigurations from shared config file with specified role name
  @param {object} client side monitoring config object needs to be resolved
  @returns {boolean} whether resolving configurations is done
  @api private