API Gateway Management API
Parity grade: A · SDK aws-sdk-go-v2/service/apigatewaymanagementapi@v1.41.0 · last audited 2026-10-10 (f16ac0367)
Category: Networking & Content Delivery · View PARITY.md on GitHub · All Services
Parity & Coverage
| Metric | Value |
|---|---|
| PARITY entries audited | 3 (3 ok) |
| Feature families | 1 (1 ok) |
| Known gaps | none |
| Deferred items | 2 |
| Resource leaks | clean |
Deferred Items
- ALREADY COVERED BY CHAOS (verified gopherstack-u3ie): ForbiddenException (403, caller-not-authorized) is modeled by the real API for all 3 ops but never returned; gopherstack has no general IAM-authorization-check convention for this service (only eventbridge does something similar, for an unrelated resource-policy reason) and implementing a real cross-cutting auth model is out of scope for a single-service pass. Concretely verified this pass: apigatewaymanagementapi.Handler implements ChaosServiceName() -> "apigatewaymanagementapi" and ChaosOperations() -> h.GetSupportedOperations() -> [PostToConnection, GetConnection, DeleteConnection] (handler.go), and pkgs/chaos.Middleware is wired globally via registry.Use(chaos.Middleware(faultStore)) in internal/app/cli.go, matching purely on the request's SigV4 service name + X-Amz-Target/path + region and injecting an arbitrary caller-specified FaultError{Code, StatusCode} without touching backend state. A fault rule such as {"service":"apigatewaymanagementapi","operation":"PostToConnection","error":{"code":"ForbiddenException","statusCode":403}} deterministically returns that exact typed error to a real client, with zero backend code changes.
- PARTIALLY COVERED (re-confirmed gopherstack-u3ie): LimitExceededException's rate-limiting half ("client sending more than the allowed number of requests per unit of time") is not modeled -- only the "WebSocket client-side buffer is full" half is implemented (that half is directly reachable through the real downstream-channel wiring from apigatewayv2, and is exercised by both PostToConnection and admin Broadcast; see the fixed-bugs notes below). Building a real shared rate-limiter primitive (there is no
pkgs/ratelimitor equivalent in this codebase -- checked pkgs-catalog.md) to emulate genuine request-per-second throttling is a cross-cutting feature spanning every service, not a fix local to this one, and remains out of scope for this pass. In the meantime a caller that specifically wants to exercise the rate-limiting __type value on demand can already do so via the same chaos fault-injection mechanism as ForbiddenException above.
Audited Operations
3 audited operations
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
PostToConnection | ok | ok | ok | ok |
GetConnection | ok | ok | ok | ok |
DeleteConnection | ok | ok | ok | ok |
Audited Feature Families
| Feature Family | Status |
|---|---|
admin_diagnostics | ok |
