Invocation

Sync Invocation

notion image
  • Ex: API Gateway, Kinesis Data Firehose, S3 Batch
  • Wait for response from function

Synchronous from poller

  • Ex: DynamoDB Streams, Kinesis, SQS

Async Invocation

notion image
  • Ex: SNS, AWS IoT, S3
  • Queue the events before sending them to the function
  • Don’t wait for response from function
  • Only asynchronous invocation can trigger on-success/on-failure destinations.

Source