Documentation ¶
Index ¶
Constants ¶
View Source
const (
InvalidParameterValueErrorString = "InvalidParameterValue"
)
Variables ¶
View Source
var (
ErrorSESClientNotEstablished = errors.Error("could not establish an SES client")
)
Functions ¶
This section is empty.
Types ¶
type ClientWithHelpers ¶
func GetClient ¶
func GetClient(region ...string) *ClientWithHelpers
func NewClient ¶
func NewClient(cfg aws.Config) *ClientWithHelpers
func (*ClientWithHelpers) SendEmail ¶
func (c *ClientWithHelpers) SendEmail(email Email, emfNamespace string, isDebug bool) (*ses.SendRawEmailOutput, error)
type Email ¶
type Email struct { Recipient string `json:"recipient"` FromName string `json:"from_name"` FromEmail string `json:"from_email"` Subject string `json:"subject"` EmailCcName string `json:"email_cc_name"` EmailCcAddress string `json:"email_cc_address"` ReplyToEmailAddress string `json:"reply_to_email_address"` Body EmailBody `json:"body"` Attachments *[]s3.S3UploadResponse `json:"attachments"` }
Click to show internal directories.
Click to hide internal directories.