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 天前

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

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

回答问题的准则