如何在AWS SES中使用模板?

时间:2017-10-31 16:53:01

标签: aws-lambda boto3 amazon-ses

使用AWS Lambda中的Boto3版本,我尝试了以下内容:

import boto3
from botocore.exceptions import ClientError

ses_client = boto3.client('ses')
template = ses_client.get_template(TemplateName='abc')

get_template() API会引发异常:

  

AttributeError:'SES'对象没有属性'get_template'

get_template()

的API文档

0 个答案:

没有答案