Class: Aws::SavingsPlans::Types::DescribeSavingsPlansOfferingRatesRequest

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 DescribeSavingsPlansOfferingRatesRequest data as a hash:

{
  savings_plan_offering_ids: ["UUID"],
  savings_plan_payment_options: ["All Upfront"], # accepts All Upfront, Partial Upfront, No Upfront
  savings_plan_types: ["Compute"], # accepts Compute, EC2Instance
  products: ["EC2"], # accepts EC2, Fargate, Lambda
  service_codes: ["AmazonEC2"], # accepts AmazonEC2, AmazonECS, AWSLambda
  usage_types: ["SavingsPlanRateUsageType"],
  operations: ["SavingsPlanRateOperation"],
  filters: [
    {
      name: "region", # accepts region, instanceFamily, instanceType, productDescription, tenancy, productId
      values: ["JsonSafeFilterValueString"],
    },
  ],
  next_token: "PaginationToken",
  max_results: 1,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#filtersArray<Types::SavingsPlanOfferingRateFilterElement>

The filters.



210
211
212
213
214
215
216
217
218
219
220
221
222
223
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 210

class DescribeSavingsPlansOfferingRatesRequest < Struct.new(
  :savings_plan_offering_ids,
  :savings_plan_payment_options,
  :savings_plan_types,
  :products,
  :service_codes,
  :usage_types,
  :operations,
  :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)


210
211
212
213
214
215
216
217
218
219
220
221
222
223
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 210

class DescribeSavingsPlansOfferingRatesRequest < Struct.new(
  :savings_plan_offering_ids,
  :savings_plan_payment_options,
  :savings_plan_types,
  :products,
  :service_codes,
  :usage_types,
  :operations,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token for the next page of results.

Returns:

  • (String)


210
211
212
213
214
215
216
217
218
219
220
221
222
223
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 210

class DescribeSavingsPlansOfferingRatesRequest < Struct.new(
  :savings_plan_offering_ids,
  :savings_plan_payment_options,
  :savings_plan_types,
  :products,
  :service_codes,
  :usage_types,
  :operations,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#operationsArray<String>

The specific AWS operation for the line item in the billing report.

Returns:

  • (Array<String>)


210
211
212
213
214
215
216
217
218
219
220
221
222
223
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 210

class DescribeSavingsPlansOfferingRatesRequest < Struct.new(
  :savings_plan_offering_ids,
  :savings_plan_payment_options,
  :savings_plan_types,
  :products,
  :service_codes,
  :usage_types,
  :operations,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#productsArray<String>

The AWS products.

Returns:

  • (Array<String>)


210
211
212
213
214
215
216
217
218
219
220
221
222
223
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 210

class DescribeSavingsPlansOfferingRatesRequest < Struct.new(
  :savings_plan_offering_ids,
  :savings_plan_payment_options,
  :savings_plan_types,
  :products,
  :service_codes,
  :usage_types,
  :operations,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#savings_plan_offering_idsArray<String>

The IDs of the offerings.

Returns:

  • (Array<String>)


210
211
212
213
214
215
216
217
218
219
220
221
222
223
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 210

class DescribeSavingsPlansOfferingRatesRequest < Struct.new(
  :savings_plan_offering_ids,
  :savings_plan_payment_options,
  :savings_plan_types,
  :products,
  :service_codes,
  :usage_types,
  :operations,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#savings_plan_payment_optionsArray<String>

The payment options.

Returns:

  • (Array<String>)


210
211
212
213
214
215
216
217
218
219
220
221
222
223
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 210

class DescribeSavingsPlansOfferingRatesRequest < Struct.new(
  :savings_plan_offering_ids,
  :savings_plan_payment_options,
  :savings_plan_types,
  :products,
  :service_codes,
  :usage_types,
  :operations,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#savings_plan_typesArray<String>

The plan types.

Returns:

  • (Array<String>)


210
211
212
213
214
215
216
217
218
219
220
221
222
223
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 210

class DescribeSavingsPlansOfferingRatesRequest < Struct.new(
  :savings_plan_offering_ids,
  :savings_plan_payment_options,
  :savings_plan_types,
  :products,
  :service_codes,
  :usage_types,
  :operations,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#service_codesArray<String>

The services.

Returns:

  • (Array<String>)


210
211
212
213
214
215
216
217
218
219
220
221
222
223
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 210

class DescribeSavingsPlansOfferingRatesRequest < Struct.new(
  :savings_plan_offering_ids,
  :savings_plan_payment_options,
  :savings_plan_types,
  :products,
  :service_codes,
  :usage_types,
  :operations,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#usage_typesArray<String>

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

Returns:

  • (Array<String>)


210
211
212
213
214
215
216
217
218
219
220
221
222
223
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 210

class DescribeSavingsPlansOfferingRatesRequest < Struct.new(
  :savings_plan_offering_ids,
  :savings_plan_payment_options,
  :savings_plan_types,
  :products,
  :service_codes,
  :usage_types,
  :operations,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end