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 個回答
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
已回答 5 個月前
profile picture
專家
已審閱 20 天前

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

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

回答問題指南