Documentation ¶
Index ¶
- Variables
- func ArnName(uri string) (string, error)
- func BuildRoutes(service interface{}, ...) ([]*endly.Route, error)
- func GetAWSCredentialConfig(config *cred.Generic) (*aws.Config, error)
- func GetClient(context *endly.Context, provider interface{}, client interface{}) error
- func GetDynamoDBTableARN(context *endly.Context, name string) (*string, error)
- func GetFunctionConfiguration(context *endly.Context, functionName string) (*lambda.FunctionConfiguration, error)
- func GetKinesisConsumerARN(context *endly.Context, name string) (*string, error)
- func GetKinesisStreamARN(context *endly.Context, name string) (*string, error)
- func GetQueueARN(context *endly.Context, name string) (*string, error)
- func GetSqsURL(context *endly.Context, name string) (*string, error)
- func GetTopicARN(context *endly.Context, name string) (*string, error)
- func InitCredentials(context *endly.Context, rawRequest map[string]interface{}, key interface{}) (*aws.Config, error)
- func NextID() (string, error)
- func SetFunctionInfo(key string, function *lambda.FunctionConfiguration, aMap data.Map)
- type OutputEvent
Constants ¶
This section is empty.
Variables ¶
View Source
var LambdaInvoke = "lambda:InvokeFunction"
LambdaInvoke represents lambda action permission
Functions ¶
func BuildRoutes ¶
func GetAWSCredentialConfig ¶
GetAWSCredentialConfig returns *aws.Config for provided credential
func GetDynamoDBTableARN ¶
GetDynamoDBTableARN returns dynamo db ARN
func GetFunctionConfiguration ¶
func GetFunctionConfiguration(context *endly.Context, functionName string) (*lambda.FunctionConfiguration, error)
GetFunctionConfiguration returns function configuration
func GetKinesisConsumerARN ¶
GetKinesisConsumerARN get consumer arn
func GetKinesisStreamARN ¶
GetKinesisStreamARN returns stream arn
func GetQueueARN ¶
GetQueueARN returns qeueue arn
func GetTopicARN ¶
GetTopicARN returns topic arn
func InitCredentials ¶
func InitCredentials(context *endly.Context, rawRequest map[string]interface{}, key interface{}) (*aws.Config, error)
InitCredentials get or creates aws credential config
func SetFunctionInfo ¶
func SetFunctionInfo(key string, function *lambda.FunctionConfiguration, aMap data.Map)
SetFunctionInfo sets function info into map
Types ¶
type OutputEvent ¶
func NewOutputEvent ¶
func NewOutputEvent(message string, tag string, value interface{}) *OutputEvent
func (*OutputEvent) Messages ¶
func (e *OutputEvent) Messages() []*msg.Message
Click to show internal directories.
Click to hide internal directories.