Module Values.SendEmailRequestSource

A request to send an email message.

Sourcetype nonrec t = {
  1. fromEmailAddress : EmailAddress.t option;
    (*

    The email address that you want to use as the "From" address for the email. The address that you specify has to be verified.

    *)
  2. destination : Destination.t;
    (*

    An object that contains the recipients of the email message.

    *)
  3. replyToAddresses : EmailAddressList.t option;
    (*

    The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address receives the reply.

    *)
  4. feedbackForwardingEmailAddress : EmailAddress.t option;
    (*

    The address that Amazon Pinpoint should send bounce and complaint notifications to.

    *)
  5. content : EmailContent.t;
    (*

    An object that contains the body of the message. You can send either a Simple message or a Raw message.

    *)
  6. emailTags : MessageTagList.t option;
    (*

    A list of tags, in the form of name/value pairs, to apply to an email that you send using the SendEmail operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.

    *)
  7. configurationSetName : ConfigurationSetName.t option;
    (*

    The name of the configuration set that you want to use when sending the email.

    *)
}
Sourceval context_ : string
Sourceval make : ?fromEmailAddress:??? -> ?replyToAddresses:??? -> ?feedbackForwardingEmailAddress:??? -> ?emailTags:??? -> ?configurationSetName:??? -> destination:Destination.t -> content:EmailContent.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of EmailAddress.t | `Structure of (string * [> `String of MessageTagName.t ]) list ] list | `String of EmailAddress.t | `Structure of (string * [> `List of [> `String of EmailAddress.t ] list | `Structure of (string * [> `Blob of RawMessageData.t | `String of TemplateArn.t | `Structure of (string * [> `String of MessageData.t | `Structure of (string * [> `String of MessageData.t ]) list ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t