// code here 上面的方法很好,但是有一个重载的AmazonEC2Client方法,它不要求区域指定,但是当我尝试创建没有区域的客户机时,它会给出错误:Amazon.Runtime.AmazonClientException: No RegionEndpoint or ServiceURL configured
using (AmazonEC2Client
当我试图从我的swagger中调试一个端点时,它似乎没有命中控制器,而是显示了"No RegionEndpoint or ServiceURL configured“错误消息。我检查了我的aws设置,regionendpoint设置为"us-east-1“。它已经配置好了,我有权访问。我不知道为什么会出现这个问题。有人能帮上忙吗。
我正在使用appsettings.json进行配置,但我无法将设置放入记录器中。AmazonClientException: No RegionEndpoint or ServiceURL configured
AmazonClientException: No RegionEndpoint or ServiceURL config
我使用aws工具包lambda项目模板创建了一个aws示例。并将该项目发布到Aws。{ /// Default constructor. This constructor is used by Lambda to construct the instance. When invoked in a Lambda environment
/// the AWS credentials will come from