lambda

package
v0.0.0-...-fee140a Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *lambda.Lambda

New returns a configured Lambda client.

Types

type API

type API struct {
	Client lambdaiface.LambdaAPI
}

API wraps the Lambda API interface.

func (*API) Invoke

func (a *API) Invoke(ctx aws.Context, function string, payload []byte) (resp *lambda.InvokeOutput, err error)

Invoke is a convenience wrapper for synchronously invoking a Lambda function.

func (*API) IsEnabled

func (a *API) IsEnabled() bool

IsEnabled returns true if the client is enabled and ready for use.

func (*API) Setup

func (a *API) Setup()

Setup creates a new Lambda client.

Jump to

Keyboard shortcuts

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