title: Which type do I return with AWS lambda responses in typescript to suite AWS APIGateway Method Response?
body: <p>I want to build a proper typescript project on AWS lambda.</p>
  
  <p>Right now, I am having the following definitions:</p>
  
  <pre><code>export type HttpResponse = {
    statusCode: number;
    headers: {};
    body: string;
  }
  
  export async function readCollection (event, context, callback): Promise&lt;HttpResponse&gt;{
  
    console.log(event); // Contains incoming request data (e.g., query params, headers and more)
  
    const data =  [
      {
        id: "a7b5bf50-0b5b-11e9-bc65-6bfc39f23288",
        name: "some thing",
        uri: `/notifications/a7b5bf50-0b5b-11e9-bc65-6bfc39f23288`
      }
    ]
  
    const response = {
      statusCode: 200,
      headers: {
      },
      body: JSON.stringify({
        status: "ok",
        data: data
       })
    };
  
    return response;
  };
  </code></pre>
  
  <p><strong>But</strong></p>
  
  <p>Instead of my custom <code>HttpResponse</code> type, I want to use an official definition.</p>
  
  <p><em>But which official type do I import and return?</em></p>