Aws lambda 如何在AWS SES中使用模板?
使用AWS Lambda中的Boto3版本,我尝试了以下方法:Aws lambda 如何在AWS SES中使用模板?,aws-lambda,boto3,amazon-ses,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\u template()API抛出异常: AttributeError:“SES”对象没有属性“get\u template” 对
import boto3
from botocore.exceptions import ClientError
ses_client = boto3.client('ses')
template = ses_client.get_template(TemplateName='abc')
但是get\u template()
API抛出异常:
AttributeError:“SES”对象没有属性“get\u template”
对于的API文档,我也得到了相同的异常。我甚至试过最新的boto3软件包。相同的API在node.js中运行良好。也许有问题,我用的是pystacheI,我也得到了同样的异常。我甚至试过最新的boto3软件包。相同的API在node.js中运行良好。也许有问题,我用的是皮斯塔什