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?

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则