costexplorer_get_savings_plans_utilization_details: Retrieves attribute data along with aggregate utilization and...

View source: R/costexplorer_operations.R

costexplorer_get_savings_plans_utilization_detailsR Documentation

Retrieves attribute data along with aggregate utilization and savings data for a given time period

Description

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 get_dimension_values in SAVINGS_PLANS to determine the possible dimension values.

See https://www.paws-r-sdk.com/docs/costexplorer_get_savings_plans_utilization_details/ for full documentation.

Usage

costexplorer_get_savings_plans_utilization_details(
  TimePeriod,
  Filter = NULL,
  DataType = NULL,
  NextToken = NULL,
  MaxResults = NULL,
  SortBy = NULL
)

Arguments

TimePeriod

[required] 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.

Filter

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

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

DataType

The data type.

NextToken

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.

MaxResults

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

SortBy

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.


paws.cost.management documentation built on Sept. 12, 2023, 1:09 a.m.