aws

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApiSender

func NewApiSender(opts ...apiSenderOpt) (mail.ApiSender, error)

func NewMockSender

func NewMockSender(send func(*sesv2.SendEmailInput) (*sesv2.SendEmailOutput, error)) awsSender

func NewMockStore

func NewMockStore(opts ...mockStoreOpt) awsTemplateStore

func NewTemplateStore

func NewTemplateStore(opts ...awsTemplateStoreOpt) (mail.TemplateStore, error)

func WithAwsSender

func WithAwsSender(sender awsSender) apiSenderOpt

func WithMockCreate

func WithMockCreate(create func(*sesv2.CreateEmailTemplateInput) (*sesv2.CreateEmailTemplateOutput, error)) mockStoreOpt

func WithMockDelete

func WithMockDelete(delete func(*sesv2.DeleteEmailTemplateInput) (*sesv2.DeleteEmailTemplateOutput, error)) mockStoreOpt

func WithMockGet

func WithMockGet(get func(*sesv2.GetEmailTemplateInput) (*sesv2.GetEmailTemplateOutput, error)) mockStoreOpt

func WithMockList

func WithMockList(list func(*sesv2.ListEmailTemplatesInput) (*sesv2.ListEmailTemplatesOutput, error)) mockStoreOpt

func WithMockStore

func WithMockStore(store awsTemplateStore) awsTemplateStoreOpt

func WithMockUpdate

func WithMockUpdate(update func(*sesv2.UpdateEmailTemplateInput) (*sesv2.UpdateEmailTemplateOutput, error)) mockStoreOpt

func WithSesSession

func WithSesSession(ses *sesv2.SESV2) awsTemplateStoreOpt

func WithTemplateStore

func WithTemplateStore(store mail.TemplateStore) apiSenderOpt

Types

This section is empty.

Jump to

Keyboard shortcuts

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