aws_sdk_applicationinsights/client/update_problem.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 [`UpdateProblem`](crate::operation::update_problem::builders::UpdateProblemFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`problem_id(impl Into<String>)`](crate::operation::update_problem::builders::UpdateProblemFluentBuilder::problem_id) / [`set_problem_id(Option<String>)`](crate::operation::update_problem::builders::UpdateProblemFluentBuilder::set_problem_id):<br>required: **true**<br><p>The ID of the problem.</p><br>
7 /// - [`update_status(UpdateStatus)`](crate::operation::update_problem::builders::UpdateProblemFluentBuilder::update_status) / [`set_update_status(Option<UpdateStatus>)`](crate::operation::update_problem::builders::UpdateProblemFluentBuilder::set_update_status):<br>required: **false**<br><p>The status of the problem. Arguments can be passed for only problems that show a status of <code>RECOVERING</code>.</p><br>
8 /// - [`visibility(Visibility)`](crate::operation::update_problem::builders::UpdateProblemFluentBuilder::visibility) / [`set_visibility(Option<Visibility>)`](crate::operation::update_problem::builders::UpdateProblemFluentBuilder::set_visibility):<br>required: **false**<br><p>The visibility of a problem. When you pass a value of <code>IGNORED</code>, the problem is removed from the default view, and all notifications for the problem are suspended. When <code>VISIBLE</code> is passed, the <code>IGNORED</code> action is reversed.</p><br>
9 /// - On success, responds with [`UpdateProblemOutput`](crate::operation::update_problem::UpdateProblemOutput)
10 /// - On failure, responds with [`SdkError<UpdateProblemError>`](crate::operation::update_problem::UpdateProblemError)
11 pub fn update_problem(&self) -> crate::operation::update_problem::builders::UpdateProblemFluentBuilder {
12 crate::operation::update_problem::builders::UpdateProblemFluentBuilder::new(self.handle.clone())
13 }
14}