enterprise_support_charge_summaries
Creates, updates, deletes, gets or lists an enterprise_support_charge_summaries resource.
Overview
| Name | enterprise_support_charge_summaries |
| Type | Resource |
| Id | aws.billing.enterprise_support_charge_summaries |
Fields
The following fields are returned by SELECT queries:
- get_enterprise_support_charge_summary
| Name | Datatype | Description |
|---|---|---|
bill_date | string (date-time) | The date the bill was generated. |
billing_month | string | The billing month in YYYY-MM format. This must be a month in the past. (pattern: <code>\d{4}-(0[1-9]|1[0-2])</code>) |
billing_period_end_date | string (date-time) | The end date of the billing period. |
billing_period_start_date | string (date-time) | The start date of the billing period. |
is_estimated | boolean | When true, the Support charge amount is estimated. When false, the Support charge amount is finalized. |
payer_account_id | string | The payer account ID that is authorized to view Enterprise Support data for all accounts in its Support profile. (pattern: <code>[0-9]{12}</code>) |
support_charge | string | The Support charge amount for the account. |
support_charge_percentage | string | The percentage applied to the total Support-eligible spend to calculate the total Support charge across all accounts in the Support profile. |
support_discount | string | The support discount amount. |
support_effective_pricing_plan | object | The effective pricing plan used for the support charge calculation. |
total_support_charge | string | The total Support charge amount for all accounts in the Support profile. |
total_support_eligible_reserved_instance_spend | string | The total Support-eligible Reserved Instance spend from all accounts in the Support profile. |
total_support_eligible_savings_plan_spend | string | The total Support-eligible Savings Plan spend from all accounts in the Support profile. |
total_support_eligible_spend | string | The total Support-eligible Spend from all accounts in the Support profile. This includes eligible spend from usage of Amazon Web Services, Reserved Instances, and Savings Plans. |
total_support_eligible_usage_spend | string | The total Support-eligible spend from usage of Amazon Web Services from all accounts in the Support profile. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_enterprise_support_charge_summary | select | region | Returns a summary of Enterprise Support data aggregated across all accounts in the Enterprise Support profile. |
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
- get_enterprise_support_charge_summary
Returns a summary of Enterprise Support data aggregated across all accounts in the Enterprise Support profile.
SELECT
bill_date,
billing_month,
billing_period_end_date,
billing_period_start_date,
is_estimated,
payer_account_id,
support_charge,
support_charge_percentage,
support_discount,
support_effective_pricing_plan,
total_support_charge,
total_support_eligible_reserved_instance_spend,
total_support_eligible_savings_plan_spend,
total_support_eligible_spend,
total_support_eligible_usage_spend
FROM aws.billing.enterprise_support_charge_summaries
WHERE region = '{{ region }}' -- required
;