event

package
v1.18.1-0...-a88828d Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(cfg aws.Config, eventBusName string) *Client

func (*Client) SendLpaUpdated

func (c *Client) SendLpaUpdated(ctx context.Context, event LpaUpdated) error

type EventBridgeClient

type EventBridgeClient interface {
	PutEvents(ctx context.Context, params *eventbridge.PutEventsInput, optFns ...func(*eventbridge.Options)) (*eventbridge.PutEventsOutput, error)
}

type LpaUpdated

type LpaUpdated struct {
	Uid        string `json:"uid"`
	ChangeType string `json:"changeType"`
}

Jump to

Keyboard shortcuts

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