@cfxlabsinc/b2b-services
    Preparing search index...

    Resolves a stable apiStage name → live AWS API Gateway usage-plan id, so a plan id is never persisted. Plans change rarely, so the full list is memoized in-process for a short TTL; call bust to force a refresh.

    Consumed by the customer dashboard (key creation) and the Phase 2b sync service.

    Index

    Constructors

    Methods

    • Resolves a stable apiStage → usage-plan id by matching the plan whose name is ${apiStage} or ${apiStage}-${stack} (the per-API Pulumi naming). Returns null when no plan matches.

      Parameters

      • apiStage: string

      Returns Promise<string | null>