How to add policy action permission for Location service CalculateRouteMatrix?

0

Using Postman to send a request to "/routes/v0/calculators/{{ROUTE_CALCULATOR}}/calculate/route-matrix" fails with the message:

User: {{USER}} is not authorized to perform: geo:CalculateRouteMatrix on resource: arn:aws:geo:{{RESOURCE}}

In the IAM Policy Editor, there is not an option for CalculateRouteMatrix; only CalculateRoute.

Calling the /calculate/route API does work correctly, so it does not appear to be a problem in my URL or signing process.

Am I doing something wrong or is this a bug?

Thanks

1 個回答
0
已接受的答案

We enabled the CalculateRouteMatrix option in the IAM Policy Editor, and you can select it now.

Thanks for reaching out, let me know if there is anything else we can help you with!

AWS
已回答 2 年前
  • Hi how can i request for geo:GetPlace to be added in the PolicyEditor too?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南