DevOpsGuru / Client / describe_organization_health

describe_organization_health#

DevOpsGuru.Client.describe_organization_health(**kwargs)#

Returns active insights, predictive insights, and resource hours analyzed in last hour.

See also: AWS API Documentation

Request Syntax

response = client.describe_organization_health(
    AccountIds=[
        'string',
    ],
    OrganizationalUnitIds=[
        'string',
    ]
)
Parameters:
  • AccountIds (list) –

    The ID of the Amazon Web Services account.

    • (string) –

  • OrganizationalUnitIds (list) –

    The ID of the organizational unit.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'OpenReactiveInsights': 123,
    'OpenProactiveInsights': 123,
    'MetricsAnalyzed': 123,
    'ResourceHours': 123
}

Response Structure

  • (dict) –

    • OpenReactiveInsights (integer) –

      An integer that specifies the number of open reactive insights in your Amazon Web Services account.

    • OpenProactiveInsights (integer) –

      An integer that specifies the number of open proactive insights in your Amazon Web Services account.

    • MetricsAnalyzed (integer) –

      An integer that specifies the number of metrics that have been analyzed in your organization.

    • ResourceHours (integer) –

      The number of Amazon DevOps Guru resource analysis hours billed to the current Amazon Web Services account in the last hour.

Exceptions

  • DevOpsGuru.Client.exceptions.AccessDeniedException

  • DevOpsGuru.Client.exceptions.InternalServerException

  • DevOpsGuru.Client.exceptions.ThrottlingException

  • DevOpsGuru.Client.exceptions.ValidationException