This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a marketing consent is created.
handler(event: MarketingConsentCreatedEnvelope): void | Promise<void>