AWSAPIGatewayHandler
class provides async methods to manage REST APIs, resources, methods, stages, deployments, usage plans, and API keys.
Initialization
apigateway_handler_test.py
Fetches a summary of all API Gateways (REST, HTTP, and WebSocket APIs) with their resources, stages, and deployments.
Retrieves a list of all REST APIs in your account.
Lists all resources (paths/endpoints) for a given REST API.
Returns all stages (e.g., dev, prod) configured for a REST API.
Lists deployments of a given REST API.
Retrieves all HTTP APIs in your account.
Lists all routes (endpoints) for an HTTP API.
Returns all stages (e.g., beta, prod) for an HTTP API.
Lists integrations (like Lambda, VPC Link, etc.) for an HTTP API.
Retrieves all WebSocket APIs in your account.
Lists all routes for a WebSocket API.
Fetches all stages for a WebSocket API.
Lists integrations for a WebSocket API.
Fetches all VPC Links configured for REST APIs.
Fetches all VPC Links configured for HTTP and WebSocket APIs.