Cannot perform API calls in Amazon Connect

0

I'am using Postman to make API requests to Amazon Connect.

I'm blocked because I cannot perform some API actions when my user have full Amazon Connect access without "deny" in the policiy.

For example, I can perform the action GET {{ConnectEndpoint}}/agent-status/{{InstanceId}}

But i cannot perform both below requests : POST {{ConnectEndpoint}}/metrics/userdata/{{InstanceId}} POST {{ConnectEndpoint}}/contact/stop

For both above requests, I included the body request as per the Amazon Documentation, but the error message is : "User: arn:aws:iam::XXXXXX:user/XXXXXX is not authorized to perform: connect: on resource: * with an explicit deny*"

I have full Amazon Connect access on the policy assigned to the user and no other permission are assigned.

Do you know how can I solve this problem ?

Thanks in advance, Regards

1 Antwort
0

https://docs.aws.amazon.com/IAM/latest/UserGuide/troubleshoot_access-denied.html

look for Access denied due to a Service Control Policy – explicit denial

profile picture
beantwortet vor 5 Monaten
profile picture
EXPERTE
überprüft vor 19 Tagen

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen