1 | {
|
2 | "version": "2.0",
|
3 | "metadata": {
|
4 | "apiVersion": "2017-07-25",
|
5 | "endpointPrefix": "appsync",
|
6 | "jsonVersion": "1.1",
|
7 | "protocol": "rest-json",
|
8 | "serviceAbbreviation": "AWSAppSync",
|
9 | "serviceFullName": "AWS AppSync",
|
10 | "serviceId": "AppSync",
|
11 | "signatureVersion": "v4",
|
12 | "signingName": "appsync",
|
13 | "uid": "appsync-2017-07-25"
|
14 | },
|
15 | "operations": {
|
16 | "CreateApiKey": {
|
17 | "http": {
|
18 | "requestUri": "/v1/apis/{apiId}/apikeys"
|
19 | },
|
20 | "input": {
|
21 | "type": "structure",
|
22 | "required": [
|
23 | "apiId"
|
24 | ],
|
25 | "members": {
|
26 | "apiId": {
|
27 | "location": "uri",
|
28 | "locationName": "apiId"
|
29 | },
|
30 | "description": {},
|
31 | "expires": {
|
32 | "type": "long"
|
33 | }
|
34 | }
|
35 | },
|
36 | "output": {
|
37 | "type": "structure",
|
38 | "members": {
|
39 | "apiKey": {
|
40 | "shape": "S5"
|
41 | }
|
42 | }
|
43 | }
|
44 | },
|
45 | "CreateDataSource": {
|
46 | "http": {
|
47 | "requestUri": "/v1/apis/{apiId}/datasources"
|
48 | },
|
49 | "input": {
|
50 | "type": "structure",
|
51 | "required": [
|
52 | "apiId",
|
53 | "name",
|
54 | "type"
|
55 | ],
|
56 | "members": {
|
57 | "apiId": {
|
58 | "location": "uri",
|
59 | "locationName": "apiId"
|
60 | },
|
61 | "name": {},
|
62 | "description": {},
|
63 | "type": {},
|
64 | "serviceRoleArn": {},
|
65 | "dynamodbConfig": {
|
66 | "shape": "S9"
|
67 | },
|
68 | "lambdaConfig": {
|
69 | "shape": "Sb"
|
70 | },
|
71 | "elasticsearchConfig": {
|
72 | "shape": "Sc"
|
73 | },
|
74 | "httpConfig": {
|
75 | "shape": "Sd"
|
76 | },
|
77 | "relationalDatabaseConfig": {
|
78 | "shape": "Sh"
|
79 | }
|
80 | }
|
81 | },
|
82 | "output": {
|
83 | "type": "structure",
|
84 | "members": {
|
85 | "dataSource": {
|
86 | "shape": "Sl"
|
87 | }
|
88 | }
|
89 | }
|
90 | },
|
91 | "CreateFunction": {
|
92 | "http": {
|
93 | "requestUri": "/v1/apis/{apiId}/functions"
|
94 | },
|
95 | "input": {
|
96 | "type": "structure",
|
97 | "required": [
|
98 | "apiId",
|
99 | "name",
|
100 | "dataSourceName",
|
101 | "requestMappingTemplate",
|
102 | "functionVersion"
|
103 | ],
|
104 | "members": {
|
105 | "apiId": {
|
106 | "location": "uri",
|
107 | "locationName": "apiId"
|
108 | },
|
109 | "name": {},
|
110 | "description": {},
|
111 | "dataSourceName": {},
|
112 | "requestMappingTemplate": {},
|
113 | "responseMappingTemplate": {},
|
114 | "functionVersion": {}
|
115 | }
|
116 | },
|
117 | "output": {
|
118 | "type": "structure",
|
119 | "members": {
|
120 | "functionConfiguration": {
|
121 | "shape": "Sp"
|
122 | }
|
123 | }
|
124 | }
|
125 | },
|
126 | "CreateGraphqlApi": {
|
127 | "http": {
|
128 | "requestUri": "/v1/apis"
|
129 | },
|
130 | "input": {
|
131 | "type": "structure",
|
132 | "required": [
|
133 | "name",
|
134 | "authenticationType"
|
135 | ],
|
136 | "members": {
|
137 | "name": {},
|
138 | "logConfig": {
|
139 | "shape": "Sr"
|
140 | },
|
141 | "authenticationType": {},
|
142 | "userPoolConfig": {
|
143 | "shape": "Su"
|
144 | },
|
145 | "openIDConnectConfig": {
|
146 | "shape": "Sw"
|
147 | }
|
148 | }
|
149 | },
|
150 | "output": {
|
151 | "type": "structure",
|
152 | "members": {
|
153 | "graphqlApi": {
|
154 | "shape": "Sy"
|
155 | }
|
156 | }
|
157 | }
|
158 | },
|
159 | "CreateResolver": {
|
160 | "http": {
|
161 | "requestUri": "/v1/apis/{apiId}/types/{typeName}/resolvers"
|
162 | },
|
163 | "input": {
|
164 | "type": "structure",
|
165 | "required": [
|
166 | "apiId",
|
167 | "typeName",
|
168 | "fieldName",
|
169 | "requestMappingTemplate"
|
170 | ],
|
171 | "members": {
|
172 | "apiId": {
|
173 | "location": "uri",
|
174 | "locationName": "apiId"
|
175 | },
|
176 | "typeName": {
|
177 | "location": "uri",
|
178 | "locationName": "typeName"
|
179 | },
|
180 | "fieldName": {},
|
181 | "dataSourceName": {},
|
182 | "requestMappingTemplate": {},
|
183 | "responseMappingTemplate": {},
|
184 | "kind": {},
|
185 | "pipelineConfig": {
|
186 | "shape": "S12"
|
187 | }
|
188 | }
|
189 | },
|
190 | "output": {
|
191 | "type": "structure",
|
192 | "members": {
|
193 | "resolver": {
|
194 | "shape": "S15"
|
195 | }
|
196 | }
|
197 | }
|
198 | },
|
199 | "CreateType": {
|
200 | "http": {
|
201 | "requestUri": "/v1/apis/{apiId}/types"
|
202 | },
|
203 | "input": {
|
204 | "type": "structure",
|
205 | "required": [
|
206 | "apiId",
|
207 | "definition",
|
208 | "format"
|
209 | ],
|
210 | "members": {
|
211 | "apiId": {
|
212 | "location": "uri",
|
213 | "locationName": "apiId"
|
214 | },
|
215 | "definition": {},
|
216 | "format": {}
|
217 | }
|
218 | },
|
219 | "output": {
|
220 | "type": "structure",
|
221 | "members": {
|
222 | "type": {
|
223 | "shape": "S19"
|
224 | }
|
225 | }
|
226 | }
|
227 | },
|
228 | "DeleteApiKey": {
|
229 | "http": {
|
230 | "method": "DELETE",
|
231 | "requestUri": "/v1/apis/{apiId}/apikeys/{id}"
|
232 | },
|
233 | "input": {
|
234 | "type": "structure",
|
235 | "required": [
|
236 | "apiId",
|
237 | "id"
|
238 | ],
|
239 | "members": {
|
240 | "apiId": {
|
241 | "location": "uri",
|
242 | "locationName": "apiId"
|
243 | },
|
244 | "id": {
|
245 | "location": "uri",
|
246 | "locationName": "id"
|
247 | }
|
248 | }
|
249 | },
|
250 | "output": {
|
251 | "type": "structure",
|
252 | "members": {}
|
253 | }
|
254 | },
|
255 | "DeleteDataSource": {
|
256 | "http": {
|
257 | "method": "DELETE",
|
258 | "requestUri": "/v1/apis/{apiId}/datasources/{name}"
|
259 | },
|
260 | "input": {
|
261 | "type": "structure",
|
262 | "required": [
|
263 | "apiId",
|
264 | "name"
|
265 | ],
|
266 | "members": {
|
267 | "apiId": {
|
268 | "location": "uri",
|
269 | "locationName": "apiId"
|
270 | },
|
271 | "name": {
|
272 | "location": "uri",
|
273 | "locationName": "name"
|
274 | }
|
275 | }
|
276 | },
|
277 | "output": {
|
278 | "type": "structure",
|
279 | "members": {}
|
280 | }
|
281 | },
|
282 | "DeleteFunction": {
|
283 | "http": {
|
284 | "method": "DELETE",
|
285 | "requestUri": "/v1/apis/{apiId}/functions/{functionId}"
|
286 | },
|
287 | "input": {
|
288 | "type": "structure",
|
289 | "required": [
|
290 | "apiId",
|
291 | "functionId"
|
292 | ],
|
293 | "members": {
|
294 | "apiId": {
|
295 | "location": "uri",
|
296 | "locationName": "apiId"
|
297 | },
|
298 | "functionId": {
|
299 | "location": "uri",
|
300 | "locationName": "functionId"
|
301 | }
|
302 | }
|
303 | },
|
304 | "output": {
|
305 | "type": "structure",
|
306 | "members": {}
|
307 | }
|
308 | },
|
309 | "DeleteGraphqlApi": {
|
310 | "http": {
|
311 | "method": "DELETE",
|
312 | "requestUri": "/v1/apis/{apiId}"
|
313 | },
|
314 | "input": {
|
315 | "type": "structure",
|
316 | "required": [
|
317 | "apiId"
|
318 | ],
|
319 | "members": {
|
320 | "apiId": {
|
321 | "location": "uri",
|
322 | "locationName": "apiId"
|
323 | }
|
324 | }
|
325 | },
|
326 | "output": {
|
327 | "type": "structure",
|
328 | "members": {}
|
329 | }
|
330 | },
|
331 | "DeleteResolver": {
|
332 | "http": {
|
333 | "method": "DELETE",
|
334 | "requestUri": "/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}"
|
335 | },
|
336 | "input": {
|
337 | "type": "structure",
|
338 | "required": [
|
339 | "apiId",
|
340 | "typeName",
|
341 | "fieldName"
|
342 | ],
|
343 | "members": {
|
344 | "apiId": {
|
345 | "location": "uri",
|
346 | "locationName": "apiId"
|
347 | },
|
348 | "typeName": {
|
349 | "location": "uri",
|
350 | "locationName": "typeName"
|
351 | },
|
352 | "fieldName": {
|
353 | "location": "uri",
|
354 | "locationName": "fieldName"
|
355 | }
|
356 | }
|
357 | },
|
358 | "output": {
|
359 | "type": "structure",
|
360 | "members": {}
|
361 | }
|
362 | },
|
363 | "DeleteType": {
|
364 | "http": {
|
365 | "method": "DELETE",
|
366 | "requestUri": "/v1/apis/{apiId}/types/{typeName}"
|
367 | },
|
368 | "input": {
|
369 | "type": "structure",
|
370 | "required": [
|
371 | "apiId",
|
372 | "typeName"
|
373 | ],
|
374 | "members": {
|
375 | "apiId": {
|
376 | "location": "uri",
|
377 | "locationName": "apiId"
|
378 | },
|
379 | "typeName": {
|
380 | "location": "uri",
|
381 | "locationName": "typeName"
|
382 | }
|
383 | }
|
384 | },
|
385 | "output": {
|
386 | "type": "structure",
|
387 | "members": {}
|
388 | }
|
389 | },
|
390 | "GetDataSource": {
|
391 | "http": {
|
392 | "method": "GET",
|
393 | "requestUri": "/v1/apis/{apiId}/datasources/{name}"
|
394 | },
|
395 | "input": {
|
396 | "type": "structure",
|
397 | "required": [
|
398 | "apiId",
|
399 | "name"
|
400 | ],
|
401 | "members": {
|
402 | "apiId": {
|
403 | "location": "uri",
|
404 | "locationName": "apiId"
|
405 | },
|
406 | "name": {
|
407 | "location": "uri",
|
408 | "locationName": "name"
|
409 | }
|
410 | }
|
411 | },
|
412 | "output": {
|
413 | "type": "structure",
|
414 | "members": {
|
415 | "dataSource": {
|
416 | "shape": "Sl"
|
417 | }
|
418 | }
|
419 | }
|
420 | },
|
421 | "GetFunction": {
|
422 | "http": {
|
423 | "method": "GET",
|
424 | "requestUri": "/v1/apis/{apiId}/functions/{functionId}"
|
425 | },
|
426 | "input": {
|
427 | "type": "structure",
|
428 | "required": [
|
429 | "apiId",
|
430 | "functionId"
|
431 | ],
|
432 | "members": {
|
433 | "apiId": {
|
434 | "location": "uri",
|
435 | "locationName": "apiId"
|
436 | },
|
437 | "functionId": {
|
438 | "location": "uri",
|
439 | "locationName": "functionId"
|
440 | }
|
441 | }
|
442 | },
|
443 | "output": {
|
444 | "type": "structure",
|
445 | "members": {
|
446 | "functionConfiguration": {
|
447 | "shape": "Sp"
|
448 | }
|
449 | }
|
450 | }
|
451 | },
|
452 | "GetGraphqlApi": {
|
453 | "http": {
|
454 | "method": "GET",
|
455 | "requestUri": "/v1/apis/{apiId}"
|
456 | },
|
457 | "input": {
|
458 | "type": "structure",
|
459 | "required": [
|
460 | "apiId"
|
461 | ],
|
462 | "members": {
|
463 | "apiId": {
|
464 | "location": "uri",
|
465 | "locationName": "apiId"
|
466 | }
|
467 | }
|
468 | },
|
469 | "output": {
|
470 | "type": "structure",
|
471 | "members": {
|
472 | "graphqlApi": {
|
473 | "shape": "Sy"
|
474 | }
|
475 | }
|
476 | }
|
477 | },
|
478 | "GetIntrospectionSchema": {
|
479 | "http": {
|
480 | "method": "GET",
|
481 | "requestUri": "/v1/apis/{apiId}/schema"
|
482 | },
|
483 | "input": {
|
484 | "type": "structure",
|
485 | "required": [
|
486 | "apiId",
|
487 | "format"
|
488 | ],
|
489 | "members": {
|
490 | "apiId": {
|
491 | "location": "uri",
|
492 | "locationName": "apiId"
|
493 | },
|
494 | "format": {
|
495 | "location": "querystring",
|
496 | "locationName": "format"
|
497 | }
|
498 | }
|
499 | },
|
500 | "output": {
|
501 | "type": "structure",
|
502 | "members": {
|
503 | "schema": {
|
504 | "type": "blob"
|
505 | }
|
506 | },
|
507 | "payload": "schema"
|
508 | }
|
509 | },
|
510 | "GetResolver": {
|
511 | "http": {
|
512 | "method": "GET",
|
513 | "requestUri": "/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}"
|
514 | },
|
515 | "input": {
|
516 | "type": "structure",
|
517 | "required": [
|
518 | "apiId",
|
519 | "typeName",
|
520 | "fieldName"
|
521 | ],
|
522 | "members": {
|
523 | "apiId": {
|
524 | "location": "uri",
|
525 | "locationName": "apiId"
|
526 | },
|
527 | "typeName": {
|
528 | "location": "uri",
|
529 | "locationName": "typeName"
|
530 | },
|
531 | "fieldName": {
|
532 | "location": "uri",
|
533 | "locationName": "fieldName"
|
534 | }
|
535 | }
|
536 | },
|
537 | "output": {
|
538 | "type": "structure",
|
539 | "members": {
|
540 | "resolver": {
|
541 | "shape": "S15"
|
542 | }
|
543 | }
|
544 | }
|
545 | },
|
546 | "GetSchemaCreationStatus": {
|
547 | "http": {
|
548 | "method": "GET",
|
549 | "requestUri": "/v1/apis/{apiId}/schemacreation"
|
550 | },
|
551 | "input": {
|
552 | "type": "structure",
|
553 | "required": [
|
554 | "apiId"
|
555 | ],
|
556 | "members": {
|
557 | "apiId": {
|
558 | "location": "uri",
|
559 | "locationName": "apiId"
|
560 | }
|
561 | }
|
562 | },
|
563 | "output": {
|
564 | "type": "structure",
|
565 | "members": {
|
566 | "status": {},
|
567 | "details": {}
|
568 | }
|
569 | }
|
570 | },
|
571 | "GetType": {
|
572 | "http": {
|
573 | "method": "GET",
|
574 | "requestUri": "/v1/apis/{apiId}/types/{typeName}"
|
575 | },
|
576 | "input": {
|
577 | "type": "structure",
|
578 | "required": [
|
579 | "apiId",
|
580 | "typeName",
|
581 | "format"
|
582 | ],
|
583 | "members": {
|
584 | "apiId": {
|
585 | "location": "uri",
|
586 | "locationName": "apiId"
|
587 | },
|
588 | "typeName": {
|
589 | "location": "uri",
|
590 | "locationName": "typeName"
|
591 | },
|
592 | "format": {
|
593 | "location": "querystring",
|
594 | "locationName": "format"
|
595 | }
|
596 | }
|
597 | },
|
598 | "output": {
|
599 | "type": "structure",
|
600 | "members": {
|
601 | "type": {
|
602 | "shape": "S19"
|
603 | }
|
604 | }
|
605 | }
|
606 | },
|
607 | "ListApiKeys": {
|
608 | "http": {
|
609 | "method": "GET",
|
610 | "requestUri": "/v1/apis/{apiId}/apikeys"
|
611 | },
|
612 | "input": {
|
613 | "type": "structure",
|
614 | "required": [
|
615 | "apiId"
|
616 | ],
|
617 | "members": {
|
618 | "apiId": {
|
619 | "location": "uri",
|
620 | "locationName": "apiId"
|
621 | },
|
622 | "nextToken": {
|
623 | "location": "querystring",
|
624 | "locationName": "nextToken"
|
625 | },
|
626 | "maxResults": {
|
627 | "location": "querystring",
|
628 | "locationName": "maxResults",
|
629 | "type": "integer"
|
630 | }
|
631 | }
|
632 | },
|
633 | "output": {
|
634 | "type": "structure",
|
635 | "members": {
|
636 | "apiKeys": {
|
637 | "type": "list",
|
638 | "member": {
|
639 | "shape": "S5"
|
640 | }
|
641 | },
|
642 | "nextToken": {}
|
643 | }
|
644 | }
|
645 | },
|
646 | "ListDataSources": {
|
647 | "http": {
|
648 | "method": "GET",
|
649 | "requestUri": "/v1/apis/{apiId}/datasources"
|
650 | },
|
651 | "input": {
|
652 | "type": "structure",
|
653 | "required": [
|
654 | "apiId"
|
655 | ],
|
656 | "members": {
|
657 | "apiId": {
|
658 | "location": "uri",
|
659 | "locationName": "apiId"
|
660 | },
|
661 | "nextToken": {
|
662 | "location": "querystring",
|
663 | "locationName": "nextToken"
|
664 | },
|
665 | "maxResults": {
|
666 | "location": "querystring",
|
667 | "locationName": "maxResults",
|
668 | "type": "integer"
|
669 | }
|
670 | }
|
671 | },
|
672 | "output": {
|
673 | "type": "structure",
|
674 | "members": {
|
675 | "dataSources": {
|
676 | "type": "list",
|
677 | "member": {
|
678 | "shape": "Sl"
|
679 | }
|
680 | },
|
681 | "nextToken": {}
|
682 | }
|
683 | }
|
684 | },
|
685 | "ListFunctions": {
|
686 | "http": {
|
687 | "method": "GET",
|
688 | "requestUri": "/v1/apis/{apiId}/functions"
|
689 | },
|
690 | "input": {
|
691 | "type": "structure",
|
692 | "required": [
|
693 | "apiId"
|
694 | ],
|
695 | "members": {
|
696 | "apiId": {
|
697 | "location": "uri",
|
698 | "locationName": "apiId"
|
699 | },
|
700 | "nextToken": {
|
701 | "location": "querystring",
|
702 | "locationName": "nextToken"
|
703 | },
|
704 | "maxResults": {
|
705 | "location": "querystring",
|
706 | "locationName": "maxResults",
|
707 | "type": "integer"
|
708 | }
|
709 | }
|
710 | },
|
711 | "output": {
|
712 | "type": "structure",
|
713 | "members": {
|
714 | "functions": {
|
715 | "type": "list",
|
716 | "member": {
|
717 | "shape": "Sp"
|
718 | }
|
719 | },
|
720 | "nextToken": {}
|
721 | }
|
722 | }
|
723 | },
|
724 | "ListGraphqlApis": {
|
725 | "http": {
|
726 | "method": "GET",
|
727 | "requestUri": "/v1/apis"
|
728 | },
|
729 | "input": {
|
730 | "type": "structure",
|
731 | "members": {
|
732 | "nextToken": {
|
733 | "location": "querystring",
|
734 | "locationName": "nextToken"
|
735 | },
|
736 | "maxResults": {
|
737 | "location": "querystring",
|
738 | "locationName": "maxResults",
|
739 | "type": "integer"
|
740 | }
|
741 | }
|
742 | },
|
743 | "output": {
|
744 | "type": "structure",
|
745 | "members": {
|
746 | "graphqlApis": {
|
747 | "type": "list",
|
748 | "member": {
|
749 | "shape": "Sy"
|
750 | }
|
751 | },
|
752 | "nextToken": {}
|
753 | }
|
754 | }
|
755 | },
|
756 | "ListResolvers": {
|
757 | "http": {
|
758 | "method": "GET",
|
759 | "requestUri": "/v1/apis/{apiId}/types/{typeName}/resolvers"
|
760 | },
|
761 | "input": {
|
762 | "type": "structure",
|
763 | "required": [
|
764 | "apiId",
|
765 | "typeName"
|
766 | ],
|
767 | "members": {
|
768 | "apiId": {
|
769 | "location": "uri",
|
770 | "locationName": "apiId"
|
771 | },
|
772 | "typeName": {
|
773 | "location": "uri",
|
774 | "locationName": "typeName"
|
775 | },
|
776 | "nextToken": {
|
777 | "location": "querystring",
|
778 | "locationName": "nextToken"
|
779 | },
|
780 | "maxResults": {
|
781 | "location": "querystring",
|
782 | "locationName": "maxResults",
|
783 | "type": "integer"
|
784 | }
|
785 | }
|
786 | },
|
787 | "output": {
|
788 | "type": "structure",
|
789 | "members": {
|
790 | "resolvers": {
|
791 | "shape": "S2j"
|
792 | },
|
793 | "nextToken": {}
|
794 | }
|
795 | }
|
796 | },
|
797 | "ListResolversByFunction": {
|
798 | "http": {
|
799 | "method": "GET",
|
800 | "requestUri": "/v1/apis/{apiId}/functions/{functionId}/resolvers"
|
801 | },
|
802 | "input": {
|
803 | "type": "structure",
|
804 | "required": [
|
805 | "apiId",
|
806 | "functionId"
|
807 | ],
|
808 | "members": {
|
809 | "apiId": {
|
810 | "location": "uri",
|
811 | "locationName": "apiId"
|
812 | },
|
813 | "functionId": {
|
814 | "location": "uri",
|
815 | "locationName": "functionId"
|
816 | },
|
817 | "nextToken": {
|
818 | "location": "querystring",
|
819 | "locationName": "nextToken"
|
820 | },
|
821 | "maxResults": {
|
822 | "location": "querystring",
|
823 | "locationName": "maxResults",
|
824 | "type": "integer"
|
825 | }
|
826 | }
|
827 | },
|
828 | "output": {
|
829 | "type": "structure",
|
830 | "members": {
|
831 | "resolvers": {
|
832 | "shape": "S2j"
|
833 | },
|
834 | "nextToken": {}
|
835 | }
|
836 | }
|
837 | },
|
838 | "ListTypes": {
|
839 | "http": {
|
840 | "method": "GET",
|
841 | "requestUri": "/v1/apis/{apiId}/types"
|
842 | },
|
843 | "input": {
|
844 | "type": "structure",
|
845 | "required": [
|
846 | "apiId",
|
847 | "format"
|
848 | ],
|
849 | "members": {
|
850 | "apiId": {
|
851 | "location": "uri",
|
852 | "locationName": "apiId"
|
853 | },
|
854 | "format": {
|
855 | "location": "querystring",
|
856 | "locationName": "format"
|
857 | },
|
858 | "nextToken": {
|
859 | "location": "querystring",
|
860 | "locationName": "nextToken"
|
861 | },
|
862 | "maxResults": {
|
863 | "location": "querystring",
|
864 | "locationName": "maxResults",
|
865 | "type": "integer"
|
866 | }
|
867 | }
|
868 | },
|
869 | "output": {
|
870 | "type": "structure",
|
871 | "members": {
|
872 | "types": {
|
873 | "type": "list",
|
874 | "member": {
|
875 | "shape": "S19"
|
876 | }
|
877 | },
|
878 | "nextToken": {}
|
879 | }
|
880 | }
|
881 | },
|
882 | "StartSchemaCreation": {
|
883 | "http": {
|
884 | "requestUri": "/v1/apis/{apiId}/schemacreation"
|
885 | },
|
886 | "input": {
|
887 | "type": "structure",
|
888 | "required": [
|
889 | "apiId",
|
890 | "definition"
|
891 | ],
|
892 | "members": {
|
893 | "apiId": {
|
894 | "location": "uri",
|
895 | "locationName": "apiId"
|
896 | },
|
897 | "definition": {
|
898 | "type": "blob"
|
899 | }
|
900 | }
|
901 | },
|
902 | "output": {
|
903 | "type": "structure",
|
904 | "members": {
|
905 | "status": {}
|
906 | }
|
907 | }
|
908 | },
|
909 | "UpdateApiKey": {
|
910 | "http": {
|
911 | "requestUri": "/v1/apis/{apiId}/apikeys/{id}"
|
912 | },
|
913 | "input": {
|
914 | "type": "structure",
|
915 | "required": [
|
916 | "apiId",
|
917 | "id"
|
918 | ],
|
919 | "members": {
|
920 | "apiId": {
|
921 | "location": "uri",
|
922 | "locationName": "apiId"
|
923 | },
|
924 | "id": {
|
925 | "location": "uri",
|
926 | "locationName": "id"
|
927 | },
|
928 | "description": {},
|
929 | "expires": {
|
930 | "type": "long"
|
931 | }
|
932 | }
|
933 | },
|
934 | "output": {
|
935 | "type": "structure",
|
936 | "members": {
|
937 | "apiKey": {
|
938 | "shape": "S5"
|
939 | }
|
940 | }
|
941 | }
|
942 | },
|
943 | "UpdateDataSource": {
|
944 | "http": {
|
945 | "requestUri": "/v1/apis/{apiId}/datasources/{name}"
|
946 | },
|
947 | "input": {
|
948 | "type": "structure",
|
949 | "required": [
|
950 | "apiId",
|
951 | "name",
|
952 | "type"
|
953 | ],
|
954 | "members": {
|
955 | "apiId": {
|
956 | "location": "uri",
|
957 | "locationName": "apiId"
|
958 | },
|
959 | "name": {
|
960 | "location": "uri",
|
961 | "locationName": "name"
|
962 | },
|
963 | "description": {},
|
964 | "type": {},
|
965 | "serviceRoleArn": {},
|
966 | "dynamodbConfig": {
|
967 | "shape": "S9"
|
968 | },
|
969 | "lambdaConfig": {
|
970 | "shape": "Sb"
|
971 | },
|
972 | "elasticsearchConfig": {
|
973 | "shape": "Sc"
|
974 | },
|
975 | "httpConfig": {
|
976 | "shape": "Sd"
|
977 | },
|
978 | "relationalDatabaseConfig": {
|
979 | "shape": "Sh"
|
980 | }
|
981 | }
|
982 | },
|
983 | "output": {
|
984 | "type": "structure",
|
985 | "members": {
|
986 | "dataSource": {
|
987 | "shape": "Sl"
|
988 | }
|
989 | }
|
990 | }
|
991 | },
|
992 | "UpdateFunction": {
|
993 | "http": {
|
994 | "requestUri": "/v1/apis/{apiId}/functions/{functionId}"
|
995 | },
|
996 | "input": {
|
997 | "type": "structure",
|
998 | "required": [
|
999 | "apiId",
|
1000 | "name",
|
1001 | "functionId",
|
1002 | "dataSourceName",
|
1003 | "requestMappingTemplate",
|
1004 | "functionVersion"
|
1005 | ],
|
1006 | "members": {
|
1007 | "apiId": {
|
1008 | "location": "uri",
|
1009 | "locationName": "apiId"
|
1010 | },
|
1011 | "name": {},
|
1012 | "description": {},
|
1013 | "functionId": {
|
1014 | "location": "uri",
|
1015 | "locationName": "functionId"
|
1016 | },
|
1017 | "dataSourceName": {},
|
1018 | "requestMappingTemplate": {},
|
1019 | "responseMappingTemplate": {},
|
1020 | "functionVersion": {}
|
1021 | }
|
1022 | },
|
1023 | "output": {
|
1024 | "type": "structure",
|
1025 | "members": {
|
1026 | "functionConfiguration": {
|
1027 | "shape": "Sp"
|
1028 | }
|
1029 | }
|
1030 | }
|
1031 | },
|
1032 | "UpdateGraphqlApi": {
|
1033 | "http": {
|
1034 | "requestUri": "/v1/apis/{apiId}"
|
1035 | },
|
1036 | "input": {
|
1037 | "type": "structure",
|
1038 | "required": [
|
1039 | "apiId",
|
1040 | "name"
|
1041 | ],
|
1042 | "members": {
|
1043 | "apiId": {
|
1044 | "location": "uri",
|
1045 | "locationName": "apiId"
|
1046 | },
|
1047 | "name": {},
|
1048 | "logConfig": {
|
1049 | "shape": "Sr"
|
1050 | },
|
1051 | "authenticationType": {},
|
1052 | "userPoolConfig": {
|
1053 | "shape": "Su"
|
1054 | },
|
1055 | "openIDConnectConfig": {
|
1056 | "shape": "Sw"
|
1057 | }
|
1058 | }
|
1059 | },
|
1060 | "output": {
|
1061 | "type": "structure",
|
1062 | "members": {
|
1063 | "graphqlApi": {
|
1064 | "shape": "Sy"
|
1065 | }
|
1066 | }
|
1067 | }
|
1068 | },
|
1069 | "UpdateResolver": {
|
1070 | "http": {
|
1071 | "requestUri": "/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}"
|
1072 | },
|
1073 | "input": {
|
1074 | "type": "structure",
|
1075 | "required": [
|
1076 | "apiId",
|
1077 | "typeName",
|
1078 | "fieldName",
|
1079 | "requestMappingTemplate"
|
1080 | ],
|
1081 | "members": {
|
1082 | "apiId": {
|
1083 | "location": "uri",
|
1084 | "locationName": "apiId"
|
1085 | },
|
1086 | "typeName": {
|
1087 | "location": "uri",
|
1088 | "locationName": "typeName"
|
1089 | },
|
1090 | "fieldName": {
|
1091 | "location": "uri",
|
1092 | "locationName": "fieldName"
|
1093 | },
|
1094 | "dataSourceName": {},
|
1095 | "requestMappingTemplate": {},
|
1096 | "responseMappingTemplate": {},
|
1097 | "kind": {},
|
1098 | "pipelineConfig": {
|
1099 | "shape": "S12"
|
1100 | }
|
1101 | }
|
1102 | },
|
1103 | "output": {
|
1104 | "type": "structure",
|
1105 | "members": {
|
1106 | "resolver": {
|
1107 | "shape": "S15"
|
1108 | }
|
1109 | }
|
1110 | }
|
1111 | },
|
1112 | "UpdateType": {
|
1113 | "http": {
|
1114 | "requestUri": "/v1/apis/{apiId}/types/{typeName}"
|
1115 | },
|
1116 | "input": {
|
1117 | "type": "structure",
|
1118 | "required": [
|
1119 | "apiId",
|
1120 | "typeName",
|
1121 | "format"
|
1122 | ],
|
1123 | "members": {
|
1124 | "apiId": {
|
1125 | "location": "uri",
|
1126 | "locationName": "apiId"
|
1127 | },
|
1128 | "typeName": {
|
1129 | "location": "uri",
|
1130 | "locationName": "typeName"
|
1131 | },
|
1132 | "definition": {},
|
1133 | "format": {}
|
1134 | }
|
1135 | },
|
1136 | "output": {
|
1137 | "type": "structure",
|
1138 | "members": {
|
1139 | "type": {
|
1140 | "shape": "S19"
|
1141 | }
|
1142 | }
|
1143 | }
|
1144 | }
|
1145 | },
|
1146 | "shapes": {
|
1147 | "S5": {
|
1148 | "type": "structure",
|
1149 | "members": {
|
1150 | "id": {},
|
1151 | "description": {},
|
1152 | "expires": {
|
1153 | "type": "long"
|
1154 | }
|
1155 | }
|
1156 | },
|
1157 | "S9": {
|
1158 | "type": "structure",
|
1159 | "required": [
|
1160 | "tableName",
|
1161 | "awsRegion"
|
1162 | ],
|
1163 | "members": {
|
1164 | "tableName": {},
|
1165 | "awsRegion": {},
|
1166 | "useCallerCredentials": {
|
1167 | "type": "boolean"
|
1168 | }
|
1169 | }
|
1170 | },
|
1171 | "Sb": {
|
1172 | "type": "structure",
|
1173 | "required": [
|
1174 | "lambdaFunctionArn"
|
1175 | ],
|
1176 | "members": {
|
1177 | "lambdaFunctionArn": {}
|
1178 | }
|
1179 | },
|
1180 | "Sc": {
|
1181 | "type": "structure",
|
1182 | "required": [
|
1183 | "endpoint",
|
1184 | "awsRegion"
|
1185 | ],
|
1186 | "members": {
|
1187 | "endpoint": {},
|
1188 | "awsRegion": {}
|
1189 | }
|
1190 | },
|
1191 | "Sd": {
|
1192 | "type": "structure",
|
1193 | "members": {
|
1194 | "endpoint": {},
|
1195 | "authorizationConfig": {
|
1196 | "type": "structure",
|
1197 | "required": [
|
1198 | "authorizationType"
|
1199 | ],
|
1200 | "members": {
|
1201 | "authorizationType": {},
|
1202 | "awsIamConfig": {
|
1203 | "type": "structure",
|
1204 | "members": {
|
1205 | "signingRegion": {},
|
1206 | "signingServiceName": {}
|
1207 | }
|
1208 | }
|
1209 | }
|
1210 | }
|
1211 | }
|
1212 | },
|
1213 | "Sh": {
|
1214 | "type": "structure",
|
1215 | "members": {
|
1216 | "relationalDatabaseSourceType": {},
|
1217 | "rdsHttpEndpointConfig": {
|
1218 | "type": "structure",
|
1219 | "members": {
|
1220 | "awsRegion": {},
|
1221 | "dbClusterIdentifier": {},
|
1222 | "databaseName": {},
|
1223 | "schema": {},
|
1224 | "awsSecretStoreArn": {}
|
1225 | }
|
1226 | }
|
1227 | }
|
1228 | },
|
1229 | "Sl": {
|
1230 | "type": "structure",
|
1231 | "members": {
|
1232 | "dataSourceArn": {},
|
1233 | "name": {},
|
1234 | "description": {},
|
1235 | "type": {},
|
1236 | "serviceRoleArn": {},
|
1237 | "dynamodbConfig": {
|
1238 | "shape": "S9"
|
1239 | },
|
1240 | "lambdaConfig": {
|
1241 | "shape": "Sb"
|
1242 | },
|
1243 | "elasticsearchConfig": {
|
1244 | "shape": "Sc"
|
1245 | },
|
1246 | "httpConfig": {
|
1247 | "shape": "Sd"
|
1248 | },
|
1249 | "relationalDatabaseConfig": {
|
1250 | "shape": "Sh"
|
1251 | }
|
1252 | }
|
1253 | },
|
1254 | "Sp": {
|
1255 | "type": "structure",
|
1256 | "members": {
|
1257 | "functionId": {},
|
1258 | "functionArn": {},
|
1259 | "name": {},
|
1260 | "description": {},
|
1261 | "dataSourceName": {},
|
1262 | "requestMappingTemplate": {},
|
1263 | "responseMappingTemplate": {},
|
1264 | "functionVersion": {}
|
1265 | }
|
1266 | },
|
1267 | "Sr": {
|
1268 | "type": "structure",
|
1269 | "required": [
|
1270 | "fieldLogLevel",
|
1271 | "cloudWatchLogsRoleArn"
|
1272 | ],
|
1273 | "members": {
|
1274 | "fieldLogLevel": {},
|
1275 | "cloudWatchLogsRoleArn": {}
|
1276 | }
|
1277 | },
|
1278 | "Su": {
|
1279 | "type": "structure",
|
1280 | "required": [
|
1281 | "userPoolId",
|
1282 | "awsRegion",
|
1283 | "defaultAction"
|
1284 | ],
|
1285 | "members": {
|
1286 | "userPoolId": {},
|
1287 | "awsRegion": {},
|
1288 | "defaultAction": {},
|
1289 | "appIdClientRegex": {}
|
1290 | }
|
1291 | },
|
1292 | "Sw": {
|
1293 | "type": "structure",
|
1294 | "required": [
|
1295 | "issuer"
|
1296 | ],
|
1297 | "members": {
|
1298 | "issuer": {},
|
1299 | "clientId": {},
|
1300 | "iatTTL": {
|
1301 | "type": "long"
|
1302 | },
|
1303 | "authTTL": {
|
1304 | "type": "long"
|
1305 | }
|
1306 | }
|
1307 | },
|
1308 | "Sy": {
|
1309 | "type": "structure",
|
1310 | "members": {
|
1311 | "name": {},
|
1312 | "apiId": {},
|
1313 | "authenticationType": {},
|
1314 | "logConfig": {
|
1315 | "shape": "Sr"
|
1316 | },
|
1317 | "userPoolConfig": {
|
1318 | "shape": "Su"
|
1319 | },
|
1320 | "openIDConnectConfig": {
|
1321 | "shape": "Sw"
|
1322 | },
|
1323 | "arn": {},
|
1324 | "uris": {
|
1325 | "type": "map",
|
1326 | "key": {},
|
1327 | "value": {}
|
1328 | }
|
1329 | }
|
1330 | },
|
1331 | "S12": {
|
1332 | "type": "structure",
|
1333 | "members": {
|
1334 | "functions": {
|
1335 | "type": "list",
|
1336 | "member": {}
|
1337 | }
|
1338 | }
|
1339 | },
|
1340 | "S15": {
|
1341 | "type": "structure",
|
1342 | "members": {
|
1343 | "typeName": {},
|
1344 | "fieldName": {},
|
1345 | "dataSourceName": {},
|
1346 | "resolverArn": {},
|
1347 | "requestMappingTemplate": {},
|
1348 | "responseMappingTemplate": {},
|
1349 | "kind": {},
|
1350 | "pipelineConfig": {
|
1351 | "shape": "S12"
|
1352 | }
|
1353 | }
|
1354 | },
|
1355 | "S19": {
|
1356 | "type": "structure",
|
1357 | "members": {
|
1358 | "name": {},
|
1359 | "description": {},
|
1360 | "arn": {},
|
1361 | "definition": {},
|
1362 | "format": {}
|
1363 | }
|
1364 | },
|
1365 | "S2j": {
|
1366 | "type": "list",
|
1367 | "member": {
|
1368 | "shape": "S15"
|
1369 | }
|
1370 | }
|
1371 | }
|
1372 | } |
\ | No newline at end of file |