text: let response;
  
  const tableName = process.env.ECHO_TABLE;
  
  // Create a DocumentClient that represents the query to add an item
  const dynamodb = require('aws-sdk/clients/dynamodb');
  const docClient = new dynamodb.DocumentClient();
  
  const mydateutils = require("/opt/nodejs/mydateutils");
  const fetchhttpdata = require("/opt/nodejs/lib/fetchhttpdata");
  
  exports.lambdaHandler = async (event, context) => {
  
      if (event.httpMethod !== 'GET') {
          throw new Error(`Get only accepts GET method. Input: ${event.httpMethod}`);
      }
  
      const id = event.pathParameters.id;
  
      let item = {};
  
      try {
  
          var params = {
              TableName : tableName,
              Key: { id: id },
            };
            const data = await docClient.get(params).promise();
            item = data.Item;
  
      } catch (err) {
          console.log(err);
          return err;
      }
  
  
      let y = await mydateutils.currentDate();
      let ipaddr = await fetchhttpdata('http://checkip.amazonaws.com/');
  
      try {
          // const ret = await axios(url);
          response = {
              'statusCode': 200,
              'body': JSON.stringify({
                  message: 'Get abra kadabra',
                  layerfunctiony: y,
                  location: ipaddr,
                  item: item
              })
          };
      } catch (err) {
          console.log(err);
          return err;
      }
  
      return response;
  };
  