Skip to content

Commit 661b067

Browse files
add updates
1 parent 0790292 commit 661b067

3 files changed

Lines changed: 3 additions & 172 deletions

File tree

src/Fc/ChangeLog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# 更新历史 #
22

3-
API版本:1.0.1
3+
API版本:1.0.2
44

55
| 发布时间 | 版本号 | 更新 | 说明 |
66
|------------|-------|------|-------------------------|
7+
| 2023-05-09 | 1.0.2 | 修复内容 | * 修复内容 |
78
| 2023-05-09 | 1.0.1 | 修复内容 | * 修复内容 |
89
| 2023-05-08 | 1.0.0 | 初始版本 | * 初始版本 |

src/Fc/FcClient.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
* @method \GuzzleHttp\Promise\Promise describeFunctionsAsync(array $args = [])
2525
* @method \Jdcloud\Result createFunction(array $args = [])
2626
* @method \GuzzleHttp\Promise\Promise createFunctionAsync(array $args = [])
27-
* @method \Jdcloud\Result checkFunction(array $args = [])
28-
* @method \GuzzleHttp\Promise\Promise checkFunctionAsync(array $args = [])
2927
* @method \Jdcloud\Result describeFunction(array $args = [])
3028
* @method \GuzzleHttp\Promise\Promise describeFunctionAsync(array $args = [])
3129
* @method \Jdcloud\Result updateFunction(array $args = [])
@@ -38,20 +36,12 @@
3836
* @method \GuzzleHttp\Promise\Promise describeRuntimesAsync(array $args = [])
3937
* @method \Jdcloud\Result invokeFunction(array $args = [])
4038
* @method \GuzzleHttp\Promise\Promise invokeFunctionAsync(array $args = [])
41-
* @method \Jdcloud\Result describeAllFunctions(array $args = [])
42-
* @method \GuzzleHttp\Promise\Promise describeAllFunctionsAsync(array $args = [])
43-
* @method \Jdcloud\Result internalCreateFunction(array $args = [])
44-
* @method \GuzzleHttp\Promise\Promise internalCreateFunctionAsync(array $args = [])
45-
* @method \Jdcloud\Result internalUpdateFunction(array $args = [])
46-
* @method \GuzzleHttp\Promise\Promise internalUpdateFunctionAsync(array $args = [])
4739
* @method \Jdcloud\Result describeInstanceTypes(array $args = [])
4840
* @method \GuzzleHttp\Promise\Promise describeInstanceTypesAsync(array $args = [])
4941
* @method \Jdcloud\Result describeServices(array $args = [])
5042
* @method \GuzzleHttp\Promise\Promise describeServicesAsync(array $args = [])
5143
* @method \Jdcloud\Result createService(array $args = [])
5244
* @method \GuzzleHttp\Promise\Promise createServiceAsync(array $args = [])
53-
* @method \Jdcloud\Result checkService(array $args = [])
54-
* @method \GuzzleHttp\Promise\Promise checkServiceAsync(array $args = [])
5545
* @method \Jdcloud\Result describeService(array $args = [])
5646
* @method \GuzzleHttp\Promise\Promise describeServiceAsync(array $args = [])
5747
* @method \Jdcloud\Result updateService(array $args = [])

src/data/fc/v1/api-2.json.php

