def update_routing_segmentation_security_policy(
    self,
    source_zone: str,
    destination_zone: str,
    segment_map: dict,
) -> bool:
    """Update security policies configured on Orchestrator for a
    particular pair source and destination segments

    .. list-table::
        :header-rows: 1

        * - Swagger Section
          - Method
          - Endpoint
        * - vrf
          - POST
          - /vrf/config/securityPolicies/{map}

    Refer to Swagger for more details of security map. Example structure
    of security map:

    .. code-block::

        segment_map = {
            "data": {
                "map1": {
                    "<zoneFromId_zoneToId>": {
                        "prio": {
                            "<priorityNumber>": {
                                "match": "object",
                                "misc": "object",
                                "comment": "",
                                "gms_marked": false,
                                "set": "object"
                            }
                        }
                    }
                }
            },
            "settings": {
                "map1": {
                    "logging": {
                        "imp_fw_drop": ""
                    }
                }
            },
            "options": {
                "merge": false,
                "templateApply": false
            }
        }

    :param source_zone: Numeric string id of source segment, e.g. ``0``
    :type source_zone: int
    :param destination_zone: Numeric string id of destination segment,
        e.g. ``0``
    :type destination_zone: int
    :param segment_map: Security map details, see above example. Note
        that the `<zoneFromId_zoneToId>` under the map are the firewall
        zones and not related to the segment ids.
    :type segment_map: dict
    :return: Returns True/False based on successful call
    :rtype: bool
    """
    return self._post(
        "/vrf/config/securityPolicies/{}_{}".format(
            source_zone, destination_zone
        ),
        data=segment_map,
        expected_status=[204],
        return_type="bool",
    )