Skip to content

Describe Savings Plans Offering Rates

savingsplans_describe_savings_plans_offering_rates R Documentation

Describes the offering rates for the specified Savings Plans

Description

Describes the offering rates for the specified Savings Plans.

Usage

savingsplans_describe_savings_plans_offering_rates(
  savingsPlanOfferingIds, savingsPlanPaymentOptions, savingsPlanTypes,
  products, serviceCodes, usageTypes, operations, filters, nextToken,
  maxResults)

Arguments

savingsPlanOfferingIds

The IDs of the offerings.

savingsPlanPaymentOptions

The payment options.

savingsPlanTypes

The plan types.

products

The Amazon Web Services products.

serviceCodes

The services.

usageTypes

The usage details of the line item in the billing report.

operations

The specific Amazon Web Services operation for the line item in the billing report.

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(
  searchResults = list(
    list(
      savingsPlanOffering = list(
        offeringId = "string",
        paymentOption = "All Upfront"|"Partial Upfront"|"No Upfront",
        planType = "Compute"|"EC2Instance"|"SageMaker",
        durationSeconds = 123,
        currency = "CNY"|"USD",
        planDescription = "string"
      ),
      rate = "string",
      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 = "string",
          value = "string"
        )
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$describe_savings_plans_offering_rates(
  savingsPlanOfferingIds = list(
    "string"
  ),
  savingsPlanPaymentOptions = list(
    "All Upfront"|"Partial Upfront"|"No Upfront"
  ),
  savingsPlanTypes = list(
    "Compute"|"EC2Instance"|"SageMaker"
  ),
  products = list(
    "EC2"|"Fargate"|"Lambda"|"SageMaker"
  ),
  serviceCodes = list(
    "AmazonEC2"|"AmazonECS"|"AmazonEKS"|"AWSLambda"|"AmazonSageMaker"
  ),
  usageTypes = list(
    "string"
  ),
  operations = list(
    "string"
  ),
  filters = list(
    list(
      name = "region"|"instanceFamily"|"instanceType"|"productDescription"|"tenancy"|"productId",
      values = list(
        "string"
      )
    )
  ),
  nextToken = "string",
  maxResults = 123
)