Conceptually they're different things. Events and commands are used to model your system's behaviour and their interaction, and a Lambda function is used to carry out some business logic in response to an invocation request. In your example, the invocation event might be a "command", if the event carries a message that requests some action to be performed. But Lambda functions can be invoked in response to an event too. Commands often follow a request & response pattern, but not all request & response communications are related to processing commands.
Thank you for the video, very instructive and clear.
Glad you enjoyed it!
How is Command is different from Lambda Invoke? You can wait for response from lambda invoke
Conceptually they're different things. Events and commands are used to model your system's behaviour and their interaction, and a Lambda function is used to carry out some business logic in response to an invocation request.
In your example, the invocation event might be a "command", if the event carries a message that requests some action to be performed. But Lambda functions can be invoked in response to an event too.
Commands often follow a request & response pattern, but not all request & response communications are related to processing commands.
awesome content
thank you, glad you liked it!