AWS DevOps Agent Service

2026/03/31 - AWS DevOps Agent Service - 1 updated api methods

Changes  AWS DevOps Agent service General Availability release.

GetAccountUsage (updated) Link ΒΆ
Changes (response)
{'monthlyAccountOnDemandHours': {'limit': 'integer', 'usage': 'double'}}

Retrieves monthly account usage metrics and limits for the AWS account.

See also: AWS API Documentation

Request Syntax

client.get_account_usage()
rtype:

dict

returns:

Response Syntax

{
    'monthlyAccountInvestigationHours': {
        'limit': 123,
        'usage': 123.0
    },
    'monthlyAccountEvaluationHours': {
        'limit': 123,
        'usage': 123.0
    },
    'monthlyAccountSystemLearningHours': {
        'limit': 123,
        'usage': 123.0
    },
    'monthlyAccountOnDemandHours': {
        'limit': 123,
        'usage': 123.0
    },
    'usagePeriodStartTime': datetime(2015, 1, 1),
    'usagePeriodEndTime': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --

    • monthlyAccountInvestigationHours (dict) --

      Monthly investigation hours usage and limit for an account

      • limit (integer) --

        Configured limit for this metric.

      • usage (float) --

        Current usage for this metric

    • monthlyAccountEvaluationHours (dict) --

      Monthly evaluation hours usage and limit for an account

      • limit (integer) --

        Configured limit for this metric.

      • usage (float) --

        Current usage for this metric

    • monthlyAccountSystemLearningHours (dict) --

      Monthly system learning hours usage and limit for an account

      • limit (integer) --

        Configured limit for this metric.

      • usage (float) --

        Current usage for this metric

    • monthlyAccountOnDemandHours (dict) --

      Monthly on-demand hours usage and limit for an account

      • limit (integer) --

        Configured limit for this metric.

      • usage (float) --

        Current usage for this metric

    • usagePeriodStartTime (datetime) --

      The start time of the usage tracking period

    • usagePeriodEndTime (datetime) --

      The end time of the usage tracking period