account_usages
Creates, updates, deletes, gets or lists an account_usages resource.
Overview
| Name | account_usages |
| Type | Resource |
| Id | aws.devops_agent.account_usages |
Fields
The following fields are returned by SELECT queries:
- get_account_usage
| Name | Datatype | Description |
|---|---|---|
monthly_account_evaluation_hours | object | Monthly evaluation hours usage and limit for an account |
monthly_account_investigation_hours | object | Monthly investigation hours usage and limit for an account |
monthly_account_on_demand_hours | object | Monthly on-demand hours usage and limit for an account |
monthly_account_system_learning_hours | object | Monthly system learning hours usage and limit for an account |
usage_period_end_time | string (date-time) | The end time of the usage tracking period |
usage_period_start_time | string (date-time) | The start time of the usage tracking period |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_account_usage | select | region | Retrieves 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_account_usage
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
;