Skip to content

/AWS1/CL_CEX=>GETSAVINGSPLANSUTILIZATION()

About GetSavingsPlansUtilization

Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Management account in an organization have access to member accounts. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values.

You can't group by any dimension values for GetSavingsPlansUtilization.

Method Signature

IMPORTING

Required arguments:

IO_TIMEPERIOD TYPE REF TO /AWS1/CL_CEXDATEINTERVAL /AWS1/CL_CEXDATEINTERVAL

The time period that you want the usage and costs for. The Start date must be within 13 months. The End date must be after the Start date, and before the current date. Future dates can't be used as an End date.

Optional arguments:

IV_GRANULARITY TYPE /AWS1/CEXGRANULARITY /AWS1/CEXGRANULARITY

The granularity of the Amazon Web Services utillization data for your Savings Plans.

The GetSavingsPlansUtilization operation supports only DAILY and MONTHLY granularities.

IO_FILTER TYPE REF TO /AWS1/CL_CEXEXPRESSION /AWS1/CL_CEXEXPRESSION

Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions:

  • LINKED_ACCOUNT

  • SAVINGS_PLAN_ARN

  • SAVINGS_PLANS_TYPE

  • REGION

  • PAYMENT_OPTION

  • INSTANCE_TYPE_FAMILY

GetSavingsPlansUtilization uses the same Expression object as the other operations, but only AND is supported among each dimension.

IO_SORTBY TYPE REF TO /AWS1/CL_CEXSORTDEFINITION /AWS1/CL_CEXSORTDEFINITION

The value that you want to sort the data by.

The following values are supported for Key:

  • UtilizationPercentage

  • TotalCommitment

  • UsedCommitment

  • UnusedCommitment

  • NetSavings

The supported values for SortOrder are ASCENDING and DESCENDING.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CEXGETSAVINGSPLANSU01 /AWS1/CL_CEXGETSAVINGSPLANSU01