UNPKG

12.1 kBJSONView Raw
1{
2 "version": "2.0",
3 "metadata": {
4 "apiVersion": "2013-11-01",
5 "endpointPrefix": "cloudtrail",
6 "jsonVersion": "1.1",
7 "protocol": "json",
8 "serviceAbbreviation": "CloudTrail",
9 "serviceFullName": "AWS CloudTrail",
10 "signatureVersion": "v4",
11 "targetPrefix": "com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101",
12 "uid": "cloudtrail-2013-11-01"
13 },
14 "operations": {
15 "AddTags": {
16 "input": {
17 "type": "structure",
18 "required": [
19 "ResourceId"
20 ],
21 "members": {
22 "ResourceId": {},
23 "TagsList": {
24 "shape": "S3"
25 }
26 }
27 },
28 "output": {
29 "type": "structure",
30 "members": {}
31 },
32 "idempotent": true
33 },
34 "CreateTrail": {
35 "input": {
36 "type": "structure",
37 "required": [
38 "Name",
39 "S3BucketName"
40 ],
41 "members": {
42 "Name": {},
43 "S3BucketName": {},
44 "S3KeyPrefix": {},
45 "SnsTopicName": {},
46 "IncludeGlobalServiceEvents": {
47 "type": "boolean"
48 },
49 "IsMultiRegionTrail": {
50 "type": "boolean"
51 },
52 "EnableLogFileValidation": {
53 "type": "boolean"
54 },
55 "CloudWatchLogsLogGroupArn": {},
56 "CloudWatchLogsRoleArn": {},
57 "KmsKeyId": {}
58 }
59 },
60 "output": {
61 "type": "structure",
62 "members": {
63 "Name": {},
64 "S3BucketName": {},
65 "S3KeyPrefix": {},
66 "SnsTopicName": {
67 "deprecated": true
68 },
69 "SnsTopicARN": {},
70 "IncludeGlobalServiceEvents": {
71 "type": "boolean"
72 },
73 "IsMultiRegionTrail": {
74 "type": "boolean"
75 },
76 "TrailARN": {},
77 "LogFileValidationEnabled": {
78 "type": "boolean"
79 },
80 "CloudWatchLogsLogGroupArn": {},
81 "CloudWatchLogsRoleArn": {},
82 "KmsKeyId": {}
83 }
84 },
85 "idempotent": true
86 },
87 "DeleteTrail": {
88 "input": {
89 "type": "structure",
90 "required": [
91 "Name"
92 ],
93 "members": {
94 "Name": {}
95 }
96 },
97 "output": {
98 "type": "structure",
99 "members": {}
100 },
101 "idempotent": true
102 },
103 "DescribeTrails": {
104 "input": {
105 "type": "structure",
106 "members": {
107 "trailNameList": {
108 "type": "list",
109 "member": {}
110 },
111 "includeShadowTrails": {
112 "type": "boolean"
113 }
114 }
115 },
116 "output": {
117 "type": "structure",
118 "members": {
119 "trailList": {
120 "type": "list",
121 "member": {
122 "type": "structure",
123 "members": {
124 "Name": {},
125 "S3BucketName": {},
126 "S3KeyPrefix": {},
127 "SnsTopicName": {
128 "deprecated": true
129 },
130 "SnsTopicARN": {},
131 "IncludeGlobalServiceEvents": {
132 "type": "boolean"
133 },
134 "IsMultiRegionTrail": {
135 "type": "boolean"
136 },
137 "HomeRegion": {},
138 "TrailARN": {},
139 "LogFileValidationEnabled": {
140 "type": "boolean"
141 },
142 "CloudWatchLogsLogGroupArn": {},
143 "CloudWatchLogsRoleArn": {},
144 "KmsKeyId": {},
145 "HasCustomEventSelectors": {
146 "type": "boolean"
147 }
148 }
149 }
150 }
151 }
152 },
153 "idempotent": true
154 },
155 "GetEventSelectors": {
156 "input": {
157 "type": "structure",
158 "members": {
159 "TrailName": {}
160 }
161 },
162 "output": {
163 "type": "structure",
164 "members": {
165 "TrailARN": {},
166 "EventSelectors": {
167 "shape": "Si"
168 }
169 }
170 },
171 "idempotent": true
172 },
173 "GetTrailStatus": {
174 "input": {
175 "type": "structure",
176 "required": [
177 "Name"
178 ],
179 "members": {
180 "Name": {}
181 }
182 },
183 "output": {
184 "type": "structure",
185 "members": {
186 "IsLogging": {
187 "type": "boolean"
188 },
189 "LatestDeliveryError": {},
190 "LatestNotificationError": {},
191 "LatestDeliveryTime": {
192 "type": "timestamp"
193 },
194 "LatestNotificationTime": {
195 "type": "timestamp"
196 },
197 "StartLoggingTime": {
198 "type": "timestamp"
199 },
200 "StopLoggingTime": {
201 "type": "timestamp"
202 },
203 "LatestCloudWatchLogsDeliveryError": {},
204 "LatestCloudWatchLogsDeliveryTime": {
205 "type": "timestamp"
206 },
207 "LatestDigestDeliveryTime": {
208 "type": "timestamp"
209 },
210 "LatestDigestDeliveryError": {},
211 "LatestDeliveryAttemptTime": {},
212 "LatestNotificationAttemptTime": {},
213 "LatestNotificationAttemptSucceeded": {},
214 "LatestDeliveryAttemptSucceeded": {},
215 "TimeLoggingStarted": {},
216 "TimeLoggingStopped": {}
217 }
218 },
219 "idempotent": true
220 },
221 "ListPublicKeys": {
222 "input": {
223 "type": "structure",
224 "members": {
225 "StartTime": {
226 "type": "timestamp"
227 },
228 "EndTime": {
229 "type": "timestamp"
230 },
231 "NextToken": {}
232 }
233 },
234 "output": {
235 "type": "structure",
236 "members": {
237 "PublicKeyList": {
238 "type": "list",
239 "member": {
240 "type": "structure",
241 "members": {
242 "Value": {
243 "type": "blob"
244 },
245 "ValidityStartTime": {
246 "type": "timestamp"
247 },
248 "ValidityEndTime": {
249 "type": "timestamp"
250 },
251 "Fingerprint": {}
252 }
253 }
254 },
255 "NextToken": {}
256 }
257 },
258 "idempotent": true
259 },
260 "ListTags": {
261 "input": {
262 "type": "structure",
263 "required": [
264 "ResourceIdList"
265 ],
266 "members": {
267 "ResourceIdList": {
268 "type": "list",
269 "member": {}
270 },
271 "NextToken": {}
272 }
273 },
274 "output": {
275 "type": "structure",
276 "members": {
277 "ResourceTagList": {
278 "type": "list",
279 "member": {
280 "type": "structure",
281 "members": {
282 "ResourceId": {},
283 "TagsList": {
284 "shape": "S3"
285 }
286 }
287 }
288 },
289 "NextToken": {}
290 }
291 },
292 "idempotent": true
293 },
294 "LookupEvents": {
295 "input": {
296 "type": "structure",
297 "members": {
298 "LookupAttributes": {
299 "type": "list",
300 "member": {
301 "type": "structure",
302 "required": [
303 "AttributeKey",
304 "AttributeValue"
305 ],
306 "members": {
307 "AttributeKey": {},
308 "AttributeValue": {}
309 }
310 }
311 },
312 "StartTime": {
313 "type": "timestamp"
314 },
315 "EndTime": {
316 "type": "timestamp"
317 },
318 "MaxResults": {
319 "type": "integer"
320 },
321 "NextToken": {}
322 }
323 },
324 "output": {
325 "type": "structure",
326 "members": {
327 "Events": {
328 "type": "list",
329 "member": {
330 "type": "structure",
331 "members": {
332 "EventId": {},
333 "EventName": {},
334 "EventTime": {
335 "type": "timestamp"
336 },
337 "EventSource": {},
338 "Username": {},
339 "Resources": {
340 "type": "list",
341 "member": {
342 "type": "structure",
343 "members": {
344 "ResourceType": {},
345 "ResourceName": {}
346 }
347 }
348 },
349 "CloudTrailEvent": {}
350 }
351 }
352 },
353 "NextToken": {}
354 }
355 },
356 "idempotent": true
357 },
358 "PutEventSelectors": {
359 "input": {
360 "type": "structure",
361 "members": {
362 "TrailName": {},
363 "EventSelectors": {
364 "shape": "Si"
365 }
366 }
367 },
368 "output": {
369 "type": "structure",
370 "members": {
371 "TrailARN": {},
372 "EventSelectors": {
373 "shape": "Si"
374 }
375 }
376 },
377 "idempotent": true
378 },
379 "RemoveTags": {
380 "input": {
381 "type": "structure",
382 "required": [
383 "ResourceId"
384 ],
385 "members": {
386 "ResourceId": {},
387 "TagsList": {
388 "shape": "S3"
389 }
390 }
391 },
392 "output": {
393 "type": "structure",
394 "members": {}
395 },
396 "idempotent": true
397 },
398 "StartLogging": {
399 "input": {
400 "type": "structure",
401 "required": [
402 "Name"
403 ],
404 "members": {
405 "Name": {}
406 }
407 },
408 "output": {
409 "type": "structure",
410 "members": {}
411 },
412 "idempotent": true
413 },
414 "StopLogging": {
415 "input": {
416 "type": "structure",
417 "required": [
418 "Name"
419 ],
420 "members": {
421 "Name": {}
422 }
423 },
424 "output": {
425 "type": "structure",
426 "members": {}
427 },
428 "idempotent": true
429 },
430 "UpdateTrail": {
431 "input": {
432 "type": "structure",
433 "required": [
434 "Name"
435 ],
436 "members": {
437 "Name": {},
438 "S3BucketName": {},
439 "S3KeyPrefix": {},
440 "SnsTopicName": {},
441 "IncludeGlobalServiceEvents": {
442 "type": "boolean"
443 },
444 "IsMultiRegionTrail": {
445 "type": "boolean"
446 },
447 "EnableLogFileValidation": {
448 "type": "boolean"
449 },
450 "CloudWatchLogsLogGroupArn": {},
451 "CloudWatchLogsRoleArn": {},
452 "KmsKeyId": {}
453 }
454 },
455 "output": {
456 "type": "structure",
457 "members": {
458 "Name": {},
459 "S3BucketName": {},
460 "S3KeyPrefix": {},
461 "SnsTopicName": {
462 "deprecated": true
463 },
464 "SnsTopicARN": {},
465 "IncludeGlobalServiceEvents": {
466 "type": "boolean"
467 },
468 "IsMultiRegionTrail": {
469 "type": "boolean"
470 },
471 "TrailARN": {},
472 "LogFileValidationEnabled": {
473 "type": "boolean"
474 },
475 "CloudWatchLogsLogGroupArn": {},
476 "CloudWatchLogsRoleArn": {},
477 "KmsKeyId": {}
478 }
479 },
480 "idempotent": true
481 }
482 },
483 "shapes": {
484 "S3": {
485 "type": "list",
486 "member": {
487 "type": "structure",
488 "required": [
489 "Key"
490 ],
491 "members": {
492 "Key": {},
493 "Value": {}
494 }
495 }
496 },
497 "Si": {
498 "type": "list",
499 "member": {
500 "type": "structure",
501 "members": {
502 "ReadWriteType": {},
503 "IncludeManagementEvents": {
504 "type": "boolean"
505 },
506 "DataResources": {
507 "type": "list",
508 "member": {
509 "type": "structure",
510 "members": {
511 "Type": {},
512 "Values": {
513 "type": "list",
514 "member": {}
515 }
516 }
517 }
518 }
519 }
520 }
521 }
522 }
523}
\No newline at end of file