def create_sxp_connections(self, description=None, enabled=None, ip_address=None, sxp_mode=None, sxp_node=None, sxp_peer=None, sxp_version=None, sxp_vpn=None, headers=None, payload=None, active_validation=True, **query_parameters):
    "This API creates a SXP connection.\n\n        Args:\n            description(string): description, property of the\n                request body.\n            enabled(boolean): enabled, property of the request body.\n            ip_address(string): ipAddress, property of the request\n                body.\n            sxp_mode(string): sxpMode, property of the request body.\n            sxp_node(string): sxpNode, property of the request body.\n            sxp_peer(string): sxpPeer, property of the request body.\n            sxp_version(string): sxpVersion, property of the request\n                body.\n            sxp_vpn(string): sxpVpn, property of the request body.\n            headers(dict): Dictionary of HTTP Headers to send with the Request\n                .\n            payload(dict): A JSON serializable Python object to send in the\n                body of the Request.\n            active_validation(bool): Enable/Disable payload validation.\n                Defaults to True.\n            **query_parameters: Additional query parameters (provides\n                support for parameters that may be added in the future).\n\n        Returns:\n\n            RestResponse: REST response with following properties:\n\n              - headers(MyDict): response headers.\n              - response(MyDict): response body as a MyDict object. Access the object's properties by using the dot notation\n                or the bracket notation.\n              - content(bytes): representation of the request's response\n              - text(str): representation of the request's response\n\n        Raises:\n            TypeError: If the parameter types are incorrect.\n            MalformedRequest: If the request body created is invalid.\n            ApiError: If the Identity Services Engine cloud returns an error.\n        "
    check_type(headers, dict)
    if (headers is not None):
        if ('Content-Type' in headers):
            check_type(headers.get('Content-Type'), basestring, may_be_none=False)
        if ('Accept' in headers):
            check_type(headers.get('Accept'), basestring, may_be_none=False)
        if ('ERS-Media-Type' in headers):
            check_type(headers.get('ERS-Media-Type'), basestring)
        if ('X-CSRF-TOKEN' in headers):
            check_type(headers.get('X-CSRF-TOKEN'), basestring)
    with_custom_headers = False
    _headers = (self._session.headers or {})
    if headers:
        _headers.update(dict_of_str(headers))
        with_custom_headers = True
    is_xml_payload = ('application/xml' in _headers.get('Content-Type', []))
    if (active_validation and is_xml_payload):
        check_type(payload, basestring)
    if (active_validation and (not is_xml_payload)):
        check_type(payload, dict)
    _params = {}
    _params.update(query_parameters)
    _params = dict_from_items_with_values(_params)
    path_params = {}
    if is_xml_payload:
        _payload = payload
    else:
        _tmp_payload = {'description': description, 'sxpPeer': sxp_peer, 'sxpVpn': sxp_vpn, 'sxpNode': sxp_node, 'ipAddress': ip_address, 'sxpMode': sxp_mode, 'sxpVersion': sxp_version, 'enabled': enabled}
        _payload = {'ERSSxpConnection': dict_from_items_with_values(_tmp_payload)}
        _payload.update((payload or {}))
        _payload = dict_from_items_with_values(_payload)
    if (active_validation and (not is_xml_payload)):
        self._request_validator('jsd_c371214c759f791c0a522b9eaf5b5_v3_0_0').validate(_payload)
    e_url = '/ers/config/sxpconnections'
    endpoint_full_url = apply_path_params(e_url, path_params)
    request_params = ({'data': _payload} if is_xml_payload else {'json': _payload})
    if with_custom_headers:
        _api_response = self._session.post(endpoint_full_url, params=_params, headers=_headers, **request_params)
    else:
        _api_response = self._session.post(endpoint_full_url, params=_params, **request_params)
    return self._object_factory('bpm_c371214c759f791c0a522b9eaf5b5_v3_0_0', _api_response)
This API creates a SXP connection.

Args:
    description(string): description, property of the
        request body.
    enabled(boolean): enabled, property of the request body.
    ip_address(string): ipAddress, property of the request
        body.
    sxp_mode(string): sxpMode, property of the request body.
    sxp_node(string): sxpNode, property of the request body.
    sxp_peer(string): sxpPeer, property of the request body.
    sxp_version(string): sxpVersion, property of the request
        body.
    sxp_vpn(string): sxpVpn, property of the request body.
    headers(dict): Dictionary of HTTP Headers to send with the Request
        .
    payload(dict): A JSON serializable Python object to send in the
        body of the Request.
    active_validation(bool): Enable/Disable payload validation.
        Defaults to True.
    **query_parameters: Additional query parameters (provides
        support for parameters that may be added in the future).

