codedeploy-2014-10-06.min.json (23600B)
1 { 2 "version": "2.0", 3 "metadata": { 4 "apiVersion": "2014-10-06", 5 "endpointPrefix": "codedeploy", 6 "jsonVersion": "1.1", 7 "protocol": "json", 8 "serviceAbbreviation": "CodeDeploy", 9 "serviceFullName": "AWS CodeDeploy", 10 "signatureVersion": "v4", 11 "targetPrefix": "CodeDeploy_20141006", 12 "timestampFormat": "unixTimestamp" 13 }, 14 "operations": { 15 "AddTagsToOnPremisesInstances": { 16 "input": { 17 "type": "structure", 18 "required": [ 19 "tags", 20 "instanceNames" 21 ], 22 "members": { 23 "tags": { 24 "shape": "S2" 25 }, 26 "instanceNames": { 27 "shape": "S6" 28 } 29 } 30 } 31 }, 32 "BatchGetApplicationRevisions": { 33 "input": { 34 "type": "structure", 35 "required": [ 36 "applicationName", 37 "revisions" 38 ], 39 "members": { 40 "applicationName": {}, 41 "revisions": { 42 "shape": "Sa" 43 } 44 } 45 }, 46 "output": { 47 "type": "structure", 48 "members": { 49 "applicationName": {}, 50 "errorMessage": {}, 51 "revisions": { 52 "type": "list", 53 "member": { 54 "type": "structure", 55 "members": { 56 "revisionLocation": { 57 "shape": "Sb" 58 }, 59 "genericRevisionInfo": { 60 "shape": "Sq" 61 } 62 } 63 } 64 } 65 } 66 } 67 }, 68 "BatchGetApplications": { 69 "input": { 70 "type": "structure", 71 "members": { 72 "applicationNames": { 73 "shape": "Sw" 74 } 75 } 76 }, 77 "output": { 78 "type": "structure", 79 "members": { 80 "applicationsInfo": { 81 "type": "list", 82 "member": { 83 "shape": "Sz" 84 } 85 } 86 } 87 } 88 }, 89 "BatchGetDeploymentGroups": { 90 "input": { 91 "type": "structure", 92 "required": [ 93 "applicationName", 94 "deploymentGroupNames" 95 ], 96 "members": { 97 "applicationName": {}, 98 "deploymentGroupNames": { 99 "shape": "Ss" 100 } 101 } 102 }, 103 "output": { 104 "type": "structure", 105 "members": { 106 "deploymentGroupsInfo": { 107 "type": "list", 108 "member": { 109 "shape": "S15" 110 } 111 }, 112 "errorMessage": {} 113 } 114 } 115 }, 116 "BatchGetDeploymentInstances": { 117 "input": { 118 "type": "structure", 119 "required": [ 120 "deploymentId", 121 "instanceIds" 122 ], 123 "members": { 124 "deploymentId": {}, 125 "instanceIds": { 126 "shape": "S1y" 127 } 128 } 129 }, 130 "output": { 131 "type": "structure", 132 "members": { 133 "instancesSummary": { 134 "type": "list", 135 "member": { 136 "shape": "S22" 137 } 138 }, 139 "errorMessage": {} 140 } 141 } 142 }, 143 "BatchGetDeployments": { 144 "input": { 145 "type": "structure", 146 "members": { 147 "deploymentIds": { 148 "shape": "S2e" 149 } 150 } 151 }, 152 "output": { 153 "type": "structure", 154 "members": { 155 "deploymentsInfo": { 156 "type": "list", 157 "member": { 158 "shape": "S2h" 159 } 160 } 161 } 162 } 163 }, 164 "BatchGetOnPremisesInstances": { 165 "input": { 166 "type": "structure", 167 "members": { 168 "instanceNames": { 169 "shape": "S6" 170 } 171 } 172 }, 173 "output": { 174 "type": "structure", 175 "members": { 176 "instanceInfos": { 177 "type": "list", 178 "member": { 179 "shape": "S2s" 180 } 181 } 182 } 183 } 184 }, 185 "CreateApplication": { 186 "input": { 187 "type": "structure", 188 "required": [ 189 "applicationName" 190 ], 191 "members": { 192 "applicationName": {} 193 } 194 }, 195 "output": { 196 "type": "structure", 197 "members": { 198 "applicationId": {} 199 } 200 } 201 }, 202 "CreateDeployment": { 203 "input": { 204 "type": "structure", 205 "required": [ 206 "applicationName" 207 ], 208 "members": { 209 "applicationName": {}, 210 "deploymentGroupName": {}, 211 "revision": { 212 "shape": "Sb" 213 }, 214 "deploymentConfigName": {}, 215 "description": {}, 216 "ignoreApplicationStopFailures": { 217 "type": "boolean" 218 }, 219 "autoRollbackConfiguration": { 220 "shape": "S1t" 221 }, 222 "updateOutdatedInstancesOnly": { 223 "type": "boolean" 224 } 225 } 226 }, 227 "output": { 228 "type": "structure", 229 "members": { 230 "deploymentId": {} 231 } 232 } 233 }, 234 "CreateDeploymentConfig": { 235 "input": { 236 "type": "structure", 237 "required": [ 238 "deploymentConfigName" 239 ], 240 "members": { 241 "deploymentConfigName": {}, 242 "minimumHealthyHosts": { 243 "shape": "S30" 244 } 245 } 246 }, 247 "output": { 248 "type": "structure", 249 "members": { 250 "deploymentConfigId": {} 251 } 252 } 253 }, 254 "CreateDeploymentGroup": { 255 "input": { 256 "type": "structure", 257 "required": [ 258 "applicationName", 259 "deploymentGroupName", 260 "serviceRoleArn" 261 ], 262 "members": { 263 "applicationName": {}, 264 "deploymentGroupName": {}, 265 "deploymentConfigName": {}, 266 "ec2TagFilters": { 267 "shape": "S18" 268 }, 269 "onPremisesInstanceTagFilters": { 270 "shape": "S1b" 271 }, 272 "autoScalingGroups": { 273 "shape": "S36" 274 }, 275 "serviceRoleArn": {}, 276 "triggerConfigurations": { 277 "shape": "S1j" 278 }, 279 "alarmConfiguration": { 280 "shape": "S1p" 281 }, 282 "autoRollbackConfiguration": { 283 "shape": "S1t" 284 } 285 } 286 }, 287 "output": { 288 "type": "structure", 289 "members": { 290 "deploymentGroupId": {} 291 } 292 } 293 }, 294 "DeleteApplication": { 295 "input": { 296 "type": "structure", 297 "required": [ 298 "applicationName" 299 ], 300 "members": { 301 "applicationName": {} 302 } 303 } 304 }, 305 "DeleteDeploymentConfig": { 306 "input": { 307 "type": "structure", 308 "required": [ 309 "deploymentConfigName" 310 ], 311 "members": { 312 "deploymentConfigName": {} 313 } 314 } 315 }, 316 "DeleteDeploymentGroup": { 317 "input": { 318 "type": "structure", 319 "required": [ 320 "applicationName", 321 "deploymentGroupName" 322 ], 323 "members": { 324 "applicationName": {}, 325 "deploymentGroupName": {} 326 } 327 }, 328 "output": { 329 "type": "structure", 330 "members": { 331 "hooksNotCleanedUp": { 332 "shape": "S1e" 333 } 334 } 335 } 336 }, 337 "DeregisterOnPremisesInstance": { 338 "input": { 339 "type": "structure", 340 "required": [ 341 "instanceName" 342 ], 343 "members": { 344 "instanceName": {} 345 } 346 } 347 }, 348 "GetApplication": { 349 "input": { 350 "type": "structure", 351 "required": [ 352 "applicationName" 353 ], 354 "members": { 355 "applicationName": {} 356 } 357 }, 358 "output": { 359 "type": "structure", 360 "members": { 361 "application": { 362 "shape": "Sz" 363 } 364 } 365 } 366 }, 367 "GetApplicationRevision": { 368 "input": { 369 "type": "structure", 370 "required": [ 371 "applicationName", 372 "revision" 373 ], 374 "members": { 375 "applicationName": {}, 376 "revision": { 377 "shape": "Sb" 378 } 379 } 380 }, 381 "output": { 382 "type": "structure", 383 "members": { 384 "applicationName": {}, 385 "revision": { 386 "shape": "Sb" 387 }, 388 "revisionInfo": { 389 "shape": "Sq" 390 } 391 } 392 } 393 }, 394 "GetDeployment": { 395 "input": { 396 "type": "structure", 397 "required": [ 398 "deploymentId" 399 ], 400 "members": { 401 "deploymentId": {} 402 } 403 }, 404 "output": { 405 "type": "structure", 406 "members": { 407 "deploymentInfo": { 408 "shape": "S2h" 409 } 410 } 411 } 412 }, 413 "GetDeploymentConfig": { 414 "input": { 415 "type": "structure", 416 "required": [ 417 "deploymentConfigName" 418 ], 419 "members": { 420 "deploymentConfigName": {} 421 } 422 }, 423 "output": { 424 "type": "structure", 425 "members": { 426 "deploymentConfigInfo": { 427 "type": "structure", 428 "members": { 429 "deploymentConfigId": {}, 430 "deploymentConfigName": {}, 431 "minimumHealthyHosts": { 432 "shape": "S30" 433 }, 434 "createTime": { 435 "type": "timestamp" 436 } 437 } 438 } 439 } 440 } 441 }, 442 "GetDeploymentGroup": { 443 "input": { 444 "type": "structure", 445 "required": [ 446 "applicationName", 447 "deploymentGroupName" 448 ], 449 "members": { 450 "applicationName": {}, 451 "deploymentGroupName": {} 452 } 453 }, 454 "output": { 455 "type": "structure", 456 "members": { 457 "deploymentGroupInfo": { 458 "shape": "S15" 459 } 460 } 461 } 462 }, 463 "GetDeploymentInstance": { 464 "input": { 465 "type": "structure", 466 "required": [ 467 "deploymentId", 468 "instanceId" 469 ], 470 "members": { 471 "deploymentId": {}, 472 "instanceId": {} 473 } 474 }, 475 "output": { 476 "type": "structure", 477 "members": { 478 "instanceSummary": { 479 "shape": "S22" 480 } 481 } 482 } 483 }, 484 "GetOnPremisesInstance": { 485 "input": { 486 "type": "structure", 487 "required": [ 488 "instanceName" 489 ], 490 "members": { 491 "instanceName": {} 492 } 493 }, 494 "output": { 495 "type": "structure", 496 "members": { 497 "instanceInfo": { 498 "shape": "S2s" 499 } 500 } 501 } 502 }, 503 "ListApplicationRevisions": { 504 "input": { 505 "type": "structure", 506 "required": [ 507 "applicationName" 508 ], 509 "members": { 510 "applicationName": {}, 511 "sortBy": {}, 512 "sortOrder": {}, 513 "s3Bucket": {}, 514 "s3KeyPrefix": {}, 515 "deployed": {}, 516 "nextToken": {} 517 } 518 }, 519 "output": { 520 "type": "structure", 521 "members": { 522 "revisions": { 523 "shape": "Sa" 524 }, 525 "nextToken": {} 526 } 527 } 528 }, 529 "ListApplications": { 530 "input": { 531 "type": "structure", 532 "members": { 533 "nextToken": {} 534 } 535 }, 536 "output": { 537 "type": "structure", 538 "members": { 539 "applications": { 540 "shape": "Sw" 541 }, 542 "nextToken": {} 543 } 544 } 545 }, 546 "ListDeploymentConfigs": { 547 "input": { 548 "type": "structure", 549 "members": { 550 "nextToken": {} 551 } 552 }, 553 "output": { 554 "type": "structure", 555 "members": { 556 "deploymentConfigsList": { 557 "type": "list", 558 "member": {} 559 }, 560 "nextToken": {} 561 } 562 } 563 }, 564 "ListDeploymentGroups": { 565 "input": { 566 "type": "structure", 567 "required": [ 568 "applicationName" 569 ], 570 "members": { 571 "applicationName": {}, 572 "nextToken": {} 573 } 574 }, 575 "output": { 576 "type": "structure", 577 "members": { 578 "applicationName": {}, 579 "deploymentGroups": { 580 "shape": "Ss" 581 }, 582 "nextToken": {} 583 } 584 } 585 }, 586 "ListDeploymentInstances": { 587 "input": { 588 "type": "structure", 589 "required": [ 590 "deploymentId" 591 ], 592 "members": { 593 "deploymentId": {}, 594 "nextToken": {}, 595 "instanceStatusFilter": { 596 "type": "list", 597 "member": {} 598 } 599 } 600 }, 601 "output": { 602 "type": "structure", 603 "members": { 604 "instancesList": { 605 "shape": "S1y" 606 }, 607 "nextToken": {} 608 } 609 } 610 }, 611 "ListDeployments": { 612 "input": { 613 "type": "structure", 614 "members": { 615 "applicationName": {}, 616 "deploymentGroupName": {}, 617 "includeOnlyStatuses": { 618 "type": "list", 619 "member": {} 620 }, 621 "createTimeRange": { 622 "type": "structure", 623 "members": { 624 "start": { 625 "type": "timestamp" 626 }, 627 "end": { 628 "type": "timestamp" 629 } 630 } 631 }, 632 "nextToken": {} 633 } 634 }, 635 "output": { 636 "type": "structure", 637 "members": { 638 "deployments": { 639 "shape": "S2e" 640 }, 641 "nextToken": {} 642 } 643 } 644 }, 645 "ListOnPremisesInstances": { 646 "input": { 647 "type": "structure", 648 "members": { 649 "registrationStatus": {}, 650 "tagFilters": { 651 "shape": "S1b" 652 }, 653 "nextToken": {} 654 } 655 }, 656 "output": { 657 "type": "structure", 658 "members": { 659 "instanceNames": { 660 "shape": "S6" 661 }, 662 "nextToken": {} 663 } 664 } 665 }, 666 "RegisterApplicationRevision": { 667 "input": { 668 "type": "structure", 669 "required": [ 670 "applicationName", 671 "revision" 672 ], 673 "members": { 674 "applicationName": {}, 675 "description": {}, 676 "revision": { 677 "shape": "Sb" 678 } 679 } 680 } 681 }, 682 "RegisterOnPremisesInstance": { 683 "input": { 684 "type": "structure", 685 "required": [ 686 "instanceName", 687 "iamUserArn" 688 ], 689 "members": { 690 "instanceName": {}, 691 "iamUserArn": {} 692 } 693 } 694 }, 695 "RemoveTagsFromOnPremisesInstances": { 696 "input": { 697 "type": "structure", 698 "required": [ 699 "tags", 700 "instanceNames" 701 ], 702 "members": { 703 "tags": { 704 "shape": "S2" 705 }, 706 "instanceNames": { 707 "shape": "S6" 708 } 709 } 710 } 711 }, 712 "StopDeployment": { 713 "input": { 714 "type": "structure", 715 "required": [ 716 "deploymentId" 717 ], 718 "members": { 719 "deploymentId": {}, 720 "autoRollbackEnabled": { 721 "type": "boolean" 722 } 723 } 724 }, 725 "output": { 726 "type": "structure", 727 "members": { 728 "status": {}, 729 "statusMessage": {} 730 } 731 } 732 }, 733 "UpdateApplication": { 734 "input": { 735 "type": "structure", 736 "members": { 737 "applicationName": {}, 738 "newApplicationName": {} 739 } 740 } 741 }, 742 "UpdateDeploymentGroup": { 743 "input": { 744 "type": "structure", 745 "required": [ 746 "applicationName", 747 "currentDeploymentGroupName" 748 ], 749 "members": { 750 "applicationName": {}, 751 "currentDeploymentGroupName": {}, 752 "newDeploymentGroupName": {}, 753 "deploymentConfigName": {}, 754 "ec2TagFilters": { 755 "shape": "S18" 756 }, 757 "onPremisesInstanceTagFilters": { 758 "shape": "S1b" 759 }, 760 "autoScalingGroups": { 761 "shape": "S36" 762 }, 763 "serviceRoleArn": {}, 764 "triggerConfigurations": { 765 "shape": "S1j" 766 }, 767 "alarmConfiguration": { 768 "shape": "S1p" 769 }, 770 "autoRollbackConfiguration": { 771 "shape": "S1t" 772 } 773 } 774 }, 775 "output": { 776 "type": "structure", 777 "members": { 778 "hooksNotCleanedUp": { 779 "shape": "S1e" 780 } 781 } 782 } 783 } 784 }, 785 "shapes": { 786 "S2": { 787 "type": "list", 788 "member": { 789 "type": "structure", 790 "members": { 791 "Key": {}, 792 "Value": {} 793 } 794 } 795 }, 796 "S6": { 797 "type": "list", 798 "member": {} 799 }, 800 "Sa": { 801 "type": "list", 802 "member": { 803 "shape": "Sb" 804 } 805 }, 806 "Sb": { 807 "type": "structure", 808 "members": { 809 "revisionType": {}, 810 "s3Location": { 811 "type": "structure", 812 "members": { 813 "bucket": {}, 814 "key": {}, 815 "bundleType": {}, 816 "version": {}, 817 "eTag": {} 818 } 819 }, 820 "gitHubLocation": { 821 "type": "structure", 822 "members": { 823 "repository": {}, 824 "commitId": {} 825 } 826 } 827 } 828 }, 829 "Sq": { 830 "type": "structure", 831 "members": { 832 "description": {}, 833 "deploymentGroups": { 834 "shape": "Ss" 835 }, 836 "firstUsedTime": { 837 "type": "timestamp" 838 }, 839 "lastUsedTime": { 840 "type": "timestamp" 841 }, 842 "registerTime": { 843 "type": "timestamp" 844 } 845 } 846 }, 847 "Ss": { 848 "type": "list", 849 "member": {} 850 }, 851 "Sw": { 852 "type": "list", 853 "member": {} 854 }, 855 "Sz": { 856 "type": "structure", 857 "members": { 858 "applicationId": {}, 859 "applicationName": {}, 860 "createTime": { 861 "type": "timestamp" 862 }, 863 "linkedToGitHub": { 864 "type": "boolean" 865 } 866 } 867 }, 868 "S15": { 869 "type": "structure", 870 "members": { 871 "applicationName": {}, 872 "deploymentGroupId": {}, 873 "deploymentGroupName": {}, 874 "deploymentConfigName": {}, 875 "ec2TagFilters": { 876 "shape": "S18" 877 }, 878 "onPremisesInstanceTagFilters": { 879 "shape": "S1b" 880 }, 881 "autoScalingGroups": { 882 "shape": "S1e" 883 }, 884 "serviceRoleArn": {}, 885 "targetRevision": { 886 "shape": "Sb" 887 }, 888 "triggerConfigurations": { 889 "shape": "S1j" 890 }, 891 "alarmConfiguration": { 892 "shape": "S1p" 893 }, 894 "autoRollbackConfiguration": { 895 "shape": "S1t" 896 } 897 } 898 }, 899 "S18": { 900 "type": "list", 901 "member": { 902 "type": "structure", 903 "members": { 904 "Key": {}, 905 "Value": {}, 906 "Type": {} 907 } 908 } 909 }, 910 "S1b": { 911 "type": "list", 912 "member": { 913 "type": "structure", 914 "members": { 915 "Key": {}, 916 "Value": {}, 917 "Type": {} 918 } 919 } 920 }, 921 "S1e": { 922 "type": "list", 923 "member": { 924 "type": "structure", 925 "members": { 926 "name": {}, 927 "hook": {} 928 } 929 } 930 }, 931 "S1j": { 932 "type": "list", 933 "member": { 934 "type": "structure", 935 "members": { 936 "triggerName": {}, 937 "triggerTargetArn": {}, 938 "triggerEvents": { 939 "type": "list", 940 "member": {} 941 } 942 } 943 } 944 }, 945 "S1p": { 946 "type": "structure", 947 "members": { 948 "enabled": { 949 "type": "boolean" 950 }, 951 "ignorePollAlarmFailure": { 952 "type": "boolean" 953 }, 954 "alarms": { 955 "type": "list", 956 "member": { 957 "type": "structure", 958 "members": { 959 "name": {} 960 } 961 } 962 } 963 } 964 }, 965 "S1t": { 966 "type": "structure", 967 "members": { 968 "enabled": { 969 "type": "boolean" 970 }, 971 "events": { 972 "type": "list", 973 "member": {} 974 } 975 } 976 }, 977 "S1y": { 978 "type": "list", 979 "member": {} 980 }, 981 "S22": { 982 "type": "structure", 983 "members": { 984 "deploymentId": {}, 985 "instanceId": {}, 986 "status": {}, 987 "lastUpdatedAt": { 988 "type": "timestamp" 989 }, 990 "lifecycleEvents": { 991 "type": "list", 992 "member": { 993 "type": "structure", 994 "members": { 995 "lifecycleEventName": {}, 996 "diagnostics": { 997 "type": "structure", 998 "members": { 999 "errorCode": {}, 1000 "scriptName": {}, 1001 "message": {}, 1002 "logTail": {} 1003 } 1004 }, 1005 "startTime": { 1006 "type": "timestamp" 1007 }, 1008 "endTime": { 1009 "type": "timestamp" 1010 }, 1011 "status": {} 1012 } 1013 } 1014 } 1015 } 1016 }, 1017 "S2e": { 1018 "type": "list", 1019 "member": {} 1020 }, 1021 "S2h": { 1022 "type": "structure", 1023 "members": { 1024 "applicationName": {}, 1025 "deploymentGroupName": {}, 1026 "deploymentConfigName": {}, 1027 "deploymentId": {}, 1028 "revision": { 1029 "shape": "Sb" 1030 }, 1031 "status": {}, 1032 "errorInformation": { 1033 "type": "structure", 1034 "members": { 1035 "code": {}, 1036 "message": {} 1037 } 1038 }, 1039 "createTime": { 1040 "type": "timestamp" 1041 }, 1042 "startTime": { 1043 "type": "timestamp" 1044 }, 1045 "completeTime": { 1046 "type": "timestamp" 1047 }, 1048 "deploymentOverview": { 1049 "type": "structure", 1050 "members": { 1051 "Pending": { 1052 "type": "long" 1053 }, 1054 "InProgress": { 1055 "type": "long" 1056 }, 1057 "Succeeded": { 1058 "type": "long" 1059 }, 1060 "Failed": { 1061 "type": "long" 1062 }, 1063 "Skipped": { 1064 "type": "long" 1065 } 1066 } 1067 }, 1068 "description": {}, 1069 "creator": {}, 1070 "ignoreApplicationStopFailures": { 1071 "type": "boolean" 1072 }, 1073 "autoRollbackConfiguration": { 1074 "shape": "S1t" 1075 }, 1076 "updateOutdatedInstancesOnly": { 1077 "type": "boolean" 1078 }, 1079 "rollbackInfo": { 1080 "type": "structure", 1081 "members": { 1082 "rollbackDeploymentId": {}, 1083 "rollbackTriggeringDeploymentId": {}, 1084 "rollbackMessage": {} 1085 } 1086 } 1087 } 1088 }, 1089 "S2s": { 1090 "type": "structure", 1091 "members": { 1092 "instanceName": {}, 1093 "iamUserArn": {}, 1094 "instanceArn": {}, 1095 "registerTime": { 1096 "type": "timestamp" 1097 }, 1098 "deregisterTime": { 1099 "type": "timestamp" 1100 }, 1101 "tags": { 1102 "shape": "S2" 1103 } 1104 } 1105 }, 1106 "S30": { 1107 "type": "structure", 1108 "members": { 1109 "value": { 1110 "type": "integer" 1111 }, 1112 "type": {} 1113 } 1114 }, 1115 "S36": { 1116 "type": "list", 1117 "member": {} 1118 } 1119 } 1120 }