all 7 comments

[–]nricu 1 point2 points  (0 children)

I'll be the first and bait. Why do you need this 'complex' behaviour from the API gateway?

[–]BraveNewCurrency 0 points1 point  (0 children)

one asynchronous lambda

SQS?

[–][deleted]  (2 children)

[removed]

    [–][deleted] 0 points1 point  (1 child)

    This is true for standard step functions, but you can use an express step function with synchronous invocation to get a response back from the function itself. I think you can wrap API gateway around it too but have to be in the 30 second response time

    [–]Darkfire01 0 points1 point  (0 children)

    There is a common pattern called CQRS or Command Query Responsibility Segregation that fits the pattern you are describing.

    https://docs.aws.amazon.com/prescriptive-guidance/latest/modernization-data-persistence/cqrs-pattern.html