angularjs - AWS.IAM is not a constructor JavaScript SDK - Stack Overflow

I'm using the AWS JavaScript SDK.Both - var s3 = new AWS.S3();var dynamodb = new AWS.DynamoDB();W

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:

TypeError: AWS.IAM is not a constructor

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 badges
Add a ment  | 

1 Answer 1

Reset to default 5

This 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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745525480a4631450.html

相关推荐

  • angularjs - AWS.IAM is not a constructor JavaScript SDK - Stack Overflow

    I'm using the AWS JavaScript SDK.Both - var s3 = new AWS.S3();var dynamodb = new AWS.DynamoDB();W

    18小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信