savingsplans_create_savings_plan: Creates a Savings Plan

View source: R/savingsplans_operations.R

savingsplans_create_savings_planR Documentation

Creates a Savings Plan

Description

Creates a Savings Plan.

See https://www.paws-r-sdk.com/docs/savingsplans_create_savings_plan/ for full documentation.

Usage

savingsplans_create_savings_plan(
  savingsPlanOfferingId,
  commitment,
  upfrontPaymentAmount = NULL,
  purchaseTime = NULL,
  clientToken = NULL,
  tags = NULL
)

Arguments

savingsPlanOfferingId

[required] The ID of the offering.

commitment

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

upfrontPaymentAmount

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⁠.

purchaseTime

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

clientToken

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

tags

One or more tags.


paws.cost.management documentation built on Sept. 12, 2023, 1:09 a.m.