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 réponse
0
Réponse acceptée

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
répondu il y a 2 ans
  • Hi how can i request for geo:GetPlace to be added in the PolicyEditor too?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions