You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SavingsPlans::Types::DescribeSavingsPlansOfferingsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SavingsPlans::Types::DescribeSavingsPlansOfferingsRequest
- Defined in:
- (unknown)
Overview
When passing DescribeSavingsPlansOfferingsRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
offering_ids: ["UUID"],
payment_options: ["All Upfront"], # accepts All Upfront, Partial Upfront, No Upfront
product_type: "EC2", # accepts EC2, Fargate, Lambda
plan_types: ["Compute"], # accepts Compute, EC2Instance
durations: [1],
currencies: ["CNY"], # accepts CNY, USD
descriptions: ["SavingsPlanDescription"],
service_codes: ["SavingsPlanServiceCode"],
usage_types: ["SavingsPlanUsageType"],
operations: ["SavingsPlanOperation"],
filters: [
{
name: "region", # accepts region, instanceFamily
values: ["JsonSafeFilterValueString"],
},
],
next_token: "PaginationToken",
max_results: 1,
}
Instance Attribute Summary collapse
-
#currencies ⇒ Array<String>
The currencies.
-
#descriptions ⇒ Array<String>
The descriptions.
-
#durations ⇒ Array<Integer>
The durations, in seconds.
-
#filters ⇒ Array<Types::SavingsPlanOfferingFilterElement>
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.
-
#offering_ids ⇒ Array<String>
The IDs of the offerings.
-
#operations ⇒ Array<String>
The specific AWS operation for the line item in the billing report.
-
#payment_options ⇒ Array<String>
The payment options.
-
#plan_types ⇒ Array<String>
The plan type.
-
#product_type ⇒ String
The product type.
-
#service_codes ⇒ Array<String>
The services.
-
#usage_types ⇒ Array<String>
The usage details of the line item in the billing report.
Instance Attribute Details
#currencies ⇒ Array<String>
The currencies.
#descriptions ⇒ Array<String>
The descriptions.
#durations ⇒ Array<Integer>
The durations, in seconds.
#filters ⇒ Array<Types::SavingsPlanOfferingFilterElement>
The filters.
#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.
#next_token ⇒ String
The token for the next page of results.
#offering_ids ⇒ Array<String>
The IDs of the offerings.
#operations ⇒ Array<String>
The specific AWS operation for the line item in the billing report.
#payment_options ⇒ Array<String>
The payment options.
#plan_types ⇒ Array<String>
The plan type.
#product_type ⇒ String
The product type.
Possible values:
- EC2
- Fargate
- Lambda
#service_codes ⇒ Array<String>
The services.
#usage_types ⇒ Array<String>
The usage details of the line item in the billing report.