{ "version":"2.0", "metadata":{ "apiVersion":"2019-06-28", "endpointPrefix":"savingsplans", "globalEndpoint":"savingsplans.amazonaws.com", "jsonVersion":"1.0", "protocol":"rest-json", "serviceAbbreviation":"AWSSavingsPlans", "serviceFullName":"AWS Savings Plans", "serviceId":"savingsplans", "signatureVersion":"v4", "uid":"savingsplans-2019-06-28" }, "operations":{ "CreateSavingsPlan":{ "name":"CreateSavingsPlan", "http":{ "method":"POST", "requestUri":"/CreateSavingsPlan" }, "input":{"shape":"CreateSavingsPlanRequest"}, "output":{"shape":"CreateSavingsPlanResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"

Creates a Savings Plan.

" }, "DescribeSavingsPlanRates":{ "name":"DescribeSavingsPlanRates", "http":{ "method":"POST", "requestUri":"/DescribeSavingsPlanRates" }, "input":{"shape":"DescribeSavingsPlanRatesRequest"}, "output":{"shape":"DescribeSavingsPlanRatesResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ], "documentation":"

Describes the specified Savings Plans rates.

" }, "DescribeSavingsPlans":{ "name":"DescribeSavingsPlans", "http":{ "method":"POST", "requestUri":"/DescribeSavingsPlans" }, "input":{"shape":"DescribeSavingsPlansRequest"}, "output":{"shape":"DescribeSavingsPlansResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"} ], "documentation":"

Describes the specified Savings Plans.

" }, "DescribeSavingsPlansOfferingRates":{ "name":"DescribeSavingsPlansOfferingRates", "http":{ "method":"POST", "requestUri":"/DescribeSavingsPlansOfferingRates" }, "input":{"shape":"DescribeSavingsPlansOfferingRatesRequest"}, "output":{"shape":"DescribeSavingsPlansOfferingRatesResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"InternalServerException"} ], "documentation":"

Describes the specified Savings Plans offering rates.

" }, "DescribeSavingsPlansOfferings":{ "name":"DescribeSavingsPlansOfferings", "http":{ "method":"POST", "requestUri":"/DescribeSavingsPlansOfferings" }, "input":{"shape":"DescribeSavingsPlansOfferingsRequest"}, "output":{"shape":"DescribeSavingsPlansOfferingsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"InternalServerException"} ], "documentation":"

Describes the specified Savings Plans offerings.

" }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ "method":"POST", "requestUri":"/ListTagsForResource" }, "input":{"shape":"ListTagsForResourceRequest"}, "output":{"shape":"ListTagsForResourceResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"} ], "documentation":"

Lists the tags for the specified resource.

" }, "TagResource":{ "name":"TagResource", "http":{ "method":"POST", "requestUri":"/TagResource" }, "input":{"shape":"TagResourceRequest"}, "output":{"shape":"TagResourceResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"} ], "documentation":"

Adds the specified tags to the specified resource.

" }, "UntagResource":{ "name":"UntagResource", "http":{ "method":"POST", "requestUri":"/UntagResource" }, "input":{"shape":"UntagResourceRequest"}, "output":{"shape":"UntagResourceResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"} ], "documentation":"

Removes the specified tags from the specified resource.

" } }, "shapes":{ "Amount":{"type":"string"}, "ClientToken":{"type":"string"}, "CreateSavingsPlanRequest":{ "type":"structure", "required":[ "savingsPlanOfferingId", "commitment" ], "members":{ "savingsPlanOfferingId":{ "shape":"SavingsPlanOfferingId", "documentation":"

The ID of the offering.

" }, "commitment":{ "shape":"Amount", "documentation":"

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.

" }, "upfrontPaymentAmount":{ "shape":"Amount", "documentation":"

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.

" }, "clientToken":{ "shape":"ClientToken", "documentation":"

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

", "idempotencyToken":true }, "tags":{ "shape":"TagMap", "documentation":"

One or more tags.

" } } }, "CreateSavingsPlanResponse":{ "type":"structure", "members":{ "savingsPlanId":{ "shape":"SavingsPlanId", "documentation":"

The ID of the Savings Plan.

