aws

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: CC0-1.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssumedRoleConfig

func AssumedRoleConfig() aws.Config

AssumedRoleConfig returns an AWS configuration with assumed user role credentials

func SESEmailClient

func SESEmailClient()

SESEmailClient initializes the AWS SES client.

Types

type SESEmail

type SESEmail struct {
	To       string
	Cc       string
	Bcc      string
	Data     types.RawMessage
	FileName string
}

SESEmail represents an email context

func NewSESEmail

func NewSESEmail() *SESEmail

NewSESEmail returns an initialized SES email context.

func (*SESEmail) BuildMessage

func (e *SESEmail) BuildMessage(to, cc, bcc, subject, html, text, fileName string)

BuildMessage builds email context.

func (*SESEmail) Send

func (e *SESEmail) Send() error

Send sends an email using AWS SES.

Jump to

Keyboard shortcuts

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