{ "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":{ "CreateAnomalyMonitor":{ "name":"CreateAnomalyMonitor", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateAnomalyMonitorRequest"}, "output":{"shape":"CreateAnomalyMonitorResponse"}, "errors":[ {"shape":"LimitExceededException"} ] }, "CreateAnomalySubscription":{ "name":"CreateAnomalySubscription", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateAnomalySubscriptionRequest"}, "output":{"shape":"CreateAnomalySubscriptionResponse"}, "errors":[ {"shape":"UnknownMonitorException"}, {"shape":"LimitExceededException"} ] }, "CreateCostCategoryDefinition":{ "name":"CreateCostCategoryDefinition", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateCostCategoryDefinitionRequest"}, "output":{"shape":"CreateCostCategoryDefinitionResponse"}, "errors":[ {"shape":"ServiceQuotaExceededException"}, {"shape":"LimitExceededException"} ] }, "DeleteAnomalyMonitor":{ "name":"DeleteAnomalyMonitor", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteAnomalyMonitorRequest"}, "output":{"shape":"DeleteAnomalyMonitorResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"UnknownMonitorException"} ] }, "DeleteAnomalySubscription":{ "name":"DeleteAnomalySubscription", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteAnomalySubscriptionRequest"}, "output":{"shape":"DeleteAnomalySubscriptionResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"UnknownSubscriptionException"} ] }, "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"} ] }, "GetAnomalies":{ "name":"GetAnomalies", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetAnomaliesRequest"}, "output":{"shape":"GetAnomaliesResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"InvalidNextTokenException"} ] }, "GetAnomalyMonitors":{ "name":"GetAnomalyMonitors", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetAnomalyMonitorsRequest"}, "output":{"shape":"GetAnomalyMonitorsResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"UnknownMonitorException"}, {"shape":"InvalidNextTokenException"} ] }, "GetAnomalySubscriptions":{ "name":"GetAnomalySubscriptions", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetAnomalySubscriptionsRequest"}, "output":{"shape":"GetAnomalySubscriptionsResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"UnknownSubscriptionException"}, {"shape":"InvalidNextTokenException"} ] }, "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"} ] }, "ProvideAnomalyFeedback":{ "name":"ProvideAnomalyFeedback", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ProvideAnomalyFeedbackRequest"}, "output":{"shape":"ProvideAnomalyFeedbackResponse"}, "errors":[ {"shape":"LimitExceededException"} ] }, "UpdateAnomalyMonitor":{ "name":"UpdateAnomalyMonitor", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UpdateAnomalyMonitorRequest"}, "output":{"shape":"UpdateAnomalyMonitorResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"UnknownMonitorException"} ] }, "UpdateAnomalySubscription":{ "name":"UpdateAnomalySubscription", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UpdateAnomalySubscriptionRequest"}, "output":{"shape":"UpdateAnomalySubscriptionResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"UnknownMonitorException"}, {"shape":"UnknownSubscriptionException"} ] }, "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"}, "Anomalies":{ "type":"list", "member":{"shape":"Anomaly"} }, "Anomaly":{ "type":"structure", "required":[ "AnomalyId", "AnomalyScore", "Impact", "MonitorArn" ], "members":{ "AnomalyId":{"shape":"GenericString"}, "AnomalyStartDate":{"shape":"YearMonthDay"}, "AnomalyEndDate":{"shape":"YearMonthDay"}, "DimensionValue":{"shape":"GenericString"}, "RootCauses":{"shape":"RootCauses"}, "AnomalyScore":{"shape":"AnomalyScore"}, "Impact":{"shape":"Impact"}, "MonitorArn":{"shape":"GenericString"}, "Feedback":{"shape":"AnomalyFeedbackType"} } }, "AnomalyDateInterval":{ "type":"structure", "required":["StartDate"], "members":{ "StartDate":{"shape":"YearMonthDay"}, "EndDate":{"shape":"YearMonthDay"} } }, "AnomalyFeedbackType":{ "type":"string", "enum":[ "YES", "NO", "PLANNED_ACTIVITY" ] }, "AnomalyMonitor":{ "type":"structure", "required":[ "MonitorName", "MonitorType" ], "members":{ "MonitorArn":{"shape":"GenericString"}, "MonitorName":{"shape":"GenericString"}, "CreationDate":{"shape":"YearMonthDay"}, "LastUpdatedDate":{"shape":"YearMonthDay"}, "LastEvaluatedDate":{"shape":"YearMonthDay"}, "MonitorType":{"shape":"MonitorType"}, "MonitorDimension":{"shape":"MonitorDimension"}, "MonitorSpecification":{"shape":"Expression"}, "DimensionalValueCount":{"shape":"NonNegativeInteger"} } }, "AnomalyMonitors":{ "type":"list", "member":{"shape":"AnomalyMonitor"} }, "AnomalyScore":{ "type":"structure", "required":[ "MaxScore", "CurrentScore" ], "members":{ "MaxScore":{"shape":"GenericDouble"}, "CurrentScore":{"shape":"GenericDouble"} } }, "AnomalySubscription":{ "type":"structure", "required":[ "MonitorArnList", "Subscribers", "Threshold", "Frequency", "SubscriptionName" ], "members":{ "SubscriptionArn":{"shape":"GenericString"}, "AccountId":{"shape":"GenericString"}, "MonitorArnList":{"shape":"Values"}, "Subscribers":{"shape":"Subscribers"}, "Threshold":{"shape":"NullableNonNegativeDouble"}, "Frequency":{"shape":"AnomalySubscriptionFrequency"}, "SubscriptionName":{"shape":"GenericString"} } }, "AnomalySubscriptionFrequency":{ "type":"string", "enum":[ "DAILY", "IMMEDIATE", "WEEKLY" ] }, "AnomalySubscriptions":{ "type":"list", "member":{"shape":"AnomalySubscription"} }, "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"} } }, "CostCategoryMaxResults":{ "type":"integer", "max":100, "min":1 }, "CostCategoryName":{ "type":"string", "max":255, "min":1, "pattern":"^(?! )[\\p{L}\\p{N}\\p{Z}-_]*(?