" } } }, "CurrencyCode":{ "type":"string", "enum":[ "CNY", "USD" ] }, "CurrencyList":{ "type":"list", "member":{"shape":"CurrencyCode"} }, "DescribeSavingsPlanRatesRequest":{ "type":"structure", "required":["savingsPlanId"], "members":{ "savingsPlanId":{ "shape":"SavingsPlanId", "documentation":"

The ID of the Savings Plan.

" }, "filters":{ "shape":"SavingsPlanRateFilterList", "documentation":"

The filters.

" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The token for the next page of results.

" }, "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.

" } } }, "DescribeSavingsPlanRatesResponse":{ "type":"structure", "members":{ "savingsPlanId":{ "shape":"SavingsPlanId", "documentation":"

The ID of the Savings Plan.

" }, "searchResults":{ "shape":"SavingsPlanRateList", "documentation":"

Information about the Savings Plans rates.

" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

" } } }, "DescribeSavingsPlansOfferingRatesRequest":{ "type":"structure", "members":{ "savingsPlanOfferingIds":{ "shape":"UUIDs", "documentation":"

The IDs of the offerings.

" }, "savingsPlanPaymentOptions":{ "shape":"SavingsPlanPaymentOptionList", "documentation":"

The payment options.

" }, "savingsPlanTypes":{ "shape":"SavingsPlanTypeList", "documentation":"

The plan types.

" }, "products":{ "shape":"SavingsPlanProductTypeList", "documentation":"

The AWS products.

" }, "serviceCodes":{ "shape":"SavingsPlanRateServiceCodeList", "documentation":"

The services.

" }, "usageTypes":{ "shape":"SavingsPlanRateUsageTypeList", "documentation":"

The usage details of the line item in the billing report.

" }, "operations":{ "shape":"SavingsPlanRateOperationList", "documentation":"

The specific AWS operation for the line item in the billing report.

" }, "filters":{ "shape":"SavingsPlanOfferingRateFiltersList", "documentation":"

The filters.

" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The token for the next page of results.

" }, "maxResults":{ "shape":"PageSize", "documentation":"

The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.

" } } }, "DescribeSavingsPlansOfferingRatesResponse":{ "type":"structure", "members":{ "searchResults":{ "shape":"SavingsPlanOfferingRatesList", "documentation":"

Information about the Savings Plans offering rates.

" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

" } } }, "DescribeSavingsPlansOfferingsRequest":{ "type":"structure", "members":{ "offeringIds":{ "shape":"UUIDs", "documentation":"

The IDs of the offerings.

" }, "paymentOptions":{ "shape":"SavingsPlanPaymentOptionList", "documentation":"

The payment options.

" }, "productType":{ "shape":"SavingsPlanProductType", "documentation":"

The product type.

" }, "planTypes":{ "shape":"SavingsPlanTypeList", "documentation":"

The plan type.

" }, "durations":{ "shape":"DurationsList", "documentation":"

The durations, in seconds.

" }, "currencies":{ "shape":"CurrencyList", "documentation":"

The currencies.

" }, "descriptions":{ "shape":"SavingsPlanDescriptionsList", "documentation":"

The descriptions.

" }, "serviceCodes":{ "shape":"SavingsPlanServiceCodeList", "documentation":"

The services.

" }, "usageTypes":{ "shape":"SavingsPlanUsageTypeList", "documentation":"

The usage details of the line item in the billing report.

" }, "operations":{ "shape":"SavingsPlanOperationList", "documentation":"

The specific AWS operation for the line item in the billing report.

" }, "filters":{ "shape":"SavingsPlanOfferingFiltersList", "documentation":"

The filters.

" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The token for the next page of results.

" }, "maxResults":{ "shape":"PageSize", "documentation":"

The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.

" } } }, "DescribeSavingsPlansOfferingsResponse":{ "type":"structure", "members":{ "searchResults":{ "shape":"SavingsPlanOfferingsList", "documentation":"

Information about the Savings Plans offerings.

" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

" } } }, "DescribeSavingsPlansRequest":{ "type":"structure", "members":{ "savingsPlanArns":{ "shape":"SavingsPlanArnList", "documentation":"

The Amazon Resource Names (ARN) of the Savings Plans.

