|
155 | 155 | ],
|
156 | 156 | "documentation":"<p>Retrieves the cost anomaly subscription objects for your account. You can filter using a list of cost anomaly monitor Amazon Resource Names (ARNs). </p>"
|
157 | 157 | },
|
| 158 | + "GetApproximateUsageRecords":{ |
| 159 | + "name":"GetApproximateUsageRecords", |
| 160 | + "http":{ |
| 161 | + "method":"POST", |
| 162 | + "requestUri":"/" |
| 163 | + }, |
| 164 | + "input":{"shape":"GetApproximateUsageRecordsRequest"}, |
| 165 | + "output":{"shape":"GetApproximateUsageRecordsResponse"}, |
| 166 | + "errors":[ |
| 167 | + {"shape":"LimitExceededException"}, |
| 168 | + {"shape":"DataUnavailableException"} |
| 169 | + ], |
| 170 | + "documentation":"<p>Retrieves estimated usage records for hourly granularity or resource-level data at daily granularity.</p>" |
| 171 | + }, |
158 | 172 | "GetCostAndUsage":{
|
159 | 173 | "name":"GetCostAndUsage",
|
160 | 174 | "http":{
|
|
780 | 794 | "type":"list",
|
781 | 795 | "member":{"shape":"AnomalySubscription"}
|
782 | 796 | },
|
| 797 | + "ApproximateUsageRecordsPerService":{ |
| 798 | + "type":"map", |
| 799 | + "key":{"shape":"GenericString"}, |
| 800 | + "value":{"shape":"NonNegativeLong"} |
| 801 | + }, |
| 802 | + "ApproximationDimension":{ |
| 803 | + "type":"string", |
| 804 | + "enum":[ |
| 805 | + "SERVICE", |
| 806 | + "RESOURCE" |
| 807 | + ] |
| 808 | + }, |
783 | 809 | "Arn":{
|
784 | 810 | "type":"string",
|
785 | 811 | "max":2048,
|
|
2063 | 2089 | }
|
2064 | 2090 | }
|
2065 | 2091 | },
|
| 2092 | + "GetApproximateUsageRecordsRequest":{ |
| 2093 | + "type":"structure", |
| 2094 | + "required":[ |
| 2095 | + "Granularity", |
| 2096 | + "ApproximationDimension" |
| 2097 | + ], |
| 2098 | + "members":{ |
| 2099 | + "Granularity":{ |
| 2100 | + "shape":"Granularity", |
| 2101 | + "documentation":"<p>How granular you want the data to be. You can enable data at hourly or daily granularity.</p>" |
| 2102 | + }, |
| 2103 | + "Services":{ |
| 2104 | + "shape":"UsageServices", |
| 2105 | + "documentation":"<p>The service metadata for the service or services you want to query. If not specified, all elements are returned.</p>" |
| 2106 | + }, |
| 2107 | + "ApproximationDimension":{ |
| 2108 | + "shape":"ApproximationDimension", |
| 2109 | + "documentation":"<p>The service to evaluate for the usage records. You can choose resource-level data at daily granularity, or hourly granularity with or without resource-level data.</p>" |
| 2110 | + } |
| 2111 | + } |
| 2112 | + }, |
| 2113 | + "GetApproximateUsageRecordsResponse":{ |
| 2114 | + "type":"structure", |
| 2115 | + "members":{ |
| 2116 | + "Services":{ |
| 2117 | + "shape":"ApproximateUsageRecordsPerService", |
| 2118 | + "documentation":"<p>The service metadata for the service or services in the response.</p>" |
| 2119 | + }, |
| 2120 | + "TotalRecords":{ |
| 2121 | + "shape":"NonNegativeLong", |
| 2122 | + "documentation":"<p>The total number of usage records for all services in the services list.</p>" |
| 2123 | + }, |
| 2124 | + "LookbackPeriod":{ |
| 2125 | + "shape":"DateInterval", |
| 2126 | + "documentation":"<p>The lookback period that's used for the estimation.</p>" |
| 2127 | + } |
| 2128 | + } |
| 2129 | + }, |
2066 | 2130 | "GetCostAndUsageRequest":{
|
2067 | 2131 | "type":"structure",
|
2068 | 2132 | "required":[
|
|
3297 | 3361 | "type":"integer",
|
3298 | 3362 | "min":0
|
3299 | 3363 | },
|
| 3364 | + "NonNegativeLong":{ |
| 3365 | + "type":"long", |
| 3366 | + "min":0 |
| 3367 | + }, |
3300 | 3368 | "NullableNonNegativeDouble":{
|
3301 | 3369 | "type":"double",
|
3302 | 3370 | "min":0.0
|
|
4995 | 5063 | }
|
4996 | 5064 | }
|
4997 | 5065 | },
|
| 5066 | + "UsageServices":{ |
| 5067 | + "type":"list", |
| 5068 | + "member":{"shape":"GenericString"} |
| 5069 | + }, |
4998 | 5070 | "UtilizationByTime":{
|
4999 | 5071 | "type":"structure",
|
5000 | 5072 | "members":{
|
|
0 commit comments