Debian Codegraph @

models/apis/applicationcostprofiler/2020-09-10/api-2.json

raw
1 {
2 "version":"2.0",
3 "metadata":{
4 "apiVersion":"2020-09-10",
5 "endpointPrefix":"application-cost-profiler",
6 "jsonVersion":"1.1",
7 "protocol":"rest-json",
8 "serviceFullName":"AWS Application Cost Profiler",
9 "serviceId":"ApplicationCostProfiler",
10 "signatureVersion":"v4",
11 "signingName":"application-cost-profiler",
12 "uid":"AWSApplicationCostProfiler-2020-09-10"
13 },
14 "operations":{
15 "DeleteReportDefinition":{
16 "name":"DeleteReportDefinition",
17 "http":{
18 "method":"DELETE",
19 "requestUri":"/reportDefinition/{reportId}"
20 },
21 "input":{"shape":"DeleteReportDefinitionRequest"},
22 "output":{"shape":"DeleteReportDefinitionResult"},
23 "errors":[
24 {"shape":"InternalServerException"},
25 {"shape":"ThrottlingException"},
26 {"shape":"ValidationException"},
27 {"shape":"AccessDeniedException"}
28 ]
29 },
30 "GetReportDefinition":{
31 "name":"GetReportDefinition",
32 "http":{
33 "method":"GET",
34 "requestUri":"/reportDefinition/{reportId}"
35 },
36 "input":{"shape":"GetReportDefinitionRequest"},
37 "output":{"shape":"GetReportDefinitionResult"},
38 "errors":[
39 {"shape":"InternalServerException"},
40 {"shape":"ThrottlingException"},
41 {"shape":"ValidationException"},
42 {"shape":"AccessDeniedException"}
43 ]
44 },
45 "ImportApplicationUsage":{
46 "name":"ImportApplicationUsage",
47 "http":{
48 "method":"POST",
49 "requestUri":"/importApplicationUsage"
50 },
51 "input":{"shape":"ImportApplicationUsageRequest"},
52 "output":{"shape":"ImportApplicationUsageResult"},
53 "errors":[
54 {"shape":"InternalServerException"},
55 {"shape":"ThrottlingException"},
56 {"shape":"ValidationException"},
57 {"shape":"AccessDeniedException"}
58 ]
59 },
60 "ListReportDefinitions":{
61 "name":"ListReportDefinitions",
62 "http":{
63 "method":"GET",
64 "requestUri":"/reportDefinition"
65 },
66 "input":{"shape":"ListReportDefinitionsRequest"},
67 "output":{"shape":"ListReportDefinitionsResult"},
68 "errors":[
69 {"shape":"InternalServerException"},
70 {"shape":"ThrottlingException"},
71 {"shape":"ValidationException"},
72 {"shape":"AccessDeniedException"}
73 ]
74 },
75 "PutReportDefinition":{
76 "name":"PutReportDefinition",
77 "http":{
78 "method":"POST",
79 "requestUri":"/reportDefinition"
80 },
81 "input":{"shape":"PutReportDefinitionRequest"},
82 "output":{"shape":"PutReportDefinitionResult"},
83 "errors":[
84 {"shape":"InternalServerException"},
85 {"shape":"ThrottlingException"},
86 {"shape":"ValidationException"},
87 {"shape":"AccessDeniedException"},
88 {"shape":"ServiceQuotaExceededException"}
89 ]
90 },
91 "UpdateReportDefinition":{
92 "name":"UpdateReportDefinition",
93 "http":{
94 "method":"PUT",
95 "requestUri":"/reportDefinition/{reportId}"
96 },
97 "input":{"shape":"UpdateReportDefinitionRequest"},
98 "output":{"shape":"UpdateReportDefinitionResult"},
99 "errors":[
100 {"shape":"InternalServerException"},
101 {"shape":"ThrottlingException"},
102 {"shape":"ValidationException"},
103 {"shape":"AccessDeniedException"}
104 ]
105 }
106 },
107 "shapes":{
108 "AccessDeniedException":{
109 "type":"structure",
110 "members":{
111 "message":{"shape":"ErrorMessage"}
112 },
113 "error":{"httpStatusCode":403},
114 "exception":true
115 },
116 "DeleteReportDefinitionRequest":{
117 "type":"structure",
118 "required":["reportId"],
119 "members":{
120 "reportId":{
121 "shape":"ReportId",
122 "location":"uri",
123 "locationName":"reportId"
124 }
125 }
126 },
127 "DeleteReportDefinitionResult":{
128 "type":"structure",
129 "members":{
130 "reportId":{"shape":"ReportId"}
131 }
132 },
133 "ErrorMessage":{"type":"string"},
134 "Format":{
135 "type":"string",
136 "enum":[
137 "CSV",
138 "PARQUET"
139 ]
140 },
141 "GetReportDefinitionRequest":{
142 "type":"structure",
143 "required":["reportId"],
144 "members":{
145 "reportId":{
146 "shape":"ReportId",
147 "location":"uri",
148 "locationName":"reportId"
149 }
150 }
151 },
152 "GetReportDefinitionResult":{
153 "type":"structure",
154 "required":[
155 "reportId",
156 "reportDescription",
157 "reportFrequency",
158 "format",
159 "destinationS3Location",
160 "createdAt",
161 "lastUpdated"
162 ],
163 "members":{
164 "reportId":{"shape":"ReportId"},
165 "reportDescription":{"shape":"ReportDescription"},
166 "reportFrequency":{"shape":"ReportFrequency"},
167 "format":{"shape":"Format"},
168 "destinationS3Location":{"shape":"S3Location"},
169 "createdAt":{"shape":"Timestamp"},
170 "lastUpdated":{"shape":"Timestamp"}
171 }
172 },
173 "ImportApplicationUsageRequest":{
174 "type":"structure",
175 "required":["sourceS3Location"],
176 "members":{
177 "sourceS3Location":{"shape":"SourceS3Location"}
178 }
179 },
180 "ImportApplicationUsageResult":{
181 "type":"structure",
182 "required":["importId"],
183 "members":{
184 "importId":{"shape":"ImportId"}
185 }
186 },
187 "ImportId":{
188 "type":"string",
189 "max":255,
190 "min":1,
191 "pattern":"[0-9A-Za-z\\.\\-_]*"
192 },
193 "Integer":{
194 "type":"integer",
195 "max":100,
196 "min":1
197 },
198 "InternalServerException":{
199 "type":"structure",
200 "members":{
201 "message":{"shape":"ErrorMessage"}
202 },
203 "error":{"httpStatusCode":500},
204 "exception":true,
205 "fault":true
206 },
207 "ListReportDefinitionsRequest":{
208 "type":"structure",
209 "members":{
210 "nextToken":{
211 "shape":"Token",
212 "location":"querystring",
213 "locationName":"nextToken"
214 },
215 "maxResults":{
216 "shape":"Integer",
217 "location":"querystring",
218 "locationName":"maxResults"
219 }
220 }
221 },
222 "ListReportDefinitionsResult":{
223 "type":"structure",
224 "members":{
225 "reportDefinitions":{"shape":"ReportDefinitionList"},
226 "nextToken":{"shape":"Token"}
227 }
228 },
229 "PutReportDefinitionRequest":{
230 "type":"structure",
231 "required":[
232 "reportId",
233 "reportDescription",
234 "reportFrequency",
235 "format",
236 "destinationS3Location"
237 ],
238 "members":{
239 "reportId":{"shape":"ReportId"},
240 "reportDescription":{"shape":"ReportDescription"},
241 "reportFrequency":{"shape":"ReportFrequency"},
242 "format":{"shape":"Format"},
243 "destinationS3Location":{"shape":"S3Location"}
244 }
245 },
246 "PutReportDefinitionResult":{
247 "type":"structure",
248 "members":{
249 "reportId":{"shape":"ReportId"}
250 }
251 },
252 "ReportDefinition":{
253 "type":"structure",
254 "members":{
255 "reportId":{"shape":"ReportId"},
256 "reportDescription":{"shape":"ReportDescription"},
257 "reportFrequency":{"shape":"ReportFrequency"},
258 "format":{"shape":"Format"},
259 "destinationS3Location":{"shape":"S3Location"},
260 "createdAt":{"shape":"Timestamp"},
261 "lastUpdatedAt":{"shape":"Timestamp"}
262 }
263 },
264 "ReportDefinitionList":{
265 "type":"list",
266 "member":{"shape":"ReportDefinition"}
267 },
268 "ReportDescription":{
269 "type":"string",
270 "max":1024,
271 "min":1,
272 "pattern":".*\\S.*"
273 },
274 "ReportFrequency":{
275 "type":"string",
276 "enum":[
277 "MONTHLY",
278 "DAILY",
279 "ALL"
280 ]
281 },
282 "ReportId":{
283 "type":"string",
284 "max":255,
285 "min":1,
286 "pattern":"^[0-9A-Za-z\\.\\-_]+$"
287 },
288 "S3Bucket":{
289 "type":"string",
290 "max":63,
291 "min":3,
292 "pattern":"(?=^.{3,63}$)(?!^(\\d+\\.)+\\d+$)(^(([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])\\.)*([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])$)"
293 },
294 "S3BucketRegion":{
295 "type":"string",
296 "enum":[
297 "ap-east-1",
298 "me-south-1",
299 "eu-south-1",
300 "af-south-1"
301 ]
302 },
303 "S3Key":{
304 "type":"string",
305 "max":512,
306 "min":1,
307 "pattern":".*\\S.*"
308 },
309 "S3Location":{
310 "type":"structure",
311 "required":[
312 "bucket",
313 "prefix"
314 ],
315 "members":{
316 "bucket":{"shape":"S3Bucket"},
317 "prefix":{"shape":"S3Prefix"}
318 }
319 },
320 "S3Prefix":{
321 "type":"string",
322 "max":512,
323 "min":1,
324 "pattern":".*\\S.*"
325 },
326 "ServiceQuotaExceededException":{
327 "type":"structure",
328 "members":{
329 "message":{"shape":"ErrorMessage"}
330 },
331 "error":{"httpStatusCode":402},
332 "exception":true
333 },
334 "SourceS3Location":{
335 "type":"structure",
336 "required":[
337 "bucket",
338 "key"
339 ],
340 "members":{
341 "bucket":{"shape":"S3Bucket"},
342 "key":{"shape":"S3Key"},
343 "region":{"shape":"S3BucketRegion"}
344 }
345 },
346 "ThrottlingException":{
347 "type":"structure",
348 "members":{
349 "message":{"shape":"ErrorMessage"}
350 },
351 "error":{"httpStatusCode":429},
352 "exception":true
353 },
354 "Timestamp":{"type":"timestamp"},
355 "Token":{
356 "type":"string",
357 "max":102400,
358 "min":1,
359 "pattern":"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"
360 },
361 "UpdateReportDefinitionRequest":{
362 "type":"structure",
363 "required":[
364 "reportId",
365 "reportDescription",
366 "reportFrequency",
367 "format",
368 "destinationS3Location"
369 ],
370 "members":{
371 "reportId":{
372 "shape":"ReportId",
373 "location":"uri",
374 "locationName":"reportId"
375 },
376 "reportDescription":{"shape":"ReportDescription"},
377 "reportFrequency":{"shape":"ReportFrequency"},
378 "format":{"shape":"Format"},
379 "destinationS3Location":{"shape":"S3Location"}
380 }
381 },
382 "UpdateReportDefinitionResult":{
383 "type":"structure",
384 "members":{
385 "reportId":{"shape":"ReportId"}
386 }
387 },
388 "ValidationException":{
389 "type":"structure",
390 "members":{
391 "message":{"shape":"ErrorMessage"}
392 },
393 "error":{"httpStatusCode":400},
394 "exception":true
395 }
396 }
397 }