codepipeline-2015-07-09.min.json (24407B)
1 { 2 "version": "2.0", 3 "metadata": { 4 "apiVersion": "2015-07-09", 5 "endpointPrefix": "codepipeline", 6 "jsonVersion": "1.1", 7 "protocol": "json", 8 "serviceAbbreviation": "CodePipeline", 9 "serviceFullName": "AWS CodePipeline", 10 "signatureVersion": "v4", 11 "targetPrefix": "CodePipeline_20150709" 12 }, 13 "operations": { 14 "AcknowledgeJob": { 15 "input": { 16 "type": "structure", 17 "required": [ 18 "jobId", 19 "nonce" 20 ], 21 "members": { 22 "jobId": {}, 23 "nonce": {} 24 } 25 }, 26 "output": { 27 "type": "structure", 28 "members": { 29 "status": {} 30 } 31 } 32 }, 33 "AcknowledgeThirdPartyJob": { 34 "input": { 35 "type": "structure", 36 "required": [ 37 "jobId", 38 "nonce", 39 "clientToken" 40 ], 41 "members": { 42 "jobId": {}, 43 "nonce": {}, 44 "clientToken": {} 45 } 46 }, 47 "output": { 48 "type": "structure", 49 "members": { 50 "status": {} 51 } 52 } 53 }, 54 "CreateCustomActionType": { 55 "input": { 56 "type": "structure", 57 "required": [ 58 "category", 59 "provider", 60 "version", 61 "inputArtifactDetails", 62 "outputArtifactDetails" 63 ], 64 "members": { 65 "category": {}, 66 "provider": {}, 67 "version": {}, 68 "settings": { 69 "shape": "Se" 70 }, 71 "configurationProperties": { 72 "shape": "Sh" 73 }, 74 "inputArtifactDetails": { 75 "shape": "Sn" 76 }, 77 "outputArtifactDetails": { 78 "shape": "Sn" 79 } 80 } 81 }, 82 "output": { 83 "type": "structure", 84 "required": [ 85 "actionType" 86 ], 87 "members": { 88 "actionType": { 89 "shape": "Sr" 90 } 91 } 92 } 93 }, 94 "CreatePipeline": { 95 "input": { 96 "type": "structure", 97 "required": [ 98 "pipeline" 99 ], 100 "members": { 101 "pipeline": { 102 "shape": "Sv" 103 } 104 } 105 }, 106 "output": { 107 "type": "structure", 108 "members": { 109 "pipeline": { 110 "shape": "Sv" 111 } 112 } 113 } 114 }, 115 "DeleteCustomActionType": { 116 "input": { 117 "type": "structure", 118 "required": [ 119 "category", 120 "provider", 121 "version" 122 ], 123 "members": { 124 "category": {}, 125 "provider": {}, 126 "version": {} 127 } 128 } 129 }, 130 "DeletePipeline": { 131 "input": { 132 "type": "structure", 133 "required": [ 134 "name" 135 ], 136 "members": { 137 "name": {} 138 } 139 } 140 }, 141 "DisableStageTransition": { 142 "input": { 143 "type": "structure", 144 "required": [ 145 "pipelineName", 146 "stageName", 147 "transitionType", 148 "reason" 149 ], 150 "members": { 151 "pipelineName": {}, 152 "stageName": {}, 153 "transitionType": {}, 154 "reason": {} 155 } 156 } 157 }, 158 "EnableStageTransition": { 159 "input": { 160 "type": "structure", 161 "required": [ 162 "pipelineName", 163 "stageName", 164 "transitionType" 165 ], 166 "members": { 167 "pipelineName": {}, 168 "stageName": {}, 169 "transitionType": {} 170 } 171 } 172 }, 173 "GetJobDetails": { 174 "input": { 175 "type": "structure", 176 "required": [ 177 "jobId" 178 ], 179 "members": { 180 "jobId": {} 181 } 182 }, 183 "output": { 184 "type": "structure", 185 "members": { 186 "jobDetails": { 187 "type": "structure", 188 "members": { 189 "id": {}, 190 "data": { 191 "shape": "S1x" 192 }, 193 "accountId": {} 194 } 195 } 196 } 197 } 198 }, 199 "GetPipeline": { 200 "input": { 201 "type": "structure", 202 "required": [ 203 "name" 204 ], 205 "members": { 206 "name": {}, 207 "version": { 208 "type": "integer" 209 } 210 } 211 }, 212 "output": { 213 "type": "structure", 214 "members": { 215 "pipeline": { 216 "shape": "Sv" 217 } 218 } 219 } 220 }, 221 "GetPipelineExecution": { 222 "input": { 223 "type": "structure", 224 "required": [ 225 "pipelineName", 226 "pipelineExecutionId" 227 ], 228 "members": { 229 "pipelineName": {}, 230 "pipelineExecutionId": {} 231 } 232 }, 233 "output": { 234 "type": "structure", 235 "members": { 236 "pipelineExecution": { 237 "type": "structure", 238 "members": { 239 "pipelineName": {}, 240 "pipelineVersion": { 241 "type": "integer" 242 }, 243 "pipelineExecutionId": {}, 244 "status": {}, 245 "artifactRevisions": { 246 "type": "list", 247 "member": { 248 "type": "structure", 249 "members": { 250 "name": {}, 251 "revisionId": {}, 252 "revisionChangeIdentifier": {}, 253 "revisionSummary": {}, 254 "created": { 255 "type": "timestamp" 256 }, 257 "revisionUrl": {} 258 } 259 } 260 } 261 } 262 } 263 } 264 } 265 }, 266 "GetPipelineState": { 267 "input": { 268 "type": "structure", 269 "required": [ 270 "name" 271 ], 272 "members": { 273 "name": {} 274 } 275 }, 276 "output": { 277 "type": "structure", 278 "members": { 279 "pipelineName": {}, 280 "pipelineVersion": { 281 "type": "integer" 282 }, 283 "stageStates": { 284 "type": "list", 285 "member": { 286 "type": "structure", 287 "members": { 288 "stageName": {}, 289 "inboundTransitionState": { 290 "type": "structure", 291 "members": { 292 "enabled": { 293 "type": "boolean" 294 }, 295 "lastChangedBy": {}, 296 "lastChangedAt": { 297 "type": "timestamp" 298 }, 299 "disabledReason": {} 300 } 301 }, 302 "actionStates": { 303 "type": "list", 304 "member": { 305 "type": "structure", 306 "members": { 307 "actionName": {}, 308 "currentRevision": { 309 "shape": "S32" 310 }, 311 "latestExecution": { 312 "type": "structure", 313 "members": { 314 "status": {}, 315 "summary": {}, 316 "lastStatusChange": { 317 "type": "timestamp" 318 }, 319 "token": {}, 320 "lastUpdatedBy": {}, 321 "externalExecutionId": {}, 322 "externalExecutionUrl": {}, 323 "percentComplete": { 324 "type": "integer" 325 }, 326 "errorDetails": { 327 "type": "structure", 328 "members": { 329 "code": {}, 330 "message": {} 331 } 332 } 333 } 334 }, 335 "entityUrl": {}, 336 "revisionUrl": {} 337 } 338 } 339 }, 340 "latestExecution": { 341 "type": "structure", 342 "required": [ 343 "pipelineExecutionId", 344 "status" 345 ], 346 "members": { 347 "pipelineExecutionId": {}, 348 "status": {} 349 } 350 } 351 } 352 } 353 }, 354 "created": { 355 "type": "timestamp" 356 }, 357 "updated": { 358 "type": "timestamp" 359 } 360 } 361 } 362 }, 363 "GetThirdPartyJobDetails": { 364 "input": { 365 "type": "structure", 366 "required": [ 367 "jobId", 368 "clientToken" 369 ], 370 "members": { 371 "jobId": {}, 372 "clientToken": {} 373 } 374 }, 375 "output": { 376 "type": "structure", 377 "members": { 378 "jobDetails": { 379 "type": "structure", 380 "members": { 381 "id": {}, 382 "data": { 383 "type": "structure", 384 "members": { 385 "actionTypeId": { 386 "shape": "Ss" 387 }, 388 "actionConfiguration": { 389 "shape": "S1y" 390 }, 391 "pipelineContext": { 392 "shape": "S1z" 393 }, 394 "inputArtifacts": { 395 "shape": "S22" 396 }, 397 "outputArtifacts": { 398 "shape": "S22" 399 }, 400 "artifactCredentials": { 401 "shape": "S2a" 402 }, 403 "continuationToken": {}, 404 "encryptionKey": { 405 "shape": "S11" 406 } 407 } 408 }, 409 "nonce": {} 410 } 411 } 412 } 413 } 414 }, 415 "ListActionTypes": { 416 "input": { 417 "type": "structure", 418 "members": { 419 "actionOwnerFilter": {}, 420 "nextToken": {} 421 } 422 }, 423 "output": { 424 "type": "structure", 425 "required": [ 426 "actionTypes" 427 ], 428 "members": { 429 "actionTypes": { 430 "type": "list", 431 "member": { 432 "shape": "Sr" 433 } 434 }, 435 "nextToken": {} 436 } 437 } 438 }, 439 "ListPipelines": { 440 "input": { 441 "type": "structure", 442 "members": { 443 "nextToken": {} 444 } 445 }, 446 "output": { 447 "type": "structure", 448 "members": { 449 "pipelines": { 450 "type": "list", 451 "member": { 452 "type": "structure", 453 "members": { 454 "name": {}, 455 "version": { 456 "type": "integer" 457 }, 458 "created": { 459 "type": "timestamp" 460 }, 461 "updated": { 462 "type": "timestamp" 463 } 464 } 465 } 466 }, 467 "nextToken": {} 468 } 469 } 470 }, 471 "PollForJobs": { 472 "input": { 473 "type": "structure", 474 "required": [ 475 "actionTypeId" 476 ], 477 "members": { 478 "actionTypeId": { 479 "shape": "Ss" 480 }, 481 "maxBatchSize": { 482 "type": "integer" 483 }, 484 "queryParam": { 485 "type": "map", 486 "key": {}, 487 "value": {} 488 } 489 } 490 }, 491 "output": { 492 "type": "structure", 493 "members": { 494 "jobs": { 495 "type": "list", 496 "member": { 497 "type": "structure", 498 "members": { 499 "id": {}, 500 "data": { 501 "shape": "S1x" 502 }, 503 "nonce": {}, 504 "accountId": {} 505 } 506 } 507 } 508 } 509 } 510 }, 511 "PollForThirdPartyJobs": { 512 "input": { 513 "type": "structure", 514 "required": [ 515 "actionTypeId" 516 ], 517 "members": { 518 "actionTypeId": { 519 "shape": "Ss" 520 }, 521 "maxBatchSize": { 522 "type": "integer" 523 } 524 } 525 }, 526 "output": { 527 "type": "structure", 528 "members": { 529 "jobs": { 530 "type": "list", 531 "member": { 532 "type": "structure", 533 "members": { 534 "clientId": {}, 535 "jobId": {} 536 } 537 } 538 } 539 } 540 } 541 }, 542 "PutActionRevision": { 543 "input": { 544 "type": "structure", 545 "required": [ 546 "pipelineName", 547 "stageName", 548 "actionName", 549 "actionRevision" 550 ], 551 "members": { 552 "pipelineName": {}, 553 "stageName": {}, 554 "actionName": {}, 555 "actionRevision": { 556 "shape": "S32" 557 } 558 } 559 }, 560 "output": { 561 "type": "structure", 562 "members": { 563 "newRevision": { 564 "type": "boolean" 565 }, 566 "pipelineExecutionId": {} 567 } 568 } 569 }, 570 "PutApprovalResult": { 571 "input": { 572 "type": "structure", 573 "required": [ 574 "pipelineName", 575 "stageName", 576 "actionName", 577 "result", 578 "token" 579 ], 580 "members": { 581 "pipelineName": {}, 582 "stageName": {}, 583 "actionName": {}, 584 "result": { 585 "type": "structure", 586 "required": [ 587 "summary", 588 "status" 589 ], 590 "members": { 591 "summary": {}, 592 "status": {} 593 } 594 }, 595 "token": {} 596 } 597 }, 598 "output": { 599 "type": "structure", 600 "members": { 601 "approvedAt": { 602 "type": "timestamp" 603 } 604 } 605 } 606 }, 607 "PutJobFailureResult": { 608 "input": { 609 "type": "structure", 610 "required": [ 611 "jobId", 612 "failureDetails" 613 ], 614 "members": { 615 "jobId": {}, 616 "failureDetails": { 617 "shape": "S4c" 618 } 619 } 620 } 621 }, 622 "PutJobSuccessResult": { 623 "input": { 624 "type": "structure", 625 "required": [ 626 "jobId" 627 ], 628 "members": { 629 "jobId": {}, 630 "currentRevision": { 631 "shape": "S4f" 632 }, 633 "continuationToken": {}, 634 "executionDetails": { 635 "shape": "S4h" 636 } 637 } 638 } 639 }, 640 "PutThirdPartyJobFailureResult": { 641 "input": { 642 "type": "structure", 643 "required": [ 644 "jobId", 645 "clientToken", 646 "failureDetails" 647 ], 648 "members": { 649 "jobId": {}, 650 "clientToken": {}, 651 "failureDetails": { 652 "shape": "S4c" 653 } 654 } 655 } 656 }, 657 "PutThirdPartyJobSuccessResult": { 658 "input": { 659 "type": "structure", 660 "required": [ 661 "jobId", 662 "clientToken" 663 ], 664 "members": { 665 "jobId": {}, 666 "clientToken": {}, 667 "currentRevision": { 668 "shape": "S4f" 669 }, 670 "continuationToken": {}, 671 "executionDetails": { 672 "shape": "S4h" 673 } 674 } 675 } 676 }, 677 "RetryStageExecution": { 678 "input": { 679 "type": "structure", 680 "required": [ 681 "pipelineName", 682 "stageName", 683 "pipelineExecutionId", 684 "retryMode" 685 ], 686 "members": { 687 "pipelineName": {}, 688 "stageName": {}, 689 "pipelineExecutionId": {}, 690 "retryMode": {} 691 } 692 }, 693 "output": { 694 "type": "structure", 695 "members": { 696 "pipelineExecutionId": {} 697 } 698 } 699 }, 700 "StartPipelineExecution": { 701 "input": { 702 "type": "structure", 703 "required": [ 704 "name" 705 ], 706 "members": { 707 "name": {} 708 } 709 }, 710 "output": { 711 "type": "structure", 712 "members": { 713 "pipelineExecutionId": {} 714 } 715 } 716 }, 717 "UpdatePipeline": { 718 "input": { 719 "type": "structure", 720 "required": [ 721 "pipeline" 722 ], 723 "members": { 724 "pipeline": { 725 "shape": "Sv" 726 } 727 } 728 }, 729 "output": { 730 "type": "structure", 731 "members": { 732 "pipeline": { 733 "shape": "Sv" 734 } 735 } 736 } 737 } 738 }, 739 "shapes": { 740 "Se": { 741 "type": "structure", 742 "members": { 743 "thirdPartyConfigurationUrl": {}, 744 "entityUrlTemplate": {}, 745 "executionUrlTemplate": {}, 746 "revisionUrlTemplate": {} 747 } 748 }, 749 "Sh": { 750 "type": "list", 751 "member": { 752 "type": "structure", 753 "required": [ 754 "name", 755 "required", 756 "key", 757 "secret" 758 ], 759 "members": { 760 "name": {}, 761 "required": { 762 "type": "boolean" 763 }, 764 "key": { 765 "type": "boolean" 766 }, 767 "secret": { 768 "type": "boolean" 769 }, 770 "queryable": { 771 "type": "boolean" 772 }, 773 "description": {}, 774 "type": {} 775 } 776 } 777 }, 778 "Sn": { 779 "type": "structure", 780 "required": [ 781 "minimumCount", 782 "maximumCount" 783 ], 784 "members": { 785 "minimumCount": { 786 "type": "integer" 787 }, 788 "maximumCount": { 789 "type": "integer" 790 } 791 } 792 }, 793 "Sr": { 794 "type": "structure", 795 "required": [ 796 "id", 797 "inputArtifactDetails", 798 "outputArtifactDetails" 799 ], 800 "members": { 801 "id": { 802 "shape": "Ss" 803 }, 804 "settings": { 805 "shape": "Se" 806 }, 807 "actionConfigurationProperties": { 808 "shape": "Sh" 809 }, 810 "inputArtifactDetails": { 811 "shape": "Sn" 812 }, 813 "outputArtifactDetails": { 814 "shape": "Sn" 815 } 816 } 817 }, 818 "Ss": { 819 "type": "structure", 820 "required": [ 821 "category", 822 "owner", 823 "provider", 824 "version" 825 ], 826 "members": { 827 "category": {}, 828 "owner": {}, 829 "provider": {}, 830 "version": {} 831 } 832 }, 833 "Sv": { 834 "type": "structure", 835 "required": [ 836 "name", 837 "roleArn", 838 "artifactStore", 839 "stages" 840 ], 841 "members": { 842 "name": {}, 843 "roleArn": {}, 844 "artifactStore": { 845 "type": "structure", 846 "required": [ 847 "type", 848 "location" 849 ], 850 "members": { 851 "type": {}, 852 "location": {}, 853 "encryptionKey": { 854 "shape": "S11" 855 } 856 } 857 }, 858 "stages": { 859 "type": "list", 860 "member": { 861 "type": "structure", 862 "required": [ 863 "name", 864 "actions" 865 ], 866 "members": { 867 "name": {}, 868 "blockers": { 869 "type": "list", 870 "member": { 871 "type": "structure", 872 "required": [ 873 "name", 874 "type" 875 ], 876 "members": { 877 "name": {}, 878 "type": {} 879 } 880 } 881 }, 882 "actions": { 883 "type": "list", 884 "member": { 885 "type": "structure", 886 "required": [ 887 "name", 888 "actionTypeId" 889 ], 890 "members": { 891 "name": {}, 892 "actionTypeId": { 893 "shape": "Ss" 894 }, 895 "runOrder": { 896 "type": "integer" 897 }, 898 "configuration": { 899 "shape": "S1f" 900 }, 901 "outputArtifacts": { 902 "type": "list", 903 "member": { 904 "type": "structure", 905 "required": [ 906 "name" 907 ], 908 "members": { 909 "name": {} 910 } 911 } 912 }, 913 "inputArtifacts": { 914 "type": "list", 915 "member": { 916 "type": "structure", 917 "required": [ 918 "name" 919 ], 920 "members": { 921 "name": {} 922 } 923 } 924 }, 925 "roleArn": {} 926 } 927 } 928 } 929 } 930 } 931 }, 932 "version": { 933 "type": "integer" 934 } 935 } 936 }, 937 "S11": { 938 "type": "structure", 939 "required": [ 940 "id", 941 "type" 942 ], 943 "members": { 944 "id": {}, 945 "type": {} 946 } 947 }, 948 "S1f": { 949 "type": "map", 950 "key": {}, 951 "value": {} 952 }, 953 "S1x": { 954 "type": "structure", 955 "members": { 956 "actionTypeId": { 957 "shape": "Ss" 958 }, 959 "actionConfiguration": { 960 "shape": "S1y" 961 }, 962 "pipelineContext": { 963 "shape": "S1z" 964 }, 965 "inputArtifacts": { 966 "shape": "S22" 967 }, 968 "outputArtifacts": { 969 "shape": "S22" 970 }, 971 "artifactCredentials": { 972 "shape": "S2a" 973 }, 974 "continuationToken": {}, 975 "encryptionKey": { 976 "shape": "S11" 977 } 978 } 979 }, 980 "S1y": { 981 "type": "structure", 982 "members": { 983 "configuration": { 984 "shape": "S1f" 985 } 986 } 987 }, 988 "S1z": { 989 "type": "structure", 990 "members": { 991 "pipelineName": {}, 992 "stage": { 993 "type": "structure", 994 "members": { 995 "name": {} 996 } 997 }, 998 "action": { 999 "type": "structure", 1000 "members": { 1001 "name": {} 1002 } 1003 } 1004 } 1005 }, 1006 "S22": { 1007 "type": "list", 1008 "member": { 1009 "type": "structure", 1010 "members": { 1011 "name": {}, 1012 "revision": {}, 1013 "location": { 1014 "type": "structure", 1015 "members": { 1016 "type": {}, 1017 "s3Location": { 1018 "type": "structure", 1019 "required": [ 1020 "bucketName", 1021 "objectKey" 1022 ], 1023 "members": { 1024 "bucketName": {}, 1025 "objectKey": {} 1026 } 1027 } 1028 } 1029 } 1030 } 1031 } 1032 }, 1033 "S2a": { 1034 "type": "structure", 1035 "required": [ 1036 "accessKeyId", 1037 "secretAccessKey", 1038 "sessionToken" 1039 ], 1040 "members": { 1041 "accessKeyId": {}, 1042 "secretAccessKey": {}, 1043 "sessionToken": {} 1044 }, 1045 "sensitive": true 1046 }, 1047 "S32": { 1048 "type": "structure", 1049 "required": [ 1050 "revisionId", 1051 "revisionChangeId", 1052 "created" 1053 ], 1054 "members": { 1055 "revisionId": {}, 1056 "revisionChangeId": {}, 1057 "created": { 1058 "type": "timestamp" 1059 } 1060 } 1061 }, 1062 "S4c": { 1063 "type": "structure", 1064 "required": [ 1065 "type", 1066 "message" 1067 ], 1068 "members": { 1069 "type": {}, 1070 "message": {}, 1071 "externalExecutionId": {} 1072 } 1073 }, 1074 "S4f": { 1075 "type": "structure", 1076 "required": [ 1077 "revision", 1078 "changeIdentifier" 1079 ], 1080 "members": { 1081 "revision": {}, 1082 "changeIdentifier": {}, 1083 "created": { 1084 "type": "timestamp" 1085 }, 1086 "revisionSummary": {} 1087 } 1088 }, 1089 "S4h": { 1090 "type": "structure", 1091 "members": { 1092 "summary": {}, 1093 "externalExecutionId": {}, 1094 "percentComplete": { 1095 "type": "integer" 1096 } 1097 } 1098 } 1099 } 1100 }