common

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AWSConfig *aws.Config

Functions

func GetAWSConfig

func GetAWSConfig() (*aws.Config, error)

func GetDynamoDBClient

func GetDynamoDBClient() (*dynamodb.Client, error)

func NewAPIGatewayManagementClient

func NewAPIGatewayManagementClient(domain, stage string) (*apigatewaymanagementapi.Client, error)

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.

func SendMessage

func SendMessage(connectionID, domain, stage string, data []byte) error

func SetAWSConfig

func SetAWSConfig(region *string, profile *string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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