aws_sdk_codeguruprofiler/client/get_findings_report_account_summary.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 [`GetFindingsReportAccountSummary`](crate::operation::get_findings_report_account_summary::builders::GetFindingsReportAccountSummaryFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_findings_report_account_summary::builders::GetFindingsReportAccountSummaryFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`next_token(impl Into<String>)`](crate::operation::get_findings_report_account_summary::builders::GetFindingsReportAccountSummaryFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_findings_report_account_summary::builders::GetFindingsReportAccountSummaryFluentBuilder::set_next_token):<br>required: **false**<br><p>The <code>nextToken</code> value returned from a previous paginated <code>GetFindingsReportAccountSummary</code> request where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the <code>nextToken</code> value.</p><note> <p>This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.</p> </note><br>
8 /// - [`max_results(i32)`](crate::operation::get_findings_report_account_summary::builders::GetFindingsReportAccountSummaryFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_findings_report_account_summary::builders::GetFindingsReportAccountSummaryFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results returned by <code> GetFindingsReportAccountSummary</code> in paginated output. When this parameter is used, <code>GetFindingsReportAccountSummary</code> only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>GetFindingsReportAccountSummary</code> request with the returned <code>nextToken</code> value.</p><br>
9 /// - [`daily_reports_only(bool)`](crate::operation::get_findings_report_account_summary::builders::GetFindingsReportAccountSummaryFluentBuilder::daily_reports_only) / [`set_daily_reports_only(Option<bool>)`](crate::operation::get_findings_report_account_summary::builders::GetFindingsReportAccountSummaryFluentBuilder::set_daily_reports_only):<br>required: **false**<br><p>A <code>Boolean</code> value indicating whether to only return reports from daily profiles. If set to <code>True</code>, only analysis data from daily profiles is returned. If set to <code>False</code>, analysis data is returned from smaller time windows (for example, one hour).</p><br>
10 /// - On success, responds with [`GetFindingsReportAccountSummaryOutput`](crate::operation::get_findings_report_account_summary::GetFindingsReportAccountSummaryOutput) with field(s):
11 /// - [`report_summaries(Vec::<FindingsReportSummary>)`](crate::operation::get_findings_report_account_summary::GetFindingsReportAccountSummaryOutput::report_summaries): <p>The return list of <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_FindingsReportSummary.html"> <code>FindingsReportSummary</code> </a> objects taht contain summaries of analysis results for all profiling groups in your AWS account.</p>
12 /// - [`next_token(Option<String>)`](crate::operation::get_findings_report_account_summary::GetFindingsReportAccountSummaryOutput::next_token): <p>The <code>nextToken</code> value to include in a future <code>GetFindingsReportAccountSummary</code> request. When the results of a <code>GetFindingsReportAccountSummary</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
13 /// - On failure, responds with [`SdkError<GetFindingsReportAccountSummaryError>`](crate::operation::get_findings_report_account_summary::GetFindingsReportAccountSummaryError)
14 pub fn get_findings_report_account_summary(
15 &self,
16 ) -> crate::operation::get_findings_report_account_summary::builders::GetFindingsReportAccountSummaryFluentBuilder {
17 crate::operation::get_findings_report_account_summary::builders::GetFindingsReportAccountSummaryFluentBuilder::new(self.handle.clone())
18 }
19}