Skip to main content

reservation_utilizations

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

Overview

Namereservation_utilizations
TypeResource
Idaws.ce.reservation_utilizations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_page_tokenstringThe token for the next set of retrievable 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>)
totalobjectThe total amount of time that you used your Reserved Instances (RIs).
utilizations_by_timearrayThe amount of time that you used your Reserved Instances (RIs).

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_reservation_utilizationselectregionRetrieves the reservation utilization for your account. Management account in an organization have access to member accounts. You can filter data by dimensions in a time period. You can use GetDimensionValues to determine the possible dimension values. Currently, you can group only by SUBSCRIPTION_ID.

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 reservation utilization for your account. Management account in an organization have access to member accounts. You can filter data by dimensions in a time period. You can use GetDimensionValues to determine the possible dimension values. Currently, you can group only by SUBSCRIPTION_ID.

SELECT
next_page_token,
total,
utilizations_by_time
FROM aws.ce.reservation_utilizations
WHERE region = '{{ region }}' -- required
;