Running a daily cron to pull queue metrics via the Genesys Cloud Python SDK and dump to S3 with boto3. The script hits the API rate limit after pulling about 50 queues, throwing a 429. I’ve added a 2-second sleep between calls, but the SDK’s internal retry logic seems to be bypassing it. Here’s the loop structure:
for q in queues:
data = client.analytics.get_queue_summary(...)
boto3.client('s3').put_object(...)
time.sleep(2)
The 429 still fires. Is there a way to inject a custom backoff strategy into the SDK client?