HookOperations
Module: carmen_cloud_client.carmen_cloud.client
Bases: _Operations
Webhook operations.
Methods
list
def list(self) -> list[Hook]
Lists the registered hooks.
create
def create(self, hook_url: str, apis: dict[str, bool]) -> Hook
Registers a hook URL; the endpoint must confirm the SNS subscription.
get
def get(self, hook_url: str) -> Hook
Gets one hook by its URL.
update
def update(self, hook_url: str, apis: dict[str, bool]) -> Hook
Changes which APIs' events are sent to the hook.
delete
def delete(self, hook_url: str) -> None
Deletes a hook.