apigw

package
v0.0.0-...-c6cb366 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2020 License: MIT Imports: 5 Imported by: 0

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

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.

Directories

Path Synopsis
Package ws provides common resources for working with Amazon API Gateway WebSockets
Package ws provides common resources for working with Amazon API Gateway WebSockets

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL