Giter Site home page Giter Site logo

Comments (5)

mcdwil avatar mcdwil commented on May 28, 2024 1

Sorry for the delayed response. I'd suggest double checking that you're using a REST API and not an HTTP API. Set up asynchronous invocation of the backend Lambda function has also recently been updated to include more examples. Hope that helps!

from amazon-api-gateway-developer-guide.

mcdwil avatar mcdwil commented on May 28, 2024

Hi,

Thanks for reaching out. Were there any specific things that you struggled with or found to be outdated?

from amazon-api-gateway-developer-guide.

notAmine avatar notAmine commented on May 28, 2024

Hi,
Yes I believe since the guide was published there was a change in the API gateway console UI, specifically, I don't see the tabs: Method Request & Integration Request
mentioned in the steps:

Configure Lambda asynchronous invocation in the API Gateway console

For all invocations to be asynchronous:

In Integration Request, add an X-Amz-Invocation-Type header with a static value of 'Event'.

For clients to decide if invocations are asynchronous or synchronous:

In Method Request, add an InvocationType header.

In Integration Request add an X-Amz-Invocation-Type header with a mapping expression of method.request.header.InvocationType.

Clients can include the InvocationType: Event header in API requests for asynchronous invocations or InvocationType: RequestResponse for synchronous invocations.

from amazon-api-gateway-developer-guide.

gulshan avatar gulshan commented on May 28, 2024

I also tried to follow this instructions but UI does not match.
@notAmine and others: were you able to setup this asynchronous lambda invocation? Any idea on how to do it?

from amazon-api-gateway-developer-guide.

notAmine avatar notAmine commented on May 28, 2024

Oh good to know I'm way past that project now but thanks for the closure :)

from amazon-api-gateway-developer-guide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.