def METHOD_NAME(self, arn: str) -> List[Dict[str, str]]:
    name = arn.split(":")[-1]
    pipeline = self.pipelines.get(name)
    if not pipeline:
        raise ResourceNotFoundException(
            f"The account with id '{self.account_id}' does not include a pipeline with the name '{name}'"
        )
    tags = [{"key": key, "value": value} for key, value in pipeline.tags.items()]
    return sorted(tags, key=lambda i: i["key"])