{ "smithy": "2.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#ReturnSavingsPlan" }, { "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 Amazon Web Services usage (for example, on Amazon EC2 instances). You commit to a consistent\n amount of usage per hour, in the specified currency, for a term of one or three years, and\n receive a lower price for that usage. For more information, see the Amazon Web Services\n Savings Plans User Guide.

", "smithy.api#title": "AWS Savings Plans", "smithy.rules#endpointBdd": { "version": "1.1", "parameters": { "Region": { "builtIn": "AWS::Region", "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "string" }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, "default": false, "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", "type": "boolean" }, "UseFIPS": { "builtIn": "AWS::UseFIPS", "required": true, "default": false, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", "type": "boolean" }, "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint used to send this request", "type": "string" } }, "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "isSet", "argv": [ { "ref": "Region" } ] }, { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "stringEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "name" ] }, "aws" ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] }, true ] }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] }, true ] } ], "results": [ { "conditions": [], "endpoint": { "url": "https://savingsplans.global.api.aws", "properties": { "authSchemes": [ { "name": "sigv4", "signingName": "savingsplans", "signingRegion": "us-east-1" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://savingsplans.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" }, { "conditions": [], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "conditions": [], "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], "endpoint": { "url": { "ref": "Endpoint" }, "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://savingsplans.amazonaws.com", "properties": { "authSchemes": [ { "name": "sigv4", "signingName": "savingsplans", "signingRegion": "us-east-1" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://savingsplans-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://savingsplans-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://savingsplans.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ], "root": 2, "nodeCount": 17, "nodes": "/////wAAAAH/////AAAAAAAAABAAAAADAAAAAQAAAAYAAAAEAAAAAwX14Q0AAAAFAAAABQX14QEF9eENAAAAAgAAAAcF9eENAAAAAwAAAAwAAAAIAAAABAAAAAsAAAAJAAAABQAAAAoF9eEMAAAABwX14QIF9eEDAAAABQX14QEF9eEHAAAABQAAAA4AAAANAAAABgX14QoF9eELAAAABgAAAA8F9eEJAAAABwX14QgF9eEJAAAAAwX14QQAAAARAAAABQX14QUF9eEG" }, "smithy.rules#endpointRuleSet": { "version": "1.0", "parameters": { "Region": { "builtIn": "AWS::Region", "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "string" }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, "default": false, "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", "type": "boolean" }, "UseFIPS": { "builtIn": "AWS::UseFIPS", "required": true, "default": false, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", "type": "boolean" }, "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint used to send this request", "type": "string" } }, "rules": [ { "conditions": [ { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Region" } ] }, { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" } ], "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "name" ] }, "aws" ] } ], "endpoint": { "url": "https://savingsplans.global.api.aws", "properties": { "authSchemes": [ { "name": "sigv4", "signingName": "savingsplans", "signingRegion": "us-east-1" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] }, true ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://savingsplans.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "not", "argv": [ { "fn": "isSet", "argv": [ { "ref": "Region" } ] } ] } ], "endpoint": { "url": "https://savingsplans.global.api.aws", "properties": { "authSchemes": [ { "name": "sigv4", "signingName": "savingsplans", "signingRegion": "us-east-1" } ] }, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], "endpoint": { "url": { "ref": "Endpoint" }, "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Region" } ] } ], "rules": [ { "conditions": [ { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" } ], "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "name" ] }, "aws" ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, false ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, false ] } ], "endpoint": { "url": "https://savingsplans.amazonaws.com", "properties": { "authSchemes": [ { "name": "sigv4", "signingName": "savingsplans", "signingRegion": "us-east-1" } ] }, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] } ] }, { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] } ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://savingsplans-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] }, true ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://savingsplans-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] } ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://savingsplans.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } ], "type": "tree" }, { "conditions": [], "endpoint": { "url": "https://savingsplans.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ] }, "smithy.rules#endpointTests": { "testCases": [ { "documentation": "For region aws-global with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "properties": { "authSchemes": [ { "name": "sigv4", "signingName": "savingsplans", "signingRegion": "us-east-1" } ] }, "url": "https://savingsplans.amazonaws.com" } }, "params": { "Region": "aws-global", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://savingsplans-fips.us-east-1.api.aws" } }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://savingsplans-fips.us-east-1.amazonaws.com" } }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "properties": { "authSchemes": [ { "name": "sigv4", "signingName": "savingsplans", "signingRegion": "us-east-1" } ] }, "url": "https://savingsplans.amazonaws.com" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://savingsplans-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://savingsplans-fips.cn-north-1.amazonaws.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://savingsplans.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://savingsplans.cn-north-1.amazonaws.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://savingsplans-fips.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://savingsplans-fips.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://savingsplans.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://savingsplans.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://savingsplans-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { "Region": "us-iso-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://savingsplans.us-iso-east-1.c2s.ic.gov" } }, "params": { "Region": "us-iso-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://savingsplans-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { "Region": "us-isob-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://savingsplans.us-isob-east-1.sc2s.sgov.gov" } }, "params": { "Region": "us-isob-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with fips enabled and dualstack disabled", "expect": { "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "Missing region", "expect": { "error": "Invalid Configuration: Missing Region" } }, { "documentation": "For region not set with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "properties": { "authSchemes": [ { "name": "sigv4", "signingName": "savingsplans", "signingRegion": "us-east-1" } ] }, "url": "https://savingsplans.global.api.aws" } }, "params": { "UseDualStack": true, "UseFIPS": false } }, { "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "properties": { "authSchemes": [ { "name": "sigv4", "signingName": "savingsplans", "signingRegion": "us-east-1" } ] }, "url": "https://savingsplans.global.api.aws" } }, "params": { "Region": "us-east-1", "UseDualStack": true, "UseFIPS": false } }, { "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "properties": { "authSchemes": [ { "name": "sigv4", "signingName": "savingsplans", "signingRegion": "us-east-1" } ] }, "url": "https://savingsplans.global.api.aws" } }, "params": { "Region": "us-west-1", "UseDualStack": true, "UseFIPS": false } }, { "documentation": "Commercial region with custom SDK endpoint", "expect": { "endpoint": { "url": "https://custom.example.com" } }, "params": { "Region": "us-east-1", "UseDualStack": false, "UseFIPS": false, "Endpoint": "https://custom.example.com" } } ], "version": "1.0" } } }, "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 the same currency of the savingsPlanOfferingId.\n This is a value between 0.001 and 1 million. You cannot specify more than five digits after\n 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\n total value of the Savings Plan. This parameter is only supported if the\n payment option is Partial Upfront.

" } }, "purchaseTime": { "target": "com.amazonaws.savingsplans#DateTime", "traits": { "smithy.api#documentation": "

The purchase time of the Savings Plan in UTC format\n (YYYY-MM-DDTHH:MM:SSZ).

" } }, "clientToken": { "target": "com.amazonaws.savingsplans#ClientToken", "traits": { "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

", "smithy.api#idempotencyToken": {} } }, "tags": { "target": "com.amazonaws.savingsplans#TagMap", "traits": { "smithy.api#documentation": "

One or more tags.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.savingsplans#CreateSavingsPlanResponse": { "type": "structure", "members": { "savingsPlanId": { "target": "com.amazonaws.savingsplans#SavingsPlanId", "traits": { "smithy.api#documentation": "

The ID of the Savings Plan.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.savingsplans#CurrencyCode": { "type": "enum", "members": { "CNY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CNY" } }, "USD": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "USD" } }, "EUR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EUR" } } } }, "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": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.savingsplans#DeleteQueuedSavingsPlanResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.savingsplans#DescribeSavingsPlanRates": { "type": "operation", "input": { "target": "com.amazonaws.savingsplans#DescribeSavingsPlanRatesRequest" }, "output": { "target": "com.amazonaws.savingsplans#DescribeSavingsPlanRatesResponse" }, "errors": [ { "target": "com.amazonaws.savingsplans#InternalServerException" }, { "target": "com.amazonaws.savingsplans#ResourceNotFoundException" }, { "target": "com.amazonaws.savingsplans#ValidationException" } ], "traits": { "smithy.api#documentation": "

Describes the rates for a specific, existing Savings Plan.

", "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\n results, make another call with the returned token value.

" } } }, "traits": { "smithy.api#input": {} } }, "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 Plan 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\n no more results to return.

" } } }, "traits": { "smithy.api#output": {} } }, "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 offering rates for Savings Plans you might want to purchase.

", "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 Amazon Web Services 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 Amazon Web Services operation for the line item in the billing\n 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#default": 0, "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#input": {} } }, "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\n no more results to return.

" } } }, "traits": { "smithy.api#output": {} } }, "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 offerings for the specified Savings Plans.

", "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 types.

" } }, "durations": { "target": "com.amazonaws.savingsplans#DurationsList", "traits": { "smithy.api#documentation": "

The duration, 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 Amazon Web Services operation for the line item in the billing\n 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#default": 0, "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#input": {} } }, "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\n no more results to return.

" } } }, "traits": { "smithy.api#output": {} } }, "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\n results, make another call with the returned token value.

" } }, "states": { "target": "com.amazonaws.savingsplans#SavingsPlanStateList", "traits": { "smithy.api#documentation": "

The current states of the Savings Plans.

" } }, "filters": { "target": "com.amazonaws.savingsplans#SavingsPlanFilterList", "traits": { "smithy.api#documentation": "

The filters.

" } } }, "traits": { "smithy.api#input": {} } }, "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\n no more results to return.

" } } }, "traits": { "smithy.api#output": {} } }, "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": { "aws.protocols#awsQueryError": { "code": "InternalServerException", "httpResponseCode": 500 }, "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": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.savingsplans#ListTagsForResourceResponse": { "type": "structure", "members": { "tags": { "target": "com.amazonaws.savingsplans#TagMap", "traits": { "smithy.api#documentation": "

Information about the tags.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.savingsplans#MaxResults": { "type": "integer", "traits": { "smithy.api#range": { "min": 1, "max": 1000 } } }, "com.amazonaws.savingsplans#PageSize": { "type": "integer", "traits": { "smithy.api#default": 0, "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#default": 0, "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": { "aws.protocols#awsQueryError": { "code": "ResourceNotFoundException", "httpResponseCode": 404 }, "smithy.api#documentation": "

The specified resource was not found.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.savingsplans#ReturnSavingsPlan": { "type": "operation", "input": { "target": "com.amazonaws.savingsplans#ReturnSavingsPlanRequest" }, "output": { "target": "com.amazonaws.savingsplans#ReturnSavingsPlanResponse" }, "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": "

Returns the specified Savings Plan.

", "smithy.api#http": { "method": "POST", "uri": "/ReturnSavingsPlan", "code": 200 } } }, "com.amazonaws.savingsplans#ReturnSavingsPlanRequest": { "type": "structure", "members": { "savingsPlanId": { "target": "com.amazonaws.savingsplans#SavingsPlanId", "traits": { "smithy.api#documentation": "

The ID of the Savings Plan.

", "smithy.api#required": {} } }, "clientToken": { "target": "com.amazonaws.savingsplans#ClientToken", "traits": { "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

", "smithy.api#idempotencyToken": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.savingsplans#ReturnSavingsPlanResponse": { "type": "structure", "members": { "savingsPlanId": { "target": "com.amazonaws.savingsplans#SavingsPlanId", "traits": { "smithy.api#documentation": "

The ID of the Savings Plan.

" } } }, "traits": { "smithy.api#output": {} } }, "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 current state.

" } }, "region": { "target": "com.amazonaws.savingsplans#Region", "traits": { "smithy.api#documentation": "

The Amazon Web Services 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 amount in the specified currency.

" } }, "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#default": 0, "smithy.api#documentation": "

The duration of the term, in seconds.

" } }, "tags": { "target": "com.amazonaws.savingsplans#TagMap", "traits": { "smithy.api#documentation": "

One or more tags.

" } }, "returnableUntil": { "target": "com.amazonaws.savingsplans#String", "traits": { "smithy.api#documentation": "

The time until when a return for the Savings Plan can be requested. If the\n Savings Plan is not returnable, the field reflects the Savings Plans start time.

" } } }, "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 Savings Plan 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#default": 0, "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 Amazon Web Services operation for the line item in the billing\n 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": "enum", "members": { "region": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "region" } }, "instanceFamily": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "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 Savings Plan offering 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 Savings Plan offering property.

" } }, "com.amazonaws.savingsplans#SavingsPlanOfferingPropertyKey": { "type": "enum", "members": { "REGION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "region" } }, "INSTANCE_FAMILY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "instanceFamily" } } } }, "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 Amazon Web Services operation for the line item in the billing\n 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 Savings Plan offering rate 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 Savings Plan offering rate 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": "enum", "members": { "ALL_UPFRONT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "All Upfront" } }, "PARTIAL_UPFRONT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Partial Upfront" } }, "NO_UPFRONT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "No Upfront" } } } }, "com.amazonaws.savingsplans#SavingsPlanPaymentOptionList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanPaymentOption" } }, "com.amazonaws.savingsplans#SavingsPlanProductType": { "type": "enum", "members": { "EC2": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EC2" } }, "FARGATE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Fargate" } }, "LAMBDA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Lambda" } }, "SAGEMAKER": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SageMaker" } }, "RDS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "RDS" } }, "DSQL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DSQL" } }, "DYNAMODB": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DynamoDB" } }, "ELASTICACHE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ElastiCache" } }, "DOCDB": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DocDB" } }, "NEPTUNE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Neptune" } }, "TIMESTREAM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Timestream" } }, "KEYSPACES": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Keyspaces" } }, "DMS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DMS" } }, "OPENSEARCH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "OpenSearch" } } } }, "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 Amazon Web Services operation for the line item in the billing\n 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 Savings Plan rate filter.

" } }, "com.amazonaws.savingsplans#SavingsPlanRateFilterAttribute": { "type": "enum", "members": { "REGION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "region" } }, "INSTANCE_FAMILY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "instanceFamily" } }, "INSTANCE_TYPE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "instanceType" } }, "PRODUCT_DESCRIPTION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "productDescription" } }, "TENANCY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "tenancy" } }, "PRODUCT_ID": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "productId" } } } }, "com.amazonaws.savingsplans#SavingsPlanRateFilterList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanRateFilter" } }, "com.amazonaws.savingsplans#SavingsPlanRateFilterName": { "type": "enum", "members": { "REGION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "region" } }, "INSTANCE_TYPE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "instanceType" } }, "PRODUCT_DESCRIPTION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "productDescription" } }, "TENANCY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "tenancy" } }, "PRODUCT_TYPE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "productType" } }, "SERVICE_CODE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "serviceCode" } }, "USAGE_TYPE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "usageType" } }, "OPERATION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "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 Savings Plan rate property.

" } }, "com.amazonaws.savingsplans#SavingsPlanRatePropertyKey": { "type": "enum", "members": { "REGION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "region" } }, "INSTANCE_TYPE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "instanceType" } }, "INSTANCE_FAMILY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "instanceFamily" } }, "PRODUCT_DESCRIPTION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "productDescription" } }, "TENANCY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "tenancy" } } } }, "com.amazonaws.savingsplans#SavingsPlanRatePropertyList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanRateProperty" } }, "com.amazonaws.savingsplans#SavingsPlanRateServiceCode": { "type": "enum", "members": { "EC2": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AmazonEC2" } }, "FARGATE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AmazonECS" } }, "FARGATE_EKS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AmazonEKS" } }, "LAMBDA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AWSLambda" } }, "SAGEMAKER": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AmazonSageMaker" } }, "RDS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AmazonRDS" } }, "AURORA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AuroraDSQL" } }, "DYNAMODB": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AmazonDynamoDB" } }, "ELASTICACHE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AmazonElastiCache" } }, "DOCDB": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AmazonDocDB" } }, "NEPTUNE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AmazonNeptune" } }, "TIMESTREAM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AmazonTimestream" } }, "MCS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AmazonMCS" } }, "DMS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AWSDatabaseMigrationSvc" } }, "ES": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AmazonES" } } } }, "com.amazonaws.savingsplans#SavingsPlanRateServiceCodeList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanRateServiceCode" } }, "com.amazonaws.savingsplans#SavingsPlanRateUnit": { "type": "enum", "members": { "HOURS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Hrs" } }, "LAMBDA_GB_SECOND": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Lambda-GB-Second" } }, "REQUEST": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Request" } }, "ACU_HR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ACU-Hr" } }, "READ_REQUEST_UNITS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ReadRequestUnits" } }, "WRITE_REQUEST_UNITS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "WriteRequestUnits" } }, "READ_CAPACITY_UNIT_HRS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ReadCapacityUnit-Hrs" } }, "WRITE_CAPACITY_UNIT_HRS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "WriteCapacityUnit-Hrs" } }, "REPLICATED_WRITE_REQUEST_UNITS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ReplicatedWriteRequestUnits" } }, "REPLICATED_WRITE_CAPACITY_UNIT_HRS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ReplicatedWriteCapacityUnit-Hrs" } }, "GB_HOURS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GB-Hours" } }, "DPU": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DPU" } }, "ELASTI_CACHE_PROCESSING_UNIT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ElastiCacheProcessingUnit" } }, "DCU_HR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DCU-Hr" } }, "NCU_HR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NCU-hr" } }, "OCU_HRS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "OCU-hours" } }, "JOBS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Jobs" } } } }, "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": "enum", "members": { "PAYMENT_PENDING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "payment-pending" } }, "PAYMENT_FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "payment-failed" } }, "ACTIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "active" } }, "RETIRED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "retired" } }, "QUEUED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "queued" } }, "QUEUED_DELETED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "queued-deleted" } }, "PENDING_RETURN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "pending-return" } }, "RETURNED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "returned" } } } }, "com.amazonaws.savingsplans#SavingsPlanStateList": { "type": "list", "member": { "target": "com.amazonaws.savingsplans#SavingsPlanState" } }, "com.amazonaws.savingsplans#SavingsPlanType": { "type": "enum", "members": { "COMPUTE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Compute" } }, "EC2_INSTANCE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EC2Instance" } }, "SAGEMAKER": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SageMaker" } }, "DATABASE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Database" } } } }, "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#default": 0, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.savingsplans#SavingsPlansFilterName": { "type": "enum", "members": { "REGION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "region" } }, "EC2_INSTANCE_FAMILY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ec2-instance-family" } }, "COMMITMENT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "commitment" } }, "UPFRONT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "upfront" } }, "TERM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "term" } }, "SAVINGS_PLAN_TYPE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "savings-plan-type" } }, "PAYMENT_OPTION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "payment-option" } }, "START": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "start" } }, "END": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "end" } }, "INSTANCE_FAMILY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "instance-family" } } } }, "com.amazonaws.savingsplans#ServiceQuotaExceededException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.savingsplans#String", "traits": { "smithy.api#required": {} } } }, "traits": { "aws.protocols#awsQueryError": { "code": "ServiceQuotaExceededException", "httpResponseCode": 402 }, "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": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.savingsplans#TagResourceResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.savingsplans#TagValue": { "type": "string" }, "com.amazonaws.savingsplans#TermDurationInSeconds": { "type": "long", "traits": { "smithy.api#default": 0 } }, "com.amazonaws.savingsplans#UUID": { "type": "string", "traits": { "smithy.api#pattern": "^[a-f0-9]+(-[a-f0-9]+)*$" } }, "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": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.savingsplans#UntagResourceResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.savingsplans#ValidationException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.savingsplans#String", "traits": { "smithy.api#required": {} } } }, "traits": { "aws.protocols#awsQueryError": { "code": "ValidationException", "httpResponseCode": 400 }, "smithy.api#documentation": "

One of the input parameters is not valid.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } } } }