|
29 | 29 | 'input' => [ 'shape' => 'CreateFunctionRequestShape', ], |
30 | 30 | 'output' => [ 'shape' => 'CreateFunctionResponseShape', ], |
31 | 31 | ], |
32 | | - 'CheckFunction' => [ |
33 | | - 'name' => 'CheckFunction', |
34 | | - 'http' => [ |
35 | | - 'method' => 'POST', |
36 | | - 'requestUri' => '/v1/regions/{regionId}/services/{serviceName}/functions/{functionName}:check', |
37 | | - ], |
38 | | - 'input' => [ 'shape' => 'CheckFunctionRequestShape', ], |
39 | | - 'output' => [ 'shape' => 'CheckFunctionResponseShape', ], |
40 | | - ], |
41 | 32 | 'DescribeFunction' => [ |
42 | 33 | 'name' => 'DescribeFunction', |
43 | 34 | 'http' => [ |
|
92 | 83 | 'input' => [ 'shape' => 'InvokeFunctionRequestShape', ], |
93 | 84 | 'output' => [ 'shape' => 'InvokeFunctionResponseShape', ], |
94 | 85 | ], |
95 | | - 'DescribeAllFunctions' => [ |
96 | | - 'name' => 'DescribeAllFunctions', |
97 | | - 'http' => [ |
98 | | - 'method' => 'GET', |
99 | | - 'requestUri' => '/v1/regions/{regionId}/functions', |
100 | | - ], |
101 | | - 'input' => [ 'shape' => 'DescribeAllFunctionsRequestShape', ], |
102 | | - 'output' => [ 'shape' => 'DescribeAllFunctionsResponseShape', ], |
103 | | - ], |
104 | | - 'InternalCreateFunction' => [ |
105 | | - 'name' => 'InternalCreateFunction', |
106 | | - 'http' => [ |
107 | | - 'method' => 'POST', |
108 | | - 'requestUri' => '/v1/regions/{regionId}/services/{serviceName}/functions:internal', |
109 | | - ], |
110 | | - 'input' => [ 'shape' => 'InternalCreateFunctionRequestShape', ], |
111 | | - 'output' => [ 'shape' => 'InternalCreateFunctionResponseShape', ], |
112 | | - ], |
113 | | - 'InternalUpdateFunction' => [ |
114 | | - 'name' => 'InternalUpdateFunction', |
115 | | - 'http' => [ |
116 | | - 'method' => 'PATCH', |
117 | | - 'requestUri' => '/v1/regions/{regionId}/services/{serviceName}/functions/{functionName}:internal', |
118 | | - ], |
119 | | - 'input' => [ 'shape' => 'InternalUpdateFunctionRequestShape', ], |
120 | | - 'output' => [ 'shape' => 'InternalUpdateFunctionResponseShape', ], |
121 | | - ], |
122 | 86 | 'DescribeInstanceTypes' => [ |
123 | 87 | 'name' => 'DescribeInstanceTypes', |
124 | 88 | 'http' => [ |
|
146 | 110 | 'input' => [ 'shape' => 'CreateServiceRequestShape', ], |
147 | 111 | 'output' => [ 'shape' => 'CreateServiceResponseShape', ], |
148 | 112 | ], |
149 | | - 'CheckService' => [ |
150 | | - 'name' => 'CheckService', |
151 | | - 'http' => [ |
152 | | - 'method' => 'POST', |
153 | | - 'requestUri' => '/v1/regions/{regionId}/services/{serviceName}:check', |
154 | | - ], |
155 | | - 'input' => [ 'shape' => 'CheckServiceRequestShape', ], |
156 | | - 'output' => [ 'shape' => 'CheckServiceResponseShape', ], |
157 | | - ], |
158 | 113 | 'DescribeService' => [ |
159 | 114 | 'name' => 'DescribeService', |
160 | 115 | 'http' => [ |
|
379 | 334 | 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
380 | 335 | ], |
381 | 336 | ], |
382 | | - 'DescribeAllFunctionsRequestShape' => [ |
383 | | - 'type' => 'structure', |
384 | | - 'members' => [ |
385 | | - 'pageNumber' => [ 'type' => 'integer', 'locationName' => 'pageNumber', ], |
386 | | - 'pageSize' => [ 'type' => 'integer', 'locationName' => 'pageSize', ], |
387 | | - 'filters' => [ 'type' => 'list', 'member' => [ 'shape' => 'Filter', ], ], |
388 | | - 'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ], |
389 | | - ], |
390 | | - ], |
391 | 337 | 'Filter' => [ |
392 | 338 | 'type' => 'structure', |
393 | 339 | 'members' => [ |
|
406 | 352 | 'serviceName' => [ 'type' => 'string', 'locationName' => 'serviceName', ], |
407 | 353 | ], |
408 | 354 | ], |
409 | | - 'CheckFunctionResultShape' => [ |
410 | | - 'type' => 'structure', |
411 | | - 'members' => [ |
412 | | - 'code' => [ 'type' => 'integer', 'locationName' => 'code', ], |
413 | | - 'reason' => [ 'type' => 'string', 'locationName' => 'reason', ], |
414 | | - ], |
415 | | - ], |
416 | 355 | 'CreateFunctionRequestShape' => [ |
417 | 356 | 'type' => 'structure', |
418 | 357 | 'members' => [ |
|
429 | 368 | 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
430 | 369 | ], |
431 | 370 | ], |
432 | | - 'CheckFunctionRequestShape' => [ |
433 | | - 'type' => 'structure', |
434 | | - 'members' => [ |
435 | | - 'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ], |
436 | | - 'serviceName' => [ 'type' => 'string', 'locationName' => 'serviceName', ], |
437 | | - 'functionName' => [ 'type' => 'string', 'locationName' => 'functionName', ], |
438 | | - ], |
439 | | - ], |
440 | | - 'CheckFunctionResponseShape' => [ |
441 | | - 'type' => 'structure', |
442 | | - 'members' => [ |
443 | | - 'result' => [ 'shape' => 'CheckFunctionResultShape', ], |
444 | | - 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
445 | | - ], |
446 | | - ], |
447 | | - 'DescribeAllFunctionsResponseShape' => [ |
448 | | - 'type' => 'structure', |
449 | | - 'members' => [ |
450 | | - 'result' => [ 'shape' => 'DescribeAllFunctionsResultShape', ], |
451 | | - 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
452 | | - ], |
453 | | - ], |
454 | 371 | 'CreateFunctionResponseShape' => [ |
455 | 372 | 'type' => 'structure', |
456 | 373 | 'members' => [ |
457 | 374 | 'result' => [ 'shape' => 'CreateFunctionResultShape', ], |
458 | 375 | 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
459 | 376 | ], |
460 | 377 | ], |
461 | | - 'DescribeAllFunctionsResultShape' => [ |
462 | | - 'type' => 'structure', |
463 | | - 'members' => [ |
464 | | - 'functions' => [ 'type' => 'list', 'member' => [ 'shape' => 'Function', ], ], |
465 | | - 'totalCount' => [ 'type' => 'double', 'locationName' => 'totalCount', ], |
466 | | - ], |
467 | | - ], |
468 | 378 | 'DeleteFunctionRequestShape' => [ |
469 | 379 | 'type' => 'structure', |
470 | 380 | 'members' => [ |
| 381 | + 'deleteTrigger' => [ 'type' => 'boolean', 'locationName' => 'deleteTrigger', ], |
471 | 382 | 'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ], |
472 | 383 | 'serviceName' => [ 'type' => 'string', 'locationName' => 'serviceName', ], |
473 | 384 | 'functionName' => [ 'type' => 'string', 'locationName' => 'functionName', ], |
|
524 | 435 | 'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ], |
525 | 436 | ], |
526 | 437 | ], |
527 | | - 'InternalCreateFunctionResponseShape' => [ |
528 | | - 'type' => 'structure', |
529 | | - 'members' => [ |
530 | | - 'result' => [ 'shape' => 'InternalCreateFunctionResultShape', ], |
531 | | - 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
532 | | - ], |
533 | | - ], |
534 | 438 | 'UpdateFunctionRequestShape' => [ |
535 | 439 | 'type' => 'structure', |
536 | 440 | 'members' => [ |
|
576 | 480 | 'functionName' => [ 'type' => 'string', 'locationName' => 'functionName', ], |
577 | 481 | ], |
578 | 482 | ], |
579 | | - 'InternalUpdateFunctionRequestShape' => [ |
580 | | - 'type' => 'structure', |
581 | | - 'members' => [ |
582 | | - 'code' => [ 'shape' => 'InternalCode', ], |
583 | | - 'timeout' => [ 'type' => 'integer', 'locationName' => 'timeout', ], |
584 | | - 'runtime' => [ 'type' => 'string', 'locationName' => 'runtime', ], |
585 | | - 'handler' => [ 'type' => 'string', 'locationName' => 'handler', ], |
586 | | - 'description' => [ 'type' => 'string', 'locationName' => 'description', ], |
587 | | - 'envs' => [ 'type' => 'list', 'member' => [ 'shape' => 'Environment', ], ], |
588 | | - 'cpu' => [ 'type' => 'double', 'locationName' => 'cpu', ], |
589 | | - 'memorySize' => [ 'type' => 'integer', 'locationName' => 'memorySize', ], |
590 | | - 'diskSize' => [ 'type' => 'integer', 'locationName' => 'diskSize', ], |
591 | | - 'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ], |
592 | | - 'serviceName' => [ 'type' => 'string', 'locationName' => 'serviceName', ], |
593 | | - 'functionName' => [ 'type' => 'string', 'locationName' => 'functionName', ], |
594 | | - ], |
595 | | - ], |
596 | 483 | 'UpdateFunctionResponseShape' => [ |
597 | 484 | 'type' => 'structure', |
598 | 485 | 'members' => [ |
599 | 486 | 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
600 | 487 | ], |
601 | 488 | ], |
602 | | - 'InternalCreateFunctionRequestShape' => [ |
603 | | - 'type' => 'structure', |
604 | | - 'members' => [ |
605 | | - 'functionSpec' => [ 'shape' => 'InternalFunctionSpec', ], |
606 | | - 'clientToken' => [ 'type' => 'string', 'locationName' => 'clientToken', ], |
607 | | - 'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ], |
608 | | - 'serviceName' => [ 'type' => 'string', 'locationName' => 'serviceName', ], |
609 | | - ], |
610 | | - ], |
611 | 489 | 'DescribeFunctionCodeResultShape' => [ |
612 | 490 | 'type' => 'structure', |
613 | 491 | 'members' => [ |
|
628 | 506 | 'functionName' => [ 'type' => 'string', 'locationName' => 'functionName', ], |
629 | 507 | ], |
630 | 508 | ], |
631 | | - 'InternalCreateFunctionResultShape' => [ |
632 | | - 'type' => 'structure', |
633 | | - 'members' => [ |
634 | | - 'functionName' => [ 'type' => 'string', 'locationName' => 'functionName', ], |
635 | | - ], |
636 | | - ], |
637 | 509 | 'DescribeFunctionResponseShape' => [ |
638 | 510 | 'type' => 'structure', |
639 | 511 | 'members' => [ |
640 | 512 | 'result' => [ 'shape' => 'DescribeFunctionResultShape', ], |
641 | 513 | 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
642 | 514 | ], |
643 | 515 | ], |
644 | | - 'InternalUpdateFunctionResponseShape' => [ |
645 | | - 'type' => 'structure', |
646 | | - 'members' => [ |
647 | | - 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
648 | | - ], |
649 | | - ], |
650 | | - 'InternalUpdateFunctionResultShape' => [ |
651 | | - 'type' => 'structure', |
652 | | - 'members' => [ |
653 | | - ], |
654 | | - ], |
655 | 516 | 'DescribeInstanceTypesResponseShape' => [ |
656 | 517 | 'type' => 'structure', |
657 | 518 | 'members' => [ |
|
696 | 557 | 'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ], |
697 | 558 | ], |
698 | 559 | ], |
699 | | - 'CheckServiceResultShape' => [ |
700 | | - 'type' => 'structure', |
701 | | - 'members' => [ |
702 | | - 'code' => [ 'type' => 'integer', 'locationName' => 'code', ], |
703 | | - 'reason' => [ 'type' => 'string', 'locationName' => 'reason', ], |
704 | | - ], |
705 | | - ], |
706 | 560 | 'UpdateServiceResponseShape' => [ |
707 | 561 | 'type' => 'structure', |
708 | 562 | 'members' => [ |
|
728 | 582 | 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
729 | 583 | ], |
730 | 584 | ], |
731 | | - 'CheckServiceRequestShape' => [ |
732 | | - 'type' => 'structure', |
733 | | - 'members' => [ |
734 | | - 'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ], |
735 | | - 'serviceName' => [ 'type' => 'string', 'locationName' => 'serviceName', ], |
736 | | - ], |
737 | | - ], |
738 | 585 | 'DescribeServiceRequestShape' => [ |
739 | 586 | 'type' => 'structure', |
740 | 587 | 'members' => [ |
|
747 | 594 | 'members' => [ |
748 | 595 | ], |
749 | 596 | ], |
750 | | - 'CheckServiceResponseShape' => [ |
751 | | - 'type' => 'structure', |
752 | | - 'members' => [ |
753 | | - 'result' => [ 'shape' => 'CheckServiceResultShape', ], |
754 | | - 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
755 | | - ], |
756 | | - ], |
757 | 597 | 'DeleteServiceResponseShape' => [ |
758 | 598 | 'type' => 'structure', |
759 | 599 | 'members' => [ |
|
0 commit comments