Skip to content

Describe Savings Plan Rates

savingsplans_describe_savings_plan_rates R Documentation

Describes the rates for the specified Savings Plan

Description

Describes the rates for the specified Savings Plan.

Usage

savingsplans_describe_savings_plan_rates(savingsPlanId, filters,
  nextToken, maxResults)

Arguments

savingsPlanId

[required] The ID of the Savings Plan.

filters

The filters.

nextToken

The token for the next page of results.

maxResults

The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.

Value

A list with the following syntax:

list(
  savingsPlanId = "string",
  searchResults = list(
    list(
      rate = "string",
      currency = "CNY"|"USD",
      unit = "Hrs"|"Lambda-GB-Second"|"Request",
      productType = "EC2"|"Fargate"|"Lambda"|"SageMaker",
      serviceCode = "AmazonEC2"|"AmazonECS"|"AmazonEKS"|"AWSLambda"|"AmazonSageMaker",
      usageType = "string",
      operation = "string",
      properties = list(
        list(
          name = "region"|"instanceType"|"instanceFamily"|"productDescription"|"tenancy",
          value = "string"
        )
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$describe_savings_plan_rates(
  savingsPlanId = "string",
  filters = list(
    list(
      name = "region"|"instanceType"|"productDescription"|"tenancy"|"productType"|"serviceCode"|"usageType"|"operation",
      values = list(
        "string"
      )
    )
  ),
  nextToken = "string",
  maxResults = 123
)