original_docstring: 
      AWS lambda handler handler. A wrapper with standard boilerplate implementing the
      best practices we've developed
  
      Returns:
          The wrapped lambda function or JSON response function when an error occurs.  When called,
          this wrapped function will return the appropriate output
      
docstring: AWS lambda handler handler. A wrapper with standard boilerplate implementing the
  best practices we've developed
docstring_tokens: AWS lambda handler handler . A wrapper with standard boilerplate implementing the best practices we ' ve developed
code: def default(default_error_message=None):
      """
      AWS lambda handler handler. A wrapper with standard boilerplate implementing the
      best practices we've developed
  
      Returns:
          The wrapped lambda function or JSON response function when an error occurs.  When called,
          this wrapped function will return the appropriate output
      """
  
      def default_handler(handler):
  
          @http_response(default_error_message)
          @account_id_aware
          @client_config_aware
          @configuration_aware('configuration.json', create=True)
          @environ_aware(['NAMESPACE', 'CONFIG'], ['ENCRYPT_KEY_ARN'])
          @pingable
          def handler_wrapper(event, context, **kwargs):
              try:
                  return handler(event, context, **kwargs)
              except Exception as err:
                  logger.error('Lambda Event : {}'.format(event))
                  logger.exception('{}:{}'.format(type(err), err))
                  return {'statusCode': 500, 'body': f'Could not complete {handler.__name__}'}
  
          return handler_wrapper
  
      return default_handler
code_tokens: def default ( default_error_message = None ) : def default_handler ( handler ) : @ http_response ( default_error_message ) @ account_id_aware @ client_config_aware @ configuration_aware ( 'configuration.json' , create = True ) @ environ_aware ( [ 'NAMESPACE' , 'CONFIG' ] , [ 'ENCRYPT_KEY_ARN' ] ) @ pingable def handler_wrapper ( event , context , ** kwargs ) : try : return handler ( event , context , ** kwargs ) except Exception as err : logger . error ( 'Lambda Event : {}' . format ( event ) ) logger . exception ( '{}:{}' . format ( type ( err ) , err ) ) return { 'statusCode' : 500 , 'body' : f'Could not complete {handler.__name__}' } return handler_wrapper return default_handler
short_docstring: AWS lambda handler handler.
short_docstring_tokens: AWS lambda handler handler .
comment: """
      AWS lambda handler handler. A wrapper with standard boilerplate implementing the
      best practices we've developed
  
      Returns:
          The wrapped lambda function or JSON response function when an error occurs.  When called,
          this wrapped function will return the appropriate output
      """