Skip to main content

billing_group_cost_reports

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

Overview

Namebilling_group_cost_reports
TypeResource
Idaws.billingconductor.billing_group_cost_reports

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
billing_group_cost_report_resultsarrayThe list of margin summary reports.
next_tokenstringThe pagination token used on subsequent calls to get reports.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_billing_group_cost_reportselectregionRetrieves the margin summary report, which includes the Amazon Web Services cost and charged amount (pro forma cost) by Amazon Web Services service for a specific billing group.
list_billing_group_cost_reportsexecregionA paginated call to retrieve a summary report of actual Amazon Web Services charges and the calculated Amazon Web Services charges based on the associated pricing plan of a billing group.

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

Retrieves the margin summary report, which includes the Amazon Web Services cost and charged amount (pro forma cost) by Amazon Web Services service for a specific billing group.

SELECT
billing_group_cost_report_results,
next_token
FROM aws.billingconductor.billing_group_cost_reports
WHERE region = '{{ region }}' -- required
;

Lifecycle Methods

A paginated call to retrieve a summary report of actual Amazon Web Services charges and the calculated Amazon Web Services charges based on the associated pricing plan of a billing group.

EXEC aws.billingconductor.billing_group_cost_reports.list_billing_group_cost_reports
@region='{{ region }}' --required
@@json=
'{
"BillingPeriod": "{{ BillingPeriod }}",
"MaxResults": {{ MaxResults }},
"NextToken": "{{ NextToken }}",
"Filters": "{{ Filters }}"
}'
;