# Workflow excerpt; download gfw_monitor.py for the complete runnable example.
# run() and the helpers below are defined in that file, not in the SDK.
body = validated_config(config)
with exclusive_state(state_directory):
    event = run(body, state_directory, Api(server_side_key), Decimal("0.10"))
print(canonical(event))
# The caller's notification bridge must deliver and retry messages.
# An emitted JSON event is NOT a Telegram/email delivery receipt.
