custom_line_item_versions
Creates, updates, deletes, gets or lists a custom_line_item_versions resource.
Overview
| Name | custom_line_item_versions |
| Type | Resource |
| Id | aws.billingconductor.custom_line_item_versions |
Fields
The following fields are returned by SELECT queries:
- list_custom_line_item_versions
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Amazon Web Services account in which this custom line item will be applied to. (pattern: <code>[0-9]{12}</code>) |
arn | string | A list of custom line item Amazon Resource Names (ARNs) to retrieve information. (pattern: <code>(arn:aws(-cn)?:billingconductor::[0-9]{12}:customlineitem/)?[a-zA-Z0-9]{10}</code>) |
association_size | integer (int64) | The number of resources that are associated with the custom line item. |
billing_group_arn | string | The Amazon Resource Name (ARN) of the billing group that the custom line item applies to. (pattern: <code>(arn:aws(-cn)?:billingconductor::[0-9]{12}:billinggroup/)?[a-zA-Z0-9]{10,12}</code>) |
charge_details | object | A representation of the charge details of a custom line item. |
computation_rule | string | The display settings of the custom line item (ITEMIZED, CONSOLIDATED) |
creation_time | integer (int64) | The time when the custom line item version was created. |
currency_code | string | The charge value currency of the custom line item. (USD, CNY) |
description | string | The description of the custom line item. |
end_billing_period | string | The end billing period of the custom line item version. (pattern: <code>\d{4}-(0?[1-9]|1[012])</code>) |
last_modified_time | integer (int64) | The most recent time that the custom line item version was modified. |
name | string | The name of the custom line item. (pattern: <code>[a-zA-Z0-9_+=.-@]+</code>) |
presentation_details | object | An object that defines how custom line item charges are presented in the bill, containing specifications for service presentation. |
product_code | string | The product code that’s associated with the custom line item. |
start_billing_period | string | The start billing period of the custom line item version. (pattern: <code>\d{4}-(0?[1-9]|1[012])</code>) |
start_time | integer (int64) | The inclusive start time. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_custom_line_item_versions | select | region | A paginated call to get a list of all custom line item versions. |
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_custom_line_item_versions
A paginated call to get a list of all custom line item versions.
SELECT
account_id,
arn,
association_size,
billing_group_arn,
charge_details,
computation_rule,
creation_time,
currency_code,
description,
end_billing_period,
last_modified_time,
name,
presentation_details,
product_code,
start_billing_period,
start_time
FROM aws.billingconductor.custom_line_item_versions
WHERE region = '{{ region }}' -- required
;