Class: Aws::SavingsPlans::Types::CreateSavingsPlanRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

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.

Returns:

  • (String)


49
50
51
52
53
54
55
56
57
58
# File 'gems/aws-sdk-savingsplans/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

#commitmentString

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.

Returns:

  • (String)


49
50
51
52
53
54
55
56
57
58
# File 'gems/aws-sdk-savingsplans/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_timeTime

The purchase time of the Savings Plan in UTC format (YYYY-MM-DDTHH:MM:SSZ).

Returns:

  • (Time)


49
50
51
52
53
54
55
56
57
58
# File 'gems/aws-sdk-savingsplans/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_idString

The ID of the offering.

Returns:

  • (String)


49
50
51
52
53
54
55
56
57
58
# File 'gems/aws-sdk-savingsplans/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

#tagsHash<String,String>

One or more tags.

Returns:

  • (Hash<String,String>)


49
50
51
52
53
54
55
56
57
58
# File 'gems/aws-sdk-savingsplans/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_amountString

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.

Returns:

  • (String)


49
50
51
52
53
54
55
56
57
58
# File 'gems/aws-sdk-savingsplans/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