github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/codeguru-reviewer/2019-09-19/api-2.json (about) 1 { 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2019-09-19", 5 "endpointPrefix":"codeguru-reviewer", 6 "jsonVersion":"1.1", 7 "protocol":"rest-json", 8 "serviceAbbreviation":"CodeGuruReviewer", 9 "serviceFullName":"Amazon CodeGuru Reviewer", 10 "serviceId":"CodeGuru Reviewer", 11 "signatureVersion":"v4", 12 "signingName":"codeguru-reviewer", 13 "uid":"codeguru-reviewer-2019-09-19" 14 }, 15 "operations":{ 16 "AssociateRepository":{ 17 "name":"AssociateRepository", 18 "http":{ 19 "method":"POST", 20 "requestUri":"/associations" 21 }, 22 "input":{"shape":"AssociateRepositoryRequest"}, 23 "output":{"shape":"AssociateRepositoryResponse"}, 24 "errors":[ 25 {"shape":"InternalServerException"}, 26 {"shape":"ValidationException"}, 27 {"shape":"AccessDeniedException"}, 28 {"shape":"ConflictException"}, 29 {"shape":"ThrottlingException"} 30 ] 31 }, 32 "CreateCodeReview":{ 33 "name":"CreateCodeReview", 34 "http":{ 35 "method":"POST", 36 "requestUri":"/codereviews" 37 }, 38 "input":{"shape":"CreateCodeReviewRequest"}, 39 "output":{"shape":"CreateCodeReviewResponse"}, 40 "errors":[ 41 {"shape":"ResourceNotFoundException"}, 42 {"shape":"InternalServerException"}, 43 {"shape":"ValidationException"}, 44 {"shape":"ConflictException"}, 45 {"shape":"AccessDeniedException"}, 46 {"shape":"ThrottlingException"} 47 ] 48 }, 49 "DescribeCodeReview":{ 50 "name":"DescribeCodeReview", 51 "http":{ 52 "method":"GET", 53 "requestUri":"/codereviews/{CodeReviewArn}" 54 }, 55 "input":{"shape":"DescribeCodeReviewRequest"}, 56 "output":{"shape":"DescribeCodeReviewResponse"}, 57 "errors":[ 58 {"shape":"ResourceNotFoundException"}, 59 {"shape":"InternalServerException"}, 60 {"shape":"ValidationException"}, 61 {"shape":"AccessDeniedException"}, 62 {"shape":"ThrottlingException"} 63 ] 64 }, 65 "DescribeRecommendationFeedback":{ 66 "name":"DescribeRecommendationFeedback", 67 "http":{ 68 "method":"GET", 69 "requestUri":"/feedback/{CodeReviewArn}" 70 }, 71 "input":{"shape":"DescribeRecommendationFeedbackRequest"}, 72 "output":{"shape":"DescribeRecommendationFeedbackResponse"}, 73 "errors":[ 74 {"shape":"ResourceNotFoundException"}, 75 {"shape":"InternalServerException"}, 76 {"shape":"ValidationException"}, 77 {"shape":"AccessDeniedException"}, 78 {"shape":"ThrottlingException"} 79 ] 80 }, 81 "DescribeRepositoryAssociation":{ 82 "name":"DescribeRepositoryAssociation", 83 "http":{ 84 "method":"GET", 85 "requestUri":"/associations/{AssociationArn}" 86 }, 87 "input":{"shape":"DescribeRepositoryAssociationRequest"}, 88 "output":{"shape":"DescribeRepositoryAssociationResponse"}, 89 "errors":[ 90 {"shape":"NotFoundException"}, 91 {"shape":"InternalServerException"}, 92 {"shape":"ValidationException"}, 93 {"shape":"AccessDeniedException"}, 94 {"shape":"ThrottlingException"} 95 ] 96 }, 97 "DisassociateRepository":{ 98 "name":"DisassociateRepository", 99 "http":{ 100 "method":"DELETE", 101 "requestUri":"/associations/{AssociationArn}" 102 }, 103 "input":{"shape":"DisassociateRepositoryRequest"}, 104 "output":{"shape":"DisassociateRepositoryResponse"}, 105 "errors":[ 106 {"shape":"NotFoundException"}, 107 {"shape":"InternalServerException"}, 108 {"shape":"ValidationException"}, 109 {"shape":"AccessDeniedException"}, 110 {"shape":"ConflictException"}, 111 {"shape":"ThrottlingException"} 112 ] 113 }, 114 "ListCodeReviews":{ 115 "name":"ListCodeReviews", 116 "http":{ 117 "method":"GET", 118 "requestUri":"/codereviews" 119 }, 120 "input":{"shape":"ListCodeReviewsRequest"}, 121 "output":{"shape":"ListCodeReviewsResponse"}, 122 "errors":[ 123 {"shape":"InternalServerException"}, 124 {"shape":"ValidationException"}, 125 {"shape":"ThrottlingException"}, 126 {"shape":"AccessDeniedException"} 127 ] 128 }, 129 "ListRecommendationFeedback":{ 130 "name":"ListRecommendationFeedback", 131 "http":{ 132 "method":"GET", 133 "requestUri":"/feedback/{CodeReviewArn}/RecommendationFeedback" 134 }, 135 "input":{"shape":"ListRecommendationFeedbackRequest"}, 136 "output":{"shape":"ListRecommendationFeedbackResponse"}, 137 "errors":[ 138 {"shape":"ResourceNotFoundException"}, 139 {"shape":"InternalServerException"}, 140 {"shape":"ValidationException"}, 141 {"shape":"AccessDeniedException"}, 142 {"shape":"ThrottlingException"} 143 ] 144 }, 145 "ListRecommendations":{ 146 "name":"ListRecommendations", 147 "http":{ 148 "method":"GET", 149 "requestUri":"/codereviews/{CodeReviewArn}/Recommendations" 150 }, 151 "input":{"shape":"ListRecommendationsRequest"}, 152 "output":{"shape":"ListRecommendationsResponse"}, 153 "errors":[ 154 {"shape":"ResourceNotFoundException"}, 155 {"shape":"InternalServerException"}, 156 {"shape":"ValidationException"}, 157 {"shape":"AccessDeniedException"}, 158 {"shape":"ThrottlingException"} 159 ] 160 }, 161 "ListRepositoryAssociations":{ 162 "name":"ListRepositoryAssociations", 163 "http":{ 164 "method":"GET", 165 "requestUri":"/associations" 166 }, 167 "input":{"shape":"ListRepositoryAssociationsRequest"}, 168 "output":{"shape":"ListRepositoryAssociationsResponse"}, 169 "errors":[ 170 {"shape":"InternalServerException"}, 171 {"shape":"ValidationException"}, 172 {"shape":"ThrottlingException"} 173 ] 174 }, 175 "ListTagsForResource":{ 176 "name":"ListTagsForResource", 177 "http":{ 178 "method":"GET", 179 "requestUri":"/tags/{resourceArn}" 180 }, 181 "input":{"shape":"ListTagsForResourceRequest"}, 182 "output":{"shape":"ListTagsForResourceResponse"}, 183 "errors":[ 184 {"shape":"InternalServerException"}, 185 {"shape":"ValidationException"}, 186 {"shape":"ResourceNotFoundException"} 187 ] 188 }, 189 "PutRecommendationFeedback":{ 190 "name":"PutRecommendationFeedback", 191 "http":{ 192 "method":"PUT", 193 "requestUri":"/feedback" 194 }, 195 "input":{"shape":"PutRecommendationFeedbackRequest"}, 196 "output":{"shape":"PutRecommendationFeedbackResponse"}, 197 "errors":[ 198 {"shape":"ResourceNotFoundException"}, 199 {"shape":"InternalServerException"}, 200 {"shape":"ValidationException"}, 201 {"shape":"AccessDeniedException"}, 202 {"shape":"ThrottlingException"} 203 ] 204 }, 205 "TagResource":{ 206 "name":"TagResource", 207 "http":{ 208 "method":"POST", 209 "requestUri":"/tags/{resourceArn}" 210 }, 211 "input":{"shape":"TagResourceRequest"}, 212 "output":{"shape":"TagResourceResponse"}, 213 "errors":[ 214 {"shape":"InternalServerException"}, 215 {"shape":"ValidationException"}, 216 {"shape":"ResourceNotFoundException"} 217 ] 218 }, 219 "UntagResource":{ 220 "name":"UntagResource", 221 "http":{ 222 "method":"DELETE", 223 "requestUri":"/tags/{resourceArn}" 224 }, 225 "input":{"shape":"UntagResourceRequest"}, 226 "output":{"shape":"UntagResourceResponse"}, 227 "errors":[ 228 {"shape":"InternalServerException"}, 229 {"shape":"ValidationException"}, 230 {"shape":"ResourceNotFoundException"} 231 ] 232 } 233 }, 234 "shapes":{ 235 "AccessDeniedException":{ 236 "type":"structure", 237 "members":{ 238 "Message":{"shape":"ErrorMessage"} 239 }, 240 "error":{"httpStatusCode":403}, 241 "exception":true 242 }, 243 "AnalysisType":{ 244 "type":"string", 245 "enum":[ 246 "Security", 247 "CodeQuality" 248 ] 249 }, 250 "AnalysisTypes":{ 251 "type":"list", 252 "member":{"shape":"AnalysisType"} 253 }, 254 "Arn":{ 255 "type":"string", 256 "max":1600, 257 "min":1, 258 "pattern":"^arn:aws[^:\\s]*:codeguru-reviewer:[^:\\s]+:[\\d]{12}:[a-z-]+:[\\w-]+$" 259 }, 260 "AssociateRepositoryRequest":{ 261 "type":"structure", 262 "required":["Repository"], 263 "members":{ 264 "Repository":{"shape":"Repository"}, 265 "ClientRequestToken":{ 266 "shape":"ClientRequestToken", 267 "idempotencyToken":true 268 }, 269 "Tags":{"shape":"TagMap"}, 270 "KMSKeyDetails":{"shape":"KMSKeyDetails"} 271 } 272 }, 273 "AssociateRepositoryResponse":{ 274 "type":"structure", 275 "members":{ 276 "RepositoryAssociation":{"shape":"RepositoryAssociation"}, 277 "Tags":{"shape":"TagMap"} 278 } 279 }, 280 "AssociationArn":{ 281 "type":"string", 282 "max":1600, 283 "min":1, 284 "pattern":"^arn:aws[^:\\s]*:codeguru-reviewer:[^:\\s]+:[\\d]{12}:association:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" 285 }, 286 "AssociationId":{ 287 "type":"string", 288 "max":64, 289 "min":1 290 }, 291 "BranchDiffSourceCodeType":{ 292 "type":"structure", 293 "required":[ 294 "SourceBranchName", 295 "DestinationBranchName" 296 ], 297 "members":{ 298 "SourceBranchName":{"shape":"BranchName"}, 299 "DestinationBranchName":{"shape":"BranchName"} 300 } 301 }, 302 "BranchName":{ 303 "type":"string", 304 "max":256, 305 "min":1 306 }, 307 "BuildArtifactsObjectKey":{ 308 "type":"string", 309 "max":1024, 310 "min":1, 311 "pattern":"^\\S(.*\\S)?$" 312 }, 313 "ClientRequestToken":{ 314 "type":"string", 315 "max":64, 316 "min":1, 317 "pattern":"^[\\w-]+$" 318 }, 319 "CodeArtifacts":{ 320 "type":"structure", 321 "required":["SourceCodeArtifactsObjectKey"], 322 "members":{ 323 "SourceCodeArtifactsObjectKey":{"shape":"SourceCodeArtifactsObjectKey"}, 324 "BuildArtifactsObjectKey":{"shape":"BuildArtifactsObjectKey"} 325 } 326 }, 327 "CodeCommitRepository":{ 328 "type":"structure", 329 "required":["Name"], 330 "members":{ 331 "Name":{"shape":"Name"} 332 } 333 }, 334 "CodeReview":{ 335 "type":"structure", 336 "members":{ 337 "Name":{"shape":"Name"}, 338 "CodeReviewArn":{"shape":"Arn"}, 339 "RepositoryName":{"shape":"Name"}, 340 "Owner":{"shape":"Owner"}, 341 "ProviderType":{"shape":"ProviderType"}, 342 "State":{"shape":"JobState"}, 343 "StateReason":{"shape":"StateReason"}, 344 "CreatedTimeStamp":{"shape":"TimeStamp"}, 345 "LastUpdatedTimeStamp":{"shape":"TimeStamp"}, 346 "Type":{"shape":"Type"}, 347 "PullRequestId":{"shape":"PullRequestId"}, 348 "SourceCodeType":{"shape":"SourceCodeType"}, 349 "AssociationArn":{"shape":"AssociationArn"}, 350 "Metrics":{"shape":"Metrics"}, 351 "AnalysisTypes":{"shape":"AnalysisTypes"} 352 } 353 }, 354 "CodeReviewName":{ 355 "type":"string", 356 "max":100, 357 "min":1, 358 "pattern":"[a-zA-Z0-9-_]*" 359 }, 360 "CodeReviewSummaries":{ 361 "type":"list", 362 "member":{"shape":"CodeReviewSummary"} 363 }, 364 "CodeReviewSummary":{ 365 "type":"structure", 366 "members":{ 367 "Name":{"shape":"Name"}, 368 "CodeReviewArn":{"shape":"Arn"}, 369 "RepositoryName":{"shape":"Name"}, 370 "Owner":{"shape":"Owner"}, 371 "ProviderType":{"shape":"ProviderType"}, 372 "State":{"shape":"JobState"}, 373 "CreatedTimeStamp":{"shape":"TimeStamp"}, 374 "LastUpdatedTimeStamp":{"shape":"TimeStamp"}, 375 "Type":{"shape":"Type"}, 376 "PullRequestId":{"shape":"PullRequestId"}, 377 "MetricsSummary":{"shape":"MetricsSummary"}, 378 "SourceCodeType":{"shape":"SourceCodeType"} 379 } 380 }, 381 "CodeReviewType":{ 382 "type":"structure", 383 "required":["RepositoryAnalysis"], 384 "members":{ 385 "RepositoryAnalysis":{"shape":"RepositoryAnalysis"}, 386 "AnalysisTypes":{"shape":"AnalysisTypes"} 387 } 388 }, 389 "CommitDiffSourceCodeType":{ 390 "type":"structure", 391 "members":{ 392 "SourceCommit":{"shape":"CommitId"}, 393 "DestinationCommit":{"shape":"CommitId"}, 394 "MergeBaseCommit":{"shape":"CommitId"} 395 } 396 }, 397 "CommitId":{ 398 "type":"string", 399 "max":64, 400 "min":6 401 }, 402 "ConflictException":{ 403 "type":"structure", 404 "members":{ 405 "Message":{"shape":"ErrorMessage"} 406 }, 407 "error":{"httpStatusCode":409}, 408 "exception":true 409 }, 410 "ConnectionArn":{ 411 "type":"string", 412 "max":256, 413 "min":0, 414 "pattern":"arn:aws(-[\\w]+)*:.+:.+:[0-9]{12}:.+" 415 }, 416 "CreateCodeReviewRequest":{ 417 "type":"structure", 418 "required":[ 419 "Name", 420 "RepositoryAssociationArn", 421 "Type" 422 ], 423 "members":{ 424 "Name":{"shape":"CodeReviewName"}, 425 "RepositoryAssociationArn":{"shape":"AssociationArn"}, 426 "Type":{"shape":"CodeReviewType"}, 427 "ClientRequestToken":{ 428 "shape":"ClientRequestToken", 429 "idempotencyToken":true 430 } 431 } 432 }, 433 "CreateCodeReviewResponse":{ 434 "type":"structure", 435 "members":{ 436 "CodeReview":{"shape":"CodeReview"} 437 } 438 }, 439 "DescribeCodeReviewRequest":{ 440 "type":"structure", 441 "required":["CodeReviewArn"], 442 "members":{ 443 "CodeReviewArn":{ 444 "shape":"Arn", 445 "location":"uri", 446 "locationName":"CodeReviewArn" 447 } 448 } 449 }, 450 "DescribeCodeReviewResponse":{ 451 "type":"structure", 452 "members":{ 453 "CodeReview":{"shape":"CodeReview"} 454 } 455 }, 456 "DescribeRecommendationFeedbackRequest":{ 457 "type":"structure", 458 "required":[ 459 "CodeReviewArn", 460 "RecommendationId" 461 ], 462 "members":{ 463 "CodeReviewArn":{ 464 "shape":"Arn", 465 "location":"uri", 466 "locationName":"CodeReviewArn" 467 }, 468 "RecommendationId":{ 469 "shape":"RecommendationId", 470 "location":"querystring", 471 "locationName":"RecommendationId" 472 }, 473 "UserId":{ 474 "shape":"UserId", 475 "location":"querystring", 476 "locationName":"UserId" 477 } 478 } 479 }, 480 "DescribeRecommendationFeedbackResponse":{ 481 "type":"structure", 482 "members":{ 483 "RecommendationFeedback":{"shape":"RecommendationFeedback"} 484 } 485 }, 486 "DescribeRepositoryAssociationRequest":{ 487 "type":"structure", 488 "required":["AssociationArn"], 489 "members":{ 490 "AssociationArn":{ 491 "shape":"AssociationArn", 492 "location":"uri", 493 "locationName":"AssociationArn" 494 } 495 } 496 }, 497 "DescribeRepositoryAssociationResponse":{ 498 "type":"structure", 499 "members":{ 500 "RepositoryAssociation":{"shape":"RepositoryAssociation"}, 501 "Tags":{"shape":"TagMap"} 502 } 503 }, 504 "DisassociateRepositoryRequest":{ 505 "type":"structure", 506 "required":["AssociationArn"], 507 "members":{ 508 "AssociationArn":{ 509 "shape":"AssociationArn", 510 "location":"uri", 511 "locationName":"AssociationArn" 512 } 513 } 514 }, 515 "DisassociateRepositoryResponse":{ 516 "type":"structure", 517 "members":{ 518 "RepositoryAssociation":{"shape":"RepositoryAssociation"}, 519 "Tags":{"shape":"TagMap"} 520 } 521 }, 522 "EncryptionOption":{ 523 "type":"string", 524 "enum":[ 525 "AWS_OWNED_CMK", 526 "CUSTOMER_MANAGED_CMK" 527 ] 528 }, 529 "ErrorMessage":{"type":"string"}, 530 "EventInfo":{ 531 "type":"structure", 532 "members":{ 533 "Name":{"shape":"EventName"}, 534 "State":{"shape":"EventState"} 535 } 536 }, 537 "EventName":{ 538 "type":"string", 539 "max":32, 540 "min":1, 541 "pattern":"^[ \\-A-Z_a-z]+$" 542 }, 543 "EventState":{ 544 "type":"string", 545 "max":32, 546 "min":1, 547 "pattern":"^[ \\-A-Z_a-z]+$" 548 }, 549 "FilePath":{ 550 "type":"string", 551 "max":1024, 552 "min":1 553 }, 554 "FindingsCount":{"type":"long"}, 555 "InternalServerException":{ 556 "type":"structure", 557 "members":{ 558 "Message":{"shape":"ErrorMessage"} 559 }, 560 "error":{"httpStatusCode":500}, 561 "exception":true, 562 "fault":true 563 }, 564 "JobState":{ 565 "type":"string", 566 "enum":[ 567 "Completed", 568 "Pending", 569 "Failed", 570 "Deleting" 571 ] 572 }, 573 "JobStates":{ 574 "type":"list", 575 "member":{"shape":"JobState"}, 576 "max":3, 577 "min":1 578 }, 579 "KMSKeyDetails":{ 580 "type":"structure", 581 "members":{ 582 "KMSKeyId":{"shape":"KMSKeyId"}, 583 "EncryptionOption":{"shape":"EncryptionOption"} 584 } 585 }, 586 "KMSKeyId":{ 587 "type":"string", 588 "max":2048, 589 "min":1, 590 "pattern":"[a-zA-Z0-9-]+" 591 }, 592 "LineNumber":{"type":"integer"}, 593 "ListCodeReviewsMaxResults":{ 594 "type":"integer", 595 "max":100, 596 "min":1 597 }, 598 "ListCodeReviewsRequest":{ 599 "type":"structure", 600 "required":["Type"], 601 "members":{ 602 "ProviderTypes":{ 603 "shape":"ProviderTypes", 604 "location":"querystring", 605 "locationName":"ProviderTypes" 606 }, 607 "States":{ 608 "shape":"JobStates", 609 "location":"querystring", 610 "locationName":"States" 611 }, 612 "RepositoryNames":{ 613 "shape":"RepositoryNames", 614 "location":"querystring", 615 "locationName":"RepositoryNames" 616 }, 617 "Type":{ 618 "shape":"Type", 619 "location":"querystring", 620 "locationName":"Type" 621 }, 622 "MaxResults":{ 623 "shape":"ListCodeReviewsMaxResults", 624 "location":"querystring", 625 "locationName":"MaxResults" 626 }, 627 "NextToken":{ 628 "shape":"NextToken", 629 "location":"querystring", 630 "locationName":"NextToken" 631 } 632 } 633 }, 634 "ListCodeReviewsResponse":{ 635 "type":"structure", 636 "members":{ 637 "CodeReviewSummaries":{"shape":"CodeReviewSummaries"}, 638 "NextToken":{"shape":"NextToken"} 639 } 640 }, 641 "ListRecommendationFeedbackRequest":{ 642 "type":"structure", 643 "required":["CodeReviewArn"], 644 "members":{ 645 "NextToken":{ 646 "shape":"NextToken", 647 "location":"querystring", 648 "locationName":"NextToken" 649 }, 650 "MaxResults":{ 651 "shape":"MaxResults", 652 "location":"querystring", 653 "locationName":"MaxResults" 654 }, 655 "CodeReviewArn":{ 656 "shape":"Arn", 657 "location":"uri", 658 "locationName":"CodeReviewArn" 659 }, 660 "UserIds":{ 661 "shape":"UserIds", 662 "location":"querystring", 663 "locationName":"UserIds" 664 }, 665 "RecommendationIds":{ 666 "shape":"RecommendationIds", 667 "location":"querystring", 668 "locationName":"RecommendationIds" 669 } 670 } 671 }, 672 "ListRecommendationFeedbackResponse":{ 673 "type":"structure", 674 "members":{ 675 "RecommendationFeedbackSummaries":{"shape":"RecommendationFeedbackSummaries"}, 676 "NextToken":{"shape":"NextToken"} 677 } 678 }, 679 "ListRecommendationsRequest":{ 680 "type":"structure", 681 "required":["CodeReviewArn"], 682 "members":{ 683 "NextToken":{ 684 "shape":"NextToken", 685 "location":"querystring", 686 "locationName":"NextToken" 687 }, 688 "MaxResults":{ 689 "shape":"MaxResults", 690 "location":"querystring", 691 "locationName":"MaxResults" 692 }, 693 "CodeReviewArn":{ 694 "shape":"Arn", 695 "location":"uri", 696 "locationName":"CodeReviewArn" 697 } 698 } 699 }, 700 "ListRecommendationsResponse":{ 701 "type":"structure", 702 "members":{ 703 "RecommendationSummaries":{"shape":"RecommendationSummaries"}, 704 "NextToken":{"shape":"NextToken"} 705 } 706 }, 707 "ListRepositoryAssociationsRequest":{ 708 "type":"structure", 709 "members":{ 710 "ProviderTypes":{ 711 "shape":"ProviderTypes", 712 "location":"querystring", 713 "locationName":"ProviderType" 714 }, 715 "States":{ 716 "shape":"RepositoryAssociationStates", 717 "location":"querystring", 718 "locationName":"State" 719 }, 720 "Names":{ 721 "shape":"Names", 722 "location":"querystring", 723 "locationName":"Name" 724 }, 725 "Owners":{ 726 "shape":"Owners", 727 "location":"querystring", 728 "locationName":"Owner" 729 }, 730 "MaxResults":{ 731 "shape":"MaxResults", 732 "location":"querystring", 733 "locationName":"MaxResults" 734 }, 735 "NextToken":{ 736 "shape":"NextToken", 737 "location":"querystring", 738 "locationName":"NextToken" 739 } 740 } 741 }, 742 "ListRepositoryAssociationsResponse":{ 743 "type":"structure", 744 "members":{ 745 "RepositoryAssociationSummaries":{"shape":"RepositoryAssociationSummaries"}, 746 "NextToken":{"shape":"NextToken"} 747 } 748 }, 749 "ListTagsForResourceRequest":{ 750 "type":"structure", 751 "required":["resourceArn"], 752 "members":{ 753 "resourceArn":{ 754 "shape":"AssociationArn", 755 "location":"uri", 756 "locationName":"resourceArn" 757 } 758 } 759 }, 760 "ListTagsForResourceResponse":{ 761 "type":"structure", 762 "members":{ 763 "Tags":{"shape":"TagMap"} 764 } 765 }, 766 "LongDescription":{ 767 "type":"string", 768 "max":1000, 769 "min":1, 770 "pattern":"^\\S(.*\\S)?$" 771 }, 772 "MaxResults":{ 773 "type":"integer", 774 "max":100, 775 "min":1 776 }, 777 "MeteredLinesOfCodeCount":{"type":"long"}, 778 "Metrics":{ 779 "type":"structure", 780 "members":{ 781 "MeteredLinesOfCodeCount":{"shape":"MeteredLinesOfCodeCount"}, 782 "FindingsCount":{"shape":"FindingsCount"} 783 } 784 }, 785 "MetricsSummary":{ 786 "type":"structure", 787 "members":{ 788 "MeteredLinesOfCodeCount":{"shape":"MeteredLinesOfCodeCount"}, 789 "FindingsCount":{"shape":"FindingsCount"} 790 } 791 }, 792 "Name":{ 793 "type":"string", 794 "max":100, 795 "min":1, 796 "pattern":"^\\S[\\w.-]*$" 797 }, 798 "Names":{ 799 "type":"list", 800 "member":{"shape":"Name"}, 801 "max":3, 802 "min":1 803 }, 804 "NextToken":{ 805 "type":"string", 806 "max":2048, 807 "min":1 808 }, 809 "NotFoundException":{ 810 "type":"structure", 811 "members":{ 812 "Message":{"shape":"ErrorMessage"} 813 }, 814 "error":{"httpStatusCode":404}, 815 "exception":true 816 }, 817 "Owner":{ 818 "type":"string", 819 "max":100, 820 "min":1, 821 "pattern":"^\\S(.*\\S)?$" 822 }, 823 "Owners":{ 824 "type":"list", 825 "member":{"shape":"Owner"}, 826 "max":3, 827 "min":1 828 }, 829 "ProviderType":{ 830 "type":"string", 831 "enum":[ 832 "CodeCommit", 833 "GitHub", 834 "Bitbucket", 835 "GitHubEnterpriseServer", 836 "S3Bucket" 837 ] 838 }, 839 "ProviderTypes":{ 840 "type":"list", 841 "member":{"shape":"ProviderType"}, 842 "max":3, 843 "min":1 844 }, 845 "PullRequestId":{ 846 "type":"string", 847 "max":64, 848 "min":1 849 }, 850 "PutRecommendationFeedbackRequest":{ 851 "type":"structure", 852 "required":[ 853 "CodeReviewArn", 854 "RecommendationId", 855 "Reactions" 856 ], 857 "members":{ 858 "CodeReviewArn":{"shape":"Arn"}, 859 "RecommendationId":{"shape":"RecommendationId"}, 860 "Reactions":{"shape":"Reactions"} 861 } 862 }, 863 "PutRecommendationFeedbackResponse":{ 864 "type":"structure", 865 "members":{ 866 } 867 }, 868 "Reaction":{ 869 "type":"string", 870 "enum":[ 871 "ThumbsUp", 872 "ThumbsDown" 873 ] 874 }, 875 "Reactions":{ 876 "type":"list", 877 "member":{"shape":"Reaction"}, 878 "max":1, 879 "min":0 880 }, 881 "RecommendationCategory":{ 882 "type":"string", 883 "enum":[ 884 "AWSBestPractices", 885 "AWSCloudFormationIssues", 886 "DuplicateCode", 887 "CodeMaintenanceIssues", 888 "ConcurrencyIssues", 889 "InputValidations", 890 "PythonBestPractices", 891 "JavaBestPractices", 892 "ResourceLeaks", 893 "SecurityIssues", 894 "CodeInconsistencies" 895 ] 896 }, 897 "RecommendationFeedback":{ 898 "type":"structure", 899 "members":{ 900 "CodeReviewArn":{"shape":"Arn"}, 901 "RecommendationId":{"shape":"RecommendationId"}, 902 "Reactions":{"shape":"Reactions"}, 903 "UserId":{"shape":"UserId"}, 904 "CreatedTimeStamp":{"shape":"TimeStamp"}, 905 "LastUpdatedTimeStamp":{"shape":"TimeStamp"} 906 } 907 }, 908 "RecommendationFeedbackSummaries":{ 909 "type":"list", 910 "member":{"shape":"RecommendationFeedbackSummary"} 911 }, 912 "RecommendationFeedbackSummary":{ 913 "type":"structure", 914 "members":{ 915 "RecommendationId":{"shape":"RecommendationId"}, 916 "Reactions":{"shape":"Reactions"}, 917 "UserId":{"shape":"UserId"} 918 } 919 }, 920 "RecommendationId":{ 921 "type":"string", 922 "max":64, 923 "min":1 924 }, 925 "RecommendationIds":{ 926 "type":"list", 927 "member":{"shape":"RecommendationId"}, 928 "max":100, 929 "min":1 930 }, 931 "RecommendationSummaries":{ 932 "type":"list", 933 "member":{"shape":"RecommendationSummary"} 934 }, 935 "RecommendationSummary":{ 936 "type":"structure", 937 "members":{ 938 "FilePath":{"shape":"FilePath"}, 939 "RecommendationId":{"shape":"RecommendationId"}, 940 "StartLine":{"shape":"LineNumber"}, 941 "EndLine":{"shape":"LineNumber"}, 942 "Description":{"shape":"Text"}, 943 "RecommendationCategory":{"shape":"RecommendationCategory"}, 944 "RuleMetadata":{"shape":"RuleMetadata"}, 945 "Severity":{"shape":"Severity"} 946 } 947 }, 948 "Repository":{ 949 "type":"structure", 950 "members":{ 951 "CodeCommit":{"shape":"CodeCommitRepository"}, 952 "Bitbucket":{"shape":"ThirdPartySourceRepository"}, 953 "GitHubEnterpriseServer":{"shape":"ThirdPartySourceRepository"}, 954 "S3Bucket":{"shape":"S3Repository"} 955 } 956 }, 957 "RepositoryAnalysis":{ 958 "type":"structure", 959 "members":{ 960 "RepositoryHead":{"shape":"RepositoryHeadSourceCodeType"}, 961 "SourceCodeType":{"shape":"SourceCodeType"} 962 } 963 }, 964 "RepositoryAssociation":{ 965 "type":"structure", 966 "members":{ 967 "AssociationId":{"shape":"AssociationId"}, 968 "AssociationArn":{"shape":"Arn"}, 969 "ConnectionArn":{"shape":"ConnectionArn"}, 970 "Name":{"shape":"Name"}, 971 "Owner":{"shape":"Owner"}, 972 "ProviderType":{"shape":"ProviderType"}, 973 "State":{"shape":"RepositoryAssociationState"}, 974 "StateReason":{"shape":"StateReason"}, 975 "LastUpdatedTimeStamp":{"shape":"TimeStamp"}, 976 "CreatedTimeStamp":{"shape":"TimeStamp"}, 977 "KMSKeyDetails":{"shape":"KMSKeyDetails"}, 978 "S3RepositoryDetails":{"shape":"S3RepositoryDetails"} 979 } 980 }, 981 "RepositoryAssociationState":{ 982 "type":"string", 983 "enum":[ 984 "Associated", 985 "Associating", 986 "Failed", 987 "Disassociating", 988 "Disassociated" 989 ] 990 }, 991 "RepositoryAssociationStates":{ 992 "type":"list", 993 "member":{"shape":"RepositoryAssociationState"}, 994 "max":5, 995 "min":1 996 }, 997 "RepositoryAssociationSummaries":{ 998 "type":"list", 999 "member":{"shape":"RepositoryAssociationSummary"} 1000 }, 1001 "RepositoryAssociationSummary":{ 1002 "type":"structure", 1003 "members":{ 1004 "AssociationArn":{"shape":"Arn"}, 1005 "ConnectionArn":{"shape":"ConnectionArn"}, 1006 "LastUpdatedTimeStamp":{"shape":"TimeStamp"}, 1007 "AssociationId":{"shape":"AssociationId"}, 1008 "Name":{"shape":"Name"}, 1009 "Owner":{"shape":"Owner"}, 1010 "ProviderType":{"shape":"ProviderType"}, 1011 "State":{"shape":"RepositoryAssociationState"} 1012 } 1013 }, 1014 "RepositoryHeadSourceCodeType":{ 1015 "type":"structure", 1016 "required":["BranchName"], 1017 "members":{ 1018 "BranchName":{"shape":"BranchName"} 1019 } 1020 }, 1021 "RepositoryNames":{ 1022 "type":"list", 1023 "member":{"shape":"Name"}, 1024 "max":100, 1025 "min":1 1026 }, 1027 "RequestId":{ 1028 "type":"string", 1029 "max":64, 1030 "min":1 1031 }, 1032 "RequestMetadata":{ 1033 "type":"structure", 1034 "members":{ 1035 "RequestId":{"shape":"RequestId"}, 1036 "Requester":{"shape":"Requester"}, 1037 "EventInfo":{"shape":"EventInfo"}, 1038 "VendorName":{"shape":"VendorName"} 1039 } 1040 }, 1041 "Requester":{ 1042 "type":"string", 1043 "max":100, 1044 "min":1, 1045 "pattern":"^\\S(.*\\S)?$" 1046 }, 1047 "ResourceNotFoundException":{ 1048 "type":"structure", 1049 "members":{ 1050 "Message":{"shape":"ErrorMessage"} 1051 }, 1052 "error":{"httpStatusCode":404}, 1053 "exception":true 1054 }, 1055 "RuleId":{ 1056 "type":"string", 1057 "max":64, 1058 "min":1, 1059 "pattern":"^\\S+\\/[a-zA-Z0-9-]+@v\\d+\\.\\d+$" 1060 }, 1061 "RuleMetadata":{ 1062 "type":"structure", 1063 "members":{ 1064 "RuleId":{"shape":"RuleId"}, 1065 "RuleName":{"shape":"RuleName"}, 1066 "ShortDescription":{"shape":"ShortDescription"}, 1067 "LongDescription":{"shape":"LongDescription"}, 1068 "RuleTags":{"shape":"RuleTags"} 1069 } 1070 }, 1071 "RuleName":{ 1072 "type":"string", 1073 "max":100, 1074 "min":1, 1075 "pattern":"^\\S(.*\\S)?$" 1076 }, 1077 "RuleTag":{ 1078 "type":"string", 1079 "max":50, 1080 "min":1, 1081 "pattern":"^\\S(.*\\S)?$" 1082 }, 1083 "RuleTags":{ 1084 "type":"list", 1085 "member":{"shape":"RuleTag"}, 1086 "max":20, 1087 "min":1 1088 }, 1089 "S3BucketName":{ 1090 "type":"string", 1091 "max":63, 1092 "min":3, 1093 "pattern":"^\\S(.*\\S)?$" 1094 }, 1095 "S3BucketRepository":{ 1096 "type":"structure", 1097 "required":["Name"], 1098 "members":{ 1099 "Name":{"shape":"Name"}, 1100 "Details":{"shape":"S3RepositoryDetails"} 1101 } 1102 }, 1103 "S3Repository":{ 1104 "type":"structure", 1105 "required":[ 1106 "Name", 1107 "BucketName" 1108 ], 1109 "members":{ 1110 "Name":{"shape":"Name"}, 1111 "BucketName":{"shape":"S3BucketName"} 1112 } 1113 }, 1114 "S3RepositoryDetails":{ 1115 "type":"structure", 1116 "members":{ 1117 "BucketName":{"shape":"S3BucketName"}, 1118 "CodeArtifacts":{"shape":"CodeArtifacts"} 1119 } 1120 }, 1121 "Severity":{ 1122 "type":"string", 1123 "enum":[ 1124 "Info", 1125 "Low", 1126 "Medium", 1127 "High", 1128 "Critical" 1129 ] 1130 }, 1131 "ShortDescription":{ 1132 "type":"string", 1133 "max":200, 1134 "min":1, 1135 "pattern":"^\\S(.*\\S)?$" 1136 }, 1137 "SourceCodeArtifactsObjectKey":{ 1138 "type":"string", 1139 "max":1024, 1140 "min":1, 1141 "pattern":"^\\S(.*\\S)?$" 1142 }, 1143 "SourceCodeType":{ 1144 "type":"structure", 1145 "members":{ 1146 "CommitDiff":{"shape":"CommitDiffSourceCodeType"}, 1147 "RepositoryHead":{"shape":"RepositoryHeadSourceCodeType"}, 1148 "BranchDiff":{"shape":"BranchDiffSourceCodeType"}, 1149 "S3BucketRepository":{"shape":"S3BucketRepository"}, 1150 "RequestMetadata":{"shape":"RequestMetadata"} 1151 } 1152 }, 1153 "StateReason":{ 1154 "type":"string", 1155 "max":256, 1156 "min":0 1157 }, 1158 "TagKey":{ 1159 "type":"string", 1160 "max":128, 1161 "min":1 1162 }, 1163 "TagKeyList":{ 1164 "type":"list", 1165 "member":{"shape":"TagKey"}, 1166 "max":50, 1167 "min":1 1168 }, 1169 "TagMap":{ 1170 "type":"map", 1171 "key":{"shape":"TagKey"}, 1172 "value":{"shape":"TagValue"}, 1173 "max":50, 1174 "min":1 1175 }, 1176 "TagResourceRequest":{ 1177 "type":"structure", 1178 "required":[ 1179 "resourceArn", 1180 "Tags" 1181 ], 1182 "members":{ 1183 "resourceArn":{ 1184 "shape":"AssociationArn", 1185 "location":"uri", 1186 "locationName":"resourceArn" 1187 }, 1188 "Tags":{"shape":"TagMap"} 1189 } 1190 }, 1191 "TagResourceResponse":{ 1192 "type":"structure", 1193 "members":{ 1194 } 1195 }, 1196 "TagValue":{ 1197 "type":"string", 1198 "max":256 1199 }, 1200 "Text":{ 1201 "type":"string", 1202 "max":2048, 1203 "min":1 1204 }, 1205 "ThirdPartySourceRepository":{ 1206 "type":"structure", 1207 "required":[ 1208 "Name", 1209 "ConnectionArn", 1210 "Owner" 1211 ], 1212 "members":{ 1213 "Name":{"shape":"Name"}, 1214 "ConnectionArn":{"shape":"ConnectionArn"}, 1215 "Owner":{"shape":"Owner"} 1216 } 1217 }, 1218 "ThrottlingException":{ 1219 "type":"structure", 1220 "members":{ 1221 "Message":{"shape":"ErrorMessage"} 1222 }, 1223 "error":{"httpStatusCode":429}, 1224 "exception":true 1225 }, 1226 "TimeStamp":{"type":"timestamp"}, 1227 "Type":{ 1228 "type":"string", 1229 "enum":[ 1230 "PullRequest", 1231 "RepositoryAnalysis" 1232 ] 1233 }, 1234 "UntagResourceRequest":{ 1235 "type":"structure", 1236 "required":[ 1237 "resourceArn", 1238 "TagKeys" 1239 ], 1240 "members":{ 1241 "resourceArn":{ 1242 "shape":"AssociationArn", 1243 "location":"uri", 1244 "locationName":"resourceArn" 1245 }, 1246 "TagKeys":{ 1247 "shape":"TagKeyList", 1248 "location":"querystring", 1249 "locationName":"tagKeys" 1250 } 1251 } 1252 }, 1253 "UntagResourceResponse":{ 1254 "type":"structure", 1255 "members":{ 1256 } 1257 }, 1258 "UserId":{ 1259 "type":"string", 1260 "max":256, 1261 "min":1 1262 }, 1263 "UserIds":{ 1264 "type":"list", 1265 "member":{"shape":"UserId"}, 1266 "max":100, 1267 "min":1 1268 }, 1269 "ValidationException":{ 1270 "type":"structure", 1271 "members":{ 1272 "Message":{"shape":"ErrorMessage"} 1273 }, 1274 "error":{"httpStatusCode":400}, 1275 "exception":true 1276 }, 1277 "VendorName":{ 1278 "type":"string", 1279 "enum":[ 1280 "GitHub", 1281 "GitLab", 1282 "NativeS3" 1283 ] 1284 } 1285 } 1286 }