Skip to main content

bill_scenario_usage_modifications

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

Overview

Namebill_scenario_usage_modifications
TypeResource
Idaws.bcm_pricing_calculator.bill_scenario_usage_modifications

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the usage modification. (pattern: <code>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}</code>)
availability_zonestringThe availability zone associated with this usage modification, if applicable. (pattern: <code>[-a-zA-Z0-9.-_:, /()]*</code>)
groupstringThe group identifier for the usage modification. (pattern: <code>[a-zA-Z0-9-]*</code>)
historical_usageobjectHistorical usage data associated with this modification, if available.
locationstringThe location associated with this usage modification.
operationstringThe specific operation associated with this usage modification. (pattern: <code>[-a-zA-Z0-9.-_:, /()]*</code>)
quantitiesarrayThe modified usage quantities.
service_codestringThe Amazon Web Services service code for this usage modification. (pattern: <code>[-a-zA-Z0-9.-_:, /()]*</code>)
usage_account_idstringThe Amazon Web Services account ID associated with this usage modification. (pattern: <code>\d{12}</code>)
usage_typestringThe type of usage being modified. (pattern: <code>[-a-zA-Z0-9.-_:, /()]*</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_bill_scenario_usage_modificationsselectregionLists the usage modifications associated with a bill scenario.

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 modifications associated with a bill scenario.

SELECT
id,
availability_zone,
group,
historical_usage,
location,
operation,
quantities,
service_code,
usage_account_id,
usage_type
FROM aws.bcm_pricing_calculator.bill_scenario_usage_modifications
WHERE region = '{{ region }}' -- required
;