Skip to main content

custom_line_item_versions

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

Overview

Namecustom_line_item_versions
TypeResource
Idaws.billingconductor.custom_line_item_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
account_idstringThe Amazon Web Services account in which this custom line item will be applied to. (pattern: <code>[0-9]{12}</code>)
arnstringA 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_sizeinteger (int64)The number of resources that are associated with the custom line item.
billing_group_arnstringThe 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_detailsobjectA representation of the charge details of a custom line item.
computation_rulestringThe display settings of the custom line item (ITEMIZED, CONSOLIDATED)
creation_timeinteger (int64)The time when the custom line item version was created.
currency_codestringThe charge value currency of the custom line item. (USD, CNY)
descriptionstringThe description of the custom line item.
end_billing_periodstringThe end billing period of the custom line item version. (pattern: <code>\d{4}-(0?[1-9]|1[012])</code>)
last_modified_timeinteger (int64)The most recent time that the custom line item version was modified.
namestringThe name of the custom line item. (pattern: <code>[a-zA-Z0-9_+=.-@]+</code>)
presentation_detailsobjectAn object that defines how custom line item charges are presented in the bill, containing specifications for service presentation.
product_codestringThe product code that’s associated with the custom line item.
start_billing_periodstringThe start billing period of the custom line item version. (pattern: <code>\d{4}-(0?[1-9]|1[012])</code>)
start_timeinteger (int64)The inclusive start time.

Methods

The following methods are available for this resource:

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

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

SELECT examples

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
;