Skip to main content

workload_estimate_usages

Creates, updates, deletes, gets or lists a workload_estimate_usages resource.

Overview

Nameworkload_estimate_usages
TypeResource
Idaws.bcm_pricing_calculator.workload_estimate_usages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe 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>)
costnumber (double)The estimated cost for this usage item.
currencystringThe currency of the estimated cost. (USD)
groupstringThe group identifier for this usage item. (pattern: <code>[a-zA-Z0-9-]*</code>)
historical_usageobjectHistorical usage data associated with this item, if available.
locationstringThe location associated with this usage item.
operationstringThe specific operation associated with this usage item. (pattern: <code>[-a-zA-Z0-9.-_:, /()]*</code>)
quantityobjectThe estimated usage quantity for this item.
service_codestringThe Amazon Web Services service code associated with this usage item. (pattern: <code>[-a-zA-Z0-9.-_:, /()]*</code>)
statusstringThe current status of this usage item. (VALID, INVALID, STALE)
usage_account_idstringThe Amazon Web Services account ID associated with this usage item. (pattern: <code>\d{12}</code>)
usage_typestringThe type of usage for this item. (pattern: <code>[-a-zA-Z0-9.-_:, /()]*</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_workload_estimate_usageselectregionLists 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.

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

SELECT examples

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
;