aws

package
v0.67.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 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 added in v0.44.0

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.Config) (*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 added in v0.29.0

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

GetDynamoDBTableARN returns dynamo db ARN

func GetFunctionConfiguration added in v0.29.0

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

GetFunctionConfiguration returns function configuration

func GetKinesisConsumerARN added in v0.29.0

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

GetKinesisConsumerARN get consumer arn

func GetKinesisStreamARN added in v0.29.0

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

GetKinesisStreamARN returns stream arn

func GetQueueARN added in v0.29.0

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

GetQueueARN returns qeueue arn

func GetSqsURL added in v0.29.0

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

GetSqsURL returns sqs URL

func GetTopicARN added in v0.44.0

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

GetTopicARN returns topic arn

func InitCredentials added in v0.27.0

func InitCredentials(context *endly.Context, rawRequest map[string]interface{}, key interface{}) (*aws.Config, error)

InitCredentials get or creates aws credential config

func NextID added in v0.43.0

func NextID() (string, error)

NextID return new ID

func SetFunctionInfo added in v0.29.0

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