Class: Aws::RedshiftServerless::Types::ReservationOffering

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb

Overview

The class of offering for the reservation. The offering class determines the payment schedule for the reservation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#currency_code ⇒ String

The currency code for the offering.

Returns:

  • (String)


2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2811

class ReservationOffering < Struct.new(
  :offering_id,
  :duration,
  :upfront_charge,
  :hourly_charge,
  :currency_code,
  :offering_type)
  SENSITIVE = []
  include Aws::Structure
end

#duration ⇒ Integer

The duration, in seconds, for which the reservation reserves the RPUs.

Returns:

  • (Integer)


2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2811

class ReservationOffering < Struct.new(
  :offering_id,
  :duration,
  :upfront_charge,
  :hourly_charge,
  :currency_code,
  :offering_type)
  SENSITIVE = []
  include Aws::Structure
end

#hourly_charge ⇒ Float

The rate you are charged for each hour the reservation is active.

Returns:

  • (Float)


2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2811

class ReservationOffering < Struct.new(
  :offering_id,
  :duration,
  :upfront_charge,
  :hourly_charge,
  :currency_code,
  :offering_type)
  SENSITIVE = []
  include Aws::Structure
end

#offering_id ⇒ String

The offering identifier.

Returns:

  • (String)


2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2811

class ReservationOffering < Struct.new(
  :offering_id,
  :duration,
  :upfront_charge,
  :hourly_charge,
  :currency_code,
  :offering_type)
  SENSITIVE = []
  include Aws::Structure
end

#offering_type ⇒ String

Determines the payment schedule for the reservation.

Returns:

  • (String)


2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2811

class ReservationOffering < Struct.new(
  :offering_id,
  :duration,
  :upfront_charge,
  :hourly_charge,
  :currency_code,
  :offering_type)
  SENSITIVE = []
  include Aws::Structure
end

#upfront_charge ⇒ Float

The up-front price you are charged for the reservation.

Returns:

  • (Float)


2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2811

class ReservationOffering < Struct.new(
  :offering_id,
  :duration,
  :upfront_charge,
  :hourly_charge,
  :currency_code,
  :offering_type)
  SENSITIVE = []
  include Aws::Structure
end