costexplorer_get_savings_plans_utilization: Retrieves the Savings Plans utilization for your account...

View source: R/costexplorer_operations.R

costexplorer_get_savings_plans_utilizationR Documentation

Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity

Description

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 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/ for full documentation.

Usage

costexplorer_get_savings_plans_utilization(
  TimePeriod,
  Granularity = NULL,
  Filter = 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.

Granularity

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

The get_savings_plans_utilization operation supports only DAILY and MONTHLY granularities.

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

  • SAVINGS_PLANS_TYPE

  • REGION

  • PAYMENT_OPTION

  • INSTANCE_TYPE_FAMILY

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

SortBy

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.


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