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
42 operations exposed by this service as of MiniStack 1.4.21. Extracted directly from the handler dispatch in the source module.
CreateApi
CreateAuthorizer
CreateDeployment
CreateIntegration
CreateIntegrationResponse
CreateRoute
CreateRouteResponse
CreateStage
DeleteApi
DeleteAuthorizer
DeleteDeployment
DeleteIntegration
DeleteIntegrationResponse
DeleteRoute
DeleteRouteResponse
DeleteStage
GetApi
GetApis
GetAuthorizer
GetAuthorizers
GetDeployment
GetDeployments
GetIntegration
GetIntegrationResponse
GetIntegrationResponses
GetIntegrations
GetRoute
GetRouteResponse
GetRouteResponses
GetRoutes
GetStage
GetStages
GetTags
TagResource
UntagResource
UpdateApi
UpdateAuthorizer
UpdateIntegration
UpdateIntegrationResponse
UpdateRoute
UpdateRouteResponse
UpdateStage
CloudFormation
The CloudFormation engine provisions these resource types via this service:
AWS::ApiGatewayV2::Api
AWS::ApiGatewayV2::Authorizer
AWS::ApiGatewayV2::Integration
AWS::ApiGatewayV2::Route
AWS::ApiGatewayV2::Stage
See CloudFormation engine for intrinsic support and lifecycle details.
Known limitations
- AccessLogSettings are not written.
- corsConfiguration is applied automatically — OPTIONS preflight is served and CORS headers are merged into route responses.
Source
ministack/services/apigateway.py
Read the source to verify the ops list above — dispatch tables and handler functions are the ground truth.