"documentation":"<p>Describes the specified Savings Plans offerings.</p>"
},
"ListTagsForResource":{
"name":"ListTagsForResource",
"http":{
"method":"POST",
"requestUri":"/ListTagsForResource"
},
"input":{"shape":"ListTagsForResourceRequest"},
"output":{"shape":"ListTagsForResourceResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"}
],
"documentation":"<p>Lists the tags for the specified resource.</p>"
},
"TagResource":{
"name":"TagResource",
"http":{
"method":"POST",
"requestUri":"/TagResource"
},
"input":{"shape":"TagResourceRequest"},
"output":{"shape":"TagResourceResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"ServiceQuotaExceededException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"}
],
"documentation":"<p>Adds the specified tags to the specified resource.</p>"
},
"UntagResource":{
"name":"UntagResource",
"http":{
"method":"POST",
"requestUri":"/UntagResource"
},
"input":{"shape":"UntagResourceRequest"},
"output":{"shape":"UntagResourceResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"}
],
"documentation":"<p>Removes the specified tags from the specified resource.</p>"
}
},
"shapes":{
"Amount":{"type":"string"},
"ClientToken":{"type":"string"},
"CreateSavingsPlanRequest":{
"type":"structure",
"required":[
"savingsPlanOfferingId",
"commitment"
],
"members":{
"savingsPlanOfferingId":{
"shape":"SavingsPlanOfferingId",
"documentation":"<p>The ID of the offering.</p>"
},
"commitment":{
"shape":"Amount",
"documentation":"<p>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.</p>"
},
"upfrontPaymentAmount":{
"shape":"Amount",
"documentation":"<p>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 <code>Partial Upfront</code>.</p>"
},
"clientToken":{
"shape":"ClientToken",
"documentation":"<p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>",
"idempotencyToken":true
},
"tags":{
"shape":"TagMap",
"documentation":"<p>One or more tags.</p>"
}
}
},
"CreateSavingsPlanResponse":{
"type":"structure",
"members":{
"savingsPlanId":{
"shape":"SavingsPlanId",
"documentation":"<p>The ID of the Savings Plan.</p>"
}
}
},
"CurrencyCode":{
"type":"string",
"enum":[
"CNY",
"USD"
]
},
"CurrencyList":{
"type":"list",
"member":{"shape":"CurrencyCode"}
},
"DescribeSavingsPlanRatesRequest":{
"type":"structure",
"required":["savingsPlanId"],
"members":{
"savingsPlanId":{
"shape":"SavingsPlanId",
"documentation":"<p>The ID of the Savings Plan.</p>"
},
"filters":{
"shape":"SavingsPlanRateFilterList",
"documentation":"<p>The filters.</p>"
},
"nextToken":{
"shape":"PaginationToken",
"documentation":"<p>The token for the next page of results.</p>"
},
"maxResults":{
"shape":"MaxResults",
"documentation":"<p>The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.</p>"
}
}
},
"DescribeSavingsPlanRatesResponse":{
"type":"structure",
"members":{
"savingsPlanId":{
"shape":"SavingsPlanId",
"documentation":"<p>The ID of the Savings Plan.</p>"
},
"searchResults":{
"shape":"SavingsPlanRateList",
"documentation":"<p>Information about the Savings Plans rates.</p>"
},
"nextToken":{
"shape":"PaginationToken",
"documentation":"<p>The token to use to retrieve the next page of results. This value is null when there are no more results to return.</p>"
}
}
},
"DescribeSavingsPlansOfferingRatesRequest":{
"type":"structure",
"members":{
"savingsPlanOfferingIds":{
"shape":"UUIDs",
"documentation":"<p>The IDs of the offerings.</p>"
},
"savingsPlanPaymentOptions":{
"shape":"SavingsPlanPaymentOptionList",
"documentation":"<p>The payment options.</p>"
},
"savingsPlanTypes":{
"shape":"SavingsPlanTypeList",
"documentation":"<p>The plan types.</p>"
},
"products":{
"shape":"SavingsPlanProductTypeList",
"documentation":"<p>The AWS products.</p>"
},
"serviceCodes":{
"shape":"SavingsPlanRateServiceCodeList",
"documentation":"<p>The services.</p>"
},
"usageTypes":{
"shape":"SavingsPlanRateUsageTypeList",
"documentation":"<p>The usage details of the line item in the billing report.</p>"
},
"operations":{
"shape":"SavingsPlanRateOperationList",
"documentation":"<p>The specific AWS operation for the line item in the billing report.</p>"
},
"filters":{
"shape":"SavingsPlanOfferingRateFiltersList",
"documentation":"<p>The filters.</p>"
},
"nextToken":{
"shape":"PaginationToken",
"documentation":"<p>The token for the next page of results.</p>"
},
"maxResults":{
"shape":"PageSize",
"documentation":"<p>The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.</p>"
}
}
},
"DescribeSavingsPlansOfferingRatesResponse":{
"type":"structure",
"members":{
"searchResults":{
"shape":"SavingsPlanOfferingRatesList",
"documentation":"<p>Information about the Savings Plans offering rates.</p>"
},
"nextToken":{
"shape":"PaginationToken",
"documentation":"<p>The token to use to retrieve the next page of results. This value is null when there are no more results to return.</p>"
}
}
},
"DescribeSavingsPlansOfferingsRequest":{
"type":"structure",
"members":{
"offeringIds":{
"shape":"UUIDs",
"documentation":"<p>The IDs of the offerings.</p>"
},
"paymentOptions":{
"shape":"SavingsPlanPaymentOptionList",
"documentation":"<p>The payment options.</p>"
},
"productType":{
"shape":"SavingsPlanProductType",
"documentation":"<p>The product type.</p>"
},
"planTypes":{
"shape":"SavingsPlanTypeList",
"documentation":"<p>The plan type.</p>"
},
"durations":{
"shape":"DurationsList",
"documentation":"<p>The durations, in seconds.</p>"
},
"currencies":{
"shape":"CurrencyList",
"documentation":"<p>The currencies.</p>"
},
"descriptions":{
"shape":"SavingsPlanDescriptionsList",
"documentation":"<p>The descriptions.</p>"
},
"serviceCodes":{
"shape":"SavingsPlanServiceCodeList",
"documentation":"<p>The services.</p>"
},
"usageTypes":{
"shape":"SavingsPlanUsageTypeList",
"documentation":"<p>The usage details of the line item in the billing report.</p>"
},
"operations":{
"shape":"SavingsPlanOperationList",
"documentation":"<p>The specific AWS operation for the line item in the billing report.</p>"
},
"filters":{
"shape":"SavingsPlanOfferingFiltersList",
"documentation":"<p>The filters.</p>"
},
"nextToken":{
"shape":"PaginationToken",
"documentation":"<p>The token for the next page of results.</p>"
},
"maxResults":{
"shape":"PageSize",
"documentation":"<p>The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.</p>"
}
}
},
"DescribeSavingsPlansOfferingsResponse":{
"type":"structure",
"members":{
"searchResults":{
"shape":"SavingsPlanOfferingsList",
"documentation":"<p>Information about the Savings Plans offerings.</p>"
},
"nextToken":{
"shape":"PaginationToken",
"documentation":"<p>The token to use to retrieve the next page of results. This value is null when there are no more results to return.</p>"
}
}
},
"DescribeSavingsPlansRequest":{
"type":"structure",
"members":{
"savingsPlanArns":{
"shape":"SavingsPlanArnList",
"documentation":"<p>The Amazon Resource Names (ARN) of the Savings Plans.</p>"
},
"savingsPlanIds":{
"shape":"SavingsPlanIdList",
"documentation":"<p>The IDs of the Savings Plans.</p>"
},
"nextToken":{
"shape":"PaginationToken",
"documentation":"<p>The token for the next page of results.</p>"
},
"maxResults":{
"shape":"MaxResults",
"documentation":"<p>The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.</p>"
},
"states":{
"shape":"SavingsPlanStateList",
"documentation":"<p>The states.</p>"
},
"filters":{
"shape":"SavingsPlanFilterList",
"documentation":"<p>The filters.</p>"
}
}
},
"DescribeSavingsPlansResponse":{
"type":"structure",
"members":{
"savingsPlans":{
"shape":"SavingsPlanList",
"documentation":"<p>Information about the Savings Plans.</p>"
},
"nextToken":{
"shape":"PaginationToken",
"documentation":"<p>The token to use to retrieve the next page of results. This value is null when there are no more results to return.</p>"
"documentation":"<p>A service quota has been exceeded.</p>",
"error":{"httpStatusCode":402},
"exception":true
},
"String":{"type":"string"},
"TagKey":{"type":"string"},
"TagKeyList":{
"type":"list",
"member":{"shape":"TagKey"}
},
"TagMap":{
"type":"map",
"key":{"shape":"TagKey"},
"value":{"shape":"TagValue"}
},
"TagResourceRequest":{
"type":"structure",
"required":[
"resourceArn",
"tags"
],
"members":{
"resourceArn":{
"shape":"SavingsPlanArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the resource.</p>"
},
"tags":{
"shape":"TagMap",
"documentation":"<p>One or more tags. For example, { \"tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.</p>"
}
}
},
"TagResourceResponse":{
"type":"structure",
"members":{
}
},
"TagValue":{"type":"string"},
"TermDurationInSeconds":{"type":"long"},
"UUID":{
"type":"string",
"pattern":"^(([0-9a-f]+)(-?))+$"
},
"UUIDs":{
"type":"list",
"member":{"shape":"UUID"}
},
"UntagResourceRequest":{
"type":"structure",
"required":[
"resourceArn",
"tagKeys"
],
"members":{
"resourceArn":{
"shape":"SavingsPlanArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the resource.</p>"
},
"tagKeys":{
"shape":"TagKeyList",
"documentation":"<p>The tag keys.</p>"
}
}
},
"UntagResourceResponse":{
"type":"structure",
"members":{
}
},
"ValidationException":{
"type":"structure",
"required":["message"],
"members":{
"message":{"shape":"String"}
},
"documentation":"<p>One of the input parameters is not valid.</p>",
"error":{"httpStatusCode":400},
"exception":true
}
},
"documentation":"<p>Savings Plans are a pricing model that offer significant savings on AWS usage (for example, on Amazon EC2 instances). You commit to a consistent amount of usage, in USD per hour, for a term of 1 or 3 years, and receive a lower price for that usage. For more information, see the <a href=\"https://docs.aws.amazon.com/savingsplans/latest/userguide/\">AWS Savings Plans User Guide</a>.</p>"