original_docstring:  Decorator that will find the Source IP and Client in the event headers.
  
      Args:
          handler (func): a handler function with the signature (event, context) -> result
  
      Returns:
          handler (func): a client config aware lambda handler
      
docstring: Decorator that will find the Source IP and Client in the event headers.
docstring_tokens: Decorator that will find the Source IP and Client in the event headers .
code: def client_config_aware(handler):
      """ Decorator that will find the Source IP and Client in the event headers.
  
      Args:
          handler (func): a handler function with the signature (event, context) -> result
  
      Returns:
          handler (func): a client config aware lambda handler
      """
      def handler_wrapper(event, context, **kwargs):
          client_details = tools.get_client_details(event)
          logger.info(f"{handler.__name__} | {client_details}")
          logger.debug(f'aws_lambda_wrapper| {event}')
          kwargs['client_details'] = client_details
          return handler(event, context, **kwargs)
      return handler_wrapper
code_tokens: def client_config_aware ( handler ) : def handler_wrapper ( event , context , ** kwargs ) : client_details = tools . get_client_details ( event ) logger . info ( f"{handler.__name__} | {client_details}" ) logger . debug ( f'aws_lambda_wrapper| {event}' ) kwargs [ 'client_details' ] = client_details return handler ( event , context , ** kwargs ) return handler_wrapper
short_docstring: Decorator that will find the Source IP and Client in the event headers.
short_docstring_tokens: Decorator that will find the Source IP and Client in the event headers .
comment: """ Decorator that will find the Source IP and Client in the event headers.
  
      Args:
          handler (func): a handler function with the signature (event, context) -> result
  
      Returns:
          handler (func): a client config aware lambda handler
      """