Skip to content

/AWS1/CL_IOU=>CLOSETUNNEL()

About CloseTunnel

Closes a tunnel identified by the unique tunnel id. When a CloseTunnel request is received, we close the WebSocket connections between the client and proxy server so no data can be transmitted.

Requires permission to access the CloseTunnel action.

Method Signature

IMPORTING

Required arguments:

IV_TUNNELID TYPE /AWS1/IOUTUNNELID /AWS1/IOUTUNNELID

The ID of the tunnel to close.

Optional arguments:

IV_DELETE TYPE /AWS1/IOUDELETEFLAG /AWS1/IOUDELETEFLAG

When set to true, IoT Secure Tunneling deletes the tunnel data immediately.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOUCLOSETUNNELRSP /AWS1/CL_IOUCLOSETUNNELRSP