from typing import Dict


async def _transform_organizations_policy_object(policy: Dict) -> Dict:
    """Transform a Policy object returned by an AWS Organizations API to a more convenient format

    Args:
        policy: policy dict returned from organizations:DescribePolicy API
    """
    transformed_policy = policy["PolicySummary"]
    transformed_policy["Content"] = policy["Content"]
    return transformed_policy