You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DescribeSavingsPlansOfferingRatesRequest as input to an Aws::Client method, you can use a vanilla 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,
}

Instance Attribute Summary collapse

Instance Attribute Details

#filters ⇒ Array<Types::SavingsPlanOfferingRateFilterElement>

The filters.

Returns:

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

Returns:

  • (Integer) —

    The maximum number of results to return with a single call.

#next_token ⇒ String

The token for the next page of results.

Returns:

  • (String) —

    The token for the next page of results.

#operations ⇒ Array<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.

#products ⇒ Array<String>

The AWS products.

Returns:

  • (Array<String>) —

    The AWS products.

#savings_plan_offering_ids ⇒ Array<String>

The IDs of the offerings.

Returns:

  • (Array<String>) —

    The IDs of the offerings.

#savings_plan_payment_options ⇒ Array<String>

The payment options.

Returns:

  • (Array<String>) —

    The payment options.

#savings_plan_types ⇒ Array<String>

The plan types.

Returns:

  • (Array<String>) —

    The plan types.

#service_codes ⇒ Array<String>

The services.

Returns:

  • (Array<String>) —

    The services.

#usage_types ⇒ Array<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.