aws_sdk_deadline/client/
get_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 [`GetMonitor`](crate::operation::get_monitor::builders::GetMonitorFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`monitor_id(impl Into<String>)`](crate::operation::get_monitor::builders::GetMonitorFluentBuilder::monitor_id) / [`set_monitor_id(Option<String>)`](crate::operation::get_monitor::builders::GetMonitorFluentBuilder::set_monitor_id):<br>required: **true**<br><p>The unique identifier for the monitor. This ID is returned by the <code>CreateMonitor</code> operation.</p><br>
7    /// - On success, responds with [`GetMonitorOutput`](crate::operation::get_monitor::GetMonitorOutput) with field(s):
8    ///   - [`monitor_id(String)`](crate::operation::get_monitor::GetMonitorOutput::monitor_id): <p>The unique identifier for the monitor.</p>
9    ///   - [`display_name(String)`](crate::operation::get_monitor::GetMonitorOutput::display_name): <p>The name used to identify the monitor on the Deadline Cloud console.</p><important>  <p>This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.</p> </important>
10    ///   - [`subdomain(String)`](crate::operation::get_monitor::GetMonitorOutput::subdomain): <p>The subdomain used for the monitor URL. The full URL of the monitor is subdomain.Region.deadlinecloud.amazonaws.com.</p>
11    ///   - [`url(String)`](crate::operation::get_monitor::GetMonitorOutput::url): <p>The complete URL of the monitor. The full URL of the monitor is subdomain.Region.deadlinecloud.amazonaws.com.</p>
12    ///   - [`role_arn(String)`](crate::operation::get_monitor::GetMonitorOutput::role_arn): <p>The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the monitor use this role to access Deadline Cloud resources.</p>
13    ///   - [`identity_center_instance_arn(String)`](crate::operation::get_monitor::GetMonitorOutput::identity_center_instance_arn): <p>The Amazon Resource Name (ARN) of the IAM Identity Center instance responsible for authenticating monitor users.</p>
14    ///   - [`identity_center_application_arn(String)`](crate::operation::get_monitor::GetMonitorOutput::identity_center_application_arn): <p>The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the monitor when it was created.</p>
15    ///   - [`created_at(DateTime)`](crate::operation::get_monitor::GetMonitorOutput::created_at): <p>The UNIX timestamp of the date and time that the monitor was created.</p>
16    ///   - [`created_by(String)`](crate::operation::get_monitor::GetMonitorOutput::created_by): <p>The user name of the person that created the monitor.</p>
17    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_monitor::GetMonitorOutput::updated_at): <p>The UNIX timestamp of the last date and time that the monitor was updated.</p>
18    ///   - [`updated_by(Option<String>)`](crate::operation::get_monitor::GetMonitorOutput::updated_by): <p>The user name of the person that last updated the monitor.</p>
19    /// - On failure, responds with [`SdkError<GetMonitorError>`](crate::operation::get_monitor::GetMonitorError)
20    pub fn get_monitor(&self) -> crate::operation::get_monitor::builders::GetMonitorFluentBuilder {
21        crate::operation::get_monitor::builders::GetMonitorFluentBuilder::new(self.handle.clone())
22    }
23}