Hi there,
I am getting this error when trying to get a list of refresh schedules with Python boto3 library
I am using Python 3.10.6 and boto3==1.26.73
list_refresh_schedules - Boto3 1.40.47 documentation Sight.Client.list_refresh_schedules
here is the code.
from boto3.session import Session
session = Session(
aws_access_key_id=ACCESS_KEY,
aws_secret_access_key=SECRET_KEY,
aws_session_token=SESSION_TOKEN,
region_name='us-east-1'
)
client = session.client('quicksight')
response = client.list_refresh_schedules(
AwsAccountId=account_id,
DataSetId=dataset_id
)
Any help will be appreciated.