Class: Aws::SavingsPlans::Types::CreateSavingsPlanRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SavingsPlans::Types::CreateSavingsPlanRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-savingsplans/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_token ⇒ String
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
#commitment ⇒ String
The hourly commitment, in the same currency of the ‘savingsPlanOfferingId`.
-
#purchase_time ⇒ Time
The purchase time of the Savings Plan in UTC format (YYYY-MM-DDTHH:MM:SSZ).
-
#savings_plan_offering_id ⇒ String
The ID of the offering.
-
#tags ⇒ Hash<String,String>
One or more tags.
-
#upfront_payment_amount ⇒ String
The up-front payment amount.
Instance Attribute Details
#client_token ⇒ String
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
**A suitable default value is auto-generated.** You should normally not need to pass this option.
49 50 51 52 53 54 55 56 57 58 |
# File 'lib/aws-sdk-savingsplans/types.rb', line 49 class CreateSavingsPlanRequest < Struct.new( :savings_plan_offering_id, :commitment, :upfront_payment_amount, :purchase_time, :client_token, :tags) SENSITIVE = [] include Aws::Structure end |
#commitment ⇒ String
The hourly commitment, in the same currency of the ‘savingsPlanOfferingId`. This is a value between 0.001 and 1 million. You cannot specify more than five digits after the decimal point.
49 50 51 52 53 54 55 56 57 58 |
# File 'lib/aws-sdk-savingsplans/types.rb', line 49 class CreateSavingsPlanRequest < Struct.new( :savings_plan_offering_id, :commitment, :upfront_payment_amount, :purchase_time, :client_token, :tags) SENSITIVE = [] include Aws::Structure end |
#purchase_time ⇒ Time
The purchase time of the Savings Plan in UTC format (YYYY-MM-DDTHH:MM:SSZ).
49 50 51 52 53 54 55 56 57 58 |
# File 'lib/aws-sdk-savingsplans/types.rb', line 49 class CreateSavingsPlanRequest < Struct.new( :savings_plan_offering_id, :commitment, :upfront_payment_amount, :purchase_time, :client_token, :tags) SENSITIVE = [] include Aws::Structure end |
#savings_plan_offering_id ⇒ String
The ID of the offering.
49 50 51 52 53 54 55 56 57 58 |
# File 'lib/aws-sdk-savingsplans/types.rb', line 49 class CreateSavingsPlanRequest < Struct.new( :savings_plan_offering_id, :commitment, :upfront_payment_amount, :purchase_time, :client_token, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
One or more tags.
49 50 51 52 53 54 55 56 57 58 |
# File 'lib/aws-sdk-savingsplans/types.rb', line 49 class CreateSavingsPlanRequest < Struct.new( :savings_plan_offering_id, :commitment, :upfront_payment_amount, :purchase_time, :client_token, :tags) SENSITIVE = [] include Aws::Structure end |
#upfront_payment_amount ⇒ String
The up-front payment amount. This is a whole number between 50 and 99 percent of the total value of the Savings Plan. This parameter is only supported if the payment option is ‘Partial Upfront`.
49 50 51 52 53 54 55 56 57 58 |
# File 'lib/aws-sdk-savingsplans/types.rb', line 49 class CreateSavingsPlanRequest < Struct.new( :savings_plan_offering_id, :commitment, :upfront_payment_amount, :purchase_time, :client_token, :tags) SENSITIVE = [] include Aws::Structure end |