我无法找到任何这方面的例子,有没有人使用AWSSDK通过C#完成它?
Amazon.CloudFront.AmazonCloudFrontConfig config = new Amazon.CloudFront.AmazonCloudFrontConfig();
config.ServiceURL = "https://cloudfront.amazonaws.com/";
Amazon.CloudFront.AmazonCloudFrontClient cl = new AmazonCloudFrontClient("xx", "xxxx",RegionEndpoint.EUWest1);
cl.GetDistribution("cloudfrontid").Dump();
它总是回答我没有为此帐户设置任何云端分发:
No account found for the given parameters
内部异常:
The remote server returned an error: (403) Forbidden.