This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import boto3 | |
| import json | |
| def run_advanced_query(aggregator_name, query): | |
| client = session.client('config') | |
| # Execute the advanced query with pagination | |
| results = [] | |
| next_token = None |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## used to duplicate complex node copy all state and connections | |
| func duplicate_object(object): | |
| var packed_scene=PackedScene.new() | |
| packed_scene.pack(object) | |
| return packed_scene.instantiate() |