Because of my lack of Python knowledge, I ask community members a simple question.
I’m just wondering how to use a list of Arns parameters(which is ‘dashboards_arns’ in the code) in the start_asset_bundle_export_job API in the blue box.
Is there no way to use ‘dashbords_arns’ parameter in the code or do I have to copy all the arns into the blue box?
Hello @iamboram, there are 2 things I am noticing here that may resolve your issue. First of all, if the dashboards_arns variable is returning a list, than you do not need to put the variable in brackets within your start_asset_bundle_export_job function call. That would return a list of lists and would cause errors. I am also seeing a typo in one of your dashboard_arns variables, it is showing dashboard_anrs, so that could also be an issue here. Let me know if that helps! You should be able to enter the list of arns accordingly.