code: function configureEventAwsContextAndStage(context, event, awsContext) {
    // Delegate most of the work to the `contexts` module's same named function
    contexts.configureEventAwsContextAndStage(context, event, awsContext);
  
    // Derive the consumerId to use and configure the given context with it
    configureConsumerId(context, awsContext);
  
    return context;
  }
docs: Configures the given context with the given event, given AWS context and the resolved stage. In order to resolve the
  stage, stage handling settings and logging must already be configured on the given context (see {@linkcode
  stages#configureStageHandling} for details).
  @param {StreamConsumerContext} context - the context to configure
  @param {AWSEvent} event - the AWS event, which was passed to your lambda
  @param {AWSContext} awsContext - the AWS context, which was passed to your lambda
  @return {StreamConsumerContext} the given context configured with the given AWS event, AWS context & resolved stage
  @throws {Error} if the resolved stage is blank