admin管理员组文章数量:1428512
I'm using the AWS JavaScript SDK.
Both -
var s3 = new AWS.S3();
var dynamodb = new AWS.DynamoDB();
Works fine.
When I try -
var iam = new AWS.IAM();
I am presented with:
TypeError: AWS.IAM is not a constructor
I'm using the AWS JavaScript SDK.
Both -
var s3 = new AWS.S3();
var dynamodb = new AWS.DynamoDB();
Works fine.
When I try -
var iam = new AWS.IAM();
I am presented with:
Share Improve this question edited Nov 2, 2017 at 18:38 Sean the Bean 5,4125 gold badges39 silver badges40 bronze badges asked Nov 2, 2017 at 17:38 Cameron WilcoxCameron Wilcox 511 silver badge4 bronze badgesTypeError: AWS.IAM is not a constructor
1 Answer
Reset to default 5This means that IAM is not part of the SDK that you downloaded.
In the current SDK builder, IAM is not enabled by default. Go to this page and add the services that you need and download a new version.
SDK Builder
本文标签: angularjsAWSIAM is not a constructor JavaScript SDKStack Overflow
版权声明:本文标题:angularjs - AWS.IAM is not a constructor JavaScript SDK - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745525480a2661816.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论