aws

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dynamo

type Dynamo struct {
	Client           *dynamodb.DynamoDB
	Table            string
	Region           string
	RoleARN          string
	QueryKeyJSONPath *string
	DataJSONPath     *string
	RetrieveQuery    *string
	ClearQuery       *string
	FailQuery        *string
	Key              *string
}

func (*Dynamo) Cleanup

func (d *Dynamo) Cleanup() error

func (*Dynamo) ClearWork

func (d *Dynamo) ClearWork() error

func (*Dynamo) GetWork

func (d *Dynamo) GetWork() (*string, error)

func (*Dynamo) HandleFailure

func (d *Dynamo) HandleFailure() error

func (*Dynamo) Init

func (d *Dynamo) Init() error

func (*Dynamo) LoadEnv

func (d *Dynamo) LoadEnv(prefix string) error

func (*Dynamo) LoadFlags

func (d *Dynamo) LoadFlags() error

type SQS

type SQS struct {
	Client        *sqs.SQS
	Queue         string
	ReceiptHandle string
	Region        string
	RoleARN       string
}

func (*SQS) Cleanup

func (d *SQS) Cleanup() error

func (*SQS) ClearWork

func (d *SQS) ClearWork() error

func (*SQS) GetWork

func (d *SQS) GetWork() (*string, error)

func (*SQS) HandleFailure

func (d *SQS) HandleFailure() error

func (*SQS) Init

func (d *SQS) Init() error

func (*SQS) LoadEnv

func (d *SQS) LoadEnv(prefix string) error

func (*SQS) LoadFlags

func (d *SQS) LoadFlags() error

Jump to

Keyboard shortcuts

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