You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SavingsPlans::Types::DescribeSavingsPlanRatesRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DescribeSavingsPlanRatesRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  savings_plan_id: "SavingsPlanId", # required
  filters: [
    {
      name: "region", # accepts region, instanceType, productDescription, tenancy, productType, serviceCode, usageType, operation
      values: ["String"],
    },
  ],
  next_token: "PaginationToken",
  max_results: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#filtersArray<Types::SavingsPlanRateFilter>

The filters.

Returns:

#max_resultsInteger

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

Returns:

  • (Integer)

    The maximum number of results to return with a single call.

#next_tokenString

The token for the next page of results.

Returns:

  • (String)

    The token for the next page of results.

#savings_plan_idString

The ID of the Savings Plan.

Returns:

  • (String)

    The ID of the Savings Plan.