UNPKG

25.7 kBJSONView Raw
1{
2 "version": "2.0",
3 "metadata": {
4 "apiVersion": "2019-10-09",
5 "endpointPrefix": "appconfig",
6 "jsonVersion": "1.1",
7 "protocol": "rest-json",
8 "serviceAbbreviation": "AppConfig",
9 "serviceFullName": "Amazon AppConfig",
10 "serviceId": "AppConfig",
11 "signatureVersion": "v4",
12 "signingName": "appconfig",
13 "uid": "appconfig-2019-10-09"
14 },
15 "operations": {
16 "CreateApplication": {
17 "http": {
18 "requestUri": "/applications",
19 "responseCode": 201
20 },
21 "input": {
22 "type": "structure",
23 "required": [
24 "Name"
25 ],
26 "members": {
27 "Name": {},
28 "Description": {},
29 "Tags": {
30 "shape": "S4"
31 }
32 }
33 },
34 "output": {
35 "shape": "S7"
36 }
37 },
38 "CreateConfigurationProfile": {
39 "http": {
40 "requestUri": "/applications/{ApplicationId}/configurationprofiles",
41 "responseCode": 201
42 },
43 "input": {
44 "type": "structure",
45 "required": [
46 "ApplicationId",
47 "Name",
48 "LocationUri",
49 "RetrievalRoleArn"
50 ],
51 "members": {
52 "ApplicationId": {
53 "location": "uri",
54 "locationName": "ApplicationId"
55 },
56 "Name": {},
57 "Description": {},
58 "LocationUri": {},
59 "RetrievalRoleArn": {},
60 "Validators": {
61 "shape": "Sc"
62 },
63 "Tags": {
64 "shape": "S4"
65 }
66 }
67 },
68 "output": {
69 "shape": "Sg"
70 }
71 },
72 "CreateDeploymentStrategy": {
73 "http": {
74 "requestUri": "/deploymentstrategies",
75 "responseCode": 201
76 },
77 "input": {
78 "type": "structure",
79 "required": [
80 "Name",
81 "DeploymentDurationInMinutes",
82 "GrowthFactor",
83 "ReplicateTo"
84 ],
85 "members": {
86 "Name": {},
87 "Description": {},
88 "DeploymentDurationInMinutes": {
89 "type": "integer"
90 },
91 "FinalBakeTimeInMinutes": {
92 "type": "integer"
93 },
94 "GrowthFactor": {
95 "type": "float"
96 },
97 "GrowthType": {},
98 "ReplicateTo": {},
99 "Tags": {
100 "shape": "S4"
101 }
102 }
103 },
104 "output": {
105 "shape": "Sm"
106 }
107 },
108 "CreateEnvironment": {
109 "http": {
110 "requestUri": "/applications/{ApplicationId}/environments",
111 "responseCode": 201
112 },
113 "input": {
114 "type": "structure",
115 "required": [
116 "ApplicationId",
117 "Name"
118 ],
119 "members": {
120 "ApplicationId": {
121 "location": "uri",
122 "locationName": "ApplicationId"
123 },
124 "Name": {},
125 "Description": {},
126 "Monitors": {
127 "shape": "Sp"
128 },
129 "Tags": {
130 "shape": "S4"
131 }
132 }
133 },
134 "output": {
135 "shape": "Sr"
136 }
137 },
138 "DeleteApplication": {
139 "http": {
140 "method": "DELETE",
141 "requestUri": "/applications/{ApplicationId}",
142 "responseCode": 204
143 },
144 "input": {
145 "type": "structure",
146 "required": [
147 "ApplicationId"
148 ],
149 "members": {
150 "ApplicationId": {
151 "location": "uri",
152 "locationName": "ApplicationId"
153 }
154 }
155 }
156 },
157 "DeleteConfigurationProfile": {
158 "http": {
159 "method": "DELETE",
160 "requestUri": "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}",
161 "responseCode": 204
162 },
163 "input": {
164 "type": "structure",
165 "required": [
166 "ApplicationId",
167 "ConfigurationProfileId"
168 ],
169 "members": {
170 "ApplicationId": {
171 "location": "uri",
172 "locationName": "ApplicationId"
173 },
174 "ConfigurationProfileId": {
175 "location": "uri",
176 "locationName": "ConfigurationProfileId"
177 }
178 }
179 }
180 },
181 "DeleteDeploymentStrategy": {
182 "http": {
183 "method": "DELETE",
184 "requestUri": "/deployementstrategies/{DeploymentStrategyId}",
185 "responseCode": 204
186 },
187 "input": {
188 "type": "structure",
189 "required": [
190 "DeploymentStrategyId"
191 ],
192 "members": {
193 "DeploymentStrategyId": {
194 "location": "uri",
195 "locationName": "DeploymentStrategyId"
196 }
197 }
198 }
199 },
200 "DeleteEnvironment": {
201 "http": {
202 "method": "DELETE",
203 "requestUri": "/applications/{ApplicationId}/environments/{EnvironmentId}",
204 "responseCode": 204
205 },
206 "input": {
207 "type": "structure",
208 "required": [
209 "ApplicationId",
210 "EnvironmentId"
211 ],
212 "members": {
213 "ApplicationId": {
214 "location": "uri",
215 "locationName": "ApplicationId"
216 },
217 "EnvironmentId": {
218 "location": "uri",
219 "locationName": "EnvironmentId"
220 }
221 }
222 }
223 },
224 "GetApplication": {
225 "http": {
226 "method": "GET",
227 "requestUri": "/applications/{ApplicationId}",
228 "responseCode": 200
229 },
230 "input": {
231 "type": "structure",
232 "required": [
233 "ApplicationId"
234 ],
235 "members": {
236 "ApplicationId": {
237 "location": "uri",
238 "locationName": "ApplicationId"
239 }
240 }
241 },
242 "output": {
243 "shape": "S7"
244 }
245 },
246 "GetConfiguration": {
247 "http": {
248 "method": "GET",
249 "requestUri": "/applications/{Application}/environments/{Environment}/configurations/{Configuration}",
250 "responseCode": 200
251 },
252 "input": {
253 "type": "structure",
254 "required": [
255 "Application",
256 "Environment",
257 "Configuration",
258 "ClientId"
259 ],
260 "members": {
261 "Application": {
262 "location": "uri",
263 "locationName": "Application"
264 },
265 "Environment": {
266 "location": "uri",
267 "locationName": "Environment"
268 },
269 "Configuration": {
270 "location": "uri",
271 "locationName": "Configuration"
272 },
273 "ClientId": {
274 "location": "querystring",
275 "locationName": "client_id"
276 },
277 "ClientConfigurationVersion": {
278 "location": "querystring",
279 "locationName": "client_configuration_version"
280 }
281 }
282 },
283 "output": {
284 "type": "structure",
285 "members": {
286 "Content": {
287 "type": "blob"
288 },
289 "ConfigurationVersion": {
290 "location": "header",
291 "locationName": "Configuration-Version"
292 },
293 "ContentType": {
294 "location": "header",
295 "locationName": "Content-Type"
296 }
297 },
298 "payload": "Content"
299 }
300 },
301 "GetConfigurationProfile": {
302 "http": {
303 "method": "GET",
304 "requestUri": "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}",
305 "responseCode": 200
306 },
307 "input": {
308 "type": "structure",
309 "required": [
310 "ApplicationId",
311 "ConfigurationProfileId"
312 ],
313 "members": {
314 "ApplicationId": {
315 "location": "uri",
316 "locationName": "ApplicationId"
317 },
318 "ConfigurationProfileId": {
319 "location": "uri",
320 "locationName": "ConfigurationProfileId"
321 }
322 }
323 },
324 "output": {
325 "shape": "Sg"
326 }
327 },
328 "GetDeployment": {
329 "http": {
330 "method": "GET",
331 "requestUri": "/applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}",
332 "responseCode": 200
333 },
334 "input": {
335 "type": "structure",
336 "required": [
337 "ApplicationId",
338 "EnvironmentId",
339 "DeploymentNumber"
340 ],
341 "members": {
342 "ApplicationId": {
343 "location": "uri",
344 "locationName": "ApplicationId"
345 },
346 "EnvironmentId": {
347 "location": "uri",
348 "locationName": "EnvironmentId"
349 },
350 "DeploymentNumber": {
351 "location": "uri",
352 "locationName": "DeploymentNumber",
353 "type": "integer"
354 }
355 }
356 },
357 "output": {
358 "shape": "S18"
359 }
360 },
361 "GetDeploymentStrategy": {
362 "http": {
363 "method": "GET",
364 "requestUri": "/deploymentstrategies/{DeploymentStrategyId}",
365 "responseCode": 200
366 },
367 "input": {
368 "type": "structure",
369 "required": [
370 "DeploymentStrategyId"
371 ],
372 "members": {
373 "DeploymentStrategyId": {
374 "location": "uri",
375 "locationName": "DeploymentStrategyId"
376 }
377 }
378 },
379 "output": {
380 "shape": "Sm"
381 }
382 },
383 "GetEnvironment": {
384 "http": {
385 "method": "GET",
386 "requestUri": "/applications/{ApplicationId}/environments/{EnvironmentId}",
387 "responseCode": 200
388 },
389 "input": {
390 "type": "structure",
391 "required": [
392 "ApplicationId",
393 "EnvironmentId"
394 ],
395 "members": {
396 "ApplicationId": {
397 "location": "uri",
398 "locationName": "ApplicationId"
399 },
400 "EnvironmentId": {
401 "location": "uri",
402 "locationName": "EnvironmentId"
403 }
404 }
405 },
406 "output": {
407 "shape": "Sr"
408 }
409 },
410 "ListApplications": {
411 "http": {
412 "method": "GET",
413 "requestUri": "/applications",
414 "responseCode": 200
415 },
416 "input": {
417 "type": "structure",
418 "members": {
419 "MaxResults": {
420 "location": "querystring",
421 "locationName": "max_results",
422 "type": "integer"
423 },
424 "NextToken": {
425 "location": "querystring",
426 "locationName": "next_token"
427 }
428 }
429 },
430 "output": {
431 "type": "structure",
432 "members": {
433 "Items": {
434 "type": "list",
435 "member": {
436 "shape": "S7"
437 }
438 },
439 "NextToken": {}
440 }
441 }
442 },
443 "ListConfigurationProfiles": {
444 "http": {
445 "method": "GET",
446 "requestUri": "/applications/{ApplicationId}/configurationprofiles",
447 "responseCode": 200
448 },
449 "input": {
450 "type": "structure",
451 "required": [
452 "ApplicationId"
453 ],
454 "members": {
455 "ApplicationId": {
456 "location": "uri",
457 "locationName": "ApplicationId"
458 },
459 "MaxResults": {
460 "location": "querystring",
461 "locationName": "max_results",
462 "type": "integer"
463 },
464 "NextToken": {
465 "location": "querystring",
466 "locationName": "next_token"
467 }
468 }
469 },
470 "output": {
471 "type": "structure",
472 "members": {
473 "Items": {
474 "type": "list",
475 "member": {
476 "type": "structure",
477 "members": {
478 "ApplicationId": {},
479 "Id": {},
480 "Name": {},
481 "LocationUri": {},
482 "ValidatorTypes": {
483 "type": "list",
484 "member": {}
485 }
486 }
487 }
488 },
489 "NextToken": {}
490 }
491 }
492 },
493 "ListDeploymentStrategies": {
494 "http": {
495 "method": "GET",
496 "requestUri": "/deploymentstrategies",
497 "responseCode": 200
498 },
499 "input": {
500 "type": "structure",
501 "members": {
502 "MaxResults": {
503 "location": "querystring",
504 "locationName": "max_results",
505 "type": "integer"
506 },
507 "NextToken": {
508 "location": "querystring",
509 "locationName": "next_token"
510 }
511 }
512 },
513 "output": {
514 "type": "structure",
515 "members": {
516 "Items": {
517 "type": "list",
518 "member": {
519 "shape": "Sm"
520 }
521 },
522 "NextToken": {}
523 }
524 }
525 },
526 "ListDeployments": {
527 "http": {
528 "method": "GET",
529 "requestUri": "/applications/{ApplicationId}/environments/{EnvironmentId}/deployments",
530 "responseCode": 200
531 },
532 "input": {
533 "type": "structure",
534 "required": [
535 "ApplicationId",
536 "EnvironmentId"
537 ],
538 "members": {
539 "ApplicationId": {
540 "location": "uri",
541 "locationName": "ApplicationId"
542 },
543 "EnvironmentId": {
544 "location": "uri",
545 "locationName": "EnvironmentId"
546 },
547 "MaxResults": {
548 "location": "querystring",
549 "locationName": "max_results",
550 "type": "integer"
551 },
552 "NextToken": {
553 "location": "querystring",
554 "locationName": "next_token"
555 }
556 }
557 },
558 "output": {
559 "type": "structure",
560 "members": {
561 "Items": {
562 "type": "list",
563 "member": {
564 "type": "structure",
565 "members": {
566 "DeploymentNumber": {
567 "type": "integer"
568 },
569 "ConfigurationName": {},
570 "ConfigurationVersion": {},
571 "DeploymentDurationInMinutes": {
572 "type": "integer"
573 },
574 "GrowthType": {},
575 "GrowthFactor": {
576 "type": "float"
577 },
578 "FinalBakeTimeInMinutes": {
579 "type": "integer"
580 },
581 "State": {},
582 "PercentageComplete": {
583 "type": "float"
584 },
585 "StartedAt": {
586 "shape": "S1e"
587 },
588 "CompletedAt": {
589 "shape": "S1e"
590 }
591 }
592 }
593 },
594 "NextToken": {}
595 }
596 }
597 },
598 "ListEnvironments": {
599 "http": {
600 "method": "GET",
601 "requestUri": "/applications/{ApplicationId}/environments",
602 "responseCode": 200
603 },
604 "input": {
605 "type": "structure",
606 "required": [
607 "ApplicationId"
608 ],
609 "members": {
610 "ApplicationId": {
611 "location": "uri",
612 "locationName": "ApplicationId"
613 },
614 "MaxResults": {
615 "location": "querystring",
616 "locationName": "max_results",
617 "type": "integer"
618 },
619 "NextToken": {
620 "location": "querystring",
621 "locationName": "next_token"
622 }
623 }
624 },
625 "output": {
626 "type": "structure",
627 "members": {
628 "Items": {
629 "type": "list",
630 "member": {
631 "shape": "Sr"
632 }
633 },
634 "NextToken": {}
635 }
636 }
637 },
638 "ListTagsForResource": {
639 "http": {
640 "method": "GET",
641 "requestUri": "/tags/{ResourceArn}",
642 "responseCode": 200
643 },
644 "input": {
645 "type": "structure",
646 "required": [
647 "ResourceArn"
648 ],
649 "members": {
650 "ResourceArn": {
651 "location": "uri",
652 "locationName": "ResourceArn"
653 }
654 }
655 },
656 "output": {
657 "type": "structure",
658 "members": {
659 "Tags": {
660 "shape": "S4"
661 }
662 }
663 }
664 },
665 "StartDeployment": {
666 "http": {
667 "requestUri": "/applications/{ApplicationId}/environments/{EnvironmentId}/deployments",
668 "responseCode": 201
669 },
670 "input": {
671 "type": "structure",
672 "required": [
673 "ApplicationId",
674 "EnvironmentId",
675 "DeploymentStrategyId",
676 "ConfigurationProfileId",
677 "ConfigurationVersion"
678 ],
679 "members": {
680 "ApplicationId": {
681 "location": "uri",
682 "locationName": "ApplicationId"
683 },
684 "EnvironmentId": {
685 "location": "uri",
686 "locationName": "EnvironmentId"
687 },
688 "DeploymentStrategyId": {},
689 "ConfigurationProfileId": {},
690 "ConfigurationVersion": {},
691 "Description": {},
692 "Tags": {
693 "shape": "S4"
694 }
695 }
696 },
697 "output": {
698 "shape": "S18"
699 }
700 },
701 "StopDeployment": {
702 "http": {
703 "method": "DELETE",
704 "requestUri": "/applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}",
705 "responseCode": 202
706 },
707 "input": {
708 "type": "structure",
709 "required": [
710 "ApplicationId",
711 "EnvironmentId",
712 "DeploymentNumber"
713 ],
714 "members": {
715 "ApplicationId": {
716 "location": "uri",
717 "locationName": "ApplicationId"
718 },
719 "EnvironmentId": {
720 "location": "uri",
721 "locationName": "EnvironmentId"
722 },
723 "DeploymentNumber": {
724 "location": "uri",
725 "locationName": "DeploymentNumber",
726 "type": "integer"
727 }
728 }
729 },
730 "output": {
731 "shape": "S18"
732 }
733 },
734 "TagResource": {
735 "http": {
736 "requestUri": "/tags/{ResourceArn}",
737 "responseCode": 204
738 },
739 "input": {
740 "type": "structure",
741 "required": [
742 "ResourceArn",
743 "Tags"
744 ],
745 "members": {
746 "ResourceArn": {
747 "location": "uri",
748 "locationName": "ResourceArn"
749 },
750 "Tags": {
751 "shape": "S4"
752 }
753 }
754 }
755 },
756 "UntagResource": {
757 "http": {
758 "method": "DELETE",
759 "requestUri": "/tags/{ResourceArn}",
760 "responseCode": 204
761 },
762 "input": {
763 "type": "structure",
764 "required": [
765 "ResourceArn",
766 "TagKeys"
767 ],
768 "members": {
769 "ResourceArn": {
770 "location": "uri",
771 "locationName": "ResourceArn"
772 },
773 "TagKeys": {
774 "location": "querystring",
775 "locationName": "tagKeys",
776 "type": "list",
777 "member": {}
778 }
779 }
780 }
781 },
782 "UpdateApplication": {
783 "http": {
784 "method": "PATCH",
785 "requestUri": "/applications/{ApplicationId}",
786 "responseCode": 200
787 },
788 "input": {
789 "type": "structure",
790 "required": [
791 "ApplicationId"
792 ],
793 "members": {
794 "ApplicationId": {
795 "location": "uri",
796 "locationName": "ApplicationId"
797 },
798 "Name": {},
799 "Description": {}
800 }
801 },
802 "output": {
803 "shape": "S7"
804 }
805 },
806 "UpdateConfigurationProfile": {
807 "http": {
808 "method": "PATCH",
809 "requestUri": "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}",
810 "responseCode": 200
811 },
812 "input": {
813 "type": "structure",
814 "required": [
815 "ApplicationId",
816 "ConfigurationProfileId"
817 ],
818 "members": {
819 "ApplicationId": {
820 "location": "uri",
821 "locationName": "ApplicationId"
822 },
823 "ConfigurationProfileId": {
824 "location": "uri",
825 "locationName": "ConfigurationProfileId"
826 },
827 "Name": {},
828 "Description": {},
829 "RetrievalRoleArn": {},
830 "Validators": {
831 "shape": "Sc"
832 }
833 }
834 },
835 "output": {
836 "shape": "Sg"
837 }
838 },
839 "UpdateDeploymentStrategy": {
840 "http": {
841 "method": "PATCH",
842 "requestUri": "/deploymentstrategies/{DeploymentStrategyId}",
843 "responseCode": 200
844 },
845 "input": {
846 "type": "structure",
847 "required": [
848 "DeploymentStrategyId"
849 ],
850 "members": {
851 "DeploymentStrategyId": {
852 "location": "uri",
853 "locationName": "DeploymentStrategyId"
854 },
855 "Description": {},
856 "DeploymentDurationInMinutes": {
857 "type": "integer"
858 },
859 "FinalBakeTimeInMinutes": {
860 "type": "integer"
861 },
862 "GrowthFactor": {
863 "type": "float"
864 },
865 "GrowthType": {}
866 }
867 },
868 "output": {
869 "shape": "Sm"
870 }
871 },
872 "UpdateEnvironment": {
873 "http": {
874 "method": "PATCH",
875 "requestUri": "/applications/{ApplicationId}/environments/{EnvironmentId}",
876 "responseCode": 200
877 },
878 "input": {
879 "type": "structure",
880 "required": [
881 "ApplicationId",
882 "EnvironmentId"
883 ],
884 "members": {
885 "ApplicationId": {
886 "location": "uri",
887 "locationName": "ApplicationId"
888 },
889 "EnvironmentId": {
890 "location": "uri",
891 "locationName": "EnvironmentId"
892 },
893 "Name": {},
894 "Description": {},
895 "Monitors": {
896 "shape": "Sp"
897 }
898 }
899 },
900 "output": {
901 "shape": "Sr"
902 }
903 },
904 "ValidateConfiguration": {
905 "http": {
906 "requestUri": "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/validators",
907 "responseCode": 204
908 },
909 "input": {
910 "type": "structure",
911 "required": [
912 "ApplicationId",
913 "ConfigurationProfileId",
914 "ConfigurationVersion"
915 ],
916 "members": {
917 "ApplicationId": {
918 "location": "uri",
919 "locationName": "ApplicationId"
920 },
921 "ConfigurationProfileId": {
922 "location": "uri",
923 "locationName": "ConfigurationProfileId"
924 },
925 "ConfigurationVersion": {
926 "location": "querystring",
927 "locationName": "configuration_version"
928 }
929 }
930 }
931 }
932 },
933 "shapes": {
934 "S4": {
935 "type": "map",
936 "key": {},
937 "value": {}
938 },
939 "S7": {
940 "type": "structure",
941 "members": {
942 "Id": {},
943 "Name": {},
944 "Description": {}
945 }
946 },
947 "Sc": {
948 "type": "list",
949 "member": {
950 "type": "structure",
951 "required": [
952 "Type",
953 "Content"
954 ],
955 "members": {
956 "Type": {},
957 "Content": {}
958 }
959 }
960 },
961 "Sg": {
962 "type": "structure",
963 "members": {
964 "ApplicationId": {},
965 "Id": {},
966 "Name": {},
967 "Description": {},
968 "LocationUri": {},
969 "RetrievalRoleArn": {},
970 "Validators": {
971 "shape": "Sc"
972 }
973 }
974 },
975 "Sm": {
976 "type": "structure",
977 "members": {
978 "Id": {},
979 "Name": {},
980 "Description": {},
981 "DeploymentDurationInMinutes": {
982 "type": "integer"
983 },
984 "GrowthType": {},
985 "GrowthFactor": {
986 "type": "float"
987 },
988 "FinalBakeTimeInMinutes": {
989 "type": "integer"
990 },
991 "ReplicateTo": {}
992 }
993 },
994 "Sp": {
995 "type": "list",
996 "member": {
997 "type": "structure",
998 "members": {
999 "AlarmArn": {},
1000 "AlarmRoleArn": {}
1001 }
1002 }
1003 },
1004 "Sr": {
1005 "type": "structure",
1006 "members": {
1007 "ApplicationId": {},
1008 "Id": {},
1009 "Name": {},
1010 "Description": {},
1011 "State": {},
1012 "Monitors": {
1013 "shape": "Sp"
1014 }
1015 }
1016 },
1017 "S18": {
1018 "type": "structure",
1019 "members": {
1020 "ApplicationId": {},
1021 "EnvironmentId": {},
1022 "DeploymentStrategyId": {},
1023 "ConfigurationProfileId": {},
1024 "DeploymentNumber": {
1025 "type": "integer"
1026 },
1027 "ConfigurationName": {},
1028 "ConfigurationLocationUri": {},
1029 "ConfigurationVersion": {},
1030 "Description": {},
1031 "DeploymentDurationInMinutes": {
1032 "type": "integer"
1033 },
1034 "GrowthType": {},
1035 "GrowthFactor": {
1036 "type": "float"
1037 },
1038 "FinalBakeTimeInMinutes": {
1039 "type": "integer"
1040 },
1041 "State": {},
1042 "EventLog": {
1043 "type": "list",
1044 "member": {
1045 "type": "structure",
1046 "members": {
1047 "EventType": {},
1048 "TriggeredBy": {},
1049 "Description": {},
1050 "OccurredAt": {
1051 "shape": "S1e"
1052 }
1053 }
1054 }
1055 },
1056 "PercentageComplete": {
1057 "type": "float"
1058 },
1059 "StartedAt": {
1060 "shape": "S1e"
1061 },
1062 "CompletedAt": {
1063 "shape": "S1e"
1064 }
1065 }
1066 },
1067 "S1e": {
1068 "type": "timestamp",
1069 "timestampFormat": "iso8601"
1070 }
1071 }
1072}
\No newline at end of file