1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeOrganizationHealth`](crate::operation::describe_organization_health::builders::DescribeOrganizationHealthFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_ids(Vec<String>)`](crate::operation::describe_organization_health::builders::DescribeOrganizationHealthFluentBuilder::account_ids) / [`set_account_ids(Option<Vec<String>>)`](crate::operation::describe_organization_health::builders::DescribeOrganizationHealthFluentBuilder::set_account_ids): <p>The ID of the Amazon Web Services account.</p>
    ///   - [`organizational_unit_ids(Vec<String>)`](crate::operation::describe_organization_health::builders::DescribeOrganizationHealthFluentBuilder::organizational_unit_ids) / [`set_organizational_unit_ids(Option<Vec<String>>)`](crate::operation::describe_organization_health::builders::DescribeOrganizationHealthFluentBuilder::set_organizational_unit_ids): <p>The ID of the organizational unit.</p>
    /// - On success, responds with [`DescribeOrganizationHealthOutput`](crate::operation::describe_organization_health::DescribeOrganizationHealthOutput) with field(s):
    ///   - [`open_reactive_insights(i32)`](crate::operation::describe_organization_health::DescribeOrganizationHealthOutput::open_reactive_insights): <p>An integer that specifies the number of open reactive insights in your Amazon Web Services account.</p>
    ///   - [`open_proactive_insights(i32)`](crate::operation::describe_organization_health::DescribeOrganizationHealthOutput::open_proactive_insights): <p>An integer that specifies the number of open proactive insights in your Amazon Web Services account.</p>
    ///   - [`metrics_analyzed(i32)`](crate::operation::describe_organization_health::DescribeOrganizationHealthOutput::metrics_analyzed): <p>An integer that specifies the number of metrics that have been analyzed in your organization.</p>
    ///   - [`resource_hours(Option<i64>)`](crate::operation::describe_organization_health::DescribeOrganizationHealthOutput::resource_hours): <p>The number of Amazon DevOps Guru resource analysis hours billed to the current Amazon Web Services account in the last hour. </p>
    /// - On failure, responds with [`SdkError<DescribeOrganizationHealthError>`](crate::operation::describe_organization_health::DescribeOrganizationHealthError)
    pub fn describe_organization_health(&self) -> crate::operation::describe_organization_health::builders::DescribeOrganizationHealthFluentBuilder{
        crate::operation::describe_organization_health::builders::DescribeOrganizationHealthFluentBuilder::new(self.handle.clone())
    }
}