Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(provider core.AwsProvider) (events.EventService, error)
Create new SNS event service plugin
func NewWithClient ¶
func NewWithClient(provider core.AwsProvider, client snsiface.SNSAPI) (events.EventService, error)
Types ¶
type SnsEventService ¶
type SnsEventService struct { events.UnimplementedeventsPlugin // contains filtered or unexported fields }
func (*SnsEventService) ListTopics ¶
func (s *SnsEventService) ListTopics() ([]string, error)
func (*SnsEventService) Publish ¶
func (s *SnsEventService) Publish(topic string, event *events.NitricEvent) error
Publish to a given topic
Click to show internal directories.
Click to hide internal directories.