amazonka-ses-0.2.1: Amazon Simple Email Service SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.SES.Types

Contents

Synopsis

Service

data SES Source

Version 2010-12-01 of the Amazon Simple Email Service service.

Instances

AWSService SES 
type Er SES = RESTError 
type Sg SES = V4 

Error

data RESTError :: *

Instances

Eq RESTError 
Show RESTError 
Generic RESTError 
AWSErrorCode RESTError 
FromXML RESTError 
type Rep RESTError = D1 D1RESTError (C1 C1_0RESTError ((:*:) ((:*:) (S1 S1_0_0RESTError (Rec0 Text)) (S1 S1_0_1RESTError (Rec0 (Maybe ErrorType)))) ((:*:) (S1 S1_0_2RESTError (Rec0 ErrorCode)) (S1 S1_0_3RESTError (Rec0 Text))))) 

XML

Destination

destination :: Destination Source

Destination constructor.

The fields accessible through corresponding lenses are:

dBccAddresses :: Lens' Destination [Text] Source

The BCC: field(s) of the message.

dCcAddresses :: Lens' Destination [Text] Source

The CC: field(s) of the message.

dToAddresses :: Lens' Destination [Text] Source

The To: field(s) of the message.

IdentityDkimAttributes

idaDkimEnabled :: Lens' IdentityDkimAttributes Bool Source

True if DKIM signing is enabled for email sent from the identity; false otherwise.

idaDkimTokens :: Lens' IdentityDkimAttributes [Text] Source

A set of character strings that represent the domain's identity. Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign email originating from that domain. (This only applies to domain identities, not email address identities.)

For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide.

idaDkimVerificationStatus :: Lens' IdentityDkimAttributes VerificationStatus Source

Describes whether Amazon SES has successfully verified the DKIM DNS records (tokens) published in the domain name's DNS. (This only applies to domain identities, not email address identities.)

Body

body :: Body Source

Body constructor.

The fields accessible through corresponding lenses are:

bHtml :: Lens' Body (Maybe Content) Source

The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.

bText :: Lens' Body (Maybe Content) Source

The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).

IdentityVerificationAttributes

ivaVerificationToken :: Lens' IdentityVerificationAttributes (Maybe Text) Source

The verification token for a domain identity. Null for email address identities.

SendDataPoint

sdpBounces :: Lens' SendDataPoint (Maybe Integer) Source

Number of emails that have bounced.

sdpComplaints :: Lens' SendDataPoint (Maybe Integer) Source

Number of unwanted emails that were rejected by recipients.

sdpDeliveryAttempts :: Lens' SendDataPoint (Maybe Integer) Source

Number of emails that have been enqueued for sending.

sdpRejects :: Lens' SendDataPoint (Maybe Integer) Source

Number of emails rejected by Amazon SES.

sdpTimestamp :: Lens' SendDataPoint (Maybe UTCTime) Source

Time of the data point.

IdentityType

Content

content Source

Arguments

:: Text

cData

-> Content 

Content constructor.

The fields accessible through corresponding lenses are:

cCharset :: Lens' Content (Maybe Text) Source

The character set of the content.

cData :: Lens' Content Text Source

The textual data of the content.

IdentityNotificationAttributes

inaBounceTopic :: Lens' IdentityNotificationAttributes Text Source

The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.

inaComplaintTopic :: Lens' IdentityNotificationAttributes Text Source

The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.

inaDeliveryTopic :: Lens' IdentityNotificationAttributes Text Source

The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.

inaForwardingEnabled :: Lens' IdentityNotificationAttributes Bool Source

Describes whether Amazon SES will forward bounce and complaint notifications as email. true indicates that Amazon SES will forward bounce and complaint notifications as email, while false indicates that bounce and complaint notifications will be published only to the specified bounce and complaint Amazon SNS topics.

RawMessage

rawMessage Source

Arguments

:: Base64

rmData

-> RawMessage 

RawMessage constructor.

The fields accessible through corresponding lenses are:

rmData :: Lens' RawMessage Base64 Source

The raw data of the message. The client must ensure that the message format complies with Internet email standards regarding email header fields, MIME types, MIME encoding, and base64 encoding (if necessary).

The To:, CC:, and BCC: headers in the raw message can contain a group list.

For more information, go to the Amazon SES Developer Guide.

NotificationType

VerificationStatus

Message

message Source

Message constructor.

The fields accessible through corresponding lenses are:

mBody :: Lens' Message Body Source

The message body.

mSubject :: Lens' Message Content Source

The subject of the message: A short summary of the content, which will appear in the recipient's inbox.