Documentation ¶
Index ¶
- type LambdaFunction
- func NewLambdaFunction(ctx context.Context, uri string) (*LambdaFunction, error)
- func NewLambdaFunctionWithDSN(dsn string, func_name string, func_type string) (*LambdaFunction, error)
- func NewLambdaFunctionWithService(svc *aws_lambda.Lambda, func_name string, func_type string) (*LambdaFunction, error)
- func NewLambdaFunctionWithSession(sess *aws_session.Session, func_name string, func_type string) (*LambdaFunction, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LambdaFunction ¶
type LambdaFunction struct {
// contains filtered or unexported fields
}
func NewLambdaFunction ¶
func NewLambdaFunction(ctx context.Context, uri string) (*LambdaFunction, error)
func NewLambdaFunctionWithDSN ¶
func NewLambdaFunctionWithDSN(dsn string, func_name string, func_type string) (*LambdaFunction, error)
func NewLambdaFunctionWithService ¶
func NewLambdaFunctionWithService(svc *aws_lambda.Lambda, func_name string, func_type string) (*LambdaFunction, error)
func NewLambdaFunctionWithSession ¶
func NewLambdaFunctionWithSession(sess *aws_session.Session, func_name string, func_type string) (*LambdaFunction, error)
func (*LambdaFunction) Invoke ¶
func (f *LambdaFunction) Invoke(ctx context.Context, payload interface{}) (*aws_lambda.InvokeOutput, error)
func (*LambdaFunction) InvokeWithJSON ¶ added in v0.0.7
func (f *LambdaFunction) InvokeWithJSON(ctx context.Context, payload []byte) (*aws_lambda.InvokeOutput, error)
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
Package functionurl provides methods for working with AWS Lambda Function URLs.
|
Package functionurl provides methods for working with AWS Lambda Function URLs. |
Click to show internal directories.
Click to hide internal directories.