@alicloud/cloudapi20160714 2.0.3 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +13 -0
- package/README.md +25 -0
- package/dist/client.d.ts +767 -7
- package/dist/client.js +1595 -125
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1918 -99
package/src/client.ts
CHANGED
|
@@ -439,6 +439,8 @@ export class CreateApiRequest extends $tea.Model {
|
|
|
439
439
|
apiName?: string;
|
|
440
440
|
appCodeAuthType?: string;
|
|
441
441
|
authType?: string;
|
|
442
|
+
backendEnable?: boolean;
|
|
443
|
+
backendId?: string;
|
|
442
444
|
constantParameters?: string;
|
|
443
445
|
description?: string;
|
|
444
446
|
disableInternet?: boolean;
|
|
@@ -466,6 +468,8 @@ export class CreateApiRequest extends $tea.Model {
|
|
|
466
468
|
apiName: 'ApiName',
|
|
467
469
|
appCodeAuthType: 'AppCodeAuthType',
|
|
468
470
|
authType: 'AuthType',
|
|
471
|
+
backendEnable: 'BackendEnable',
|
|
472
|
+
backendId: 'BackendId',
|
|
469
473
|
constantParameters: 'ConstantParameters',
|
|
470
474
|
description: 'Description',
|
|
471
475
|
disableInternet: 'DisableInternet',
|
|
@@ -496,6 +500,8 @@ export class CreateApiRequest extends $tea.Model {
|
|
|
496
500
|
apiName: 'string',
|
|
497
501
|
appCodeAuthType: 'string',
|
|
498
502
|
authType: 'string',
|
|
503
|
+
backendEnable: 'boolean',
|
|
504
|
+
backendId: 'string',
|
|
499
505
|
constantParameters: 'string',
|
|
500
506
|
description: 'string',
|
|
501
507
|
disableInternet: 'boolean',
|
|
@@ -824,6 +830,156 @@ export class CreateAppResponse extends $tea.Model {
|
|
|
824
830
|
}
|
|
825
831
|
}
|
|
826
832
|
|
|
833
|
+
export class CreateBackendRequest extends $tea.Model {
|
|
834
|
+
backendName?: string;
|
|
835
|
+
backendType?: string;
|
|
836
|
+
description?: string;
|
|
837
|
+
securityToken?: string;
|
|
838
|
+
static names(): { [key: string]: string } {
|
|
839
|
+
return {
|
|
840
|
+
backendName: 'BackendName',
|
|
841
|
+
backendType: 'BackendType',
|
|
842
|
+
description: 'Description',
|
|
843
|
+
securityToken: 'SecurityToken',
|
|
844
|
+
};
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
static types(): { [key: string]: any } {
|
|
848
|
+
return {
|
|
849
|
+
backendName: 'string',
|
|
850
|
+
backendType: 'string',
|
|
851
|
+
description: 'string',
|
|
852
|
+
securityToken: 'string',
|
|
853
|
+
};
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
constructor(map?: { [key: string]: any }) {
|
|
857
|
+
super(map);
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
export class CreateBackendResponseBody extends $tea.Model {
|
|
862
|
+
backendId?: string;
|
|
863
|
+
requestId?: string;
|
|
864
|
+
static names(): { [key: string]: string } {
|
|
865
|
+
return {
|
|
866
|
+
backendId: 'BackendId',
|
|
867
|
+
requestId: 'RequestId',
|
|
868
|
+
};
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
static types(): { [key: string]: any } {
|
|
872
|
+
return {
|
|
873
|
+
backendId: 'string',
|
|
874
|
+
requestId: 'string',
|
|
875
|
+
};
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
constructor(map?: { [key: string]: any }) {
|
|
879
|
+
super(map);
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
export class CreateBackendResponse extends $tea.Model {
|
|
884
|
+
headers: { [key: string]: string };
|
|
885
|
+
body: CreateBackendResponseBody;
|
|
886
|
+
static names(): { [key: string]: string } {
|
|
887
|
+
return {
|
|
888
|
+
headers: 'headers',
|
|
889
|
+
body: 'body',
|
|
890
|
+
};
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
static types(): { [key: string]: any } {
|
|
894
|
+
return {
|
|
895
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
896
|
+
body: CreateBackendResponseBody,
|
|
897
|
+
};
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
constructor(map?: { [key: string]: any }) {
|
|
901
|
+
super(map);
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
export class CreateBackendModelRequest extends $tea.Model {
|
|
906
|
+
backendId?: string;
|
|
907
|
+
backendModelData?: string;
|
|
908
|
+
backendType?: string;
|
|
909
|
+
description?: string;
|
|
910
|
+
securityToken?: string;
|
|
911
|
+
stageName?: string;
|
|
912
|
+
static names(): { [key: string]: string } {
|
|
913
|
+
return {
|
|
914
|
+
backendId: 'BackendId',
|
|
915
|
+
backendModelData: 'BackendModelData',
|
|
916
|
+
backendType: 'BackendType',
|
|
917
|
+
description: 'Description',
|
|
918
|
+
securityToken: 'SecurityToken',
|
|
919
|
+
stageName: 'StageName',
|
|
920
|
+
};
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
static types(): { [key: string]: any } {
|
|
924
|
+
return {
|
|
925
|
+
backendId: 'string',
|
|
926
|
+
backendModelData: 'string',
|
|
927
|
+
backendType: 'string',
|
|
928
|
+
description: 'string',
|
|
929
|
+
securityToken: 'string',
|
|
930
|
+
stageName: 'string',
|
|
931
|
+
};
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
constructor(map?: { [key: string]: any }) {
|
|
935
|
+
super(map);
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
export class CreateBackendModelResponseBody extends $tea.Model {
|
|
940
|
+
backendModelId?: string;
|
|
941
|
+
requestId?: string;
|
|
942
|
+
static names(): { [key: string]: string } {
|
|
943
|
+
return {
|
|
944
|
+
backendModelId: 'BackendModelId',
|
|
945
|
+
requestId: 'RequestId',
|
|
946
|
+
};
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
static types(): { [key: string]: any } {
|
|
950
|
+
return {
|
|
951
|
+
backendModelId: 'string',
|
|
952
|
+
requestId: 'string',
|
|
953
|
+
};
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
constructor(map?: { [key: string]: any }) {
|
|
957
|
+
super(map);
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
export class CreateBackendModelResponse extends $tea.Model {
|
|
962
|
+
headers: { [key: string]: string };
|
|
963
|
+
body: CreateBackendModelResponseBody;
|
|
964
|
+
static names(): { [key: string]: string } {
|
|
965
|
+
return {
|
|
966
|
+
headers: 'headers',
|
|
967
|
+
body: 'body',
|
|
968
|
+
};
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
static types(): { [key: string]: any } {
|
|
972
|
+
return {
|
|
973
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
974
|
+
body: CreateBackendModelResponseBody,
|
|
975
|
+
};
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
constructor(map?: { [key: string]: any }) {
|
|
979
|
+
super(map);
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
|
|
827
983
|
export class CreateInstanceRequest extends $tea.Model {
|
|
828
984
|
autoPay?: boolean;
|
|
829
985
|
chargeType?: string;
|
|
@@ -1856,6 +2012,141 @@ export class DeleteAppResponse extends $tea.Model {
|
|
|
1856
2012
|
}
|
|
1857
2013
|
}
|
|
1858
2014
|
|
|
2015
|
+
export class DeleteBackendRequest extends $tea.Model {
|
|
2016
|
+
backendId?: string;
|
|
2017
|
+
securityToken?: string;
|
|
2018
|
+
static names(): { [key: string]: string } {
|
|
2019
|
+
return {
|
|
2020
|
+
backendId: 'BackendId',
|
|
2021
|
+
securityToken: 'SecurityToken',
|
|
2022
|
+
};
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
static types(): { [key: string]: any } {
|
|
2026
|
+
return {
|
|
2027
|
+
backendId: 'string',
|
|
2028
|
+
securityToken: 'string',
|
|
2029
|
+
};
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
constructor(map?: { [key: string]: any }) {
|
|
2033
|
+
super(map);
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
export class DeleteBackendResponseBody extends $tea.Model {
|
|
2038
|
+
requestId?: string;
|
|
2039
|
+
static names(): { [key: string]: string } {
|
|
2040
|
+
return {
|
|
2041
|
+
requestId: 'RequestId',
|
|
2042
|
+
};
|
|
2043
|
+
}
|
|
2044
|
+
|
|
2045
|
+
static types(): { [key: string]: any } {
|
|
2046
|
+
return {
|
|
2047
|
+
requestId: 'string',
|
|
2048
|
+
};
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
constructor(map?: { [key: string]: any }) {
|
|
2052
|
+
super(map);
|
|
2053
|
+
}
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
export class DeleteBackendResponse extends $tea.Model {
|
|
2057
|
+
headers: { [key: string]: string };
|
|
2058
|
+
body: DeleteBackendResponseBody;
|
|
2059
|
+
static names(): { [key: string]: string } {
|
|
2060
|
+
return {
|
|
2061
|
+
headers: 'headers',
|
|
2062
|
+
body: 'body',
|
|
2063
|
+
};
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
static types(): { [key: string]: any } {
|
|
2067
|
+
return {
|
|
2068
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2069
|
+
body: DeleteBackendResponseBody,
|
|
2070
|
+
};
|
|
2071
|
+
}
|
|
2072
|
+
|
|
2073
|
+
constructor(map?: { [key: string]: any }) {
|
|
2074
|
+
super(map);
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2077
|
+
|
|
2078
|
+
export class DeleteBackendModelRequest extends $tea.Model {
|
|
2079
|
+
backendId?: string;
|
|
2080
|
+
backendModelId?: string;
|
|
2081
|
+
securityToken?: string;
|
|
2082
|
+
stageName?: string;
|
|
2083
|
+
static names(): { [key: string]: string } {
|
|
2084
|
+
return {
|
|
2085
|
+
backendId: 'BackendId',
|
|
2086
|
+
backendModelId: 'BackendModelId',
|
|
2087
|
+
securityToken: 'SecurityToken',
|
|
2088
|
+
stageName: 'StageName',
|
|
2089
|
+
};
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
static types(): { [key: string]: any } {
|
|
2093
|
+
return {
|
|
2094
|
+
backendId: 'string',
|
|
2095
|
+
backendModelId: 'string',
|
|
2096
|
+
securityToken: 'string',
|
|
2097
|
+
stageName: 'string',
|
|
2098
|
+
};
|
|
2099
|
+
}
|
|
2100
|
+
|
|
2101
|
+
constructor(map?: { [key: string]: any }) {
|
|
2102
|
+
super(map);
|
|
2103
|
+
}
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2106
|
+
export class DeleteBackendModelResponseBody extends $tea.Model {
|
|
2107
|
+
operationId?: string;
|
|
2108
|
+
requestId?: string;
|
|
2109
|
+
static names(): { [key: string]: string } {
|
|
2110
|
+
return {
|
|
2111
|
+
operationId: 'OperationId',
|
|
2112
|
+
requestId: 'RequestId',
|
|
2113
|
+
};
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2116
|
+
static types(): { [key: string]: any } {
|
|
2117
|
+
return {
|
|
2118
|
+
operationId: 'string',
|
|
2119
|
+
requestId: 'string',
|
|
2120
|
+
};
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
constructor(map?: { [key: string]: any }) {
|
|
2124
|
+
super(map);
|
|
2125
|
+
}
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
export class DeleteBackendModelResponse extends $tea.Model {
|
|
2129
|
+
headers: { [key: string]: string };
|
|
2130
|
+
body: DeleteBackendModelResponseBody;
|
|
2131
|
+
static names(): { [key: string]: string } {
|
|
2132
|
+
return {
|
|
2133
|
+
headers: 'headers',
|
|
2134
|
+
body: 'body',
|
|
2135
|
+
};
|
|
2136
|
+
}
|
|
2137
|
+
|
|
2138
|
+
static types(): { [key: string]: any } {
|
|
2139
|
+
return {
|
|
2140
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2141
|
+
body: DeleteBackendModelResponseBody,
|
|
2142
|
+
};
|
|
2143
|
+
}
|
|
2144
|
+
|
|
2145
|
+
constructor(map?: { [key: string]: any }) {
|
|
2146
|
+
super(map);
|
|
2147
|
+
}
|
|
2148
|
+
}
|
|
2149
|
+
|
|
1859
2150
|
export class DeleteDomainRequest extends $tea.Model {
|
|
1860
2151
|
domainName?: string;
|
|
1861
2152
|
groupId?: string;
|
|
@@ -2243,6 +2534,72 @@ export class DeleteModelResponse extends $tea.Model {
|
|
|
2243
2534
|
}
|
|
2244
2535
|
}
|
|
2245
2536
|
|
|
2537
|
+
export class DeleteMonitorGroupRequest extends $tea.Model {
|
|
2538
|
+
groupId?: string;
|
|
2539
|
+
rawMonitorGroupId?: number;
|
|
2540
|
+
securityToken?: string;
|
|
2541
|
+
static names(): { [key: string]: string } {
|
|
2542
|
+
return {
|
|
2543
|
+
groupId: 'GroupId',
|
|
2544
|
+
rawMonitorGroupId: 'RawMonitorGroupId',
|
|
2545
|
+
securityToken: 'SecurityToken',
|
|
2546
|
+
};
|
|
2547
|
+
}
|
|
2548
|
+
|
|
2549
|
+
static types(): { [key: string]: any } {
|
|
2550
|
+
return {
|
|
2551
|
+
groupId: 'string',
|
|
2552
|
+
rawMonitorGroupId: 'number',
|
|
2553
|
+
securityToken: 'string',
|
|
2554
|
+
};
|
|
2555
|
+
}
|
|
2556
|
+
|
|
2557
|
+
constructor(map?: { [key: string]: any }) {
|
|
2558
|
+
super(map);
|
|
2559
|
+
}
|
|
2560
|
+
}
|
|
2561
|
+
|
|
2562
|
+
export class DeleteMonitorGroupResponseBody extends $tea.Model {
|
|
2563
|
+
requestId?: string;
|
|
2564
|
+
static names(): { [key: string]: string } {
|
|
2565
|
+
return {
|
|
2566
|
+
requestId: 'RequestId',
|
|
2567
|
+
};
|
|
2568
|
+
}
|
|
2569
|
+
|
|
2570
|
+
static types(): { [key: string]: any } {
|
|
2571
|
+
return {
|
|
2572
|
+
requestId: 'string',
|
|
2573
|
+
};
|
|
2574
|
+
}
|
|
2575
|
+
|
|
2576
|
+
constructor(map?: { [key: string]: any }) {
|
|
2577
|
+
super(map);
|
|
2578
|
+
}
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2581
|
+
export class DeleteMonitorGroupResponse extends $tea.Model {
|
|
2582
|
+
headers: { [key: string]: string };
|
|
2583
|
+
body: DeleteMonitorGroupResponseBody;
|
|
2584
|
+
static names(): { [key: string]: string } {
|
|
2585
|
+
return {
|
|
2586
|
+
headers: 'headers',
|
|
2587
|
+
body: 'body',
|
|
2588
|
+
};
|
|
2589
|
+
}
|
|
2590
|
+
|
|
2591
|
+
static types(): { [key: string]: any } {
|
|
2592
|
+
return {
|
|
2593
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2594
|
+
body: DeleteMonitorGroupResponseBody,
|
|
2595
|
+
};
|
|
2596
|
+
}
|
|
2597
|
+
|
|
2598
|
+
constructor(map?: { [key: string]: any }) {
|
|
2599
|
+
super(map);
|
|
2600
|
+
}
|
|
2601
|
+
}
|
|
2602
|
+
|
|
2246
2603
|
export class DeletePluginRequest extends $tea.Model {
|
|
2247
2604
|
pluginId?: string;
|
|
2248
2605
|
securityToken?: string;
|
|
@@ -2673,6 +3030,8 @@ export class DescribeApiResponseBody extends $tea.Model {
|
|
|
2673
3030
|
apiName?: string;
|
|
2674
3031
|
appCodeAuthType?: string;
|
|
2675
3032
|
authType?: string;
|
|
3033
|
+
backendConfig?: DescribeApiResponseBodyBackendConfig;
|
|
3034
|
+
backendEnable?: boolean;
|
|
2676
3035
|
constantParameters?: DescribeApiResponseBodyConstantParameters;
|
|
2677
3036
|
createdTime?: string;
|
|
2678
3037
|
customSystemParameters?: DescribeApiResponseBodyCustomSystemParameters;
|
|
@@ -2709,6 +3068,8 @@ export class DescribeApiResponseBody extends $tea.Model {
|
|
|
2709
3068
|
apiName: 'ApiName',
|
|
2710
3069
|
appCodeAuthType: 'AppCodeAuthType',
|
|
2711
3070
|
authType: 'AuthType',
|
|
3071
|
+
backendConfig: 'BackendConfig',
|
|
3072
|
+
backendEnable: 'BackendEnable',
|
|
2712
3073
|
constantParameters: 'ConstantParameters',
|
|
2713
3074
|
createdTime: 'CreatedTime',
|
|
2714
3075
|
customSystemParameters: 'CustomSystemParameters',
|
|
@@ -2748,6 +3109,8 @@ export class DescribeApiResponseBody extends $tea.Model {
|
|
|
2748
3109
|
apiName: 'string',
|
|
2749
3110
|
appCodeAuthType: 'string',
|
|
2750
3111
|
authType: 'string',
|
|
3112
|
+
backendConfig: DescribeApiResponseBodyBackendConfig,
|
|
3113
|
+
backendEnable: 'boolean',
|
|
2751
3114
|
constantParameters: DescribeApiResponseBodyConstantParameters,
|
|
2752
3115
|
createdTime: 'string',
|
|
2753
3116
|
customSystemParameters: DescribeApiResponseBodyCustomSystemParameters,
|
|
@@ -3378,6 +3741,8 @@ export class DescribeApiHistoryResponseBody extends $tea.Model {
|
|
|
3378
3741
|
apiName?: string;
|
|
3379
3742
|
appCodeAuthType?: string;
|
|
3380
3743
|
authType?: string;
|
|
3744
|
+
backendConfig?: DescribeApiHistoryResponseBodyBackendConfig;
|
|
3745
|
+
backendEnable?: boolean;
|
|
3381
3746
|
constantParameters?: DescribeApiHistoryResponseBodyConstantParameters;
|
|
3382
3747
|
customSystemParameters?: DescribeApiHistoryResponseBodyCustomSystemParameters;
|
|
3383
3748
|
deployedTime?: string;
|
|
@@ -3413,6 +3778,8 @@ export class DescribeApiHistoryResponseBody extends $tea.Model {
|
|
|
3413
3778
|
apiName: 'ApiName',
|
|
3414
3779
|
appCodeAuthType: 'AppCodeAuthType',
|
|
3415
3780
|
authType: 'AuthType',
|
|
3781
|
+
backendConfig: 'BackendConfig',
|
|
3782
|
+
backendEnable: 'BackendEnable',
|
|
3416
3783
|
constantParameters: 'ConstantParameters',
|
|
3417
3784
|
customSystemParameters: 'CustomSystemParameters',
|
|
3418
3785
|
deployedTime: 'DeployedTime',
|
|
@@ -3451,6 +3818,8 @@ export class DescribeApiHistoryResponseBody extends $tea.Model {
|
|
|
3451
3818
|
apiName: 'string',
|
|
3452
3819
|
appCodeAuthType: 'string',
|
|
3453
3820
|
authType: 'string',
|
|
3821
|
+
backendConfig: DescribeApiHistoryResponseBodyBackendConfig,
|
|
3822
|
+
backendEnable: 'boolean',
|
|
3454
3823
|
constantParameters: DescribeApiHistoryResponseBodyConstantParameters,
|
|
3455
3824
|
customSystemParameters: DescribeApiHistoryResponseBodyCustomSystemParameters,
|
|
3456
3825
|
deployedTime: 'string',
|
|
@@ -4121,8 +4490,101 @@ export class DescribeApisRequest extends $tea.Model {
|
|
|
4121
4490
|
pageNumber: 'number',
|
|
4122
4491
|
pageSize: 'number',
|
|
4123
4492
|
securityToken: 'string',
|
|
4124
|
-
tag: { 'type': 'array', 'itemType': DescribeApisRequestTag },
|
|
4125
|
-
visibility: 'string',
|
|
4493
|
+
tag: { 'type': 'array', 'itemType': DescribeApisRequestTag },
|
|
4494
|
+
visibility: 'string',
|
|
4495
|
+
};
|
|
4496
|
+
}
|
|
4497
|
+
|
|
4498
|
+
constructor(map?: { [key: string]: any }) {
|
|
4499
|
+
super(map);
|
|
4500
|
+
}
|
|
4501
|
+
}
|
|
4502
|
+
|
|
4503
|
+
export class DescribeApisResponseBody extends $tea.Model {
|
|
4504
|
+
apiSummarys?: DescribeApisResponseBodyApiSummarys;
|
|
4505
|
+
pageNumber?: number;
|
|
4506
|
+
pageSize?: number;
|
|
4507
|
+
requestId?: string;
|
|
4508
|
+
totalCount?: number;
|
|
4509
|
+
static names(): { [key: string]: string } {
|
|
4510
|
+
return {
|
|
4511
|
+
apiSummarys: 'ApiSummarys',
|
|
4512
|
+
pageNumber: 'PageNumber',
|
|
4513
|
+
pageSize: 'PageSize',
|
|
4514
|
+
requestId: 'RequestId',
|
|
4515
|
+
totalCount: 'TotalCount',
|
|
4516
|
+
};
|
|
4517
|
+
}
|
|
4518
|
+
|
|
4519
|
+
static types(): { [key: string]: any } {
|
|
4520
|
+
return {
|
|
4521
|
+
apiSummarys: DescribeApisResponseBodyApiSummarys,
|
|
4522
|
+
pageNumber: 'number',
|
|
4523
|
+
pageSize: 'number',
|
|
4524
|
+
requestId: 'string',
|
|
4525
|
+
totalCount: 'number',
|
|
4526
|
+
};
|
|
4527
|
+
}
|
|
4528
|
+
|
|
4529
|
+
constructor(map?: { [key: string]: any }) {
|
|
4530
|
+
super(map);
|
|
4531
|
+
}
|
|
4532
|
+
}
|
|
4533
|
+
|
|
4534
|
+
export class DescribeApisResponse extends $tea.Model {
|
|
4535
|
+
headers: { [key: string]: string };
|
|
4536
|
+
body: DescribeApisResponseBody;
|
|
4537
|
+
static names(): { [key: string]: string } {
|
|
4538
|
+
return {
|
|
4539
|
+
headers: 'headers',
|
|
4540
|
+
body: 'body',
|
|
4541
|
+
};
|
|
4542
|
+
}
|
|
4543
|
+
|
|
4544
|
+
static types(): { [key: string]: any } {
|
|
4545
|
+
return {
|
|
4546
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4547
|
+
body: DescribeApisResponseBody,
|
|
4548
|
+
};
|
|
4549
|
+
}
|
|
4550
|
+
|
|
4551
|
+
constructor(map?: { [key: string]: any }) {
|
|
4552
|
+
super(map);
|
|
4553
|
+
}
|
|
4554
|
+
}
|
|
4555
|
+
|
|
4556
|
+
export class DescribeApisByAppRequest extends $tea.Model {
|
|
4557
|
+
apiName?: string;
|
|
4558
|
+
apiUid?: string;
|
|
4559
|
+
appId?: number;
|
|
4560
|
+
method?: string;
|
|
4561
|
+
pageNumber?: number;
|
|
4562
|
+
pageSize?: number;
|
|
4563
|
+
path?: string;
|
|
4564
|
+
securityToken?: string;
|
|
4565
|
+
static names(): { [key: string]: string } {
|
|
4566
|
+
return {
|
|
4567
|
+
apiName: 'ApiName',
|
|
4568
|
+
apiUid: 'ApiUid',
|
|
4569
|
+
appId: 'AppId',
|
|
4570
|
+
method: 'Method',
|
|
4571
|
+
pageNumber: 'PageNumber',
|
|
4572
|
+
pageSize: 'PageSize',
|
|
4573
|
+
path: 'Path',
|
|
4574
|
+
securityToken: 'SecurityToken',
|
|
4575
|
+
};
|
|
4576
|
+
}
|
|
4577
|
+
|
|
4578
|
+
static types(): { [key: string]: any } {
|
|
4579
|
+
return {
|
|
4580
|
+
apiName: 'string',
|
|
4581
|
+
apiUid: 'string',
|
|
4582
|
+
appId: 'number',
|
|
4583
|
+
method: 'string',
|
|
4584
|
+
pageNumber: 'number',
|
|
4585
|
+
pageSize: 'number',
|
|
4586
|
+
path: 'string',
|
|
4587
|
+
securityToken: 'string',
|
|
4126
4588
|
};
|
|
4127
4589
|
}
|
|
4128
4590
|
|
|
@@ -4131,15 +4593,15 @@ export class DescribeApisRequest extends $tea.Model {
|
|
|
4131
4593
|
}
|
|
4132
4594
|
}
|
|
4133
4595
|
|
|
4134
|
-
export class
|
|
4135
|
-
|
|
4596
|
+
export class DescribeApisByAppResponseBody extends $tea.Model {
|
|
4597
|
+
appApiRelationInfos?: DescribeApisByAppResponseBodyAppApiRelationInfos;
|
|
4136
4598
|
pageNumber?: number;
|
|
4137
4599
|
pageSize?: number;
|
|
4138
4600
|
requestId?: string;
|
|
4139
4601
|
totalCount?: number;
|
|
4140
4602
|
static names(): { [key: string]: string } {
|
|
4141
4603
|
return {
|
|
4142
|
-
|
|
4604
|
+
appApiRelationInfos: 'AppApiRelationInfos',
|
|
4143
4605
|
pageNumber: 'PageNumber',
|
|
4144
4606
|
pageSize: 'PageSize',
|
|
4145
4607
|
requestId: 'RequestId',
|
|
@@ -4149,7 +4611,7 @@ export class DescribeApisResponseBody extends $tea.Model {
|
|
|
4149
4611
|
|
|
4150
4612
|
static types(): { [key: string]: any } {
|
|
4151
4613
|
return {
|
|
4152
|
-
|
|
4614
|
+
appApiRelationInfos: DescribeApisByAppResponseBodyAppApiRelationInfos,
|
|
4153
4615
|
pageNumber: 'number',
|
|
4154
4616
|
pageSize: 'number',
|
|
4155
4617
|
requestId: 'string',
|
|
@@ -4162,9 +4624,9 @@ export class DescribeApisResponseBody extends $tea.Model {
|
|
|
4162
4624
|
}
|
|
4163
4625
|
}
|
|
4164
4626
|
|
|
4165
|
-
export class
|
|
4627
|
+
export class DescribeApisByAppResponse extends $tea.Model {
|
|
4166
4628
|
headers: { [key: string]: string };
|
|
4167
|
-
body:
|
|
4629
|
+
body: DescribeApisByAppResponseBody;
|
|
4168
4630
|
static names(): { [key: string]: string } {
|
|
4169
4631
|
return {
|
|
4170
4632
|
headers: 'headers',
|
|
@@ -4175,7 +4637,7 @@ export class DescribeApisResponse extends $tea.Model {
|
|
|
4175
4637
|
static types(): { [key: string]: any } {
|
|
4176
4638
|
return {
|
|
4177
4639
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4178
|
-
body:
|
|
4640
|
+
body: DescribeApisByAppResponseBody,
|
|
4179
4641
|
};
|
|
4180
4642
|
}
|
|
4181
4643
|
|
|
@@ -4184,38 +4646,29 @@ export class DescribeApisResponse extends $tea.Model {
|
|
|
4184
4646
|
}
|
|
4185
4647
|
}
|
|
4186
4648
|
|
|
4187
|
-
export class
|
|
4188
|
-
|
|
4189
|
-
apiUid?: string;
|
|
4190
|
-
appId?: number;
|
|
4191
|
-
method?: string;
|
|
4649
|
+
export class DescribeApisByBackendRequest extends $tea.Model {
|
|
4650
|
+
backendId?: string;
|
|
4192
4651
|
pageNumber?: number;
|
|
4193
4652
|
pageSize?: number;
|
|
4194
|
-
path?: string;
|
|
4195
4653
|
securityToken?: string;
|
|
4654
|
+
stageName?: string;
|
|
4196
4655
|
static names(): { [key: string]: string } {
|
|
4197
4656
|
return {
|
|
4198
|
-
|
|
4199
|
-
apiUid: 'ApiUid',
|
|
4200
|
-
appId: 'AppId',
|
|
4201
|
-
method: 'Method',
|
|
4657
|
+
backendId: 'BackendId',
|
|
4202
4658
|
pageNumber: 'PageNumber',
|
|
4203
4659
|
pageSize: 'PageSize',
|
|
4204
|
-
path: 'Path',
|
|
4205
4660
|
securityToken: 'SecurityToken',
|
|
4661
|
+
stageName: 'StageName',
|
|
4206
4662
|
};
|
|
4207
4663
|
}
|
|
4208
4664
|
|
|
4209
4665
|
static types(): { [key: string]: any } {
|
|
4210
4666
|
return {
|
|
4211
|
-
|
|
4212
|
-
apiUid: 'string',
|
|
4213
|
-
appId: 'number',
|
|
4214
|
-
method: 'string',
|
|
4667
|
+
backendId: 'string',
|
|
4215
4668
|
pageNumber: 'number',
|
|
4216
4669
|
pageSize: 'number',
|
|
4217
|
-
path: 'string',
|
|
4218
4670
|
securityToken: 'string',
|
|
4671
|
+
stageName: 'string',
|
|
4219
4672
|
};
|
|
4220
4673
|
}
|
|
4221
4674
|
|
|
@@ -4224,15 +4677,15 @@ export class DescribeApisByAppRequest extends $tea.Model {
|
|
|
4224
4677
|
}
|
|
4225
4678
|
}
|
|
4226
4679
|
|
|
4227
|
-
export class
|
|
4228
|
-
|
|
4680
|
+
export class DescribeApisByBackendResponseBody extends $tea.Model {
|
|
4681
|
+
apiInfoList?: DescribeApisByBackendResponseBodyApiInfoList;
|
|
4229
4682
|
pageNumber?: number;
|
|
4230
4683
|
pageSize?: number;
|
|
4231
4684
|
requestId?: string;
|
|
4232
4685
|
totalCount?: number;
|
|
4233
4686
|
static names(): { [key: string]: string } {
|
|
4234
4687
|
return {
|
|
4235
|
-
|
|
4688
|
+
apiInfoList: 'ApiInfoList',
|
|
4236
4689
|
pageNumber: 'PageNumber',
|
|
4237
4690
|
pageSize: 'PageSize',
|
|
4238
4691
|
requestId: 'RequestId',
|
|
@@ -4242,7 +4695,7 @@ export class DescribeApisByAppResponseBody extends $tea.Model {
|
|
|
4242
4695
|
|
|
4243
4696
|
static types(): { [key: string]: any } {
|
|
4244
4697
|
return {
|
|
4245
|
-
|
|
4698
|
+
apiInfoList: DescribeApisByBackendResponseBodyApiInfoList,
|
|
4246
4699
|
pageNumber: 'number',
|
|
4247
4700
|
pageSize: 'number',
|
|
4248
4701
|
requestId: 'string',
|
|
@@ -4255,9 +4708,9 @@ export class DescribeApisByAppResponseBody extends $tea.Model {
|
|
|
4255
4708
|
}
|
|
4256
4709
|
}
|
|
4257
4710
|
|
|
4258
|
-
export class
|
|
4711
|
+
export class DescribeApisByBackendResponse extends $tea.Model {
|
|
4259
4712
|
headers: { [key: string]: string };
|
|
4260
|
-
body:
|
|
4713
|
+
body: DescribeApisByBackendResponseBody;
|
|
4261
4714
|
static names(): { [key: string]: string } {
|
|
4262
4715
|
return {
|
|
4263
4716
|
headers: 'headers',
|
|
@@ -4268,7 +4721,7 @@ export class DescribeApisByAppResponse extends $tea.Model {
|
|
|
4268
4721
|
static types(): { [key: string]: any } {
|
|
4269
4722
|
return {
|
|
4270
4723
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4271
|
-
body:
|
|
4724
|
+
body: DescribeApisByBackendResponseBody,
|
|
4272
4725
|
};
|
|
4273
4726
|
}
|
|
4274
4727
|
|
|
@@ -5039,6 +5492,156 @@ export class DescribeAuthorizedAppsResponse extends $tea.Model {
|
|
|
5039
5492
|
}
|
|
5040
5493
|
}
|
|
5041
5494
|
|
|
5495
|
+
export class DescribeBackendInfoRequest extends $tea.Model {
|
|
5496
|
+
backendId?: string;
|
|
5497
|
+
securityToken?: string;
|
|
5498
|
+
static names(): { [key: string]: string } {
|
|
5499
|
+
return {
|
|
5500
|
+
backendId: 'BackendId',
|
|
5501
|
+
securityToken: 'SecurityToken',
|
|
5502
|
+
};
|
|
5503
|
+
}
|
|
5504
|
+
|
|
5505
|
+
static types(): { [key: string]: any } {
|
|
5506
|
+
return {
|
|
5507
|
+
backendId: 'string',
|
|
5508
|
+
securityToken: 'string',
|
|
5509
|
+
};
|
|
5510
|
+
}
|
|
5511
|
+
|
|
5512
|
+
constructor(map?: { [key: string]: any }) {
|
|
5513
|
+
super(map);
|
|
5514
|
+
}
|
|
5515
|
+
}
|
|
5516
|
+
|
|
5517
|
+
export class DescribeBackendInfoResponseBody extends $tea.Model {
|
|
5518
|
+
backendInfo?: DescribeBackendInfoResponseBodyBackendInfo;
|
|
5519
|
+
requestId?: string;
|
|
5520
|
+
static names(): { [key: string]: string } {
|
|
5521
|
+
return {
|
|
5522
|
+
backendInfo: 'BackendInfo',
|
|
5523
|
+
requestId: 'RequestId',
|
|
5524
|
+
};
|
|
5525
|
+
}
|
|
5526
|
+
|
|
5527
|
+
static types(): { [key: string]: any } {
|
|
5528
|
+
return {
|
|
5529
|
+
backendInfo: DescribeBackendInfoResponseBodyBackendInfo,
|
|
5530
|
+
requestId: 'string',
|
|
5531
|
+
};
|
|
5532
|
+
}
|
|
5533
|
+
|
|
5534
|
+
constructor(map?: { [key: string]: any }) {
|
|
5535
|
+
super(map);
|
|
5536
|
+
}
|
|
5537
|
+
}
|
|
5538
|
+
|
|
5539
|
+
export class DescribeBackendInfoResponse extends $tea.Model {
|
|
5540
|
+
headers: { [key: string]: string };
|
|
5541
|
+
body: DescribeBackendInfoResponseBody;
|
|
5542
|
+
static names(): { [key: string]: string } {
|
|
5543
|
+
return {
|
|
5544
|
+
headers: 'headers',
|
|
5545
|
+
body: 'body',
|
|
5546
|
+
};
|
|
5547
|
+
}
|
|
5548
|
+
|
|
5549
|
+
static types(): { [key: string]: any } {
|
|
5550
|
+
return {
|
|
5551
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5552
|
+
body: DescribeBackendInfoResponseBody,
|
|
5553
|
+
};
|
|
5554
|
+
}
|
|
5555
|
+
|
|
5556
|
+
constructor(map?: { [key: string]: any }) {
|
|
5557
|
+
super(map);
|
|
5558
|
+
}
|
|
5559
|
+
}
|
|
5560
|
+
|
|
5561
|
+
export class DescribeBackendListRequest extends $tea.Model {
|
|
5562
|
+
backendName?: string;
|
|
5563
|
+
backendType?: string;
|
|
5564
|
+
pageNumber?: number;
|
|
5565
|
+
pageSize?: number;
|
|
5566
|
+
securityToken?: string;
|
|
5567
|
+
static names(): { [key: string]: string } {
|
|
5568
|
+
return {
|
|
5569
|
+
backendName: 'BackendName',
|
|
5570
|
+
backendType: 'BackendType',
|
|
5571
|
+
pageNumber: 'PageNumber',
|
|
5572
|
+
pageSize: 'PageSize',
|
|
5573
|
+
securityToken: 'SecurityToken',
|
|
5574
|
+
};
|
|
5575
|
+
}
|
|
5576
|
+
|
|
5577
|
+
static types(): { [key: string]: any } {
|
|
5578
|
+
return {
|
|
5579
|
+
backendName: 'string',
|
|
5580
|
+
backendType: 'string',
|
|
5581
|
+
pageNumber: 'number',
|
|
5582
|
+
pageSize: 'number',
|
|
5583
|
+
securityToken: 'string',
|
|
5584
|
+
};
|
|
5585
|
+
}
|
|
5586
|
+
|
|
5587
|
+
constructor(map?: { [key: string]: any }) {
|
|
5588
|
+
super(map);
|
|
5589
|
+
}
|
|
5590
|
+
}
|
|
5591
|
+
|
|
5592
|
+
export class DescribeBackendListResponseBody extends $tea.Model {
|
|
5593
|
+
backendInfoList?: DescribeBackendListResponseBodyBackendInfoList[];
|
|
5594
|
+
pageNumber?: number;
|
|
5595
|
+
pageSize?: number;
|
|
5596
|
+
requestId?: string;
|
|
5597
|
+
totalCount?: number;
|
|
5598
|
+
static names(): { [key: string]: string } {
|
|
5599
|
+
return {
|
|
5600
|
+
backendInfoList: 'BackendInfoList',
|
|
5601
|
+
pageNumber: 'PageNumber',
|
|
5602
|
+
pageSize: 'PageSize',
|
|
5603
|
+
requestId: 'RequestId',
|
|
5604
|
+
totalCount: 'TotalCount',
|
|
5605
|
+
};
|
|
5606
|
+
}
|
|
5607
|
+
|
|
5608
|
+
static types(): { [key: string]: any } {
|
|
5609
|
+
return {
|
|
5610
|
+
backendInfoList: { 'type': 'array', 'itemType': DescribeBackendListResponseBodyBackendInfoList },
|
|
5611
|
+
pageNumber: 'number',
|
|
5612
|
+
pageSize: 'number',
|
|
5613
|
+
requestId: 'string',
|
|
5614
|
+
totalCount: 'number',
|
|
5615
|
+
};
|
|
5616
|
+
}
|
|
5617
|
+
|
|
5618
|
+
constructor(map?: { [key: string]: any }) {
|
|
5619
|
+
super(map);
|
|
5620
|
+
}
|
|
5621
|
+
}
|
|
5622
|
+
|
|
5623
|
+
export class DescribeBackendListResponse extends $tea.Model {
|
|
5624
|
+
headers: { [key: string]: string };
|
|
5625
|
+
body: DescribeBackendListResponseBody;
|
|
5626
|
+
static names(): { [key: string]: string } {
|
|
5627
|
+
return {
|
|
5628
|
+
headers: 'headers',
|
|
5629
|
+
body: 'body',
|
|
5630
|
+
};
|
|
5631
|
+
}
|
|
5632
|
+
|
|
5633
|
+
static types(): { [key: string]: any } {
|
|
5634
|
+
return {
|
|
5635
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5636
|
+
body: DescribeBackendListResponseBody,
|
|
5637
|
+
};
|
|
5638
|
+
}
|
|
5639
|
+
|
|
5640
|
+
constructor(map?: { [key: string]: any }) {
|
|
5641
|
+
super(map);
|
|
5642
|
+
}
|
|
5643
|
+
}
|
|
5644
|
+
|
|
5042
5645
|
export class DescribeDeployApiTaskRequest extends $tea.Model {
|
|
5043
5646
|
operationUid?: string;
|
|
5044
5647
|
securityToken?: string;
|
|
@@ -6796,8 +7399,93 @@ export class DescribeTrafficControlsRequest extends $tea.Model {
|
|
|
6796
7399
|
pageSize: 'PageSize',
|
|
6797
7400
|
securityToken: 'SecurityToken',
|
|
6798
7401
|
stageName: 'StageName',
|
|
6799
|
-
trafficControlId: 'TrafficControlId',
|
|
6800
|
-
trafficControlName: 'TrafficControlName',
|
|
7402
|
+
trafficControlId: 'TrafficControlId',
|
|
7403
|
+
trafficControlName: 'TrafficControlName',
|
|
7404
|
+
};
|
|
7405
|
+
}
|
|
7406
|
+
|
|
7407
|
+
static types(): { [key: string]: any } {
|
|
7408
|
+
return {
|
|
7409
|
+
apiId: 'string',
|
|
7410
|
+
groupId: 'string',
|
|
7411
|
+
pageNumber: 'number',
|
|
7412
|
+
pageSize: 'number',
|
|
7413
|
+
securityToken: 'string',
|
|
7414
|
+
stageName: 'string',
|
|
7415
|
+
trafficControlId: 'string',
|
|
7416
|
+
trafficControlName: 'string',
|
|
7417
|
+
};
|
|
7418
|
+
}
|
|
7419
|
+
|
|
7420
|
+
constructor(map?: { [key: string]: any }) {
|
|
7421
|
+
super(map);
|
|
7422
|
+
}
|
|
7423
|
+
}
|
|
7424
|
+
|
|
7425
|
+
export class DescribeTrafficControlsResponseBody extends $tea.Model {
|
|
7426
|
+
pageNumber?: number;
|
|
7427
|
+
pageSize?: number;
|
|
7428
|
+
requestId?: string;
|
|
7429
|
+
totalCount?: number;
|
|
7430
|
+
trafficControls?: DescribeTrafficControlsResponseBodyTrafficControls;
|
|
7431
|
+
static names(): { [key: string]: string } {
|
|
7432
|
+
return {
|
|
7433
|
+
pageNumber: 'PageNumber',
|
|
7434
|
+
pageSize: 'PageSize',
|
|
7435
|
+
requestId: 'RequestId',
|
|
7436
|
+
totalCount: 'TotalCount',
|
|
7437
|
+
trafficControls: 'TrafficControls',
|
|
7438
|
+
};
|
|
7439
|
+
}
|
|
7440
|
+
|
|
7441
|
+
static types(): { [key: string]: any } {
|
|
7442
|
+
return {
|
|
7443
|
+
pageNumber: 'number',
|
|
7444
|
+
pageSize: 'number',
|
|
7445
|
+
requestId: 'string',
|
|
7446
|
+
totalCount: 'number',
|
|
7447
|
+
trafficControls: DescribeTrafficControlsResponseBodyTrafficControls,
|
|
7448
|
+
};
|
|
7449
|
+
}
|
|
7450
|
+
|
|
7451
|
+
constructor(map?: { [key: string]: any }) {
|
|
7452
|
+
super(map);
|
|
7453
|
+
}
|
|
7454
|
+
}
|
|
7455
|
+
|
|
7456
|
+
export class DescribeTrafficControlsResponse extends $tea.Model {
|
|
7457
|
+
headers: { [key: string]: string };
|
|
7458
|
+
body: DescribeTrafficControlsResponseBody;
|
|
7459
|
+
static names(): { [key: string]: string } {
|
|
7460
|
+
return {
|
|
7461
|
+
headers: 'headers',
|
|
7462
|
+
body: 'body',
|
|
7463
|
+
};
|
|
7464
|
+
}
|
|
7465
|
+
|
|
7466
|
+
static types(): { [key: string]: any } {
|
|
7467
|
+
return {
|
|
7468
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7469
|
+
body: DescribeTrafficControlsResponseBody,
|
|
7470
|
+
};
|
|
7471
|
+
}
|
|
7472
|
+
|
|
7473
|
+
constructor(map?: { [key: string]: any }) {
|
|
7474
|
+
super(map);
|
|
7475
|
+
}
|
|
7476
|
+
}
|
|
7477
|
+
|
|
7478
|
+
export class DescribeTrafficControlsByApiRequest extends $tea.Model {
|
|
7479
|
+
apiId?: string;
|
|
7480
|
+
groupId?: string;
|
|
7481
|
+
securityToken?: string;
|
|
7482
|
+
stageName?: string;
|
|
7483
|
+
static names(): { [key: string]: string } {
|
|
7484
|
+
return {
|
|
7485
|
+
apiId: 'ApiId',
|
|
7486
|
+
groupId: 'GroupId',
|
|
7487
|
+
securityToken: 'SecurityToken',
|
|
7488
|
+
stageName: 'StageName',
|
|
6801
7489
|
};
|
|
6802
7490
|
}
|
|
6803
7491
|
|
|
@@ -6805,12 +7493,8 @@ export class DescribeTrafficControlsRequest extends $tea.Model {
|
|
|
6805
7493
|
return {
|
|
6806
7494
|
apiId: 'string',
|
|
6807
7495
|
groupId: 'string',
|
|
6808
|
-
pageNumber: 'number',
|
|
6809
|
-
pageSize: 'number',
|
|
6810
7496
|
securityToken: 'string',
|
|
6811
7497
|
stageName: 'string',
|
|
6812
|
-
trafficControlId: 'string',
|
|
6813
|
-
trafficControlName: 'string',
|
|
6814
7498
|
};
|
|
6815
7499
|
}
|
|
6816
7500
|
|
|
@@ -6819,29 +7503,20 @@ export class DescribeTrafficControlsRequest extends $tea.Model {
|
|
|
6819
7503
|
}
|
|
6820
7504
|
}
|
|
6821
7505
|
|
|
6822
|
-
export class
|
|
6823
|
-
pageNumber?: number;
|
|
6824
|
-
pageSize?: number;
|
|
7506
|
+
export class DescribeTrafficControlsByApiResponseBody extends $tea.Model {
|
|
6825
7507
|
requestId?: string;
|
|
6826
|
-
|
|
6827
|
-
trafficControls?: DescribeTrafficControlsResponseBodyTrafficControls;
|
|
7508
|
+
trafficControlItems?: DescribeTrafficControlsByApiResponseBodyTrafficControlItems;
|
|
6828
7509
|
static names(): { [key: string]: string } {
|
|
6829
7510
|
return {
|
|
6830
|
-
pageNumber: 'PageNumber',
|
|
6831
|
-
pageSize: 'PageSize',
|
|
6832
7511
|
requestId: 'RequestId',
|
|
6833
|
-
|
|
6834
|
-
trafficControls: 'TrafficControls',
|
|
7512
|
+
trafficControlItems: 'TrafficControlItems',
|
|
6835
7513
|
};
|
|
6836
7514
|
}
|
|
6837
7515
|
|
|
6838
7516
|
static types(): { [key: string]: any } {
|
|
6839
7517
|
return {
|
|
6840
|
-
pageNumber: 'number',
|
|
6841
|
-
pageSize: 'number',
|
|
6842
7518
|
requestId: 'string',
|
|
6843
|
-
|
|
6844
|
-
trafficControls: DescribeTrafficControlsResponseBodyTrafficControls,
|
|
7519
|
+
trafficControlItems: DescribeTrafficControlsByApiResponseBodyTrafficControlItems,
|
|
6845
7520
|
};
|
|
6846
7521
|
}
|
|
6847
7522
|
|
|
@@ -6850,9 +7525,9 @@ export class DescribeTrafficControlsResponseBody extends $tea.Model {
|
|
|
6850
7525
|
}
|
|
6851
7526
|
}
|
|
6852
7527
|
|
|
6853
|
-
export class
|
|
7528
|
+
export class DescribeTrafficControlsByApiResponse extends $tea.Model {
|
|
6854
7529
|
headers: { [key: string]: string };
|
|
6855
|
-
body:
|
|
7530
|
+
body: DescribeTrafficControlsByApiResponseBody;
|
|
6856
7531
|
static names(): { [key: string]: string } {
|
|
6857
7532
|
return {
|
|
6858
7533
|
headers: 'headers',
|
|
@@ -6863,7 +7538,7 @@ export class DescribeTrafficControlsResponse extends $tea.Model {
|
|
|
6863
7538
|
static types(): { [key: string]: any } {
|
|
6864
7539
|
return {
|
|
6865
7540
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6866
|
-
body:
|
|
7541
|
+
body: DescribeTrafficControlsByApiResponseBody,
|
|
6867
7542
|
};
|
|
6868
7543
|
}
|
|
6869
7544
|
|
|
@@ -6872,26 +7547,20 @@ export class DescribeTrafficControlsResponse extends $tea.Model {
|
|
|
6872
7547
|
}
|
|
6873
7548
|
}
|
|
6874
7549
|
|
|
6875
|
-
export class
|
|
6876
|
-
|
|
6877
|
-
groupId?: string;
|
|
7550
|
+
export class DescribeUpdateBackendTaskRequest extends $tea.Model {
|
|
7551
|
+
operationUid?: string;
|
|
6878
7552
|
securityToken?: string;
|
|
6879
|
-
stageName?: string;
|
|
6880
7553
|
static names(): { [key: string]: string } {
|
|
6881
7554
|
return {
|
|
6882
|
-
|
|
6883
|
-
groupId: 'GroupId',
|
|
7555
|
+
operationUid: 'OperationUid',
|
|
6884
7556
|
securityToken: 'SecurityToken',
|
|
6885
|
-
stageName: 'StageName',
|
|
6886
7557
|
};
|
|
6887
7558
|
}
|
|
6888
7559
|
|
|
6889
7560
|
static types(): { [key: string]: any } {
|
|
6890
7561
|
return {
|
|
6891
|
-
|
|
6892
|
-
groupId: 'string',
|
|
7562
|
+
operationUid: 'string',
|
|
6893
7563
|
securityToken: 'string',
|
|
6894
|
-
stageName: 'string',
|
|
6895
7564
|
};
|
|
6896
7565
|
}
|
|
6897
7566
|
|
|
@@ -6900,20 +7569,20 @@ export class DescribeTrafficControlsByApiRequest extends $tea.Model {
|
|
|
6900
7569
|
}
|
|
6901
7570
|
}
|
|
6902
7571
|
|
|
6903
|
-
export class
|
|
7572
|
+
export class DescribeUpdateBackendTaskResponseBody extends $tea.Model {
|
|
7573
|
+
apiUpdateBackendResults?: DescribeUpdateBackendTaskResponseBodyApiUpdateBackendResults;
|
|
6904
7574
|
requestId?: string;
|
|
6905
|
-
trafficControlItems?: DescribeTrafficControlsByApiResponseBodyTrafficControlItems;
|
|
6906
7575
|
static names(): { [key: string]: string } {
|
|
6907
7576
|
return {
|
|
7577
|
+
apiUpdateBackendResults: 'ApiUpdateBackendResults',
|
|
6908
7578
|
requestId: 'RequestId',
|
|
6909
|
-
trafficControlItems: 'TrafficControlItems',
|
|
6910
7579
|
};
|
|
6911
7580
|
}
|
|
6912
7581
|
|
|
6913
7582
|
static types(): { [key: string]: any } {
|
|
6914
7583
|
return {
|
|
7584
|
+
apiUpdateBackendResults: DescribeUpdateBackendTaskResponseBodyApiUpdateBackendResults,
|
|
6915
7585
|
requestId: 'string',
|
|
6916
|
-
trafficControlItems: DescribeTrafficControlsByApiResponseBodyTrafficControlItems,
|
|
6917
7586
|
};
|
|
6918
7587
|
}
|
|
6919
7588
|
|
|
@@ -6922,9 +7591,9 @@ export class DescribeTrafficControlsByApiResponseBody extends $tea.Model {
|
|
|
6922
7591
|
}
|
|
6923
7592
|
}
|
|
6924
7593
|
|
|
6925
|
-
export class
|
|
7594
|
+
export class DescribeUpdateBackendTaskResponse extends $tea.Model {
|
|
6926
7595
|
headers: { [key: string]: string };
|
|
6927
|
-
body:
|
|
7596
|
+
body: DescribeUpdateBackendTaskResponseBody;
|
|
6928
7597
|
static names(): { [key: string]: string } {
|
|
6929
7598
|
return {
|
|
6930
7599
|
headers: 'headers',
|
|
@@ -6935,7 +7604,7 @@ export class DescribeTrafficControlsByApiResponse extends $tea.Model {
|
|
|
6935
7604
|
static types(): { [key: string]: any } {
|
|
6936
7605
|
return {
|
|
6937
7606
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6938
|
-
body:
|
|
7607
|
+
body: DescribeUpdateBackendTaskResponseBody,
|
|
6939
7608
|
};
|
|
6940
7609
|
}
|
|
6941
7610
|
|
|
@@ -7169,6 +7838,78 @@ export class DescribeZonesResponse extends $tea.Model {
|
|
|
7169
7838
|
}
|
|
7170
7839
|
}
|
|
7171
7840
|
|
|
7841
|
+
export class DetachPluginRequest extends $tea.Model {
|
|
7842
|
+
apiId?: string;
|
|
7843
|
+
groupId?: string;
|
|
7844
|
+
pluginId?: string;
|
|
7845
|
+
securityToken?: string;
|
|
7846
|
+
stageName?: string;
|
|
7847
|
+
static names(): { [key: string]: string } {
|
|
7848
|
+
return {
|
|
7849
|
+
apiId: 'ApiId',
|
|
7850
|
+
groupId: 'GroupId',
|
|
7851
|
+
pluginId: 'PluginId',
|
|
7852
|
+
securityToken: 'SecurityToken',
|
|
7853
|
+
stageName: 'StageName',
|
|
7854
|
+
};
|
|
7855
|
+
}
|
|
7856
|
+
|
|
7857
|
+
static types(): { [key: string]: any } {
|
|
7858
|
+
return {
|
|
7859
|
+
apiId: 'string',
|
|
7860
|
+
groupId: 'string',
|
|
7861
|
+
pluginId: 'string',
|
|
7862
|
+
securityToken: 'string',
|
|
7863
|
+
stageName: 'string',
|
|
7864
|
+
};
|
|
7865
|
+
}
|
|
7866
|
+
|
|
7867
|
+
constructor(map?: { [key: string]: any }) {
|
|
7868
|
+
super(map);
|
|
7869
|
+
}
|
|
7870
|
+
}
|
|
7871
|
+
|
|
7872
|
+
export class DetachPluginResponseBody extends $tea.Model {
|
|
7873
|
+
requestId?: string;
|
|
7874
|
+
static names(): { [key: string]: string } {
|
|
7875
|
+
return {
|
|
7876
|
+
requestId: 'RequestId',
|
|
7877
|
+
};
|
|
7878
|
+
}
|
|
7879
|
+
|
|
7880
|
+
static types(): { [key: string]: any } {
|
|
7881
|
+
return {
|
|
7882
|
+
requestId: 'string',
|
|
7883
|
+
};
|
|
7884
|
+
}
|
|
7885
|
+
|
|
7886
|
+
constructor(map?: { [key: string]: any }) {
|
|
7887
|
+
super(map);
|
|
7888
|
+
}
|
|
7889
|
+
}
|
|
7890
|
+
|
|
7891
|
+
export class DetachPluginResponse extends $tea.Model {
|
|
7892
|
+
headers: { [key: string]: string };
|
|
7893
|
+
body: DetachPluginResponseBody;
|
|
7894
|
+
static names(): { [key: string]: string } {
|
|
7895
|
+
return {
|
|
7896
|
+
headers: 'headers',
|
|
7897
|
+
body: 'body',
|
|
7898
|
+
};
|
|
7899
|
+
}
|
|
7900
|
+
|
|
7901
|
+
static types(): { [key: string]: any } {
|
|
7902
|
+
return {
|
|
7903
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7904
|
+
body: DetachPluginResponseBody,
|
|
7905
|
+
};
|
|
7906
|
+
}
|
|
7907
|
+
|
|
7908
|
+
constructor(map?: { [key: string]: any }) {
|
|
7909
|
+
super(map);
|
|
7910
|
+
}
|
|
7911
|
+
}
|
|
7912
|
+
|
|
7172
7913
|
export class DryRunSwaggerRequest extends $tea.Model {
|
|
7173
7914
|
data?: string;
|
|
7174
7915
|
dataFormat?: string;
|
|
@@ -7501,6 +8242,8 @@ export class ModifyApiRequest extends $tea.Model {
|
|
|
7501
8242
|
apiName?: string;
|
|
7502
8243
|
appCodeAuthType?: string;
|
|
7503
8244
|
authType?: string;
|
|
8245
|
+
backendEnable?: boolean;
|
|
8246
|
+
backendId?: string;
|
|
7504
8247
|
constantParameters?: string;
|
|
7505
8248
|
description?: string;
|
|
7506
8249
|
disableInternet?: boolean;
|
|
@@ -7529,6 +8272,8 @@ export class ModifyApiRequest extends $tea.Model {
|
|
|
7529
8272
|
apiName: 'ApiName',
|
|
7530
8273
|
appCodeAuthType: 'AppCodeAuthType',
|
|
7531
8274
|
authType: 'AuthType',
|
|
8275
|
+
backendEnable: 'BackendEnable',
|
|
8276
|
+
backendId: 'BackendId',
|
|
7532
8277
|
constantParameters: 'ConstantParameters',
|
|
7533
8278
|
description: 'Description',
|
|
7534
8279
|
disableInternet: 'DisableInternet',
|
|
@@ -7560,6 +8305,8 @@ export class ModifyApiRequest extends $tea.Model {
|
|
|
7560
8305
|
apiName: 'string',
|
|
7561
8306
|
appCodeAuthType: 'string',
|
|
7562
8307
|
authType: 'string',
|
|
8308
|
+
backendEnable: 'boolean',
|
|
8309
|
+
backendId: 'string',
|
|
7563
8310
|
constantParameters: 'string',
|
|
7564
8311
|
description: 'string',
|
|
7565
8312
|
disableInternet: 'boolean',
|
|
@@ -7879,6 +8626,159 @@ export class ModifyAppResponse extends $tea.Model {
|
|
|
7879
8626
|
}
|
|
7880
8627
|
}
|
|
7881
8628
|
|
|
8629
|
+
export class ModifyBackendRequest extends $tea.Model {
|
|
8630
|
+
backendId?: string;
|
|
8631
|
+
backendName?: string;
|
|
8632
|
+
backendType?: string;
|
|
8633
|
+
description?: string;
|
|
8634
|
+
securityToken?: string;
|
|
8635
|
+
static names(): { [key: string]: string } {
|
|
8636
|
+
return {
|
|
8637
|
+
backendId: 'BackendId',
|
|
8638
|
+
backendName: 'BackendName',
|
|
8639
|
+
backendType: 'BackendType',
|
|
8640
|
+
description: 'Description',
|
|
8641
|
+
securityToken: 'SecurityToken',
|
|
8642
|
+
};
|
|
8643
|
+
}
|
|
8644
|
+
|
|
8645
|
+
static types(): { [key: string]: any } {
|
|
8646
|
+
return {
|
|
8647
|
+
backendId: 'string',
|
|
8648
|
+
backendName: 'string',
|
|
8649
|
+
backendType: 'string',
|
|
8650
|
+
description: 'string',
|
|
8651
|
+
securityToken: 'string',
|
|
8652
|
+
};
|
|
8653
|
+
}
|
|
8654
|
+
|
|
8655
|
+
constructor(map?: { [key: string]: any }) {
|
|
8656
|
+
super(map);
|
|
8657
|
+
}
|
|
8658
|
+
}
|
|
8659
|
+
|
|
8660
|
+
export class ModifyBackendResponseBody extends $tea.Model {
|
|
8661
|
+
requestId?: string;
|
|
8662
|
+
static names(): { [key: string]: string } {
|
|
8663
|
+
return {
|
|
8664
|
+
requestId: 'RequestId',
|
|
8665
|
+
};
|
|
8666
|
+
}
|
|
8667
|
+
|
|
8668
|
+
static types(): { [key: string]: any } {
|
|
8669
|
+
return {
|
|
8670
|
+
requestId: 'string',
|
|
8671
|
+
};
|
|
8672
|
+
}
|
|
8673
|
+
|
|
8674
|
+
constructor(map?: { [key: string]: any }) {
|
|
8675
|
+
super(map);
|
|
8676
|
+
}
|
|
8677
|
+
}
|
|
8678
|
+
|
|
8679
|
+
export class ModifyBackendResponse extends $tea.Model {
|
|
8680
|
+
headers: { [key: string]: string };
|
|
8681
|
+
body: ModifyBackendResponseBody;
|
|
8682
|
+
static names(): { [key: string]: string } {
|
|
8683
|
+
return {
|
|
8684
|
+
headers: 'headers',
|
|
8685
|
+
body: 'body',
|
|
8686
|
+
};
|
|
8687
|
+
}
|
|
8688
|
+
|
|
8689
|
+
static types(): { [key: string]: any } {
|
|
8690
|
+
return {
|
|
8691
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8692
|
+
body: ModifyBackendResponseBody,
|
|
8693
|
+
};
|
|
8694
|
+
}
|
|
8695
|
+
|
|
8696
|
+
constructor(map?: { [key: string]: any }) {
|
|
8697
|
+
super(map);
|
|
8698
|
+
}
|
|
8699
|
+
}
|
|
8700
|
+
|
|
8701
|
+
export class ModifyBackendModelRequest extends $tea.Model {
|
|
8702
|
+
backendId?: string;
|
|
8703
|
+
backendModelData?: string;
|
|
8704
|
+
backendModelId?: string;
|
|
8705
|
+
backendType?: string;
|
|
8706
|
+
description?: string;
|
|
8707
|
+
securityToken?: string;
|
|
8708
|
+
stageName?: string;
|
|
8709
|
+
static names(): { [key: string]: string } {
|
|
8710
|
+
return {
|
|
8711
|
+
backendId: 'BackendId',
|
|
8712
|
+
backendModelData: 'BackendModelData',
|
|
8713
|
+
backendModelId: 'BackendModelId',
|
|
8714
|
+
backendType: 'BackendType',
|
|
8715
|
+
description: 'Description',
|
|
8716
|
+
securityToken: 'SecurityToken',
|
|
8717
|
+
stageName: 'StageName',
|
|
8718
|
+
};
|
|
8719
|
+
}
|
|
8720
|
+
|
|
8721
|
+
static types(): { [key: string]: any } {
|
|
8722
|
+
return {
|
|
8723
|
+
backendId: 'string',
|
|
8724
|
+
backendModelData: 'string',
|
|
8725
|
+
backendModelId: 'string',
|
|
8726
|
+
backendType: 'string',
|
|
8727
|
+
description: 'string',
|
|
8728
|
+
securityToken: 'string',
|
|
8729
|
+
stageName: 'string',
|
|
8730
|
+
};
|
|
8731
|
+
}
|
|
8732
|
+
|
|
8733
|
+
constructor(map?: { [key: string]: any }) {
|
|
8734
|
+
super(map);
|
|
8735
|
+
}
|
|
8736
|
+
}
|
|
8737
|
+
|
|
8738
|
+
export class ModifyBackendModelResponseBody extends $tea.Model {
|
|
8739
|
+
operationId?: string;
|
|
8740
|
+
requestId?: string;
|
|
8741
|
+
static names(): { [key: string]: string } {
|
|
8742
|
+
return {
|
|
8743
|
+
operationId: 'OperationId',
|
|
8744
|
+
requestId: 'RequestId',
|
|
8745
|
+
};
|
|
8746
|
+
}
|
|
8747
|
+
|
|
8748
|
+
static types(): { [key: string]: any } {
|
|
8749
|
+
return {
|
|
8750
|
+
operationId: 'string',
|
|
8751
|
+
requestId: 'string',
|
|
8752
|
+
};
|
|
8753
|
+
}
|
|
8754
|
+
|
|
8755
|
+
constructor(map?: { [key: string]: any }) {
|
|
8756
|
+
super(map);
|
|
8757
|
+
}
|
|
8758
|
+
}
|
|
8759
|
+
|
|
8760
|
+
export class ModifyBackendModelResponse extends $tea.Model {
|
|
8761
|
+
headers: { [key: string]: string };
|
|
8762
|
+
body: ModifyBackendModelResponseBody;
|
|
8763
|
+
static names(): { [key: string]: string } {
|
|
8764
|
+
return {
|
|
8765
|
+
headers: 'headers',
|
|
8766
|
+
body: 'body',
|
|
8767
|
+
};
|
|
8768
|
+
}
|
|
8769
|
+
|
|
8770
|
+
static types(): { [key: string]: any } {
|
|
8771
|
+
return {
|
|
8772
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8773
|
+
body: ModifyBackendModelResponseBody,
|
|
8774
|
+
};
|
|
8775
|
+
}
|
|
8776
|
+
|
|
8777
|
+
constructor(map?: { [key: string]: any }) {
|
|
8778
|
+
super(map);
|
|
8779
|
+
}
|
|
8780
|
+
}
|
|
8781
|
+
|
|
7882
8782
|
export class ModifyInstanceSpecRequest extends $tea.Model {
|
|
7883
8783
|
autoPay?: boolean;
|
|
7884
8784
|
instanceId?: string;
|
|
@@ -10656,13 +11556,38 @@ export class DescribeAbolishApiTaskResponseBodyApiAbolishResults extends $tea.Mo
|
|
|
10656
11556
|
apiAbolishResult?: DescribeAbolishApiTaskResponseBodyApiAbolishResultsApiAbolishResult[];
|
|
10657
11557
|
static names(): { [key: string]: string } {
|
|
10658
11558
|
return {
|
|
10659
|
-
apiAbolishResult: 'ApiAbolishResult',
|
|
11559
|
+
apiAbolishResult: 'ApiAbolishResult',
|
|
11560
|
+
};
|
|
11561
|
+
}
|
|
11562
|
+
|
|
11563
|
+
static types(): { [key: string]: any } {
|
|
11564
|
+
return {
|
|
11565
|
+
apiAbolishResult: { 'type': 'array', 'itemType': DescribeAbolishApiTaskResponseBodyApiAbolishResultsApiAbolishResult },
|
|
11566
|
+
};
|
|
11567
|
+
}
|
|
11568
|
+
|
|
11569
|
+
constructor(map?: { [key: string]: any }) {
|
|
11570
|
+
super(map);
|
|
11571
|
+
}
|
|
11572
|
+
}
|
|
11573
|
+
|
|
11574
|
+
export class DescribeApiResponseBodyBackendConfig extends $tea.Model {
|
|
11575
|
+
backendId?: string;
|
|
11576
|
+
backendName?: string;
|
|
11577
|
+
backendType?: string;
|
|
11578
|
+
static names(): { [key: string]: string } {
|
|
11579
|
+
return {
|
|
11580
|
+
backendId: 'BackendId',
|
|
11581
|
+
backendName: 'BackendName',
|
|
11582
|
+
backendType: 'BackendType',
|
|
10660
11583
|
};
|
|
10661
11584
|
}
|
|
10662
11585
|
|
|
10663
11586
|
static types(): { [key: string]: any } {
|
|
10664
11587
|
return {
|
|
10665
|
-
|
|
11588
|
+
backendId: 'string',
|
|
11589
|
+
backendName: 'string',
|
|
11590
|
+
backendType: 'string',
|
|
10666
11591
|
};
|
|
10667
11592
|
}
|
|
10668
11593
|
|
|
@@ -11985,6 +12910,31 @@ export class DescribeApiHistoriesResponseBodyApiHisItems extends $tea.Model {
|
|
|
11985
12910
|
}
|
|
11986
12911
|
}
|
|
11987
12912
|
|
|
12913
|
+
export class DescribeApiHistoryResponseBodyBackendConfig extends $tea.Model {
|
|
12914
|
+
backendId?: string;
|
|
12915
|
+
backendName?: string;
|
|
12916
|
+
backendType?: string;
|
|
12917
|
+
static names(): { [key: string]: string } {
|
|
12918
|
+
return {
|
|
12919
|
+
backendId: 'BackendId',
|
|
12920
|
+
backendName: 'BackendName',
|
|
12921
|
+
backendType: 'BackendType',
|
|
12922
|
+
};
|
|
12923
|
+
}
|
|
12924
|
+
|
|
12925
|
+
static types(): { [key: string]: any } {
|
|
12926
|
+
return {
|
|
12927
|
+
backendId: 'string',
|
|
12928
|
+
backendName: 'string',
|
|
12929
|
+
backendType: 'string',
|
|
12930
|
+
};
|
|
12931
|
+
}
|
|
12932
|
+
|
|
12933
|
+
constructor(map?: { [key: string]: any }) {
|
|
12934
|
+
super(map);
|
|
12935
|
+
}
|
|
12936
|
+
}
|
|
12937
|
+
|
|
11988
12938
|
export class DescribeApiHistoryResponseBodyConstantParametersConstantParameter extends $tea.Model {
|
|
11989
12939
|
constantValue?: string;
|
|
11990
12940
|
description?: string;
|
|
@@ -13200,6 +14150,62 @@ export class DescribeApisByAppResponseBodyAppApiRelationInfos extends $tea.Model
|
|
|
13200
14150
|
}
|
|
13201
14151
|
}
|
|
13202
14152
|
|
|
14153
|
+
export class DescribeApisByBackendResponseBodyApiInfoListApiInfo extends $tea.Model {
|
|
14154
|
+
apiId?: string;
|
|
14155
|
+
apiName?: string;
|
|
14156
|
+
description?: string;
|
|
14157
|
+
groupId?: string;
|
|
14158
|
+
groupName?: string;
|
|
14159
|
+
method?: string;
|
|
14160
|
+
path?: string;
|
|
14161
|
+
static names(): { [key: string]: string } {
|
|
14162
|
+
return {
|
|
14163
|
+
apiId: 'ApiId',
|
|
14164
|
+
apiName: 'ApiName',
|
|
14165
|
+
description: 'Description',
|
|
14166
|
+
groupId: 'GroupId',
|
|
14167
|
+
groupName: 'GroupName',
|
|
14168
|
+
method: 'Method',
|
|
14169
|
+
path: 'Path',
|
|
14170
|
+
};
|
|
14171
|
+
}
|
|
14172
|
+
|
|
14173
|
+
static types(): { [key: string]: any } {
|
|
14174
|
+
return {
|
|
14175
|
+
apiId: 'string',
|
|
14176
|
+
apiName: 'string',
|
|
14177
|
+
description: 'string',
|
|
14178
|
+
groupId: 'string',
|
|
14179
|
+
groupName: 'string',
|
|
14180
|
+
method: 'string',
|
|
14181
|
+
path: 'string',
|
|
14182
|
+
};
|
|
14183
|
+
}
|
|
14184
|
+
|
|
14185
|
+
constructor(map?: { [key: string]: any }) {
|
|
14186
|
+
super(map);
|
|
14187
|
+
}
|
|
14188
|
+
}
|
|
14189
|
+
|
|
14190
|
+
export class DescribeApisByBackendResponseBodyApiInfoList extends $tea.Model {
|
|
14191
|
+
apiInfo?: DescribeApisByBackendResponseBodyApiInfoListApiInfo[];
|
|
14192
|
+
static names(): { [key: string]: string } {
|
|
14193
|
+
return {
|
|
14194
|
+
apiInfo: 'ApiInfo',
|
|
14195
|
+
};
|
|
14196
|
+
}
|
|
14197
|
+
|
|
14198
|
+
static types(): { [key: string]: any } {
|
|
14199
|
+
return {
|
|
14200
|
+
apiInfo: { 'type': 'array', 'itemType': DescribeApisByBackendResponseBodyApiInfoListApiInfo },
|
|
14201
|
+
};
|
|
14202
|
+
}
|
|
14203
|
+
|
|
14204
|
+
constructor(map?: { [key: string]: any }) {
|
|
14205
|
+
super(map);
|
|
14206
|
+
}
|
|
14207
|
+
}
|
|
14208
|
+
|
|
13203
14209
|
export class DescribeApisByIpControlResponseBodyApiInfosApiInfo extends $tea.Model {
|
|
13204
14210
|
apiId?: string;
|
|
13205
14211
|
apiName?: string;
|
|
@@ -13643,31 +14649,251 @@ export class DescribeAuthorizedAppsResponseBodyAuthorizedAppsAuthorizedApp exten
|
|
|
13643
14649
|
authorizationSource?: string;
|
|
13644
14650
|
authorizedTime?: string;
|
|
13645
14651
|
description?: string;
|
|
13646
|
-
operator?: string;
|
|
13647
|
-
stageName?: string;
|
|
14652
|
+
operator?: string;
|
|
14653
|
+
stageName?: string;
|
|
14654
|
+
static names(): { [key: string]: string } {
|
|
14655
|
+
return {
|
|
14656
|
+
appId: 'AppId',
|
|
14657
|
+
appName: 'AppName',
|
|
14658
|
+
authVaildTime: 'AuthVaildTime',
|
|
14659
|
+
authorizationSource: 'AuthorizationSource',
|
|
14660
|
+
authorizedTime: 'AuthorizedTime',
|
|
14661
|
+
description: 'Description',
|
|
14662
|
+
operator: 'Operator',
|
|
14663
|
+
stageName: 'StageName',
|
|
14664
|
+
};
|
|
14665
|
+
}
|
|
14666
|
+
|
|
14667
|
+
static types(): { [key: string]: any } {
|
|
14668
|
+
return {
|
|
14669
|
+
appId: 'number',
|
|
14670
|
+
appName: 'string',
|
|
14671
|
+
authVaildTime: 'string',
|
|
14672
|
+
authorizationSource: 'string',
|
|
14673
|
+
authorizedTime: 'string',
|
|
14674
|
+
description: 'string',
|
|
14675
|
+
operator: 'string',
|
|
14676
|
+
stageName: 'string',
|
|
14677
|
+
};
|
|
14678
|
+
}
|
|
14679
|
+
|
|
14680
|
+
constructor(map?: { [key: string]: any }) {
|
|
14681
|
+
super(map);
|
|
14682
|
+
}
|
|
14683
|
+
}
|
|
14684
|
+
|
|
14685
|
+
export class DescribeAuthorizedAppsResponseBodyAuthorizedApps extends $tea.Model {
|
|
14686
|
+
authorizedApp?: DescribeAuthorizedAppsResponseBodyAuthorizedAppsAuthorizedApp[];
|
|
14687
|
+
static names(): { [key: string]: string } {
|
|
14688
|
+
return {
|
|
14689
|
+
authorizedApp: 'AuthorizedApp',
|
|
14690
|
+
};
|
|
14691
|
+
}
|
|
14692
|
+
|
|
14693
|
+
static types(): { [key: string]: any } {
|
|
14694
|
+
return {
|
|
14695
|
+
authorizedApp: { 'type': 'array', 'itemType': DescribeAuthorizedAppsResponseBodyAuthorizedAppsAuthorizedApp },
|
|
14696
|
+
};
|
|
14697
|
+
}
|
|
14698
|
+
|
|
14699
|
+
constructor(map?: { [key: string]: any }) {
|
|
14700
|
+
super(map);
|
|
14701
|
+
}
|
|
14702
|
+
}
|
|
14703
|
+
|
|
14704
|
+
export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig extends $tea.Model {
|
|
14705
|
+
fcBaseUrl?: string;
|
|
14706
|
+
fcRegionId?: string;
|
|
14707
|
+
fcType?: string;
|
|
14708
|
+
functionName?: string;
|
|
14709
|
+
onlyBusinessPath?: boolean;
|
|
14710
|
+
qualifier?: string;
|
|
14711
|
+
roleArn?: string;
|
|
14712
|
+
serviceName?: string;
|
|
14713
|
+
static names(): { [key: string]: string } {
|
|
14714
|
+
return {
|
|
14715
|
+
fcBaseUrl: 'FcBaseUrl',
|
|
14716
|
+
fcRegionId: 'FcRegionId',
|
|
14717
|
+
fcType: 'FcType',
|
|
14718
|
+
functionName: 'FunctionName',
|
|
14719
|
+
onlyBusinessPath: 'OnlyBusinessPath',
|
|
14720
|
+
qualifier: 'Qualifier',
|
|
14721
|
+
roleArn: 'RoleArn',
|
|
14722
|
+
serviceName: 'ServiceName',
|
|
14723
|
+
};
|
|
14724
|
+
}
|
|
14725
|
+
|
|
14726
|
+
static types(): { [key: string]: any } {
|
|
14727
|
+
return {
|
|
14728
|
+
fcBaseUrl: 'string',
|
|
14729
|
+
fcRegionId: 'string',
|
|
14730
|
+
fcType: 'string',
|
|
14731
|
+
functionName: 'string',
|
|
14732
|
+
onlyBusinessPath: 'boolean',
|
|
14733
|
+
qualifier: 'string',
|
|
14734
|
+
roleArn: 'string',
|
|
14735
|
+
serviceName: 'string',
|
|
14736
|
+
};
|
|
14737
|
+
}
|
|
14738
|
+
|
|
14739
|
+
constructor(map?: { [key: string]: any }) {
|
|
14740
|
+
super(map);
|
|
14741
|
+
}
|
|
14742
|
+
}
|
|
14743
|
+
|
|
14744
|
+
export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigOssConfig extends $tea.Model {
|
|
14745
|
+
bucketName?: string;
|
|
14746
|
+
ossRegionId?: string;
|
|
14747
|
+
static names(): { [key: string]: string } {
|
|
14748
|
+
return {
|
|
14749
|
+
bucketName: 'BucketName',
|
|
14750
|
+
ossRegionId: 'OssRegionId',
|
|
14751
|
+
};
|
|
14752
|
+
}
|
|
14753
|
+
|
|
14754
|
+
static types(): { [key: string]: any } {
|
|
14755
|
+
return {
|
|
14756
|
+
bucketName: 'string',
|
|
14757
|
+
ossRegionId: 'string',
|
|
14758
|
+
};
|
|
14759
|
+
}
|
|
14760
|
+
|
|
14761
|
+
constructor(map?: { [key: string]: any }) {
|
|
14762
|
+
super(map);
|
|
14763
|
+
}
|
|
14764
|
+
}
|
|
14765
|
+
|
|
14766
|
+
export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigVpcConfig extends $tea.Model {
|
|
14767
|
+
instanceId?: string;
|
|
14768
|
+
name?: string;
|
|
14769
|
+
port?: number;
|
|
14770
|
+
vpcAccessId?: string;
|
|
14771
|
+
vpcId?: string;
|
|
14772
|
+
vpcScheme?: string;
|
|
14773
|
+
static names(): { [key: string]: string } {
|
|
14774
|
+
return {
|
|
14775
|
+
instanceId: 'InstanceId',
|
|
14776
|
+
name: 'Name',
|
|
14777
|
+
port: 'Port',
|
|
14778
|
+
vpcAccessId: 'VpcAccessId',
|
|
14779
|
+
vpcId: 'VpcId',
|
|
14780
|
+
vpcScheme: 'VpcScheme',
|
|
14781
|
+
};
|
|
14782
|
+
}
|
|
14783
|
+
|
|
14784
|
+
static types(): { [key: string]: any } {
|
|
14785
|
+
return {
|
|
14786
|
+
instanceId: 'string',
|
|
14787
|
+
name: 'string',
|
|
14788
|
+
port: 'number',
|
|
14789
|
+
vpcAccessId: 'string',
|
|
14790
|
+
vpcId: 'string',
|
|
14791
|
+
vpcScheme: 'string',
|
|
14792
|
+
};
|
|
14793
|
+
}
|
|
14794
|
+
|
|
14795
|
+
constructor(map?: { [key: string]: any }) {
|
|
14796
|
+
super(map);
|
|
14797
|
+
}
|
|
14798
|
+
}
|
|
14799
|
+
|
|
14800
|
+
export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig extends $tea.Model {
|
|
14801
|
+
functionComputeConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig;
|
|
14802
|
+
ossConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigOssConfig;
|
|
14803
|
+
serviceAddress?: string;
|
|
14804
|
+
type?: string;
|
|
14805
|
+
vpcConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigVpcConfig;
|
|
14806
|
+
static names(): { [key: string]: string } {
|
|
14807
|
+
return {
|
|
14808
|
+
functionComputeConfig: 'FunctionComputeConfig',
|
|
14809
|
+
ossConfig: 'OssConfig',
|
|
14810
|
+
serviceAddress: 'ServiceAddress',
|
|
14811
|
+
type: 'Type',
|
|
14812
|
+
vpcConfig: 'VpcConfig',
|
|
14813
|
+
};
|
|
14814
|
+
}
|
|
14815
|
+
|
|
14816
|
+
static types(): { [key: string]: any } {
|
|
14817
|
+
return {
|
|
14818
|
+
functionComputeConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig,
|
|
14819
|
+
ossConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigOssConfig,
|
|
14820
|
+
serviceAddress: 'string',
|
|
14821
|
+
type: 'string',
|
|
14822
|
+
vpcConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigVpcConfig,
|
|
14823
|
+
};
|
|
14824
|
+
}
|
|
14825
|
+
|
|
14826
|
+
constructor(map?: { [key: string]: any }) {
|
|
14827
|
+
super(map);
|
|
14828
|
+
}
|
|
14829
|
+
}
|
|
14830
|
+
|
|
14831
|
+
export class DescribeBackendInfoResponseBodyBackendInfoBackendModels extends $tea.Model {
|
|
14832
|
+
backendConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig;
|
|
14833
|
+
backendModelId?: string;
|
|
14834
|
+
description?: string;
|
|
14835
|
+
gmtCreate?: string;
|
|
14836
|
+
gmtModified?: string;
|
|
14837
|
+
stageModeId?: string;
|
|
14838
|
+
stageName?: string;
|
|
14839
|
+
static names(): { [key: string]: string } {
|
|
14840
|
+
return {
|
|
14841
|
+
backendConfig: 'BackendConfig',
|
|
14842
|
+
backendModelId: 'BackendModelId',
|
|
14843
|
+
description: 'Description',
|
|
14844
|
+
gmtCreate: 'GmtCreate',
|
|
14845
|
+
gmtModified: 'GmtModified',
|
|
14846
|
+
stageModeId: 'StageModeId',
|
|
14847
|
+
stageName: 'StageName',
|
|
14848
|
+
};
|
|
14849
|
+
}
|
|
14850
|
+
|
|
14851
|
+
static types(): { [key: string]: any } {
|
|
14852
|
+
return {
|
|
14853
|
+
backendConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig,
|
|
14854
|
+
backendModelId: 'string',
|
|
14855
|
+
description: 'string',
|
|
14856
|
+
gmtCreate: 'string',
|
|
14857
|
+
gmtModified: 'string',
|
|
14858
|
+
stageModeId: 'string',
|
|
14859
|
+
stageName: 'string',
|
|
14860
|
+
};
|
|
14861
|
+
}
|
|
14862
|
+
|
|
14863
|
+
constructor(map?: { [key: string]: any }) {
|
|
14864
|
+
super(map);
|
|
14865
|
+
}
|
|
14866
|
+
}
|
|
14867
|
+
|
|
14868
|
+
export class DescribeBackendInfoResponseBodyBackendInfo extends $tea.Model {
|
|
14869
|
+
backendId?: string;
|
|
14870
|
+
backendModels?: DescribeBackendInfoResponseBodyBackendInfoBackendModels[];
|
|
14871
|
+
backendName?: string;
|
|
14872
|
+
backendType?: string;
|
|
14873
|
+
createdTime?: string;
|
|
14874
|
+
description?: string;
|
|
14875
|
+
modifiedTime?: string;
|
|
13648
14876
|
static names(): { [key: string]: string } {
|
|
13649
14877
|
return {
|
|
13650
|
-
|
|
13651
|
-
|
|
13652
|
-
|
|
13653
|
-
|
|
13654
|
-
|
|
14878
|
+
backendId: 'BackendId',
|
|
14879
|
+
backendModels: 'BackendModels',
|
|
14880
|
+
backendName: 'BackendName',
|
|
14881
|
+
backendType: 'BackendType',
|
|
14882
|
+
createdTime: 'CreatedTime',
|
|
13655
14883
|
description: 'Description',
|
|
13656
|
-
|
|
13657
|
-
stageName: 'StageName',
|
|
14884
|
+
modifiedTime: 'ModifiedTime',
|
|
13658
14885
|
};
|
|
13659
14886
|
}
|
|
13660
14887
|
|
|
13661
14888
|
static types(): { [key: string]: any } {
|
|
13662
14889
|
return {
|
|
13663
|
-
|
|
13664
|
-
|
|
13665
|
-
|
|
13666
|
-
|
|
13667
|
-
|
|
14890
|
+
backendId: 'string',
|
|
14891
|
+
backendModels: { 'type': 'array', 'itemType': DescribeBackendInfoResponseBodyBackendInfoBackendModels },
|
|
14892
|
+
backendName: 'string',
|
|
14893
|
+
backendType: 'string',
|
|
14894
|
+
createdTime: 'string',
|
|
13668
14895
|
description: 'string',
|
|
13669
|
-
|
|
13670
|
-
stageName: 'string',
|
|
14896
|
+
modifiedTime: 'string',
|
|
13671
14897
|
};
|
|
13672
14898
|
}
|
|
13673
14899
|
|
|
@@ -13676,17 +14902,32 @@ export class DescribeAuthorizedAppsResponseBodyAuthorizedAppsAuthorizedApp exten
|
|
|
13676
14902
|
}
|
|
13677
14903
|
}
|
|
13678
14904
|
|
|
13679
|
-
export class
|
|
13680
|
-
|
|
14905
|
+
export class DescribeBackendListResponseBodyBackendInfoList extends $tea.Model {
|
|
14906
|
+
backendId?: string;
|
|
14907
|
+
backendName?: string;
|
|
14908
|
+
backendType?: string;
|
|
14909
|
+
createdTime?: string;
|
|
14910
|
+
description?: string;
|
|
14911
|
+
modifiedTime?: string;
|
|
13681
14912
|
static names(): { [key: string]: string } {
|
|
13682
14913
|
return {
|
|
13683
|
-
|
|
14914
|
+
backendId: 'BackendId',
|
|
14915
|
+
backendName: 'BackendName',
|
|
14916
|
+
backendType: 'BackendType',
|
|
14917
|
+
createdTime: 'CreatedTime',
|
|
14918
|
+
description: 'Description',
|
|
14919
|
+
modifiedTime: 'ModifiedTime',
|
|
13684
14920
|
};
|
|
13685
14921
|
}
|
|
13686
14922
|
|
|
13687
14923
|
static types(): { [key: string]: any } {
|
|
13688
14924
|
return {
|
|
13689
|
-
|
|
14925
|
+
backendId: 'string',
|
|
14926
|
+
backendName: 'string',
|
|
14927
|
+
backendType: 'string',
|
|
14928
|
+
createdTime: 'string',
|
|
14929
|
+
description: 'string',
|
|
14930
|
+
modifiedTime: 'string',
|
|
13690
14931
|
};
|
|
13691
14932
|
}
|
|
13692
14933
|
|
|
@@ -15605,6 +16846,68 @@ export class DescribeTrafficControlsByApiResponseBodyTrafficControlItems extends
|
|
|
15605
16846
|
}
|
|
15606
16847
|
}
|
|
15607
16848
|
|
|
16849
|
+
export class DescribeUpdateBackendTaskResponseBodyApiUpdateBackendResultsApiUpdateBackendResult extends $tea.Model {
|
|
16850
|
+
apiName?: string;
|
|
16851
|
+
apiUid?: string;
|
|
16852
|
+
backendId?: string;
|
|
16853
|
+
errorMsg?: string;
|
|
16854
|
+
groupId?: string;
|
|
16855
|
+
groupName?: string;
|
|
16856
|
+
stageId?: string;
|
|
16857
|
+
stageName?: string;
|
|
16858
|
+
updateStatus?: string;
|
|
16859
|
+
static names(): { [key: string]: string } {
|
|
16860
|
+
return {
|
|
16861
|
+
apiName: 'ApiName',
|
|
16862
|
+
apiUid: 'ApiUid',
|
|
16863
|
+
backendId: 'BackendId',
|
|
16864
|
+
errorMsg: 'ErrorMsg',
|
|
16865
|
+
groupId: 'GroupId',
|
|
16866
|
+
groupName: 'GroupName',
|
|
16867
|
+
stageId: 'StageId',
|
|
16868
|
+
stageName: 'StageName',
|
|
16869
|
+
updateStatus: 'UpdateStatus',
|
|
16870
|
+
};
|
|
16871
|
+
}
|
|
16872
|
+
|
|
16873
|
+
static types(): { [key: string]: any } {
|
|
16874
|
+
return {
|
|
16875
|
+
apiName: 'string',
|
|
16876
|
+
apiUid: 'string',
|
|
16877
|
+
backendId: 'string',
|
|
16878
|
+
errorMsg: 'string',
|
|
16879
|
+
groupId: 'string',
|
|
16880
|
+
groupName: 'string',
|
|
16881
|
+
stageId: 'string',
|
|
16882
|
+
stageName: 'string',
|
|
16883
|
+
updateStatus: 'string',
|
|
16884
|
+
};
|
|
16885
|
+
}
|
|
16886
|
+
|
|
16887
|
+
constructor(map?: { [key: string]: any }) {
|
|
16888
|
+
super(map);
|
|
16889
|
+
}
|
|
16890
|
+
}
|
|
16891
|
+
|
|
16892
|
+
export class DescribeUpdateBackendTaskResponseBodyApiUpdateBackendResults extends $tea.Model {
|
|
16893
|
+
apiUpdateBackendResult?: DescribeUpdateBackendTaskResponseBodyApiUpdateBackendResultsApiUpdateBackendResult[];
|
|
16894
|
+
static names(): { [key: string]: string } {
|
|
16895
|
+
return {
|
|
16896
|
+
apiUpdateBackendResult: 'ApiUpdateBackendResult',
|
|
16897
|
+
};
|
|
16898
|
+
}
|
|
16899
|
+
|
|
16900
|
+
static types(): { [key: string]: any } {
|
|
16901
|
+
return {
|
|
16902
|
+
apiUpdateBackendResult: { 'type': 'array', 'itemType': DescribeUpdateBackendTaskResponseBodyApiUpdateBackendResultsApiUpdateBackendResult },
|
|
16903
|
+
};
|
|
16904
|
+
}
|
|
16905
|
+
|
|
16906
|
+
constructor(map?: { [key: string]: any }) {
|
|
16907
|
+
super(map);
|
|
16908
|
+
}
|
|
16909
|
+
}
|
|
16910
|
+
|
|
15608
16911
|
export class DescribeUpdateVpcInfoTaskResponseBodyApiUpdateVpcInfoResultsApiUpdateVpcInfoResult extends $tea.Model {
|
|
15609
16912
|
apiName?: string;
|
|
15610
16913
|
apiUid?: string;
|
|
@@ -16650,6 +17953,14 @@ export default class Client extends OpenApi {
|
|
|
16650
17953
|
query["AuthType"] = request.authType;
|
|
16651
17954
|
}
|
|
16652
17955
|
|
|
17956
|
+
if (!Util.isUnset(request.backendEnable)) {
|
|
17957
|
+
query["BackendEnable"] = request.backendEnable;
|
|
17958
|
+
}
|
|
17959
|
+
|
|
17960
|
+
if (!Util.isUnset(request.backendId)) {
|
|
17961
|
+
query["BackendId"] = request.backendId;
|
|
17962
|
+
}
|
|
17963
|
+
|
|
16653
17964
|
if (!Util.isUnset(request.constantParameters)) {
|
|
16654
17965
|
query["ConstantParameters"] = request.constantParameters;
|
|
16655
17966
|
}
|
|
@@ -16903,6 +18214,96 @@ export default class Client extends OpenApi {
|
|
|
16903
18214
|
return await this.createAppWithOptions(request, runtime);
|
|
16904
18215
|
}
|
|
16905
18216
|
|
|
18217
|
+
async createBackendWithOptions(request: CreateBackendRequest, runtime: $Util.RuntimeOptions): Promise<CreateBackendResponse> {
|
|
18218
|
+
Util.validateModel(request);
|
|
18219
|
+
let query = { };
|
|
18220
|
+
if (!Util.isUnset(request.backendName)) {
|
|
18221
|
+
query["BackendName"] = request.backendName;
|
|
18222
|
+
}
|
|
18223
|
+
|
|
18224
|
+
if (!Util.isUnset(request.backendType)) {
|
|
18225
|
+
query["BackendType"] = request.backendType;
|
|
18226
|
+
}
|
|
18227
|
+
|
|
18228
|
+
if (!Util.isUnset(request.description)) {
|
|
18229
|
+
query["Description"] = request.description;
|
|
18230
|
+
}
|
|
18231
|
+
|
|
18232
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
18233
|
+
query["SecurityToken"] = request.securityToken;
|
|
18234
|
+
}
|
|
18235
|
+
|
|
18236
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18237
|
+
query: OpenApiUtil.query(query),
|
|
18238
|
+
});
|
|
18239
|
+
let params = new $OpenApi.Params({
|
|
18240
|
+
action: "CreateBackend",
|
|
18241
|
+
version: "2016-07-14",
|
|
18242
|
+
protocol: "HTTPS",
|
|
18243
|
+
pathname: "/",
|
|
18244
|
+
method: "POST",
|
|
18245
|
+
authType: "AK",
|
|
18246
|
+
style: "RPC",
|
|
18247
|
+
reqBodyType: "formData",
|
|
18248
|
+
bodyType: "json",
|
|
18249
|
+
});
|
|
18250
|
+
return $tea.cast<CreateBackendResponse>(await this.callApi(params, req, runtime), new CreateBackendResponse({}));
|
|
18251
|
+
}
|
|
18252
|
+
|
|
18253
|
+
async createBackend(request: CreateBackendRequest): Promise<CreateBackendResponse> {
|
|
18254
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
18255
|
+
return await this.createBackendWithOptions(request, runtime);
|
|
18256
|
+
}
|
|
18257
|
+
|
|
18258
|
+
async createBackendModelWithOptions(request: CreateBackendModelRequest, runtime: $Util.RuntimeOptions): Promise<CreateBackendModelResponse> {
|
|
18259
|
+
Util.validateModel(request);
|
|
18260
|
+
let query = { };
|
|
18261
|
+
if (!Util.isUnset(request.backendId)) {
|
|
18262
|
+
query["BackendId"] = request.backendId;
|
|
18263
|
+
}
|
|
18264
|
+
|
|
18265
|
+
if (!Util.isUnset(request.backendModelData)) {
|
|
18266
|
+
query["BackendModelData"] = request.backendModelData;
|
|
18267
|
+
}
|
|
18268
|
+
|
|
18269
|
+
if (!Util.isUnset(request.backendType)) {
|
|
18270
|
+
query["BackendType"] = request.backendType;
|
|
18271
|
+
}
|
|
18272
|
+
|
|
18273
|
+
if (!Util.isUnset(request.description)) {
|
|
18274
|
+
query["Description"] = request.description;
|
|
18275
|
+
}
|
|
18276
|
+
|
|
18277
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
18278
|
+
query["SecurityToken"] = request.securityToken;
|
|
18279
|
+
}
|
|
18280
|
+
|
|
18281
|
+
if (!Util.isUnset(request.stageName)) {
|
|
18282
|
+
query["StageName"] = request.stageName;
|
|
18283
|
+
}
|
|
18284
|
+
|
|
18285
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18286
|
+
query: OpenApiUtil.query(query),
|
|
18287
|
+
});
|
|
18288
|
+
let params = new $OpenApi.Params({
|
|
18289
|
+
action: "CreateBackendModel",
|
|
18290
|
+
version: "2016-07-14",
|
|
18291
|
+
protocol: "HTTPS",
|
|
18292
|
+
pathname: "/",
|
|
18293
|
+
method: "POST",
|
|
18294
|
+
authType: "AK",
|
|
18295
|
+
style: "RPC",
|
|
18296
|
+
reqBodyType: "formData",
|
|
18297
|
+
bodyType: "json",
|
|
18298
|
+
});
|
|
18299
|
+
return $tea.cast<CreateBackendModelResponse>(await this.callApi(params, req, runtime), new CreateBackendModelResponse({}));
|
|
18300
|
+
}
|
|
18301
|
+
|
|
18302
|
+
async createBackendModel(request: CreateBackendModelRequest): Promise<CreateBackendModelResponse> {
|
|
18303
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
18304
|
+
return await this.createBackendModelWithOptions(request, runtime);
|
|
18305
|
+
}
|
|
18306
|
+
|
|
16906
18307
|
async createInstanceWithOptions(request: CreateInstanceRequest, runtime: $Util.RuntimeOptions): Promise<CreateInstanceResponse> {
|
|
16907
18308
|
Util.validateModel(request);
|
|
16908
18309
|
let query = { };
|
|
@@ -17493,6 +18894,80 @@ export default class Client extends OpenApi {
|
|
|
17493
18894
|
return await this.deleteAppWithOptions(request, runtime);
|
|
17494
18895
|
}
|
|
17495
18896
|
|
|
18897
|
+
async deleteBackendWithOptions(request: DeleteBackendRequest, runtime: $Util.RuntimeOptions): Promise<DeleteBackendResponse> {
|
|
18898
|
+
Util.validateModel(request);
|
|
18899
|
+
let query = { };
|
|
18900
|
+
if (!Util.isUnset(request.backendId)) {
|
|
18901
|
+
query["BackendId"] = request.backendId;
|
|
18902
|
+
}
|
|
18903
|
+
|
|
18904
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
18905
|
+
query["SecurityToken"] = request.securityToken;
|
|
18906
|
+
}
|
|
18907
|
+
|
|
18908
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18909
|
+
query: OpenApiUtil.query(query),
|
|
18910
|
+
});
|
|
18911
|
+
let params = new $OpenApi.Params({
|
|
18912
|
+
action: "DeleteBackend",
|
|
18913
|
+
version: "2016-07-14",
|
|
18914
|
+
protocol: "HTTPS",
|
|
18915
|
+
pathname: "/",
|
|
18916
|
+
method: "POST",
|
|
18917
|
+
authType: "AK",
|
|
18918
|
+
style: "RPC",
|
|
18919
|
+
reqBodyType: "formData",
|
|
18920
|
+
bodyType: "json",
|
|
18921
|
+
});
|
|
18922
|
+
return $tea.cast<DeleteBackendResponse>(await this.callApi(params, req, runtime), new DeleteBackendResponse({}));
|
|
18923
|
+
}
|
|
18924
|
+
|
|
18925
|
+
async deleteBackend(request: DeleteBackendRequest): Promise<DeleteBackendResponse> {
|
|
18926
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
18927
|
+
return await this.deleteBackendWithOptions(request, runtime);
|
|
18928
|
+
}
|
|
18929
|
+
|
|
18930
|
+
async deleteBackendModelWithOptions(request: DeleteBackendModelRequest, runtime: $Util.RuntimeOptions): Promise<DeleteBackendModelResponse> {
|
|
18931
|
+
Util.validateModel(request);
|
|
18932
|
+
let query = { };
|
|
18933
|
+
if (!Util.isUnset(request.backendId)) {
|
|
18934
|
+
query["BackendId"] = request.backendId;
|
|
18935
|
+
}
|
|
18936
|
+
|
|
18937
|
+
if (!Util.isUnset(request.backendModelId)) {
|
|
18938
|
+
query["BackendModelId"] = request.backendModelId;
|
|
18939
|
+
}
|
|
18940
|
+
|
|
18941
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
18942
|
+
query["SecurityToken"] = request.securityToken;
|
|
18943
|
+
}
|
|
18944
|
+
|
|
18945
|
+
if (!Util.isUnset(request.stageName)) {
|
|
18946
|
+
query["StageName"] = request.stageName;
|
|
18947
|
+
}
|
|
18948
|
+
|
|
18949
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18950
|
+
query: OpenApiUtil.query(query),
|
|
18951
|
+
});
|
|
18952
|
+
let params = new $OpenApi.Params({
|
|
18953
|
+
action: "DeleteBackendModel",
|
|
18954
|
+
version: "2016-07-14",
|
|
18955
|
+
protocol: "HTTPS",
|
|
18956
|
+
pathname: "/",
|
|
18957
|
+
method: "POST",
|
|
18958
|
+
authType: "AK",
|
|
18959
|
+
style: "RPC",
|
|
18960
|
+
reqBodyType: "formData",
|
|
18961
|
+
bodyType: "json",
|
|
18962
|
+
});
|
|
18963
|
+
return $tea.cast<DeleteBackendModelResponse>(await this.callApi(params, req, runtime), new DeleteBackendModelResponse({}));
|
|
18964
|
+
}
|
|
18965
|
+
|
|
18966
|
+
async deleteBackendModel(request: DeleteBackendModelRequest): Promise<DeleteBackendModelResponse> {
|
|
18967
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
18968
|
+
return await this.deleteBackendModelWithOptions(request, runtime);
|
|
18969
|
+
}
|
|
18970
|
+
|
|
17496
18971
|
async deleteDomainWithOptions(request: DeleteDomainRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDomainResponse> {
|
|
17497
18972
|
Util.validateModel(request);
|
|
17498
18973
|
let query = { };
|
|
@@ -17677,15 +19152,52 @@ export default class Client extends OpenApi {
|
|
|
17677
19152
|
query["GroupId"] = request.groupId;
|
|
17678
19153
|
}
|
|
17679
19154
|
|
|
17680
|
-
if (!Util.isUnset(request.modelName)) {
|
|
17681
|
-
query["ModelName"] = request.modelName;
|
|
19155
|
+
if (!Util.isUnset(request.modelName)) {
|
|
19156
|
+
query["ModelName"] = request.modelName;
|
|
19157
|
+
}
|
|
19158
|
+
|
|
19159
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
19160
|
+
query: OpenApiUtil.query(query),
|
|
19161
|
+
});
|
|
19162
|
+
let params = new $OpenApi.Params({
|
|
19163
|
+
action: "DeleteModel",
|
|
19164
|
+
version: "2016-07-14",
|
|
19165
|
+
protocol: "HTTPS",
|
|
19166
|
+
pathname: "/",
|
|
19167
|
+
method: "POST",
|
|
19168
|
+
authType: "AK",
|
|
19169
|
+
style: "RPC",
|
|
19170
|
+
reqBodyType: "formData",
|
|
19171
|
+
bodyType: "json",
|
|
19172
|
+
});
|
|
19173
|
+
return $tea.cast<DeleteModelResponse>(await this.callApi(params, req, runtime), new DeleteModelResponse({}));
|
|
19174
|
+
}
|
|
19175
|
+
|
|
19176
|
+
async deleteModel(request: DeleteModelRequest): Promise<DeleteModelResponse> {
|
|
19177
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
19178
|
+
return await this.deleteModelWithOptions(request, runtime);
|
|
19179
|
+
}
|
|
19180
|
+
|
|
19181
|
+
async deleteMonitorGroupWithOptions(request: DeleteMonitorGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteMonitorGroupResponse> {
|
|
19182
|
+
Util.validateModel(request);
|
|
19183
|
+
let query = { };
|
|
19184
|
+
if (!Util.isUnset(request.groupId)) {
|
|
19185
|
+
query["GroupId"] = request.groupId;
|
|
19186
|
+
}
|
|
19187
|
+
|
|
19188
|
+
if (!Util.isUnset(request.rawMonitorGroupId)) {
|
|
19189
|
+
query["RawMonitorGroupId"] = request.rawMonitorGroupId;
|
|
19190
|
+
}
|
|
19191
|
+
|
|
19192
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
19193
|
+
query["SecurityToken"] = request.securityToken;
|
|
17682
19194
|
}
|
|
17683
19195
|
|
|
17684
19196
|
let req = new $OpenApi.OpenApiRequest({
|
|
17685
19197
|
query: OpenApiUtil.query(query),
|
|
17686
19198
|
});
|
|
17687
19199
|
let params = new $OpenApi.Params({
|
|
17688
|
-
action: "
|
|
19200
|
+
action: "DeleteMonitorGroup",
|
|
17689
19201
|
version: "2016-07-14",
|
|
17690
19202
|
protocol: "HTTPS",
|
|
17691
19203
|
pathname: "/",
|
|
@@ -17695,12 +19207,12 @@ export default class Client extends OpenApi {
|
|
|
17695
19207
|
reqBodyType: "formData",
|
|
17696
19208
|
bodyType: "json",
|
|
17697
19209
|
});
|
|
17698
|
-
return $tea.cast<
|
|
19210
|
+
return $tea.cast<DeleteMonitorGroupResponse>(await this.callApi(params, req, runtime), new DeleteMonitorGroupResponse({}));
|
|
17699
19211
|
}
|
|
17700
19212
|
|
|
17701
|
-
async
|
|
19213
|
+
async deleteMonitorGroup(request: DeleteMonitorGroupRequest): Promise<DeleteMonitorGroupResponse> {
|
|
17702
19214
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17703
|
-
return await this.
|
|
19215
|
+
return await this.deleteMonitorGroupWithOptions(request, runtime);
|
|
17704
19216
|
}
|
|
17705
19217
|
|
|
17706
19218
|
async deletePluginWithOptions(request: DeletePluginRequest, runtime: $Util.RuntimeOptions): Promise<DeletePluginResponse> {
|
|
@@ -18685,6 +20197,51 @@ export default class Client extends OpenApi {
|
|
|
18685
20197
|
return await this.describeApisByAppWithOptions(request, runtime);
|
|
18686
20198
|
}
|
|
18687
20199
|
|
|
20200
|
+
async describeApisByBackendWithOptions(request: DescribeApisByBackendRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisByBackendResponse> {
|
|
20201
|
+
Util.validateModel(request);
|
|
20202
|
+
let query = { };
|
|
20203
|
+
if (!Util.isUnset(request.backendId)) {
|
|
20204
|
+
query["BackendId"] = request.backendId;
|
|
20205
|
+
}
|
|
20206
|
+
|
|
20207
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
20208
|
+
query["PageNumber"] = request.pageNumber;
|
|
20209
|
+
}
|
|
20210
|
+
|
|
20211
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
20212
|
+
query["PageSize"] = request.pageSize;
|
|
20213
|
+
}
|
|
20214
|
+
|
|
20215
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
20216
|
+
query["SecurityToken"] = request.securityToken;
|
|
20217
|
+
}
|
|
20218
|
+
|
|
20219
|
+
if (!Util.isUnset(request.stageName)) {
|
|
20220
|
+
query["StageName"] = request.stageName;
|
|
20221
|
+
}
|
|
20222
|
+
|
|
20223
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
20224
|
+
query: OpenApiUtil.query(query),
|
|
20225
|
+
});
|
|
20226
|
+
let params = new $OpenApi.Params({
|
|
20227
|
+
action: "DescribeApisByBackend",
|
|
20228
|
+
version: "2016-07-14",
|
|
20229
|
+
protocol: "HTTPS",
|
|
20230
|
+
pathname: "/",
|
|
20231
|
+
method: "POST",
|
|
20232
|
+
authType: "AK",
|
|
20233
|
+
style: "RPC",
|
|
20234
|
+
reqBodyType: "formData",
|
|
20235
|
+
bodyType: "json",
|
|
20236
|
+
});
|
|
20237
|
+
return $tea.cast<DescribeApisByBackendResponse>(await this.callApi(params, req, runtime), new DescribeApisByBackendResponse({}));
|
|
20238
|
+
}
|
|
20239
|
+
|
|
20240
|
+
async describeApisByBackend(request: DescribeApisByBackendRequest): Promise<DescribeApisByBackendResponse> {
|
|
20241
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
20242
|
+
return await this.describeApisByBackendWithOptions(request, runtime);
|
|
20243
|
+
}
|
|
20244
|
+
|
|
18688
20245
|
async describeApisByIpControlWithOptions(request: DescribeApisByIpControlRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisByIpControlResponse> {
|
|
18689
20246
|
Util.validateModel(request);
|
|
18690
20247
|
let query = { };
|
|
@@ -19090,6 +20647,84 @@ export default class Client extends OpenApi {
|
|
|
19090
20647
|
return await this.describeAuthorizedAppsWithOptions(request, runtime);
|
|
19091
20648
|
}
|
|
19092
20649
|
|
|
20650
|
+
async describeBackendInfoWithOptions(request: DescribeBackendInfoRequest, runtime: $Util.RuntimeOptions): Promise<DescribeBackendInfoResponse> {
|
|
20651
|
+
Util.validateModel(request);
|
|
20652
|
+
let query = { };
|
|
20653
|
+
if (!Util.isUnset(request.backendId)) {
|
|
20654
|
+
query["BackendId"] = request.backendId;
|
|
20655
|
+
}
|
|
20656
|
+
|
|
20657
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
20658
|
+
query["SecurityToken"] = request.securityToken;
|
|
20659
|
+
}
|
|
20660
|
+
|
|
20661
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
20662
|
+
query: OpenApiUtil.query(query),
|
|
20663
|
+
});
|
|
20664
|
+
let params = new $OpenApi.Params({
|
|
20665
|
+
action: "DescribeBackendInfo",
|
|
20666
|
+
version: "2016-07-14",
|
|
20667
|
+
protocol: "HTTPS",
|
|
20668
|
+
pathname: "/",
|
|
20669
|
+
method: "POST",
|
|
20670
|
+
authType: "AK",
|
|
20671
|
+
style: "RPC",
|
|
20672
|
+
reqBodyType: "formData",
|
|
20673
|
+
bodyType: "json",
|
|
20674
|
+
});
|
|
20675
|
+
return $tea.cast<DescribeBackendInfoResponse>(await this.callApi(params, req, runtime), new DescribeBackendInfoResponse({}));
|
|
20676
|
+
}
|
|
20677
|
+
|
|
20678
|
+
async describeBackendInfo(request: DescribeBackendInfoRequest): Promise<DescribeBackendInfoResponse> {
|
|
20679
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
20680
|
+
return await this.describeBackendInfoWithOptions(request, runtime);
|
|
20681
|
+
}
|
|
20682
|
+
|
|
20683
|
+
async describeBackendListWithOptions(request: DescribeBackendListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeBackendListResponse> {
|
|
20684
|
+
Util.validateModel(request);
|
|
20685
|
+
let query = { };
|
|
20686
|
+
if (!Util.isUnset(request.backendName)) {
|
|
20687
|
+
query["BackendName"] = request.backendName;
|
|
20688
|
+
}
|
|
20689
|
+
|
|
20690
|
+
if (!Util.isUnset(request.backendType)) {
|
|
20691
|
+
query["BackendType"] = request.backendType;
|
|
20692
|
+
}
|
|
20693
|
+
|
|
20694
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
20695
|
+
query["PageNumber"] = request.pageNumber;
|
|
20696
|
+
}
|
|
20697
|
+
|
|
20698
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
20699
|
+
query["PageSize"] = request.pageSize;
|
|
20700
|
+
}
|
|
20701
|
+
|
|
20702
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
20703
|
+
query["SecurityToken"] = request.securityToken;
|
|
20704
|
+
}
|
|
20705
|
+
|
|
20706
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
20707
|
+
query: OpenApiUtil.query(query),
|
|
20708
|
+
});
|
|
20709
|
+
let params = new $OpenApi.Params({
|
|
20710
|
+
action: "DescribeBackendList",
|
|
20711
|
+
version: "2016-07-14",
|
|
20712
|
+
protocol: "HTTPS",
|
|
20713
|
+
pathname: "/",
|
|
20714
|
+
method: "POST",
|
|
20715
|
+
authType: "AK",
|
|
20716
|
+
style: "RPC",
|
|
20717
|
+
reqBodyType: "formData",
|
|
20718
|
+
bodyType: "json",
|
|
20719
|
+
});
|
|
20720
|
+
return $tea.cast<DescribeBackendListResponse>(await this.callApi(params, req, runtime), new DescribeBackendListResponse({}));
|
|
20721
|
+
}
|
|
20722
|
+
|
|
20723
|
+
async describeBackendList(request: DescribeBackendListRequest): Promise<DescribeBackendListResponse> {
|
|
20724
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
20725
|
+
return await this.describeBackendListWithOptions(request, runtime);
|
|
20726
|
+
}
|
|
20727
|
+
|
|
19093
20728
|
async describeDeployApiTaskWithOptions(request: DescribeDeployApiTaskRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDeployApiTaskResponse> {
|
|
19094
20729
|
Util.validateModel(request);
|
|
19095
20730
|
let query = { };
|
|
@@ -20057,6 +21692,39 @@ export default class Client extends OpenApi {
|
|
|
20057
21692
|
return await this.describeTrafficControlsByApiWithOptions(request, runtime);
|
|
20058
21693
|
}
|
|
20059
21694
|
|
|
21695
|
+
async describeUpdateBackendTaskWithOptions(request: DescribeUpdateBackendTaskRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUpdateBackendTaskResponse> {
|
|
21696
|
+
Util.validateModel(request);
|
|
21697
|
+
let query = { };
|
|
21698
|
+
if (!Util.isUnset(request.operationUid)) {
|
|
21699
|
+
query["OperationUid"] = request.operationUid;
|
|
21700
|
+
}
|
|
21701
|
+
|
|
21702
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
21703
|
+
query["SecurityToken"] = request.securityToken;
|
|
21704
|
+
}
|
|
21705
|
+
|
|
21706
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21707
|
+
query: OpenApiUtil.query(query),
|
|
21708
|
+
});
|
|
21709
|
+
let params = new $OpenApi.Params({
|
|
21710
|
+
action: "DescribeUpdateBackendTask",
|
|
21711
|
+
version: "2016-07-14",
|
|
21712
|
+
protocol: "HTTPS",
|
|
21713
|
+
pathname: "/",
|
|
21714
|
+
method: "POST",
|
|
21715
|
+
authType: "AK",
|
|
21716
|
+
style: "RPC",
|
|
21717
|
+
reqBodyType: "formData",
|
|
21718
|
+
bodyType: "json",
|
|
21719
|
+
});
|
|
21720
|
+
return $tea.cast<DescribeUpdateBackendTaskResponse>(await this.callApi(params, req, runtime), new DescribeUpdateBackendTaskResponse({}));
|
|
21721
|
+
}
|
|
21722
|
+
|
|
21723
|
+
async describeUpdateBackendTask(request: DescribeUpdateBackendTaskRequest): Promise<DescribeUpdateBackendTaskResponse> {
|
|
21724
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21725
|
+
return await this.describeUpdateBackendTaskWithOptions(request, runtime);
|
|
21726
|
+
}
|
|
21727
|
+
|
|
20060
21728
|
async describeUpdateVpcInfoTaskWithOptions(request: DescribeUpdateVpcInfoTaskRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUpdateVpcInfoTaskResponse> {
|
|
20061
21729
|
Util.validateModel(request);
|
|
20062
21730
|
let query = { };
|
|
@@ -20180,6 +21848,51 @@ export default class Client extends OpenApi {
|
|
|
20180
21848
|
return await this.describeZonesWithOptions(request, runtime);
|
|
20181
21849
|
}
|
|
20182
21850
|
|
|
21851
|
+
async detachPluginWithOptions(request: DetachPluginRequest, runtime: $Util.RuntimeOptions): Promise<DetachPluginResponse> {
|
|
21852
|
+
Util.validateModel(request);
|
|
21853
|
+
let query = { };
|
|
21854
|
+
if (!Util.isUnset(request.apiId)) {
|
|
21855
|
+
query["ApiId"] = request.apiId;
|
|
21856
|
+
}
|
|
21857
|
+
|
|
21858
|
+
if (!Util.isUnset(request.groupId)) {
|
|
21859
|
+
query["GroupId"] = request.groupId;
|
|
21860
|
+
}
|
|
21861
|
+
|
|
21862
|
+
if (!Util.isUnset(request.pluginId)) {
|
|
21863
|
+
query["PluginId"] = request.pluginId;
|
|
21864
|
+
}
|
|
21865
|
+
|
|
21866
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
21867
|
+
query["SecurityToken"] = request.securityToken;
|
|
21868
|
+
}
|
|
21869
|
+
|
|
21870
|
+
if (!Util.isUnset(request.stageName)) {
|
|
21871
|
+
query["StageName"] = request.stageName;
|
|
21872
|
+
}
|
|
21873
|
+
|
|
21874
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21875
|
+
query: OpenApiUtil.query(query),
|
|
21876
|
+
});
|
|
21877
|
+
let params = new $OpenApi.Params({
|
|
21878
|
+
action: "DetachPlugin",
|
|
21879
|
+
version: "2016-07-14",
|
|
21880
|
+
protocol: "HTTPS",
|
|
21881
|
+
pathname: "/",
|
|
21882
|
+
method: "POST",
|
|
21883
|
+
authType: "AK",
|
|
21884
|
+
style: "RPC",
|
|
21885
|
+
reqBodyType: "formData",
|
|
21886
|
+
bodyType: "json",
|
|
21887
|
+
});
|
|
21888
|
+
return $tea.cast<DetachPluginResponse>(await this.callApi(params, req, runtime), new DetachPluginResponse({}));
|
|
21889
|
+
}
|
|
21890
|
+
|
|
21891
|
+
async detachPlugin(request: DetachPluginRequest): Promise<DetachPluginResponse> {
|
|
21892
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21893
|
+
return await this.detachPluginWithOptions(request, runtime);
|
|
21894
|
+
}
|
|
21895
|
+
|
|
20183
21896
|
async dryRunSwaggerWithOptions(tmpReq: DryRunSwaggerRequest, runtime: $Util.RuntimeOptions): Promise<DryRunSwaggerResponse> {
|
|
20184
21897
|
Util.validateModel(tmpReq);
|
|
20185
21898
|
let request = new DryRunSwaggerShrinkRequest({ });
|
|
@@ -20362,6 +22075,14 @@ export default class Client extends OpenApi {
|
|
|
20362
22075
|
query["AuthType"] = request.authType;
|
|
20363
22076
|
}
|
|
20364
22077
|
|
|
22078
|
+
if (!Util.isUnset(request.backendEnable)) {
|
|
22079
|
+
query["BackendEnable"] = request.backendEnable;
|
|
22080
|
+
}
|
|
22081
|
+
|
|
22082
|
+
if (!Util.isUnset(request.backendId)) {
|
|
22083
|
+
query["BackendId"] = request.backendId;
|
|
22084
|
+
}
|
|
22085
|
+
|
|
20365
22086
|
if (!Util.isUnset(request.constantParameters)) {
|
|
20366
22087
|
query["ConstantParameters"] = request.constantParameters;
|
|
20367
22088
|
}
|
|
@@ -20627,6 +22348,104 @@ export default class Client extends OpenApi {
|
|
|
20627
22348
|
return await this.modifyAppWithOptions(request, runtime);
|
|
20628
22349
|
}
|
|
20629
22350
|
|
|
22351
|
+
async modifyBackendWithOptions(request: ModifyBackendRequest, runtime: $Util.RuntimeOptions): Promise<ModifyBackendResponse> {
|
|
22352
|
+
Util.validateModel(request);
|
|
22353
|
+
let query = { };
|
|
22354
|
+
if (!Util.isUnset(request.backendId)) {
|
|
22355
|
+
query["BackendId"] = request.backendId;
|
|
22356
|
+
}
|
|
22357
|
+
|
|
22358
|
+
if (!Util.isUnset(request.backendName)) {
|
|
22359
|
+
query["BackendName"] = request.backendName;
|
|
22360
|
+
}
|
|
22361
|
+
|
|
22362
|
+
if (!Util.isUnset(request.backendType)) {
|
|
22363
|
+
query["BackendType"] = request.backendType;
|
|
22364
|
+
}
|
|
22365
|
+
|
|
22366
|
+
if (!Util.isUnset(request.description)) {
|
|
22367
|
+
query["Description"] = request.description;
|
|
22368
|
+
}
|
|
22369
|
+
|
|
22370
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
22371
|
+
query["SecurityToken"] = request.securityToken;
|
|
22372
|
+
}
|
|
22373
|
+
|
|
22374
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
22375
|
+
query: OpenApiUtil.query(query),
|
|
22376
|
+
});
|
|
22377
|
+
let params = new $OpenApi.Params({
|
|
22378
|
+
action: "ModifyBackend",
|
|
22379
|
+
version: "2016-07-14",
|
|
22380
|
+
protocol: "HTTPS",
|
|
22381
|
+
pathname: "/",
|
|
22382
|
+
method: "POST",
|
|
22383
|
+
authType: "AK",
|
|
22384
|
+
style: "RPC",
|
|
22385
|
+
reqBodyType: "formData",
|
|
22386
|
+
bodyType: "json",
|
|
22387
|
+
});
|
|
22388
|
+
return $tea.cast<ModifyBackendResponse>(await this.callApi(params, req, runtime), new ModifyBackendResponse({}));
|
|
22389
|
+
}
|
|
22390
|
+
|
|
22391
|
+
async modifyBackend(request: ModifyBackendRequest): Promise<ModifyBackendResponse> {
|
|
22392
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
22393
|
+
return await this.modifyBackendWithOptions(request, runtime);
|
|
22394
|
+
}
|
|
22395
|
+
|
|
22396
|
+
async modifyBackendModelWithOptions(request: ModifyBackendModelRequest, runtime: $Util.RuntimeOptions): Promise<ModifyBackendModelResponse> {
|
|
22397
|
+
Util.validateModel(request);
|
|
22398
|
+
let query = { };
|
|
22399
|
+
if (!Util.isUnset(request.backendId)) {
|
|
22400
|
+
query["BackendId"] = request.backendId;
|
|
22401
|
+
}
|
|
22402
|
+
|
|
22403
|
+
if (!Util.isUnset(request.backendModelData)) {
|
|
22404
|
+
query["BackendModelData"] = request.backendModelData;
|
|
22405
|
+
}
|
|
22406
|
+
|
|
22407
|
+
if (!Util.isUnset(request.backendModelId)) {
|
|
22408
|
+
query["BackendModelId"] = request.backendModelId;
|
|
22409
|
+
}
|
|
22410
|
+
|
|
22411
|
+
if (!Util.isUnset(request.backendType)) {
|
|
22412
|
+
query["BackendType"] = request.backendType;
|
|
22413
|
+
}
|
|
22414
|
+
|
|
22415
|
+
if (!Util.isUnset(request.description)) {
|
|
22416
|
+
query["Description"] = request.description;
|
|
22417
|
+
}
|
|
22418
|
+
|
|
22419
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
22420
|
+
query["SecurityToken"] = request.securityToken;
|
|
22421
|
+
}
|
|
22422
|
+
|
|
22423
|
+
if (!Util.isUnset(request.stageName)) {
|
|
22424
|
+
query["StageName"] = request.stageName;
|
|
22425
|
+
}
|
|
22426
|
+
|
|
22427
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
22428
|
+
query: OpenApiUtil.query(query),
|
|
22429
|
+
});
|
|
22430
|
+
let params = new $OpenApi.Params({
|
|
22431
|
+
action: "ModifyBackendModel",
|
|
22432
|
+
version: "2016-07-14",
|
|
22433
|
+
protocol: "HTTPS",
|
|
22434
|
+
pathname: "/",
|
|
22435
|
+
method: "POST",
|
|
22436
|
+
authType: "AK",
|
|
22437
|
+
style: "RPC",
|
|
22438
|
+
reqBodyType: "formData",
|
|
22439
|
+
bodyType: "json",
|
|
22440
|
+
});
|
|
22441
|
+
return $tea.cast<ModifyBackendModelResponse>(await this.callApi(params, req, runtime), new ModifyBackendModelResponse({}));
|
|
22442
|
+
}
|
|
22443
|
+
|
|
22444
|
+
async modifyBackendModel(request: ModifyBackendModelRequest): Promise<ModifyBackendModelResponse> {
|
|
22445
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
22446
|
+
return await this.modifyBackendModelWithOptions(request, runtime);
|
|
22447
|
+
}
|
|
22448
|
+
|
|
20630
22449
|
async modifyInstanceSpecWithOptions(request: ModifyInstanceSpecRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceSpecResponse> {
|
|
20631
22450
|
Util.validateModel(request);
|
|
20632
22451
|
let query = { };
|