aws_sdk_deadline/client/
update_monitor.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateMonitor`](crate::operation::update_monitor::builders::UpdateMonitorFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`monitor_id(impl Into<String>)`](crate::operation::update_monitor::builders::UpdateMonitorFluentBuilder::monitor_id) / [`set_monitor_id(Option<String>)`](crate::operation::update_monitor::builders::UpdateMonitorFluentBuilder::set_monitor_id):<br>required: **true**<br><p>The unique identifier of the monitor to update.</p><br>
    ///   - [`subdomain(impl Into<String>)`](crate::operation::update_monitor::builders::UpdateMonitorFluentBuilder::subdomain) / [`set_subdomain(Option<String>)`](crate::operation::update_monitor::builders::UpdateMonitorFluentBuilder::set_subdomain):<br>required: **false**<br><p>The new value of the subdomain to use when forming the monitor URL.</p><br>
    ///   - [`display_name(impl Into<String>)`](crate::operation::update_monitor::builders::UpdateMonitorFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::update_monitor::builders::UpdateMonitorFluentBuilder::set_display_name):<br>required: **false**<br><p>The new value to use for the monitor's display name.</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><br>
    ///   - [`role_arn(impl Into<String>)`](crate::operation::update_monitor::builders::UpdateMonitorFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::update_monitor::builders::UpdateMonitorFluentBuilder::set_role_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the new IAM role to use with the monitor.</p><br>
    /// - On success, responds with [`UpdateMonitorOutput`](crate::operation::update_monitor::UpdateMonitorOutput)
    /// - On failure, responds with [`SdkError<UpdateMonitorError>`](crate::operation::update_monitor::UpdateMonitorError)
    pub fn update_monitor(&self) -> crate::operation::update_monitor::builders::UpdateMonitorFluentBuilder {
        crate::operation::update_monitor::builders::UpdateMonitorFluentBuilder::new(self.handle.clone())
    }
}