Skip to main content

bill_estimate_commitments

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

Overview

Namebill_estimate_commitments
TypeResource
Idaws.bcm_pricing_calculator.bill_estimate_commitments

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the commitment. (pattern: <code>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}</code>)
monthly_paymentobjectThe monthly payment amount for this commitment, if applicable.
offering_idstringThe identifier of the specific offering associated with this commitment. (pattern: <code>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}</code>)
payment_optionstringThe payment option chosen for this commitment (e.g., All Upfront, Partial Upfront, No Upfront).
purchase_agreement_typestringThe type of purchase agreement (e.g., Reserved Instance, Savings Plan). (SAVINGS_PLANS, RESERVED_INSTANCE)
regionstringThe Amazon Web Services region associated with this commitment.
term_lengthstringThe length of the commitment term.
upfront_paymentobjectThe upfront payment amount for this commitment, if applicable.
usage_account_idstringThe Amazon Web Services account ID associated with this commitment. (pattern: <code>\d{12}</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_bill_estimate_commitmentsselectregionLists the commitments 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 commitments associated with a bill estimate.

SELECT
id,
monthly_payment,
offering_id,
payment_option,
purchase_agreement_type,
region,
term_length,
upfront_payment,
usage_account_id
FROM aws.bcm_pricing_calculator.bill_estimate_commitments
WHERE region = '{{ region }}' -- required
;