in source/lambda/quicksight-custom-resources/util/quicksight_resource.py [0:0]
def _update_url(self):
if not self.id:
return
if self.type == "analysis":
self.url = f"https://{self.aws_region}.quicksight.aws.amazon.com/sn/analyses/{self.id}"
elif self.type == "dashboard":
self.url = f"https://{self.aws_region}.quicksight.aws.amazon.com/sn/{self.type}s/{self.id}"
else:
# there is no url link for other object types, leaving url as is (not an error case)
pass