@alicloud/cloudapi20160714 4.0.2 → 4.2.0
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/dist/client.d.ts +310 -0
- package/dist/client.js +547 -19
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +647 -27
package/src/client.ts
CHANGED
|
@@ -1082,6 +1082,141 @@ export class CreateAppResponse extends $tea.Model {
|
|
|
1082
1082
|
}
|
|
1083
1083
|
}
|
|
1084
1084
|
|
|
1085
|
+
export class CreateAppCodeRequest extends $tea.Model {
|
|
1086
|
+
appCode?: string;
|
|
1087
|
+
appId?: string;
|
|
1088
|
+
static names(): { [key: string]: string } {
|
|
1089
|
+
return {
|
|
1090
|
+
appCode: 'AppCode',
|
|
1091
|
+
appId: 'AppId',
|
|
1092
|
+
};
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
static types(): { [key: string]: any } {
|
|
1096
|
+
return {
|
|
1097
|
+
appCode: 'string',
|
|
1098
|
+
appId: 'string',
|
|
1099
|
+
};
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
constructor(map?: { [key: string]: any }) {
|
|
1103
|
+
super(map);
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
export class CreateAppCodeResponseBody extends $tea.Model {
|
|
1108
|
+
requestId?: string;
|
|
1109
|
+
static names(): { [key: string]: string } {
|
|
1110
|
+
return {
|
|
1111
|
+
requestId: 'RequestId',
|
|
1112
|
+
};
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
static types(): { [key: string]: any } {
|
|
1116
|
+
return {
|
|
1117
|
+
requestId: 'string',
|
|
1118
|
+
};
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
constructor(map?: { [key: string]: any }) {
|
|
1122
|
+
super(map);
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
export class CreateAppCodeResponse extends $tea.Model {
|
|
1127
|
+
headers?: { [key: string]: string };
|
|
1128
|
+
statusCode?: number;
|
|
1129
|
+
body?: CreateAppCodeResponseBody;
|
|
1130
|
+
static names(): { [key: string]: string } {
|
|
1131
|
+
return {
|
|
1132
|
+
headers: 'headers',
|
|
1133
|
+
statusCode: 'statusCode',
|
|
1134
|
+
body: 'body',
|
|
1135
|
+
};
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
static types(): { [key: string]: any } {
|
|
1139
|
+
return {
|
|
1140
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1141
|
+
statusCode: 'number',
|
|
1142
|
+
body: CreateAppCodeResponseBody,
|
|
1143
|
+
};
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
constructor(map?: { [key: string]: any }) {
|
|
1147
|
+
super(map);
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
export class CreateAppKeyRequest extends $tea.Model {
|
|
1152
|
+
appId?: string;
|
|
1153
|
+
appKey?: string;
|
|
1154
|
+
appSecret?: string;
|
|
1155
|
+
static names(): { [key: string]: string } {
|
|
1156
|
+
return {
|
|
1157
|
+
appId: 'AppId',
|
|
1158
|
+
appKey: 'AppKey',
|
|
1159
|
+
appSecret: 'AppSecret',
|
|
1160
|
+
};
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
static types(): { [key: string]: any } {
|
|
1164
|
+
return {
|
|
1165
|
+
appId: 'string',
|
|
1166
|
+
appKey: 'string',
|
|
1167
|
+
appSecret: 'string',
|
|
1168
|
+
};
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
constructor(map?: { [key: string]: any }) {
|
|
1172
|
+
super(map);
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
export class CreateAppKeyResponseBody extends $tea.Model {
|
|
1177
|
+
requestId?: string;
|
|
1178
|
+
static names(): { [key: string]: string } {
|
|
1179
|
+
return {
|
|
1180
|
+
requestId: 'RequestId',
|
|
1181
|
+
};
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
static types(): { [key: string]: any } {
|
|
1185
|
+
return {
|
|
1186
|
+
requestId: 'string',
|
|
1187
|
+
};
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
constructor(map?: { [key: string]: any }) {
|
|
1191
|
+
super(map);
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
export class CreateAppKeyResponse extends $tea.Model {
|
|
1196
|
+
headers?: { [key: string]: string };
|
|
1197
|
+
statusCode?: number;
|
|
1198
|
+
body?: CreateAppKeyResponseBody;
|
|
1199
|
+
static names(): { [key: string]: string } {
|
|
1200
|
+
return {
|
|
1201
|
+
headers: 'headers',
|
|
1202
|
+
statusCode: 'statusCode',
|
|
1203
|
+
body: 'body',
|
|
1204
|
+
};
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
static types(): { [key: string]: any } {
|
|
1208
|
+
return {
|
|
1209
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1210
|
+
statusCode: 'number',
|
|
1211
|
+
body: CreateAppKeyResponseBody,
|
|
1212
|
+
};
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
constructor(map?: { [key: string]: any }) {
|
|
1216
|
+
super(map);
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1085
1220
|
export class CreateBackendRequest extends $tea.Model {
|
|
1086
1221
|
backendName?: string;
|
|
1087
1222
|
backendType?: string;
|
|
@@ -2627,6 +2762,138 @@ export class DeleteAppResponse extends $tea.Model {
|
|
|
2627
2762
|
}
|
|
2628
2763
|
}
|
|
2629
2764
|
|
|
2765
|
+
export class DeleteAppCodeRequest extends $tea.Model {
|
|
2766
|
+
appCode?: string;
|
|
2767
|
+
appId?: string;
|
|
2768
|
+
static names(): { [key: string]: string } {
|
|
2769
|
+
return {
|
|
2770
|
+
appCode: 'AppCode',
|
|
2771
|
+
appId: 'AppId',
|
|
2772
|
+
};
|
|
2773
|
+
}
|
|
2774
|
+
|
|
2775
|
+
static types(): { [key: string]: any } {
|
|
2776
|
+
return {
|
|
2777
|
+
appCode: 'string',
|
|
2778
|
+
appId: 'string',
|
|
2779
|
+
};
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2782
|
+
constructor(map?: { [key: string]: any }) {
|
|
2783
|
+
super(map);
|
|
2784
|
+
}
|
|
2785
|
+
}
|
|
2786
|
+
|
|
2787
|
+
export class DeleteAppCodeResponseBody extends $tea.Model {
|
|
2788
|
+
requestId?: string;
|
|
2789
|
+
static names(): { [key: string]: string } {
|
|
2790
|
+
return {
|
|
2791
|
+
requestId: 'RequestId',
|
|
2792
|
+
};
|
|
2793
|
+
}
|
|
2794
|
+
|
|
2795
|
+
static types(): { [key: string]: any } {
|
|
2796
|
+
return {
|
|
2797
|
+
requestId: 'string',
|
|
2798
|
+
};
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2801
|
+
constructor(map?: { [key: string]: any }) {
|
|
2802
|
+
super(map);
|
|
2803
|
+
}
|
|
2804
|
+
}
|
|
2805
|
+
|
|
2806
|
+
export class DeleteAppCodeResponse extends $tea.Model {
|
|
2807
|
+
headers?: { [key: string]: string };
|
|
2808
|
+
statusCode?: number;
|
|
2809
|
+
body?: DeleteAppCodeResponseBody;
|
|
2810
|
+
static names(): { [key: string]: string } {
|
|
2811
|
+
return {
|
|
2812
|
+
headers: 'headers',
|
|
2813
|
+
statusCode: 'statusCode',
|
|
2814
|
+
body: 'body',
|
|
2815
|
+
};
|
|
2816
|
+
}
|
|
2817
|
+
|
|
2818
|
+
static types(): { [key: string]: any } {
|
|
2819
|
+
return {
|
|
2820
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2821
|
+
statusCode: 'number',
|
|
2822
|
+
body: DeleteAppCodeResponseBody,
|
|
2823
|
+
};
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
constructor(map?: { [key: string]: any }) {
|
|
2827
|
+
super(map);
|
|
2828
|
+
}
|
|
2829
|
+
}
|
|
2830
|
+
|
|
2831
|
+
export class DeleteAppKeyRequest extends $tea.Model {
|
|
2832
|
+
appId?: string;
|
|
2833
|
+
appKey?: string;
|
|
2834
|
+
static names(): { [key: string]: string } {
|
|
2835
|
+
return {
|
|
2836
|
+
appId: 'AppId',
|
|
2837
|
+
appKey: 'AppKey',
|
|
2838
|
+
};
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2841
|
+
static types(): { [key: string]: any } {
|
|
2842
|
+
return {
|
|
2843
|
+
appId: 'string',
|
|
2844
|
+
appKey: 'string',
|
|
2845
|
+
};
|
|
2846
|
+
}
|
|
2847
|
+
|
|
2848
|
+
constructor(map?: { [key: string]: any }) {
|
|
2849
|
+
super(map);
|
|
2850
|
+
}
|
|
2851
|
+
}
|
|
2852
|
+
|
|
2853
|
+
export class DeleteAppKeyResponseBody extends $tea.Model {
|
|
2854
|
+
requestId?: string;
|
|
2855
|
+
static names(): { [key: string]: string } {
|
|
2856
|
+
return {
|
|
2857
|
+
requestId: 'RequestId',
|
|
2858
|
+
};
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2861
|
+
static types(): { [key: string]: any } {
|
|
2862
|
+
return {
|
|
2863
|
+
requestId: 'string',
|
|
2864
|
+
};
|
|
2865
|
+
}
|
|
2866
|
+
|
|
2867
|
+
constructor(map?: { [key: string]: any }) {
|
|
2868
|
+
super(map);
|
|
2869
|
+
}
|
|
2870
|
+
}
|
|
2871
|
+
|
|
2872
|
+
export class DeleteAppKeyResponse extends $tea.Model {
|
|
2873
|
+
headers?: { [key: string]: string };
|
|
2874
|
+
statusCode?: number;
|
|
2875
|
+
body?: DeleteAppKeyResponseBody;
|
|
2876
|
+
static names(): { [key: string]: string } {
|
|
2877
|
+
return {
|
|
2878
|
+
headers: 'headers',
|
|
2879
|
+
statusCode: 'statusCode',
|
|
2880
|
+
body: 'body',
|
|
2881
|
+
};
|
|
2882
|
+
}
|
|
2883
|
+
|
|
2884
|
+
static types(): { [key: string]: any } {
|
|
2885
|
+
return {
|
|
2886
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2887
|
+
statusCode: 'number',
|
|
2888
|
+
body: DeleteAppKeyResponseBody,
|
|
2889
|
+
};
|
|
2890
|
+
}
|
|
2891
|
+
|
|
2892
|
+
constructor(map?: { [key: string]: any }) {
|
|
2893
|
+
super(map);
|
|
2894
|
+
}
|
|
2895
|
+
}
|
|
2896
|
+
|
|
2630
2897
|
export class DeleteBackendRequest extends $tea.Model {
|
|
2631
2898
|
backendId?: string;
|
|
2632
2899
|
securityToken?: string;
|
|
@@ -6469,24 +6736,102 @@ export class DescribeAppAttributesRequest extends $tea.Model {
|
|
|
6469
6736
|
pageNumber: 'PageNumber',
|
|
6470
6737
|
pageSize: 'PageSize',
|
|
6471
6738
|
securityToken: 'SecurityToken',
|
|
6472
|
-
sort: 'Sort',
|
|
6473
|
-
tag: 'Tag',
|
|
6739
|
+
sort: 'Sort',
|
|
6740
|
+
tag: 'Tag',
|
|
6741
|
+
};
|
|
6742
|
+
}
|
|
6743
|
+
|
|
6744
|
+
static types(): { [key: string]: any } {
|
|
6745
|
+
return {
|
|
6746
|
+
appCode: 'string',
|
|
6747
|
+
appId: 'number',
|
|
6748
|
+
appKey: 'string',
|
|
6749
|
+
appName: 'string',
|
|
6750
|
+
enableTagAuth: 'boolean',
|
|
6751
|
+
extend: 'string',
|
|
6752
|
+
pageNumber: 'number',
|
|
6753
|
+
pageSize: 'number',
|
|
6754
|
+
securityToken: 'string',
|
|
6755
|
+
sort: 'string',
|
|
6756
|
+
tag: { 'type': 'array', 'itemType': DescribeAppAttributesRequestTag },
|
|
6757
|
+
};
|
|
6758
|
+
}
|
|
6759
|
+
|
|
6760
|
+
constructor(map?: { [key: string]: any }) {
|
|
6761
|
+
super(map);
|
|
6762
|
+
}
|
|
6763
|
+
}
|
|
6764
|
+
|
|
6765
|
+
export class DescribeAppAttributesResponseBody extends $tea.Model {
|
|
6766
|
+
apps?: DescribeAppAttributesResponseBodyApps;
|
|
6767
|
+
pageNumber?: number;
|
|
6768
|
+
pageSize?: number;
|
|
6769
|
+
requestId?: string;
|
|
6770
|
+
totalCount?: number;
|
|
6771
|
+
static names(): { [key: string]: string } {
|
|
6772
|
+
return {
|
|
6773
|
+
apps: 'Apps',
|
|
6774
|
+
pageNumber: 'PageNumber',
|
|
6775
|
+
pageSize: 'PageSize',
|
|
6776
|
+
requestId: 'RequestId',
|
|
6777
|
+
totalCount: 'TotalCount',
|
|
6778
|
+
};
|
|
6779
|
+
}
|
|
6780
|
+
|
|
6781
|
+
static types(): { [key: string]: any } {
|
|
6782
|
+
return {
|
|
6783
|
+
apps: DescribeAppAttributesResponseBodyApps,
|
|
6784
|
+
pageNumber: 'number',
|
|
6785
|
+
pageSize: 'number',
|
|
6786
|
+
requestId: 'string',
|
|
6787
|
+
totalCount: 'number',
|
|
6788
|
+
};
|
|
6789
|
+
}
|
|
6790
|
+
|
|
6791
|
+
constructor(map?: { [key: string]: any }) {
|
|
6792
|
+
super(map);
|
|
6793
|
+
}
|
|
6794
|
+
}
|
|
6795
|
+
|
|
6796
|
+
export class DescribeAppAttributesResponse extends $tea.Model {
|
|
6797
|
+
headers?: { [key: string]: string };
|
|
6798
|
+
statusCode?: number;
|
|
6799
|
+
body?: DescribeAppAttributesResponseBody;
|
|
6800
|
+
static names(): { [key: string]: string } {
|
|
6801
|
+
return {
|
|
6802
|
+
headers: 'headers',
|
|
6803
|
+
statusCode: 'statusCode',
|
|
6804
|
+
body: 'body',
|
|
6805
|
+
};
|
|
6806
|
+
}
|
|
6807
|
+
|
|
6808
|
+
static types(): { [key: string]: any } {
|
|
6809
|
+
return {
|
|
6810
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6811
|
+
statusCode: 'number',
|
|
6812
|
+
body: DescribeAppAttributesResponseBody,
|
|
6813
|
+
};
|
|
6814
|
+
}
|
|
6815
|
+
|
|
6816
|
+
constructor(map?: { [key: string]: any }) {
|
|
6817
|
+
super(map);
|
|
6818
|
+
}
|
|
6819
|
+
}
|
|
6820
|
+
|
|
6821
|
+
export class DescribeAppSecuritiesRequest extends $tea.Model {
|
|
6822
|
+
appId?: number;
|
|
6823
|
+
securityToken?: string;
|
|
6824
|
+
static names(): { [key: string]: string } {
|
|
6825
|
+
return {
|
|
6826
|
+
appId: 'AppId',
|
|
6827
|
+
securityToken: 'SecurityToken',
|
|
6474
6828
|
};
|
|
6475
6829
|
}
|
|
6476
6830
|
|
|
6477
6831
|
static types(): { [key: string]: any } {
|
|
6478
6832
|
return {
|
|
6479
|
-
appCode: 'string',
|
|
6480
6833
|
appId: 'number',
|
|
6481
|
-
appKey: 'string',
|
|
6482
|
-
appName: 'string',
|
|
6483
|
-
enableTagAuth: 'boolean',
|
|
6484
|
-
extend: 'string',
|
|
6485
|
-
pageNumber: 'number',
|
|
6486
|
-
pageSize: 'number',
|
|
6487
6834
|
securityToken: 'string',
|
|
6488
|
-
sort: 'string',
|
|
6489
|
-
tag: { 'type': 'array', 'itemType': DescribeAppAttributesRequestTag },
|
|
6490
6835
|
};
|
|
6491
6836
|
}
|
|
6492
6837
|
|
|
@@ -6495,29 +6840,20 @@ export class DescribeAppAttributesRequest extends $tea.Model {
|
|
|
6495
6840
|
}
|
|
6496
6841
|
}
|
|
6497
6842
|
|
|
6498
|
-
export class
|
|
6499
|
-
|
|
6500
|
-
pageNumber?: number;
|
|
6501
|
-
pageSize?: number;
|
|
6843
|
+
export class DescribeAppSecuritiesResponseBody extends $tea.Model {
|
|
6844
|
+
appSecuritys?: DescribeAppSecuritiesResponseBodyAppSecuritys;
|
|
6502
6845
|
requestId?: string;
|
|
6503
|
-
totalCount?: number;
|
|
6504
6846
|
static names(): { [key: string]: string } {
|
|
6505
6847
|
return {
|
|
6506
|
-
|
|
6507
|
-
pageNumber: 'PageNumber',
|
|
6508
|
-
pageSize: 'PageSize',
|
|
6848
|
+
appSecuritys: 'AppSecuritys',
|
|
6509
6849
|
requestId: 'RequestId',
|
|
6510
|
-
totalCount: 'TotalCount',
|
|
6511
6850
|
};
|
|
6512
6851
|
}
|
|
6513
6852
|
|
|
6514
6853
|
static types(): { [key: string]: any } {
|
|
6515
6854
|
return {
|
|
6516
|
-
|
|
6517
|
-
pageNumber: 'number',
|
|
6518
|
-
pageSize: 'number',
|
|
6855
|
+
appSecuritys: DescribeAppSecuritiesResponseBodyAppSecuritys,
|
|
6519
6856
|
requestId: 'string',
|
|
6520
|
-
totalCount: 'number',
|
|
6521
6857
|
};
|
|
6522
6858
|
}
|
|
6523
6859
|
|
|
@@ -6526,10 +6862,10 @@ export class DescribeAppAttributesResponseBody extends $tea.Model {
|
|
|
6526
6862
|
}
|
|
6527
6863
|
}
|
|
6528
6864
|
|
|
6529
|
-
export class
|
|
6865
|
+
export class DescribeAppSecuritiesResponse extends $tea.Model {
|
|
6530
6866
|
headers?: { [key: string]: string };
|
|
6531
6867
|
statusCode?: number;
|
|
6532
|
-
body?:
|
|
6868
|
+
body?: DescribeAppSecuritiesResponseBody;
|
|
6533
6869
|
static names(): { [key: string]: string } {
|
|
6534
6870
|
return {
|
|
6535
6871
|
headers: 'headers',
|
|
@@ -6542,7 +6878,7 @@ export class DescribeAppAttributesResponse extends $tea.Model {
|
|
|
6542
6878
|
return {
|
|
6543
6879
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6544
6880
|
statusCode: 'number',
|
|
6545
|
-
body:
|
|
6881
|
+
body: DescribeAppSecuritiesResponseBody,
|
|
6546
6882
|
};
|
|
6547
6883
|
}
|
|
6548
6884
|
|
|
@@ -20294,6 +20630,56 @@ export class DescribeAppAttributesResponseBodyApps extends $tea.Model {
|
|
|
20294
20630
|
}
|
|
20295
20631
|
}
|
|
20296
20632
|
|
|
20633
|
+
export class DescribeAppSecuritiesResponseBodyAppSecuritysAppSecurity extends $tea.Model {
|
|
20634
|
+
appCode?: string;
|
|
20635
|
+
appKey?: string;
|
|
20636
|
+
appSecret?: string;
|
|
20637
|
+
createdTime?: string;
|
|
20638
|
+
modifiedTime?: string;
|
|
20639
|
+
static names(): { [key: string]: string } {
|
|
20640
|
+
return {
|
|
20641
|
+
appCode: 'AppCode',
|
|
20642
|
+
appKey: 'AppKey',
|
|
20643
|
+
appSecret: 'AppSecret',
|
|
20644
|
+
createdTime: 'CreatedTime',
|
|
20645
|
+
modifiedTime: 'ModifiedTime',
|
|
20646
|
+
};
|
|
20647
|
+
}
|
|
20648
|
+
|
|
20649
|
+
static types(): { [key: string]: any } {
|
|
20650
|
+
return {
|
|
20651
|
+
appCode: 'string',
|
|
20652
|
+
appKey: 'string',
|
|
20653
|
+
appSecret: 'string',
|
|
20654
|
+
createdTime: 'string',
|
|
20655
|
+
modifiedTime: 'string',
|
|
20656
|
+
};
|
|
20657
|
+
}
|
|
20658
|
+
|
|
20659
|
+
constructor(map?: { [key: string]: any }) {
|
|
20660
|
+
super(map);
|
|
20661
|
+
}
|
|
20662
|
+
}
|
|
20663
|
+
|
|
20664
|
+
export class DescribeAppSecuritiesResponseBodyAppSecuritys extends $tea.Model {
|
|
20665
|
+
appSecurity?: DescribeAppSecuritiesResponseBodyAppSecuritysAppSecurity[];
|
|
20666
|
+
static names(): { [key: string]: string } {
|
|
20667
|
+
return {
|
|
20668
|
+
appSecurity: 'AppSecurity',
|
|
20669
|
+
};
|
|
20670
|
+
}
|
|
20671
|
+
|
|
20672
|
+
static types(): { [key: string]: any } {
|
|
20673
|
+
return {
|
|
20674
|
+
appSecurity: { 'type': 'array', 'itemType': DescribeAppSecuritiesResponseBodyAppSecuritysAppSecurity },
|
|
20675
|
+
};
|
|
20676
|
+
}
|
|
20677
|
+
|
|
20678
|
+
constructor(map?: { [key: string]: any }) {
|
|
20679
|
+
super(map);
|
|
20680
|
+
}
|
|
20681
|
+
}
|
|
20682
|
+
|
|
20297
20683
|
export class DescribeAppSecurityRequestTag extends $tea.Model {
|
|
20298
20684
|
key?: string;
|
|
20299
20685
|
value?: string;
|
|
@@ -26560,6 +26946,102 @@ export default class Client extends OpenApi {
|
|
|
26560
26946
|
return await this.createAppWithOptions(request, runtime);
|
|
26561
26947
|
}
|
|
26562
26948
|
|
|
26949
|
+
/**
|
|
26950
|
+
* @summary 创建新的AppCode
|
|
26951
|
+
*
|
|
26952
|
+
* @param request CreateAppCodeRequest
|
|
26953
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
26954
|
+
* @return CreateAppCodeResponse
|
|
26955
|
+
*/
|
|
26956
|
+
async createAppCodeWithOptions(request: CreateAppCodeRequest, runtime: $Util.RuntimeOptions): Promise<CreateAppCodeResponse> {
|
|
26957
|
+
Util.validateModel(request);
|
|
26958
|
+
let query = { };
|
|
26959
|
+
if (!Util.isUnset(request.appCode)) {
|
|
26960
|
+
query["AppCode"] = request.appCode;
|
|
26961
|
+
}
|
|
26962
|
+
|
|
26963
|
+
if (!Util.isUnset(request.appId)) {
|
|
26964
|
+
query["AppId"] = request.appId;
|
|
26965
|
+
}
|
|
26966
|
+
|
|
26967
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
26968
|
+
query: OpenApiUtil.query(query),
|
|
26969
|
+
});
|
|
26970
|
+
let params = new $OpenApi.Params({
|
|
26971
|
+
action: "CreateAppCode",
|
|
26972
|
+
version: "2016-07-14",
|
|
26973
|
+
protocol: "HTTPS",
|
|
26974
|
+
pathname: "/",
|
|
26975
|
+
method: "POST",
|
|
26976
|
+
authType: "AK",
|
|
26977
|
+
style: "RPC",
|
|
26978
|
+
reqBodyType: "formData",
|
|
26979
|
+
bodyType: "json",
|
|
26980
|
+
});
|
|
26981
|
+
return $tea.cast<CreateAppCodeResponse>(await this.callApi(params, req, runtime), new CreateAppCodeResponse({}));
|
|
26982
|
+
}
|
|
26983
|
+
|
|
26984
|
+
/**
|
|
26985
|
+
* @summary 创建新的AppCode
|
|
26986
|
+
*
|
|
26987
|
+
* @param request CreateAppCodeRequest
|
|
26988
|
+
* @return CreateAppCodeResponse
|
|
26989
|
+
*/
|
|
26990
|
+
async createAppCode(request: CreateAppCodeRequest): Promise<CreateAppCodeResponse> {
|
|
26991
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
26992
|
+
return await this.createAppCodeWithOptions(request, runtime);
|
|
26993
|
+
}
|
|
26994
|
+
|
|
26995
|
+
/**
|
|
26996
|
+
* @summary 创建新的AK、SK
|
|
26997
|
+
*
|
|
26998
|
+
* @param request CreateAppKeyRequest
|
|
26999
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
27000
|
+
* @return CreateAppKeyResponse
|
|
27001
|
+
*/
|
|
27002
|
+
async createAppKeyWithOptions(request: CreateAppKeyRequest, runtime: $Util.RuntimeOptions): Promise<CreateAppKeyResponse> {
|
|
27003
|
+
Util.validateModel(request);
|
|
27004
|
+
let query = { };
|
|
27005
|
+
if (!Util.isUnset(request.appId)) {
|
|
27006
|
+
query["AppId"] = request.appId;
|
|
27007
|
+
}
|
|
27008
|
+
|
|
27009
|
+
if (!Util.isUnset(request.appKey)) {
|
|
27010
|
+
query["AppKey"] = request.appKey;
|
|
27011
|
+
}
|
|
27012
|
+
|
|
27013
|
+
if (!Util.isUnset(request.appSecret)) {
|
|
27014
|
+
query["AppSecret"] = request.appSecret;
|
|
27015
|
+
}
|
|
27016
|
+
|
|
27017
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
27018
|
+
query: OpenApiUtil.query(query),
|
|
27019
|
+
});
|
|
27020
|
+
let params = new $OpenApi.Params({
|
|
27021
|
+
action: "CreateAppKey",
|
|
27022
|
+
version: "2016-07-14",
|
|
27023
|
+
protocol: "HTTPS",
|
|
27024
|
+
pathname: "/",
|
|
27025
|
+
method: "POST",
|
|
27026
|
+
authType: "AK",
|
|
27027
|
+
style: "RPC",
|
|
27028
|
+
reqBodyType: "formData",
|
|
27029
|
+
bodyType: "json",
|
|
27030
|
+
});
|
|
27031
|
+
return $tea.cast<CreateAppKeyResponse>(await this.callApi(params, req, runtime), new CreateAppKeyResponse({}));
|
|
27032
|
+
}
|
|
27033
|
+
|
|
27034
|
+
/**
|
|
27035
|
+
* @summary 创建新的AK、SK
|
|
27036
|
+
*
|
|
27037
|
+
* @param request CreateAppKeyRequest
|
|
27038
|
+
* @return CreateAppKeyResponse
|
|
27039
|
+
*/
|
|
27040
|
+
async createAppKey(request: CreateAppKeyRequest): Promise<CreateAppKeyResponse> {
|
|
27041
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
27042
|
+
return await this.createAppKeyWithOptions(request, runtime);
|
|
27043
|
+
}
|
|
27044
|
+
|
|
26563
27045
|
/**
|
|
26564
27046
|
* @summary 创建后端服务
|
|
26565
27047
|
*
|
|
@@ -27760,6 +28242,98 @@ export default class Client extends OpenApi {
|
|
|
27760
28242
|
return await this.deleteAppWithOptions(request, runtime);
|
|
27761
28243
|
}
|
|
27762
28244
|
|
|
28245
|
+
/**
|
|
28246
|
+
* @summary 删除新的AppCode
|
|
28247
|
+
*
|
|
28248
|
+
* @param request DeleteAppCodeRequest
|
|
28249
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
28250
|
+
* @return DeleteAppCodeResponse
|
|
28251
|
+
*/
|
|
28252
|
+
async deleteAppCodeWithOptions(request: DeleteAppCodeRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAppCodeResponse> {
|
|
28253
|
+
Util.validateModel(request);
|
|
28254
|
+
let query = { };
|
|
28255
|
+
if (!Util.isUnset(request.appCode)) {
|
|
28256
|
+
query["AppCode"] = request.appCode;
|
|
28257
|
+
}
|
|
28258
|
+
|
|
28259
|
+
if (!Util.isUnset(request.appId)) {
|
|
28260
|
+
query["AppId"] = request.appId;
|
|
28261
|
+
}
|
|
28262
|
+
|
|
28263
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
28264
|
+
query: OpenApiUtil.query(query),
|
|
28265
|
+
});
|
|
28266
|
+
let params = new $OpenApi.Params({
|
|
28267
|
+
action: "DeleteAppCode",
|
|
28268
|
+
version: "2016-07-14",
|
|
28269
|
+
protocol: "HTTPS",
|
|
28270
|
+
pathname: "/",
|
|
28271
|
+
method: "POST",
|
|
28272
|
+
authType: "AK",
|
|
28273
|
+
style: "RPC",
|
|
28274
|
+
reqBodyType: "formData",
|
|
28275
|
+
bodyType: "json",
|
|
28276
|
+
});
|
|
28277
|
+
return $tea.cast<DeleteAppCodeResponse>(await this.callApi(params, req, runtime), new DeleteAppCodeResponse({}));
|
|
28278
|
+
}
|
|
28279
|
+
|
|
28280
|
+
/**
|
|
28281
|
+
* @summary 删除新的AppCode
|
|
28282
|
+
*
|
|
28283
|
+
* @param request DeleteAppCodeRequest
|
|
28284
|
+
* @return DeleteAppCodeResponse
|
|
28285
|
+
*/
|
|
28286
|
+
async deleteAppCode(request: DeleteAppCodeRequest): Promise<DeleteAppCodeResponse> {
|
|
28287
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
28288
|
+
return await this.deleteAppCodeWithOptions(request, runtime);
|
|
28289
|
+
}
|
|
28290
|
+
|
|
28291
|
+
/**
|
|
28292
|
+
* @summary 删除新的AppKey
|
|
28293
|
+
*
|
|
28294
|
+
* @param request DeleteAppKeyRequest
|
|
28295
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
28296
|
+
* @return DeleteAppKeyResponse
|
|
28297
|
+
*/
|
|
28298
|
+
async deleteAppKeyWithOptions(request: DeleteAppKeyRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAppKeyResponse> {
|
|
28299
|
+
Util.validateModel(request);
|
|
28300
|
+
let query = { };
|
|
28301
|
+
if (!Util.isUnset(request.appId)) {
|
|
28302
|
+
query["AppId"] = request.appId;
|
|
28303
|
+
}
|
|
28304
|
+
|
|
28305
|
+
if (!Util.isUnset(request.appKey)) {
|
|
28306
|
+
query["AppKey"] = request.appKey;
|
|
28307
|
+
}
|
|
28308
|
+
|
|
28309
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
28310
|
+
query: OpenApiUtil.query(query),
|
|
28311
|
+
});
|
|
28312
|
+
let params = new $OpenApi.Params({
|
|
28313
|
+
action: "DeleteAppKey",
|
|
28314
|
+
version: "2016-07-14",
|
|
28315
|
+
protocol: "HTTPS",
|
|
28316
|
+
pathname: "/",
|
|
28317
|
+
method: "POST",
|
|
28318
|
+
authType: "AK",
|
|
28319
|
+
style: "RPC",
|
|
28320
|
+
reqBodyType: "formData",
|
|
28321
|
+
bodyType: "json",
|
|
28322
|
+
});
|
|
28323
|
+
return $tea.cast<DeleteAppKeyResponse>(await this.callApi(params, req, runtime), new DeleteAppKeyResponse({}));
|
|
28324
|
+
}
|
|
28325
|
+
|
|
28326
|
+
/**
|
|
28327
|
+
* @summary 删除新的AppKey
|
|
28328
|
+
*
|
|
28329
|
+
* @param request DeleteAppKeyRequest
|
|
28330
|
+
* @return DeleteAppKeyResponse
|
|
28331
|
+
*/
|
|
28332
|
+
async deleteAppKey(request: DeleteAppKeyRequest): Promise<DeleteAppKeyResponse> {
|
|
28333
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
28334
|
+
return await this.deleteAppKeyWithOptions(request, runtime);
|
|
28335
|
+
}
|
|
28336
|
+
|
|
27763
28337
|
/**
|
|
27764
28338
|
* @summary Deletes a backend service.
|
|
27765
28339
|
*
|
|
@@ -30420,6 +30994,52 @@ export default class Client extends OpenApi {
|
|
|
30420
30994
|
return await this.describeAppAttributesWithOptions(request, runtime);
|
|
30421
30995
|
}
|
|
30422
30996
|
|
|
30997
|
+
/**
|
|
30998
|
+
* @summary 查询APP的密钥信息
|
|
30999
|
+
*
|
|
31000
|
+
* @param request DescribeAppSecuritiesRequest
|
|
31001
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
31002
|
+
* @return DescribeAppSecuritiesResponse
|
|
31003
|
+
*/
|
|
31004
|
+
async describeAppSecuritiesWithOptions(request: DescribeAppSecuritiesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAppSecuritiesResponse> {
|
|
31005
|
+
Util.validateModel(request);
|
|
31006
|
+
let query = { };
|
|
31007
|
+
if (!Util.isUnset(request.appId)) {
|
|
31008
|
+
query["AppId"] = request.appId;
|
|
31009
|
+
}
|
|
31010
|
+
|
|
31011
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
31012
|
+
query["SecurityToken"] = request.securityToken;
|
|
31013
|
+
}
|
|
31014
|
+
|
|
31015
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
31016
|
+
query: OpenApiUtil.query(query),
|
|
31017
|
+
});
|
|
31018
|
+
let params = new $OpenApi.Params({
|
|
31019
|
+
action: "DescribeAppSecurities",
|
|
31020
|
+
version: "2016-07-14",
|
|
31021
|
+
protocol: "HTTPS",
|
|
31022
|
+
pathname: "/",
|
|
31023
|
+
method: "POST",
|
|
31024
|
+
authType: "AK",
|
|
31025
|
+
style: "RPC",
|
|
31026
|
+
reqBodyType: "formData",
|
|
31027
|
+
bodyType: "json",
|
|
31028
|
+
});
|
|
31029
|
+
return $tea.cast<DescribeAppSecuritiesResponse>(await this.callApi(params, req, runtime), new DescribeAppSecuritiesResponse({}));
|
|
31030
|
+
}
|
|
31031
|
+
|
|
31032
|
+
/**
|
|
31033
|
+
* @summary 查询APP的密钥信息
|
|
31034
|
+
*
|
|
31035
|
+
* @param request DescribeAppSecuritiesRequest
|
|
31036
|
+
* @return DescribeAppSecuritiesResponse
|
|
31037
|
+
*/
|
|
31038
|
+
async describeAppSecurities(request: DescribeAppSecuritiesRequest): Promise<DescribeAppSecuritiesResponse> {
|
|
31039
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
31040
|
+
return await this.describeAppSecuritiesWithOptions(request, runtime);
|
|
31041
|
+
}
|
|
31042
|
+
|
|
30423
31043
|
/**
|
|
30424
31044
|
* @summary This key is used for authentication when an API call is made.
|
|
30425
31045
|
*
|