在 AWS 中,如何使用 SES API 配置收件箱预览文本?

In AWS how do I configure the Inbox Preview Text using the SES API?

我目前正在 Lambda 函数中执行此操作(省略了许多代码行):

var aws = require('aws-sdk');

exports.handler = (event, context, callback) => {
    var ses = new aws.SES();

    var params = {
        Destination: {
            ToAddresses: toAddresses,                     
        },
        Message: {
            Body: {
                Html: {
                    Data: html
                }
            },
            Subject: {
                Data: subject
            }
       },
       Source: source
    };

    var email = ses.sendEmail(params, (error, data) => {
    });
};

当我在 Microsoft Outlook 中收到电子邮件时,它会在主题下方显示以下文字:

(可选)此文本将出现在收件箱预览中,但不会出现在电子邮件正文中。

如何将该文本配置为其他内容?

我在 SendEmail API 中找不到它。我尝试搜索该文本,但在 Google 上也没有看到任何内容。

我没有为此使用 SDK(我自己写的),但根据 API 文档,它应该看起来像这样:

Message: {
        Body: {
            Html: {
                Data: html
+           },
+           Text: {
+               Data: 'add this section and put the preview data here'
            }
        },
        Subject: {
            Data: subject
        }
   },

http://docs.aws.amazon.com/ses/latest/APIReference/API_Body.html

看起来 Outlook 中的收件箱预览文本将基于设置的 HTMLText

试验 Michael 的回答中的 Text 属性 帮助我弄清楚了这一点。在我的 HTML 中,我发现我有这个:

<!-- Visually Hidden Preheader Text : BEGIN -->
<div style="display:none;font-size:1px;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;mso-hide:all;font-family: sans-serif;">
    (Optional) This text will appear in the inbox preview, but not the email body.
</div>

改变解决了我的问题。 *facepalm*(别人给我发的HTML,我没仔细看。)