@sts_conn('<STR_LIT>', service_type='<STR_LIT>')<EOL>@rate_limited()<EOL>def get_managed_policy_document(policy_arn, policy_metadata=None, client=None, **kwargs):
if not policy_metadata:<EOL><INDENT>policy_metadata = client.get_policy(PolicyArn=policy_arn)<EOL><DEDENT>policy_document = client.get_policy_version(PolicyArn=policy_arn,<EOL>VersionId=policy_metadata['<STR_LIT>']['<STR_LIT>'])<EOL>return policy_document['<STR_LIT>']['<STR_LIT>']<EOL>
Retrieve the currently active (i.e. 'default') policy version document for a policy.

    :param policy_arn:
    :param policy_metadata: This is a previously fetch managed policy response from boto/cloudaux.
                            This is used to prevent unnecessary API calls to get the initial policy default version id.
    :param client:
    :param kwargs:
    :return: