Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API interface { ListApiDestinationsWithContext(context.Context, *eventbridge.ListApiDestinationsInput, ...request.Option) (*eventbridge.ListApiDestinationsOutput, error) ListEventBusesWithContext(context.Context, *eventbridge.ListEventBusesInput, ...request.Option) (*eventbridge.ListEventBusesOutput, error) ListRulesWithContext(context.Context, *eventbridge.ListRulesInput, ...request.Option) (*eventbridge.ListRulesOutput, error) ListTargetsByRuleWithContext(context.Context, *eventbridge.ListTargetsByRuleInput, ...request.Option) (*eventbridge.ListTargetsByRuleOutput, error) }
API documents the subset of AWS API we actually call
type ListApiDestinations ¶
type ListApiDestinations struct {
API
}
type ListApiDestinationsOutput ¶
type ListApiDestinationsOutput struct {
*eventbridge.ListApiDestinationsOutput
}
func (*ListApiDestinationsOutput) Records ¶
func (o *ListApiDestinationsOutput) Records() (records []*api.Record)
type ListEventBuses ¶
type ListEventBuses struct {
API
}
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)
Click to show internal directories.
Click to hide internal directories.