Skip to content

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 ​

MetricValue
PARITY entries audited3 (3 ok)
Feature families1 (1 ok)
Known gapsnone
Deferred items2
Resource leaksclean

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/ratelimit or 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
OperationWireErrorsStatePersist
PostToConnectionokokokok
GetConnectionokokokok
DeleteConnectionokokokok

Audited Feature Families ​

Feature FamilyStatus
admin_diagnosticsok

Released under the MIT License.