def update_connections(): """ Entry point for the CloudWatch scheduled task to discover and cache services. """ try: connection_cache.update_connection_ddb_items() except ClientError as error: print(error) return True