Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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) InvokeAsync ¶ added in v1.2.0
func (a *API) InvokeAsync(ctx aws.Context, function string, payload []byte) (resp *lambda.InvokeOutput, err error)
InvokeAsync is a convenience wrapper for asynchronously invoking a Lambda function.
Click to show internal directories.
Click to hide internal directories.