我想要一个创建EventBridge事件的lambda,但是在调用lambda时,我得到了这个错误: User: arn:aws:sts::120293923901:assumed-role/MyApiOrdersPostFunct-I1QOYC7P1R0Z/MyApiOrdersPostFunct-SJtAeYoiaguW is not authorized to perform: events:PutEvents on resource: arn:aws:events:eu-north-1:120293923901:event-bus/MyApiEventBus because no i
我已经设置了一个带有自定义开发人员提供者名称"my.developer“的Cognito Identity Pool。从我的Node Lambda函数中,我调用以下代码:
AWS.config.region = 'ap-northeast-1'; // Region
AWS.config.credentials = new AWS.CognitoIdentityCredentials({
IdentityPoolId: 'ap-northeast-1:*****' // I am using a valid UUID here
});
var
我创建了一个api端点,以便将用户交互数据实时发送到个性化推荐引擎中。但是,当我试图将post请求发送到这个端点时,我会收到一个错误:AccessDeniedException: User: arn:aws:iam::21847893275720:user/demo-user is not authorized to perform: personalize:PutEvents because no identity-based policy allows the personalize:PutEvents action
我该如何解决这个问题?是否需要在putEventsParams中添加其他