DevOpsGuru / Client / describe_account_overview

describe_account_overview#

DevOpsGuru.Client.describe_account_overview(**kwargs)#

For the time range passed in, returns the number of open reactive insight that were created, the number of open proactive insights that were created, and the Mean Time to Recover (MTTR) for all closed reactive insights.

See also: AWS API Documentation

Request Syntax

response = client.describe_account_overview(
    FromTime=datetime(2015, 1, 1),
    ToTime=datetime(2015, 1, 1)
)
Parameters:
  • FromTime (datetime) –

    [REQUIRED]

    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.

  • ToTime (datetime) – 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.

Return type:

dict

Returns:

Response Syntax

{
    'ReactiveInsights': 123,
    'ProactiveInsights': 123,
    'MeanTimeToRecoverInMilliseconds': 123
}

Response Structure

  • (dict) –

    • ReactiveInsights (integer) –

      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.

    • ProactiveInsights (integer) –

      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.

    • MeanTimeToRecoverInMilliseconds (integer) –

      The Mean Time to Recover (MTTR) for all closed insights that were created during the time range passed in.

Exceptions