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