在创建亚马逊路线53客户端异常 [英] Amazon Route 53 Client Exception on creation
本文介绍了在创建亚马逊路线53客户端异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有亚马逊SDK一个问题,.NET,同时创造一个Amazon路由53客户端调用
I have a problem with amazon sdk for .net while creating an Amazon Route 53 Client calling
AWSClientFactory.CreateAmazonRoute53Client(AccessKeyID, SecretAccessKeyID);
我得到讲述了一个异常
I get an Exception that tells
没有RegionEndPoint或serviceURL中配置。
"No RegionEndPoint or ServiceURL configured".
也试过区域端点表示存在的http://docs.aws.amazon.com/general/latest/gr/rande.html#r53_region一>没有结果。
Also tried the region endpoint indicated there http://docs.aws.amazon.com/general/latest/gr/rande.html#r53_region with no result.
任何人可以帮助我吗?
推荐答案
我用时
objClient = New AmazonS3Client(AccessKeyID, SecretAccessKeyID)
我解决了使用:
objClient = New AmazonS3Client(AccessKeyID, SecretAccessKeyID, Amazon.RegionEndpoint.USEast1)
(我的S3是USEast1 = US标准)
(My s3 was the USEast1 = US Standard)
这篇关于在创建亚马逊路线53客户端异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文