code: function getInvokedFunctionNameWithAliasOrVersion(awsContext) {
    const invokedFunctionArn = awsContext && awsContext.invokedFunctionArn;
    const resources = getArnResources(invokedFunctionArn);
    const functionName = resources.resource;
    const aliasOrVersion = resources.aliasOrVersion;
    return functionName ? aliasOrVersion ? `${functionName}:${aliasOrVersion}` : functionName : '';
  }
docs: Extracts and returns a concatenation of the invoked function name and the invoked alias or version (if any) separated
  by a colon from the given AWS Lambda context's invokedFunctionArn.
  @param {AWSContext} awsContext - the AWS context
  @returns {string} the invoked function name with the invoked alias or version (if any); otherwise an empty string