Skip to content

/AWS1/CL_CEX=>GETSAVINGSPLANSUTILIZATION00()

About GetSavingsPlansUtilizationDetails

Retrieves attribute data along with aggregate utilization and savings data for a given time period. This doesn't support granular or grouped data (daily/monthly) in response. You can't retrieve data by dates in a single response similar to GetSavingsPlanUtilization, but you have the option to make multiple calls to GetSavingsPlanUtilizationDetails by providing individual dates. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values.

GetSavingsPlanUtilizationDetails internally groups data by SavingsPlansArn.

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:

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

  • REGION

  • PAYMENT_OPTION

  • INSTANCE_TYPE_FAMILY

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

IT_DATATYPE TYPE /AWS1/CL_CEXSAVINGSPLANSDATA00=>TT_SAVINGSPLANSDATATYPES TT_SAVINGSPLANSDATATYPES

The data type.

IV_NEXTTOKEN TYPE /AWS1/CEXNEXTPAGETOKEN /AWS1/CEXNEXTPAGETOKEN

The 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.

IV_MAXRESULTS TYPE /AWS1/CEXMAXRESULTS /AWS1/CEXMAXRESULTS

The number of items to be returned in a response. The default is 20, with a minimum value of 1.

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

  • AmortizedRecurringCommitment

  • AmortizedUpfrontCommitment

The supported values for SortOrder are ASCENDING and DESCENDING.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CEXGETSAVINGSPLANSU03 /AWS1/CL_CEXGETSAVINGSPLANSU03