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 Risposta
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
con risposta 5 mesi fa
profile picture
ESPERTO
verificato 20 giorni fa

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