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 réponse
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
répondu il y a 5 mois
profile picture
EXPERT
vérifié il y a 20 jours

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