aws

package
v0.77.5 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

README

Amazon Web Services

The set of google cloud services provice procy of various google.golang.org/api APIs

Global variables
  • $aws.accountID
  • $aws.region
Usage:

To check all supported method run

     endly -s='aws/AWS SERVICE'

To check all supported method contract

     endly -s='aws/AWS SERVICE:METHOD'
     
     endly -s='aws/lambda:deploy'

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LambdaInvoke = "lambda:InvokeFunction"

LambdaInvoke represents lambda action permission

Functions

func ArnName

func ArnName(uri string) (string, error)

ArnName returns arn name

func BuildRoutes

func BuildRoutes(service interface{}, clientProvider func(context *endly.Context) (interface{}, error)) ([]*endly.Route, error)

func GetAWSCredentialConfig

func GetAWSCredentialConfig(config *cred.Generic) (*aws.Config, error)

GetAWSCredentialConfig returns *aws.Config for provided credential

func GetClient

func GetClient(context *endly.Context, provider interface{}, client interface{}) error

GetClient get or creates aws client

func GetDynamoDBTableARN

func GetDynamoDBTableARN(context *endly.Context, name string) (*string, error)

GetDynamoDBTableARN returns dynamo db ARN

func GetFunctionConfiguration

func GetFunctionConfiguration(context *endly.Context, functionName string) (*lambda.FunctionConfiguration, error)

GetFunctionConfiguration returns function configuration

func GetKinesisConsumerARN

func GetKinesisConsumerARN(context *endly.Context, name string) (*string, error)

GetKinesisConsumerARN get consumer arn

func GetKinesisStreamARN

func GetKinesisStreamARN(context *endly.Context, name string) (*string, error)

GetKinesisStreamARN returns stream arn

func GetQueueARN

func GetQueueARN(context *endly.Context, name string) (*string, error)

GetQueueARN returns qeueue arn

func GetSqsURL

func GetSqsURL(context *endly.Context, name string) (*string, error)

GetSqsURL returns sqs URL

func GetTopicARN

func GetTopicARN(context *endly.Context, name string) (*string, error)

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 NextID

func NextID() (string, error)

NextID return new SessionID

func SetFunctionInfo

func SetFunctionInfo(key string, function *lambda.FunctionConfiguration, aMap data.Map)

SetFunctionInfo sets function info into map

Types

type OutputEvent

type OutputEvent struct {
	Message string
	Tag     string
	Value   interface{}
}

func NewOutputEvent

func NewOutputEvent(message string, tag string, value interface{}) *OutputEvent

func (*OutputEvent) Messages

func (e *OutputEvent) Messages() []*msg.Message

Jump to

Keyboard shortcuts

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