AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#currenciesArray<String>

The currencies.

Returns:

  • (Array<String>)

    The currencies.

#descriptionsArray<String>

The descriptions.

Returns:

  • (Array<String>)

    The descriptions.

#durationsArray<Integer>

The durations, in seconds.

Returns:

  • (Array<Integer>)

    The durations, in seconds.

#filtersArray<Types::SavingsPlanOfferingFilterElement>

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.

#offering_idsArray<String>

The IDs of the offerings.

Returns:

  • (Array<String>)

    The IDs of the offerings.

#operationsArray<String>

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

Returns:

  • (Array<String>)

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

#payment_optionsArray<String>

The payment options.

Returns:

  • (Array<String>)

    The payment options.

#plan_typesArray<String>

The plan type.

Returns:

  • (Array<String>)

    The plan type.

#product_typeString

The product type.

Possible values:

  • EC2
  • Fargate
  • Lambda

Returns:

  • (String)

    The product type.

#service_codesArray<String>

The services.

Returns:

  • (Array<String>)

    The services.

#usage_typesArray<String>

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

Returns:

  • (Array<String>)

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