Skip to main content

Amazon SES

This library allows you to interact with the AWS SES Service

Prerequisites​

Installation​

npm i @winglibs/ses

Usage​

bring ses;

let emailService = new ses.EmailService(emailIdentities: ["bot@wing.cloud"]);

License​

This library is licensed under the MIT License.​

API Reference​

Table of Contents​

EmailService_tfaws (preflight class) ​

No description

Constructor​

new(props: EmailServiceProps): EmailService_tfaws

Properties​

No properties

Methods​

SignatureDescription
inflight sendEmail(options: SendEmailOptions): str?No description
inflight sendRawEmail(options: SendRawEmailOptions): str?No description

EmailService_sim (preflight class) ​

No description

Constructor​

new(props: EmailServiceProps): EmailService_sim

Properties​

No properties

Methods​

SignatureDescription
inflight sendEmail(options: SendEmailOptions): str?No description
inflight sendRawEmail(options: SendRawEmailOptions): str?No description

EmailService (preflight class) ​

EmailService can used for defining and interacting with AWS SES. When running the simulator in a non test environment, it will use the actual cloud implementation.

Constructor​

new(props: EmailServiceProps): EmailService

Properties​

No properties

Methods​

SignatureDescription
inflight sendEmail(options: SendEmailOptions): str?No description
inflight sendRawEmail(options: SendRawEmailOptions): str?No description

IEmailService (interface) ​

No description

Properties​

No properties

Methods​

SignatureDescription
inflight sendEmail(options: SendEmailOptions): str?No description
inflight sendRawEmail(options: SendRawEmailOptions): str?No description

Body (struct) ​

No description

Properties​

NameTypeDescription
HtmlContent?No description
TextContent?No description

CloudWatchDestination (struct) ​

No description

Properties​

NameTypeDescription
defaultValuestrNo description
dimensionNamestrNo description
valueSourcestrNo description

ConfigurationSet (struct) ​

No description

Properties​

NameTypeDescription
namestrNo description

Content (struct) ​

No description

Properties​

NameTypeDescription
Datastr?No description

Destination (struct) ​

No description

Properties​

NameTypeDescription
BccAddresses
Array?
No description
CcAddresses
Array?
No description
ToAddresses
Array?
No description

EmailServiceProps (struct) ​

No description

Properties​

NameTypeDescription
configurationSetConfigurationSet?No description
emailIdentities
Array?
No description
eventDestinationEventDestination?No description

EventDestination (struct) ​

No description

Properties​

NameTypeDescription
cloudwatchDestinationCloudWatchDestination?No description
matchingTypes
Array
No description
namestrNo description

Message (struct) ​

No description

Properties​

NameTypeDescription
BodyBody?No description
SubjectContent?No description

RawMessage (struct) ​

No description

Properties​

NameTypeDescription
DatastrNo description

SendEmailOptions (struct) ​

No description

Properties​

NameTypeDescription
DestinationDestination?No description
MessageMessage?No description
SourcestrNo description

SendRawEmailOptions (struct) ​

No description

Properties​

NameTypeDescription
Destinations
Array?
No description
RawMessageRawMessageNo description
Sourcestr?No description