Best way to get the latest ingestion for dataset

Before calling CreateIngestion API, we check if the latest ingestion is in progress or finished. If the latest one is in progress, we skip creating new ingestion.

To check the latest ingestion, we call ListIngestions API and get the first one. I noticed that the ListIngestions API calls are getting throttled.

Based on this document, the throttling limit is 5 TPS per user and 25 TPS per account.

What is the recommended way to avoid this throttling issue when checking the latest ingestion?

Hi @hoyeon,
I have not tested this out but referring to that documentation, there is a ‘max results’ section; what if you adjust that so that it’s not trying to return all ingestions?

@Brett The API call already has ‘maxResults=1’

Hi @hoyeon ,

Following up here as it’s been a while since last communication took place on this thread; did you have any additional questions regarding your initial post?

If we do not hear back within the next 3 business days, I’ll close out this topic.

Thank you

I don’t think I got any reasonable answer for my question yet. I need input from QuickSight team for this.

Hi @hoyeon,

I am not sure of the recommended way to avoid this throttling issue besides potentially spacing out the ListIngestions API call a bit further out to avoid the throttling and be within the limits. I would suggest raising a ticket to the AWS team to potentially either find a possible work-around this limitation or request a service limit extension to be able to make more ListIngestions calls for your requirements.

To raise a ticket to AWS please follow the below link:

https://docs.aws.amazon.com/awssupport/latest/user/case-management.html