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 Risposta
0
Risposta accettata

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
con risposta 2 anni fa
  • Hi how can i request for geo:GetPlace to be added in the PolicyEditor too?

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande