API Gateway v2 (HTTP / WebSocket)
HTTP APIs and WebSocket APIs — routes, integrations, authorizers, stages, domain names.
Quick start
import boto3
h = boto3.client("apigatewayv2", endpoint_url="http://localhost:4566",
region_name="us-east-1",
aws_access_key_id="test", aws_secret_access_key="test")
h.create_api(Name="demo", ProtocolType="HTTP")
Supported operations
45 operations exposed by this service as of MiniStack 1.3.14. Extracted directly from the handler dispatch in the source module.
create_api
create_authorizer
create_deployment
create_integration
create_integration_response
create_route
create_route_response
create_stage
DELETE
delete_api
delete_authorizer
delete_deployment
delete_integration
delete_integration_response
delete_route
delete_route_response
delete_stage
GET
get_api
get_apis
get_authorizer
get_authorizers
get_deployment
get_deployments
get_integration
get_integration_response
get_integration_responses
get_integrations
get_route
get_route_response
get_route_responses
get_routes
get_stage
get_stages
get_tags
OPTIONS
PATCH
POST
update_api
update_authorizer
update_integration
update_integration_response
update_route
update_route_response
update_stage
CloudFormation
The CloudFormation engine provisions these resource types via this service:
AWS::ApiGatewayV2::Api
AWS::ApiGatewayV2::Stage
See CloudFormation engine for intrinsic support and lifecycle details.
Known limitations
- AccessLogSettings are not written.
- Automatic CORS configuration is limited — explicit CORS routes are more reliable.
Source
ministack/services/apigateway.py:151-200
Read the source to verify the ops list above — dispatch tables and handler functions are the ground truth.