Lines changed: 1 addition & 161 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,6 @@
2929
'input' => [ 'shape' => 'CreateFunctionRequestShape', ],
3030
'output' => [ 'shape' => 'CreateFunctionResponseShape', ],
3131
],
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-
],
4132
'DescribeFunction' => [
4233
'name' => 'DescribeFunction',
4334
'http' => [
@@ -92,33 +83,6 @@
9283
'input' => [ 'shape' => 'InvokeFunctionRequestShape', ],
9384
'output' => [ 'shape' => 'InvokeFunctionResponseShape', ],
9485
],
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-
],
12286
'DescribeInstanceTypes' => [
12387
'name' => 'DescribeInstanceTypes',
12488
'http' => [
@@ -146,15 +110,6 @@
146110
'input' => [ 'shape' => 'CreateServiceRequestShape', ],
147111
'output' => [ 'shape' => 'CreateServiceResponseShape', ],
148112
],
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-
],
158113
'DescribeService' => [
159114
'name' => 'DescribeService',
160115
'http' => [
@@ -379,15 +334,6 @@
379334
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
380335
],
381336
],
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-
],
391337
'Filter' => [
392338
'type' => 'structure',
393339
'members' => [
@@ -406,13 +352,6 @@
406352
'serviceName' => [ 'type' => 'string', 'locationName' => 'serviceName', ],
407353
],
408354
],
409-
'CheckFunctionResultShape' => [
410-
'type' => 'structure',
411-
'members' => [
412-
'code' => [ 'type' => 'integer', 'locationName' => 'code', ],
413-
'reason' => [ 'type' => 'string', 'locationName' => 'reason', ],
414-
],
415-
],
416355
'CreateFunctionRequestShape' => [
417356
'type' => 'structure',
418357
'members' => [
@@ -429,45 +368,17 @@
429368
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
430369
],
431370
],
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-
],
454371
'CreateFunctionResponseShape' => [
455372
'type' => 'structure',
456373
'members' => [
457374
'result' => [ 'shape' => 'CreateFunctionResultShape', ],
458375
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
459376
],
460377
],
461-
'DescribeAllFunctionsResultShape' => [
462-
'type' => 'structure',
463-
'members' => [
464-
'functions' => [ 'type' => 'list', 'member' => [ 'shape' => 'Function', ], ],
465-
'totalCount' => [ 'type' => 'double', 'locationName' => 'totalCount', ],
466-
],
467-
],
468378
'DeleteFunctionRequestShape' => [
469379
'type' => 'structure',
470380
'members' => [
381+
'deleteTrigger' => [ 'type' => 'boolean', 'locationName' => 'deleteTrigger', ],
471382
'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ],
472383
'serviceName' => [ 'type' => 'string', 'locationName' => 'serviceName', ],
473384
'functionName' => [ 'type' => 'string', 'locationName' => 'functionName', ],
@@ -524,13 +435,6 @@
524435
'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ],
525436
],
526437
],
527-
'InternalCreateFunctionResponseShape' => [
528-
'type' => 'structure',
529-
'members' => [
530-
'result' => [ 'shape' => 'InternalCreateFunctionResultShape', ],
531-
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
532-
],
533-
],
534438
'UpdateFunctionRequestShape' => [
535439
'type' => 'structure',
536440
'members' => [
@@ -576,38 +480,12 @@
576480
'functionName' => [ 'type' => 'string', 'locationName' => 'functionName', ],
577481
],
578482
],
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-
],
596483
'UpdateFunctionResponseShape' => [
597484
'type' => 'structure',
598485
'members' => [
599486
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
600487
],
601488
],
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-
],
611489
'DescribeFunctionCodeResultShape' => [
612490
'type' => 'structure',
613491
'members' => [
@@ -628,30 +506,13 @@
628506
'functionName' => [ 'type' => 'string', 'locationName' => 'functionName', ],
629507
],
630508
],
631-
'InternalCreateFunctionResultShape' => [
632-
'type' => 'structure',
633-
'members' => [
634-
'functionName' => [ 'type' => 'string', 'locationName' => 'functionName', ],
635-
],
636-
],
637509
'DescribeFunctionResponseShape' => [
638510
'type' => 'structure',
639511
'members' => [
640512
'result' => [ 'shape' => 'DescribeFunctionResultShape', ],
641513
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
642514
],
643515
],
644-
'InternalUpdateFunctionResponseShape' => [
645-
'type' => 'structure',
646-
'members' => [
647-
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
648-
],
649-
],
650-
'InternalUpdateFunctionResultShape' => [
651-
'type' => 'structure',
652-
'members' => [
653-
],
654-
],
655516
'DescribeInstanceTypesResponseShape' => [
656517
'type' => 'structure',
657518
'members' => [
@@ -696,13 +557,6 @@
696557
'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ],
697558
],
698559
],
699-
'CheckServiceResultShape' => [
700-
'type' => 'structure',
701-
'members' => [
702-
'code' => [ 'type' => 'integer', 'locationName' => 'code', ],
703-
'reason' => [ 'type' => 'string', 'locationName' => 'reason', ],
704-
],
705-
],
706560
'UpdateServiceResponseShape' => [
707561
'type' => 'structure',
708562
'members' => [
@@ -728,13 +582,6 @@
728582
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
729583
],
730584
],
731-
'CheckServiceRequestShape' => [
732-
'type' => 'structure',
733-
'members' => [
734-
'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ],
735-
'serviceName' => [ 'type' => 'string', 'locationName' => 'serviceName', ],
736-
],
737-
],
738585
'DescribeServiceRequestShape' => [
739586
'type' => 'structure',
740587
'members' => [
@@ -747,13 +594,6 @@
747594
'members' => [
748595
],
749596
],
750-
'CheckServiceResponseShape' => [
751-
'type' => 'structure',
752-
'members' => [
753-
'result' => [ 'shape' => 'CheckServiceResultShape', ],
754-
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
755-
],
756-
],
757597
'DeleteServiceResponseShape' => [
758598
'type' => 'structure',
759599
'members' => [

0 commit comments

Comments
 (0)