pub struct UpdateAlertRequestInput {
pub topic: Option<String>,
pub expression: Option<AlertExpressionInput>,
pub operator: Option<UpdateAlertRequestInputOperator>,
pub threshold: Option<f64>,
pub window_seconds: Option<i64>,
pub for_seconds: Option<i64>,
pub enabled: Option<bool>,
pub silenced_until: Option<Nullable<String>>,
}Fields§
§topic: Option<String>Required same-account, same-region notification topic reference: UUID, canonical CRN or exact name, classified by syntax. Multiple alerts may share a topic. Binding requires notifications:Publish and respects explicit topic-policy denies.
expression: Option<AlertExpressionInput>§operator: Option<UpdateAlertRequestInputOperator>§threshold: Option<f64>§window_seconds: Option<i64>Whole-minute window. Evaluated every minute against the last complete UTC-aligned window.
for_seconds: Option<i64>Continuous breach duration before firing; 0 fires immediately. Missing data, query failures and scheduling gaps reset a pending duration.
enabled: Option<bool>§silenced_until: Option<Nullable<String>>Mute notifications until this instant (at most 30 days ahead). Evaluation continues; null removes silence. An active alert notifies on the next evaluation after silence expires.
Trait Implementations§
Source§impl Clone for UpdateAlertRequestInput
impl Clone for UpdateAlertRequestInput
Source§impl Debug for UpdateAlertRequestInput
impl Debug for UpdateAlertRequestInput
Source§impl Default for UpdateAlertRequestInput
impl Default for UpdateAlertRequestInput
Source§impl<'de> Deserialize<'de> for UpdateAlertRequestInput
impl<'de> Deserialize<'de> for UpdateAlertRequestInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UpdateAlertRequestInput
impl RefUnwindSafe for UpdateAlertRequestInput
impl Send for UpdateAlertRequestInput
impl Sync for UpdateAlertRequestInput
impl Unpin for UpdateAlertRequestInput
impl UnsafeUnpin for UpdateAlertRequestInput
impl UnwindSafe for UpdateAlertRequestInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more