lambda

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: MIT Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilteredLogStreamUrl

func FilteredLogStreamUrl(region string, group string, stream string, filter string) string

func ForceLambdaReset

func ForceLambdaReset(ctx context.Context, arn string) stackerr.Error

func Invoke

func Invoke(ctx context.Context, arn string, payload []byte) (responsePayload []byte, err stackerr.Error)

func LogGroupUrl

func LogGroupUrl(region string, group string) string

func LogStreamUrl

func LogStreamUrl(region string, group string, stream string) string

func RequestIdLogStreamUrl

func RequestIdLogStreamUrl(region string, group string, stream string, request_id string) string

func RequestIdLogStreamUrlFromContext

func RequestIdLogStreamUrlFromContext(ctx context.Context) (string, stackerr.Error)

func RequestIdLogStreamUrlFromMeta

func RequestIdLogStreamUrlFromMeta(meta LambdaMeta) string

Types

type LambdaMeta

type LambdaMeta struct {
	LambdaArn       string `json:"lambda_arn"`
	AccountId       string `json:"account_id"`
	Region          string `json:"region"`
	FunctionName    string `json:"function_name"`
	FunctionVersion string `json:"function_version"`
	LogGroupName    string `json:"log_group_name"`
	LogStreamName   string `json:"log_stream_name"`
	RequestId       string `json:"request_id"`
}

func MetaFromContext

func MetaFromContext(ctx context.Context) (LambdaMeta, stackerr.Error)

Jump to

Keyboard shortcuts

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