Class: Aws::SavingsPlans::Types::DescribeSavingsPlansOfferingsRequest

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 DescribeSavingsPlansOfferingsRequest data as a 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,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#currenciesArray<String>

The currencies.

Returns:

  • (Array<String>)


353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 353

class DescribeSavingsPlansOfferingsRequest < Struct.new(
  :offering_ids,
  :payment_options,
  :product_type,
  :plan_types,
  :durations,
  :currencies,
  :descriptions,
  :service_codes,
  :usage_types,
  :operations,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionsArray<String>

The descriptions.

Returns:

  • (Array<String>)


353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 353

class DescribeSavingsPlansOfferingsRequest < Struct.new(
  :offering_ids,
  :payment_options,
  :product_type,
  :plan_types,
  :durations,
  :currencies,
  :descriptions,
  :service_codes,
  :usage_types,
  :operations,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#durationsArray<Integer>

The durations, in seconds.

Returns:

  • (Array<Integer>)


353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 353

class DescribeSavingsPlansOfferingsRequest < Struct.new(
  :offering_ids,
  :payment_options,
  :product_type,
  :plan_types,
  :durations,
  :currencies,
  :descriptions,
  :service_codes,
  :usage_types,
  :operations,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#filtersArray<Types::SavingsPlanOfferingFilterElement>

The filters.



353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 353

class DescribeSavingsPlansOfferingsRequest < Struct.new(
  :offering_ids,
  :payment_options,
  :product_type,
  :plan_types,
  :durations,
  :currencies,
  :descriptions,
  :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)


353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 353

class DescribeSavingsPlansOfferingsRequest < Struct.new(
  :offering_ids,
  :payment_options,
  :product_type,
  :plan_types,
  :durations,
  :currencies,
  :descriptions,
  :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)


353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 353

class DescribeSavingsPlansOfferingsRequest < Struct.new(
  :offering_ids,
  :payment_options,
  :product_type,
  :plan_types,
  :durations,
  :currencies,
  :descriptions,
  :service_codes,
  :usage_types,
  :operations,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#offering_idsArray<String>

The IDs of the offerings.

Returns:

  • (Array<String>)


353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 353

class DescribeSavingsPlansOfferingsRequest < Struct.new(
  :offering_ids,
  :payment_options,
  :product_type,
  :plan_types,
  :durations,
  :currencies,
  :descriptions,
  :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>)


353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 353

class DescribeSavingsPlansOfferingsRequest < Struct.new(
  :offering_ids,
  :payment_options,
  :product_type,
  :plan_types,
  :durations,
  :currencies,
  :descriptions,
  :service_codes,
  :usage_types,
  :operations,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#payment_optionsArray<String>

The payment options.

Returns:

  • (Array<String>)


353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 353

class DescribeSavingsPlansOfferingsRequest < Struct.new(
  :offering_ids,
  :payment_options,
  :product_type,
  :plan_types,
  :durations,
  :currencies,
  :descriptions,
  :service_codes,
  :usage_types,
  :operations,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#plan_typesArray<String>

The plan type.

Returns:

  • (Array<String>)


353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 353

class DescribeSavingsPlansOfferingsRequest < Struct.new(
  :offering_ids,
  :payment_options,
  :product_type,
  :plan_types,
  :durations,
  :currencies,
  :descriptions,
  :service_codes,
  :usage_types,
  :operations,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#product_typeString

The product type.

Returns:

  • (String)


353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 353

class DescribeSavingsPlansOfferingsRequest < Struct.new(
  :offering_ids,
  :payment_options,
  :product_type,
  :plan_types,
  :durations,
  :currencies,
  :descriptions,
  :service_codes,
  :usage_types,
  :operations,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#service_codesArray<String>

The services.

Returns:

  • (Array<String>)


353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 353

class DescribeSavingsPlansOfferingsRequest < Struct.new(
  :offering_ids,
  :payment_options,
  :product_type,
  :plan_types,
  :durations,
  :currencies,
  :descriptions,
  :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>)


353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 353

class DescribeSavingsPlansOfferingsRequest < Struct.new(
  :offering_ids,
  :payment_options,
  :product_type,
  :plan_types,
  :durations,
  :currencies,
  :descriptions,
  :service_codes,
  :usage_types,
  :operations,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end