events

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Events

type Events struct {
	// contains filtered or unexported fields
}

func (*Events) DeleteRule

func (service *Events) DeleteRule(name string) error

func (*Events) PutRuleRate

func (service *Events) PutRuleRate(name, rate string) (*eventbridge.PutRuleOutput, error)

func (*Events) PutTarget

func (service *Events) PutTarget(rule, id, queue, input string) (*eventbridge.PutTargetsOutput, error)

func (*Events) RemoveTarget

func (service *Events) RemoveTarget(rule, id string) error

type IClient

type IClient interface {
	PutRuleRate(name, rate string) (*eventbridge.PutRuleOutput, error)
	DeleteRule(name string) error
	PutTarget(rule, id, queue, input string) (*eventbridge.PutTargetsOutput, error)
	RemoveTarget(rule, id string) error
}

func New

func New(config *config.AWS) (IClient, error)

Jump to

Keyboard shortcuts

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