:doc:`DevOpsGuru <../../devops-guru>` / Client / describe_organization_health

****************************
describe_organization_health
****************************



.. py:method:: DevOpsGuru.Client.describe_organization_health(**kwargs)

  

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

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationHealth>`_  


  **Request Syntax**
  ::

    response = client.describe_organization_health(
        AccountIds=[
            'string',
        ],
        OrganizationalUnitIds=[
            'string',
        ]
    )
    
  :type AccountIds: list
  :param AccountIds: 

    The ID of the Amazon Web Services account.

    

  
    - *(string) --* 

    

  :type OrganizationalUnitIds: list
  :param OrganizationalUnitIds: 

    The ID of the organizational unit.

    

  
    - *(string) --* 

    

  
  :rtype: 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**
  
  *   :py:class:`DevOpsGuru.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`DevOpsGuru.Client.exceptions.InternalServerException`

  
  *   :py:class:`DevOpsGuru.Client.exceptions.ThrottlingException`

  
  *   :py:class:`DevOpsGuru.Client.exceptions.ValidationException`

  