aws-sdk-sagemaker 1.196.0

AWS SDK for Amazon SageMaker Service
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListMonitoringAlertHistory`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`monitoring_schedule_name(impl Into<String>)`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::monitoring_schedule_name) / [`set_monitoring_schedule_name(Option<String>)`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::set_monitoring_schedule_name):<br>required: **false**<br><p>The name of a monitoring schedule.</p><br>
    ///   - [`monitoring_alert_name(impl Into<String>)`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::monitoring_alert_name) / [`set_monitoring_alert_name(Option<String>)`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::set_monitoring_alert_name):<br>required: **false**<br><p>The name of a monitoring alert.</p><br>
    ///   - [`sort_by(MonitoringAlertHistorySortKey)`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::sort_by) / [`set_sort_by(Option<MonitoringAlertHistorySortKey>)`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::set_sort_by):<br>required: **false**<br><p>The field used to sort results. The default is <code>CreationTime</code>.</p><br>
    ///   - [`sort_order(SortOrder)`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::sort_order) / [`set_sort_order(Option<SortOrder>)`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::set_sort_order):<br>required: **false**<br><p>The sort order, whether <code>Ascending</code> or <code>Descending</code>, of the alert history. The default is <code>Descending</code>.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::set_next_token):<br>required: **false**<br><p>If the result of the previous <code>ListMonitoringAlertHistory</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of alerts in the history, use the token in the next request.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to display. The default is 100.</p><br>
    ///   - [`creation_time_before(DateTime)`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::creation_time_before) / [`set_creation_time_before(Option<DateTime>)`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::set_creation_time_before):<br>required: **false**<br><p>A filter that returns only alerts created on or before the specified time.</p><br>
    ///   - [`creation_time_after(DateTime)`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::creation_time_after) / [`set_creation_time_after(Option<DateTime>)`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::set_creation_time_after):<br>required: **false**<br><p>A filter that returns only alerts created on or after the specified time.</p><br>
    ///   - [`status_equals(MonitoringAlertStatus)`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::status_equals) / [`set_status_equals(Option<MonitoringAlertStatus>)`](crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::set_status_equals):<br>required: **false**<br><p>A filter that retrieves only alerts with a specific status.</p><br>
    /// - On success, responds with [`ListMonitoringAlertHistoryOutput`](crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryOutput) with field(s):
    ///   - [`monitoring_alert_history(Option<Vec::<MonitoringAlertHistorySummary>>)`](crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryOutput::monitoring_alert_history): <p>An alert history for a model monitoring schedule.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryOutput::next_token): <p>If the response is truncated, SageMaker returns this token. To retrieve the next set of alerts, use it in the subsequent request.</p>
    /// - On failure, responds with [`SdkError<ListMonitoringAlertHistoryError>`](crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError)
    pub fn list_monitoring_alert_history(
        &self,
    ) -> crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder {
        crate::operation::list_monitoring_alert_history::builders::ListMonitoringAlertHistoryFluentBuilder::new(self.handle.clone())
    }
}