pub struct UpdateMonitoringAlert { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateMonitoringAlert
.
Update the parameters of a model monitor alert.
Implementations§
source§impl UpdateMonitoringAlert
impl UpdateMonitoringAlert
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateMonitoringAlert, AwsResponseRetryClassifier>, SdkError<UpdateMonitoringAlertError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateMonitoringAlert, AwsResponseRetryClassifier>, SdkError<UpdateMonitoringAlertError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateMonitoringAlertOutput, SdkError<UpdateMonitoringAlertError>>
pub async fn send(
self
) -> Result<UpdateMonitoringAlertOutput, SdkError<UpdateMonitoringAlertError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn monitoring_schedule_name(self, input: impl Into<String>) -> Self
pub fn monitoring_schedule_name(self, input: impl Into<String>) -> Self
The name of a monitoring schedule.
sourcepub fn set_monitoring_schedule_name(self, input: Option<String>) -> Self
pub fn set_monitoring_schedule_name(self, input: Option<String>) -> Self
The name of a monitoring schedule.
sourcepub fn monitoring_alert_name(self, input: impl Into<String>) -> Self
pub fn monitoring_alert_name(self, input: impl Into<String>) -> Self
The name of a monitoring alert.
sourcepub fn set_monitoring_alert_name(self, input: Option<String>) -> Self
pub fn set_monitoring_alert_name(self, input: Option<String>) -> Self
The name of a monitoring alert.
sourcepub fn datapoints_to_alert(self, input: i32) -> Self
pub fn datapoints_to_alert(self, input: i32) -> Self
Within EvaluationPeriod
, how many execution failures will raise an alert.
sourcepub fn set_datapoints_to_alert(self, input: Option<i32>) -> Self
pub fn set_datapoints_to_alert(self, input: Option<i32>) -> Self
Within EvaluationPeriod
, how many execution failures will raise an alert.
sourcepub fn evaluation_period(self, input: i32) -> Self
pub fn evaluation_period(self, input: i32) -> Self
The number of most recent monitoring executions to consider when evaluating alert status.
sourcepub fn set_evaluation_period(self, input: Option<i32>) -> Self
pub fn set_evaluation_period(self, input: Option<i32>) -> Self
The number of most recent monitoring executions to consider when evaluating alert status.
Trait Implementations§
source§impl Clone for UpdateMonitoringAlert
impl Clone for UpdateMonitoringAlert
source§fn clone(&self) -> UpdateMonitoringAlert
fn clone(&self) -> UpdateMonitoringAlert
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more