1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeMonitor`](crate::operation::describe_monitor::builders::DescribeMonitorFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`monitor_arn(impl Into<String>)`](crate::operation::describe_monitor::builders::DescribeMonitorFluentBuilder::monitor_arn) / [`set_monitor_arn(Option<String>)`](crate::operation::describe_monitor::builders::DescribeMonitorFluentBuilder::set_monitor_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the monitor resource to describe.</p><br>
    /// - On success, responds with [`DescribeMonitorOutput`](crate::operation::describe_monitor::DescribeMonitorOutput) with field(s):
    ///   - [`monitor_name(Option<String>)`](crate::operation::describe_monitor::DescribeMonitorOutput::monitor_name): <p>The name of the monitor.</p>
    ///   - [`monitor_arn(Option<String>)`](crate::operation::describe_monitor::DescribeMonitorOutput::monitor_arn): <p>The Amazon Resource Name (ARN) of the monitor resource described.</p>
    ///   - [`resource_arn(Option<String>)`](crate::operation::describe_monitor::DescribeMonitorOutput::resource_arn): <p>The Amazon Resource Name (ARN) of the auto predictor being monitored.</p>
    ///   - [`status(Option<String>)`](crate::operation::describe_monitor::DescribeMonitorOutput::status): <p>The status of the monitor resource.</p>
    ///   - [`last_evaluation_time(Option<DateTime>)`](crate::operation::describe_monitor::DescribeMonitorOutput::last_evaluation_time): <p>The timestamp of the latest evaluation completed by the monitor.</p>
    ///   - [`last_evaluation_state(Option<String>)`](crate::operation::describe_monitor::DescribeMonitorOutput::last_evaluation_state): <p>The state of the monitor's latest evaluation.</p>
    ///   - [`baseline(Option<Baseline>)`](crate::operation::describe_monitor::DescribeMonitorOutput::baseline): <p>Metrics you can use as a baseline for comparison purposes. Use these values you interpret monitoring results for an auto predictor.</p>
    ///   - [`message(Option<String>)`](crate::operation::describe_monitor::DescribeMonitorOutput::message): <p>An error message, if any, for the monitor.</p>
    ///   - [`creation_time(Option<DateTime>)`](crate::operation::describe_monitor::DescribeMonitorOutput::creation_time): <p>The timestamp for when the monitor resource was created.</p>
    ///   - [`last_modification_time(Option<DateTime>)`](crate::operation::describe_monitor::DescribeMonitorOutput::last_modification_time): <p>The timestamp of the latest modification to the monitor.</p>
    ///   - [`estimated_evaluation_time_remaining_in_minutes(Option<i64>)`](crate::operation::describe_monitor::DescribeMonitorOutput::estimated_evaluation_time_remaining_in_minutes): <p>The estimated number of minutes remaining before the monitor resource finishes its current evaluation.</p>
    /// - On failure, responds with [`SdkError<DescribeMonitorError>`](crate::operation::describe_monitor::DescribeMonitorError)
    pub fn describe_monitor(&self) -> crate::operation::describe_monitor::builders::DescribeMonitorFluentBuilder {
        crate::operation::describe_monitor::builders::DescribeMonitorFluentBuilder::new(self.handle.clone())
    }
}