" }, "savingsPlanIds":{ "shape":"SavingsPlanIdList", "documentation":"

The IDs of the Savings Plans.

" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The token for the next page of results.

" }, "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.

" }, "states":{ "shape":"SavingsPlanStateList", "documentation":"

The states.

" }, "filters":{ "shape":"SavingsPlanFilterList", "documentation":"

The filters.

" } } }, "DescribeSavingsPlansResponse":{ "type":"structure", "members":{ "savingsPlans":{ "shape":"SavingsPlanList", "documentation":"

Information about the Savings Plans.

" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

" } } }, "DurationsList":{ "type":"list", "member":{"shape":"SavingsPlansDuration"} }, "EC2InstanceFamily":{"type":"string"}, "FilterValuesList":{ "type":"list", "member":{"shape":"JsonSafeFilterValueString"} }, "InternalServerException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String"} }, "documentation":"

An unexpected error occurred.

", "error":{"httpStatusCode":500}, "exception":true }, "JsonSafeFilterValueString":{ "type":"string", "pattern":"^[a-zA-Z0-9_ \\/.\\:\\-\\(\\)]+$" }, "ListOfStrings":{ "type":"list", "member":{"shape":"String"} }, "ListTagsForResourceRequest":{ "type":"structure", "required":["resourceArn"], "members":{ "resourceArn":{ "shape":"SavingsPlanArn", "documentation":"

The Amazon Resource Name (ARN) of the resource.

" } } }, "ListTagsForResourceResponse":{ "type":"structure", "members":{ "tags":{ "shape":"TagMap", "documentation":"

Information about the tags.

" } } }, "MaxResults":{ "type":"integer", "max":1000, "min":1 }, "PageSize":{ "type":"integer", "max":1000, "min":0 }, "PaginationToken":{ "type":"string", "max":1024, "pattern":"^[A-Za-z0-9/=\\+]+$" }, "ParentSavingsPlanOffering":{ "type":"structure", "members":{ "offeringId":{ "shape":"UUID", "documentation":"

The ID of the offering.

" }, "paymentOption":{ "shape":"SavingsPlanPaymentOption", "documentation":"

The payment option.

" }, "planType":{ "shape":"SavingsPlanType", "documentation":"

The plan type.

" }, "durationSeconds":{ "shape":"SavingsPlansDuration", "documentation":"

The duration, in seconds.

" }, "currency":{ "shape":"CurrencyCode", "documentation":"

The currency.

" }, "planDescription":{ "shape":"SavingsPlanDescription", "documentation":"

The description.

" } }, "documentation":"

Information about a Savings Plan offering.

" }, "Region":{"type":"string"}, "ResourceNotFoundException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String"} }, "documentation":"

The specified resource was not found.

", "error":{"httpStatusCode":404}, "exception":true }, "SavingsPlan":{ "type":"structure", "members":{ "offeringId":{ "shape":"SavingsPlanOfferingId", "documentation":"

The ID of the offering.

" }, "savingsPlanId":{ "shape":"SavingsPlanId", "documentation":"

The ID of the Savings Plan.

" }, "savingsPlanArn":{ "shape":"SavingsPlanArn", "documentation":"

The Amazon Resource Name (ARN) of the Savings Plan.

" }, "description":{ "shape":"String", "documentation":"

The description.

" }, "start":{ "shape":"String", "documentation":"

The start time.

" }, "end":{ "shape":"String", "documentation":"

The end time.

" }, "state":{ "shape":"SavingsPlanState", "documentation":"

The state.

" }, "region":{ "shape":"Region", "documentation":"

The AWS Region.

" }, "ec2InstanceFamily":{ "shape":"EC2InstanceFamily", "documentation":"

The EC2 instance family.

" }, "savingsPlanType":{ "shape":"SavingsPlanType", "documentation":"

The plan type.

" }, "paymentOption":{ "shape":"SavingsPlanPaymentOption", "documentation":"

The payment option.

" }, "productTypes":{ "shape":"SavingsPlanProductTypeList", "documentation":"

The product types.

" }, "currency":{ "shape":"CurrencyCode", "documentation":"

The currency.

" }, "commitment":{ "shape":"Amount", "documentation":"

The hourly commitment, in USD.

