Skip to main content

account_usages

Creates, updates, deletes, gets or lists an account_usages resource.

Overview

Nameaccount_usages
TypeResource
Idaws.devops_agent.account_usages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
monthly_account_evaluation_hoursobjectMonthly evaluation hours usage and limit for an account
monthly_account_investigation_hoursobjectMonthly investigation hours usage and limit for an account
monthly_account_on_demand_hoursobjectMonthly on-demand hours usage and limit for an account
monthly_account_system_learning_hoursobjectMonthly system learning hours usage and limit for an account
usage_period_end_timestring (date-time)The end time of the usage tracking period
usage_period_start_timestring (date-time)The start time of the usage tracking period

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_account_usageselectregionRetrieves monthly account usage metrics and limits for the AWS account.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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

SELECT
monthly_account_evaluation_hours,
monthly_account_investigation_hours,
monthly_account_on_demand_hours,
monthly_account_system_learning_hours,
usage_period_end_time,
usage_period_start_time
FROM aws.devops_agent.account_usages
WHERE region = '{{ region }}' -- required
;