eventbridge

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(p client.ConfigProvider, opts ...*aws.Config) api.Endpoint

New implements api.ServiceFunc

Types

type API

API documents the subset of AWS API we actually call

type ListApiDestinations

type ListApiDestinations struct {
	API
}

func (*ListApiDestinations) New

func (fn *ListApiDestinations) New(name string, config interface{}) ([]api.Request, error)

New implements api.RequestBuilder

type ListApiDestinationsOutput

type ListApiDestinationsOutput struct {
	*eventbridge.ListApiDestinationsOutput
}

func (*ListApiDestinationsOutput) Records

func (o *ListApiDestinationsOutput) Records() (records []*api.Record)

type ListEventBuses

type ListEventBuses struct {
	API
}

func (*ListEventBuses) New

func (fn *ListEventBuses) New(name string, config interface{}) ([]api.Request, error)

New implements api.RequestBuilder

type ListEventBusesOutput

type ListEventBusesOutput struct {
	*eventbridge.ListEventBusesOutput
}

func (*ListEventBusesOutput) Records

func (o *ListEventBusesOutput) Records() (records []*api.Record)

type ListRuleOutput

type ListRuleOutput struct {
	Rule    *eventbridge.Rule     `json:"rule"`
	Targets []*eventbridge.Target `json:"targets"`
}

ListRuleOutput combines targets as part of the rules, since we want to avoid having to scrape rules twice in order to get targets

func (*ListRuleOutput) Records

func (o *ListRuleOutput) Records() (records []*api.Record)

type ListRules

type ListRules struct {
	API
}

func (*ListRules) New

func (fn *ListRules) New(name string, config interface{}) ([]api.Request, error)

New implements api.RequestBuilder

Jump to

Keyboard shortcuts

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