change_listener_status
Boomi AtomSphere API: Change Listener Status Operation
- boomi_cicd.util.change_listener_status.change_listener_status(listener_id, atom_id, action)[source]
Change the status of a listener for a specific Atom.
This function sends a request to the AtomSphere API to change the status of a listener associated with a particular Atom. The listener ID, Atom ID, and the desired action are provided as parameters.
- Parameters:
listener_id (str) – The ID of the listener to modify.
atom_id (str) – The ID of the Atom associated with the listener.
action (str) – The action to perform on the listener. pause, resume, restart, pause_all, resume_all, or restart_all.
- Returns:
True if the listener status change was successful. If the request fails, an error is raised.
- Return type:
bool