Skip to main content

savings_plans_coverages

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

Overview

Namesavings_plans_coverages
TypeResource
Idaws.ce.savings_plans_coverages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstringThe token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. (pattern: <code>[\S\s]*</code>)
savings_plans_coveragesarrayThe amount of spend that your Savings Plans covered.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_savings_plans_coverageselectregionRetrieves the Savings Plans covered for your account. This enables you to see how much of your cost is covered by a Savings Plan. An organization’s management account can see the coverage of the associated member accounts. This supports dimensions, cost categories, and nested expressions. For any time period, you can filter data for Savings Plans usage with the following dimensions: LINKED_ACCOUNT REGION SERVICE INSTANCE_FAMILY To determine valid values for a dimension, use the GetDimensionValues operation.

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 Savings Plans covered for your account. This enables you to see how much of your cost is covered by a Savings Plan. An organization’s management account can see the coverage of the associated member accounts. This supports dimensions, cost categories, and nested expressions. For any time period, you can filter data for Savings Plans usage with the following dimensions: LINKED_ACCOUNT REGION SERVICE INSTANCE_FAMILY To determine valid values for a dimension, use the GetDimensionValues operation.

SELECT
next_token,
savings_plans_coverages
FROM aws.ce.savings_plans_coverages
WHERE region = '{{ region }}' -- required
;