古いCloudFront APIバージョンの廃止があるらしい。
Full list of versions to be deprecated on June 6, 2019: 2008-06-30, 2009-04-02, 2009-09-09, 2009-12-01, 2010-03-01, 2010-05-01, 2010-06-01, 2010-07-15, 2010-08-01, 2010-11-01, 2012-03-15, 2012-05-05, 2012-07-01, 2013-05-12, 2013-08-26, 2013-09-27, 2013-11-11, 2013-11-22, 2014-01-31, 2014-05-31, 2014-08-31, 2014-10-21, 2014-11-06, 2015-04-17, 2015-07-27, 2015-09-17, 2015-12-22 For more information regarding this deprecation and the actions you should take, refer to our Developer Forum post here: https://forums.aws.amazon.com/ann.jspa?annID=6697
で、CloudFrontを使っているから、って調べていたんだが、CloudFrontとCloudFront APIは違うんだね。すげー勘違いしていた。。。CloudFront APIは、その名の通り、CloudFrontにAPI接続する仕様。
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.316.0.min.js"></script> <script> var config = new AWS.Config({ accessKeyId : xxxxxxxxxxxxxxx, secretAccessKey : xxxxxxxxxxxxxxx, region : xxxxxxxxxxxx }); cloudfront = new AWS.CloudFront(config) </script>
うーん、なんだかなー