lambda

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListFunctions added in v0.7.0

func ListFunctions(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(httpCtx core.HTTPContext, credentials *aws.Credentials, region string) *Client

func (*Client) Invoke

func (c *Client) Invoke(functionArn string, payload []byte) (*InvokeResult, error)

func (*Client) ListFunctions

func (c *Client) ListFunctions() ([]FunctionSummary, error)

type ErrorResponse

type ErrorResponse struct {
	ErrorType    string   `json:"errorType"`
	ErrorMessage string   `json:"errorMessage"`
	Trace        []string `json:"trace"`
}

type FunctionSummary

type FunctionSummary struct {
	FunctionName string `json:"FunctionName"`
	FunctionArn  string `json:"FunctionArn"`
}

type InvokeResult

type InvokeResult struct {
	FunctionError string
	LogResult     string
	RequestID     string
	Payload       []byte
}

type LambdaLogReport

type LambdaLogReport struct {
	Duration       string `json:"duration"`
	BilledDuration string `json:"billedDuration"`
	MemorySize     string `json:"memorySize"`
	MaxMemoryUsed  string `json:"maxMemoryUsed"`
	InitDuration   string `json:"initDuration"`
}

type RunFunction

type RunFunction struct{}

func (*RunFunction) Actions

func (c *RunFunction) Actions() []core.Action

func (*RunFunction) Cancel

func (c *RunFunction) Cancel(ctx core.ExecutionContext) error

func (*RunFunction) Cleanup added in v0.7.0

func (c *RunFunction) Cleanup(ctx core.SetupContext) error

func (*RunFunction) Color

func (c *RunFunction) Color() string

func (*RunFunction) Configuration

func (c *RunFunction) Configuration() []configuration.Field

func (*RunFunction) Description

func (c *RunFunction) Description() string

func (*RunFunction) Documentation

func (c *RunFunction) Documentation() string

func (*RunFunction) ExampleOutput

func (c *RunFunction) ExampleOutput() map[string]any

func (*RunFunction) Execute

func (c *RunFunction) Execute(ctx core.ExecutionContext) error

func (*RunFunction) HandleAction

func (c *RunFunction) HandleAction(ctx core.ActionContext) error

func (*RunFunction) HandleWebhook

func (c *RunFunction) HandleWebhook(ctx core.WebhookRequestContext) (int, error)

func (*RunFunction) Icon

func (c *RunFunction) Icon() string

func (*RunFunction) Label

func (c *RunFunction) Label() string

func (*RunFunction) Name

func (c *RunFunction) Name() string

func (*RunFunction) OutputChannels

func (c *RunFunction) OutputChannels(configuration any) []core.OutputChannel

func (*RunFunction) ProcessQueueItem

func (c *RunFunction) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)

func (*RunFunction) Setup

func (c *RunFunction) Setup(ctx core.SetupContext) error

type RunFunctionConfiguration

type RunFunctionConfiguration struct {
	FunctionArn string `json:"functionArn" mapstructure:"functionArn"`
	Payload     any    `json:"payload" mapstructure:"payload"`
}

type RunFunctionMetadata

type RunFunctionMetadata struct {
	FunctionArn string `json:"functionArn" mapstructure:"functionArn"`
}

Jump to

Keyboard shortcuts

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