class Aws::SavingsPlans::Types::CreateSavingsPlanRequest

@note When making an API call, you may pass CreateSavingsPlanRequest

data as a hash:

    {
      savings_plan_offering_id: "SavingsPlanOfferingId", # required
      commitment: "Amount", # required
      upfront_payment_amount: "Amount",
      purchase_time: Time.now,
      client_token: "ClientToken",
      tags: {
        "TagKey" => "TagValue",
      },
    }

@!attribute [rw] savings_plan_offering_id

The ID of the offering.
@return [String]

@!attribute [rw] commitment

The hourly commitment, in USD. This is a value between 0.001 and 1
million. You cannot specify more than three digits after the decimal
point.
@return [String]

@!attribute [rw] upfront_payment_amount

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
supported only if the payment option is `Partial Upfront`.
@return [String]

@!attribute [rw] purchase_time

The time at which to purchase the Savings Plan, in UTC format
(YYYY-MM-DDTHH:MM:SSZ).
@return [Time]

@!attribute [rw] client_token

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.
@return [String]

@!attribute [rw] tags

One or more tags.
@return [Hash<String,String>]

@see docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/CreateSavingsPlanRequest AWS API Documentation

Constants

SENSITIVE