create_savings_plan
(**kwargs)¶Creates a Savings Plan.
See also: AWS API Documentation
Request Syntax
response = client.create_savings_plan(
savingsPlanOfferingId='string',
commitment='string',
upfrontPaymentAmount='string',
purchaseTime=datetime(2015, 1, 1),
clientToken='string',
tags={
'string': 'string'
}
)
[REQUIRED]
The ID of the offering.
[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.
Partial Upfront
.Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This field is autopopulated if not provided.
One or more tags.
dict
Response Syntax
{
'savingsPlanId': 'string'
}
Response Structure
(dict) --
savingsPlanId (string) --
The ID of the Savings Plan.
Exceptions
SavingsPlans.Client.exceptions.ResourceNotFoundException
SavingsPlans.Client.exceptions.ValidationException
SavingsPlans.Client.exceptions.InternalServerException
SavingsPlans.Client.exceptions.ServiceQuotaExceededException