bill_estimate_line_items
Creates, updates, deletes, gets or lists a bill_estimate_line_items resource.
Overview
| Name | bill_estimate_line_items |
| Type | Resource |
| Id | aws.bcm_pricing_calculator.bill_estimate_line_items |
Fields
The following fields are returned by SELECT queries:
- list_bill_estimate_line_items
| Name | Datatype | Description |
|---|---|---|
id | string | The 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_zone | string | The availability zone associated with this line item, if applicable. (pattern: <code>[-a-zA-Z0-9.-_:, /()]*</code>) |
estimated_cost | object | The estimated cost for this line item. |
estimated_usage_quantity | object | The estimated usage quantity for this line item. |
historical_cost | object | The historical cost for this line item. |
historical_usage_quantity | object | The historical usage quantity for this line item. |
line_item_id | string | The line item identifier from the original bill. |
line_item_type | string | The type of this line item (e.g., Usage, Tax, Credit). |
location | string | The location associated with this line item. |
operation | string | The specific operation associated with this line item. (pattern: <code>[-a-zA-Z0-9.-_:, /()]*</code>) |
payer_account_id | string | The Amazon Web Services account ID of the payer for this line item. (pattern: <code>\d{12}</code>) |
savings_plan_arns | array | The Amazon Resource Names (ARNs) of any Savings Plans applied to this line item. |
service_code | string | The Amazon Web Services service code associated with this line item. (pattern: <code>[-a-zA-Z0-9.-_:, /()]*</code>) |
usage_account_id | string | The Amazon Web Services account ID associated with the usage for this line item. (pattern: <code>\d{12}</code>) |
usage_type | string | The type of usage for this line 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_bill_estimate_line_items | select | region | Lists 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_bill_estimate_line_items
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
;