- 最新
- 最多得票
- 最多評論
Based on the AWS Marketplace documentation, the "License Deprovisioned - Manufacturer" event marks the start of the one-hour final reporting window, not the end.
Here's the correct sequence of events when a customer unsubscribes:
- Your EventBridge bus receives a "Purchase Agreement Ended - Proposer" event
- Shortly after, you receive the "License Deprovisioned - Manufacturer" event
- Upon receiving the "License Deprovisioned - Manufacturer" event, you have one hour to collect and report any unreported usage using the BatchMeterUsage API
- After this one-hour window closes, customer entitlements are fully revoked and usage reporting is no longer accepted
The behavior you're observing in your testing environment—where the "Purchase Agreement Ended - Proposer" event arrives first, followed by the "License Deprovisioned - Manufacturer" event a few seconds or minutes later—aligns with the correct implementation. This is the expected behavior and is not specific to "Limited" visibility or testing mode.
The key point to remember is that the "License Deprovisioned - Manufacturer" event signals when you should begin your final usage collection and reporting process. You must complete all usage reporting within one hour of receiving this event, as the BatchMeterUsage API will reject any usage records submitted after this window closes.
For usage-based products, it's critical to monitor for the "License Deprovisioned - Manufacturer" event and immediately begin collecting and submitting any outstanding usage records to ensure proper billing for the customer's final usage period.
Sources
Managing SaaS subscription events with Amazon EventBridge - AWS Marketplace
Enhance Agreement Notifications in AWS Marketplace with Amazon EventBridge | AWS Marketplace
相關內容
- 已提問 9 個月前
- 已提問 1 年前