" }, "upfrontPaymentAmount":{ "shape":"Amount", "documentation":"

The up-front payment amount.

" }, "recurringPaymentAmount":{ "shape":"Amount", "documentation":"

The recurring payment amount.

" }, "termDurationInSeconds":{ "shape":"TermDurationInSeconds", "documentation":"

The duration of the term, in seconds.

" }, "tags":{ "shape":"TagMap", "documentation":"

One or more tags.

" } }, "documentation":"

Information about a Savings Plan.

" }, "SavingsPlanArn":{ "type":"string", "pattern":"arn:aws:[a-z]+:([a-z]{2}-[a-z]+-\\d{1}|):(\\d{12}):savingsplan\\/([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})$" }, "SavingsPlanArnList":{ "type":"list", "member":{"shape":"SavingsPlanArn"}, "max":100 }, "SavingsPlanDescription":{ "type":"string", "pattern":"^[a-zA-Z0-9_\\- ]+$" }, "SavingsPlanDescriptionsList":{ "type":"list", "member":{"shape":"SavingsPlanDescription"} }, "SavingsPlanFilter":{ "type":"structure", "members":{ "name":{ "shape":"SavingsPlansFilterName", "documentation":"

The filter name.

" }, "values":{ "shape":"ListOfStrings", "documentation":"

The filter value.

" } }, "documentation":"

Information about a filter.

" }, "SavingsPlanFilterList":{ "type":"list", "member":{"shape":"SavingsPlanFilter"} }, "SavingsPlanId":{"type":"string"}, "SavingsPlanIdList":{ "type":"list", "member":{"shape":"SavingsPlanId"} }, "SavingsPlanList":{ "type":"list", "member":{"shape":"SavingsPlan"} }, "SavingsPlanOffering":{ "type":"structure", "members":{ "offeringId":{ "shape":"UUID", "documentation":"

The ID of the offering.

" }, "productTypes":{ "shape":"SavingsPlanProductTypeList", "documentation":"

The product type.

" }, "planType":{ "shape":"SavingsPlanType", "documentation":"

The plan type.

" }, "description":{ "shape":"SavingsPlanDescription", "documentation":"

The description.

" }, "paymentOption":{ "shape":"SavingsPlanPaymentOption", "documentation":"

The payment option.

" }, "durationSeconds":{ "shape":"SavingsPlansDuration", "documentation":"

The duration, in seconds.

" }, "currency":{ "shape":"CurrencyCode", "documentation":"

The currency.

" }, "serviceCode":{ "shape":"SavingsPlanServiceCode", "documentation":"

The service.

" }, "usageType":{ "shape":"SavingsPlanUsageType", "documentation":"

The usage details of the line item in the billing report.

" }, "operation":{ "shape":"SavingsPlanOperation", "documentation":"

The specific AWS operation for the line item in the billing report.

" }, "properties":{ "shape":"SavingsPlanOfferingPropertyList", "documentation":"

The properties.

" } }, "documentation":"

Information about a Savings Plan offering.

" }, "SavingsPlanOfferingFilterAttribute":{ "type":"string", "enum":[ "region", "instanceFamily" ] }, "SavingsPlanOfferingFilterElement":{ "type":"structure", "members":{ "name":{ "shape":"SavingsPlanOfferingFilterAttribute", "documentation":"

The filter name.

" }, "values":{ "shape":"FilterValuesList", "documentation":"

The filter values.

" } }, "documentation":"

Information about a filter.

" }, "SavingsPlanOfferingFiltersList":{ "type":"list", "member":{"shape":"SavingsPlanOfferingFilterElement"} }, "SavingsPlanOfferingId":{"type":"string"}, "SavingsPlanOfferingProperty":{ "type":"structure", "members":{ "name":{ "shape":"SavingsPlanOfferingPropertyKey", "documentation":"

The property name.

" }, "value":{ "shape":"JsonSafeFilterValueString", "documentation":"

The property value.

" } }, "documentation":"

Information about a property.

" }, "SavingsPlanOfferingPropertyKey":{ "type":"string", "enum":[ "region", "instanceFamily" ] }, "SavingsPlanOfferingPropertyList":{ "type":"list", "member":{"shape":"SavingsPlanOfferingProperty"} }, "SavingsPlanOfferingRate":{ "type":"structure", "members":{ "savingsPlanOffering":{ "shape":"ParentSavingsPlanOffering", "documentation":"

