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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb

Overview

Note:

When making an API call, you may pass DescribeSavingsPlanRatesRequest data as a 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,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#filtersArray<Types::SavingsPlanRateFilter>

The filters.

Returns:



113
114
115
116
117
118
119
120
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 113

class DescribeSavingsPlanRatesRequest < Struct.new(
  :savings_plan_id,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#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)


113
114
115
116
117
118
119
120
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 113

class DescribeSavingsPlanRatesRequest < Struct.new(
  :savings_plan_id,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token for the next page of results.

Returns:

  • (String)


113
114
115
116
117
118
119
120
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 113

class DescribeSavingsPlanRatesRequest < Struct.new(
  :savings_plan_id,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#savings_plan_idString

The ID of the Savings Plan.

Returns:

  • (String)


113
114
115
116
117
118
119
120
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 113

class DescribeSavingsPlanRatesRequest < Struct.new(
  :savings_plan_id,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end