lambda

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvokeAPI added in v1.0.0

type InvokeAPI interface {
	Send(ctx context.Context, machineID string, events LambdaEvents) error
}

type LambdaClient

type LambdaClient interface {
	InvokeAPI
}

func GetClient

func GetClient(
	functionName string,
	functionQualifier string,
	awsregion string,
) LambdaClient

type LambdaEvents

type LambdaEvents struct {
	Source string        `json:"source"`
	Items  []interface{} `json:"items"`
}

LambdaEvents is a single event entry that appends the MachineID with the EventUploadEvent details

Jump to

Keyboard shortcuts

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