The Savings Plan offering.

" }, "rate":{ "shape":"SavingsPlanRatePricePerUnit", "documentation":"

The Savings Plan rate.

" }, "unit":{ "shape":"SavingsPlanRateUnit", "documentation":"

The unit.

" }, "productType":{ "shape":"SavingsPlanProductType", "documentation":"

The product type.

" }, "serviceCode":{ "shape":"SavingsPlanRateServiceCode", "documentation":"

The service.

" }, "usageType":{ "shape":"SavingsPlanRateUsageType", "documentation":"

The usage details of the line item in the billing report.

" }, "operation":{ "shape":"SavingsPlanRateOperation", "documentation":"

The specific AWS operation for the line item in the billing report.

" }, "properties":{ "shape":"SavingsPlanOfferingRatePropertyList", "documentation":"

The properties.

" } }, "documentation":"

Information about a Savings Plan offering rate.

" }, "SavingsPlanOfferingRateFilterElement":{ "type":"structure", "members":{ "name":{ "shape":"SavingsPlanRateFilterAttribute", "documentation":"

The filter name.

" }, "values":{ "shape":"FilterValuesList", "documentation":"

The filter values.

" } }, "documentation":"

Information about a filter.

" }, "SavingsPlanOfferingRateFiltersList":{ "type":"list", "member":{"shape":"SavingsPlanOfferingRateFilterElement"} }, "SavingsPlanOfferingRateProperty":{ "type":"structure", "members":{ "name":{ "shape":"JsonSafeFilterValueString", "documentation":"

The property name.

" }, "value":{ "shape":"JsonSafeFilterValueString", "documentation":"

The property value.

" } }, "documentation":"

Information about a property.

" }, "SavingsPlanOfferingRatePropertyList":{ "type":"list", "member":{"shape":"SavingsPlanOfferingRateProperty"} }, "SavingsPlanOfferingRatesList":{ "type":"list", "member":{"shape":"SavingsPlanOfferingRate"} }, "SavingsPlanOfferingsList":{ "type":"list", "member":{"shape":"SavingsPlanOffering"} }, "SavingsPlanOperation":{ "type":"string", "max":255, "pattern":"^[a-zA-Z0-9_ \\/.:-]*$" }, "SavingsPlanOperationList":{ "type":"list", "member":{"shape":"SavingsPlanOperation"} }, "SavingsPlanPaymentOption":{ "type":"string", "enum":[ "All Upfront", "Partial Upfront", "No Upfront" ] }, "SavingsPlanPaymentOptionList":{ "type":"list", "member":{"shape":"SavingsPlanPaymentOption"} }, "SavingsPlanProductType":{ "type":"string", "enum":[ "EC2", "Fargate", "Lambda" ] }, "SavingsPlanProductTypeList":{ "type":"list", "member":{"shape":"SavingsPlanProductType"} }, "SavingsPlanRate":{ "type":"structure", "members":{ "rate":{ "shape":"Amount", "documentation":"

The rate.

" }, "currency":{ "shape":"CurrencyCode", "documentation":"

The currency.

" }, "unit":{ "shape":"SavingsPlanRateUnit", "documentation":"

The unit.

" }, "productType":{ "shape":"SavingsPlanProductType", "documentation":"

The product type.

" }, "serviceCode":{ "shape":"SavingsPlanRateServiceCode", "documentation":"

The service.

" }, "usageType":{ "shape":"SavingsPlanRateUsageType", "documentation":"

The usage details of the line item in the billing report.

" }, "operation":{ "shape":"SavingsPlanRateOperation", "documentation":"

The specific AWS operation for the line item in the billing report.

" }, "properties":{ "shape":"SavingsPlanRatePropertyList", "documentation":"

The properties.

" } }, "documentation":"

Information about a Savings Plan rate.

" }, "SavingsPlanRateFilter":{ "type":"structure", "members":{ "name":{ "shape":"SavingsPlanRateFilterName", "documentation":"

The filter name.

" }, "values":{ "shape":"ListOfStrings", "documentation":"

The filter values.

