Versions in this module Expand all Collapse all v0 v0.1.0 May 14, 2019 Changes in this version + func FromEventType(et EvtType) string + func GenerateResponse(details *RequestDetails, result map[string]interface{}) ([]byte, error) + func Invoke(details *RequestDetails) (map[string]interface{}, error) + type EvtType int + const EtAwsApiGw + const EtAwsAutoScaling + const EtAwsCloudFront + const EtAwsCloudWatch + const EtAwsCloudWatchLogs + const EtAwsCodeCommit + const EtAwsCodePipeline + const EtAwsCognito + const EtAwsConfig + const EtAwsDynamodb + const EtAwsKinesis + const EtAwsKinesisAnalytics + const EtAwsKinesisFirehose + const EtAwsS3 + const EtAwsSes + const EtAwsSns + const EtAwsSqs + const EtFlogoOnDemand + const EtUnknown + func GetEventType(payload map[string]interface{}) EvtType + func ToEventType(str string) EvtType + type FlogoEvent struct + Flogo json.RawMessage + Payload interface{} + type HandlerSettings struct + EventType string + type LambdaFactory struct + func (t *LambdaFactory) Metadata() *trigger.Metadata + func (t *LambdaFactory) New(config *trigger.Config) (trigger.Trigger, error) + type LambdaTrigger struct + func (t *LambdaTrigger) Initialize(ctx trigger.InitContext) error + func (t *LambdaTrigger) Start() error + func (t *LambdaTrigger) Stop() error + type Output struct + Context map[string]interface{} + Event map[string]interface{} + EventType string + func (o *Output) FromMap(values map[string]interface{}) error + func (o *Output) ToMap() map[string]interface{} + type Reply struct + Data interface{} + Status int + func (r *Reply) FromMap(values map[string]interface{}) error + func (r *Reply) ToMap() map[string]interface{} + type RequestDetails struct + CtxInfo map[string]interface{} + Event map[string]interface{} + EventType EvtType + Payload []byte + func ExtractRequestDetails(ctx context.Context, payload []byte) (*RequestDetails, error)