code: function getRegion() {
    const awsRegion = trim(process.env.AWS_REGION);
    return awsRegion !== "undefined" && awsRegion !== "null" ? awsRegion : undefined;
  }
docs: Gets the region in which this function is running from the `AWS_REGION` environment variable and returns it as is if
  it's neither "undefined" nor "null"; otherwise returns undefined.
  @returns {string|undefined} the AWS region (if it exists); otherwise undefined.