aws_sdk_applicationinsights/client/
describe_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 [`DescribeProblem`](crate::operation::describe_problem::builders::DescribeProblemFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`problem_id(impl Into<String>)`](crate::operation::describe_problem::builders::DescribeProblemFluentBuilder::problem_id) / [`set_problem_id(Option<String>)`](crate::operation::describe_problem::builders::DescribeProblemFluentBuilder::set_problem_id):<br>required: **true**<br><p>The ID of the problem.</p><br>
7    ///   - [`account_id(impl Into<String>)`](crate::operation::describe_problem::builders::DescribeProblemFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::describe_problem::builders::DescribeProblemFluentBuilder::set_account_id):<br>required: **false**<br><p>The Amazon Web Services account ID for the owner of the resource group affected by the problem.</p><br>
8    /// - On success, responds with [`DescribeProblemOutput`](crate::operation::describe_problem::DescribeProblemOutput) with field(s):
9    ///   - [`problem(Option<Problem>)`](crate::operation::describe_problem::DescribeProblemOutput::problem): <p>Information about the problem.</p>
10    ///   - [`sns_notification_arn(Option<String>)`](crate::operation::describe_problem::DescribeProblemOutput::sns_notification_arn): <p>The SNS notification topic ARN of the problem.</p>
11    /// - On failure, responds with [`SdkError<DescribeProblemError>`](crate::operation::describe_problem::DescribeProblemError)
12    pub fn describe_problem(&self) -> crate::operation::describe_problem::builders::DescribeProblemFluentBuilder {
13        crate::operation::describe_problem::builders::DescribeProblemFluentBuilder::new(self.handle.clone())
14    }
15}