ConnectorTypeXMLRPC
class connector_types.connector_type_xmlrpc.ConnectorTypeXMLRPC
Call a XMLRPC service.
Input Schema
-
schema_version = '2026-07-07'Type:
string -
authenticationType:
anyOfOptions: -
schemeThe scheme to use.
httpsconnections are encrypted with TLS/SSL and expose the TLS options.Type:
anyOfOptions: -
hostThe remote hostname or IP address.
Type:
string -
portType:
anyOfOptions: -
pathThe path of the XMLRPC endpoint.
Type:
stringDefault:
/ -
queryWill be urlencoded automatically
Type:
arrayItems: -
fragmentThe fragment of the URI.
Type:
string -
modeType:
anyOfOptions: -
encodingThe encoding to use when binary data is returned by the server.
Type:
stringDefault:
utf-8 -
idempotentWhether re-running this connection from the start is safe (no duplicate side effects). Controls recovery after the connection between Cloudomation and the remote system is lost and later re-established (network glitch, workspace restart, ...): repeatable connections are left running to be reattached or re-run, others are cancelled. Leave unset to let the connector decide based on the operation.
Output Schema
Constants
supports_reconnect = FalseExample
import flow_api
def handler(system: flow_api.System, this: flow_api.Execution, inputs: dict):
result = this.connect(
connector_type='XMLRPC',
authentication={
'authentication_method': 'username_password_basic',
'username': '...',
'password': '...',
},
host='...',
path='...',
mode={
'mode_name': 'call_function',
'function_name': '...',
'args': [...],
'kwargs': {...},
},
).get('output_value')['result']