/ cloudformation-templates / node_modules / aws-cdk / node_modules / aws-sdk / apis / signer-2017-08-25.min.json
signer-2017-08-25.min.json
1 { 2 "version": "2.0", 3 "metadata": { 4 "apiVersion": "2017-08-25", 5 "endpointPrefix": "signer", 6 "jsonVersion": "1.1", 7 "protocol": "rest-json", 8 "serviceAbbreviation": "signer", 9 "serviceFullName": "AWS Signer", 10 "serviceId": "signer", 11 "signatureVersion": "v4", 12 "signingName": "signer", 13 "uid": "signer-2017-08-25" 14 }, 15 "operations": { 16 "AddProfilePermission": { 17 "http": { 18 "requestUri": "/signing-profiles/{profileName}/permissions" 19 }, 20 "input": { 21 "type": "structure", 22 "required": [ 23 "action", 24 "principal", 25 "statementId", 26 "profileName" 27 ], 28 "members": { 29 "profileName": { 30 "location": "uri", 31 "locationName": "profileName" 32 }, 33 "profileVersion": {}, 34 "action": {}, 35 "principal": {}, 36 "revisionId": {}, 37 "statementId": {} 38 } 39 }, 40 "output": { 41 "type": "structure", 42 "members": { 43 "revisionId": {} 44 } 45 } 46 }, 47 "CancelSigningProfile": { 48 "http": { 49 "method": "DELETE", 50 "requestUri": "/signing-profiles/{profileName}" 51 }, 52 "input": { 53 "type": "structure", 54 "required": [ 55 "profileName" 56 ], 57 "members": { 58 "profileName": { 59 "location": "uri", 60 "locationName": "profileName" 61 } 62 } 63 } 64 }, 65 "DescribeSigningJob": { 66 "http": { 67 "method": "GET", 68 "requestUri": "/signing-jobs/{jobId}" 69 }, 70 "input": { 71 "type": "structure", 72 "required": [ 73 "jobId" 74 ], 75 "members": { 76 "jobId": { 77 "location": "uri", 78 "locationName": "jobId" 79 } 80 } 81 }, 82 "output": { 83 "type": "structure", 84 "members": { 85 "jobId": {}, 86 "source": { 87 "shape": "Sa" 88 }, 89 "signingMaterial": { 90 "shape": "Sf" 91 }, 92 "platformId": {}, 93 "platformDisplayName": {}, 94 "profileName": {}, 95 "profileVersion": {}, 96 "overrides": { 97 "shape": "Sj" 98 }, 99 "signingParameters": { 100 "shape": "So" 101 }, 102 "createdAt": { 103 "type": "timestamp" 104 }, 105 "completedAt": { 106 "type": "timestamp" 107 }, 108 "signatureExpiresAt": { 109 "type": "timestamp" 110 }, 111 "requestedBy": {}, 112 "status": {}, 113 "statusReason": {}, 114 "revocationRecord": { 115 "type": "structure", 116 "members": { 117 "reason": {}, 118 "revokedAt": { 119 "type": "timestamp" 120 }, 121 "revokedBy": {} 122 } 123 }, 124 "signedObject": { 125 "shape": "Sw" 126 }, 127 "jobOwner": {}, 128 "jobInvoker": {} 129 } 130 } 131 }, 132 "GetSigningPlatform": { 133 "http": { 134 "method": "GET", 135 "requestUri": "/signing-platforms/{platformId}" 136 }, 137 "input": { 138 "type": "structure", 139 "required": [ 140 "platformId" 141 ], 142 "members": { 143 "platformId": { 144 "location": "uri", 145 "locationName": "platformId" 146 } 147 } 148 }, 149 "output": { 150 "type": "structure", 151 "members": { 152 "platformId": {}, 153 "displayName": {}, 154 "partner": {}, 155 "target": {}, 156 "category": {}, 157 "signingConfiguration": { 158 "shape": "S12" 159 }, 160 "signingImageFormat": { 161 "shape": "S17" 162 }, 163 "maxSizeInMB": { 164 "type": "integer" 165 }, 166 "revocationSupported": { 167 "type": "boolean" 168 } 169 } 170 } 171 }, 172 "GetSigningProfile": { 173 "http": { 174 "method": "GET", 175 "requestUri": "/signing-profiles/{profileName}" 176 }, 177 "input": { 178 "type": "structure", 179 "required": [ 180 "profileName" 181 ], 182 "members": { 183 "profileName": { 184 "location": "uri", 185 "locationName": "profileName" 186 }, 187 "profileOwner": { 188 "location": "querystring", 189 "locationName": "profileOwner" 190 } 191 } 192 }, 193 "output": { 194 "type": "structure", 195 "members": { 196 "profileName": {}, 197 "profileVersion": {}, 198 "profileVersionArn": {}, 199 "revocationRecord": { 200 "type": "structure", 201 "members": { 202 "revocationEffectiveFrom": { 203 "type": "timestamp" 204 }, 205 "revokedAt": { 206 "type": "timestamp" 207 }, 208 "revokedBy": {} 209 } 210 }, 211 "signingMaterial": { 212 "shape": "Sf" 213 }, 214 "platformId": {}, 215 "platformDisplayName": {}, 216 "signatureValidityPeriod": { 217 "shape": "S1f" 218 }, 219 "overrides": { 220 "shape": "Sj" 221 }, 222 "signingParameters": { 223 "shape": "So" 224 }, 225 "status": {}, 226 "statusReason": {}, 227 "arn": {}, 228 "tags": { 229 "shape": "S1k" 230 } 231 } 232 } 233 }, 234 "ListProfilePermissions": { 235 "http": { 236 "method": "GET", 237 "requestUri": "/signing-profiles/{profileName}/permissions" 238 }, 239 "input": { 240 "type": "structure", 241 "required": [ 242 "profileName" 243 ], 244 "members": { 245 "profileName": { 246 "location": "uri", 247 "locationName": "profileName" 248 }, 249 "nextToken": { 250 "location": "querystring", 251 "locationName": "nextToken" 252 } 253 } 254 }, 255 "output": { 256 "type": "structure", 257 "members": { 258 "revisionId": {}, 259 "policySizeBytes": { 260 "type": "integer" 261 }, 262 "permissions": { 263 "type": "list", 264 "member": { 265 "type": "structure", 266 "members": { 267 "action": {}, 268 "principal": {}, 269 "statementId": {}, 270 "profileVersion": {} 271 } 272 } 273 }, 274 "nextToken": {} 275 } 276 } 277 }, 278 "ListSigningJobs": { 279 "http": { 280 "method": "GET", 281 "requestUri": "/signing-jobs" 282 }, 283 "input": { 284 "type": "structure", 285 "members": { 286 "status": { 287 "location": "querystring", 288 "locationName": "status" 289 }, 290 "platformId": { 291 "location": "querystring", 292 "locationName": "platformId" 293 }, 294 "requestedBy": { 295 "location": "querystring", 296 "locationName": "requestedBy" 297 }, 298 "maxResults": { 299 "location": "querystring", 300 "locationName": "maxResults", 301 "type": "integer" 302 }, 303 "nextToken": { 304 "location": "querystring", 305 "locationName": "nextToken" 306 }, 307 "isRevoked": { 308 "location": "querystring", 309 "locationName": "isRevoked", 310 "type": "boolean" 311 }, 312 "signatureExpiresBefore": { 313 "location": "querystring", 314 "locationName": "signatureExpiresBefore", 315 "type": "timestamp" 316 }, 317 "signatureExpiresAfter": { 318 "location": "querystring", 319 "locationName": "signatureExpiresAfter", 320 "type": "timestamp" 321 }, 322 "jobInvoker": { 323 "location": "querystring", 324 "locationName": "jobInvoker" 325 } 326 } 327 }, 328 "output": { 329 "type": "structure", 330 "members": { 331 "jobs": { 332 "type": "list", 333 "member": { 334 "type": "structure", 335 "members": { 336 "jobId": {}, 337 "source": { 338 "shape": "Sa" 339 }, 340 "signedObject": { 341 "shape": "Sw" 342 }, 343 "signingMaterial": { 344 "shape": "Sf" 345 }, 346 "createdAt": { 347 "type": "timestamp" 348 }, 349 "status": {}, 350 "isRevoked": { 351 "type": "boolean" 352 }, 353 "profileName": {}, 354 "profileVersion": {}, 355 "platformId": {}, 356 "platformDisplayName": {}, 357 "signatureExpiresAt": { 358 "type": "timestamp" 359 }, 360 "jobOwner": {}, 361 "jobInvoker": {} 362 } 363 } 364 }, 365 "nextToken": {} 366 } 367 } 368 }, 369 "ListSigningPlatforms": { 370 "http": { 371 "method": "GET", 372 "requestUri": "/signing-platforms" 373 }, 374 "input": { 375 "type": "structure", 376 "members": { 377 "category": { 378 "location": "querystring", 379 "locationName": "category" 380 }, 381 "partner": { 382 "location": "querystring", 383 "locationName": "partner" 384 }, 385 "target": { 386 "location": "querystring", 387 "locationName": "target" 388 }, 389 "maxResults": { 390 "location": "querystring", 391 "locationName": "maxResults", 392 "type": "integer" 393 }, 394 "nextToken": { 395 "location": "querystring", 396 "locationName": "nextToken" 397 } 398 } 399 }, 400 "output": { 401 "type": "structure", 402 "members": { 403 "platforms": { 404 "type": "list", 405 "member": { 406 "type": "structure", 407 "members": { 408 "platformId": {}, 409 "displayName": {}, 410 "partner": {}, 411 "target": {}, 412 "category": {}, 413 "signingConfiguration": { 414 "shape": "S12" 415 }, 416 "signingImageFormat": { 417 "shape": "S17" 418 }, 419 "maxSizeInMB": { 420 "type": "integer" 421 }, 422 "revocationSupported": { 423 "type": "boolean" 424 } 425 } 426 } 427 }, 428 "nextToken": {} 429 } 430 } 431 }, 432 "ListSigningProfiles": { 433 "http": { 434 "method": "GET", 435 "requestUri": "/signing-profiles" 436 }, 437 "input": { 438 "type": "structure", 439 "members": { 440 "includeCanceled": { 441 "location": "querystring", 442 "locationName": "includeCanceled", 443 "type": "boolean" 444 }, 445 "maxResults": { 446 "location": "querystring", 447 "locationName": "maxResults", 448 "type": "integer" 449 }, 450 "nextToken": { 451 "location": "querystring", 452 "locationName": "nextToken" 453 }, 454 "platformId": { 455 "location": "querystring", 456 "locationName": "platformId" 457 }, 458 "statuses": { 459 "location": "querystring", 460 "locationName": "statuses", 461 "type": "list", 462 "member": {} 463 } 464 } 465 }, 466 "output": { 467 "type": "structure", 468 "members": { 469 "profiles": { 470 "type": "list", 471 "member": { 472 "type": "structure", 473 "members": { 474 "profileName": {}, 475 "profileVersion": {}, 476 "profileVersionArn": {}, 477 "signingMaterial": { 478 "shape": "Sf" 479 }, 480 "signatureValidityPeriod": { 481 "shape": "S1f" 482 }, 483 "platformId": {}, 484 "platformDisplayName": {}, 485 "signingParameters": { 486 "shape": "So" 487 }, 488 "status": {}, 489 "arn": {}, 490 "tags": { 491 "shape": "S1k" 492 } 493 } 494 } 495 }, 496 "nextToken": {} 497 } 498 } 499 }, 500 "ListTagsForResource": { 501 "http": { 502 "method": "GET", 503 "requestUri": "/tags/{resourceArn}" 504 }, 505 "input": { 506 "type": "structure", 507 "required": [ 508 "resourceArn" 509 ], 510 "members": { 511 "resourceArn": { 512 "location": "uri", 513 "locationName": "resourceArn" 514 } 515 } 516 }, 517 "output": { 518 "type": "structure", 519 "members": { 520 "tags": { 521 "shape": "S1k" 522 } 523 } 524 } 525 }, 526 "PutSigningProfile": { 527 "http": { 528 "method": "PUT", 529 "requestUri": "/signing-profiles/{profileName}" 530 }, 531 "input": { 532 "type": "structure", 533 "required": [ 534 "profileName", 535 "platformId" 536 ], 537 "members": { 538 "profileName": { 539 "location": "uri", 540 "locationName": "profileName" 541 }, 542 "signingMaterial": { 543 "shape": "Sf" 544 }, 545 "signatureValidityPeriod": { 546 "shape": "S1f" 547 }, 548 "platformId": {}, 549 "overrides": { 550 "shape": "Sj" 551 }, 552 "signingParameters": { 553 "shape": "So" 554 }, 555 "tags": { 556 "shape": "S1k" 557 } 558 } 559 }, 560 "output": { 561 "type": "structure", 562 "members": { 563 "arn": {}, 564 "profileVersion": {}, 565 "profileVersionArn": {} 566 } 567 } 568 }, 569 "RemoveProfilePermission": { 570 "http": { 571 "method": "DELETE", 572 "requestUri": "/signing-profiles/{profileName}/permissions/{statementId}" 573 }, 574 "input": { 575 "type": "structure", 576 "required": [ 577 "revisionId", 578 "profileName", 579 "statementId" 580 ], 581 "members": { 582 "profileName": { 583 "location": "uri", 584 "locationName": "profileName" 585 }, 586 "revisionId": { 587 "location": "querystring", 588 "locationName": "revisionId" 589 }, 590 "statementId": { 591 "location": "uri", 592 "locationName": "statementId" 593 } 594 } 595 }, 596 "output": { 597 "type": "structure", 598 "members": { 599 "revisionId": {} 600 } 601 } 602 }, 603 "RevokeSignature": { 604 "http": { 605 "method": "PUT", 606 "requestUri": "/signing-jobs/{jobId}/revoke" 607 }, 608 "input": { 609 "type": "structure", 610 "required": [ 611 "reason", 612 "jobId" 613 ], 614 "members": { 615 "jobId": { 616 "location": "uri", 617 "locationName": "jobId" 618 }, 619 "jobOwner": {}, 620 "reason": {} 621 } 622 } 623 }, 624 "RevokeSigningProfile": { 625 "http": { 626 "method": "PUT", 627 "requestUri": "/signing-profiles/{profileName}/revoke" 628 }, 629 "input": { 630 "type": "structure", 631 "required": [ 632 "profileVersion", 633 "reason", 634 "effectiveTime", 635 "profileName" 636 ], 637 "members": { 638 "profileName": { 639 "location": "uri", 640 "locationName": "profileName" 641 }, 642 "profileVersion": {}, 643 "reason": {}, 644 "effectiveTime": { 645 "type": "timestamp" 646 } 647 } 648 } 649 }, 650 "StartSigningJob": { 651 "http": { 652 "requestUri": "/signing-jobs" 653 }, 654 "input": { 655 "type": "structure", 656 "required": [ 657 "source", 658 "destination", 659 "profileName", 660 "clientRequestToken" 661 ], 662 "members": { 663 "source": { 664 "shape": "Sa" 665 }, 666 "destination": { 667 "type": "structure", 668 "members": { 669 "s3": { 670 "type": "structure", 671 "members": { 672 "bucketName": {}, 673 "prefix": {} 674 } 675 } 676 } 677 }, 678 "profileName": {}, 679 "clientRequestToken": { 680 "idempotencyToken": true 681 }, 682 "profileOwner": {} 683 } 684 }, 685 "output": { 686 "type": "structure", 687 "members": { 688 "jobId": {}, 689 "jobOwner": {} 690 } 691 } 692 }, 693 "TagResource": { 694 "http": { 695 "requestUri": "/tags/{resourceArn}" 696 }, 697 "input": { 698 "type": "structure", 699 "required": [ 700 "resourceArn", 701 "tags" 702 ], 703 "members": { 704 "resourceArn": { 705 "location": "uri", 706 "locationName": "resourceArn" 707 }, 708 "tags": { 709 "shape": "S1k" 710 } 711 } 712 }, 713 "output": { 714 "type": "structure", 715 "members": {} 716 } 717 }, 718 "UntagResource": { 719 "http": { 720 "method": "DELETE", 721 "requestUri": "/tags/{resourceArn}" 722 }, 723 "input": { 724 "type": "structure", 725 "required": [ 726 "resourceArn", 727 "tagKeys" 728 ], 729 "members": { 730 "resourceArn": { 731 "location": "uri", 732 "locationName": "resourceArn" 733 }, 734 "tagKeys": { 735 "location": "querystring", 736 "locationName": "tagKeys", 737 "type": "list", 738 "member": {} 739 } 740 } 741 }, 742 "output": { 743 "type": "structure", 744 "members": {} 745 } 746 } 747 }, 748 "shapes": { 749 "Sa": { 750 "type": "structure", 751 "members": { 752 "s3": { 753 "type": "structure", 754 "required": [ 755 "bucketName", 756 "key", 757 "version" 758 ], 759 "members": { 760 "bucketName": {}, 761 "key": {}, 762 "version": {} 763 } 764 } 765 } 766 }, 767 "Sf": { 768 "type": "structure", 769 "required": [ 770 "certificateArn" 771 ], 772 "members": { 773 "certificateArn": {} 774 } 775 }, 776 "Sj": { 777 "type": "structure", 778 "members": { 779 "signingConfiguration": { 780 "type": "structure", 781 "members": { 782 "encryptionAlgorithm": {}, 783 "hashAlgorithm": {} 784 } 785 }, 786 "signingImageFormat": {} 787 } 788 }, 789 "So": { 790 "type": "map", 791 "key": {}, 792 "value": {} 793 }, 794 "Sw": { 795 "type": "structure", 796 "members": { 797 "s3": { 798 "type": "structure", 799 "members": { 800 "bucketName": {}, 801 "key": {} 802 } 803 } 804 } 805 }, 806 "S12": { 807 "type": "structure", 808 "required": [ 809 "encryptionAlgorithmOptions", 810 "hashAlgorithmOptions" 811 ], 812 "members": { 813 "encryptionAlgorithmOptions": { 814 "type": "structure", 815 "required": [ 816 "allowedValues", 817 "defaultValue" 818 ], 819 "members": { 820 "allowedValues": { 821 "type": "list", 822 "member": {} 823 }, 824 "defaultValue": {} 825 } 826 }, 827 "hashAlgorithmOptions": { 828 "type": "structure", 829 "required": [ 830 "allowedValues", 831 "defaultValue" 832 ], 833 "members": { 834 "allowedValues": { 835 "type": "list", 836 "member": {} 837 }, 838 "defaultValue": {} 839 } 840 } 841 } 842 }, 843 "S17": { 844 "type": "structure", 845 "required": [ 846 "supportedFormats", 847 "defaultFormat" 848 ], 849 "members": { 850 "supportedFormats": { 851 "type": "list", 852 "member": {} 853 }, 854 "defaultFormat": {} 855 } 856 }, 857 "S1f": { 858 "type": "structure", 859 "members": { 860 "value": { 861 "type": "integer" 862 }, 863 "type": {} 864 } 865 }, 866 "S1k": { 867 "type": "map", 868 "key": {}, 869 "value": {} 870 } 871 } 872 }