Opening a slot is an intended side effect of canceling the slot. You will see in the diagram at 9d and 11 where the OpenSlot Lambda gets triggered. This is also clearly outlined in the configuration file:
code/Reservation/Reservation/serverless.yml
OpenSlot:handler:src/infrastructure/adapters/web/OpenSlot.handlerdescription:Open a slotevents:# You can activate this to allow for HTTP-based calls#- http:# method: POST# path: /OpenSlot - eventBridge:eventBus:${self:custom.config.domainBusName}# Create new EventBridge buspattern:source: - getaroom.reservation.cancelleddeadLetterQueueArn:Fn::GetAtt: - ReservationBusDlq - ArnretryPolicy:maximumEventAge:3600maximumRetryAttempts:3
And still another boring, but functional use case with no surprises.