code: function configureDynamoDBDocClient(context, dynamoDBDocClientOptions) {
    if (!context.dynamoDBDocClient) {
      context.dynamoDBDocClient = setDynamoDBDocClient(dynamoDBDocClientOptions, context);
    }
    return context;
  }
docs: Creates and caches a new AWS DynamoDB.DocumentClient instance with the given DynamoDB.DocumentClient constructor
  options for either the region specified in the given options (if any and region specified) or for the current region
  (if not) UNLESS a previously cached DynamoDB.DocumentClient instance exists and the given options either match the
  options used to construct it or are undefined, empty or only region was specified, in which case no new instance will
  be created and the cached instance will be returned instead. If the given options do not match existing options and
  are not empty and not only region, then logs a warning that the previously cached DynamoDB.DocumentClient instance is
  being replaced and returns the new AWS DynamoDB.DocumentClient instance.
  
  Logging should be configured before calling this function (see {@linkcode logging-utils/logging#configureLogging})
  
  Configures the given context, if it does not already have a context.dynamoDBDocClient, with the cached
  dynamoDBDocClient instance for either the region specified in the given default DynamoDB.DocumentClient options (if
  any and region specified) or for the current region (if not); otherwise with a new AWS.DynamoDB.DocumentClient
  instance created and cached by {@linkcode setDynamoDBDocClient} for the specified or current region using the given
  default DynamoDB.DocumentClient constructor options.
  
  Note that the given default DynamoDB.DocumentClient constructor options will ONLY be used if no cached
  DynamoDB.DocumentClient instance exists.
  
  Logging should be configured before calling this function (see {@linkcode logging-utils/logging#configureLogging})
  
  @param {Object|DynamoDBDocClientAware} context - the context to configure
  @param {Object|undefined} [dynamoDBDocClientOptions] - the optional DynamoDB.DocumentClient constructor options to
  use if no cached DynamoDB.DocumentClient instance exists
  @param {string|undefined} [dynamoDBDocClientOptions.region] - an optional region to use instead of the current region
  @returns {DynamoDBDocClientAware} the given context configured with an AWS.DynamoDB.DocumentClient instance to use