Skip to content

CreateTriggerRequest

Source code in docs_src/capo_devops_agent/types/create_trigger_request.py
class CreateTriggerRequest(TypedDict, closed=True):
    agent_space_id: (
        "capo_devops_agent.types.agent_space_identifier.AgentSpaceIdentifier"
    )
    """<p>The unique identifier for the agent space where the Trigger will be created</p>"""
    type: "capo_devops_agent.types.trigger_type.TriggerType"
    """<p>How the new Trigger fires</p>"""
    condition: "capo_devops_agent.types.trigger_condition.TriggerCondition"
    """<p>The condition that fires the new Trigger</p>"""
    action: "capo_devops_agent.types.trigger_action.TriggerAction"
    """<p>The action the new Trigger performs when it fires</p>"""
    status: NotRequired["capo_devops_agent.types.trigger_status.TriggerStatus"]
    """<p>The initial status of the Trigger</p>"""
    client_token: NotRequired["str"]
    """<p>A unique, case-sensitive identifier used for idempotent Trigger creation</p>"""

action instance-attribute

action: TriggerAction

The action the new Trigger performs when it fires

agent_space_id instance-attribute

agent_space_id: AgentSpaceIdentifier

The unique identifier for the agent space where the Trigger will be created

client_token instance-attribute

client_token: NotRequired[str]

A unique, case-sensitive identifier used for idempotent Trigger creation

condition instance-attribute

condition: TriggerCondition

The condition that fires the new Trigger

status instance-attribute

status: NotRequired[TriggerStatus]

The initial status of the Trigger

type instance-attribute

How the new Trigger fires