github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/cloudtrail/2013-11-01/api-2.json (about) 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 "serviceId":"CloudTrail", 11 "signatureVersion":"v4", 12 "targetPrefix":"com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101", 13 "uid":"cloudtrail-2013-11-01" 14 }, 15 "operations":{ 16 "AddTags":{ 17 "name":"AddTags", 18 "http":{ 19 "method":"POST", 20 "requestUri":"/" 21 }, 22 "input":{"shape":"AddTagsRequest"}, 23 "output":{"shape":"AddTagsResponse"}, 24 "errors":[ 25 {"shape":"ResourceNotFoundException"}, 26 {"shape":"CloudTrailARNInvalidException"}, 27 {"shape":"ResourceTypeNotSupportedException"}, 28 {"shape":"TagsLimitExceededException"}, 29 {"shape":"InvalidTrailNameException"}, 30 {"shape":"InvalidTagParameterException"}, 31 {"shape":"UnsupportedOperationException"}, 32 {"shape":"OperationNotPermittedException"}, 33 {"shape":"NotOrganizationMasterAccountException"} 34 ], 35 "idempotent":true 36 }, 37 "CreateTrail":{ 38 "name":"CreateTrail", 39 "http":{ 40 "method":"POST", 41 "requestUri":"/" 42 }, 43 "input":{"shape":"CreateTrailRequest"}, 44 "output":{"shape":"CreateTrailResponse"}, 45 "errors":[ 46 {"shape":"MaximumNumberOfTrailsExceededException"}, 47 {"shape":"TrailAlreadyExistsException"}, 48 {"shape":"S3BucketDoesNotExistException"}, 49 {"shape":"InsufficientS3BucketPolicyException"}, 50 {"shape":"InsufficientSnsTopicPolicyException"}, 51 {"shape":"InsufficientEncryptionPolicyException"}, 52 {"shape":"InvalidS3BucketNameException"}, 53 {"shape":"InvalidS3PrefixException"}, 54 {"shape":"InvalidSnsTopicNameException"}, 55 {"shape":"InvalidKmsKeyIdException"}, 56 {"shape":"InvalidTrailNameException"}, 57 {"shape":"TrailNotProvidedException"}, 58 {"shape":"InvalidParameterCombinationException"}, 59 {"shape":"KmsKeyNotFoundException"}, 60 {"shape":"KmsKeyDisabledException"}, 61 {"shape":"KmsException"}, 62 {"shape":"InvalidCloudWatchLogsLogGroupArnException"}, 63 {"shape":"InvalidCloudWatchLogsRoleArnException"}, 64 {"shape":"CloudWatchLogsDeliveryUnavailableException"}, 65 {"shape":"InvalidTagParameterException"}, 66 {"shape":"UnsupportedOperationException"}, 67 {"shape":"OperationNotPermittedException"}, 68 {"shape":"CloudTrailAccessNotEnabledException"}, 69 {"shape":"InsufficientDependencyServiceAccessPermissionException"}, 70 {"shape":"NotOrganizationMasterAccountException"}, 71 {"shape":"OrganizationsNotInUseException"}, 72 {"shape":"OrganizationNotInAllFeaturesModeException"}, 73 {"shape":"CloudTrailInvalidClientTokenIdException"} 74 ], 75 "idempotent":true 76 }, 77 "DeleteTrail":{ 78 "name":"DeleteTrail", 79 "http":{ 80 "method":"POST", 81 "requestUri":"/" 82 }, 83 "input":{"shape":"DeleteTrailRequest"}, 84 "output":{"shape":"DeleteTrailResponse"}, 85 "errors":[ 86 {"shape":"TrailNotFoundException"}, 87 {"shape":"InvalidTrailNameException"}, 88 {"shape":"InvalidHomeRegionException"}, 89 {"shape":"UnsupportedOperationException"}, 90 {"shape":"OperationNotPermittedException"}, 91 {"shape":"NotOrganizationMasterAccountException"}, 92 {"shape":"InsufficientDependencyServiceAccessPermissionException"}, 93 {"shape":"ConflictException"} 94 ], 95 "idempotent":true 96 }, 97 "DescribeTrails":{ 98 "name":"DescribeTrails", 99 "http":{ 100 "method":"POST", 101 "requestUri":"/" 102 }, 103 "input":{"shape":"DescribeTrailsRequest"}, 104 "output":{"shape":"DescribeTrailsResponse"}, 105 "errors":[ 106 {"shape":"UnsupportedOperationException"}, 107 {"shape":"OperationNotPermittedException"}, 108 {"shape":"InvalidTrailNameException"} 109 ], 110 "idempotent":true 111 }, 112 "GetEventSelectors":{ 113 "name":"GetEventSelectors", 114 "http":{ 115 "method":"POST", 116 "requestUri":"/" 117 }, 118 "input":{"shape":"GetEventSelectorsRequest"}, 119 "output":{"shape":"GetEventSelectorsResponse"}, 120 "errors":[ 121 {"shape":"TrailNotFoundException"}, 122 {"shape":"InvalidTrailNameException"}, 123 {"shape":"UnsupportedOperationException"}, 124 {"shape":"OperationNotPermittedException"} 125 ], 126 "idempotent":true 127 }, 128 "GetInsightSelectors":{ 129 "name":"GetInsightSelectors", 130 "http":{ 131 "method":"POST", 132 "requestUri":"/" 133 }, 134 "input":{"shape":"GetInsightSelectorsRequest"}, 135 "output":{"shape":"GetInsightSelectorsResponse"}, 136 "errors":[ 137 {"shape":"TrailNotFoundException"}, 138 {"shape":"InvalidTrailNameException"}, 139 {"shape":"UnsupportedOperationException"}, 140 {"shape":"OperationNotPermittedException"}, 141 {"shape":"InsightNotEnabledException"} 142 ], 143 "idempotent":true 144 }, 145 "GetTrail":{ 146 "name":"GetTrail", 147 "http":{ 148 "method":"POST", 149 "requestUri":"/" 150 }, 151 "input":{"shape":"GetTrailRequest"}, 152 "output":{"shape":"GetTrailResponse"}, 153 "errors":[ 154 {"shape":"TrailNotFoundException"}, 155 {"shape":"InvalidTrailNameException"}, 156 {"shape":"UnsupportedOperationException"}, 157 {"shape":"OperationNotPermittedException"} 158 ], 159 "idempotent":true 160 }, 161 "GetTrailStatus":{ 162 "name":"GetTrailStatus", 163 "http":{ 164 "method":"POST", 165 "requestUri":"/" 166 }, 167 "input":{"shape":"GetTrailStatusRequest"}, 168 "output":{"shape":"GetTrailStatusResponse"}, 169 "errors":[ 170 {"shape":"TrailNotFoundException"}, 171 {"shape":"InvalidTrailNameException"}, 172 {"shape":"UnsupportedOperationException"}, 173 {"shape":"OperationNotPermittedException"} 174 ], 175 "idempotent":true 176 }, 177 "ListPublicKeys":{ 178 "name":"ListPublicKeys", 179 "http":{ 180 "method":"POST", 181 "requestUri":"/" 182 }, 183 "input":{"shape":"ListPublicKeysRequest"}, 184 "output":{"shape":"ListPublicKeysResponse"}, 185 "errors":[ 186 {"shape":"InvalidTimeRangeException"}, 187 {"shape":"UnsupportedOperationException"}, 188 {"shape":"OperationNotPermittedException"}, 189 {"shape":"InvalidTokenException"} 190 ], 191 "idempotent":true 192 }, 193 "ListTags":{ 194 "name":"ListTags", 195 "http":{ 196 "method":"POST", 197 "requestUri":"/" 198 }, 199 "input":{"shape":"ListTagsRequest"}, 200 "output":{"shape":"ListTagsResponse"}, 201 "errors":[ 202 {"shape":"ResourceNotFoundException"}, 203 {"shape":"CloudTrailARNInvalidException"}, 204 {"shape":"ResourceTypeNotSupportedException"}, 205 {"shape":"InvalidTrailNameException"}, 206 {"shape":"UnsupportedOperationException"}, 207 {"shape":"OperationNotPermittedException"}, 208 {"shape":"InvalidTokenException"} 209 ], 210 "idempotent":true 211 }, 212 "ListTrails":{ 213 "name":"ListTrails", 214 "http":{ 215 "method":"POST", 216 "requestUri":"/" 217 }, 218 "input":{"shape":"ListTrailsRequest"}, 219 "output":{"shape":"ListTrailsResponse"}, 220 "errors":[ 221 {"shape":"UnsupportedOperationException"}, 222 {"shape":"OperationNotPermittedException"} 223 ], 224 "idempotent":true 225 }, 226 "LookupEvents":{ 227 "name":"LookupEvents", 228 "http":{ 229 "method":"POST", 230 "requestUri":"/" 231 }, 232 "input":{"shape":"LookupEventsRequest"}, 233 "output":{"shape":"LookupEventsResponse"}, 234 "errors":[ 235 {"shape":"InvalidLookupAttributesException"}, 236 {"shape":"InvalidTimeRangeException"}, 237 {"shape":"InvalidMaxResultsException"}, 238 {"shape":"InvalidNextTokenException"}, 239 {"shape":"InvalidEventCategoryException"}, 240 {"shape":"UnsupportedOperationException"}, 241 {"shape":"OperationNotPermittedException"} 242 ], 243 "idempotent":true 244 }, 245 "PutEventSelectors":{ 246 "name":"PutEventSelectors", 247 "http":{ 248 "method":"POST", 249 "requestUri":"/" 250 }, 251 "input":{"shape":"PutEventSelectorsRequest"}, 252 "output":{"shape":"PutEventSelectorsResponse"}, 253 "errors":[ 254 {"shape":"TrailNotFoundException"}, 255 {"shape":"InvalidTrailNameException"}, 256 {"shape":"InvalidHomeRegionException"}, 257 {"shape":"InvalidEventSelectorsException"}, 258 {"shape":"UnsupportedOperationException"}, 259 {"shape":"OperationNotPermittedException"}, 260 {"shape":"NotOrganizationMasterAccountException"}, 261 {"shape":"InsufficientDependencyServiceAccessPermissionException"} 262 ], 263 "idempotent":true 264 }, 265 "PutInsightSelectors":{ 266 "name":"PutInsightSelectors", 267 "http":{ 268 "method":"POST", 269 "requestUri":"/" 270 }, 271 "input":{"shape":"PutInsightSelectorsRequest"}, 272 "output":{"shape":"PutInsightSelectorsResponse"}, 273 "errors":[ 274 {"shape":"TrailNotFoundException"}, 275 {"shape":"InvalidTrailNameException"}, 276 {"shape":"InvalidHomeRegionException"}, 277 {"shape":"InvalidInsightSelectorsException"}, 278 {"shape":"InsufficientS3BucketPolicyException"}, 279 {"shape":"InsufficientEncryptionPolicyException"}, 280 {"shape":"S3BucketDoesNotExistException"}, 281 {"shape":"KmsException"}, 282 {"shape":"UnsupportedOperationException"}, 283 {"shape":"OperationNotPermittedException"}, 284 {"shape":"NotOrganizationMasterAccountException"} 285 ], 286 "idempotent":true 287 }, 288 "RemoveTags":{ 289 "name":"RemoveTags", 290 "http":{ 291 "method":"POST", 292 "requestUri":"/" 293 }, 294 "input":{"shape":"RemoveTagsRequest"}, 295 "output":{"shape":"RemoveTagsResponse"}, 296 "errors":[ 297 {"shape":"ResourceNotFoundException"}, 298 {"shape":"CloudTrailARNInvalidException"}, 299 {"shape":"ResourceTypeNotSupportedException"}, 300 {"shape":"InvalidTrailNameException"}, 301 {"shape":"InvalidTagParameterException"}, 302 {"shape":"UnsupportedOperationException"}, 303 {"shape":"OperationNotPermittedException"}, 304 {"shape":"NotOrganizationMasterAccountException"} 305 ], 306 "idempotent":true 307 }, 308 "StartLogging":{ 309 "name":"StartLogging", 310 "http":{ 311 "method":"POST", 312 "requestUri":"/" 313 }, 314 "input":{"shape":"StartLoggingRequest"}, 315 "output":{"shape":"StartLoggingResponse"}, 316 "errors":[ 317 {"shape":"TrailNotFoundException"}, 318 {"shape":"InvalidTrailNameException"}, 319 {"shape":"InvalidHomeRegionException"}, 320 {"shape":"UnsupportedOperationException"}, 321 {"shape":"OperationNotPermittedException"}, 322 {"shape":"NotOrganizationMasterAccountException"}, 323 {"shape":"InsufficientDependencyServiceAccessPermissionException"} 324 ], 325 "idempotent":true 326 }, 327 "StopLogging":{ 328 "name":"StopLogging", 329 "http":{ 330 "method":"POST", 331 "requestUri":"/" 332 }, 333 "input":{"shape":"StopLoggingRequest"}, 334 "output":{"shape":"StopLoggingResponse"}, 335 "errors":[ 336 {"shape":"TrailNotFoundException"}, 337 {"shape":"InvalidTrailNameException"}, 338 {"shape":"InvalidHomeRegionException"}, 339 {"shape":"UnsupportedOperationException"}, 340 {"shape":"OperationNotPermittedException"}, 341 {"shape":"NotOrganizationMasterAccountException"}, 342 {"shape":"InsufficientDependencyServiceAccessPermissionException"} 343 ], 344 "idempotent":true 345 }, 346 "UpdateTrail":{ 347 "name":"UpdateTrail", 348 "http":{ 349 "method":"POST", 350 "requestUri":"/" 351 }, 352 "input":{"shape":"UpdateTrailRequest"}, 353 "output":{"shape":"UpdateTrailResponse"}, 354 "errors":[ 355 {"shape":"S3BucketDoesNotExistException"}, 356 {"shape":"InsufficientS3BucketPolicyException"}, 357 {"shape":"InsufficientSnsTopicPolicyException"}, 358 {"shape":"InsufficientEncryptionPolicyException"}, 359 {"shape":"TrailNotFoundException"}, 360 {"shape":"InvalidS3BucketNameException"}, 361 {"shape":"InvalidS3PrefixException"}, 362 {"shape":"InvalidSnsTopicNameException"}, 363 {"shape":"InvalidKmsKeyIdException"}, 364 {"shape":"InvalidTrailNameException"}, 365 {"shape":"TrailNotProvidedException"}, 366 {"shape":"InvalidEventSelectorsException"}, 367 {"shape":"InvalidParameterCombinationException"}, 368 {"shape":"InvalidHomeRegionException"}, 369 {"shape":"KmsKeyNotFoundException"}, 370 {"shape":"KmsKeyDisabledException"}, 371 {"shape":"KmsException"}, 372 {"shape":"InvalidCloudWatchLogsLogGroupArnException"}, 373 {"shape":"InvalidCloudWatchLogsRoleArnException"}, 374 {"shape":"CloudWatchLogsDeliveryUnavailableException"}, 375 {"shape":"UnsupportedOperationException"}, 376 {"shape":"OperationNotPermittedException"}, 377 {"shape":"CloudTrailAccessNotEnabledException"}, 378 {"shape":"InsufficientDependencyServiceAccessPermissionException"}, 379 {"shape":"OrganizationsNotInUseException"}, 380 {"shape":"NotOrganizationMasterAccountException"}, 381 {"shape":"OrganizationNotInAllFeaturesModeException"}, 382 {"shape":"CloudTrailInvalidClientTokenIdException"} 383 ], 384 "idempotent":true 385 } 386 }, 387 "shapes":{ 388 "AddTagsRequest":{ 389 "type":"structure", 390 "required":["ResourceId"], 391 "members":{ 392 "ResourceId":{"shape":"String"}, 393 "TagsList":{"shape":"TagsList"} 394 } 395 }, 396 "AddTagsResponse":{ 397 "type":"structure", 398 "members":{ 399 } 400 }, 401 "AdvancedEventSelector":{ 402 "type":"structure", 403 "required":["FieldSelectors"], 404 "members":{ 405 "Name":{"shape":"SelectorName"}, 406 "FieldSelectors":{"shape":"AdvancedFieldSelectors"} 407 } 408 }, 409 "AdvancedEventSelectors":{ 410 "type":"list", 411 "member":{"shape":"AdvancedEventSelector"} 412 }, 413 "AdvancedFieldSelector":{ 414 "type":"structure", 415 "required":["Field"], 416 "members":{ 417 "Field":{"shape":"SelectorField"}, 418 "Equals":{"shape":"Operator"}, 419 "StartsWith":{"shape":"Operator"}, 420 "EndsWith":{"shape":"Operator"}, 421 "NotEquals":{"shape":"Operator"}, 422 "NotStartsWith":{"shape":"Operator"}, 423 "NotEndsWith":{"shape":"Operator"} 424 } 425 }, 426 "AdvancedFieldSelectors":{ 427 "type":"list", 428 "member":{"shape":"AdvancedFieldSelector"}, 429 "min":1 430 }, 431 "Boolean":{"type":"boolean"}, 432 "ByteBuffer":{"type":"blob"}, 433 "CloudTrailARNInvalidException":{ 434 "type":"structure", 435 "members":{ 436 }, 437 "exception":true 438 }, 439 "CloudTrailAccessNotEnabledException":{ 440 "type":"structure", 441 "members":{ 442 }, 443 "exception":true 444 }, 445 "CloudTrailInvalidClientTokenIdException":{ 446 "type":"structure", 447 "members":{ 448 }, 449 "exception":true 450 }, 451 "CloudWatchLogsDeliveryUnavailableException":{ 452 "type":"structure", 453 "members":{ 454 }, 455 "exception":true 456 }, 457 "ConflictException":{ 458 "type":"structure", 459 "members":{ 460 }, 461 "exception":true 462 }, 463 "CreateTrailRequest":{ 464 "type":"structure", 465 "required":[ 466 "Name", 467 "S3BucketName" 468 ], 469 "members":{ 470 "Name":{"shape":"String"}, 471 "S3BucketName":{"shape":"String"}, 472 "S3KeyPrefix":{"shape":"String"}, 473 "SnsTopicName":{"shape":"String"}, 474 "IncludeGlobalServiceEvents":{"shape":"Boolean"}, 475 "IsMultiRegionTrail":{"shape":"Boolean"}, 476 "EnableLogFileValidation":{"shape":"Boolean"}, 477 "CloudWatchLogsLogGroupArn":{"shape":"String"}, 478 "CloudWatchLogsRoleArn":{"shape":"String"}, 479 "KmsKeyId":{"shape":"String"}, 480 "IsOrganizationTrail":{"shape":"Boolean"}, 481 "TagsList":{"shape":"TagsList"} 482 } 483 }, 484 "CreateTrailResponse":{ 485 "type":"structure", 486 "members":{ 487 "Name":{"shape":"String"}, 488 "S3BucketName":{"shape":"String"}, 489 "S3KeyPrefix":{"shape":"String"}, 490 "SnsTopicName":{ 491 "shape":"String", 492 "deprecated":true 493 }, 494 "SnsTopicARN":{"shape":"String"}, 495 "IncludeGlobalServiceEvents":{"shape":"Boolean"}, 496 "IsMultiRegionTrail":{"shape":"Boolean"}, 497 "TrailARN":{"shape":"String"}, 498 "LogFileValidationEnabled":{"shape":"Boolean"}, 499 "CloudWatchLogsLogGroupArn":{"shape":"String"}, 500 "CloudWatchLogsRoleArn":{"shape":"String"}, 501 "KmsKeyId":{"shape":"String"}, 502 "IsOrganizationTrail":{"shape":"Boolean"} 503 } 504 }, 505 "DataResource":{ 506 "type":"structure", 507 "members":{ 508 "Type":{"shape":"String"}, 509 "Values":{"shape":"DataResourceValues"} 510 } 511 }, 512 "DataResourceValues":{ 513 "type":"list", 514 "member":{"shape":"String"} 515 }, 516 "DataResources":{ 517 "type":"list", 518 "member":{"shape":"DataResource"} 519 }, 520 "Date":{"type":"timestamp"}, 521 "DeleteTrailRequest":{ 522 "type":"structure", 523 "required":["Name"], 524 "members":{ 525 "Name":{"shape":"String"} 526 } 527 }, 528 "DeleteTrailResponse":{ 529 "type":"structure", 530 "members":{ 531 } 532 }, 533 "DescribeTrailsRequest":{ 534 "type":"structure", 535 "members":{ 536 "trailNameList":{"shape":"TrailNameList"}, 537 "includeShadowTrails":{"shape":"Boolean"} 538 } 539 }, 540 "DescribeTrailsResponse":{ 541 "type":"structure", 542 "members":{ 543 "trailList":{"shape":"TrailList"} 544 } 545 }, 546 "Event":{ 547 "type":"structure", 548 "members":{ 549 "EventId":{"shape":"String"}, 550 "EventName":{"shape":"String"}, 551 "ReadOnly":{"shape":"String"}, 552 "AccessKeyId":{"shape":"String"}, 553 "EventTime":{"shape":"Date"}, 554 "EventSource":{"shape":"String"}, 555 "Username":{"shape":"String"}, 556 "Resources":{"shape":"ResourceList"}, 557 "CloudTrailEvent":{"shape":"String"} 558 } 559 }, 560 "EventCategory":{ 561 "type":"string", 562 "enum":["insight"] 563 }, 564 "EventSelector":{ 565 "type":"structure", 566 "members":{ 567 "ReadWriteType":{"shape":"ReadWriteType"}, 568 "IncludeManagementEvents":{"shape":"Boolean"}, 569 "DataResources":{"shape":"DataResources"}, 570 "ExcludeManagementEventSources":{"shape":"ExcludeManagementEventSources"} 571 } 572 }, 573 "EventSelectors":{ 574 "type":"list", 575 "member":{"shape":"EventSelector"} 576 }, 577 "EventsList":{ 578 "type":"list", 579 "member":{"shape":"Event"} 580 }, 581 "ExcludeManagementEventSources":{ 582 "type":"list", 583 "member":{"shape":"String"} 584 }, 585 "GetEventSelectorsRequest":{ 586 "type":"structure", 587 "required":["TrailName"], 588 "members":{ 589 "TrailName":{"shape":"String"} 590 } 591 }, 592 "GetEventSelectorsResponse":{ 593 "type":"structure", 594 "members":{ 595 "TrailARN":{"shape":"String"}, 596 "EventSelectors":{"shape":"EventSelectors"}, 597 "AdvancedEventSelectors":{"shape":"AdvancedEventSelectors"} 598 } 599 }, 600 "GetInsightSelectorsRequest":{ 601 "type":"structure", 602 "required":["TrailName"], 603 "members":{ 604 "TrailName":{"shape":"String"} 605 } 606 }, 607 "GetInsightSelectorsResponse":{ 608 "type":"structure", 609 "members":{ 610 "TrailARN":{"shape":"String"}, 611 "InsightSelectors":{"shape":"InsightSelectors"} 612 } 613 }, 614 "GetTrailRequest":{ 615 "type":"structure", 616 "required":["Name"], 617 "members":{ 618 "Name":{"shape":"String"} 619 } 620 }, 621 "GetTrailResponse":{ 622 "type":"structure", 623 "members":{ 624 "Trail":{"shape":"Trail"} 625 } 626 }, 627 "GetTrailStatusRequest":{ 628 "type":"structure", 629 "required":["Name"], 630 "members":{ 631 "Name":{"shape":"String"} 632 } 633 }, 634 "GetTrailStatusResponse":{ 635 "type":"structure", 636 "members":{ 637 "IsLogging":{"shape":"Boolean"}, 638 "LatestDeliveryError":{"shape":"String"}, 639 "LatestNotificationError":{"shape":"String"}, 640 "LatestDeliveryTime":{"shape":"Date"}, 641 "LatestNotificationTime":{"shape":"Date"}, 642 "StartLoggingTime":{"shape":"Date"}, 643 "StopLoggingTime":{"shape":"Date"}, 644 "LatestCloudWatchLogsDeliveryError":{"shape":"String"}, 645 "LatestCloudWatchLogsDeliveryTime":{"shape":"Date"}, 646 "LatestDigestDeliveryTime":{"shape":"Date"}, 647 "LatestDigestDeliveryError":{"shape":"String"}, 648 "LatestDeliveryAttemptTime":{"shape":"String"}, 649 "LatestNotificationAttemptTime":{"shape":"String"}, 650 "LatestNotificationAttemptSucceeded":{"shape":"String"}, 651 "LatestDeliveryAttemptSucceeded":{"shape":"String"}, 652 "TimeLoggingStarted":{"shape":"String"}, 653 "TimeLoggingStopped":{"shape":"String"} 654 } 655 }, 656 "InsightNotEnabledException":{ 657 "type":"structure", 658 "members":{ 659 }, 660 "exception":true 661 }, 662 "InsightSelector":{ 663 "type":"structure", 664 "members":{ 665 "InsightType":{"shape":"InsightType"} 666 } 667 }, 668 "InsightSelectors":{ 669 "type":"list", 670 "member":{"shape":"InsightSelector"} 671 }, 672 "InsightType":{ 673 "type":"string", 674 "enum":["ApiCallRateInsight"] 675 }, 676 "InsufficientDependencyServiceAccessPermissionException":{ 677 "type":"structure", 678 "members":{ 679 }, 680 "exception":true 681 }, 682 "InsufficientEncryptionPolicyException":{ 683 "type":"structure", 684 "members":{ 685 }, 686 "exception":true 687 }, 688 "InsufficientS3BucketPolicyException":{ 689 "type":"structure", 690 "members":{ 691 }, 692 "exception":true 693 }, 694 "InsufficientSnsTopicPolicyException":{ 695 "type":"structure", 696 "members":{ 697 }, 698 "exception":true 699 }, 700 "InvalidCloudWatchLogsLogGroupArnException":{ 701 "type":"structure", 702 "members":{ 703 }, 704 "exception":true 705 }, 706 "InvalidCloudWatchLogsRoleArnException":{ 707 "type":"structure", 708 "members":{ 709 }, 710 "exception":true 711 }, 712 "InvalidEventCategoryException":{ 713 "type":"structure", 714 "members":{ 715 }, 716 "exception":true 717 }, 718 "InvalidEventSelectorsException":{ 719 "type":"structure", 720 "members":{ 721 }, 722 "exception":true 723 }, 724 "InvalidHomeRegionException":{ 725 "type":"structure", 726 "members":{ 727 }, 728 "exception":true 729 }, 730 "InvalidInsightSelectorsException":{ 731 "type":"structure", 732 "members":{ 733 }, 734 "exception":true 735 }, 736 "InvalidKmsKeyIdException":{ 737 "type":"structure", 738 "members":{ 739 }, 740 "exception":true 741 }, 742 "InvalidLookupAttributesException":{ 743 "type":"structure", 744 "members":{ 745 }, 746 "exception":true 747 }, 748 "InvalidMaxResultsException":{ 749 "type":"structure", 750 "members":{ 751 }, 752 "exception":true 753 }, 754 "InvalidNextTokenException":{ 755 "type":"structure", 756 "members":{ 757 }, 758 "exception":true 759 }, 760 "InvalidParameterCombinationException":{ 761 "type":"structure", 762 "members":{ 763 }, 764 "exception":true 765 }, 766 "InvalidS3BucketNameException":{ 767 "type":"structure", 768 "members":{ 769 }, 770 "exception":true 771 }, 772 "InvalidS3PrefixException":{ 773 "type":"structure", 774 "members":{ 775 }, 776 "exception":true 777 }, 778 "InvalidSnsTopicNameException":{ 779 "type":"structure", 780 "members":{ 781 }, 782 "exception":true 783 }, 784 "InvalidTagParameterException":{ 785 "type":"structure", 786 "members":{ 787 }, 788 "exception":true 789 }, 790 "InvalidTimeRangeException":{ 791 "type":"structure", 792 "members":{ 793 }, 794 "exception":true 795 }, 796 "InvalidTokenException":{ 797 "type":"structure", 798 "members":{ 799 }, 800 "exception":true 801 }, 802 "InvalidTrailNameException":{ 803 "type":"structure", 804 "members":{ 805 }, 806 "exception":true 807 }, 808 "KmsException":{ 809 "type":"structure", 810 "members":{ 811 }, 812 "exception":true 813 }, 814 "KmsKeyDisabledException":{ 815 "type":"structure", 816 "members":{ 817 }, 818 "deprecated":true, 819 "exception":true 820 }, 821 "KmsKeyNotFoundException":{ 822 "type":"structure", 823 "members":{ 824 }, 825 "exception":true 826 }, 827 "ListPublicKeysRequest":{ 828 "type":"structure", 829 "members":{ 830 "StartTime":{"shape":"Date"}, 831 "EndTime":{"shape":"Date"}, 832 "NextToken":{"shape":"String"} 833 } 834 }, 835 "ListPublicKeysResponse":{ 836 "type":"structure", 837 "members":{ 838 "PublicKeyList":{"shape":"PublicKeyList"}, 839 "NextToken":{"shape":"String"} 840 } 841 }, 842 "ListTagsRequest":{ 843 "type":"structure", 844 "required":["ResourceIdList"], 845 "members":{ 846 "ResourceIdList":{"shape":"ResourceIdList"}, 847 "NextToken":{"shape":"String"} 848 } 849 }, 850 "ListTagsResponse":{ 851 "type":"structure", 852 "members":{ 853 "ResourceTagList":{"shape":"ResourceTagList"}, 854 "NextToken":{"shape":"String"} 855 } 856 }, 857 "ListTrailsRequest":{ 858 "type":"structure", 859 "members":{ 860 "NextToken":{"shape":"String"} 861 } 862 }, 863 "ListTrailsResponse":{ 864 "type":"structure", 865 "members":{ 866 "Trails":{"shape":"Trails"}, 867 "NextToken":{"shape":"String"} 868 } 869 }, 870 "LookupAttribute":{ 871 "type":"structure", 872 "required":[ 873 "AttributeKey", 874 "AttributeValue" 875 ], 876 "members":{ 877 "AttributeKey":{"shape":"LookupAttributeKey"}, 878 "AttributeValue":{"shape":"String"} 879 } 880 }, 881 "LookupAttributeKey":{ 882 "type":"string", 883 "enum":[ 884 "EventId", 885 "EventName", 886 "ReadOnly", 887 "Username", 888 "ResourceType", 889 "ResourceName", 890 "EventSource", 891 "AccessKeyId" 892 ] 893 }, 894 "LookupAttributesList":{ 895 "type":"list", 896 "member":{"shape":"LookupAttribute"} 897 }, 898 "LookupEventsRequest":{ 899 "type":"structure", 900 "members":{ 901 "LookupAttributes":{"shape":"LookupAttributesList"}, 902 "StartTime":{"shape":"Date"}, 903 "EndTime":{"shape":"Date"}, 904 "EventCategory":{"shape":"EventCategory"}, 905 "MaxResults":{"shape":"MaxResults"}, 906 "NextToken":{"shape":"NextToken"} 907 } 908 }, 909 "LookupEventsResponse":{ 910 "type":"structure", 911 "members":{ 912 "Events":{"shape":"EventsList"}, 913 "NextToken":{"shape":"NextToken"} 914 } 915 }, 916 "MaxResults":{ 917 "type":"integer", 918 "max":50, 919 "min":1 920 }, 921 "MaximumNumberOfTrailsExceededException":{ 922 "type":"structure", 923 "members":{ 924 }, 925 "exception":true 926 }, 927 "NextToken":{"type":"string"}, 928 "NotOrganizationMasterAccountException":{ 929 "type":"structure", 930 "members":{ 931 }, 932 "exception":true 933 }, 934 "OperationNotPermittedException":{ 935 "type":"structure", 936 "members":{ 937 }, 938 "exception":true 939 }, 940 "Operator":{ 941 "type":"list", 942 "member":{"shape":"OperatorValue"}, 943 "min":1 944 }, 945 "OperatorValue":{ 946 "type":"string", 947 "max":2048, 948 "min":1, 949 "pattern":".+" 950 }, 951 "OrganizationNotInAllFeaturesModeException":{ 952 "type":"structure", 953 "members":{ 954 }, 955 "exception":true 956 }, 957 "OrganizationsNotInUseException":{ 958 "type":"structure", 959 "members":{ 960 }, 961 "exception":true 962 }, 963 "PublicKey":{ 964 "type":"structure", 965 "members":{ 966 "Value":{"shape":"ByteBuffer"}, 967 "ValidityStartTime":{"shape":"Date"}, 968 "ValidityEndTime":{"shape":"Date"}, 969 "Fingerprint":{"shape":"String"} 970 } 971 }, 972 "PublicKeyList":{ 973 "type":"list", 974 "member":{"shape":"PublicKey"} 975 }, 976 "PutEventSelectorsRequest":{ 977 "type":"structure", 978 "required":["TrailName"], 979 "members":{ 980 "TrailName":{"shape":"String"}, 981 "EventSelectors":{"shape":"EventSelectors"}, 982 "AdvancedEventSelectors":{"shape":"AdvancedEventSelectors"} 983 } 984 }, 985 "PutEventSelectorsResponse":{ 986 "type":"structure", 987 "members":{ 988 "TrailARN":{"shape":"String"}, 989 "EventSelectors":{"shape":"EventSelectors"}, 990 "AdvancedEventSelectors":{"shape":"AdvancedEventSelectors"} 991 } 992 }, 993 "PutInsightSelectorsRequest":{ 994 "type":"structure", 995 "required":[ 996 "TrailName", 997 "InsightSelectors" 998 ], 999 "members":{ 1000 "TrailName":{"shape":"String"}, 1001 "InsightSelectors":{"shape":"InsightSelectors"} 1002 } 1003 }, 1004 "PutInsightSelectorsResponse":{ 1005 "type":"structure", 1006 "members":{ 1007 "TrailARN":{"shape":"String"}, 1008 "InsightSelectors":{"shape":"InsightSelectors"} 1009 } 1010 }, 1011 "ReadWriteType":{ 1012 "type":"string", 1013 "enum":[ 1014 "ReadOnly", 1015 "WriteOnly", 1016 "All" 1017 ] 1018 }, 1019 "RemoveTagsRequest":{ 1020 "type":"structure", 1021 "required":["ResourceId"], 1022 "members":{ 1023 "ResourceId":{"shape":"String"}, 1024 "TagsList":{"shape":"TagsList"} 1025 } 1026 }, 1027 "RemoveTagsResponse":{ 1028 "type":"structure", 1029 "members":{ 1030 } 1031 }, 1032 "Resource":{ 1033 "type":"structure", 1034 "members":{ 1035 "ResourceType":{"shape":"String"}, 1036 "ResourceName":{"shape":"String"} 1037 } 1038 }, 1039 "ResourceIdList":{ 1040 "type":"list", 1041 "member":{"shape":"String"} 1042 }, 1043 "ResourceList":{ 1044 "type":"list", 1045 "member":{"shape":"Resource"} 1046 }, 1047 "ResourceNotFoundException":{ 1048 "type":"structure", 1049 "members":{ 1050 }, 1051 "exception":true 1052 }, 1053 "ResourceTag":{ 1054 "type":"structure", 1055 "members":{ 1056 "ResourceId":{"shape":"String"}, 1057 "TagsList":{"shape":"TagsList"} 1058 } 1059 }, 1060 "ResourceTagList":{ 1061 "type":"list", 1062 "member":{"shape":"ResourceTag"} 1063 }, 1064 "ResourceTypeNotSupportedException":{ 1065 "type":"structure", 1066 "members":{ 1067 }, 1068 "exception":true 1069 }, 1070 "S3BucketDoesNotExistException":{ 1071 "type":"structure", 1072 "members":{ 1073 }, 1074 "exception":true 1075 }, 1076 "SelectorField":{ 1077 "type":"string", 1078 "max":1000, 1079 "min":1, 1080 "pattern":"[\\w|\\d|\\.|_]+" 1081 }, 1082 "SelectorName":{ 1083 "type":"string", 1084 "max":1000, 1085 "min":0, 1086 "pattern":".*" 1087 }, 1088 "StartLoggingRequest":{ 1089 "type":"structure", 1090 "required":["Name"], 1091 "members":{ 1092 "Name":{"shape":"String"} 1093 } 1094 }, 1095 "StartLoggingResponse":{ 1096 "type":"structure", 1097 "members":{ 1098 } 1099 }, 1100 "StopLoggingRequest":{ 1101 "type":"structure", 1102 "required":["Name"], 1103 "members":{ 1104 "Name":{"shape":"String"} 1105 } 1106 }, 1107 "StopLoggingResponse":{ 1108 "type":"structure", 1109 "members":{ 1110 } 1111 }, 1112 "String":{"type":"string"}, 1113 "Tag":{ 1114 "type":"structure", 1115 "required":["Key"], 1116 "members":{ 1117 "Key":{"shape":"String"}, 1118 "Value":{"shape":"String"} 1119 } 1120 }, 1121 "TagsLimitExceededException":{ 1122 "type":"structure", 1123 "members":{ 1124 }, 1125 "exception":true 1126 }, 1127 "TagsList":{ 1128 "type":"list", 1129 "member":{"shape":"Tag"} 1130 }, 1131 "Trail":{ 1132 "type":"structure", 1133 "members":{ 1134 "Name":{"shape":"String"}, 1135 "S3BucketName":{"shape":"String"}, 1136 "S3KeyPrefix":{"shape":"String"}, 1137 "SnsTopicName":{ 1138 "shape":"String", 1139 "deprecated":true 1140 }, 1141 "SnsTopicARN":{"shape":"String"}, 1142 "IncludeGlobalServiceEvents":{"shape":"Boolean"}, 1143 "IsMultiRegionTrail":{"shape":"Boolean"}, 1144 "HomeRegion":{"shape":"String"}, 1145 "TrailARN":{"shape":"String"}, 1146 "LogFileValidationEnabled":{"shape":"Boolean"}, 1147 "CloudWatchLogsLogGroupArn":{"shape":"String"}, 1148 "CloudWatchLogsRoleArn":{"shape":"String"}, 1149 "KmsKeyId":{"shape":"String"}, 1150 "HasCustomEventSelectors":{"shape":"Boolean"}, 1151 "HasInsightSelectors":{"shape":"Boolean"}, 1152 "IsOrganizationTrail":{"shape":"Boolean"} 1153 } 1154 }, 1155 "TrailAlreadyExistsException":{ 1156 "type":"structure", 1157 "members":{ 1158 }, 1159 "exception":true 1160 }, 1161 "TrailInfo":{ 1162 "type":"structure", 1163 "members":{ 1164 "TrailARN":{"shape":"String"}, 1165 "Name":{"shape":"String"}, 1166 "HomeRegion":{"shape":"String"} 1167 } 1168 }, 1169 "TrailList":{ 1170 "type":"list", 1171 "member":{"shape":"Trail"} 1172 }, 1173 "TrailNameList":{ 1174 "type":"list", 1175 "member":{"shape":"String"} 1176 }, 1177 "TrailNotFoundException":{ 1178 "type":"structure", 1179 "members":{ 1180 }, 1181 "exception":true 1182 }, 1183 "TrailNotProvidedException":{ 1184 "type":"structure", 1185 "members":{ 1186 }, 1187 "exception":true 1188 }, 1189 "Trails":{ 1190 "type":"list", 1191 "member":{"shape":"TrailInfo"} 1192 }, 1193 "UnsupportedOperationException":{ 1194 "type":"structure", 1195 "members":{ 1196 }, 1197 "exception":true 1198 }, 1199 "UpdateTrailRequest":{ 1200 "type":"structure", 1201 "required":["Name"], 1202 "members":{ 1203 "Name":{"shape":"String"}, 1204 "S3BucketName":{"shape":"String"}, 1205 "S3KeyPrefix":{"shape":"String"}, 1206 "SnsTopicName":{"shape":"String"}, 1207 "IncludeGlobalServiceEvents":{"shape":"Boolean"}, 1208 "IsMultiRegionTrail":{"shape":"Boolean"}, 1209 "EnableLogFileValidation":{"shape":"Boolean"}, 1210 "CloudWatchLogsLogGroupArn":{"shape":"String"}, 1211 "CloudWatchLogsRoleArn":{"shape":"String"}, 1212 "KmsKeyId":{"shape":"String"}, 1213 "IsOrganizationTrail":{"shape":"Boolean"} 1214 } 1215 }, 1216 "UpdateTrailResponse":{ 1217 "type":"structure", 1218 "members":{ 1219 "Name":{"shape":"String"}, 1220 "S3BucketName":{"shape":"String"}, 1221 "S3KeyPrefix":{"shape":"String"}, 1222 "SnsTopicName":{ 1223 "shape":"String", 1224 "deprecated":true 1225 }, 1226 "SnsTopicARN":{"shape":"String"}, 1227 "IncludeGlobalServiceEvents":{"shape":"Boolean"}, 1228 "IsMultiRegionTrail":{"shape":"Boolean"}, 1229 "TrailARN":{"shape":"String"}, 1230 "LogFileValidationEnabled":{"shape":"Boolean"}, 1231 "CloudWatchLogsLogGroupArn":{"shape":"String"}, 1232 "CloudWatchLogsRoleArn":{"shape":"String"}, 1233 "KmsKeyId":{"shape":"String"}, 1234 "IsOrganizationTrail":{"shape":"Boolean"} 1235 } 1236 } 1237 } 1238 }