UNPKG

24.6 kBJSONView Raw
1{
2 "metadata": {
3 "apiVersion": "2017-09-08",
4 "endpointPrefix": "serverlessrepo",
5 "signingName": "serverlessrepo",
6 "serviceFullName": "AWSServerlessApplicationRepository",
7 "serviceId": "ServerlessApplicationRepository",
8 "protocol": "rest-json",
9 "jsonVersion": "1.1",
10 "uid": "serverlessrepo-2017-09-08",
11 "signatureVersion": "v4"
12 },
13 "operations": {
14 "CreateApplication": {
15 "http": {
16 "requestUri": "/applications",
17 "responseCode": 201
18 },
19 "input": {
20 "type": "structure",
21 "members": {
22 "Author": {
23 "locationName": "author"
24 },
25 "Description": {
26 "locationName": "description"
27 },
28 "HomePageUrl": {
29 "locationName": "homePageUrl"
30 },
31 "Labels": {
32 "shape": "S3",
33 "locationName": "labels"
34 },
35 "LicenseBody": {
36 "locationName": "licenseBody"
37 },
38 "LicenseUrl": {
39 "locationName": "licenseUrl"
40 },
41 "Name": {
42 "locationName": "name"
43 },
44 "ReadmeBody": {
45 "locationName": "readmeBody"
46 },
47 "ReadmeUrl": {
48 "locationName": "readmeUrl"
49 },
50 "SemanticVersion": {
51 "locationName": "semanticVersion"
52 },
53 "SourceCodeArchiveUrl": {
54 "locationName": "sourceCodeArchiveUrl"
55 },
56 "SourceCodeUrl": {
57 "locationName": "sourceCodeUrl"
58 },
59 "SpdxLicenseId": {
60 "locationName": "spdxLicenseId"
61 },
62 "TemplateBody": {
63 "locationName": "templateBody"
64 },
65 "TemplateUrl": {
66 "locationName": "templateUrl"
67 }
68 },
69 "required": [
70 "Description",
71 "Name",
72 "Author"
73 ]
74 },
75 "output": {
76 "type": "structure",
77 "members": {
78 "ApplicationId": {
79 "locationName": "applicationId"
80 },
81 "Author": {
82 "locationName": "author"
83 },
84 "CreationTime": {
85 "locationName": "creationTime"
86 },
87 "Description": {
88 "locationName": "description"
89 },
90 "HomePageUrl": {
91 "locationName": "homePageUrl"
92 },
93 "Labels": {
94 "shape": "S3",
95 "locationName": "labels"
96 },
97 "LicenseUrl": {
98 "locationName": "licenseUrl"
99 },
100 "Name": {
101 "locationName": "name"
102 },
103 "ReadmeUrl": {
104 "locationName": "readmeUrl"
105 },
106 "SpdxLicenseId": {
107 "locationName": "spdxLicenseId"
108 },
109 "Version": {
110 "shape": "S5",
111 "locationName": "version"
112 }
113 }
114 }
115 },
116 "CreateApplicationVersion": {
117 "http": {
118 "method": "PUT",
119 "requestUri": "/applications/{applicationId}/versions/{semanticVersion}",
120 "responseCode": 201
121 },
122 "input": {
123 "type": "structure",
124 "members": {
125 "ApplicationId": {
126 "location": "uri",
127 "locationName": "applicationId"
128 },
129 "SemanticVersion": {
130 "location": "uri",
131 "locationName": "semanticVersion"
132 },
133 "SourceCodeArchiveUrl": {
134 "locationName": "sourceCodeArchiveUrl"
135 },
136 "SourceCodeUrl": {
137 "locationName": "sourceCodeUrl"
138 },
139 "TemplateBody": {
140 "locationName": "templateBody"
141 },
142 "TemplateUrl": {
143 "locationName": "templateUrl"
144 }
145 },
146 "required": [
147 "ApplicationId",
148 "SemanticVersion"
149 ]
150 },
151 "output": {
152 "type": "structure",
153 "members": {
154 "ApplicationId": {
155 "locationName": "applicationId"
156 },
157 "CreationTime": {
158 "locationName": "creationTime"
159 },
160 "ParameterDefinitions": {
161 "shape": "S6",
162 "locationName": "parameterDefinitions"
163 },
164 "RequiredCapabilities": {
165 "shape": "Sa",
166 "locationName": "requiredCapabilities"
167 },
168 "ResourcesSupported": {
169 "locationName": "resourcesSupported",
170 "type": "boolean"
171 },
172 "SemanticVersion": {
173 "locationName": "semanticVersion"
174 },
175 "SourceCodeArchiveUrl": {
176 "locationName": "sourceCodeArchiveUrl"
177 },
178 "SourceCodeUrl": {
179 "locationName": "sourceCodeUrl"
180 },
181 "TemplateUrl": {
182 "locationName": "templateUrl"
183 }
184 }
185 }
186 },
187 "CreateCloudFormationChangeSet": {
188 "http": {
189 "requestUri": "/applications/{applicationId}/changesets",
190 "responseCode": 201
191 },
192 "input": {
193 "type": "structure",
194 "members": {
195 "ApplicationId": {
196 "location": "uri",
197 "locationName": "applicationId"
198 },
199 "Capabilities": {
200 "shape": "S3",
201 "locationName": "capabilities"
202 },
203 "ChangeSetName": {
204 "locationName": "changeSetName"
205 },
206 "ClientToken": {
207 "locationName": "clientToken"
208 },
209 "Description": {
210 "locationName": "description"
211 },
212 "NotificationArns": {
213 "shape": "S3",
214 "locationName": "notificationArns"
215 },
216 "ParameterOverrides": {
217 "locationName": "parameterOverrides",
218 "type": "list",
219 "member": {
220 "type": "structure",
221 "members": {
222 "Name": {
223 "locationName": "name"
224 },
225 "Value": {
226 "locationName": "value"
227 }
228 },
229 "required": [
230 "Value",
231 "Name"
232 ]
233 }
234 },
235 "ResourceTypes": {
236 "shape": "S3",
237 "locationName": "resourceTypes"
238 },
239 "RollbackConfiguration": {
240 "locationName": "rollbackConfiguration",
241 "type": "structure",
242 "members": {
243 "MonitoringTimeInMinutes": {
244 "locationName": "monitoringTimeInMinutes",
245 "type": "integer"
246 },
247 "RollbackTriggers": {
248 "locationName": "rollbackTriggers",
249 "type": "list",
250 "member": {
251 "type": "structure",
252 "members": {
253 "Arn": {
254 "locationName": "arn"
255 },
256 "Type": {
257 "locationName": "type"
258 }
259 },
260 "required": [
261 "Type",
262 "Arn"
263 ]
264 }
265 }
266 }
267 },
268 "SemanticVersion": {
269 "locationName": "semanticVersion"
270 },
271 "StackName": {
272 "locationName": "stackName"
273 },
274 "Tags": {
275 "locationName": "tags",
276 "type": "list",
277 "member": {
278 "type": "structure",
279 "members": {
280 "Key": {
281 "locationName": "key"
282 },
283 "Value": {
284 "locationName": "value"
285 }
286 },
287 "required": [
288 "Value",
289 "Key"
290 ]
291 }
292 },
293 "TemplateId": {
294 "locationName": "templateId"
295 }
296 },
297 "required": [
298 "ApplicationId",
299 "StackName"
300 ]
301 },
302 "output": {
303 "type": "structure",
304 "members": {
305 "ApplicationId": {
306 "locationName": "applicationId"
307 },
308 "ChangeSetId": {
309 "locationName": "changeSetId"
310 },
311 "SemanticVersion": {
312 "locationName": "semanticVersion"
313 },
314 "StackId": {
315 "locationName": "stackId"
316 }
317 }
318 }
319 },
320 "CreateCloudFormationTemplate": {
321 "http": {
322 "requestUri": "/applications/{applicationId}/templates",
323 "responseCode": 201
324 },
325 "input": {
326 "type": "structure",
327 "members": {
328 "ApplicationId": {
329 "location": "uri",
330 "locationName": "applicationId"
331 },
332 "SemanticVersion": {
333 "locationName": "semanticVersion"
334 }
335 },
336 "required": [
337 "ApplicationId"
338 ]
339 },
340 "output": {
341 "type": "structure",
342 "members": {
343 "ApplicationId": {
344 "locationName": "applicationId"
345 },
346 "CreationTime": {
347 "locationName": "creationTime"
348 },
349 "ExpirationTime": {
350 "locationName": "expirationTime"
351 },
352 "SemanticVersion": {
353 "locationName": "semanticVersion"
354 },
355 "Status": {
356 "locationName": "status"
357 },
358 "TemplateId": {
359 "locationName": "templateId"
360 },
361 "TemplateUrl": {
362 "locationName": "templateUrl"
363 }
364 }
365 }
366 },
367 "DeleteApplication": {
368 "http": {
369 "method": "DELETE",
370 "requestUri": "/applications/{applicationId}",
371 "responseCode": 204
372 },
373 "input": {
374 "type": "structure",
375 "members": {
376 "ApplicationId": {
377 "location": "uri",
378 "locationName": "applicationId"
379 }
380 },
381 "required": [
382 "ApplicationId"
383 ]
384 }
385 },
386 "GetApplication": {
387 "http": {
388 "method": "GET",
389 "requestUri": "/applications/{applicationId}",
390 "responseCode": 200
391 },
392 "input": {
393 "type": "structure",
394 "members": {
395 "ApplicationId": {
396 "location": "uri",
397 "locationName": "applicationId"
398 },
399 "SemanticVersion": {
400 "location": "querystring",
401 "locationName": "semanticVersion"
402 }
403 },
404 "required": [
405 "ApplicationId"
406 ]
407 },
408 "output": {
409 "type": "structure",
410 "members": {
411 "ApplicationId": {
412 "locationName": "applicationId"
413 },
414 "Author": {
415 "locationName": "author"
416 },
417 "CreationTime": {
418 "locationName": "creationTime"
419 },
420 "Description": {
421 "locationName": "description"
422 },
423 "HomePageUrl": {
424 "locationName": "homePageUrl"
425 },
426 "Labels": {
427 "shape": "S3",
428 "locationName": "labels"
429 },
430 "LicenseUrl": {
431 "locationName": "licenseUrl"
432 },
433 "Name": {
434 "locationName": "name"
435 },
436 "ReadmeUrl": {
437 "locationName": "readmeUrl"
438 },
439 "SpdxLicenseId": {
440 "locationName": "spdxLicenseId"
441 },
442 "Version": {
443 "shape": "S5",
444 "locationName": "version"
445 }
446 }
447 }
448 },
449 "GetApplicationPolicy": {
450 "http": {
451 "method": "GET",
452 "requestUri": "/applications/{applicationId}/policy",
453 "responseCode": 200
454 },
455 "input": {
456 "type": "structure",
457 "members": {
458 "ApplicationId": {
459 "location": "uri",
460 "locationName": "applicationId"
461 }
462 },
463 "required": [
464 "ApplicationId"
465 ]
466 },
467 "output": {
468 "type": "structure",
469 "members": {
470 "Statements": {
471 "shape": "Sv",
472 "locationName": "statements"
473 }
474 }
475 }
476 },
477 "GetCloudFormationTemplate": {
478 "http": {
479 "method": "GET",
480 "requestUri": "/applications/{applicationId}/templates/{templateId}",
481 "responseCode": 200
482 },
483 "input": {
484 "type": "structure",
485 "members": {
486 "ApplicationId": {
487 "location": "uri",
488 "locationName": "applicationId"
489 },
490 "TemplateId": {
491 "location": "uri",
492 "locationName": "templateId"
493 }
494 },
495 "required": [
496 "ApplicationId",
497 "TemplateId"
498 ]
499 },
500 "output": {
501 "type": "structure",
502 "members": {
503 "ApplicationId": {
504 "locationName": "applicationId"
505 },
506 "CreationTime": {
507 "locationName": "creationTime"
508 },
509 "ExpirationTime": {
510 "locationName": "expirationTime"
511 },
512 "SemanticVersion": {
513 "locationName": "semanticVersion"
514 },
515 "Status": {
516 "locationName": "status"
517 },
518 "TemplateId": {
519 "locationName": "templateId"
520 },
521 "TemplateUrl": {
522 "locationName": "templateUrl"
523 }
524 }
525 }
526 },
527 "ListApplicationDependencies": {
528 "http": {
529 "method": "GET",
530 "requestUri": "/applications/{applicationId}/dependencies",
531 "responseCode": 200
532 },
533 "input": {
534 "type": "structure",
535 "members": {
536 "ApplicationId": {
537 "location": "uri",
538 "locationName": "applicationId"
539 },
540 "MaxItems": {
541 "location": "querystring",
542 "locationName": "maxItems",
543 "type": "integer"
544 },
545 "NextToken": {
546 "location": "querystring",
547 "locationName": "nextToken"
548 },
549 "SemanticVersion": {
550 "location": "querystring",
551 "locationName": "semanticVersion"
552 }
553 },
554 "required": [
555 "ApplicationId"
556 ]
557 },
558 "output": {
559 "type": "structure",
560 "members": {
561 "Dependencies": {
562 "locationName": "dependencies",
563 "type": "list",
564 "member": {
565 "type": "structure",
566 "members": {
567 "ApplicationId": {
568 "locationName": "applicationId"
569 },
570 "SemanticVersion": {
571 "locationName": "semanticVersion"
572 }
573 },
574 "required": [
575 "ApplicationId",
576 "SemanticVersion"
577 ]
578 }
579 },
580 "NextToken": {
581 "locationName": "nextToken"
582 }
583 }
584 }
585 },
586 "ListApplicationVersions": {
587 "http": {
588 "method": "GET",
589 "requestUri": "/applications/{applicationId}/versions",
590 "responseCode": 200
591 },
592 "input": {
593 "type": "structure",
594 "members": {
595 "ApplicationId": {
596 "location": "uri",
597 "locationName": "applicationId"
598 },
599 "MaxItems": {
600 "location": "querystring",
601 "locationName": "maxItems",
602 "type": "integer"
603 },
604 "NextToken": {
605 "location": "querystring",
606 "locationName": "nextToken"
607 }
608 },
609 "required": [
610 "ApplicationId"
611 ]
612 },
613 "output": {
614 "type": "structure",
615 "members": {
616 "NextToken": {
617 "locationName": "nextToken"
618 },
619 "Versions": {
620 "locationName": "versions",
621 "type": "list",
622 "member": {
623 "type": "structure",
624 "members": {
625 "ApplicationId": {
626 "locationName": "applicationId"
627 },
628 "CreationTime": {
629 "locationName": "creationTime"
630 },
631 "SemanticVersion": {
632 "locationName": "semanticVersion"
633 },
634 "SourceCodeUrl": {
635 "locationName": "sourceCodeUrl"
636 }
637 },
638 "required": [
639 "CreationTime",
640 "ApplicationId",
641 "SemanticVersion"
642 ]
643 }
644 }
645 }
646 }
647 },
648 "ListApplications": {
649 "http": {
650 "method": "GET",
651 "requestUri": "/applications",
652 "responseCode": 200
653 },
654 "input": {
655 "type": "structure",
656 "members": {
657 "MaxItems": {
658 "location": "querystring",
659 "locationName": "maxItems",
660 "type": "integer"
661 },
662 "NextToken": {
663 "location": "querystring",
664 "locationName": "nextToken"
665 }
666 }
667 },
668 "output": {
669 "type": "structure",
670 "members": {
671 "Applications": {
672 "locationName": "applications",
673 "type": "list",
674 "member": {
675 "type": "structure",
676 "members": {
677 "ApplicationId": {
678 "locationName": "applicationId"
679 },
680 "Author": {
681 "locationName": "author"
682 },
683 "CreationTime": {
684 "locationName": "creationTime"
685 },
686 "Description": {
687 "locationName": "description"
688 },
689 "HomePageUrl": {
690 "locationName": "homePageUrl"
691 },
692 "Labels": {
693 "shape": "S3",
694 "locationName": "labels"
695 },
696 "Name": {
697 "locationName": "name"
698 },
699 "SpdxLicenseId": {
700 "locationName": "spdxLicenseId"
701 }
702 },
703 "required": [
704 "Description",
705 "Author",
706 "ApplicationId",
707 "Name"
708 ]
709 }
710 },
711 "NextToken": {
712 "locationName": "nextToken"
713 }
714 }
715 }
716 },
717 "PutApplicationPolicy": {
718 "http": {
719 "method": "PUT",
720 "requestUri": "/applications/{applicationId}/policy",
721 "responseCode": 200
722 },
723 "input": {
724 "type": "structure",
725 "members": {
726 "ApplicationId": {
727 "location": "uri",
728 "locationName": "applicationId"
729 },
730 "Statements": {
731 "shape": "Sv",
732 "locationName": "statements"
733 }
734 },
735 "required": [
736 "ApplicationId",
737 "Statements"
738 ]
739 },
740 "output": {
741 "type": "structure",
742 "members": {
743 "Statements": {
744 "shape": "Sv",
745 "locationName": "statements"
746 }
747 }
748 }
749 },
750 "UpdateApplication": {
751 "http": {
752 "method": "PATCH",
753 "requestUri": "/applications/{applicationId}",
754 "responseCode": 200
755 },
756 "input": {
757 "type": "structure",
758 "members": {
759 "ApplicationId": {
760 "location": "uri",
761 "locationName": "applicationId"
762 },
763 "Author": {
764 "locationName": "author"
765 },
766 "Description": {
767 "locationName": "description"
768 },
769 "HomePageUrl": {
770 "locationName": "homePageUrl"
771 },
772 "Labels": {
773 "shape": "S3",
774 "locationName": "labels"
775 },
776 "ReadmeBody": {
777 "locationName": "readmeBody"
778 },
779 "ReadmeUrl": {
780 "locationName": "readmeUrl"
781 }
782 },
783 "required": [
784 "ApplicationId"
785 ]
786 },
787 "output": {
788 "type": "structure",
789 "members": {
790 "ApplicationId": {
791 "locationName": "applicationId"
792 },
793 "Author": {
794 "locationName": "author"
795 },
796 "CreationTime": {
797 "locationName": "creationTime"
798 },
799 "Description": {
800 "locationName": "description"
801 },
802 "HomePageUrl": {
803 "locationName": "homePageUrl"
804 },
805 "Labels": {
806 "shape": "S3",
807 "locationName": "labels"
808 },
809 "LicenseUrl": {
810 "locationName": "licenseUrl"
811 },
812 "Name": {
813 "locationName": "name"
814 },
815 "ReadmeUrl": {
816 "locationName": "readmeUrl"
817 },
818 "SpdxLicenseId": {
819 "locationName": "spdxLicenseId"
820 },
821 "Version": {
822 "shape": "S5",
823 "locationName": "version"
824 }
825 }
826 }
827 }
828 },
829 "shapes": {
830 "S3": {
831 "type": "list",
832 "member": {}
833 },
834 "S5": {
835 "type": "structure",
836 "members": {
837 "ApplicationId": {
838 "locationName": "applicationId"
839 },
840 "CreationTime": {
841 "locationName": "creationTime"
842 },
843 "ParameterDefinitions": {
844 "shape": "S6",
845 "locationName": "parameterDefinitions"
846 },
847 "RequiredCapabilities": {
848 "shape": "Sa",
849 "locationName": "requiredCapabilities"
850 },
851 "ResourcesSupported": {
852 "locationName": "resourcesSupported",
853 "type": "boolean"
854 },
855 "SemanticVersion": {
856 "locationName": "semanticVersion"
857 },
858 "SourceCodeArchiveUrl": {
859 "locationName": "sourceCodeArchiveUrl"
860 },
861 "SourceCodeUrl": {
862 "locationName": "sourceCodeUrl"
863 },
864 "TemplateUrl": {
865 "locationName": "templateUrl"
866 }
867 },
868 "required": [
869 "TemplateUrl",
870 "ParameterDefinitions",
871 "ResourcesSupported",
872 "CreationTime",
873 "RequiredCapabilities",
874 "ApplicationId",
875 "SemanticVersion"
876 ]
877 },
878 "S6": {
879 "type": "list",
880 "member": {
881 "type": "structure",
882 "members": {
883 "AllowedPattern": {
884 "locationName": "allowedPattern"
885 },
886 "AllowedValues": {
887 "shape": "S3",
888 "locationName": "allowedValues"
889 },
890 "ConstraintDescription": {
891 "locationName": "constraintDescription"
892 },
893 "DefaultValue": {
894 "locationName": "defaultValue"
895 },
896 "Description": {
897 "locationName": "description"
898 },
899 "MaxLength": {
900 "locationName": "maxLength",
901 "type": "integer"
902 },
903 "MaxValue": {
904 "locationName": "maxValue",
905 "type": "integer"
906 },
907 "MinLength": {
908 "locationName": "minLength",
909 "type": "integer"
910 },
911 "MinValue": {
912 "locationName": "minValue",
913 "type": "integer"
914 },
915 "Name": {
916 "locationName": "name"
917 },
918 "NoEcho": {
919 "locationName": "noEcho",
920 "type": "boolean"
921 },
922 "ReferencedByResources": {
923 "shape": "S3",
924 "locationName": "referencedByResources"
925 },
926 "Type": {
927 "locationName": "type"
928 }
929 },
930 "required": [
931 "ReferencedByResources",
932 "Name"
933 ]
934 }
935 },
936 "Sa": {
937 "type": "list",
938 "member": {}
939 },
940 "Sv": {
941 "type": "list",
942 "member": {
943 "type": "structure",
944 "members": {
945 "Actions": {
946 "shape": "S3",
947 "locationName": "actions"
948 },
949 "Principals": {
950 "shape": "S3",
951 "locationName": "principals"
952 },
953 "StatementId": {
954 "locationName": "statementId"
955 }
956 },
957 "required": [
958 "Principals",
959 "Actions"
960 ]
961 }
962 }
963 }
964}
\No newline at end of file