aws_sdk_applicationinsights/client/list_problems.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 [`ListProblems`](crate::operation::list_problems::builders::ListProblemsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_problems::builders::ListProblemsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`account_id(impl Into<String>)`](crate::operation::list_problems::builders::ListProblemsFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::list_problems::builders::ListProblemsFluentBuilder::set_account_id):<br>required: **false**<br><p>The Amazon Web Services account ID for the resource group owner.</p><br>
8 /// - [`resource_group_name(impl Into<String>)`](crate::operation::list_problems::builders::ListProblemsFluentBuilder::resource_group_name) / [`set_resource_group_name(Option<String>)`](crate::operation::list_problems::builders::ListProblemsFluentBuilder::set_resource_group_name):<br>required: **false**<br><p>The name of the resource group.</p><br>
9 /// - [`start_time(DateTime)`](crate::operation::list_problems::builders::ListProblemsFluentBuilder::start_time) / [`set_start_time(Option<DateTime>)`](crate::operation::list_problems::builders::ListProblemsFluentBuilder::set_start_time):<br>required: **false**<br><p>The time when the problem was detected, in epoch seconds. If you don't specify a time frame for the request, problems within the past seven days are returned.</p><br>
10 /// - [`end_time(DateTime)`](crate::operation::list_problems::builders::ListProblemsFluentBuilder::end_time) / [`set_end_time(Option<DateTime>)`](crate::operation::list_problems::builders::ListProblemsFluentBuilder::set_end_time):<br>required: **false**<br><p>The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.</p><br>
11 /// - [`max_results(i32)`](crate::operation::list_problems::builders::ListProblemsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_problems::builders::ListProblemsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned <code>NextToken</code> value.</p><br>
12 /// - [`next_token(impl Into<String>)`](crate::operation::list_problems::builders::ListProblemsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_problems::builders::ListProblemsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to request the next page of results.</p><br>
13 /// - [`component_name(impl Into<String>)`](crate::operation::list_problems::builders::ListProblemsFluentBuilder::component_name) / [`set_component_name(Option<String>)`](crate::operation::list_problems::builders::ListProblemsFluentBuilder::set_component_name):<br>required: **false**<br><p>The name of the component.</p><br>
14 /// - [`visibility(Visibility)`](crate::operation::list_problems::builders::ListProblemsFluentBuilder::visibility) / [`set_visibility(Option<Visibility>)`](crate::operation::list_problems::builders::ListProblemsFluentBuilder::set_visibility):<br>required: **false**<br><p>Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.</p><br>
15 /// - On success, responds with [`ListProblemsOutput`](crate::operation::list_problems::ListProblemsOutput) with field(s):
16 /// - [`problem_list(Option<Vec::<Problem>>)`](crate::operation::list_problems::ListProblemsOutput::problem_list): <p>The list of problems.</p>
17 /// - [`next_token(Option<String>)`](crate::operation::list_problems::ListProblemsOutput::next_token): <p>The token used to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
18 /// - [`resource_group_name(Option<String>)`](crate::operation::list_problems::ListProblemsOutput::resource_group_name): <p>The name of the resource group.</p>
19 /// - [`account_id(Option<String>)`](crate::operation::list_problems::ListProblemsOutput::account_id): <p>The Amazon Web Services account ID for the resource group owner.</p>
20 /// - On failure, responds with [`SdkError<ListProblemsError>`](crate::operation::list_problems::ListProblemsError)
21 pub fn list_problems(&self) -> crate::operation::list_problems::builders::ListProblemsFluentBuilder {
22 crate::operation::list_problems::builders::ListProblemsFluentBuilder::new(self.handle.clone())
23 }
24}