Returns:

    RestResponse: REST response with following properties:

      - headers(MyDict): response headers.
      - response(MyDict): response body as a MyDict object. Access the object's properties by using the dot notation
        or the bracket notation.
      - content(bytes): representation of the request's response
      - text(str): representation of the request's response

Raises:
    TypeError: If the parameter types are incorrect.
    MalformedRequest: If the request body created is invalid.
    ApiError: If the Identity Services Engine cloud returns an error.
def create_sxp_connections(self, description=None, enabled=None, ip_address=None, sxp_mode=None, sxp_node=None, sxp_peer=None, sxp_version=None, sxp_vpn=None, headers=None, payload=None, active_validation=True, **query_parameters):
    "This API creates a SXP connection.\n\n        Args:\n            description(string): description, property of the\n                request body.\n            enabled(boolean): enabled, property of the request body.\n            ip_address(string): ipAddress, property of the request\n                body.\n            sxp_mode(string): sxpMode, property of the request body.\n            sxp_node(string): sxpNode, property of the request body.\n            sxp_peer(string): sxpPeer, property of the request body.\n            sxp_version(string): sxpVersion, property of the request\n                body.\n            sxp_vpn(string): sxpVpn, property of the request body.\n            headers(dict): Dictionary of HTTP Headers to send with the Request\n                .\n            payload(dict): A JSON serializable Python object to send in the\n                body of the Request.\n            active_validation(bool): Enable/Disable payload validation.\n                Defaults to True.\n            **query_parameters: Additional query parameters (provides\n                support for parameters that may be added in the future).\n\n        Returns:\n\n            RestResponse: REST response with following properties:\n\n              - headers(MyDict): response headers.\n              - response(MyDict): response body as a MyDict object. Access the object's properties by using the dot notation\n                or the bracket notation.\n              - content(bytes): representation of the request's response\n              - text(str): representation of the request's response\n\n        Raises:\n            TypeError: If the parameter types are incorrect.\n            MalformedRequest: If the request body created is invalid.\n            ApiError: If the Identity Services Engine cloud returns an error.\n        "
    check_type(headers, dict)
    if (headers is not None):
        if ('Content-Type' in headers):
            check_type(headers.get('Content-Type'), basestring, may_be_none=False)
        if ('Accept' in headers):
            check_type(headers.get('Accept'), basestring, may_be_none=False)
        if ('ERS-Media-Type' in headers):
            check_type(headers.get('ERS-Media-Type'), basestring)
        if ('X-CSRF-TOKEN' in headers):
            check_type(headers.get('X-CSRF-TOKEN'), basestring)
    with_custom_headers = False
    _headers = (self._session.headers or {})
    if headers:
        _headers.update(dict_of_str(headers))
        with_custom_headers = True
    is_xml_payload = ('application/xml' in _headers.get('Content-Type', []))
    if (active_validation and is_xml_payload):
        check_type(payload, basestring)
    if (active_validation and (not is_xml_payload)):
        check_type(payload, dict)
    _params = {}
    _params.update(query_parameters)
    _params = dict_from_items_with_values(_params)
    path_params = {}
    if is_xml_payload:
        _payload = payload
    else:
        _tmp_payload = {'description': description, 'sxpPeer': sxp_peer, 'sxpVpn': sxp_vpn, 'sxpNode': sxp_node, 'ipAddress': ip_address, 'sxpMode': sxp_mode, 'sxpVersion': sxp_version, 'enabled': enabled}
        _payload = {'ERSSxpConnection': dict_from_items_with_values(_tmp_payload)}
        _payload.update((payload or {}))
        _payload = dict_from_items_with_values(_payload)
    if (active_validation and (not is_xml_payload)):
        self._request_validator('jsd_c371214c759f791c0a522b9eaf5b5_v3_0_0').validate(_payload)
    e_url = '/ers/config/sxpconnections'
    endpoint_full_url = apply_path_params(e_url, path_params)
    request_params = ({'data': _payload} if is_xml_payload else {'json': _payload})
    if with_custom_headers:
        _api_response = self._session.post(endpoint_full_url, params=_params, headers=_headers, **request_params)
    else:
        _api_response = self._session.post(endpoint_full_url, params=_params, **request_params)
    return self._object_factory('bpm_c371214c759f791c0a522b9eaf5b5_v3_0_0', _api_response)