Class: Aws::SavingsPlans::Types::DescribeSavingsPlansOfferingRatesRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SavingsPlans::Types::DescribeSavingsPlansOfferingRatesRequest
- Defined in:
- gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb
Overview
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
-
#filters ⇒ Array<Types::SavingsPlanOfferingRateFilterElement>
The filters.
-
#max_results ⇒ Integer
The maximum number of results to return with a single call.
-
#next_token ⇒ String
The token for the next page of results.
-
#operations ⇒ Array<String>
The specific AWS operation for the line item in the billing report.
-
#products ⇒ Array<String>
The AWS products.
-
#savings_plan_offering_ids ⇒ Array<String>
The IDs of the offerings.
-
#savings_plan_payment_options ⇒ Array<String>
The payment options.
-
#savings_plan_types ⇒ Array<String>
The plan types.
-
#service_codes ⇒ Array<String>
The services.
-
#usage_types ⇒ Array<String>
The usage details of the line item in the billing report.
Instance Attribute Details
#filters ⇒ Array<Types::SavingsPlanOfferingRateFilterElement>
The filters.
240 241 242 243 244 245 246 247 248 249 250 251 252 253 |
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 240 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_results ⇒ Integer
The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.
240 241 242 243 244 245 246 247 248 249 250 251 252 253 |
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 240 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_token ⇒ String
The token for the next page of results.
240 241 242 243 244 245 246 247 248 249 250 251 252 253 |
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 240 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 |
#operations ⇒ Array<String>
The specific AWS operation for the line item in the billing report.
240 241 242 243 244 245 246 247 248 249 250 251 252 253 |
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 240 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 |
#products ⇒ Array<String>
The AWS products.
240 241 242 243 244 245 246 247 248 249 250 251 252 253 |
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 240 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_ids ⇒ Array<String>
The IDs of the offerings.
240 241 242 243 244 245 246 247 248 249 250 251 252 253 |
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 240 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_options ⇒ Array<String>
The payment options.
240 241 242 243 244 245 246 247 248 249 250 251 252 253 |
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 240 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_types ⇒ Array<String>
The plan types.
240 241 242 243 244 245 246 247 248 249 250 251 252 253 |
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 240 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_codes ⇒ Array<String>
The services.
240 241 242 243 244 245 246 247 248 249 250 251 252 253 |
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 240 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_types ⇒ Array<String>
The usage details of the line item in the billing report.
240 241 242 243 244 245 246 247 248 249 250 251 252 253 |
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 240 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 |