{ "version":"2.0", "metadata":{ "apiVersion":"2017-10-25", "endpointPrefix":"ce", "jsonVersion":"1.1", "protocol":"json", "serviceAbbreviation":"AWS Cost Explorer", "serviceFullName":"AWS Cost Explorer Service", "serviceId":"Cost Explorer", "signatureVersion":"v4", "signingName":"ce", "targetPrefix":"AWSInsightsIndexService", "uid":"ce-2017-10-25" }, "operations":{ "CreateCostCategoryDefinition":{ "name":"CreateCostCategoryDefinition", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateCostCategoryDefinitionRequest"}, "output":{"shape":"CreateCostCategoryDefinitionResponse"}, "errors":[ {"shape":"ServiceQuotaExceededException"}, {"shape":"LimitExceededException"} ] }, "DeleteCostCategoryDefinition":{ "name":"DeleteCostCategoryDefinition", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteCostCategoryDefinitionRequest"}, "output":{"shape":"DeleteCostCategoryDefinitionResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"LimitExceededException"} ] }, "DescribeCostCategoryDefinition":{ "name":"DescribeCostCategoryDefinition", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeCostCategoryDefinitionRequest"}, "output":{"shape":"DescribeCostCategoryDefinitionResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"LimitExceededException"} ] }, "GetCostAndUsage":{ "name":"GetCostAndUsage", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetCostAndUsageRequest"}, "output":{"shape":"GetCostAndUsageResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"BillExpirationException"}, {"shape":"DataUnavailableException"}, {"shape":"InvalidNextTokenException"}, {"shape":"RequestChangedException"} ] }, "GetCostAndUsageWithResources":{ "name":"GetCostAndUsageWithResources", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetCostAndUsageWithResourcesRequest"}, "output":{"shape":"GetCostAndUsageWithResourcesResponse"}, "errors":[ {"shape":"DataUnavailableException"}, {"shape":"LimitExceededException"}, {"shape":"BillExpirationException"}, {"shape":"InvalidNextTokenException"}, {"shape":"RequestChangedException"} ] }, "GetCostForecast":{ "name":"GetCostForecast", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetCostForecastRequest"}, "output":{"shape":"GetCostForecastResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"DataUnavailableException"} ] }, "GetDimensionValues":{ "name":"GetDimensionValues", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetDimensionValuesRequest"}, "output":{"shape":"GetDimensionValuesResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"BillExpirationException"}, {"shape":"DataUnavailableException"}, {"shape":"InvalidNextTokenException"}, {"shape":"RequestChangedException"} ] }, "GetReservationCoverage":{ "name":"GetReservationCoverage", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetReservationCoverageRequest"}, "output":{"shape":"GetReservationCoverageResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"DataUnavailableException"}, {"shape":"InvalidNextTokenException"} ] }, "GetReservationPurchaseRecommendation":{ "name":"GetReservationPurchaseRecommendation", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetReservationPurchaseRecommendationRequest"}, "output":{"shape":"GetReservationPurchaseRecommendationResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"DataUnavailableException"}, {"shape":"InvalidNextTokenException"} ] }, "GetReservationUtilization":{ "name":"GetReservationUtilization", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetReservationUtilizationRequest"}, "output":{"shape":"GetReservationUtilizationResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"DataUnavailableException"}, {"shape":"InvalidNextTokenException"} ] }, "GetRightsizingRecommendation":{ "name":"GetRightsizingRecommendation", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetRightsizingRecommendationRequest"}, "output":{"shape":"GetRightsizingRecommendationResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"InvalidNextTokenException"} ] }, "GetSavingsPlansCoverage":{ "name":"GetSavingsPlansCoverage", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetSavingsPlansCoverageRequest"}, "output":{"shape":"GetSavingsPlansCoverageResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"DataUnavailableException"}, {"shape":"InvalidNextTokenException"} ] }, "GetSavingsPlansPurchaseRecommendation":{ "name":"GetSavingsPlansPurchaseRecommendation", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetSavingsPlansPurchaseRecommendationRequest"}, "output":{"shape":"GetSavingsPlansPurchaseRecommendationResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"InvalidNextTokenException"} ] }, "GetSavingsPlansUtilization":{ "name":"GetSavingsPlansUtilization", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetSavingsPlansUtilizationRequest"}, "output":{"shape":"GetSavingsPlansUtilizationResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"DataUnavailableException"} ] }, "GetSavingsPlansUtilizationDetails":{ "name":"GetSavingsPlansUtilizationDetails", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetSavingsPlansUtilizationDetailsRequest"}, "output":{"shape":"GetSavingsPlansUtilizationDetailsResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"DataUnavailableException"}, {"shape":"InvalidNextTokenException"} ] }, "GetTags":{ "name":"GetTags", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetTagsRequest"}, "output":{"shape":"GetTagsResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"BillExpirationException"}, {"shape":"DataUnavailableException"}, {"shape":"InvalidNextTokenException"}, {"shape":"RequestChangedException"} ] }, "GetUsageForecast":{ "name":"GetUsageForecast", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetUsageForecastRequest"}, "output":{"shape":"GetUsageForecastResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"DataUnavailableException"}, {"shape":"UnresolvableUsageUnitException"} ] }, "ListCostCategoryDefinitions":{ "name":"ListCostCategoryDefinitions", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListCostCategoryDefinitionsRequest"}, "output":{"shape":"ListCostCategoryDefinitionsResponse"}, "errors":[ {"shape":"LimitExceededException"} ] }, "UpdateCostCategoryDefinition":{ "name":"UpdateCostCategoryDefinition", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UpdateCostCategoryDefinitionRequest"}, "output":{"shape":"UpdateCostCategoryDefinitionResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"LimitExceededException"} ] } }, "shapes":{ "AccountScope":{ "type":"string", "enum":[ "PAYER", "LINKED" ] }, "AmortizedRecurringFee":{"type":"string"}, "AmortizedUpfrontFee":{"type":"string"}, "Arn":{ "type":"string", "max":2048, "min":20, "pattern":"arn:aws[-a-z0-9]*:[a-z0-9]+:[-a-z0-9]*:[0-9]{12}:[-a-zA-Z0-9/:_]+" }, "AttributeType":{"type":"string"}, "AttributeValue":{"type":"string"}, "Attributes":{ "type":"map", "key":{"shape":"AttributeType"}, "value":{"shape":"AttributeValue"} }, "BillExpirationException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "exception":true }, "Context":{ "type":"string", "enum":[ "COST_AND_USAGE", "RESERVATIONS", "SAVINGS_PLANS" ] }, "CostCategory":{ "type":"structure", "required":[ "CostCategoryArn", "EffectiveStart", "Name", "RuleVersion", "Rules" ], "members":{ "CostCategoryArn":{"shape":"Arn"}, "EffectiveStart":{"shape":"ZonedDateTime"}, "EffectiveEnd":{"shape":"ZonedDateTime"}, "Name":{"shape":"CostCategoryName"}, "RuleVersion":{"shape":"CostCategoryRuleVersion"}, "Rules":{"shape":"CostCategoryRulesList"} } }, "CostCategoryName":{ "type":"string", "max":255, "min":1, "pattern":"^(?! )[\\p{L}\\p{N}\\p{Z}-_]*(?