Ravi Sir's Cards › AWS
RequestResponse vs Event
This comparison card contrasts RequestResponse and Event. RequestResponse is described as waits for the result. Event Returns 202 at once. The card pairs RequestResponse with aPIs and tests, and Event with background jobs.
Read card text
What this card says
Invoke type
RequestResponse
Waits for the result.
Event
Returns 202 at once.
Key points
Errors come back to you.
Retries twice, then DLQ.
Example
--invocation-type RequestResponse
Use when
APIs and tests.
Background jobs.