prefect.events.actions
Action
Bases: PrefectBaseModel
, ABC
An Action that may be performed when an Automation is triggered
Source code in src/prefect/events/actions.py
12 13 14 15 16 17 18 19 |
|
describe_for_cli()
A human-readable description of the action
Source code in src/prefect/events/actions.py
17 18 19 |
|
AutomationAction
Bases: Action
Base class for Actions that operate on Automations and need to infer them from events
Source code in src/prefect/events/actions.py
226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 |
|
CallWebhook
Bases: Action
Call a webhook when an Automation is triggered.
Source code in src/prefect/events/actions.py
128 129 130 131 132 133 134 135 136 137 138 |
|
CancelFlowRun
Bases: Action
Cancels a flow run associated with the trigger
Source code in src/prefect/events/actions.py
110 111 112 113 |
|
ChangeFlowRunState
Bases: Action
Changes the state of a flow run associated with the trigger
Source code in src/prefect/events/actions.py
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
|
DeclareIncident
Bases: Action
Declares an incident for the triggering event. Only available on Prefect Cloud
Source code in src/prefect/events/actions.py
268 269 270 271 |
|
DeploymentAction
Bases: Action
Base class for Actions that operate on Deployments and need to infer them from events
Source code in src/prefect/events/actions.py
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
|
DoNothing
Bases: Action
Do nothing when an Automation is triggered
Source code in src/prefect/events/actions.py
22 23 24 25 |
|
PauseAutomation
Bases: AutomationAction
Pauses a Work Queue
Source code in src/prefect/events/actions.py
256 257 258 259 |
|
PauseDeployment
Bases: DeploymentAction
Pauses the given Deployment
Source code in src/prefect/events/actions.py
79 80 81 82 |
|
PauseWorkPool
Bases: WorkPoolAction
Pauses a Work Pool
Source code in src/prefect/events/actions.py
172 173 174 175 |
|
PauseWorkQueue
Bases: WorkQueueAction
Pauses a Work Queue
Source code in src/prefect/events/actions.py
214 215 216 217 |
|
ResumeAutomation
Bases: AutomationAction
Resumes a Work Queue
Source code in src/prefect/events/actions.py
262 263 264 265 |
|
ResumeDeployment
Bases: DeploymentAction
Resumes the given Deployment
Source code in src/prefect/events/actions.py
85 86 87 88 |
|
ResumeFlowRun
Bases: Action
Resumes a flow run associated with the trigger
Source code in src/prefect/events/actions.py
116 117 118 119 |
|
ResumeWorkPool
Bases: WorkPoolAction
Resumes a Work Pool
Source code in src/prefect/events/actions.py
178 179 180 181 |
|
ResumeWorkQueue
Bases: WorkQueueAction
Resumes a Work Queue
Source code in src/prefect/events/actions.py
220 221 222 223 |
|
RunDeployment
Bases: DeploymentAction
Runs the given deployment with the given parameters
Source code in src/prefect/events/actions.py
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
|
SendNotification
Bases: Action
Send a notification when an Automation is triggered
Source code in src/prefect/events/actions.py
141 142 143 144 145 146 147 148 149 |
|
SuspendFlowRun
Bases: Action
Suspends a flow run associated with the trigger
Source code in src/prefect/events/actions.py
122 123 124 125 |
|
WorkPoolAction
Bases: Action
Base class for Actions that operate on Work Pools and need to infer them from events
Source code in src/prefect/events/actions.py
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 |
|
WorkQueueAction
Bases: Action
Base class for Actions that operate on Work Queues and need to infer them from events
Source code in src/prefect/events/actions.py
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 |
|