# Access Quicksight assets using Lambda function and boto3

**URL:** <https://community.amazonquick.com/t/access-quicksight-assets-using-lambda-function-and-boto3/42810>\
**Category:** Q&A\
**Tags:** Boto3, api, developer, quick-sight\
**Created:** [February 19, 2025, 1:28pm UTC](https://community.amazonquick.com/t/access-quicksight-assets-using-lambda-function-and-boto3/42810 "2025-02-19T13:28:55Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![WLS-D](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/wls-d/32/36109_2.png) [@WLS-D](https://community.amazonquick.com/u/WLS-D)\
**Post date:** [February 24, 2025, 3:57pm UTC](https://community.amazonquick.com/t/access-quicksight-assets-using-lambda-function-and-boto3/42810/4 "2025-02-24T15:57:19Z")

</div>

Hey @nasa

Thank you for following up!

If its the QS APIs that time out then I recommend trying to break up the job like the post below describes:

> [@Lambda timing out when calling QuickSight APIs for dashboards, datasets, datasources, analyses, and theme](https://community.amazonquick.com/t/lambda-timing-out-when-calling-quicksight-apis-for-dashboards-datasets-datasources-analyses-and-theme/32447):
>
> I am following this blog post on building an admin console on QuickSight to analyze and visualize QuickSight metrics. [Building an administrative console in Amazon QuickSight to analyze usage metrics | AWS Big Data Blog](https://aws.amazon.com/blogs/big-data/building-an-administrative-console-in-amazon-quicksight-to-analyze-usage-metrics/) The AWS Lambda function “Data\_Prepare” is scheduled to run hourly. This function calls QuickSight APIs to get QuickSight namespace, group, user, and assets access permissions information and saves the results to an Amazon S3 bucket. The Lambda stores this information into two dif…

Let me know if you try this and still run into the time out error.

---

_[View the full topic](https://community.amazonquick.com/t/access-quicksight-assets-using-lambda-function-and-boto3/42810)._
