aws_sdk_devopsguru/client/describe_organization_health.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 [`DescribeOrganizationHealth`](crate::operation::describe_organization_health::builders::DescribeOrganizationHealthFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`account_ids(impl Into<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):<br>required: **false**<br><p>The ID of the Amazon Web Services account.</p><br>
7 /// - [`organizational_unit_ids(impl Into<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):<br>required: **false**<br><p>The ID of the organizational unit.</p><br>
8 /// - On success, responds with [`DescribeOrganizationHealthOutput`](crate::operation::describe_organization_health::DescribeOrganizationHealthOutput) with field(s):
9 /// - [`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>
10 /// - [`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>
11 /// - [`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>
12 /// - [`resource_hours(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>
13 /// - On failure, responds with [`SdkError<DescribeOrganizationHealthError>`](crate::operation::describe_organization_health::DescribeOrganizationHealthError)
14 pub fn describe_organization_health(&self) -> crate::operation::describe_organization_health::builders::DescribeOrganizationHealthFluentBuilder {
15 crate::operation::describe_organization_health::builders::DescribeOrganizationHealthFluentBuilder::new(self.handle.clone())
16 }
17}