{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.savingsplans#AWSSavingsPlan": { "type": "service", "version": "2019-06-28", "operations": [ { "target": "com.amazonaws.savingsplans#CreateSavingsPlan" }, { "target": "com.amazonaws.savingsplans#DeleteQueuedSavingsPlan" }, { "target": "com.amazonaws.savingsplans#DescribeSavingsPlanRates" }, { "target": "com.amazonaws.savingsplans#DescribeSavingsPlans" }, { "target": "com.amazonaws.savingsplans#DescribeSavingsPlansOfferingRates" }, { "target": "com.amazonaws.savingsplans#DescribeSavingsPlansOfferings" }, { "target": "com.amazonaws.savingsplans#ListTagsForResource" }, { "target": "com.amazonaws.savingsplans#TagResource" }, { "target": "com.amazonaws.savingsplans#UntagResource" } ], "traits": { "aws.api#service": { "sdkId": "savingsplans", "arnNamespace": "savingsplans", "cloudFormationName": "Savingsplans", "cloudTrailEventSource": "savingsplans.amazonaws.com", "endpointPrefix": "savingsplans" }, "aws.auth#sigv4": { "name": "savingsplans" }, "aws.protocols#restJson1": {}, "smithy.api#documentation": "
Savings Plans are a pricing model that offer significant savings on AWS usage (for\n example, on Amazon EC2 instances). You commit to a consistent amount of usage, in USD\n per hour, for a term of 1 or 3 years, and receive a lower price for that usage. For\n more information, see the AWS Savings Plans User Guide.
", "smithy.api#title": "AWS Savings Plans" } }, "com.amazonaws.savingsplans#Amount": { "type": "string" }, "com.amazonaws.savingsplans#ClientToken": { "type": "string" }, "com.amazonaws.savingsplans#CreateSavingsPlan": { "type": "operation", "input": { "target": "com.amazonaws.savingsplans#CreateSavingsPlanRequest" }, "output": { "target": "com.amazonaws.savingsplans#CreateSavingsPlanResponse" }, "errors": [ { "target": "com.amazonaws.savingsplans#InternalServerException" }, { "target": "com.amazonaws.savingsplans#ResourceNotFoundException" }, { "target": "com.amazonaws.savingsplans#ServiceQuotaExceededException" }, { "target": "com.amazonaws.savingsplans#ValidationException" } ], "traits": { "smithy.api#documentation": "Creates a Savings Plan.
", "smithy.api#http": { "method": "POST", "uri": "/CreateSavingsPlan", "code": 200 } } }, "com.amazonaws.savingsplans#CreateSavingsPlanRequest": { "type": "structure", "members": { "savingsPlanOfferingId": { "target": "com.amazonaws.savingsplans#SavingsPlanOfferingId", "traits": { "smithy.api#documentation": "The ID of the offering.
", "smithy.api#required": {} } }, "commitment": { "target": "com.amazonaws.savingsplans#Amount", "traits": { "smithy.api#documentation": "The hourly commitment, in USD. This is a value between 0.001 and 1 million. You cannot specify more\n than three digits after the decimal point.
", "smithy.api#required": {} } }, "upfrontPaymentAmount": { "target": "com.amazonaws.savingsplans#Amount", "traits": { "smithy.api#documentation": "The up-front payment amount. This is a whole number between 50 and 99 percent of the total value of the Savings Plan.\n This parameter is supported only if the payment option is Partial Upfront
.
The time at which to purchase the Savings Plan, in UTC format (YYYY-MM-DDTHH:MM:SSZ).
" } }, "clientToken": { "target": "com.amazonaws.savingsplans#ClientToken", "traits": { "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
", "smithy.api#idempotencyToken": {} } }, "tags": { "target": "com.amazonaws.savingsplans#TagMap", "traits": { "smithy.api#documentation": "One or more tags.
" } } } }, "com.amazonaws.savingsplans#CreateSavingsPlanResponse": { "type": "structure", "members": { "savingsPlanId": { "target": "com.amazonaws.savingsplans#SavingsPlanId", "traits": { "smithy.api#documentation": "The ID of the Savings Plan.
" } } } }, "com.amazonaws.savingsplans#CurrencyCode": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CNY", "name": "CNY" }, { "value": "USD", "name": "USD" } ] } }, "com.amazonaws.savingsplans#CurrencyList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#CurrencyCode" } }, "com.amazonaws.savingsplans#DateTime": { "type": "timestamp" }, "com.amazonaws.savingsplans#DeleteQueuedSavingsPlan": { "type": "operation", "input": { "target": "com.amazonaws.savingsplans#DeleteQueuedSavingsPlanRequest" }, "output": { "target": "com.amazonaws.savingsplans#DeleteQueuedSavingsPlanResponse" }, "errors": [ { "target": "com.amazonaws.savingsplans#InternalServerException" }, { "target": "com.amazonaws.savingsplans#ResourceNotFoundException" }, { "target": "com.amazonaws.savingsplans#ServiceQuotaExceededException" }, { "target": "com.amazonaws.savingsplans#ValidationException" } ], "traits": { "smithy.api#documentation": "Deletes the queued purchase for the specified Savings Plan.
", "smithy.api#http": { "method": "POST", "uri": "/DeleteQueuedSavingsPlan", "code": 200 } } }, "com.amazonaws.savingsplans#DeleteQueuedSavingsPlanRequest": { "type": "structure", "members": { "savingsPlanId": { "target": "com.amazonaws.savingsplans#SavingsPlanId", "traits": { "smithy.api#documentation": "The ID of the Savings Plan.
", "smithy.api#required": {} } } } }, "com.amazonaws.savingsplans#DeleteQueuedSavingsPlanResponse": { "type": "structure", "members": {} }, "com.amazonaws.savingsplans#DescribeSavingsPlanRates": { "type": "operation", "input": { "target": "com.amazonaws.savingsplans#DescribeSavingsPlanRatesRequest" }, "output": { "target": "com.amazonaws.savingsplans#DescribeSavingsPlanRatesResponse" }, "errors": [ { "target": "com.amazonaws.savingsplans#ResourceNotFoundException" }, { "target": "com.amazonaws.savingsplans#ValidationException" } ], "traits": { "smithy.api#documentation": "Describes the specified Savings Plans rates.
", "smithy.api#http": { "method": "POST", "uri": "/DescribeSavingsPlanRates", "code": 200 } } }, "com.amazonaws.savingsplans#DescribeSavingsPlanRatesRequest": { "type": "structure", "members": { "savingsPlanId": { "target": "com.amazonaws.savingsplans#SavingsPlanId", "traits": { "smithy.api#documentation": "The ID of the Savings Plan.
", "smithy.api#required": {} } }, "filters": { "target": "com.amazonaws.savingsplans#SavingsPlanRateFilterList", "traits": { "smithy.api#documentation": "The filters.
" } }, "nextToken": { "target": "com.amazonaws.savingsplans#PaginationToken", "traits": { "smithy.api#documentation": "The token for the next page of results.
" } }, "maxResults": { "target": "com.amazonaws.savingsplans#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of results to return with a single call. To retrieve additional results, make another\n call with the returned token value.
" } } } }, "com.amazonaws.savingsplans#DescribeSavingsPlanRatesResponse": { "type": "structure", "members": { "savingsPlanId": { "target": "com.amazonaws.savingsplans#SavingsPlanId", "traits": { "smithy.api#documentation": "The ID of the Savings Plan.
" } }, "searchResults": { "target": "com.amazonaws.savingsplans#SavingsPlanRateList", "traits": { "smithy.api#documentation": "Information about the Savings Plans rates.
" } }, "nextToken": { "target": "com.amazonaws.savingsplans#PaginationToken", "traits": { "smithy.api#documentation": "The token to use to retrieve the next page of results. This value is null when there are no more \n results to return.
" } } } }, "com.amazonaws.savingsplans#DescribeSavingsPlans": { "type": "operation", "input": { "target": "com.amazonaws.savingsplans#DescribeSavingsPlansRequest" }, "output": { "target": "com.amazonaws.savingsplans#DescribeSavingsPlansResponse" }, "errors": [ { "target": "com.amazonaws.savingsplans#InternalServerException" }, { "target": "com.amazonaws.savingsplans#ValidationException" } ], "traits": { "smithy.api#documentation": "Describes the specified Savings Plans.
", "smithy.api#http": { "method": "POST", "uri": "/DescribeSavingsPlans", "code": 200 } } }, "com.amazonaws.savingsplans#DescribeSavingsPlansOfferingRates": { "type": "operation", "input": { "target": "com.amazonaws.savingsplans#DescribeSavingsPlansOfferingRatesRequest" }, "output": { "target": "com.amazonaws.savingsplans#DescribeSavingsPlansOfferingRatesResponse" }, "errors": [ { "target": "com.amazonaws.savingsplans#InternalServerException" }, { "target": "com.amazonaws.savingsplans#ValidationException" } ], "traits": { "smithy.api#documentation": "Describes the specified Savings Plans offering rates.
", "smithy.api#http": { "method": "POST", "uri": "/DescribeSavingsPlansOfferingRates", "code": 200 } } }, "com.amazonaws.savingsplans#DescribeSavingsPlansOfferingRatesRequest": { "type": "structure", "members": { "savingsPlanOfferingIds": { "target": "com.amazonaws.savingsplans#UUIDs", "traits": { "smithy.api#documentation": "The IDs of the offerings.
" } }, "savingsPlanPaymentOptions": { "target": "com.amazonaws.savingsplans#SavingsPlanPaymentOptionList", "traits": { "smithy.api#documentation": "The payment options.
" } }, "savingsPlanTypes": { "target": "com.amazonaws.savingsplans#SavingsPlanTypeList", "traits": { "smithy.api#documentation": "The plan types.
" } }, "products": { "target": "com.amazonaws.savingsplans#SavingsPlanProductTypeList", "traits": { "smithy.api#documentation": "The AWS products.
" } }, "serviceCodes": { "target": "com.amazonaws.savingsplans#SavingsPlanRateServiceCodeList", "traits": { "smithy.api#documentation": "The services.
" } }, "usageTypes": { "target": "com.amazonaws.savingsplans#SavingsPlanRateUsageTypeList", "traits": { "smithy.api#documentation": "The usage details of the line item in the billing report.
" } }, "operations": { "target": "com.amazonaws.savingsplans#SavingsPlanRateOperationList", "traits": { "smithy.api#documentation": "The specific AWS operation for the line item in the billing report.
" } }, "filters": { "target": "com.amazonaws.savingsplans#SavingsPlanOfferingRateFiltersList", "traits": { "smithy.api#documentation": "The filters.
" } }, "nextToken": { "target": "com.amazonaws.savingsplans#PaginationToken", "traits": { "smithy.api#documentation": "The token for the next page of results.
" } }, "maxResults": { "target": "com.amazonaws.savingsplans#PageSize", "traits": { "smithy.api#documentation": "The maximum number of results to return with a single call. To retrieve additional results, make another\n call with the returned token value.
" } } } }, "com.amazonaws.savingsplans#DescribeSavingsPlansOfferingRatesResponse": { "type": "structure", "members": { "searchResults": { "target": "com.amazonaws.savingsplans#SavingsPlanOfferingRatesList", "traits": { "smithy.api#documentation": "Information about the Savings Plans offering rates.
" } }, "nextToken": { "target": "com.amazonaws.savingsplans#PaginationToken", "traits": { "smithy.api#documentation": "The token to use to retrieve the next page of results. This value is null when there are no more \n results to return.
" } } } }, "com.amazonaws.savingsplans#DescribeSavingsPlansOfferings": { "type": "operation", "input": { "target": "com.amazonaws.savingsplans#DescribeSavingsPlansOfferingsRequest" }, "output": { "target": "com.amazonaws.savingsplans#DescribeSavingsPlansOfferingsResponse" }, "errors": [ { "target": "com.amazonaws.savingsplans#InternalServerException" }, { "target": "com.amazonaws.savingsplans#ValidationException" } ], "traits": { "smithy.api#documentation": "Describes the specified Savings Plans offerings.
", "smithy.api#http": { "method": "POST", "uri": "/DescribeSavingsPlansOfferings", "code": 200 } } }, "com.amazonaws.savingsplans#DescribeSavingsPlansOfferingsRequest": { "type": "structure", "members": { "offeringIds": { "target": "com.amazonaws.savingsplans#UUIDs", "traits": { "smithy.api#documentation": "The IDs of the offerings.
" } }, "paymentOptions": { "target": "com.amazonaws.savingsplans#SavingsPlanPaymentOptionList", "traits": { "smithy.api#documentation": "The payment options.
" } }, "productType": { "target": "com.amazonaws.savingsplans#SavingsPlanProductType", "traits": { "smithy.api#documentation": "The product type.
" } }, "planTypes": { "target": "com.amazonaws.savingsplans#SavingsPlanTypeList", "traits": { "smithy.api#documentation": "The plan type.
" } }, "durations": { "target": "com.amazonaws.savingsplans#DurationsList", "traits": { "smithy.api#documentation": "The durations, in seconds.
" } }, "currencies": { "target": "com.amazonaws.savingsplans#CurrencyList", "traits": { "smithy.api#documentation": "The currencies.
" } }, "descriptions": { "target": "com.amazonaws.savingsplans#SavingsPlanDescriptionsList", "traits": { "smithy.api#documentation": "The descriptions.
" } }, "serviceCodes": { "target": "com.amazonaws.savingsplans#SavingsPlanServiceCodeList", "traits": { "smithy.api#documentation": "The services.
" } }, "usageTypes": { "target": "com.amazonaws.savingsplans#SavingsPlanUsageTypeList", "traits": { "smithy.api#documentation": "The usage details of the line item in the billing report.
" } }, "operations": { "target": "com.amazonaws.savingsplans#SavingsPlanOperationList", "traits": { "smithy.api#documentation": "The specific AWS operation for the line item in the billing report.
" } }, "filters": { "target": "com.amazonaws.savingsplans#SavingsPlanOfferingFiltersList", "traits": { "smithy.api#documentation": "The filters.
" } }, "nextToken": { "target": "com.amazonaws.savingsplans#PaginationToken", "traits": { "smithy.api#documentation": "The token for the next page of results.
" } }, "maxResults": { "target": "com.amazonaws.savingsplans#PageSize", "traits": { "smithy.api#documentation": "The maximum number of results to return with a single call. To retrieve additional results, make another\n call with the returned token value.
" } } } }, "com.amazonaws.savingsplans#DescribeSavingsPlansOfferingsResponse": { "type": "structure", "members": { "searchResults": { "target": "com.amazonaws.savingsplans#SavingsPlanOfferingsList", "traits": { "smithy.api#documentation": "Information about the Savings Plans offerings.
" } }, "nextToken": { "target": "com.amazonaws.savingsplans#PaginationToken", "traits": { "smithy.api#documentation": "The token to use to retrieve the next page of results. This value is null when there are no more \n results to return.
" } } } }, "com.amazonaws.savingsplans#DescribeSavingsPlansRequest": { "type": "structure", "members": { "savingsPlanArns": { "target": "com.amazonaws.savingsplans#SavingsPlanArnList", "traits": { "smithy.api#documentation": "The Amazon Resource Names (ARN) of the Savings Plans.
" } }, "savingsPlanIds": { "target": "com.amazonaws.savingsplans#SavingsPlanIdList", "traits": { "smithy.api#documentation": "The IDs of the Savings Plans.
" } }, "nextToken": { "target": "com.amazonaws.savingsplans#PaginationToken", "traits": { "smithy.api#documentation": "The token for the next page of results.
" } }, "maxResults": { "target": "com.amazonaws.savingsplans#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of results to return with a single call. To retrieve additional results, make another\n call with the returned token value.
" } }, "states": { "target": "com.amazonaws.savingsplans#SavingsPlanStateList", "traits": { "smithy.api#documentation": "The states.
" } }, "filters": { "target": "com.amazonaws.savingsplans#SavingsPlanFilterList", "traits": { "smithy.api#documentation": "The filters.
" } } } }, "com.amazonaws.savingsplans#DescribeSavingsPlansResponse": { "type": "structure", "members": { "savingsPlans": { "target": "com.amazonaws.savingsplans#SavingsPlanList", "traits": { "smithy.api#documentation": "Information about the Savings Plans.
" } }, "nextToken": { "target": "com.amazonaws.savingsplans#PaginationToken", "traits": { "smithy.api#documentation": "The token to use to retrieve the next page of results. This value is null when there are no more \n results to return.
" } } } }, "com.amazonaws.savingsplans#DurationsList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlansDuration" } }, "com.amazonaws.savingsplans#EC2InstanceFamily": { "type": "string" }, "com.amazonaws.savingsplans#FilterValuesList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#JsonSafeFilterValueString" } }, "com.amazonaws.savingsplans#InternalServerException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.savingsplans#String", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "An unexpected error occurred.
", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.savingsplans#JsonSafeFilterValueString": { "type": "string", "traits": { "smithy.api#pattern": "^[a-zA-Z0-9_ \\/.\\:\\-\\(\\)]+$" } }, "com.amazonaws.savingsplans#ListOfStrings": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#String" } }, "com.amazonaws.savingsplans#ListTagsForResource": { "type": "operation", "input": { "target": "com.amazonaws.savingsplans#ListTagsForResourceRequest" }, "output": { "target": "com.amazonaws.savingsplans#ListTagsForResourceResponse" }, "errors": [ { "target": "com.amazonaws.savingsplans#InternalServerException" }, { "target": "com.amazonaws.savingsplans#ResourceNotFoundException" }, { "target": "com.amazonaws.savingsplans#ValidationException" } ], "traits": { "smithy.api#documentation": "Lists the tags for the specified resource.
", "smithy.api#http": { "method": "POST", "uri": "/ListTagsForResource", "code": 200 } } }, "com.amazonaws.savingsplans#ListTagsForResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.savingsplans#SavingsPlanArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource.
", "smithy.api#required": {} } } } }, "com.amazonaws.savingsplans#ListTagsForResourceResponse": { "type": "structure", "members": { "tags": { "target": "com.amazonaws.savingsplans#TagMap", "traits": { "smithy.api#documentation": "Information about the tags.
" } } } }, "com.amazonaws.savingsplans#MaxResults": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 } } }, "com.amazonaws.savingsplans#PageSize": { "type": "integer", "traits": { "smithy.api#range": { "min": 0, "max": 1000 } } }, "com.amazonaws.savingsplans#PaginationToken": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 1024 }, "smithy.api#pattern": "^[A-Za-z0-9/=\\+]+$" } }, "com.amazonaws.savingsplans#ParentSavingsPlanOffering": { "type": "structure", "members": { "offeringId": { "target": "com.amazonaws.savingsplans#UUID", "traits": { "smithy.api#documentation": "The ID of the offering.
" } }, "paymentOption": { "target": "com.amazonaws.savingsplans#SavingsPlanPaymentOption", "traits": { "smithy.api#documentation": "The payment option.
" } }, "planType": { "target": "com.amazonaws.savingsplans#SavingsPlanType", "traits": { "smithy.api#documentation": "The plan type.
" } }, "durationSeconds": { "target": "com.amazonaws.savingsplans#SavingsPlansDuration", "traits": { "smithy.api#documentation": "The duration, in seconds.
" } }, "currency": { "target": "com.amazonaws.savingsplans#CurrencyCode", "traits": { "smithy.api#documentation": "The currency.
" } }, "planDescription": { "target": "com.amazonaws.savingsplans#SavingsPlanDescription", "traits": { "smithy.api#documentation": "The description.
" } } }, "traits": { "smithy.api#documentation": "Information about a Savings Plan offering.
" } }, "com.amazonaws.savingsplans#Region": { "type": "string" }, "com.amazonaws.savingsplans#ResourceNotFoundException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.savingsplans#String", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The specified resource was not found.
", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.savingsplans#SavingsPlan": { "type": "structure", "members": { "offeringId": { "target": "com.amazonaws.savingsplans#SavingsPlanOfferingId", "traits": { "smithy.api#documentation": "The ID of the offering.
" } }, "savingsPlanId": { "target": "com.amazonaws.savingsplans#SavingsPlanId", "traits": { "smithy.api#documentation": "The ID of the Savings Plan.
" } }, "savingsPlanArn": { "target": "com.amazonaws.savingsplans#SavingsPlanArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Savings Plan.
" } }, "description": { "target": "com.amazonaws.savingsplans#String", "traits": { "smithy.api#documentation": "The description.
" } }, "start": { "target": "com.amazonaws.savingsplans#String", "traits": { "smithy.api#documentation": "The start time.
" } }, "end": { "target": "com.amazonaws.savingsplans#String", "traits": { "smithy.api#documentation": "The end time.
" } }, "state": { "target": "com.amazonaws.savingsplans#SavingsPlanState", "traits": { "smithy.api#documentation": "The state.
" } }, "region": { "target": "com.amazonaws.savingsplans#Region", "traits": { "smithy.api#documentation": "The AWS Region.
" } }, "ec2InstanceFamily": { "target": "com.amazonaws.savingsplans#EC2InstanceFamily", "traits": { "smithy.api#documentation": "The EC2 instance family.
" } }, "savingsPlanType": { "target": "com.amazonaws.savingsplans#SavingsPlanType", "traits": { "smithy.api#documentation": "The plan type.
" } }, "paymentOption": { "target": "com.amazonaws.savingsplans#SavingsPlanPaymentOption", "traits": { "smithy.api#documentation": "The payment option.
" } }, "productTypes": { "target": "com.amazonaws.savingsplans#SavingsPlanProductTypeList", "traits": { "smithy.api#documentation": "The product types.
" } }, "currency": { "target": "com.amazonaws.savingsplans#CurrencyCode", "traits": { "smithy.api#documentation": "The currency.
" } }, "commitment": { "target": "com.amazonaws.savingsplans#Amount", "traits": { "smithy.api#documentation": "The hourly commitment, in USD.
" } }, "upfrontPaymentAmount": { "target": "com.amazonaws.savingsplans#Amount", "traits": { "smithy.api#documentation": "The up-front payment amount.
" } }, "recurringPaymentAmount": { "target": "com.amazonaws.savingsplans#Amount", "traits": { "smithy.api#documentation": "The recurring payment amount.
" } }, "termDurationInSeconds": { "target": "com.amazonaws.savingsplans#TermDurationInSeconds", "traits": { "smithy.api#documentation": "The duration of the term, in seconds.
" } }, "tags": { "target": "com.amazonaws.savingsplans#TagMap", "traits": { "smithy.api#documentation": "One or more tags.
" } } }, "traits": { "smithy.api#documentation": "Information about a Savings Plan.
" } }, "com.amazonaws.savingsplans#SavingsPlanArn": { "type": "string", "traits": { "smithy.api#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})$" } }, "com.amazonaws.savingsplans#SavingsPlanArnList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanArn" }, "traits": { "smithy.api#length": { "min": 0, "max": 100 } } }, "com.amazonaws.savingsplans#SavingsPlanDescription": { "type": "string", "traits": { "smithy.api#pattern": "^[a-zA-Z0-9_\\- ]+$" } }, "com.amazonaws.savingsplans#SavingsPlanDescriptionsList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanDescription" } }, "com.amazonaws.savingsplans#SavingsPlanFilter": { "type": "structure", "members": { "name": { "target": "com.amazonaws.savingsplans#SavingsPlansFilterName", "traits": { "smithy.api#documentation": "The filter name.
" } }, "values": { "target": "com.amazonaws.savingsplans#ListOfStrings", "traits": { "smithy.api#documentation": "The filter value.
" } } }, "traits": { "smithy.api#documentation": "Information about a filter.
" } }, "com.amazonaws.savingsplans#SavingsPlanFilterList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanFilter" } }, "com.amazonaws.savingsplans#SavingsPlanId": { "type": "string" }, "com.amazonaws.savingsplans#SavingsPlanIdList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanId" } }, "com.amazonaws.savingsplans#SavingsPlanList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlan" } }, "com.amazonaws.savingsplans#SavingsPlanOffering": { "type": "structure", "members": { "offeringId": { "target": "com.amazonaws.savingsplans#UUID", "traits": { "smithy.api#documentation": "The ID of the offering.
" } }, "productTypes": { "target": "com.amazonaws.savingsplans#SavingsPlanProductTypeList", "traits": { "smithy.api#documentation": "The product type.
" } }, "planType": { "target": "com.amazonaws.savingsplans#SavingsPlanType", "traits": { "smithy.api#documentation": "The plan type.
" } }, "description": { "target": "com.amazonaws.savingsplans#SavingsPlanDescription", "traits": { "smithy.api#documentation": "The description.
" } }, "paymentOption": { "target": "com.amazonaws.savingsplans#SavingsPlanPaymentOption", "traits": { "smithy.api#documentation": "The payment option.
" } }, "durationSeconds": { "target": "com.amazonaws.savingsplans#SavingsPlansDuration", "traits": { "smithy.api#documentation": "The duration, in seconds.
" } }, "currency": { "target": "com.amazonaws.savingsplans#CurrencyCode", "traits": { "smithy.api#documentation": "The currency.
" } }, "serviceCode": { "target": "com.amazonaws.savingsplans#SavingsPlanServiceCode", "traits": { "smithy.api#documentation": "The service.
" } }, "usageType": { "target": "com.amazonaws.savingsplans#SavingsPlanUsageType", "traits": { "smithy.api#documentation": "The usage details of the line item in the billing report.
" } }, "operation": { "target": "com.amazonaws.savingsplans#SavingsPlanOperation", "traits": { "smithy.api#documentation": "The specific AWS operation for the line item in the billing report.
" } }, "properties": { "target": "com.amazonaws.savingsplans#SavingsPlanOfferingPropertyList", "traits": { "smithy.api#documentation": "The properties.
" } } }, "traits": { "smithy.api#documentation": "Information about a Savings Plan offering.
" } }, "com.amazonaws.savingsplans#SavingsPlanOfferingFilterAttribute": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "region", "name": "region" }, { "value": "instanceFamily", "name": "instanceFamily" } ] } }, "com.amazonaws.savingsplans#SavingsPlanOfferingFilterElement": { "type": "structure", "members": { "name": { "target": "com.amazonaws.savingsplans#SavingsPlanOfferingFilterAttribute", "traits": { "smithy.api#documentation": "The filter name.
" } }, "values": { "target": "com.amazonaws.savingsplans#FilterValuesList", "traits": { "smithy.api#documentation": "The filter values.
" } } }, "traits": { "smithy.api#documentation": "Information about a filter.
" } }, "com.amazonaws.savingsplans#SavingsPlanOfferingFiltersList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanOfferingFilterElement" } }, "com.amazonaws.savingsplans#SavingsPlanOfferingId": { "type": "string" }, "com.amazonaws.savingsplans#SavingsPlanOfferingProperty": { "type": "structure", "members": { "name": { "target": "com.amazonaws.savingsplans#SavingsPlanOfferingPropertyKey", "traits": { "smithy.api#documentation": "The property name.
" } }, "value": { "target": "com.amazonaws.savingsplans#JsonSafeFilterValueString", "traits": { "smithy.api#documentation": "The property value.
" } } }, "traits": { "smithy.api#documentation": "Information about a property.
" } }, "com.amazonaws.savingsplans#SavingsPlanOfferingPropertyKey": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "region", "name": "REGION" }, { "value": "instanceFamily", "name": "INSTANCE_FAMILY" } ] } }, "com.amazonaws.savingsplans#SavingsPlanOfferingPropertyList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanOfferingProperty" } }, "com.amazonaws.savingsplans#SavingsPlanOfferingRate": { "type": "structure", "members": { "savingsPlanOffering": { "target": "com.amazonaws.savingsplans#ParentSavingsPlanOffering", "traits": { "smithy.api#documentation": "The Savings Plan offering.
" } }, "rate": { "target": "com.amazonaws.savingsplans#SavingsPlanRatePricePerUnit", "traits": { "smithy.api#documentation": "The Savings Plan rate.
" } }, "unit": { "target": "com.amazonaws.savingsplans#SavingsPlanRateUnit", "traits": { "smithy.api#documentation": "The unit.
" } }, "productType": { "target": "com.amazonaws.savingsplans#SavingsPlanProductType", "traits": { "smithy.api#documentation": "The product type.
" } }, "serviceCode": { "target": "com.amazonaws.savingsplans#SavingsPlanRateServiceCode", "traits": { "smithy.api#documentation": "The service.
" } }, "usageType": { "target": "com.amazonaws.savingsplans#SavingsPlanRateUsageType", "traits": { "smithy.api#documentation": "The usage details of the line item in the billing report.
" } }, "operation": { "target": "com.amazonaws.savingsplans#SavingsPlanRateOperation", "traits": { "smithy.api#documentation": "The specific AWS operation for the line item in the billing report.
" } }, "properties": { "target": "com.amazonaws.savingsplans#SavingsPlanOfferingRatePropertyList", "traits": { "smithy.api#documentation": "The properties.
" } } }, "traits": { "smithy.api#documentation": "Information about a Savings Plan offering rate.
" } }, "com.amazonaws.savingsplans#SavingsPlanOfferingRateFilterElement": { "type": "structure", "members": { "name": { "target": "com.amazonaws.savingsplans#SavingsPlanRateFilterAttribute", "traits": { "smithy.api#documentation": "The filter name.
" } }, "values": { "target": "com.amazonaws.savingsplans#FilterValuesList", "traits": { "smithy.api#documentation": "The filter values.
" } } }, "traits": { "smithy.api#documentation": "Information about a filter.
" } }, "com.amazonaws.savingsplans#SavingsPlanOfferingRateFiltersList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanOfferingRateFilterElement" } }, "com.amazonaws.savingsplans#SavingsPlanOfferingRateProperty": { "type": "structure", "members": { "name": { "target": "com.amazonaws.savingsplans#JsonSafeFilterValueString", "traits": { "smithy.api#documentation": "The property name.
" } }, "value": { "target": "com.amazonaws.savingsplans#JsonSafeFilterValueString", "traits": { "smithy.api#documentation": "The property value.
" } } }, "traits": { "smithy.api#documentation": "Information about a property.
" } }, "com.amazonaws.savingsplans#SavingsPlanOfferingRatePropertyList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanOfferingRateProperty" } }, "com.amazonaws.savingsplans#SavingsPlanOfferingRatesList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanOfferingRate" } }, "com.amazonaws.savingsplans#SavingsPlanOfferingsList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanOffering" } }, "com.amazonaws.savingsplans#SavingsPlanOperation": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 255 }, "smithy.api#pattern": "^[a-zA-Z0-9_ \\/.:-]*$" } }, "com.amazonaws.savingsplans#SavingsPlanOperationList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanOperation" } }, "com.amazonaws.savingsplans#SavingsPlanPaymentOption": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "All Upfront", "name": "ALL_UPFRONT" }, { "value": "Partial Upfront", "name": "PARTIAL_UPFRONT" }, { "value": "No Upfront", "name": "NO_UPFRONT" } ] } }, "com.amazonaws.savingsplans#SavingsPlanPaymentOptionList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanPaymentOption" } }, "com.amazonaws.savingsplans#SavingsPlanProductType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "EC2", "name": "EC2" }, { "value": "Fargate", "name": "FARGATE" }, { "value": "Lambda", "name": "LAMBDA" }, { "value": "SageMaker", "name": "SAGEMAKER" } ] } }, "com.amazonaws.savingsplans#SavingsPlanProductTypeList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanProductType" } }, "com.amazonaws.savingsplans#SavingsPlanRate": { "type": "structure", "members": { "rate": { "target": "com.amazonaws.savingsplans#Amount", "traits": { "smithy.api#documentation": "The rate.
" } }, "currency": { "target": "com.amazonaws.savingsplans#CurrencyCode", "traits": { "smithy.api#documentation": "The currency.
" } }, "unit": { "target": "com.amazonaws.savingsplans#SavingsPlanRateUnit", "traits": { "smithy.api#documentation": "The unit.
" } }, "productType": { "target": "com.amazonaws.savingsplans#SavingsPlanProductType", "traits": { "smithy.api#documentation": "The product type.
" } }, "serviceCode": { "target": "com.amazonaws.savingsplans#SavingsPlanRateServiceCode", "traits": { "smithy.api#documentation": "The service.
" } }, "usageType": { "target": "com.amazonaws.savingsplans#SavingsPlanRateUsageType", "traits": { "smithy.api#documentation": "The usage details of the line item in the billing report.
" } }, "operation": { "target": "com.amazonaws.savingsplans#SavingsPlanRateOperation", "traits": { "smithy.api#documentation": "The specific AWS operation for the line item in the billing report.
" } }, "properties": { "target": "com.amazonaws.savingsplans#SavingsPlanRatePropertyList", "traits": { "smithy.api#documentation": "The properties.
" } } }, "traits": { "smithy.api#documentation": "Information about a Savings Plan rate.
" } }, "com.amazonaws.savingsplans#SavingsPlanRateFilter": { "type": "structure", "members": { "name": { "target": "com.amazonaws.savingsplans#SavingsPlanRateFilterName", "traits": { "smithy.api#documentation": "The filter name.
" } }, "values": { "target": "com.amazonaws.savingsplans#ListOfStrings", "traits": { "smithy.api#documentation": "The filter values.
" } } }, "traits": { "smithy.api#documentation": "Information about a filter.
" } }, "com.amazonaws.savingsplans#SavingsPlanRateFilterAttribute": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "region", "name": "REGION" }, { "value": "instanceFamily", "name": "INSTANCE_FAMILY" }, { "value": "instanceType", "name": "INSTANCE_TYPE" }, { "value": "productDescription", "name": "PRODUCT_DESCRIPTION" }, { "value": "tenancy", "name": "TENANCY" }, { "value": "productId", "name": "PRODUCT_ID" } ] } }, "com.amazonaws.savingsplans#SavingsPlanRateFilterList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanRateFilter" } }, "com.amazonaws.savingsplans#SavingsPlanRateFilterName": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "region", "name": "REGION" }, { "value": "instanceType", "name": "INSTANCE_TYPE" }, { "value": "productDescription", "name": "PRODUCT_DESCRIPTION" }, { "value": "tenancy", "name": "TENANCY" }, { "value": "productType", "name": "PRODUCT_TYPE" }, { "value": "serviceCode", "name": "SERVICE_CODE" }, { "value": "usageType", "name": "USAGE_TYPE" }, { "value": "operation", "name": "OPERATION" } ] } }, "com.amazonaws.savingsplans#SavingsPlanRateList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanRate" } }, "com.amazonaws.savingsplans#SavingsPlanRateOperation": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 255 }, "smithy.api#pattern": "^[a-zA-Z0-9_ \\/.:-]*$" } }, "com.amazonaws.savingsplans#SavingsPlanRateOperationList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanRateOperation" } }, "com.amazonaws.savingsplans#SavingsPlanRatePricePerUnit": { "type": "string" }, "com.amazonaws.savingsplans#SavingsPlanRateProperty": { "type": "structure", "members": { "name": { "target": "com.amazonaws.savingsplans#SavingsPlanRatePropertyKey", "traits": { "smithy.api#documentation": "The property name.
" } }, "value": { "target": "com.amazonaws.savingsplans#JsonSafeFilterValueString", "traits": { "smithy.api#documentation": "The property value.
" } } }, "traits": { "smithy.api#documentation": "Information about a property.
" } }, "com.amazonaws.savingsplans#SavingsPlanRatePropertyKey": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "region", "name": "REGION" }, { "value": "instanceType", "name": "INSTANCE_TYPE" }, { "value": "instanceFamily", "name": "INSTANCE_FAMILY" }, { "value": "productDescription", "name": "PRODUCT_DESCRIPTION" }, { "value": "tenancy", "name": "TENANCY" } ] } }, "com.amazonaws.savingsplans#SavingsPlanRatePropertyList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanRateProperty" } }, "com.amazonaws.savingsplans#SavingsPlanRateServiceCode": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "AmazonEC2", "name": "EC2" }, { "value": "AmazonECS", "name": "FARGATE" }, { "value": "AmazonEKS", "name": "FARGATE_EKS" }, { "value": "AWSLambda", "name": "LAMBDA" }, { "value": "AmazonSageMaker", "name": "SAGEMAKER" } ] } }, "com.amazonaws.savingsplans#SavingsPlanRateServiceCodeList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanRateServiceCode" } }, "com.amazonaws.savingsplans#SavingsPlanRateUnit": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "Hrs", "name": "HOURS" }, { "value": "Lambda-GB-Second", "name": "LAMBDA_GB_SECOND" }, { "value": "Request", "name": "REQUEST" } ] } }, "com.amazonaws.savingsplans#SavingsPlanRateUsageType": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 255 }, "smithy.api#pattern": "^[a-zA-Z0-9_ \\/.:-]+$" } }, "com.amazonaws.savingsplans#SavingsPlanRateUsageTypeList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanRateUsageType" } }, "com.amazonaws.savingsplans#SavingsPlanServiceCode": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 255 }, "smithy.api#pattern": "^[a-zA-Z]+$" } }, "com.amazonaws.savingsplans#SavingsPlanServiceCodeList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanServiceCode" } }, "com.amazonaws.savingsplans#SavingsPlanState": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "payment-pending", "name": "PAYMENT_PENDING" }, { "value": "payment-failed", "name": "PAYMENT_FAILED" }, { "value": "active", "name": "ACTIVE" }, { "value": "retired", "name": "RETIRED" }, { "value": "queued", "name": "QUEUED" }, { "value": "queued-deleted", "name": "QUEUED_DELETED" } ] } }, "com.amazonaws.savingsplans#SavingsPlanStateList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanState" } }, "com.amazonaws.savingsplans#SavingsPlanType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "Compute", "name": "COMPUTE" }, { "value": "EC2Instance", "name": "EC2_INSTANCE" }, { "value": "SageMaker", "name": "SAGEMAKER" } ] } }, "com.amazonaws.savingsplans#SavingsPlanTypeList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanType" } }, "com.amazonaws.savingsplans#SavingsPlanUsageType": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 255 }, "smithy.api#pattern": "^[a-zA-Z0-9_ \\/.:-]+$" } }, "com.amazonaws.savingsplans#SavingsPlanUsageTypeList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanUsageType" } }, "com.amazonaws.savingsplans#SavingsPlansDuration": { "type": "long", "traits": { "smithy.api#range": { "min": 0 } } }, "com.amazonaws.savingsplans#SavingsPlansFilterName": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "region", "name": "REGION" }, { "value": "ec2-instance-family", "name": "EC2_INSTANCE_FAMILY" }, { "value": "commitment", "name": "COMMITMENT" }, { "value": "upfront", "name": "UPFRONT" }, { "value": "term", "name": "TERM" }, { "value": "savings-plan-type", "name": "SAVINGS_PLAN_TYPE" }, { "value": "payment-option", "name": "PAYMENT_OPTION" }, { "value": "start", "name": "START" }, { "value": "end", "name": "END" } ] } }, "com.amazonaws.savingsplans#ServiceQuotaExceededException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.savingsplans#String", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A service quota has been exceeded.
", "smithy.api#error": "client", "smithy.api#httpError": 402 } }, "com.amazonaws.savingsplans#String": { "type": "string" }, "com.amazonaws.savingsplans#TagKey": { "type": "string" }, "com.amazonaws.savingsplans#TagKeyList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#TagKey" } }, "com.amazonaws.savingsplans#TagMap": { "type": "map", "key": { "target": "com.amazonaws.savingsplans#TagKey" }, "value": { "target": "com.amazonaws.savingsplans#TagValue" } }, "com.amazonaws.savingsplans#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.savingsplans#TagResourceRequest" }, "output": { "target": "com.amazonaws.savingsplans#TagResourceResponse" }, "errors": [ { "target": "com.amazonaws.savingsplans#InternalServerException" }, { "target": "com.amazonaws.savingsplans#ResourceNotFoundException" }, { "target": "com.amazonaws.savingsplans#ServiceQuotaExceededException" }, { "target": "com.amazonaws.savingsplans#ValidationException" } ], "traits": { "smithy.api#documentation": "Adds the specified tags to the specified resource.
", "smithy.api#http": { "method": "POST", "uri": "/TagResource", "code": 200 } } }, "com.amazonaws.savingsplans#TagResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.savingsplans#SavingsPlanArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource.
", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.savingsplans#TagMap", "traits": { "smithy.api#documentation": "One or more tags. For example, { \"tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.
", "smithy.api#required": {} } } } }, "com.amazonaws.savingsplans#TagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.savingsplans#TagValue": { "type": "string" }, "com.amazonaws.savingsplans#TermDurationInSeconds": { "type": "long" }, "com.amazonaws.savingsplans#UUID": { "type": "string", "traits": { "smithy.api#pattern": "^(([0-9a-f]+)(-?))+$" } }, "com.amazonaws.savingsplans#UUIDs": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#UUID" } }, "com.amazonaws.savingsplans#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.savingsplans#UntagResourceRequest" }, "output": { "target": "com.amazonaws.savingsplans#UntagResourceResponse" }, "errors": [ { "target": "com.amazonaws.savingsplans#InternalServerException" }, { "target": "com.amazonaws.savingsplans#ResourceNotFoundException" }, { "target": "com.amazonaws.savingsplans#ValidationException" } ], "traits": { "smithy.api#documentation": "Removes the specified tags from the specified resource.
", "smithy.api#http": { "method": "POST", "uri": "/UntagResource", "code": 200 } } }, "com.amazonaws.savingsplans#UntagResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.savingsplans#SavingsPlanArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource.
", "smithy.api#required": {} } }, "tagKeys": { "target": "com.amazonaws.savingsplans#TagKeyList", "traits": { "smithy.api#documentation": "The tag keys.
", "smithy.api#required": {} } } } }, "com.amazonaws.savingsplans#UntagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.savingsplans#ValidationException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.savingsplans#String", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "One of the input parameters is not valid.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } } } }