aws_sdk_rum/client/
get_app_monitor.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetAppMonitor`](crate::operation::get_app_monitor::builders::GetAppMonitorFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::get_app_monitor::builders::GetAppMonitorFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_app_monitor::builders::GetAppMonitorFluentBuilder::set_name):<br>required: **true**<br><p>The app monitor to retrieve information for.</p><br>
7    /// - On success, responds with [`GetAppMonitorOutput`](crate::operation::get_app_monitor::GetAppMonitorOutput) with field(s):
8    ///   - [`app_monitor(Option<AppMonitor>)`](crate::operation::get_app_monitor::GetAppMonitorOutput::app_monitor): <p>A structure containing all the configuration information for the app monitor.</p>
9    /// - On failure, responds with [`SdkError<GetAppMonitorError>`](crate::operation::get_app_monitor::GetAppMonitorError)
10    pub fn get_app_monitor(&self) -> crate::operation::get_app_monitor::builders::GetAppMonitorFluentBuilder {
11        crate::operation::get_app_monitor::builders::GetAppMonitorFluentBuilder::new(self.handle.clone())
12    }
13}