" } }, "documentation":"

Information about a filter.

" }, "SavingsPlanRateFilterAttribute":{ "type":"string", "enum":[ "region", "instanceFamily", "instanceType", "productDescription", "tenancy", "productId" ] }, "SavingsPlanRateFilterList":{ "type":"list", "member":{"shape":"SavingsPlanRateFilter"} }, "SavingsPlanRateFilterName":{ "type":"string", "enum":[ "region", "instanceType", "productDescription", "tenancy", "productType", "serviceCode", "usageType", "operation" ] }, "SavingsPlanRateList":{ "type":"list", "member":{"shape":"SavingsPlanRate"} }, "SavingsPlanRateOperation":{ "type":"string", "max":255, "pattern":"^[a-zA-Z0-9_ \\/.:-]*$" }, "SavingsPlanRateOperationList":{ "type":"list", "member":{"shape":"SavingsPlanRateOperation"} }, "SavingsPlanRatePricePerUnit":{"type":"string"}, "SavingsPlanRateProperty":{ "type":"structure", "members":{ "name":{ "shape":"SavingsPlanRatePropertyKey", "documentation":"

The property name.

" }, "value":{ "shape":"JsonSafeFilterValueString", "documentation":"

The property value.

" } }, "documentation":"

Information about a property.

" }, "SavingsPlanRatePropertyKey":{ "type":"string", "enum":[ "region", "instanceType", "instanceFamily", "productDescription", "tenancy" ] }, "SavingsPlanRatePropertyList":{ "type":"list", "member":{"shape":"SavingsPlanRateProperty"} }, "SavingsPlanRateServiceCode":{ "type":"string", "enum":[ "AmazonEC2", "AmazonECS", "AWSLambda" ] }, "SavingsPlanRateServiceCodeList":{ "type":"list", "member":{"shape":"SavingsPlanRateServiceCode"} }, "SavingsPlanRateUnit":{ "type":"string", "enum":[ "Hrs", "Lambda-GB-Second", "Request" ] }, "SavingsPlanRateUsageType":{ "type":"string", "max":255, "pattern":"^[a-zA-Z0-9_ \\/.:-]+$" }, "SavingsPlanRateUsageTypeList":{ "type":"list", "member":{"shape":"SavingsPlanRateUsageType"} }, "SavingsPlanServiceCode":{ "type":"string", "max":255, "pattern":"^[a-zA-Z]+$" }, "SavingsPlanServiceCodeList":{ "type":"list", "member":{"shape":"SavingsPlanServiceCode"} }, "SavingsPlanState":{ "type":"string", "enum":[ "payment-pending", "payment-failed", "active", "retired" ] }, "SavingsPlanStateList":{ "type":"list", "member":{"shape":"SavingsPlanState"} }, "SavingsPlanType":{ "type":"string", "enum":[ "Compute", "EC2Instance" ] }, "SavingsPlanTypeList":{ "type":"list", "member":{"shape":"SavingsPlanType"} }, "SavingsPlanUsageType":{ "type":"string", "max":255, "pattern":"^[a-zA-Z0-9_ \\/.:-]+$" }, "SavingsPlanUsageTypeList":{ "type":"list", "member":{"shape":"SavingsPlanUsageType"} }, "SavingsPlansDuration":{ "type":"long", "min":0 }, "SavingsPlansFilterName":{ "type":"string", "enum":[ "region", "ec2-instance-family", "commitment", "upfront", "term", "savings-plan-type", "payment-option", "start", "end" ] }, "ServiceQuotaExceededException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String"} }, "documentation":"

A service quota has been exceeded.

", "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":"

The Amazon Resource Name (ARN) of the resource.

" }, "tags":{ "shape":"TagMap", "documentation":"

One or more tags. For example, { \"tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

" } } }, "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":"

The Amazon Resource Name (ARN) of the resource.

" }, "tagKeys":{ "shape":"TagKeyList", "documentation":"

The tag keys.

" } } }, "UntagResourceResponse":{ "type":"structure", "members":{ } }, "ValidationException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String"} }, "documentation":"

One of the input parameters is not valid.

", "error":{"httpStatusCode":400}, "exception":true } }, "documentation":"

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 AWS Savings Plans User Guide.

" }