def METHOD_NAME():
    with mock_iam():
        iam_client = boto3.client("iam")
        _ = iam_client.create_policy(
            PolicyName=EXAMPLE_MANAGED_POLICY_NAME,
            PolicyDocument=EXAMPLE_POLICY_DOCUMENT,
            Tags=[
                {
                    "Key": EXAMPLE_TAG_KEY,
                    "Value": EXAMPLE_TAG_VALUE,
                }
            ],
        )
        yield iam_client