Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventBridgeClient ¶ added in v1.0.2
type EventBridgeClient interface {
PutEvents(input *eventbridge.PutEventsInput) (*eventbridge.PutEventsOutput, error)
}
type EventBridgeProducer ¶ added in v1.0.2
type EventBridgeProducer struct {
// contains filtered or unexported fields
}
func NewProducer ¶
func NewProducer(destination *backendconfig.DestinationT, o common.Opts) (*EventBridgeProducer, error)
NewProducer creates a producer based on destination config
func (*EventBridgeProducer) Close ¶ added in v1.2.0
func (*EventBridgeProducer) Close() error
func (*EventBridgeProducer) Produce ¶ added in v1.0.2
func (producer *EventBridgeProducer) Produce(jsonData json.RawMessage, _ interface{}) (int, string, string)
Produce creates a producer and send data to EventBridge.
Click to show internal directories.
Click to hide internal directories.