Class: Aws::SavingsPlans::Types::SavingsPlan

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

Overview

Information about a Savings Plan.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#commitmentString

The hourly commitment amount in the specified currency.

Returns:

  • (String)


572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 572

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags,
  :returnable_until)
  SENSITIVE = []
  include Aws::Structure
end

#currencyString

The currency.

Returns:

  • (String)


572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 572

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags,
  :returnable_until)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description.

Returns:

  • (String)


572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 572

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags,
  :returnable_until)
  SENSITIVE = []
  include Aws::Structure
end

#ec2_instance_familyString

The EC2 instance family.

Returns:

  • (String)


572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 572

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags,
  :returnable_until)
  SENSITIVE = []
  include Aws::Structure
end

#endString

The end time.

Returns:

  • (String)


572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 572

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags,
  :returnable_until)
  SENSITIVE = []
  include Aws::Structure
end

#offering_idString

The ID of the offering.

Returns:

  • (String)


572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 572

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags,
  :returnable_until)
  SENSITIVE = []
  include Aws::Structure
end

#payment_optionString

The payment option.

Returns:

  • (String)


572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 572

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags,
  :returnable_until)
  SENSITIVE = []
  include Aws::Structure
end

#product_typesArray<String>

The product types.

Returns:

  • (Array<String>)


572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 572

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags,
  :returnable_until)
  SENSITIVE = []
  include Aws::Structure
end

#recurring_payment_amountString

The recurring payment amount.

Returns:

  • (String)


572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 572

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags,
  :returnable_until)
  SENSITIVE = []
  include Aws::Structure
end

#regionString

The Amazon Web Services Region.

Returns:

  • (String)


572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 572

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags,
  :returnable_until)
  SENSITIVE = []
  include Aws::Structure
end

#returnable_untilString

The time until when a return for the Savings Plan can be requested. If the Savings Plan is not returnable, the field reflects the Savings Plan start time.

Returns:

  • (String)


572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 572

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags,
  :returnable_until)
  SENSITIVE = []
  include Aws::Structure
end

#savings_plan_arnString

The Amazon Resource Name (ARN) of the Savings Plan.

Returns:

  • (String)


572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 572

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags,
  :returnable_until)
  SENSITIVE = []
  include Aws::Structure
end

#savings_plan_idString

The ID of the Savings Plan.

Returns:

  • (String)


572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 572

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags,
  :returnable_until)
  SENSITIVE = []
  include Aws::Structure
end

#savings_plan_typeString

The plan type.

Returns:

  • (String)


572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 572

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags,
  :returnable_until)
  SENSITIVE = []
  include Aws::Structure
end

#startString

The start time.

Returns:

  • (String)


572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 572

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags,
  :returnable_until)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The current state.

Returns:

  • (String)


572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 572

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags,
  :returnable_until)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

One or more tags.

Returns:

  • (Hash<String,String>)


572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 572

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags,
  :returnable_until)
  SENSITIVE = []
  include Aws::Structure
end

#term_duration_in_secondsInteger

The duration of the term, in seconds.

Returns:

  • (Integer)


572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 572

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags,
  :returnable_until)
  SENSITIVE = []
  include Aws::Structure
end

#upfront_payment_amountString

The up-front payment amount.

Returns:

  • (String)


572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 572

class SavingsPlan < Struct.new(
  :offering_id,
  :savings_plan_id,
  :savings_plan_arn,
  :description,
  :start,
  :end,
  :state,
  :region,
  :ec2_instance_family,
  :savings_plan_type,
  :payment_option,
  :product_types,
  :currency,
  :commitment,
  :upfront_payment_amount,
  :recurring_payment_amount,
  :term_duration_in_seconds,
  :tags,
  :returnable_until)
  SENSITIVE = []
  include Aws::Structure
end