workload_estimate_usages
Creates, updates, deletes, gets or lists a workload_estimate_usages resource.
Overview
| Name | workload_estimate_usages |
| Type | Resource |
| Id | aws.bcm_pricing_calculator.workload_estimate_usages |
Fields
The following fields are returned by SELECT queries:
- list_workload_estimate_usage
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier of this usage item. (pattern: <code>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}</code>) |
cost | number (double) | The estimated cost for this usage item. |
currency | string | The currency of the estimated cost. (USD) |
group | string | The group identifier for this usage item. (pattern: <code>[a-zA-Z0-9-]*</code>) |
historical_usage | object | Historical usage data associated with this item, if available. |
location | string | The location associated with this usage item. |
operation | string | The specific operation associated with this usage item. (pattern: <code>[-a-zA-Z0-9.-_:, /()]*</code>) |
quantity | object | The estimated usage quantity for this item. |
service_code | string | The Amazon Web Services service code associated with this usage item. (pattern: <code>[-a-zA-Z0-9.-_:, /()]*</code>) |
status | string | The current status of this usage item. (VALID, INVALID, STALE) |
usage_account_id | string | The Amazon Web Services account ID associated with this usage item. (pattern: <code>\d{12}</code>) |
usage_type | string | The type of usage for this item. (pattern: <code>[-a-zA-Z0-9.-_:, /()]*</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_workload_estimate_usage | select | region | Lists the usage associated with a workload estimate. |
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
- list_workload_estimate_usage
Lists the usage associated with a workload estimate.
SELECT
id,
cost,
currency,
group,
historical_usage,
location,
operation,
quantity,
service_code,
status,
usage_account_id,
usage_type
FROM aws.bcm_pricing_calculator.workload_estimate_usages
WHERE region = '{{ region }}' -- required
;