Documentation ¶
Overview ¶
Package apigw provides common resources for working with Amazon API Gateway
Package apigw provides common resources for working with Amazon API Gateway
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAPIGatewayManagementClient ¶
func NewAPIGatewayManagementClient(cfg *aws.Config, domain, stage string) *apigatewaymanagementapi.Client
NewAPIGatewayManagementClient creates a new API Gateway Management Client instance from the provided parameters. The new client will have a custom endpoint that resolves to the application's deployed API.
Types ¶
type Response ¶
type Response = events.APIGatewayProxyResponse
Response is a typedef for the response type provided by the SDK.
func BadRequestResponse ¶
func BadRequestResponse() Response
BadRequestResponse returns an Amazon API Gateway Proxy Response configured with the correct HTTP status code.
func InternalServerErrorResponse ¶
func InternalServerErrorResponse() Response
InternalServerErrorResponse returns an Amazon API Gateway Proxy Response configured with the correct HTTP status code.
func OkResponse ¶
func OkResponse() Response
OkResponse returns an Amazon API Gateway Proxy Response configured with the correct HTTP status code.