Cost Explorer
Parity grade: A · SDK aws-sdk-go-v2/service/costexplorer@v1.74.0 · last audited 2026-10-07 (24813b443)
Category: Management & Governance · View PARITY.md on GitHub · All Services
Parity & Coverage
| Metric | Value |
|---|---|
| PARITY entries audited | 37 (37 ok) |
| Feature families | 13 (13 ok) |
| Known gaps | none |
| Structural gaps (can't be emulated) | 5 |
| Deferred items | 2 |
| Resource leaks | clean |
Structural Gaps
These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.
- GetReservationCoverage/Utilization and GetSavingsPlansCoverage GroupBy: groups need per-reservation and per-plan inventory (SUBSCRIPTION_ID, AZ, PLATFORM, TENANCY); the ledger only has service, region, account and usage type.
- GetSavingsPlansCoverage SortBy/Metrics and GetSavingsPlansUtilizationDetails SortBy: the single synthetic result row makes any ordering or metric selection unobservable.
- AnomalyMonitor.LastEvaluatedDate: no anomaly-detection engine evaluates monitors, so there is no evaluation time to report.
- BillingViewArn (11 ops) and ListCostCategoryDefinitions.SupportedResourceTypes: no billing-view service or per-category resource-type model exists to scope results by.
- GetReservationPurchaseRecommendation per OfferingClass: no per-class pricing data exists.
Deferred Items
- Reservation/SavingsPlans numeric-formula fidelity (the specific ratios in backend.go's syntheticServiceCatalog / spCommitmentRatio / riPurchasedCostRatio etc.) -- these produce plausible, internally-consistent numbers but were not cross-checked against any real AWS CE billing behavior; by definition there is no real data to match against, so this is a modeling-quality concern for a future pass, not a correctness bug.
- ListCostCategoryResourceAssociations.CostCategoryResourceAssociations is always empty: it needs a cost-category-to-resource association inventory this emulator does not model.
Audited Operations
37 audited operations
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
CreateAnomalyMonitor | ok | ok | ok | ok |
DeleteAnomalyMonitor | ok | ok | ok | ok |
UpdateAnomalyMonitor | ok | ok | ok | ok |
GetAnomalyMonitors | ok | ok | ok | ok |
CreateAnomalySubscription | ok | ok | ok | ok |
DeleteAnomalySubscription | ok | ok | ok | ok |
UpdateAnomalySubscription | ok | ok | ok | ok |
GetAnomalySubscriptions | ok | ok | ok | ok |
GetAnomalies | ok | ok | ok | ok |
ProvideAnomalyFeedback | ok | ok | ok | ok |
CreateCostCategoryDefinition | ok | ok | ok | ok |
DeleteCostCategoryDefinition | ok | ok | ok | ok |
DescribeCostCategoryDefinition | ok | ok | ok | ok |
ListCostCategoryDefinitions | ok | ok | ok | ok |
UpdateCostCategoryDefinition | ok | ok | ok | ok |
GetCostAndUsage | ok | ok | n/a | — |
GetCostForecast | ok | ok | n/a | — |
GetUsageForecast | ok | ok | n/a | — |
GetDimensionValues | ok | ok | ok | — |
GetTags | ok | ok | ok | — |
TagResource | ok | ok | ok | ok |
UntagResource | ok | ok | ok | ok |
ListTagsForResource | ok | ok | ok | ok |
GetCostAndUsageWithResources | ok | ok | ok | — |
GetCostAndUsageComparisons | ok | ok | n/a | — |
GetCostComparisonDrivers | ok | ok | n/a | — |
GetCostCategories | ok | ok | ok | — |
GetReservationCoverage | ok | ok | ok | — |
GetReservationPurchaseRecommendation | ok | ok | ok | — |
GetReservationUtilization | ok | ok | ok | — |
GetSavingsPlansCoverage | ok | ok | ok | — |
GetSavingsPlansPurchaseRecommendation | ok | ok | ok | — |
GetApproximateUsageRecords | ok | ok | ok | n/a |
ListCostCategoryResourceAssociations | ok | ok | n/a | — |
GetSavingsPlanPurchaseRecommendationDetails | ok | ok | n/a | — |
StartSavingsPlansPurchaseRecommendationGeneration | ok | ok | ok | ok |
ListSavingsPlansPurchaseRecommendationGeneration | ok | ok | ok | ok |
Audited Feature Families
| Feature Family | Status |
|---|---|
AnomalyMonitor | ok |
AnomalySubscription | ok |
GetAnomalies | ok |
CostCategory | ok |
Tags | ok |
CostAndUsageQueries | ok |
CostAndUsageComparisonAndResourceQueries | ok |
ReservationsAndSavingsPlans | ok |
CostAllocationTags | ok |
CommitmentPurchaseAnalysis | ok |
GetApproximateUsageRecords | ok |
ListCostCategoryResourceAssociations | ok |
RouteMatcher | ok |
