Skip to main content

bill_estimate_line_items

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

Overview

Namebill_estimate_line_items
TypeResource
Idaws.bcm_pricing_calculator.bill_estimate_line_items

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of this line item. (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 line item, if applicable. (pattern: <code>[-a-zA-Z0-9.-_:, /()]*</code>)
estimated_costobjectThe estimated cost for this line item.
estimated_usage_quantityobjectThe estimated usage quantity for this line item.
historical_costobjectThe historical cost for this line item.
historical_usage_quantityobjectThe historical usage quantity for this line item.
line_item_idstringThe line item identifier from the original bill.
line_item_typestringThe type of this line item (e.g., Usage, Tax, Credit).
locationstringThe location associated with this line item.
operationstringThe specific operation associated with this line item. (pattern: <code>[-a-zA-Z0-9.-_:, /()]*</code>)
payer_account_idstringThe Amazon Web Services account ID of the payer for this line item. (pattern: <code>\d{12}</code>)
savings_plan_arnsarrayThe Amazon Resource Names (ARNs) of any Savings Plans applied to this line item.
service_codestringThe Amazon Web Services service code associated with this line item. (pattern: <code>[-a-zA-Z0-9.-_:, /()]*</code>)
usage_account_idstringThe Amazon Web Services account ID associated with the usage for this line item. (pattern: <code>\d{12}</code>)
usage_typestringThe type of usage for this line item. (pattern: <code>[-a-zA-Z0-9.-_:, /()]*</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_bill_estimate_line_itemsselectregionLists the line items associated with a bill 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 line items associated with a bill estimate.

SELECT
id,
availability_zone,
estimated_cost,
estimated_usage_quantity,
historical_cost,
historical_usage_quantity,
line_item_id,
line_item_type,
location,
operation,
payer_account_id,
savings_plan_arns,
service_code,
usage_account_id,
usage_type
FROM aws.bcm_pricing_calculator.bill_estimate_line_items
WHERE region = '{{ region }}' -- required
;