Amazon web services – AWSSDK.Athena C# You are not authorized error – How to switch Role in code
I am following https://davidpallmann.hashnode.dev/hello-athena to connect to Athena from VS 2022 C# using AWSSDK.Athena. In C# code var result = await _client.StartQueryExecutionAsync(queryRequest) , I am getting the below error. "You are not authorized to perform: athena:StartQueryExecution on the resource. After…