Regarding Boto3 Quicksight CLI APis

Hi Everyone

I am trying to use the update_topic Boto3 API. While doing so, I am constantly getting an AccessDeniedException error. I have checked and can see that update_topic permissions are set in the IAM permissions list for QuicksightCLI credentials.
I am assuming this error has occured because I need to give some more permissions before i can use the update_topic permissions. If this is the case, can you list down the dependencies for this so that i can use this API to give myself permission?

Currently, the topic has the following permissions -

‘Actions’: [‘quicksight:DescribeTopic’, ‘quicksight:DescribeTopicRefresh’, ‘quicksight:ListTopicRefreshSchedules’, ‘quicksight:DescribeTopicRefreshSchedule’, ‘quicksight:DeleteTopic’, ‘quicksight:UpdateTopic’, ‘quicksight:CreateTopicRefreshSchedule’, ‘quicksight:DeleteTopicRefreshSchedule’, ‘quicksight:UpdateTopicRefreshSchedule’, ‘quicksight:DescribeTopicPermissions’, ‘quicksight:UpdateTopicPermissions’]

Please reply at the earliest. This is blocking one of my tasks and it needs urgent resolution. Waiting for your response. Thanks !

Hi @Sahil Thanks for posting your question. I am pinging one of our SAs to make sure your question gets a reply on Monday if we don’t hear back from the community before then. Thx!

@Sahil ,

1/Can you paste the full error of the Access Denied Exception ?
2/Can you confirm the exact IAM policy that is attached to the credentials you are using to call the update_topic API? If you can list the specific policy details that will help validate what permissions are already granted.

Kind regards,
Koushik

1 Like

Hello @Sahil !

Are you able to follow up on @Koushik_Muthanna 's points above?

It has been some time since we have hear from you but would still like to help you find a solution. If we do not hear from you in the next 2 business days this topic will be archived.