aws_sdk_devopsguru/client/
describe_account_overview.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 [`DescribeAccountOverview`](crate::operation::describe_account_overview::builders::DescribeAccountOverviewFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`from_time(DateTime)`](crate::operation::describe_account_overview::builders::DescribeAccountOverviewFluentBuilder::from_time) / [`set_from_time(Option<DateTime>)`](crate::operation::describe_account_overview::builders::DescribeAccountOverviewFluentBuilder::set_from_time):<br>required: **true**<br><p>The start of the time range passed in. The start time granularity is at the day level. The floor of the start time is used. Returned information occurred after this day.</p><br>
7    ///   - [`to_time(DateTime)`](crate::operation::describe_account_overview::builders::DescribeAccountOverviewFluentBuilder::to_time) / [`set_to_time(Option<DateTime>)`](crate::operation::describe_account_overview::builders::DescribeAccountOverviewFluentBuilder::set_to_time):<br>required: **false**<br><p>The end of the time range passed in. The start time granularity is at the day level. The floor of the start time is used. Returned information occurred before this day. If this is not specified, then the current day is used.</p><br>
8    /// - On success, responds with [`DescribeAccountOverviewOutput`](crate::operation::describe_account_overview::DescribeAccountOverviewOutput) with field(s):
9    ///   - [`reactive_insights(i32)`](crate::operation::describe_account_overview::DescribeAccountOverviewOutput::reactive_insights): <p>An integer that specifies the number of open reactive insights in your Amazon Web Services account that were created during the time range passed in.</p>
10    ///   - [`proactive_insights(i32)`](crate::operation::describe_account_overview::DescribeAccountOverviewOutput::proactive_insights): <p>An integer that specifies the number of open proactive insights in your Amazon Web Services account that were created during the time range passed in.</p>
11    ///   - [`mean_time_to_recover_in_milliseconds(i64)`](crate::operation::describe_account_overview::DescribeAccountOverviewOutput::mean_time_to_recover_in_milliseconds): <p>The Mean Time to Recover (MTTR) for all closed insights that were created during the time range passed in.</p>
12    /// - On failure, responds with [`SdkError<DescribeAccountOverviewError>`](crate::operation::describe_account_overview::DescribeAccountOverviewError)
13    pub fn describe_account_overview(&self) -> crate::operation::describe_account_overview::builders::DescribeAccountOverviewFluentBuilder {
14        crate::operation::describe_account_overview::builders::DescribeAccountOverviewFluentBuilder::new(self.handle.clone())
15    }
16}